forked from pool/mozilla-nspr
This commit is contained in:
commit
0e6b4ff079
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
119
mozilla-nspr.changes
Normal file
119
mozilla-nspr.changes
Normal file
@ -0,0 +1,119 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 21 10:05:27 CEST 2006 - aj@suse.de
|
||||
|
||||
- from openSUSE BuildService (thanks Wolfgang Rosenauer):
|
||||
- update to version 4.6.3: Bug fix release.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 1 08:37:28 CEST 2006 - stark@suse.de
|
||||
|
||||
- version is still 4.6.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 15 09:31:05 CEST 2006 - stark@suse.de
|
||||
|
||||
- added PR_SI_HOSTNAME_UNTRUNCATED flag to get the hostname as
|
||||
FQDN with PR_GetSystemInfo() if configured on a system
|
||||
(bmo #322956)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 15 15:12:38 CEST 2006 - stark@suse.de
|
||||
|
||||
- update to 4.6.2 RTM version
|
||||
bugs fixed:
|
||||
* PR_ParseTimeString use PR_Assert and it calls abort on
|
||||
invalid date (bmo #247896)
|
||||
* PR_SetSysfdTableSize and PR_GetSysfdTableMax are not exported
|
||||
(bmo #326110)
|
||||
* Add a UTF-16 API to load a library (bmo #326168)
|
||||
* various changes for non-Linux platforms
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:32:31 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 16 08:55:07 CET 2005 - stark@suse.de
|
||||
|
||||
- update to final 4.6.1 RTM version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 7 19:16:50 CET 2005 - stark@suse.de
|
||||
|
||||
- moved headers to nspr4 sub-directories and removed some
|
||||
unneeded headers
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 25 22:50:10 CET 2005 - stark@suse.de
|
||||
|
||||
- changed ldconfig call in install-scripts
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 15 07:31:58 CET 2005 - stark@suse.de
|
||||
|
||||
- current 4.6.1pre (20051114)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 11 06:55:14 CEST 2005 - stark@suse.de
|
||||
|
||||
- next official release will most likely be 4.6.1 (20051010)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 26 21:39:48 CEST 2005 - mls@suse.de
|
||||
|
||||
- make devel package require base package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 22 07:09:54 CEST 2005 - stark@suse.de
|
||||
|
||||
- update to 4.7.0pre (20050921)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 31 11:47:31 CEST 2005 - stark@suse.de
|
||||
|
||||
- update to final 4.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 19 13:48:05 CEST 2005 - stark@suse.de
|
||||
|
||||
- renamed mozilla-nspr.pc to nspr.pc as decided upstream
|
||||
- latest snapshots which integrates hidden.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 18 10:40:11 CEST 2005 - stark@suse.de
|
||||
|
||||
- workaround for gcc bug (bmo #293438, bnc #83908)
|
||||
- provide its own pkgconfig file (mozilla-nspr.pc)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 10 07:08:55 CEST 2005 - stark@suse.de
|
||||
|
||||
- update to current HEAD (upstreamed two patches)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 26 13:03:52 CEST 2005 - stark@suse.de
|
||||
|
||||
- moved static libs to sub-directory
|
||||
(almost nobody should link against them statically)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 25 07:40:47 CEST 2005 - stark@suse.de
|
||||
|
||||
- fix nspr-config for biarch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 22 12:47:19 CET 2005 - stark@suse.de
|
||||
|
||||
- update to HEAD for mozilla compatibility
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 19 13:37:12 CET 2005 - stark@suse.de
|
||||
|
||||
- update to 4.5.2beta1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 8 07:53:21 CET 2005 - stark@suse.de
|
||||
|
||||
- initial standalone package
|
||||
|
157
mozilla-nspr.spec
Normal file
157
mozilla-nspr.spec
Normal file
@ -0,0 +1,157 @@
|
||||
#
|
||||
# spec file for package mozilla-nspr (Version 4.6.3)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: mozilla-nspr
|
||||
BuildRequires: gcc-c++
|
||||
License: Other License(s), see package
|
||||
Version: 4.6.3
|
||||
Release: 1
|
||||
Summary: Netscape Portable Runtime
|
||||
URL: http://www.mozilla.org/projects/nspr/
|
||||
Group: System/Libraries
|
||||
Source: nspr-%{version}.tar.bz2
|
||||
Patch1: prdtoa.patch
|
||||
Patch3: pkgconfig.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
NSPR provides platform independence for non-GUI operating system
|
||||
facilities. These facilities include threads, thread synchronization,
|
||||
normal file and network I/O, interval timing and calendar time, basic
|
||||
memory management (malloc and free), and shared library linking.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Mozilla Foundation <drivers@mozilla.org>
|
||||
|
||||
%package devel
|
||||
Summary: Netscape Portable Runtime development files
|
||||
Group: Development/Libraries/Other
|
||||
Requires: mozilla-nspr = %{version}
|
||||
|
||||
%description devel
|
||||
NSPR provides platform independence for non-GUI operating system
|
||||
facilities. These facilities include threads, thread synchronization,
|
||||
normal file and network I/O, interval timing and calendar time, basic
|
||||
memory management (malloc and free), and shared library linking.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Mozilla Foundation <drivers@mozilla.org>
|
||||
|
||||
%prep
|
||||
%setup -n nspr-%{version} -q
|
||||
cd mozilla
|
||||
%patch1
|
||||
%patch3 -p2
|
||||
|
||||
%build
|
||||
cd mozilla/nsprpub
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
./configure --enable-optimize="$CFLAGS" \
|
||||
--disable-debug \
|
||||
%ifarch x86_64
|
||||
--enable-64bit \
|
||||
%endif
|
||||
--libdir=%{_libdir} \
|
||||
--includedir=%{_includedir}/nspr4 \
|
||||
--prefix=%{_prefix}
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}/nspr
|
||||
mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig
|
||||
mkdir -p $RPM_BUILD_ROOT%{_includedir}/nspr4
|
||||
cp mozilla/nsprpub/config/nspr-config $RPM_BUILD_ROOT%{_bindir}/
|
||||
cp mozilla/nsprpub/config/nspr.pc $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
|
||||
cp -L mozilla/nsprpub/dist/lib/*.so $RPM_BUILD_ROOT/%{_libdir}
|
||||
cp -L mozilla/nsprpub/dist/lib/*.a $RPM_BUILD_ROOT/%{_libdir}/nspr/
|
||||
cp -rL mozilla/nsprpub/dist/include/nspr/* $RPM_BUILD_ROOT/%{_includedir}/nspr4/
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/*.so
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
%{_bindir}/nspr-config
|
||||
%{_libdir}/pkgconfig/nspr.pc
|
||||
%{_includedir}/nspr4/
|
||||
%exclude %{_includedir}/nspr4/md/*.h
|
||||
%{_libdir}/nspr/
|
||||
|
||||
%changelog -n mozilla-nspr
|
||||
* Sat Oct 21 2006 - aj@suse.de
|
||||
- from openSUSE BuildService (thanks Wolfgang Rosenauer):
|
||||
- update to version 4.6.3: Bug fix release.
|
||||
* Tue Aug 01 2006 - stark@suse.de
|
||||
- version is still 4.6.2
|
||||
* Sat Jul 15 2006 - stark@suse.de
|
||||
- added PR_SI_HOSTNAME_UNTRUNCATED flag to get the hostname as
|
||||
FQDN with PR_GetSystemInfo() if configured on a system
|
||||
(bmo #322956)
|
||||
* Mon May 15 2006 - stark@suse.de
|
||||
- update to 4.6.2 RTM version
|
||||
bugs fixed:
|
||||
* PR_ParseTimeString use PR_Assert and it calls abort on
|
||||
invalid date (bmo #247896)
|
||||
* PR_SetSysfdTableSize and PR_GetSysfdTableMax are not exported
|
||||
(bmo #326110)
|
||||
* Add a UTF-16 API to load a library (bmo #326168)
|
||||
* various changes for non-Linux platforms
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Fri Dec 16 2005 - stark@suse.de
|
||||
- update to final 4.6.1 RTM version
|
||||
* Wed Dec 07 2005 - stark@suse.de
|
||||
- moved headers to nspr4 sub-directories and removed some
|
||||
unneeded headers
|
||||
* Fri Nov 25 2005 - stark@suse.de
|
||||
- changed ldconfig call in install-scripts
|
||||
* Tue Nov 15 2005 - stark@suse.de
|
||||
- current 4.6.1pre (20051114)
|
||||
* Tue Oct 11 2005 - stark@suse.de
|
||||
- next official release will most likely be 4.6.1 (20051010)
|
||||
* Mon Sep 26 2005 - mls@suse.de
|
||||
- make devel package require base package
|
||||
* Thu Sep 22 2005 - stark@suse.de
|
||||
- update to 4.7.0pre (20050921)
|
||||
* Tue May 31 2005 - stark@suse.de
|
||||
- update to final 4.6
|
||||
* Thu May 19 2005 - stark@suse.de
|
||||
- renamed mozilla-nspr.pc to nspr.pc as decided upstream
|
||||
- latest snapshots which integrates hidden.patch
|
||||
* Wed May 18 2005 - stark@suse.de
|
||||
- workaround for gcc bug (bmo #293438, bnc #83908)
|
||||
- provide its own pkgconfig file (mozilla-nspr.pc)
|
||||
* Tue May 10 2005 - stark@suse.de
|
||||
- update to current HEAD (upstreamed two patches)
|
||||
* Tue Apr 26 2005 - stark@suse.de
|
||||
- moved static libs to sub-directory
|
||||
(almost nobody should link against them statically)
|
||||
* Mon Apr 25 2005 - stark@suse.de
|
||||
- fix nspr-config for biarch
|
||||
* Tue Mar 22 2005 - stark@suse.de
|
||||
- update to HEAD for mozilla compatibility
|
||||
* Sat Mar 19 2005 - stark@suse.de
|
||||
- update to 4.5.2beta1
|
||||
* Tue Mar 08 2005 - stark@suse.de
|
||||
- initial standalone package
|
3
nspr-4.6.3.tar.bz2
Normal file
3
nspr-4.6.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1b1a012cec28b4dccb49667e13659f5fa14a476e6808bb6a49e0b5143f98d4e9
|
||||
size 980883
|
61
pkgconfig.patch
Normal file
61
pkgconfig.patch
Normal file
@ -0,0 +1,61 @@
|
||||
diff -urN nspr-4.5.99.old/mozilla/nsprpub/config/Makefile.in nspr-4.5.99/mozilla/nsprpub/config/Makefile.in
|
||||
--- nspr-4.5.99.old/mozilla/nsprpub/config/Makefile.in 2005-05-03 11:16:45.000000000 +0200
|
||||
+++ nspr-4.5.99/mozilla/nsprpub/config/Makefile.in 2005-05-18 12:05:53.000000000 +0200
|
||||
@@ -52,9 +52,9 @@
|
||||
|
||||
# autoconf.mk must be deleted last (from the top-level directory)
|
||||
# because it is included by every makefile.
|
||||
-DIST_GARBAGE = nsprincl.mk nsprincl.sh nspr-config
|
||||
+DIST_GARBAGE = nsprincl.mk nsprincl.sh nspr-config nspr.pc
|
||||
|
||||
-RELEASE_BINS = nspr-config
|
||||
+RELEASE_BINS = nspr-config nspr.pc
|
||||
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
@@ -139,6 +139,7 @@
|
||||
|
||||
export:: $(TARGETS)
|
||||
rm -f $(dist_bindir)/nspr-config
|
||||
+ rm -f $(dist_bindir)/nspr.pc
|
||||
|
||||
ifdef WRAP_SYSTEM_INCLUDES
|
||||
export::
|
||||
diff -urN nspr-4.5.99.old/mozilla/nsprpub/config/nspr.pc.in nspr-4.5.99/mozilla/nsprpub/config/mozilla-nspr.pc.in
|
||||
--- nspr-4.5.99.old/mozilla/nsprpub/config/nspr.pc.in 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ nspr-4.5.99/mozilla/nsprpub/config/nspr.pc.in 2005-05-18 12:03:36.000000000 +0200
|
||||
@@ -0,0 +1,12 @@
|
||||
+prefix=@prefix@
|
||||
+exec_prefix=@exec_prefix@
|
||||
+libdir=@libdir@
|
||||
+includedir=@includedir@
|
||||
+
|
||||
+Name: NSPR
|
||||
+Description: The Netscape Portable Runtime
|
||||
+Version: @MOD_MAJOR_VERSION@.@MOD_MINOR_VERSION@.@MOD_PATCH_VERSION@
|
||||
+Libs: -L${libdir} -lplds@MOD_MAJOR_VERSION@ -lplc@MOD_MAJOR_VERSION@ -lnspr@MOD_MAJOR_VERSION@ -lpthread -ldl
|
||||
+Cflags: -I${includedir}
|
||||
+
|
||||
+
|
||||
diff -urN nspr-4.5.99.old/mozilla/nsprpub/configure nspr-4.5.99/mozilla/nsprpub/configure
|
||||
--- nspr-4.5.99.old/mozilla/nsprpub/configure 2005-05-13 09:33:07.000000000 +0200
|
||||
+++ nspr-4.5.99/mozilla/nsprpub/configure 2005-05-18 12:07:00.000000000 +0200
|
||||
@@ -5718,6 +5718,7 @@
|
||||
config/nsprincl.mk
|
||||
config/nsprincl.sh
|
||||
config/nspr-config
|
||||
+config/nspr.pc
|
||||
lib/Makefile
|
||||
lib/ds/Makefile
|
||||
lib/libc/Makefile
|
||||
diff -urN nspr-4.5.99.old/mozilla/nsprpub/configure.in nspr-4.5.99/mozilla/nsprpub/configure.in
|
||||
--- nspr-4.5.99.old/mozilla/nsprpub/configure.in 2005-05-13 09:33:07.000000000 +0200
|
||||
+++ nspr-4.5.99/mozilla/nsprpub/configure.in 2005-05-18 12:06:42.000000000 +0200
|
||||
@@ -2569,6 +2569,7 @@
|
||||
config/nsprincl.mk
|
||||
config/nsprincl.sh
|
||||
config/nspr-config
|
||||
+config/nspr.pc
|
||||
lib/Makefile
|
||||
lib/ds/Makefile
|
||||
lib/libc/Makefile
|
17
prdtoa.patch
Normal file
17
prdtoa.patch
Normal file
@ -0,0 +1,17 @@
|
||||
--- nsprpub/pr/src/misc/Makefile.in.foo Wed Jun 11 15:42:57 2003
|
||||
+++ nsprpub/pr/src/misc/Makefile.in Wed Jun 11 15:42:49 2003
|
||||
@@ -82,6 +82,14 @@
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
+NONOPT_CFLAGS=$(filter-out -O%, $(CFLAGS))
|
||||
+
|
||||
+ifeq ($(OS_ARCH),Linux)
|
||||
+$(OBJDIR)/prdtoa.$(OBJ_SUFFIX): prdtoa.c
|
||||
+ @$(MAKE_OBJDIR)
|
||||
+ $(CC) -o $@ -c $(NONOPT_CFLAGS) -ffloat-store $<
|
||||
+endif
|
||||
+
|
||||
#
|
||||
# Generate prerr.h, prerr.c, and prerr.properties from prerr.et.
|
||||
#
|
Loading…
Reference in New Issue
Block a user