Comment 14 for bug 885652

Revision history for this message
Steve Langasek (vorlon) wrote :

Hi Michael,

diff -Nru freeglut-2.6.0/debian/compat freeglut-2.6.0/debian/compat
--- freeglut-2.6.0/debian/compat 2010-03-27 12:02:35.000000000 +0000
+++ freeglut-2.6.0/debian/compat 2012-08-16 15:23:33.000000000 +0000
@@ -1 +1 @@
-7
+9

This change is not needed for multiarch because the package does not use dh(1) for building - it passes --libdir in debian/rules instead. It's best to not include this change in an SRU - and easier than verifying that there are no other behavior changes.

@@ -46,7 +49,9 @@
        dh_testroot
        dh_prep
        $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
- rm -f $(CURDIR)/debian/tmp/usr/lib/libglut.la
+ mkdir -p $(CURDIR)/debian/freeglut3-dbg/usr/lib/debug/usr/lib/$(DEB_HOST_MULTIARCH)
+ cp $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libglut.so.3.9.0 $(CURDIR)/debian/freeglut3-dbg/usr/lib/debug/usr/lib/$(DEB_HOST_MULTIARCH)
+ rm -f $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libglut.la

 binary-indep: build install

This doesn't look like a very correct way to implement a debugging package. Debugging packages should normally contain only the detached symbols, where this seems to be including a complete .so?