Your message dated Thu, 30 Oct 2014 21:19:49 +0000
with message-id <[email protected]>
and subject line Bug#737307: fixed in cgal 4.5-3
has caused the Debian Bug report #737307,
regarding libcgal-dev: multiarch support
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
737307: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737307
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libcgal-dev
Version: 4.3-2
Severity: wishlist

Hello,

now that boost supports multiarch installations, it would be nice if
cgal did as well. I am mostly interested in testing i386 applications
but also test armhf with qemu sometimes.

What I am pasting below (based on 4.2) should not be considered a patch
ready to apply, just some ideas that seem to help but might be
completely wrong, I know little about Debian packaging. The files in
/usr/bin are just scripts so it looks like they can remain in
libcgal-dev. I removed FindCGAL.cmake, it seems useless (cmake can find
CGALConfig.cmake without it) and not multiarch-aware (it prevents cmake
from finding CGALConfig.cmake in its new location). I think the
generated config include file ends up being the same on all platforms,
so I didn't try to move it to /usr/include/$(DEB_HOST_MULTIARCH).
Otherwise I just moved stuff around.

diff -ru cgal-4.2/debian/control x/control
--- cgal-4.2/debian/control     2013-07-28 11:04:08.000000000 +0200
+++ x/control   2014-01-24 22:34:49.499706099 +0100
@@ -14,6 +14,8 @@
 Package: libcgal10
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Multi-Arch: same
 Description: C++ library for computational geometry
  CGAL (Computational Geometry Algorithms Library) makes the most important
  of the solutions and methods developed in computational geometry available
@@ -39,6 +41,8 @@
 Package: libcgal-qt4-10
 Architecture: any
 Depends: libcgal10 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Multi-Arch: same
 Description: C++ library for computational geometry (support for Qt4)
  CGAL (Computational Geometry Algorithms Library) makes the most important
  of the solutions and methods developed in computational geometry available
@@ -64,6 +68,7 @@
 Depends: libcgal10 (= ${binary:Version}), libboost-dev, libboost-thread-dev,
  libboost-system-dev, libboost-program-options-dev, libgmp10-dev, libmpfr-dev,
  zlib1g-dev, ${misc:Depends}
+Multi-Arch: same
 Description: C++ library for computational geometry (development files)
  CGAL (Computational Geometry Algorithms Library) makes the most important
  of the solutions and methods developed in computational geometry available
@@ -81,6 +86,7 @@
  libcgal-dev, libqt4-dev, ${misc:Depends}
 Replaces: libcgal-dev (<< 4.1-1)
 Breaks: libcgal-dev (<< 4.1-1)
+Multi-Arch: same
 Description: C++ library for computational geometry (development files, 
support for Qt4)
  CGAL (Computational Geometry Algorithms Library) makes the most important
  of the solutions and methods developed in computational geometry available
diff -ru cgal-4.2/debian/libcgal-dev.install x/libcgal-dev.install
--- cgal-4.2/debian/libcgal-dev.install 2012-09-02 12:02:35.000000000 +0200
+++ x/libcgal-dev.install       2014-01-24 22:40:22.560054330 +0100
@@ -1,11 +1,11 @@
 usr/bin/*
 usr/include/*
-usr/lib/libCGAL.a
-usr/lib/libCGAL_Core.a
-usr/lib/libCGAL_ImageIO.a
-usr/lib/libCGAL.so
-usr/lib/libCGAL_Core.so
-usr/lib/libCGAL_ImageIO.so
-usr/lib/CGAL/*
-usr/share/cmake-2.8/Modules/*
+usr/lib/*/libCGAL.a
+usr/lib/*/libCGAL_Core.a
+usr/lib/*/libCGAL_ImageIO.a
+usr/lib/*/libCGAL.so
+usr/lib/*/libCGAL_Core.so
+usr/lib/*/libCGAL_ImageIO.so
+usr/lib/*/cmake/CGAL/*
 usr/share/man/man1/cgal_create_cmake_script.1
diff -ru cgal-4.2/debian/libcgal-qt4-10.install x/libcgal-qt4-10.install
--- cgal-4.2/debian/libcgal-qt4-10.install      2012-09-02 11:03:57.000000000 
+0200
+++ x/libcgal-qt4-10.install    2014-01-24 22:28:30.317648586 +0100
@@ -1 +1 @@
-usr/lib/libCGAL_Qt4.so.*       usr/lib
+usr/lib/*/libCGAL_Qt4.so.*
diff -ru cgal-4.2/debian/libcgal-qt4-dev.install x/libcgal-qt4-dev.install
--- cgal-4.2/debian/libcgal-qt4-dev.install     2012-09-02 11:38:15.000000000 
+0200
+++ x/libcgal-qt4-dev.install   2014-01-24 22:28:52.598476927 +0100
@@ -1,5 +1,5 @@
 # The next entry is disabled here because it overlaps with the corresponding
 # entry in libcgal-dev.install. The files are moved in debian/rules.
 # usr/include/CGAL/Qt
