tags 508105 + patch
thanks

Hi,

I don't think that all dependencies are really necessary. I have rebuilt the package in unstable with LDFLAGS=-Wl,--as-needed (please see the attached patch) and it worked like a charm. The list of direct dependencies of the packages decreased to the following:

gksu
hal
libc6 (>= 2.3.6-6~)
libgcc1 (>= 1:4.1.1)
libglib2.0-0 (>= 2.12.0)
libglibmm-2.4-1c2a (>= 2.19.8)
libgtk2.0-0 (>= 2.8.0)
libgtkmm-2.4-1c2a (>= 1:2.16.0)
libpangomm-1.4-1 (>= 2.24.0)
libparted1.8-12 (>= 1.8.8.git.2009.06.03-1)
libsigc++-2.0-0c2a (>= 2.0.2)
libstdc++6 (>= 4.2.1)

Cheers,
Fabian

--
Dipl.-Phys. Fabian Greffrath

Ruhr-Universität Bochum
Lehrstuhl für Energieanlagen und Energieprozesstechnik (LEAT)
Universitätsstr. 150, IB 3/134
D-44780 Bochum

Telefon: +49 (0)234 / 32-26334
Fax:     +49 (0)234 / 32-14227
E-Mail:  [email protected]
diff -u gparted-0.4.5/debian/rules gparted-0.4.5/debian/rules
--- gparted-0.4.5/debian/rules
+++ gparted-0.4.5/debian/rules
@@ -11,11 +11,12 @@
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
 CFLAGS = -Wall -g -O3
+LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
 
 config.status: configure
 	dh_testdir
 	rm -rf .pc
-	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-help-dir=\$${prefix}/share/gnome/help
+	CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-help-dir=\$${prefix}/share/gnome/help
 
 build: patch build-stamp
 

Reply via email to