Package: cgal
Severity: wishlist
Tags: experimental

the cgal dependency libgmp recently got a new version (5.0) in
exerimental, which has a new soversion, which is reflected in a new
package name libgmp10 (instead of libgmp3).

i've built cgal with the new version (Build-Depends and -dev's Depends
changed to libgmp10-dev), and everything seems to work (it built, and
packages built from it worked).

having such packages in experimental is required for building packages
which themselves depend on the 5.0 version of gmp (like openscad from
#583476), but if you think it's not worth the effort, just take this bug
report as a reminder of the upcoming libgmp10 version and a note that
the transition seems to be painless on the cgal side.

i've attached a simple patch, which would just have to be modified for
closing the bug number this bug is going to be assigned.

(in case this bug report sounds familiar: it's more or less a copy of
#614499 against mpfr, which had to be fixed before the same can be done
in cgal, as building cgal with the old mpfr would have resulted in
conflicting libgmp dependencies.)

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u cgal-3.7/debian/changelog cgal-3.7/debian/changelog
--- cgal-3.7/debian/changelog
+++ cgal-3.7/debian/changelog
@@ -1,3 +1,9 @@
+cgal (3.7-4) experimental; urgency=low
+
+  * Build with libgmp10 (closes: #...)
+
+ -- Christian M. Amsüss <[email protected]>  Mon, 21 Feb 2011 20:35:11 +0100
+
 cgal (3.7-3) unstable; urgency=low
 
   * Disable support for Qt3 because Qt3 has been removed from the repository
diff -u cgal-3.7/debian/control cgal-3.7/debian/control
--- cgal-3.7/debian/control
+++ cgal-3.7/debian/control
@@ -4,7 +4,7 @@
 Maintainer: Joachim Reichel <[email protected]>
 # "ipe" is only needed because it contains goodies.lua which is needed by FindIPE.cmake
 Build-Depends: debhelper (>= 7), dpatch, cmake, libboost-dev,
-  libboost-thread-dev, libboost-program-options-dev, libgmp3-dev, libmpfr-dev,
+  libboost-thread-dev, libboost-program-options-dev, libgmp10-dev, libmpfr-dev,
   libqt4-dev, libqt4-opengl-dev, zlib1g-dev, libipe-dev (>= 7), ipe
 Standards-Version: 3.9.1
 Homepage: http://www.cgal.org/
@@ -34,7 +34,7 @@
 Section: non-free/libdevel
 Architecture: any
 Depends: libcgal6 (= ${binary:Version}), libboost-dev,
- libboost-thread-dev, libboost-program-options-dev, libgmp3-dev, libmpfr-dev,
+ libboost-thread-dev, libboost-program-options-dev, libgmp10-dev, libmpfr-dev,
  libqt4-dev, zlib1g-dev, ${misc:Depends}
 Description: C++ library for computational geometry (development files)
  CGAL (Computational Geometry Algorithms Library) makes the most important

Attachment: signature.asc
Description: Digital signature

Reply via email to