Bug#633367: sdl-stretch: Getting rid of unneeded *.la / emptying dependency_libs

Neil Williams codehelp at debian.org
Sat Jul 9 17:12:07 UTC 2011


Package: libsdl-stretch-dev
Version: 0.3.0-1
Severity: normal
User: codehelp at debian.org
Usertags: la-file-removal

To finish an old release goal from Squeeze, to comply with Policy
10.2 and to ease the introduction of MultiArch, I'm filing bugs
against packages which contain .la files which can be either removed
or stripped of the dependency_libs variable.

http://wiki.debian.org/ReleaseGoals/LAFileRemoval

http://lists.debian.org/debian-devel/2011/04/msg00055.html

http://lists.debian.org/debian-devel/2011/04/msg00199.html

Data has been obtained from the output of an automated script:

http://release.debian.org/~aba/la/current.txt

The output is best read in conjunction with the criteria from this
post to debian-devel:

http://lists.debian.org/debian-devel/2009/08/msg00808.html

To generate the list of packages, I've used:

grep -v depended-on current.txt |cut -d: -f1

The data is regularly updated but please accept my apologies if you
have made an upload which changes the situation since the data was
parsed.

libsdl-stretch-dev (0.3.0-1) appears in this list as the binary package
contains an .la file.

In this case, the .la file is /usr/lib/libSDL_stretch.la:

# Libraries that this one depends upon.
dependency_libs=' -L/usr/lib /usr/lib/libSDL.la'

(libSDL.la is not from the sdl-stretch package, a separate bug has been
filed to remove the dependency_libs field from that .la file.)

In most cases, the .la file(s) can simply be removed as the process
behind this MBF has already identified that there are no further
dependencies using the .la file. In the unusual case that your
package uses libltdl directly, it is still necessary to empty the
dependency_libs part of all .la files remaining in the package.

If you believe that your package needs both the .la file and the
dependency_libs settings, please raise this on debian-devel for
clarification.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sdl-maintainers/attachments/20110709/2510042e/attachment.pgp>


More information about the Pkg-sdl-maintainers mailing list