Commit 7574d6d1 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

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.
parent 01838a24
...@@ -11,6 +11,9 @@ New in spot 2.2.2.dev (Not yet released) ...@@ -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
......
...@@ -17,6 +17,7 @@ Heikki Tauriainen ...@@ -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
......
...@@ -2,3 +2,4 @@ usr/include/fddx.h ...@@ -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
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
...@@ -79,6 +79,18 @@ override_dh_auto_install: fix-js ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment