Package: libimlib2-dev
Version: 1.3.0.0debian1-4
Severity: normal

$ imlib2-config --libs
-L/usr/lib -lImlib2 -lfreetype -lz -L/usr/X11R6/lib -lX11 -lXext -ldl -lm

All these libs are already linked in libimlib2, and don't need to be
linked into the program linking libimlib2. The attached patch removes
these unnecessary libs.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libimlib2-dev depends on:
ii  libc6-dev               2.6.1-6          GNU C Library: Development Librari
ii  libfreetype6-dev        2.3.5-1+b1       FreeType 2 font engine, developmen
ii  libimlib2               1.3.0.0debian1-4 powerful image loading and renderi
ii  libjpeg62-dev           6b-14            Development files for the IJG JPEG
ii  libltdl3-dev            1.5.24-1         A system independent dlopen wrappe
ii  libpng12-dev            1.2.15~beta5-3   PNG library - development
ii  libtiff4-dev            3.8.2-7          Tag Image File Format library (TIF
ii  libungif4-dev           4.1.4-5+b1       shared library for GIF images (dev
ii  libx11-dev              2:1.0.3-7        X11 client-side library (developme
ii  libxext-dev             1:1.0.3-2        X11 miscellaneous extensions libra
ii  zlib1g-dev              1:1.2.3.3.dfsg-7 compression library - development

libimlib2-dev recommends no packages.

-- no debconf information
--- imlib2-config.in    2006-09-04 20:37:07.000000000 -0400
+++ imlib2-config.in.new        2007-11-22 17:48:04.000000000 -0500
@@ -46,7 +46,7 @@
       ;;
     --libs)
       [EMAIL PROTECTED]@
-      echo $libdirs -lImlib2 @my_libs@
+      echo $libdirs -lImlib2
       ;;
     *)
       echo "${usage}" 1>&2

Reply via email to