[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r1442 - in glibc-package/trunk/debian: . debhelper.in rules.d



Author: barbier
Date: 2006-04-14 22:13:07 +0000 (Fri, 14 Apr 2006)
New Revision: 1442

Removed:
   glibc-package/trunk/debian/debhelper.in/locales-all.dirs
   glibc-package/trunk/debian/debhelper.in/locales-all.install
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/rules.d/build.mk
Log:
Preserve hard links when compiling the locales-all package, this reduces
package size by a factor of 3.  Thanks to Jeroen van Wolffelaar for noticing.


Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog	2006-04-14 21:54:09 UTC (rev 1441)
+++ glibc-package/trunk/debian/changelog	2006-04-14 22:13:07 UTC (rev 1442)
@@ -8,6 +8,10 @@
   * Add hurd-i386/local-mlock.diff (fix mlock on Hurd/Mach), by Samuel
     Thibault.  (Closes: #349204)
 
+  [ Denis Barbier ]
+  * Preserve hard links when compiling the locales-all package, this reduces
+    package size by a factor of 3.  Thanks to Jeroen van Wolffelaar for noticing.
+    
  -- Aurelien Jarno <aurel32@debian.org>  Fri, 14 Apr 2006 20:28:41 +0200
 
 glibc (2.3.6-7) unstable; urgency=medium

Deleted: glibc-package/trunk/debian/debhelper.in/locales-all.dirs
===================================================================
--- glibc-package/trunk/debian/debhelper.in/locales-all.dirs	2006-04-14 21:54:09 UTC (rev 1441)
+++ glibc-package/trunk/debian/debhelper.in/locales-all.dirs	2006-04-14 22:13:07 UTC (rev 1442)
@@ -1 +0,0 @@
-usr/lib/locales-all

Deleted: glibc-package/trunk/debian/debhelper.in/locales-all.install
===================================================================
--- glibc-package/trunk/debian/debhelper.in/locales-all.install	2006-04-14 21:54:09 UTC (rev 1441)
+++ glibc-package/trunk/debian/debhelper.in/locales-all.install	2006-04-14 22:13:07 UTC (rev 1442)
@@ -1 +0,0 @@
-debian/tmp-libc/usr/lib/locale/* usr/lib/locales-all

Modified: glibc-package/trunk/debian/rules.d/build.mk
===================================================================
--- glibc-package/trunk/debian/rules.d/build.mk	2006-04-14 21:54:09 UTC (rev 1441)
+++ glibc-package/trunk/debian/rules.d/build.mk	2006-04-14 22:13:07 UTC (rev 1442)
@@ -113,6 +113,9 @@
 	  $(MAKE) -C $(DEB_BUILDDIR) -j $(NJOBS) \
 	    objdir=$(DEB_BUILDDIR) install_root=$(CURDIR)/debian/tmp-$(curpass) \
 	    localedata/install-locales; \
+	  rm -rf $(CURDIR)/debian/locales-all/usr/lib; \
+	  install -d $(CURDIR)/debian/locales-all/usr/lib; \
+	  mv $(CURDIR)/debian/tmp-libc/usr/lib/locale $(CURDIR)/debian/locales-all/usr/lib/locales-all; \
 	  (cd $(DEB_SRCDIR)/manual && texi2html -split_chapter libc.texinfo); \
 	fi
 



Reply to: