Your message dated Sun, 23 May 2010 03:32:47 +0000
with message-id <[email protected]>
and subject line Bug#572206: fixed in libvdpau 0.4-4
has caused the Debian Bug report #572206,
regarding build a 32-bit libvdpau.so.1 on amd64
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.)


-- 
572206: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572206
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libvdpau
Version: 0.4-3
Severity: wishlist
Tags: patch

Hi Andres,

I'm attaching a patch to build a 32-bit libvdpau.so.1 on amd64, so that
we have the possibility to convert the nvidia-libvdpau1{-ia32} packages
to transitional dummy packages later and only keep one variant of the
vdpau wrappers in Debian.

 * Build lib32vdpau1 [amd64], so we can replace nvidia-libvdpau-ia32.
   Build rules inspired by lib32z1. (Closes: #xxxxxx)
 * Add lib{,32}vdpau1.symbols.
 * Do not ship /usr/lib/vdpau/libvdpau_trace.so, will be used never.

The last change removes a superfluous file - nothing is going to be
linked with libvdpau_trace.so anyway and the wrapper no longer dlopen()s
that file.

The patched package builds on i386 and amd64 and installing lib32vdpau1
replaces nvidia-libvdpau1-ia32 (190.53) without problems. I did not try
running anything that would actually use the 32-bit wrapper. A 32-bit
mplayer might be a target to test this. Did someone ever test whether
nvidia-libvdpau1-ia32 + nvidia-vdpau-driver-ia32 was actually
functional?


Andreas


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (800, 'testing'), (800, 'stable'), (600, 'unstable'), (130, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-0-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: debian/control
===================================================================
--- debian/control	(.../trunk)	(revision 1559)
+++ debian/control	(.../branches/10-lib32vdpau1)	(revision 1559)
@@ -7,6 +7,7 @@
 DM-Upload-Allowed: yes
 Build-Depends: debhelper (>= 7.0.50), pkg-config, libx11-dev,
  x11proto-dri2-dev (>= 2.2), libxext-dev,
+ g++-multilib [amd64], ia32-libs [amd64],
 Build-Depends-Indep: doxygen, graphviz, texlive-binaries, texlive-base,
 Standards-Version: 3.8.4
 Homepage: http://cgit.freedesktop.org/~aplattner/libvdpau
@@ -51,6 +52,22 @@
  .
  This package contains the VDPAU wrapper and trace libraries.
 
+Package: lib32vdpau1
+Architecture: amd64
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: nvidia-libvdpau1-ia32
+Conflicts: nvidia-libvdpau1-ia32
+Suggests: nvidia-vdpau-driver-ia32 [amd64] | vdpau-driver-ia32
+Description: Video Decode and Presentation API for Unix (32-bit libraries)
+ VDPAU (Video Decode and Presentation API for Unix) is an open source library
+ (libvdpau) and API designed by NVIDIA originally for its GeForce 8 series and
+ later GPU hardware, targeted at the X Window System on Unix operating-systems
+ (including Linux, FreeBSD, and Solaris). This VDPAU API
+ allows video programs to offload portions of the video decoding process and
+ video post-processing to the GPU video-hardware.
+ .
+ This package contains the VDPAU wrapper and trace 32-bit libraries.
+
 Package: libvdpau-doc
 Architecture: all
 Section: doc
Index: debian/lib32vdpau1.symbols
===================================================================
--- debian/lib32vdpau1.symbols	(.../trunk)	(revision 0)
+++ debian/lib32vdpau1.symbols	(.../branches/10-lib32vdpau1)	(revision 1559)
@@ -0,0 +1,5 @@
+libvdpau.so.1 lib32vdpau1 #MINVER#
+ _vdp_dri2conn...@base 0.4
+ _vdp_dri2queryextens...@base 0.4
+ _vdp_dri2queryvers...@base 0.4
+ vdp_device_create_...@base 0.2
Index: debian/changelog
===================================================================
--- debian/changelog	(.../trunk)	(revision 1559)
+++ debian/changelog	(.../branches/10-lib32vdpau1)	(revision 1559)
@@ -1,3 +1,15 @@
+libvdpau (0.4-3.0anbe0) unstable; urgency=low
+
+  * Non-maintainer upload.
+
+  [ Andreas Beckmann ]
+  * Build lib32vdpau1 [amd64], so we can replace nvidia-libvdpau-ia32.
+    Build rules inspired by lib32z1. (Closes: #xxxxxx)
+  * Add lib{,32}vdpau1.symbols.
+  * Do not ship /usr/lib/vdpau/libvdpau_trace.so, will be used never.
+
+ -- Andreas Beckmann <[email protected]>  Mon, 01 Mar 2010 12:47:48 +0100
+
 libvdpau (0.4-3) unstable; urgency=low
 
   * Enable dri2 feature. Requires x11proto-dri2-dev (>= 2.2) and libxext-dev.
Index: debian/libvdpau-dev.install
===================================================================
--- debian/libvdpau-dev.install	(.../trunk)	(revision 1559)
+++ debian/libvdpau-dev.install	(.../branches/10-lib32vdpau1)	(revision 1559)
@@ -1,4 +1,3 @@
 usr/lib/libvdpau.so
-usr/lib/vdpau/libvdpau_trace.so
 usr/lib/pkgconfig
 usr/include
Index: debian/lib32vdpau1.lintian-overrides
===================================================================
--- debian/lib32vdpau1.lintian-overrides	(.../trunk)	(revision 0)
+++ debian/lib32vdpau1.lintian-overrides	(.../branches/10-lib32vdpau1)	(revision 1559)
@@ -0,0 +1 @@
+lib32vdpau1: non-dev-pkg-with-shlib-symlink usr/lib32/libvdpau.so.1.0.0 usr/lib32/libvdpau.so
Index: debian/rules
===================================================================
--- debian/rules	(.../trunk)	(revision 1559)
+++ debian/rules	(.../branches/10-lib32vdpau1)	(revision 1559)
@@ -1,5 +1,9 @@
 #!/usr/bin/make -f
 
+#export DH_VERBOSE=1
+
+DEB_HOST_ARCH       ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
 # Used to enable documentation if dependencies are available
 define cond_enable
 	$(shell if test -x /usr/bin/doxygen && test -x /usr/bin/dot \
@@ -10,9 +14,41 @@
 CONFIGURE_OPTIONS ?= $(call cond_enable) \
 		     --enable-dri2
 
+32-ARCHS=amd64
+ifneq (,$(findstring $(DEB_HOST_ARCH), $(32-ARCHS)))
+EXTRA_CONFIGURE	+= configure32
+EXTRA_BUILD	+= build32
+EXTRA_INSTALL	+= install32
+endif
+
 %:
 	dh $@
 
-override_dh_auto_configure:
+binary: binary-indep binary-arch ;
+
+override_dh_auto_configure: $(EXTRA_CONFIGURE)
 	dh_testdir
 	./configure --prefix=/usr $(CONFIGURE_OPTIONS)
+
+configure32:
+	dh_testdir
+	mkdir debian/32
+	cd debian/32 && CC="$(CC) -m32" CXX="$(CXX) -m32" \
+		../../configure --prefix=/usr --libdir=/usr/lib32 \
+		$(CONFIGURE_OPTIONS)
+
+override_dh_auto_build: $(EXTRA_BUILD)
+	dh_auto_build
+
+build32:
+	dh_auto_build --sourcedirectory=debian/32
+
+override_dh_auto_install: $(EXTRA_INSTALL)
+	dh_auto_install
+
+install32:
+	dh_auto_install --sourcedirectory=debian/32
+
+clean:
+	dh clean
+	rm -rf debian/32
Index: debian/lib32vdpau1.install
===================================================================
--- debian/lib32vdpau1.install	(.../trunk)	(revision 0)
+++ debian/lib32vdpau1.install	(.../branches/10-lib32vdpau1)	(revision 1559)
@@ -0,0 +1,3 @@
+usr/lib32/libvdpau.so
+usr/lib32/libvdpau.so.*
+usr/lib32/vdpau/libvdpau_trace.so.*
Index: debian/libvdpau1.symbols
===================================================================
--- debian/libvdpau1.symbols	(.../trunk)	(revision 0)
+++ debian/libvdpau1.symbols	(.../branches/10-lib32vdpau1)	(revision 1559)
@@ -0,0 +1,5 @@
+libvdpau.so.1 libvdpau1 #MINVER#
+ _vdp_dri2conn...@base 0.4
+ _vdp_dri2queryextens...@base 0.4
+ _vdp_dri2queryvers...@base 0.4
+ vdp_device_create_...@base 0.2

--- End Message ---
--- Begin Message ---
Source: libvdpau
Source-Version: 0.4-4

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

libvdpau-dev_0.4-4_all.deb
  to main/libv/libvdpau/libvdpau-dev_0.4-4_all.deb
libvdpau-doc_0.4-4_all.deb
  to main/libv/libvdpau/libvdpau-doc_0.4-4_all.deb
libvdpau1_0.4-4_i386.deb
  to main/libv/libvdpau/libvdpau1_0.4-4_i386.deb
libvdpau_0.4-4.debian.tar.gz
  to main/libv/libvdpau/libvdpau_0.4-4.debian.tar.gz
libvdpau_0.4-4.dsc
  to main/libv/libvdpau/libvdpau_0.4-4.dsc



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.
Russ Allbery <[email protected]> (supplier of updated libvdpau 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: SHA1

Format: 1.8
Date: Sat, 22 May 2010 19:11:37 -0700
Source: libvdpau
Binary: libvdpau-dev libvdpau1 lib32vdpau1 libvdpau-doc
Architecture: source all i386
Version: 0.4-4
Distribution: unstable
Urgency: low
Maintainer: Debian NVIDIA Maintainers <[email protected]>
Changed-By: Russ Allbery <[email protected]>
Description: 
 lib32vdpau1 - Video Decode and Presentation API for Unix (32-bit libraries)
 libvdpau-dev - Video Decode and Presentation API for Unix (development files)
 libvdpau-doc - Video Decode and Presentation API for Unix (documentation)
 libvdpau1  - Video Decode and Presentation API for Unix (libraries)
Closes: 572206
Changes: 
 libvdpau (0.4-4) unstable; urgency=low
 .
   [ Andreas Beckmann ]
   * Build lib32vdpau1 [amd64], so we can replace nvidia-libvdpau-ia32.
     Build rules inspired by lib32z1. (Closes: #572206)
   * lib32vdpau1: take over postinst script from nvidia-libvdpau-ia32.
   * Add lib{,32}vdpau1.symbols.
   * libvdpau-dev: do not ship /usr/lib/vdpau/libvdpau_trace.so, won't be used.
   * libvdpau1: cleanup /usr/lib/libvdpau_trace.so left over by some old
     versions of the nvidia-libvdpau* packages.
 .
   [ Russ Allbery ]
   * Link libvdpau with libX11 since it uses symbols from that library.
   * Add myself to Uploaders.
   * Convert debian/copyright to the DEP-5 format and add the slightly
     different license used for two of the source files.
   * Version the Conflicts and Replaces against nvidia-libvdpau1*.
   * Also remove /usr/lib/libvdpau_nvidia.so, left by some old versions of
     the nvidia-libvdpau* packages.
Checksums-Sha1: 
 db539f84240628545803c49bcf100d0d7298bf0a 1562 libvdpau_0.4-4.dsc
 af114f2022e7fd19bfa6e4fd9830f5414012ea8c 22736 libvdpau_0.4-4.debian.tar.gz
 eccc0477ee933389157b3ba820b87d612bc49bee 43270 libvdpau-dev_0.4-4_all.deb
 b9dac09e4961d7cd440eae021ea84e6d61f31942 428016 libvdpau-doc_0.4-4_all.deb
 a870c4c191282ce79e471d1efc7455aa1dfb3e20 26792 libvdpau1_0.4-4_i386.deb
Checksums-Sha256: 
 59c0c817aee98f6f87879bdebdc9745d5ca1f9d8e87625b0520bdaf9e5acb97f 1562 
libvdpau_0.4-4.dsc
 774ee0912efeadd4c1e09db655672a78a6abaeef9a75ba850592f4b1968a5a21 22736 
libvdpau_0.4-4.debian.tar.gz
 e571325dca52a7874e391dd787db9b6b5d2a4192a2eb3d1a85d5cc52406e4cc6 43270 
libvdpau-dev_0.4-4_all.deb
 3a5a76bab345f0f9374c350dd0d2b6f868971f261db2fca147b8fd11d6dcf89b 428016 
libvdpau-doc_0.4-4_all.deb
 0367740d3635e55730f85aff858bd13eb7969aebe63925bebc8647fec70cd72c 26792 
libvdpau1_0.4-4_i386.deb
Files: 
 a6cefaaf17e5848b2d01db892d13bde3 1562 libs optional libvdpau_0.4-4.dsc
 3c7c494586bbd2c67cff571ef2f5139f 22736 libs optional 
libvdpau_0.4-4.debian.tar.gz
 fdb30651e71cc0eaf6a68f1501d6d76d 43270 libdevel optional 
libvdpau-dev_0.4-4_all.deb
 b46f6ac76585056a876b1d07a95106c6 428016 doc optional libvdpau-doc_0.4-4_all.deb
 687d92c5ef3d517b08db5f56eb523e0b 26792 libs optional libvdpau1_0.4-4_i386.deb

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

iEYEARECAAYFAkv4j4IACgkQ+YXjQAr8dHaAOgCfXGkmhvNBJ34Fmd5rDcGxyGuW
IXwAoIeXtHkSeeNgRHHPK5Rg9zG2Dwjh
=NZk8
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to