Package: src:pyabiword
Severity: minor
Tags: patch

--

Hi,

We need to coordinate transition for libwv library.

Currently python-abiword depends on libwv-1.2-3 when experimental have a new 
libwv-1.2-4 release.

To cut the long story short, upstream for 'wv' package (abisource) stopped 
publishing new releases to sourceforge so debian missed new versions since 
2007. Now we have src:wv 1.2.9 to replace old src:wv 1.2.4

pyabiword have libwv-dev in Build-Depends only as workaround against missing 
build-deps in libabiword-2.(8|9)-dev (which had empty Depends for years until 
it was fixed by yours truly).

In libwv-1.2-4 I fixed missing build-depends which makes workaround for 
missing build-dependencies (#656263, #656252) unnecessary in pyabiword. 

Because python-abiword suffers from overlinking, it inherit dependency on 
libwv-1.2-3 from libabiword, but needlessly links against libwv.

I think the best would be if you could introduce --as-needed (see attached 
patch) to get rid of unnecessary depends, as python-abiword benefits from it.

This will help the transition of libwv, because if pyabiword is built with 
--as-needed resulting binary package python-abiword do not depend on libwv at 
all.

pyabiword builds perfectly with new libwv-1.2-4 (which is actually used only 
by libabiword).

This transition will help to rebuild libabiword against current version of 
libwv.

Thank you.

Regards,
Dmitry.


From f6d91313c9ab56196f0dd503bcebd554c442f39f Mon Sep 17 00:00:00 2001
From: Dmitry Smirnov <only...@member.fsf.org>
Date: Mon, 6 Feb 2012 18:44:01 +1100
Subject: [PATCH] introducing --as-needed to avoid needless linking

---
 debian/rules |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/debian/rules b/debian/rules
index f9ed126..21afa98 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,7 +23,8 @@ include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/autoreconf.mk
 include /usr/share/cdbs/1/class/python-autotools.mk
 
-DEB_DH_AUTORECONF_ARGS = autoreconf -- -vfi -I.
+DEB_DH_AUTORECONF_ARGS = autoreconf --as-needed -- -vfi -I.
+LDFLAGS+= -Wl,--as-needed
 
 DEB_UPSTREAM_URL = http://www.abisource.com/downloads/pyabiword/$(DEB_UPSTREAM_VERSION)
 DEB_UPSTREAM_TARBALL_MD5 = 826ea3e4cdcdd11906ce8739d07e6c26
-- 
1.7.8.3

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to