Package: boost
Version: 1.32.0-6
Severity: serious

Hi Domenico,

Under the 0-day NMU policy for the C++ ABI transition, I have prepared an
NMU for boost, because its C++ library packages need to be rebuilt so that a
number of other C++-based packages can transition to g++ 4.0.  The diff for
this NMU is attached; the NMU will be uploaded shortly.  If you see any
problems with the patch, let me know so I can have the package rejected out
of NEW.

Thanks,
-- 
Steve Langasek
postmodern programmer
diff -u boost-1.32.0/debian/control boost-1.32.0/debian/control
--- boost-1.32.0/debian/control
+++ boost-1.32.0/debian/control
@@ -58,10 +58,12 @@
  .
   Homepage: http://www.boost.org/libs/
 
-Package: libboost-date-time1.32.0
+Package: libboost-date-time1.32.0c2
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}
+Conflicts: libboost-date-time1.32.0
+Replaces: libboost-date-time1.32.0
 Description: set of date-time libraries based on generic programming concepts
  Part of the Boost.org library collection.
  .
@@ -73,7 +75,7 @@
 Package: libboost-date-time-dev
 Architecture: any
 Section: libdevel
-Depends: libboost-dev (=${Source-Version}), libboost-date-time1.32.0 
(=${Source-Version})
+Depends: libboost-dev (=${Source-Version}), libboost-date-time1.32.0c2 
(=${Source-Version})
 Replaces: libboost-dev (<< 1.30.0-1)
 Description: set of date-time libraries based on generic programming concepts
  Part of the Boost.org library collection.
@@ -83,10 +85,12 @@
  .
   Homepage: http://www.boost.org/libs/date_time/
 
-Package: libboost-filesystem1.32.0
+Package: libboost-filesystem1.32.0c2
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}
+Conflicts: libboost-filesystem1.32.0
+Replaces: libboost-filesystem1.32.0
 Description: filesystem operations (portable paths, iteration over 
directories, etc) in C++
  Part of the Boost.org library collection.
  .
@@ -99,7 +103,7 @@
 Package: libboost-filesystem-dev
 Architecture: any
 Section: libdevel
-Depends: libboost-dev (=${Source-Version}), libboost-filesystem1.32.0 
(=${Source-Version})
+Depends: libboost-dev (=${Source-Version}), libboost-filesystem1.32.0c2 
(=${Source-Version})
 Replaces: libboost-dev (<< 1.31.0-1)
 Description: filesystem operations (portable paths, iteration over 
directories, etc) in C++
  Part of the Boost.org library collection.
@@ -110,10 +114,12 @@
  .
   Homepage: http://boost.org/libs/filesystem/
 
-Package: libboost-graph1.32.0
+Package: libboost-graph1.32.0c2
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}
+Conflicts: libboost-graph1.32.0
+Replaces: libboost-graph1.32.0
 Description: generic graph components and algorithms in C++
  Part of the Boost.org library collection.
  .
@@ -128,7 +134,7 @@
 Package: libboost-graph-dev
 Architecture: any
 Section: libdevel
-Depends: libboost-dev (=${Source-Version}), libboost-graph1.32.0 
(=${Source-Version})
+Depends: libboost-dev (=${Source-Version}), libboost-graph1.32.0c2 
(=${Source-Version})
 Description: generic graph components and algorithms in C++
  Part of the Boost.org library collection.
  .
@@ -140,10 +146,12 @@
  .
   Homepage: http://www.boost.org/libs/graph/
 
-Package: libboost-program-options1.32.0
+Package: libboost-program-options1.32.0c2
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}
+Conflicts: libboost-program-options1.32.0
+Replaces: libboost-program-options1.32.0
 Description: program options library for C++
  Part of the Boost.org library collection.
  .
@@ -156,7 +164,7 @@
 Package: libboost-program-options-dev
 Architecture: any
 Section: libdevel
-Depends: libboost-dev (= ${Source-Version}), libboost-program-options1.32.0 (= 
${Source-Version})
+Depends: libboost-dev (= ${Source-Version}), libboost-program-options1.32.0c2 
(= ${Source-Version})
 Description: program options library for C++
  Part of the Boost.org library collection.
  .
@@ -166,10 +174,12 @@
  .
   Homepage: http://www.boost.org/libs/program_options/
 
