Package: gettext
Version: 0.18.3.2-1
Severity: normal
Tags: patch
User: debian-...@lists.debian.org
Usertag: arm64

Gettext already has build-profile support, which is great, but the
build-profile support that finally got uploaded in dpkg changed
slightly from what is implemented here (plural variable name
(DEB_BUILD_PROFILES) and the possiblity of more than one profile being
defined. I've updated the support to suit this. Tested patch attached.

Also I'd really appreciate permission to NMU (or an upload) as I've
managed to mess up the arm64 port (on debian-ports) by uploading a
stage1 profile build of this as 0.18.3.2-1+profile to 'unreleased'
(for modified sources) and a higher-versioned upload is needed to
superceed it with a full, normal, build in 'unstable' where debootstrap
can find it. This package is now the only thing missing from an arm64
debootstrap. Sorry about that - I should have been able to manage this
without needing a new gettext upload, but I didn't grok how the
debian-ports versionning+multiple archives interacted when I started.

cheers

-- System Information:
Debian Release: 7.5
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-kvm-i386-20110111 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -Nru gettext-0.18.3.2/debian/changelog gettext-0.18.3.2/debian/changelog
--- gettext-0.18.3.2/debian/changelog	2014-01-16 15:22:54.000000000 +0000
+++ gettext-0.18.3.2/debian/changelog	2014-03-31 23:51:42.000000000 +0000
@@ -1,3 +1,10 @@
+gettext (0.18.3.2-1+profile) unreleased; urgency=low
+
+  * Non-maintainer upload.
+  * Update build profile to USE DEB_BUILD_PROFILES
+
+ -- Buildd user <bui...@turfan.debian.net>  Mon, 31 Mar 2014 23:50:51 +0000
+
 gettext (0.18.3.2-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru gettext-0.18.3.2/debian/rules gettext-0.18.3.2/debian/rules
--- gettext-0.18.3.2/debian/rules	2013-05-30 10:00:00.000000000 +0000
+++ gettext-0.18.3.2/debian/rules	2014-03-31 23:50:39.000000000 +0000
@@ -99,7 +99,7 @@
 	fi
 	find debian/$@/usr/share/locale | grep gettext-tools | xargs rm
 ifeq (,$(findstring %$(DEB_HOST_ARCH)%,$(NOJAVA_ARCHS)))
-ifneq ($(DEB_BUILD_PROFILE),stage1)
+ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
 	install -d debian/$@/usr/share/java
 	cp -p debian/tmp/usr/share/gettext/libintl.jar \
 		debian/$@/usr/share/java
@@ -147,7 +147,7 @@
 	cp -a debian/tmp/usr/share/gettext debian/$@/usr/share
 	rm -f debian/$@/usr/share/gettext/libintl.jar
 ifeq (,$(findstring %$(DEB_HOST_ARCH)%,$(NOJAVA_ARCHS)))
-ifneq ($(DEB_BUILD_PROFILE),stage1)
+ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
 	mv debian/$@/usr/share/gettext/gettext.jar debian/$@/usr/share/java
 endif
 endif

Reply via email to