Author: aurel32 Date: 2007-04-15 23:36:50 +0000 (Sun, 15 Apr 2007) New Revision: 2077
Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/control glibc-package/trunk/debian/control.in/main glibc-package/trunk/debian/debhelper.in/locales-all.postinst glibc-package/trunk/debian/rules.d/build.mk Log: * Switch from gzip to lzma for compressing the locales in the locales-all package. The unpacked size is decreased by 10 and the packed size by 4 for no measurable difference on the unpacking time. Modified: glibc-package/trunk/debian/changelog =================================================================== --- glibc-package/trunk/debian/changelog 2007-04-15 18:09:36 UTC (rev 2076) +++ glibc-package/trunk/debian/changelog 2007-04-15 23:36:50 UTC (rev 2077) @@ -10,8 +10,11 @@ * Update Italian debconf translation, by Luca Monducci. Closes: #419399. * Put back ld.so into optimized packages, it can be useful in some cases. * Update French debconf translation, by Christian Perrier. Closes: #419445. + * Switch from gzip to lzma for compressing the locales in the locales-all + package. The unpacked size is decreased by 10 and the packed size by 4 for + no measurable difference on the unpacking time. - -- Aurelien Jarno <[EMAIL PROTECTED]> Sun, 15 Apr 2007 20:09:04 +0200 + -- Aurelien Jarno <[EMAIL PROTECTED]> Mon, 16 Apr 2007 01:34:18 +0200 glibc (2.5-2) unstable; urgency=low Modified: glibc-package/trunk/debian/control =================================================================== --- glibc-package/trunk/debian/control 2007-04-15 18:09:36 UTC (rev 2076) +++ glibc-package/trunk/debian/control 2007-04-15 23:36:50 UTC (rev 2077) @@ -1,7 +1,7 @@ Source: glibc Section: libs Priority: required -Build-Depends: gettext, make (>= 3.80-1), dpkg-dev (>= 1.13.5), bzip2, file, +Build-Depends: gettext, make (>= 3.80-1), dpkg-dev (>= 1.13.5), bzip2, lzma, file, linux-kernel-headers [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20020608-1) [hurd-i386], gnumach-dev [hurd-i386], kfreebsd-kernel-headers [kfreebsd-i386 kfreebsd-amd64], @@ -48,7 +48,7 @@ Architecture: any Section: libs Priority: extra -Depends: ${locale:Depends} +Depends: ${locale:Depends}, lzma Provides: locales Description: GNU C Library: Precompiled locale data This package contains the precompiled locale data for all supported locales. @@ -57,7 +57,7 @@ locale files take a lot of memory to be compiled. Package: nscd -Architecture: alpha amd64 arm arm-softfloat armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc ia64 hppa s390 sh3 sh4 sh3eb sh4eb kfreebsd-i386 kfreebsd-amd64 +Architecture: alpha amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc ia64 hppa s390 sh3 sh4 sh3eb sh4eb kfreebsd-i386 kfreebsd-amd64 Section: admin Priority: optional Depends: ${shlibs:Depends} @@ -68,7 +68,7 @@ slow Services like LDAP, NIS or NIS+ Package: libc6 -Architecture: amd64 arm arm-softfloat armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc s390 hppa sh3 sh4 sh3eb sh4eb +Architecture: amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc s390 hppa sh3 sh4 sh3eb sh4eb Section: libs Priority: required Provides: ${locale-compat:Depends} @@ -78,7 +78,7 @@ and the standard math library, as well as many others. Package: libc6-dev -Architecture: amd64 arm arm-softfloat armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc s390 hppa sh3 sh4 sh3eb sh4eb +Architecture: amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc s390 hppa sh3 sh4 sh3eb sh4eb Section: libdevel Priority: optional Depends: libc6 (= ${Source-Version}) @@ -88,7 +88,7 @@ and link programs which use the standard C library. Package: libc6-dbg -Architecture: amd64 arm arm-softfloat armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc s390 hppa sh3 sh4 sh3eb sh4eb +Architecture: amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc s390 hppa sh3 sh4 sh3eb sh4eb Section: libdevel Priority: extra Provides: libc-dbg @@ -102,7 +102,7 @@ Most people will not need this package. Package: libc6-prof -Architecture: amd64 arm arm-softfloat armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc s390 hppa sh3 sh4 sh3eb sh4eb +Architecture: amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc s390 hppa sh3 sh4 sh3eb sh4eb Section: libdevel Priority: extra Depends: libc6 (= ${Source-Version}) @@ -111,7 +111,7 @@ with gprof. Package: libc6-pic -Architecture: amd64 arm arm-softfloat armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc s390 hppa sh3 sh4 sh3eb sh4eb +Architecture: amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc s390 hppa sh3 sh4 sh3eb sh4eb Section: libdevel Priority: optional Conflicts: libc-pic @@ -126,7 +126,7 @@ Package: libc6-udeb XC-Package-Type: udeb -Architecture: amd64 arm arm-softfloat armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc s390 hppa sh3 sh4 sh3eb sh4eb +Architecture: amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc s390 hppa sh3 sh4 sh3eb sh4eb Section: debian-installer Priority: extra Provides: libc6, libc-udeb, ${locale-compat:Depends} @@ -565,7 +565,7 @@ Architecture: kfreebsd-i386 Section: libs Priority: extra -Pre-Depends: libc6 (= ${Source-Version}) +Pre-Depends: libc0.1 (= ${Source-Version}) Description: GNU C Library: Shared libraries [i686 optimized] Contains the standard libraries that are used by nearly all programs on the system. This package includes shared versions of the standard C Modified: glibc-package/trunk/debian/control.in/main =================================================================== --- glibc-package/trunk/debian/control.in/main 2007-04-15 18:09:36 UTC (rev 2076) +++ glibc-package/trunk/debian/control.in/main 2007-04-15 23:36:50 UTC (rev 2077) @@ -1,11 +1,11 @@ Source: @glibc@ Section: libs Priority: required -Build-Depends: gettext, make (>= 3.80-1), dpkg-dev (>= 1.13.5), bzip2, file, +Build-Depends: gettext, make (>= 3.80-1), dpkg-dev (>= 1.13.5), bzip2, lzma, file, linux-kernel-headers [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64], mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20020608-1) [hurd-i386], gnumach-dev [hurd-i386], kfreebsd-kernel-headers [kfreebsd-i386 kfreebsd-amd64], - gcc-4.0 [hurd-i386], gcc-4.1 [!hppa !hurd-i386], gcc-4.2 [hppa], binutils (>= 2.17.50), + gcc-4.0 [hurd-i386], gcc-4.1 [!hppa !hurd-i386], gcc-4.2 [hppa], autoconf, sed (>= 4.0.5-4), gawk, debhelper (>= 5.0), libc6-dev-amd64 [i386], libc6-dev-ppc64 [powerpc], libc6-dev-i386 [amd64], libc6-dev-powerpc [ppc64], libc6-dev-sparc64 [sparc], libc6-dev-s390x [s390], libc0.1-dev-i386 [kfreebsd-amd64], lib32ssp0 [amd64 kfreebsd-amd64 ppc64], lib64ssp0 [i386 powerpc sparc s390], @@ -48,7 +48,7 @@ Architecture: any Section: libs Priority: extra -Depends: ${locale:Depends} +Depends: ${locale:Depends}, lzma Provides: locales Description: GNU C Library: Precompiled locale data This package contains the precompiled locale data for all supported locales. Modified: glibc-package/trunk/debian/debhelper.in/locales-all.postinst =================================================================== --- glibc-package/trunk/debian/debhelper.in/locales-all.postinst 2007-04-15 18:09:36 UTC (rev 2076) +++ glibc-package/trunk/debian/debhelper.in/locales-all.postinst 2007-04-15 23:36:50 UTC (rev 2077) @@ -8,7 +8,7 @@ # overwrite them and exits with a non-null value rm -f /usr/lib/locale/locale-archive 2>/dev/null || true tmpdir=$(mktemp -d /tmp/locales.XXXXXXXXXX) - tar zxf /usr/lib/locales-all/supported.tar.gz -C "$tmpdir" + tar --use-compress-program /usr/bin/lzma -xf /usr/lib/locales-all/supported.tar.lzma -C "$tmpdir" localedef --quiet --add-to-archive "$tmpdir"/* rm -rf "$tmpdir" fi Modified: glibc-package/trunk/debian/rules.d/build.mk =================================================================== --- glibc-package/trunk/debian/rules.d/build.mk 2007-04-15 18:09:36 UTC (rev 2076) +++ glibc-package/trunk/debian/rules.d/build.mk 2007-04-15 23:36:50 UTC (rev 2077) @@ -121,7 +121,7 @@ localedata/install-locales; \ rm -rf $(CURDIR)/debian/locales-all/usr/lib; \ install -d $(CURDIR)/debian/locales-all/usr/lib/locales-all; \ - tar zcf $(CURDIR)/debian/locales-all/usr/lib/locales-all/supported.tar.gz -C $(CURDIR)/debian/tmp-libc/usr/lib/locale .; \ + tar --use-compress-program -cf $(CURDIR)/debian/locales-all/usr/lib/locales-all/supported.tar.lzma -C $(CURDIR)/debian/tmp-libc/usr/lib/locale .; \ fi # Create the multidir directories, and the configuration file in /etc/ld.so.conf.d -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]