Your message dated Tue, 01 May 2012 09:18:10 +0000
with message-id <[email protected]>
and subject line Bug#646034: fixed in gettext 0.18.1.1-6
has caused the Debian Bug report #646034,
regarding Please split libgettextpo0 out for multiarch
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
646034: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646034
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gettext
Version: 0.18.1.1-5
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu precise ubuntu-patch

Hi Santiago!

Because wine in Ubuntu has gettext support via libgettextpo0, and wine is a
target for multiarch for this Ubuntu cycle, I've applied the attached patch
to gettext in Ubuntu to split the library out into its own package so that
it's possible to install the i386 and amd64 versions alongside one another.

Ideally we would have something similar for libasprintf in gettext-base;
however, nothing outside of gettext is using libasprintf in the archive, so
that's a low priority.

For that matter, libgettextpo0 may be a low priority for Debian as well,
since the wine package in Debian doesn't seem to use this library.  This may
be something that will be enabled in a later upstream version of wine.

Thanks for considering the patch!

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
[email protected]                                     [email protected]
diff -Nru gettext-0.18.1.1/debian/changelog gettext-0.18.1.1/debian/changelog
diff -Nru gettext-0.18.1.1/debian/control gettext-0.18.1.1/debian/control
--- gettext-0.18.1.1/debian/control	2011-08-05 06:28:01.000000000 -0700
+++ gettext-0.18.1.1/debian/control	2011-10-20 10:55:43.000000000 -0700
@@ -18,11 +19,11 @@
 
 Package: gettext
 Architecture: any
-Depends: ${shlibs:Depends}, gettext-base, dpkg (>= 1.15.4) | install-info
+Depends: ${shlibs:Depends}, libgettextpo0 (= ${binary:Version}), gettext-base, dpkg (>= 1.15.4) | install-info
 Recommends: curl | wget | lynx-cur, autopoint
 Conflicts: autopoint (<= 0.17-11)
 Suggests: gettext-doc
-Provides: libgettextpo0, libasprintf-dev, libgettextpo-dev
+Provides: libasprintf-dev, libgettextpo-dev
 Description: GNU Internationalization utilities
  Interesting for authors or maintainers of other packages or programs
  which they want to see internationalized.
@@ -55,3 +56,14 @@
  `configure.in' or `configure.ac' file, the gettext version used by the
  package, and copies the infrastructure files belonging to this version
  into the package.
+
+Package: libgettextpo0
+Architecture: any
+Multi-Arch: same
+Pre-Depends: multiarch-support
+Depends: ${shlibs:Depends}
+Breaks: gettext (<< 0.18.1.1-5ubuntu1)
+Replaces: gettext (<< 0.18.1.1-5ubuntu1)
+Description: GNU Internationalization library
+ This package contains the libgettextpo shared library for interfacing
+ programmatically with GNU gettext .po files.
diff -Nru gettext-0.18.1.1/debian/gettext.lintian-overrides gettext-0.18.1.1/debian/gettext.lintian-overrides
--- gettext-0.18.1.1/debian/gettext.lintian-overrides	2010-06-13 05:30:01.000000000 -0700
+++ gettext-0.18.1.1/debian/gettext.lintian-overrides	2011-10-19 23:11:52.000000000 -0700
@@ -15,7 +15,6 @@
 gettext: shlib-missing-in-control-file libgettextsrc 0.18.1 for usr/lib/libgettextsrc-0.18.1.so
 gettext: shlib-missing-in-control-file libgettextlib 0.18.1 for usr/lib/libgettextlib-0.18.1.so
 #
-# Only libgettextpo0 is to be used by other packages.
-# gettext Provides libgettextpo0, so yes, it's correct.
+# Not for use by other packages.
 #
