[pkg-boost-commits] r14446 - in boost/trunk/debian: . patches
Steven Michael Robbins
smr at alioth.debian.org
Sat May 30 15:12:19 UTC 2009
Author: smr
Date: 2009-05-30 15:12:18 +0000 (Sat, 30 May 2009)
New Revision: 14446
Added:
boost/trunk/debian/libboost-doc.README.Debian
boost/trunk/debian/patches/boost-python-examples.patch
Modified:
boost/trunk/debian/changelog
boost/trunk/debian/patches/series
Log:
Patch Boost.Python example so that it can be built.
Modified: boost/trunk/debian/changelog
===================================================================
--- boost/trunk/debian/changelog 2009-05-27 04:17:25 UTC (rev 14445)
+++ boost/trunk/debian/changelog 2009-05-30 15:12:18 UTC (rev 14446)
@@ -2,9 +2,16 @@
* control(libboost1.38-dev): downgrade the -doc and all -dev packages to Suggests.
Closes: #529258, #529622.
+
+ * patches/boost-python-examples.patch: New. Patch example Jamroot to
+ use installed libboost_python (thanks, Georg Schmid).
+ Closes: #452410.
- -- Steve M. Robbins <smr at debian.org> Tue, 26 May 2009 23:10:53 -0500
+ * libboost-doc.README.Debian: Explain how to build Boost.Python
+ examples.
+ -- Steve M. Robbins <smr at debian.org> Sat, 30 May 2009 10:10:38 -0500
+
boost1.38 (1.38.0-6) unstable; urgency=low
* control: Add version (<< 1.35.0) to conflicts for -doc and -dbg
Added: boost/trunk/debian/libboost-doc.README.Debian
===================================================================
--- boost/trunk/debian/libboost-doc.README.Debian (rev 0)
+++ boost/trunk/debian/libboost-doc.README.Debian 2009-05-30 15:12:18 UTC (rev 14446)
@@ -0,0 +1,13 @@
+ Building Boost.Python Examples
+ ------------------------------
+
+1. Ensure package boost-build is installed (for bjam).
+
+2. Copy the contents of examples/libs/python/example elsewhere before
+attempting to build, since the build creates files inside the example
+directory.
+
+3. Change to the directory created in step 2, then "bjam test".
+
+
+ -- Steve M. Robbins <smr at debian.org>, Sat, 30 May 2009 10:11:47 z
Added: boost/trunk/debian/patches/boost-python-examples.patch
===================================================================
--- boost/trunk/debian/patches/boost-python-examples.patch (rev 0)
+++ boost/trunk/debian/patches/boost-python-examples.patch 2009-05-30 15:12:18 UTC (rev 14446)
@@ -0,0 +1,32 @@
+Patch courtesy of Georg Schmid
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452410#17
+
+
+--- boost1.38-1.38.0.orig/libs/python/example/Jamroot
++++ boost1.38-1.38.0/libs/python/example/Jamroot
+@@ -2,16 +2,17 @@
+ # Software License, Version 1.0. (See accompanying
+ # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+
+-# Specify the path to the Boost project. If you move this project,
+-# adjust this path to refer to the Boost root directory.
+-use-project boost
+- : ../../.. ;
++using python ;
++
++# Specify that the boost-python library exists under the name
++# boost_python. That is, because the library was installed at the
++# standard search path as /usr/lib/libboost_python.so, bjam will find
++# it automatically. No need to specify the absolute path.
++lib libboost_python : : <name>boost_python-mt ;
+
+ # Set up the project-wide requirements that everything uses the
+-# boost_python library from the project whose global ID is
+-# /boost/python.
+-project
+- : requirements <library>/boost/python//boost_python ;
++# boost_python library.
++project : requirements <library>libboost_python ;
+
+ # Declare the three extension modules. You can specify multiple
+ # source files after the colon separated by spaces.
Modified: boost/trunk/debian/patches/series
===================================================================
--- boost/trunk/debian/patches/series 2009-05-27 04:17:25 UTC (rev 14445)
+++ boost/trunk/debian/patches/series 2009-05-30 15:12:18 UTC (rev 14446)
@@ -1,3 +1,4 @@
+boost-python-examples.patch
function-template.patch
atomic_count.patch
atomic_count_gcc.patch
More information about the pkg-boost-commits
mailing list