Bug#657156: libgpg-error: Please drop .la file from -dev package

2012-01-24 Thread Steve Langasek
Package: libgpg-error
Version: 1.10-2
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

Hi José Carlos,

I've just updated libgpg-error in Ubuntu from the version in Debian testing,
and noticed that the -dev package still has a libtool .la file in it.  As
explained at http://wiki.debian.org/ReleaseGoals/LAFileRemoval, it would
be best to remove this file from the package altogether:

 - libgpg-error has no other lib dependencies, so it provides no advantages
   for static linking
 - according to http://release.debian.org/~aba/la/current.txt, there are no
   other .la files in the archive that reference it
 - even if there were, since the .la file's location has now moved on disk
   to the multiarch directory, any such references would currently be broken

So this seems like a good time for the .la file to be removed from the
package, to avoid any other packages *gaining* a dependency on it.

Please see the attached (trivial) patch for this, which I've applied in
Ubuntu precise.

Thanks for considering,
-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org
=== modified file 'debian/libgpg-error-dev.install'
--- debian/libgpg-error-dev.install	2012-01-06 00:46:00 +
+++ debian/libgpg-error-dev.install	2012-01-24 14:27:33 +
@@ -1,6 +1,5 @@
 usr/bin/*
 usr/include/*
-usr/lib/*/libgpg-error.la
 usr/lib/*/libgpg-error.a
 #usr/lib/*/libgpg-error.so
 usr/share/aclocal/*.m4



Bug#657156: libgpg-error: Please drop .la file from -dev package

2012-01-24 Thread Jose Carlos Garcia Sogo
On Tue, Jan 24, 2012 at 3:38 PM, Steve Langasek
steve.langa...@canonical.com wrote:
 Package: libgpg-error
 Version: 1.10-2
 Severity: normal
 Tags: patch
 User: ubuntu-de...@lists.ubuntu.com
 Usertags: origin-ubuntu precise ubuntu-patch

 Hi José Carlos,

Hi Steve,


 I've just updated libgpg-error in Ubuntu from the version in Debian testing,
 and noticed that the -dev package still has a libtool .la file in it.  As
 explained at http://wiki.debian.org/ReleaseGoals/LAFileRemoval, it would
 be best to remove this file from the package altogether:

Actually I reintroduced .la file because of bug #653693. I have to
admit that I don't know what is Florian's usercase, but it seemed to
me a valid point to have a .la file in a so tiny library as
libgpg-error to make people compiling static things a bit easier.

Anyway, I am open to discuss it and remove the file again if we agree that.

Kind regards,

-- 
José Carlos García Sogo
   js...@debian.org



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#657156: libgpg-error: Please drop .la file from -dev package

2012-01-24 Thread Steve Langasek
On Tue, Jan 24, 2012 at 04:15:24PM +0100, Jose Carlos Garcia Sogo wrote:

  I've just updated libgpg-error in Ubuntu from the version in Debian testing,
  and noticed that the -dev package still has a libtool .la file in it.  As
  explained at http://wiki.debian.org/ReleaseGoals/LAFileRemoval, it would
  be best to remove this file from the package altogether:

 Actually I reintroduced .la file because of bug #653693. I have to
 admit that I don't know what is Florian's usercase, but it seemed to
 me a valid point to have a .la file in a so tiny library as
 libgpg-error to make people compiling static things a bit easier.

 Anyway, I am open to discuss it and remove the file again if we agree that.

Bug #653693 is about the static library - the .a file.  I'm concerned here
with the libtool metadata, the .la file, which has no relevance here (or to
bug #653693).

If libgpg-error had dependencies on other libraries, and these libraries
were declared in the dependency_libs field, the .la file would actually
benefit static linking.  But Debian has decided as a project not to support
this use of .la files due to the negative side-effects on the common case of
dynamic linking, so the .la file should go away anyway.

Thanks,
-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org


signature.asc
Description: Digital signature


Bug#657156: Bug#653693: Bug#657156: libgpg-error: Please drop .la file from -dev package

2012-01-24 Thread Florian Weimer
* Jose Carlos Garcia Sogo:

 I've just updated libgpg-error in Ubuntu from the version in Debian testing,
 and noticed that the -dev package still has a libtool .la file in it.  As
 explained at http://wiki.debian.org/ReleaseGoals/LAFileRemoval, it would
 be best to remove this file from the package altogether:

 Actually I reintroduced .la file because of bug #653693. I have to
 admit that I don't know what is Florian's usercase, but it seemed to
 me a valid point to have a .la file in a so tiny library as
 libgpg-error to make people compiling static things a bit easier.

If I typed .a instead of .la, that was a mistake, sorry.  I'm
somewhat interested in the .a file only (and that as a dependency of
the GNUTLS packages).  pkg-config support would be nice, too, but would
need changes to GNUTLS as well.

-- 
Florian Weimerfwei...@bfk.de
BFK edv-consulting GmbH   http://www.bfk.de/
Kriegsstraße 100  tel: +49-721-96201-1
D-76133 Karlsruhe fax: +49-721-96201-99



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org