-gettext: package-name-doesnt-match-sonames libgettextlib-0.18.1 libgettextpo0 libgettextsrc-0.18.1 libgnuintl8
+gettext: package-name-doesnt-match-sonames libgettextlib-0.18.1 libgettextsrc-0.18.1 libgnuintl8
diff -Nru gettext-0.18.1.1/debian/gettext.shlibs gettext-0.18.1.1/debian/gettext.shlibs
--- gettext-0.18.1.1/debian/gettext.shlibs	2008-06-11 03:17:50.000000000 -0700
+++ gettext-0.18.1.1/debian/gettext.shlibs	1969-12-31 16:00:00.000000000 -0800
@@ -1 +0,0 @@
-libgettextpo	0	libgettextpo0
diff -Nru gettext-0.18.1.1/debian/libgettextpo0.postinst gettext-0.18.1.1/debian/libgettextpo0.postinst
--- gettext-0.18.1.1/debian/libgettextpo0.postinst	1969-12-31 16:00:00.000000000 -0800
+++ gettext-0.18.1.1/debian/libgettextpo0.postinst	2011-10-14 09:19:31.000000000 -0700
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+if [ "$1" = "configure" ]; then
+  ldconfig
+fi
diff -Nru gettext-0.18.1.1/debian/libgettextpo0.shlibs gettext-0.18.1.1/debian/libgettextpo0.shlibs
--- gettext-0.18.1.1/debian/libgettextpo0.shlibs	1969-12-31 16:00:00.000000000 -0800
+++ gettext-0.18.1.1/debian/libgettextpo0.shlibs	2011-10-14 09:19:31.000000000 -0700
@@ -0,0 +1 @@
+libgettextpo	0	libgettextpo0
diff -Nru gettext-0.18.1.1/debian/rules gettext-0.18.1.1/debian/rules
--- gettext-0.18.1.1/debian/rules	2011-08-05 06:44:29.000000000 -0700
+++ gettext-0.18.1.1/debian/rules	2011-10-20 11:27:57.000000000 -0700
@@ -52,11 +52,12 @@
 	rm -f `find . -name "*~"`
 	rm -rf debian/tmp debian/files* core debian/substvars debian/a.out
 	cd debian && rm -rf gettext-base gettext gettext-el gettext-doc \
-		autopoint
+		autopoint libgettextpo0
 
 binary-arch: build
 	debian/rules gettext-base
 	debian/rules gettext
+	debian/rules libgettextpo0
 
 binary-indep: build
 	debian/rules gettext-el
@@ -123,7 +124,6 @@
 	install -d debian/$@/DEBIAN debian/$@/usr/share/doc/$@
 	cd debian/$@ && install -d usr/share/man usr/share/java \
 		usr/share/lintian/overrides
-	cd debian && install -m 644 [email protected] $@/DEBIAN/shlibs
 	cd debian && install -m 755 postinst $@/DEBIAN
 	cp -p debian/[email protected] \
 		debian/$@/usr/share/lintian/overrides/$@
@@ -149,15 +149,15 @@
 	cp -a debian/tmp/usr/share/locale debian/$@/usr/share
 	find debian/$@/usr/share/locale | grep gettext-runtime | xargs rm
 	cd debian/$@/usr/bin && rm -f gettext ngettext envsubst gettext.sh
-	cd debian/$@/usr/lib && rm -f libasprintf.so.* *.la
+	cd debian/$@/usr/lib && rm -f libasprintf.so.* *.la libgettextpo.so.*
+	mkdir debian/$@/usr/lib/$(DEB_HOST_MULTIARCH)
+	cd debian/$@/usr/lib/ && mv libgettextpo.so $(DEB_HOST_MULTIARCH)/
 	cd debian/$@/usr/share/man/man1 && \
 		rm -f gettext.1 ngettext.1 envsubst.1
-	cd debian/$@/usr/lib && chmod 644 libgettextlib* libgettextsrc* \
-		libgettextpo*
+	cd debian/$@/usr/lib && chmod 644 libgettextlib* libgettextsrc*
 	$(STRIP) debian/$@/usr/lib/preloadable_libintl.so
 	$(STRIP) debian/$@/usr/lib/libgettextlib*.so
 	$(STRIP) debian/$@/usr/lib/libgettextsrc*.so
-	$(STRIP) debian/$@/usr/lib/libgettextpo.so.*
 	$(ATRIP) debian/$@/usr/lib/libasprintf.a
 	$(ATRIP) debian/$@/usr/lib/libgettextpo.a
 	rm -f debian/$@/usr/bin/autopoint
@@ -175,6 +175,26 @@
 	chmod -R u+w,go=rX debian/$@
 	dpkg --build debian/$@ ..
 
+libgettextpo0: build
+	rm -rf debian/$@
+	install -d debian/$@/DEBIAN debian/$@/usr/share/doc/$@
+	cd debian/$@ && install -d usr/lib/$(DEB_HOST_MULTIARCH)
+	cd debian && install -m 644 [email protected] $@/DEBIAN/shlibs
+	install -m 755 debian/[email protected] debian/$@/DEBIAN/postinst
+	cp -p debian/copyright debian/$@/usr/share/doc/$@
+	cp -p debian/changelog debian/$@/usr/share/doc/$@/changelog.Debian
+	cp -p ChangeLog debian/$@/usr/share/doc/$@/changelog
+	cd debian/$@/usr/share/doc/$@ && gzip -9nf changelog changelog.Debian
+	cp -a debian/tmp/usr/lib/libgettextpo.so.* debian/$@/usr/lib/$(DEB_HOST_MULTIARCH)
+	cd debian/$@/usr/lib/$(DEB_HOST_MULTIARCH) && chmod 644 libgettextpo*
+	$(STRIP) debian/$@/usr/lib/$(DEB_HOST_MULTIARCH)/libgettextpo.so.*
+	dpkg-gencontrol -p$@ -Pdebian/$@
+	cd debian/$@ && \
+		md5sum `find * -type f ! -regex "DEBIAN/.*"` > DEBIAN/md5sums
+	chown -R 0:0 debian/$@
+	chmod -R u+w,go=rX debian/$@
+	dpkg --build debian/$@ ..
+	
 gettext-el: build
 	rm -rf debian/$@
 	install -d debian/$@/DEBIAN debian/$@/usr/share/doc/$@