-Package: libboost-python1.32.0
+Package: libboost-python1.32.0c2
 Architecture: any
 Section: python
 Depends: ${shlibs:Depends}
+Conflicts: libboost-python1.32.0
+Replaces: libboost-python1.32.0
 Description: Boost.Python Library 
  Part of the Boost.org library collection.
  .
@@ -189,7 +199,7 @@
 Package: libboost-python-dev
 Architecture: any
 Section: libdevel
-Depends: libboost-dev (=${Source-Version}), libboost-python1.32.0 
(=${Source-Version}), python2.3-dev
+Depends: libboost-dev (=${Source-Version}), libboost-python1.32.0c2 
(=${Source-Version}), python2.3-dev
 Replaces: libboost-dev (<< 1.31.0-3)
 Description: Boost.Python Library development files
  Part of the Boost.org library collection.
@@ -207,10 +217,12 @@
  .
   Homepage: http://www.boost.org/libs/python/
 
-Package: libboost-regex1.32.0
+Package: libboost-regex1.32.0c2
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}
+Conflicts: libboost-regex1.32.0
+Replaces: libboost-regex1.32.0
 Description: regular expression library for C++
  Part of the Boost.org library collection.
  .
@@ -230,7 +242,7 @@
 Package: libboost-regex-dev
 Architecture: any
 Section: libdevel
-Depends: libboost-dev (= ${Source-Version}), libboost-regex1.32.0 (= 
${Source-Version})
+Depends: libboost-dev (= ${Source-Version}), libboost-regex1.32.0c2 (= 
${Source-Version})
 Description: regular expression library for C++
  Part of the Boost.org library collection.
  .
@@ -268,10 +280,12 @@
  .
   Homepage: http://www.boost.org/libs/serialization/
 
-Package: libboost-signals1.32.0
+Package: libboost-signals1.32.0c2
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}
+Conflicts: libboost-signals1.32.0
+Replaces: libboost-signals1.32.0
 Description: managed signals and slots library for C++
  Part of the Boost.org library collection.
  .
@@ -286,7 +300,7 @@
 Package: libboost-signals-dev
 Architecture: any
 Section: libdevel
-Depends: libboost-dev (= ${Source-Version}), libboost-signals1.32.0 (= 
${Source-Version})
+Depends: libboost-dev (= ${Source-Version}), libboost-signals1.32.0c2 (= 
${Source-Version})
 Description: managed signals and slots library for C++
  Part of the Boost.org library collection.
  .
@@ -298,10 +312,12 @@
  .
   Homepage: http://www.boost.org/libs/signals/
 
-Package: libboost-test1.32.0
+Package: libboost-test1.32.0c2
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}
+Conflicts: libboost-test1.32.0
+Replaces: libboost-test1.32.0
 Description: components for writing and executing test suites
  Part of the Boost.org library collection.  The library contains
  several components.
@@ -315,7 +331,7 @@
 Package: libboost-test-dev
 Architecture: any
 Section: libdevel
-Depends: libboost-dev (= ${Source-Version}), libboost-test1.32.0 (= 
${Source-Version})
+Depends: libboost-dev (= ${Source-Version}), libboost-test1.32.0c2 (= 
${Source-Version})
 Replaces: libboost-dev (<< 1.30.0-1)
 Description: components for writing and executing test suites
  Part of the Boost.org library collection.  The library contains
@@ -327,10 +343,12 @@
  .
   Homepage: http://www.boost.org/libs/test/
 
-Package: libboost-thread1.32.0
+Package: libboost-thread1.32.0c2
 Architecture: any
 Section: libs
 Depends: ${shlibs:Depends}
+Conflicts: libboost-thread1.32.0
+Replaces: libboost-thread1.32.0
 Description: portable C++ multi-threading
  Part of the Boost.org library collection.
  .
@@ -344,7 +362,7 @@
 Package: libboost-thread-dev
 Architecture: any
 Section: libdevel
-Depends: libboost-dev (= ${Source-Version}), libboost-thread1.32.0 (= 
${Source-Version})
+Depends: libboost-dev (= ${Source-Version}), libboost-thread1.32.0c2 (= 
${Source-Version})
 Replaces: libboost-dev (<< 1.30.0-1)
 Description: portable C++ multi-threading
  Part of the Boost.org library collection.
