[Bug 811927] [NEW] support multiarch: same

Launchpad Bug Tracker 811927 at bugs.launchpad.net
Tue Nov 15 18:56:24 UTC 2011


You have been subscribed to a public bug by Sebastien Bacher (seb128):

Dears Maintainers,

Could you update nvidia-cg-toolkit to support multiarch:same.
<http://wiki.debian.org/Multiarch/Implementation>

1/ First you will need to split your package. At least one additional
package that contains only so files. /usr/bin are not supported by
multiarch. /usr/share must be same (byte comparaison) for all
architecture which is not the case here.

2/ Then port the library package to multiarch (based on previous link).
## control file
* Build-depend on debhelper (>= 8.1.3)
* Add Pre-Depends: ${misc:Pre-Depends}  to any package listed in debian/control that provides a shared library
* mark this shared library package Multi-Arch: same

## Rule file
* DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) in rule file
* Generate install files to install library into /usr/lib/$DEB_HOST_MULTIARCH

Best regards,
Gregory

** Affects: nvidia-cg-toolkit (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: patch
-- 
support multiarch: same
https://bugs.launchpad.net/bugs/811927
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list