@@ -254,4 +274,4 @@
 build-indep: build
 
 .PHONY: binary binary-arch binary-indep build-arch build-indep clean
-.PHONY: gettext-base gettext gettext-el gettext-doc autopoint
+.PHONY: gettext-base gettext gettext-el gettext-doc autopoint libgettextpo0

--- End Message ---
--- Begin Message ---
Source: gettext
Source-Version: 0.18.1.1-6

We believe that the bug you reported is fixed in the latest version of
gettext, which is due to be installed in the Debian FTP archive:

autopoint_0.18.1.1-6_all.deb
  to main/g/gettext/autopoint_0.18.1.1-6_all.deb
gettext-base_0.18.1.1-6_amd64.deb
  to main/g/gettext/gettext-base_0.18.1.1-6_amd64.deb
gettext-doc_0.18.1.1-6_all.deb
  to main/g/gettext/gettext-doc_0.18.1.1-6_all.deb
gettext-el_0.18.1.1-6_all.deb
  to main/g/gettext/gettext-el_0.18.1.1-6_all.deb
gettext_0.18.1.1-6.debian.tar.gz
  to main/g/gettext/gettext_0.18.1.1-6.debian.tar.gz
gettext_0.18.1.1-6.dsc
  to main/g/gettext/gettext_0.18.1.1-6.dsc
gettext_0.18.1.1-6_amd64.deb
  to main/g/gettext/gettext_0.18.1.1-6_amd64.deb
libasprintf0c2_0.18.1.1-6_amd64.deb
  to main/g/gettext/libasprintf0c2_0.18.1.1-6_amd64.deb