diff -u boost-1.32.0/debian/rules boost-1.32.0/debian/rules
--- boost-1.32.0/debian/rules
+++ boost-1.32.0/debian/rules
@@ -23,6 +23,7 @@
 # Boost does not guarantee any ABI, it uses the full version in SONAME
 #
 SOVERSION = 1.32.0
+ABISUFFIX = c2
 
 exampledir = debian/libboost-doc/usr/share/doc/libboost-doc/examples
 htmldir = debian/libboost-doc/usr/share/doc/libboost-doc/HTML
@@ -129,8 +130,8 @@
           debian/libboost-doc/usr/share/lintian/overrides/libboost-doc
 
 
-       # package libboost-date-time$(SOVERSION)
-       dh_install -plibboost-date-time$(SOVERSION) --autodest \
+       # package libboost-date-time$(SOVERSION)$(ABISUFFIX)
+       dh_install -plibboost-date-time$(SOVERSION)$(ABISUFFIX) --autodest \
           
debian/tmp/usr/lib/libboost_date_time$(release_suffix).so.$(SOVERSION)
        dh_install -plibboost-dbg --autodest \
           debian/tmp/usr/lib/libboost_date_time$(debug_suffix).so.$(SOVERSION)
@@ -152,8 +153,8 @@
           usr/lib/libboost_date_time.so
 
 
-       # package libboost-filesystem$(SOVERSION)
-       dh_install -plibboost-filesystem$(SOVERSION) --autodest \
+       # package libboost-filesystem$(SOVERSION)$(ABISUFFIX)
+       dh_install -plibboost-filesystem$(SOVERSION)$(ABISUFFIX) --autodest \
           
debian/tmp/usr/lib/libboost_filesystem$(release_suffix).so.$(SOVERSION)
        dh_install -plibboost-dbg --autodest \
           debian/tmp/usr/lib/libboost_filesystem$(debug_suffix).so.$(SOVERSION)
@@ -175,8 +176,8 @@
           usr/lib/libboost_filesystem.so
 
 
-       # package libboost-graph$(SOVERSION)
-       dh_install -plibboost-graph$(SOVERSION) \
+       # package libboost-graph$(SOVERSION)$(ABISUFFIX)
+       dh_install -plibboost-graph$(SOVERSION)$(ABISUFFIX) \
           libs/graph/src/libbgl-viz.so.$(SOVERSION) \
           usr/lib
        dh_install -plibboost-dbg \
@@ -193,8 +194,8 @@
           usr/lib
 
 
-       # package libboost-program-options$(SOVERSION)
-       dh_install -plibboost-program-options$(SOVERSION) --autodest \
+       # package libboost-program-options$(SOVERSION)$(ABISUFFIX)
+       dh_install -plibboost-program-options$(SOVERSION)$(ABISUFFIX) 
--autodest \
           
debian/tmp/usr/lib/libboost_program_options$(release_suffix).so.$(SOVERSION)
        dh_install -plibboost-dbg --autodest \
           
debian/tmp/usr/lib/libboost_program_options$(debug_suffix).so.$(SOVERSION)
@@ -213,13 +214,13 @@
           usr/lib/libboost_program_options.so
 
 
-       # package libboost-python$(SOVERSION)
-       dh_install -plibboost-python$(SOVERSION) --autodest \
+       # package libboost-python$(SOVERSION)$(ABISUFFIX)
+       dh_install -plibboost-python$(SOVERSION)$(ABISUFFIX) --autodest \
           debian/tmp/usr/lib/libboost_python$(release_suffix).so.$(SOVERSION)
-       mkdir -p debian/libboost-python$(SOVERSION)/usr/share/lintian/overrides
+       mkdir -p 
debian/libboost-python$(SOVERSION)$(ABISUFFIX)/usr/share/lintian/overrides
        install -m644 \
-          debian/libboost-python$(SOVERSION).lintian-overrides \
-          
debian/libboost-python$(SOVERSION)/usr/share/lintian/overrides/libboost-python$(SOVERSION)
+          debian/libboost-python$(SOVERSION)$(ABISUFFIX).lintian-overrides \
+          
debian/libboost-python$(SOVERSION)$(ABISUFFIX)/usr/share/lintian/overrides/libboost-python$(SOVERSION)$(ABISUFFIX)
        dh_install -plibboost-dbg --autodest \
           debian/tmp/usr/lib/libboost_python$(debug_suffix).so.$(SOVERSION)
        dh_link -plibboost-dbg \
