[pkg-boost-commits] r14478 - boost/trunk/debian
Steven Michael Robbins
smr at alioth.debian.org
Sun Aug 30 19:49:42 UTC 2009
Author: smr
Date: 2009-08-30 19:49:42 +0000 (Sun, 30 Aug 2009)
New Revision: 14478
Modified:
boost/trunk/debian/NEWS.Debian
boost/trunk/debian/README.Debian
boost/trunk/debian/changelog
boost/trunk/debian/rules
Log:
Reinstate the -mt library names as backwards-compatibility symlinks. Update docs to describe this change and rationale.
Modified: boost/trunk/debian/NEWS.Debian
===================================================================
--- boost/trunk/debian/NEWS.Debian 2009-08-30 17:09:09 UTC (rev 14477)
+++ boost/trunk/debian/NEWS.Debian 2009-08-30 19:49:42 UTC (rev 14478)
@@ -1,3 +1,20 @@
+Boost 1.39.0-1
+--------------
+
+ * Since only one (the multi-threaded) variant of each library is built,
+ upstream elected to simplify the library name by removing the
+ redundant "-mt" decoration. Debian will follow this convention, to
+ remain compatible at link time with other vendors. The preferred form
+ of the link option is now "-lboost_regex", etc.
+
+ * In response to the Debian 1.37 package, a number of boost-using
+ packages changed their build system to add "-mt"; see entry below. To
+ avoid breaking all these packages, Debian is providing compatibility
+ symlinks with the "-mt" decoration; e.g. "-lboost_regex-mt" continues
+ to work. However, note that this name is not compatible with other
+ distributions, so build-system authors are encouraged to use the
+ undecorated name.
+
Boost 1.37.0-1
--------------
Modified: boost/trunk/debian/README.Debian
===================================================================
--- boost/trunk/debian/README.Debian 2009-08-30 17:09:09 UTC (rev 14477)
+++ boost/trunk/debian/README.Debian 2009-08-30 19:49:42 UTC (rev 14478)
@@ -11,31 +11,34 @@
---------------
The following table shows which components use a library (shared or
-static) and the corresponding "-l" flag. Note that only the
-multithreaded version of the libraries is shipped.
+static) and the corresponding "-l" flag. All libraries are built
+for multithreaded applications.
Component Link Flag Library Type
--------- --------- ------------
- Boost.Date_Time -lboost_date_time-mt static shared
- Boost.Filesystem -lboost_filesystem-mt static shared
- Boost.Graph -lboost_graph-mt static shared
- Boost.IOStreams -lboost_iostreams-mt static shared
- Boost.Math -lboost_math_c99-mt static shared
- -lboost_math_c99f-mt static shared
- -lboost_math_c99l-mt static shared
- Boost.MPI -lboost_mpi-mt static shared
- Boost.Program_options -lboost_program_options-mt static shared
- Boost.Python -lboost_python-mt-py24 static shared
- -lboost_python-mt-py25 static shared
- Boost.Regex -lboost_regex-mt static shared
- Boost.Serialization -lboost_serialization-mt static shared
- -lboost_wserialization-mt static shared
- Boost.Signals -lboost_signals-mt static shared
- Boost.System -lboost_system-mt static shared
- Boost.Test -lboost_prg_exec_monitor-mt static shared
- -lboost_unit_test_framework-mt static shared
- Boost.Thread -lboost_thread-mt static shared
- Boost.Wave -lboost_wave-mt static shared
+ Boost.Date_Time -lboost_date_time static shared
+ Boost.Filesystem -lboost_filesystem static shared
+ Boost.Graph -lboost_graph static shared
+ Boost.IOStreams -lboost_iostreams static shared
+ Boost.Math -lboost_math_c99 static shared
+ -lboost_math_c99f static shared
+ -lboost_math_c99l static shared
+ -lboost_math_tr1 static shared
+ -lboost_math_tr1f static shared
+ -lboost_math_tr1l static shared
+ Boost.MPI -lboost_mpi static shared
+ Boost.Program_options -lboost_program_options static shared
+ Boost.Python -lboost_python-py24 static shared
+ -lboost_python-py25 static shared
+ Boost.Regex -lboost_regex static shared
+ Boost.Serialization -lboost_serialization static shared
+ -lboost_wserialization static shared
+ Boost.Signals -lboost_signals static shared
+ Boost.System -lboost_system static shared
+ Boost.Test -lboost_prg_exec_monitor static shared
+ -lboost_unit_test_framework static shared
+ Boost.Thread -lboost_thread static shared
+ Boost.Wave -lboost_wave static shared
Most of Boost is installed using the package libboostX.Y-dev.
@@ -78,7 +81,7 @@
--------------------------
The Boost unit test framework defines a main() function in the static
-library boost_unit_test_framework-mt.a. Prior to v 1.34, the shared
+library boost_unit_test_framework.a. Prior to v 1.34, the shared
library also defined main() but it no longer does.
Please see the manual and the following thread for more details
@@ -86,4 +89,4 @@
- -- Steve M. Robbins <smr at debian.org>, Sun, 22 Mar 2009 14:47:40 z
+ -- Steve M. Robbins <smr at debian.org>, Sun, 30 Aug 2009 14:27:05 z
Modified: boost/trunk/debian/changelog
===================================================================
--- boost/trunk/debian/changelog 2009-08-30 17:09:09 UTC (rev 14477)
+++ boost/trunk/debian/changelog 2009-08-30 19:49:42 UTC (rev 14478)
@@ -1,3 +1,10 @@
+boost1.39 (1.39.0-4) unstable; urgency=low
+
+ * rules: Create libboostX-mt.so compatibility symlinks. Closes:
+ #541133. See NEWS.Debian for more details.
+
+ -- Steve M. Robbins <smr at debian.org> Sun, 30 Aug 2009 14:47:14 -0500
+
boost1.39 (1.39.0-3) unstable; urgency=low
* patches/mips-asm.patch: New. Fix build failure on mips (thanks,
Modified: boost/trunk/debian/rules
===================================================================
--- boost/trunk/debian/rules 2009-08-30 17:09:09 UTC (rev 14477)
+++ boost/trunk/debian/rules 2009-08-30 19:49:42 UTC (rev 14478)
@@ -71,10 +71,13 @@
mk_a_files = $(shell echo debian/tmp/$(call mk_base_name,$(2),$(3),$(4)).a >> $(call mk_deb_dev,$(1),$(3)).install)
mk_ln_files = $(shell echo $(call mk_base_name,$(2),$(3),$(4)).so.$(SOVERSION) $(call mk_base_name,$(2),$(3),$(4)).so >> $(call mk_deb_dev,$(1),$(3)).links)
+# Make compatibility symlinks libfoo-mt --> libfoo
+mk_mtln_files = $(shell echo $(call mk_base_name,$(2),$(3),$(4)).so.$(SOVERSION) $(call mk_base_name,$(2),$(3),$(4))-mt.so >> $(call mk_deb_dev,$(1),$(3)).links)
+
# Function that updates debhelper files for a given library variant
# Input: component, library, variant, suffix
# Output: none
-mk_files = $(foreach fn,a so ln,$(call mk_$(fn)_files,$(1),$(2),$(3),$(4)))
+mk_files = $(foreach fn,a so ln mtln,$(call mk_$(fn)_files,$(1),$(2),$(3),$(4)))
# helpers to make and install lintian override files
More information about the pkg-boost-commits
mailing list