libgettextpo0_0.18.1.1-6_amd64.deb
  to main/g/gettext/libgettextpo0_0.18.1.1-6_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <[email protected]> (supplier of updated gettext package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 28 Apr 2012 18:40:40 +0200
Source: gettext
Binary: gettext-base gettext gettext-el gettext-doc autopoint libgettextpo0 
libasprintf0c2
Architecture: source all amd64
Version: 0.18.1.1-6
Distribution: unstable
Urgency: low
Maintainer: Santiago Vila <[email protected]>
Changed-By: Santiago Vila <[email protected]>
Description: 
 autopoint  - The autopoint program from GNU gettext
 gettext    - GNU Internationalization utilities
 gettext-base - GNU Internationalization utilities for the base system
 gettext-doc - Documentation for GNU gettext
 gettext-el - Emacs po-mode for editing gettext .po files
 libasprintf0c2 - GNU library to use fprintf and friends in C++
 libgettextpo0 - GNU Internationalization library
Closes: 604778 646034 654779 664551 670588
Changes: 
 gettext (0.18.1.1-6) unstable; urgency=low
 .
   * Run dpkg-shlibdeps on libraries, as it should be. Closes: #670588.
     This makes --no-as-needed not required after all. Closes: #604778.
   * Put symlinks to .el files where emacs can find them, following
     the latest emacs policy. Closes: #664551.
   * Changed project-id to use quotes around pwd. Closes: #654779.
   * Split out libgettextpo0 for multiarch. Closes: #646034.
     Thanks a lot to Steve Langasek.
   * Split out libasprintf0c2 as well. For now, gettext-base depends
     on libasprintf0c2 so that it's not missed on upgrades, for this reason
     this library is Priority: standard as well. After the release of wheezy
     we can think about this again.
   * Dropped README.Debian, no longer needed.
Checksums-Sha1: 
 0f70d7e18f1955069daa918573084df045bcf3a2 1782 gettext_0.18.1.1-6.dsc
 817fbd649b85032b1e23dbc91cd8cfd265448482 41113 gettext_0.18.1.1-6.debian.tar.gz
 02cd9e2f03b769fce16343709d2b6fc601a5646a 59934 gettext-el_0.18.1.1-6_all.deb
 d1d615ac38de92ae7dcf7ddaf21f0c3424e928c0 913766 gettext-doc_0.18.1.1-6_all.deb
 e97238733d102bc75c617d9b987008016e720c86 622546 autopoint_0.18.1.1-6_all.deb
 5004c7eabf709b9603038ede867be7af55ea51c4 152066 
gettext-base_0.18.1.1-6_amd64.deb
 3bcb31d53933a3806778cb29e6e250c0b3e9deb9 1966152 gettext_0.18.1.1-6_amd64.deb
 4e69cea69e7902678f847ed4b9be742731661182 142122 
libgettextpo0_0.18.1.1-6_amd64.deb
 f28b8972655e91ae62573218ffc191a4e399f4d5 26462 
libasprintf0c2_0.18.1.1-6_amd64.deb
Checksums-Sha256: 
 39b68bcbd1c0b12436cd94b05e8d4a2ca8bd2d2c795e0347adfba9944c6af67a 1782 
gettext_0.18.1.1-6.dsc
 242525362759af1019eb09e594011a47e4e23059a5d11bb649d942d07fd1e24d 41113 
gettext_0.18.1.1-6.debian.tar.gz
 8f60faf25a5780b14076200a3bf14738b7c9c94edf325c482e4ee55d86d1641e 59934 
gettext-el_0.18.1.1-6_all.deb
 0b33875e14601d3d16419662a2e50a1202e8f4acfef45480b3a40c77d5e79631 913766 
gettext-doc_0.18.1.1-6_all.deb
 3908f0cef60f8dc19bbdb18581f39050c8ffe1a288058bacc6080e5b1119e740 622546 
autopoint_0.18.1.1-6_all.deb
 84c77f81a625a34eb6d7ee4c57c9e367171d4a572c9bc2757eacc696775741f2 152066 
gettext-base_0.18.1.1-6_amd64.deb
 5fb911e79b04ee168b80f2dd0ec428d94ef31027f8e20dff39e8a17c8fc3806e 1966152 
gettext_0.18.1.1-6_amd64.deb
 43f0509bd9a3d845eabbef541c99d74b9e1ac0b4b0befaea92bf81465c32fa06 142122 
libgettextpo0_0.18.1.1-6_amd64.deb
 b6e44b431e63305dbf6226702206ee279b9b67b576bea8ea64016a9b91409c89 26462 
libasprintf0c2_0.18.1.1-6_amd64.deb
Files: 
 b800fbdeb006831deae7b43efcf0b509 1782 devel optional gettext_0.18.1.1-6.dsc
 528dfae3a929e03a41f0c84796b45b27 41113 devel optional 
gettext_0.18.1.1-6.debian.tar.gz
 8ff4359ac5ab82335ac8adf6a00fcc67 59934 lisp optional 
gettext-el_0.18.1.1-6_all.deb
 99e4302120b0ac3dc7ca8cf365e4b402 913766 doc optional 
gettext-doc_0.18.1.1-6_all.deb
 fbea7f19b71f0f2a8ebaf479b5001814 622546 devel optional 
autopoint_0.18.1.1-6_all.deb
 7ad77f3e840c792d476495a70630a96b 152066 utils standard 
gettext-base_0.18.1.1-6_amd64.deb
 48316a9836bf92c7f4ce9bb9e9321308 1966152 devel optional 
gettext_0.18.1.1-6_amd64.deb
 de8b280a46351a47866bf9276eed119d 142122 libs optional 
libgettextpo0_0.18.1.1-6_amd64.deb
 726afcca5f06fb29e0f033297c86cfbc 26462 libs standard 
libasprintf0c2_0.18.1.1-6_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEbBAEBCAAGBQJPnB9TAAoJEEHOfwufG4syFZQH90z1hDYuPEhMBDefworRvRgT
oiPlq8S/MSgBZNrWlEtCsIpmIh049bZUe0Q0aj2zjmjffVXjJ47bVJmXkL665Dkk
MhqFGqvCccl5Sk16jguWE+JV6AZyYx0pQRH/CkNYfs79r4lMRFTHGRE0L+5Ul6Sk
yHU2tzeYL1f1tXLLovQ1cdQuHcodItpSZmHwm1CZ+ZG9OKS+2LD0TMM4I7Pi2sfc
ID9sAuqBM+vY32pxJY1Yn0AOUzQUrq5fspR8lE4lCT98dL6JmhTytKn8Q65SHf4I
Da0JE3tkWGdkuTucNez9l2xGxaEdpldYhJ5YZ05QSLGqkpcRMXdKpf2GUXIPlw==
=cfWq
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to