[pkg-nvidia-devel] Bug#572206: build a 32-bit libvdpau.so.1 on amd64

Andreas Beckmann debian at abeckmann.de
Tue Mar 2 11:13:41 UTC 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lib32vdpau1.patch
Type: text/x-diff
Size: 5501 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20100302/a626fd2b/attachment.patch>


More information about the Pkg-nvidia-devel mailing list