[SCM] Debian packaging of libopengl-perl branch, master, updated. upstream/0.66+dfsg-136-ga23f886

Florian Schlichting fschlich at zedat.fu-berlin.de
Fri Jan 27 23:26:46 UTC 2012


The following commit has been merged in the master branch:
commit faef5a803f5794c19f9f0a5b8b7402505b26c914
Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
Date:   Fri Jan 27 23:46:58 2012 +0100

    patches/dont_link_against_unused_libs: prune library dependencies

diff --git a/debian/changelog b/debian/changelog
index dbe9e08..1616cdf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -72,6 +72,7 @@ libopengl-perl (0.66+dfsg-1) UNRELEASED; urgency=low
   * debian/patches/add-gl_exclude.h: re-add file removed upstream,
     because it's impossible to generate in a build chroot.
   * debian/patches/fix-pod-spelling.patch added.
+  * debian/patches/dont_link_against_unused_libs: prune library dependencies.
 
  -- Fabrizio Regalli <fabreg at fabreg.it>  Fri, 05 Aug 2011 11:50:28 +0200
 
diff --git a/debian/control b/debian/control
index 2c199c6..f013d0e 100644
--- a/debian/control
+++ b/debian/control
@@ -6,8 +6,6 @@ Build-Depends: debhelper (>= 8),
  libgl1-mesa-dev | libgl-dev,
  libglu1-mesa-dev | libglu-dev,
  libx11-dev,
- libxi-dev,
- libxmu-dev,
  perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: gregor herrmann <gregoa at debian.org>,
diff --git a/debian/patches/dont_link_against_unused_libs b/debian/patches/dont_link_against_unused_libs
new file mode 100644
index 0000000..d7f3a4f
--- /dev/null
+++ b/debian/patches/dont_link_against_unused_libs
@@ -0,0 +1,20 @@
+Description: prune "useless" library dependencies detected by dpkg-shlibdeps
+ The thing is that I don't understand much about X or OpenGL, so have no clue
+ why upstream links against them even though they're not used, or if it's an
+ artefact of our build environment that more advanced functionality does not
+ get enabled, or ...
+Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -496,10 +496,6 @@
+   my $libs = ' -l'.join(' -l',values(%$found_libs));
+   my @more_libs = qw
+   {
+-    -lXext
+-    -lXmu
+-    -lXi
+-    -lICE
+     -lX11
+     -lm
+   };
diff --git a/debian/patches/series b/debian/patches/series
index 8b5ae3b..06c3d14 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ disable-glversion
 add-gl_exclude.h
 glext_procs-replacement
 use-systems-gl
+dont_link_against_unused_libs

-- 
Debian packaging of libopengl-perl



More information about the Pkg-perl-cvs-commits mailing list