-usr/lib/libCGAL_Qt4.a
-usr/lib/libCGAL_Qt4.so
+usr/lib/*/libCGAL_Qt4.a
+usr/lib/*/libCGAL_Qt4.so
diff -ru cgal-4.2/debian/libcgal10.install x/libcgal10.install
--- cgal-4.2/debian/libcgal10.install   2013-03-13 20:00:50.000000000 +0100
+++ x/libcgal10.install 2014-01-24 22:29:19.179460390 +0100
@@ -1,4 +1,4 @@
-usr/lib/libCGAL.so.*           usr/lib
-usr/lib/libCGAL_Core.so.*      usr/lib
-usr/lib/libCGAL_ImageIO.so.*   usr/lib
+usr/lib/*/libCGAL.so.*
+usr/lib/*/libCGAL_Core.so.*
+usr/lib/*/libCGAL_ImageIO.so.*
 usr/share/doc/cgal/changelog   usr/share/doc/libcgal10
diff -ru cgal-4.2/debian/rules x/rules
--- cgal-4.2/debian/rules       2013-05-21 23:08:42.000000000 +0200
+++ x/rules     2014-01-24 22:38:54.672795619 +0100
@@ -13,6 +13,8 @@
 export TESTS_IEEE_FPU_OPTION = -mieee -mfp-rounding-mode=d
 endif
 
+export DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
 %:
        dh $@
 
@@ -21,12 +23,16 @@
        cd static && QTDIR= cmake .. \
          -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr 
-DCMAKE_BUILD_TYPE=Release \
          -DWITH_NTL=ON -DWITH_CGAL_Qt3=OFF -DWITH_demos=OFF 
-DWITH_examples=OFF \
-         -DCGAL_ENABLE_PRECONFIG=OFF -DBUILD_SHARED_LIBS=FALSE
+         -DCGAL_ENABLE_PRECONFIG=OFF -DBUILD_SHARED_LIBS=FALSE \
+         -DCGAL_INSTALL_LIB_DIR=lib/$(DEB_HOST_MULTIARCH) \
+         -DCGAL_INSTALL_CMAKE_DIR=lib/$(DEB_HOST_MULTIARCH)/cmake/CGAL
        mkdir -p shared
        cd shared && QTDIR= cmake .. \
          -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr 
-DCMAKE_BUILD_TYPE=Release \
          -DWITH_NTL=ON -DWITH_CGAL_Qt3=OFF -DWITH_demos=OFF 
-DWITH_examples=OFF \
-         -DCGAL_ENABLE_PRECONFIG=OFF -DBUILD_SHARED_LIBS=TRUE 
-DCMAKE_SKIP_RPATH=TRUE 
+         -DCGAL_ENABLE_PRECONFIG=OFF -DBUILD_SHARED_LIBS=TRUE 
-DCMAKE_SKIP_RPATH=TRUE \
+         -DCGAL_INSTALL_LIB_DIR=lib/$(DEB_HOST_MULTIARCH) \
+         -DCGAL_INSTALL_CMAKE_DIR=lib/$(DEB_HOST_MULTIARCH)/cmake/CGAL
        mkdir -p shared/demo/CGAL_ipelets
        cd shared/demo/CGAL_ipelets && QTDIR= cmake ../../../demo/CGAL_ipelets \
          -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX=/usr 
-DCMAKE_BUILD_TYPE=Release \

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
armhf
powerpc

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libcgal-dev depends on:
ii  libboost-dev                  1.54.0.1
ii  libboost-program-options-dev  1.54.0.1
ii  libboost-system-dev           1.54.0.1
ii  libboost-thread-dev           1.54.0.1
ii  libcgal10                     4.3-2
ii  libgmp-dev [libgmp10-dev]     2:5.1.3+dfsg-1
ii  libmpfr-dev                   3.1.2-1
ii  zlib1g-dev                    1:1.2.8.dfsg-1

libcgal-dev recommends no packages.

libcgal-dev suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: cgal
Source-Version: 4.5-3

We believe that the bug you reported is fixed in the latest version of
cgal, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joachim Reichel <[email protected]> (supplier of updated cgal package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 30 Oct 2014 21:31:46 +0100
Source: cgal
Binary: libcgal10 libcgal-qt4-10 libcgal-dev libcgal-qt4-dev libcgal-demo 
libcgal-ipelets
Architecture: source amd64 all
Version: 4.5-3
Distribution: experimental
Urgency: medium
Maintainer: Joachim Reichel <[email protected]>
Changed-By: Joachim Reichel <[email protected]>
Description:
 libcgal-demo - C++ library for computational geometry (demos)
 libcgal-dev - C++ library for computational geometry (development files)
 libcgal-ipelets - C++ library for computational geometry (ipelets)
 libcgal-qt4-10 - C++ library for computational geometry (support for Qt4)
 libcgal-qt4-dev - C++ library for computational geometry (development files, 
suppor
 libcgal10  - C++ library for computational geometry
Closes: 737307
Changes:
 cgal (4.5-3) experimental; urgency=medium
 .
   * Add multiarch support based on a patch from Marc Glisse
     (Closes: #737307).
   * Add libtbb-dev to Suggests: of libcgal-dev and libcgal-demo.
Checksums-Sha1:
 8b6d852467110566ba55f5826468a8057ffd68af 2185 cgal_4.5-3.dsc
 36e9ac79e4e12d98d9587a4faca0ca6f1041e253 13836 cgal_4.5-3.debian.tar.xz
 0bff8cdfa0a8278c9e0d82f720ccaea5fb2e42be 9548934 libcgal-demo_4.5-3_all.deb
Checksums-Sha256:
 e248ef286b5bd1527ce662471eb75d20926acaf301baeb4c6bffbcff4d6050de 2185 
cgal_4.5-3.dsc
 55d381e3b35afc7d2a720fd381470ba9e0cd56b87952a1a6817641bfa5ee9004 13836 
cgal_4.5-3.debian.tar.xz
 82941286bb373c7270d528605b573c3d71a70d3b4a05070f4fb94127fc8b1c73 9548934 
libcgal-demo_4.5-3_all.deb
Files:
 ae8fa3ec7fb94d3f521457dd4c8e023a 2185 libs optional cgal_4.5-3.dsc
 4831d8cec9d46d0115dba9de8ec2ac5d 13836 libs optional cgal_4.5-3.debian.tar.xz
 15aac9a9aa84c801b3406adc3baa33be 9548934 devel optional 
libcgal-demo_4.5-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJUUqZZAAoJELj6/xxDiGdxsroP/106m1ZyuzI+nteHNDhYORAo
ONXBTih/iem02yA8JYxJXFsFEoQ0bGrdCktiJmOpdmncLpJ0+DTspbzy18qzu9Oc
e8RHjvl5A/y0q43aFNKHwh4U19A2C9q5MBFehL7dgx+viaPzaL2+BTZj8x2YeYsY
mcAh1eHw7S8H+pEL87+4concEnAU2qjalJYIdwHocTd3GwGWd5QWegpproAWws5G
RZcNqvNk5YTqDtDS5CNXD7O/ylTG/BXYLKKktMnm+bkf9l8PZSu2D65Ry12wVweH
N9kJrHAunUkz3nIiLtC7gkpRO9zz3bGCWhW5GfRGJYSKbtfye/kftSgMD9E2+L9v
AabYJv2AKQIcRTE8vp2fl3a3zdY7JQhvqQ5scrmHmv2HniUDw9rOLdMzBX/u6Pax
B1tWSyft2CA5ECg/koP3TrDEE+DTkVWW3zUf5lgWclb7YaIzF1veVoTE8hTueqYJ
AT4+lApeZ9wy2P78CcS4fEnU6lhpyB/n6lMB3p+gRQl6tob8fnO4BJ0eFjnm31Ig
3meH4aQh4O7fumy8o04tkc5UiW2QGw6RKEB3IoHKexyfSZ524MWvLwtpZddCZHlP
K4uuCQtGukYrQmrb+oFgzTR+Y70/27LfQnD2RLTA6Q8sLgiNKBVBKzJAm1GqaQhq
dSGZsB7DBF6w5iBc2CMz
=5EfA
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to