@@ -241,8 +242,8 @@
           
debian/libboost-python-dev/usr/share/lintian/overrides/libboost-python-dev
 
 
-       # package libboost-regex$(SOVERSION)
-       dh_install -plibboost-regex$(SOVERSION) --autodest \
+       # package libboost-regex$(SOVERSION)$(ABISUFFIX)
+       dh_install -plibboost-regex$(SOVERSION)$(ABISUFFIX) --autodest \
           debian/tmp/usr/lib/libboost_regex$(release_suffix).so.$(SOVERSION)
        dh_install -plibboost-dbg --autodest \
           debian/tmp/usr/lib/libboost_regex$(debug_suffix).so.$(SOVERSION)
@@ -277,8 +278,8 @@
           usr/lib/libboost_wserialization.a
 
 
-       # package libboost-signals$(SOVERSION)
-       dh_install -plibboost-signals$(SOVERSION) --autodest \
+       # package libboost-signals$(SOVERSION)$(ABISUFFIX)
+       dh_install -plibboost-signals$(SOVERSION)$(ABISUFFIX) --autodest \
           debian/tmp/usr/lib/libboost_signals$(release_suffix).so.$(SOVERSION)
        dh_install -plibboost-dbg --autodest \
           debian/tmp/usr/lib/libboost_signals$(debug_suffix).so.$(SOVERSION)
@@ -300,8 +301,8 @@
           usr/lib/libboost_signals.so
 
 
-       # package libboost-test$(SOVERSION)
-       dh_install -plibboost-test$(SOVERSION) --autodest \
+       # package libboost-test$(SOVERSION)$(ABISUFFIX)
+       dh_install -plibboost-test$(SOVERSION)$(ABISUFFIX) --autodest \
           
debian/tmp/usr/lib/libboost_prg_exec_monitor$(release_suffix).so.$(SOVERSION) \
           
debian/tmp/usr/lib/libboost_test_exec_monitor$(release_suffix).so.$(SOVERSION) \
           
debian/tmp/usr/lib/libboost_unit_test_framework$(release_suffix).so.$(SOVERSION)
@@ -343,8 +344,8 @@
           usr/lib/libboost_unit_test_framework.so
 
 
-       # package libboost-thread$(SOVERSION)
-       dh_install -plibboost-thread$(SOVERSION) --autodest \
+       # package libboost-thread$(SOVERSION)$(ABISUFFIX)
+       dh_install -plibboost-thread$(SOVERSION)$(ABISUFFIX) --autodest \
           debian/tmp/usr/lib/libboost_thread$(release_suffix).so.$(SOVERSION)
        dh_install -plibboost-dbg --autodest \
           debian/tmp/usr/lib/libboost_thread$(debug_suffix).so.$(SOVERSION)
diff -u boost-1.32.0/debian/changelog boost-1.32.0/debian/changelog
--- boost-1.32.0/debian/changelog
+++ boost-1.32.0/debian/changelog
@@ -1,3 +1,13 @@
+boost (1.32.0-6.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Medium-urgency upload for RC bugfix.
+  * Rebuild against g++-4.0 for the C++ ABI transition, adding "c2" to
+    the name of each of the library packages and conflicting with the
+    old versions.
+
+ -- Steve Langasek <[EMAIL PROTECTED]>  Mon, 18 Jul 2005 19:10:24 -0700
+
 boost (1.32.0-6) unstable; urgency=low
 
   * debian/control: libboost-serialization-dev now replaces libboost-dev
reverted:
--- boost-1.32.0/debian/libboost-python1.32.0.lintian-overrides
+++ boost-1.32.0.orig/debian/libboost-python1.32.0.lintian-overrides
@@ -1 +0,0 @@
-libboost-python1.32.0: description-synopsis-starts-with-a-capital-letter
only in patch2:
unchanged:
--- boost-1.32.0.orig/debian/libboost-python1.32.0c2.lintian-overrides
+++ boost-1.32.0/debian/libboost-python1.32.0c2.lintian-overrides
@@ -0,0 +1 @@
+libboost-python1.32.0c2: description-synopsis-starts-with-a-capital-letter

Attachment: signature.asc
Description: Digital signature

Reply via email to