Package: gnokii
Version: 0.6.29.dfsg-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch



*** /tmp/tmpDfddhE
In Ubuntu, the attached patch was applied to achieve the following:

  * debian/rules: clean dependency_libs in la-file (Policy 10.2)

The la files in the dev-packages contain non-empty dependency_libs. 
Please empty them. The la files cannot be simply removed because 
they are refered to in other packages.

See: http://wiki.debian.org/ReleaseGoals/LAFileRemoval
http://lists.debian.org/debian-devel/2009/08/msg00808.html
http://release.debian.org/~aba/la/current.txt

Thanks for considering the patch.


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

Kernel: Linux 2.6.38-7-generic (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/dash
diff -Nru gnokii-0.6.29.dfsg/debian/rules gnokii-0.6.29.dfsg/debian/rules
--- gnokii-0.6.29.dfsg/debian/rules	2010-05-02 04:19:01.000000000 +0200
+++ gnokii-0.6.29.dfsg/debian/rules	2011-04-05 02:30:03.000000000 +0200
@@ -58,6 +58,11 @@
 
 	# Install the main package
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/
+	# Empty out the dependency field in our .la files
+	for file in $(CURDIR)/debian/tmp/usr/lib/*.la; do \
+		sed -i "/dependency_libs/ s/'.*'/''/" $$file ; \
+	done
+
 	# Install modified gnokiirc
 	install -m 644 -D $(CURDIR)/debian/gnokiirc \
 		$(CURDIR)/debian/tmp/etc/xdg/gnokii/config

Reply via email to