Package: cdebootstrap
Version: 0.5.2
Severity: wishlist
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu intrepid ubuntu-patch

Hi,

In Ubuntu we have a system that inserts a step in to the building
process to get translations, from the description:

 pkgstriptranslations removes all *.mo files in /usr/share/locale from
 all package build directories. It is used to strip off gettext
translations
 from generated binary packages, because translations are already
shipped
 in the language packs.  Its behaviour (which is disabled by default) is
 configured in /etc/pkgbinarymangler/striptranslations.conf.

cdebootstrap has a problem with this due to to building other packages
while building. This behaviour can be overridden with the environment
variable "NO_PKG_MANGLE".

Please consider applying the below diff, as it should make no difference
to the behaviour on Debian, but allow the above procedure to work
correctly.

Thanks,

James

diff -pruN 0.5.2/helper/Makefile.am 0.5.2ubuntu1/helper/Makefile.am
--- 0.5.2/helper/Makefile.am    2008-03-21 15:23:32.000000000 +0000
+++ 0.5.2ubuntu1/helper/Makefile.am     2008-05-12 20:41:23.000000000 +0100
@@ -24,7 +24,7 @@ temp-%:
        $(MAKE) -C $(PACKAGE) package DESTDIR=$(CURDIR)/temp-$(PACKAGE)
 
 root-%:
-       dpkg-deb --build temp-$(PACKAGE) $(PACKAGE).deb
+       NO_PKG_MANGLE=1 dpkg-deb --build temp-$(PACKAGE) $(PACKAGE).deb
 
 clean-local:
        rm -rf $(foreach package,$(packages),temp-$(package))
diff -pruN 0.5.2/helper/Makefile.in 0.5.2ubuntu1/helper/Makefile.in
--- 0.5.2/helper/Makefile.in    2008-05-09 20:42:59.000000000 +0100
+++ 0.5.2ubuntu1/helper/Makefile.in     2008-05-12 20:41:23.000000000 +0100
@@ -488,7 +488,7 @@ temp-%:
        $(MAKE) -C $(PACKAGE) package DESTDIR=$(CURDIR)/temp-$(PACKAGE)
 
 root-%:
-       dpkg-deb --build temp-$(PACKAGE) $(PACKAGE).deb
+       NO_PKG_MANGLE=1 dpkg-deb --build temp-$(PACKAGE) $(PACKAGE).deb
 
 clean-local:
        rm -rf $(foreach package,$(packages),temp-$(package))




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to