debian: distribute static libraries

Suggested by Jeroen Meijer.

* debian/rules: Enable static libraries.
* debian/libbddx-dev.install, debian/libspot-dev.install: Distribute
them.
* THANKS: Add Jeroen.
* NEWS: Mention the change.
This commit is contained in:
Alexandre Duret-Lutz 2017-01-13 19:53:21 +01:00
parent 01838a2456
commit 7574d6d1e2
5 changed files with 19 additions and 0 deletions

3
NEWS
View file

@ -11,6 +11,9 @@ New in spot 2.2.2.dev (Not yet released)
files. It is still possible to use an external SAT solver by files. It is still possible to use an external SAT solver by
setting the SPOT_SATSOLVER environment variable. setting the SPOT_SATSOLVER environment variable.
* The development Debian packages for Spot now install static
libraries as well.
Tools: Tools:
* ltlcross supports translators that output alternating automata in * ltlcross supports translators that output alternating automata in

1
THANKS
View file

@ -17,6 +17,7 @@ Heikki Tauriainen
Jan Strejček Jan Strejček
Jean-Michel Couvreur Jean-Michel Couvreur
Jean-Michel Ilié Jean-Michel Ilié
Jeroen Meijer
Joachim Klein Joachim Klein
Juraj Major Juraj Major
Kristin Y. Rozier Kristin Y. Rozier

View file

@ -2,3 +2,4 @@ usr/include/fddx.h
usr/include/bvecx.h usr/include/bvecx.h
usr/include/bddx.h usr/include/bddx.h
usr/lib/*-*/libbddx.so usr/lib/*-*/libbddx.so
usr/lib/*-*/libbddx.a

View file

@ -1,3 +1,5 @@
usr/include/spot usr/include/spot
usr/lib/*-*/libspot.so usr/lib/*-*/libspot.so
usr/lib/*-*/libspot.a
usr/lib/*-*/libspotltsmin.so usr/lib/*-*/libspotltsmin.so
usr/lib/*-*/libspotltsmin.a

12
debian/rules vendored
View file

@ -79,6 +79,18 @@ override_dh_auto_install: fix-js
dh_auto_build -- -C python all; \ dh_auto_build -- -C python all; \
dh_auto_install -- -C python; \ dh_auto_install -- -C python; \
done done
# Reconfigure to build static libraries. We can't build them
# alongside dynamic libraries, otherwise they will be stuffed with
# LTO stuff that is just two big to distribute. And we cannot use
# the profile generated with LTO on, so we simply build without it.
dh_auto_configure -- \
--disable-devel --enable-optimizations \
--disable-shared --enable-static --disable-python
dh_auto_build -- clean
dh_auto_build -- all
dh_auto_install -- -C buddy
dh_auto_install -- -C spot
# Just remove the Libtool libraries until someone asks for them.
find debian/tmp -name '*.la' -exec rm -rv {} ';' find debian/tmp -name '*.la' -exec rm -rv {} ';'
override_dh_python3: override_dh_python3:
dh_python3 -p python3-spot dh_python3 -p python3-spot