Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#682238: opencv: Please Depend on unversioned libtiff-dev instead of libtiff4-dev

10 views
Skip to first unread message

Michael Terry

unread,
Jul 20, 2012, 11:30:02 AM7/20/12
to
Package: opencv
Version: 2.3.1-11
Severity: minor
Tags: patch
User: ubuntu...@lists.ubuntu.com
Usertags: origin-ubuntu quantal ubuntu-patch

Dear Maintainer,

It makes libtiff transitions (like the upcoming libtiff5 one) easier if the
unversioned virtual package libtiff-dev is used instead of libtiff4-dev.

Attached is a patch by Rohan Garg <roha...@kubuntu.org>. Thanks for
considering it.


-- System Information:
Debian Release: wheezy/sid
APT prefers quantal-updates
APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500, 'quantal')
Architecture: i386 (i686)

Kernel: Linux 3.5.0-5-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
opencv_2.3.1-11ubuntu1.debdiff

Julien Cristau

unread,
Jul 23, 2012, 6:00:02 AM7/23/12
to
On Fri, Jul 20, 2012 at 11:20:24 -0400, Michael Terry wrote:

> diff -Nru opencv-2.3.1/debian/changelog opencv-2.3.1/debian/changelog
> diff -Nru opencv-2.3.1/debian/control opencv-2.3.1/debian/control
> --- opencv-2.3.1/debian/control 2012-06-27 22:36:53.000000000 -0400
> +++ opencv-2.3.1/debian/control 2012-07-20 11:17:10.000000000 -0400
> @@ -9,7 +9,7 @@
> libjasper-dev (>= 1.900.1),
> libjpeg-dev,
> libpng-dev,
> - libtiff4-dev (>= 3.9.4),
> + libtiff-dev (>= 3.9.4),
> libopenexr-dev (>= 1.4.0),
> libraw1394-dev [linux-any],
> libdc1394-22-dev [linux-any],
> @@ -478,7 +478,7 @@
> libjasper-dev (>= 1.900.1),
> libjpeg-dev,
> libpng12-dev,
> - libtiff4-dev (>= 3.9.4),
> + libtiff-dev (>= 3.9.4),
> libopenexr-dev (>= 1.4.0),
> libraw1394-dev [!kfreebsd-amd64 !kfreebsd-i386 !hurd-i386],
> libdc1394-22-dev [!kfreebsd-amd64 !kfreebsd-i386 !hurd-i386],

This patch is broken. Versioned dependencies on virtual packages can't
work.

Cheers,
Julien
--
Julien Cristau <julien....@logilab.fr>
Logilab http://www.logilab.fr/
Informatique scientifique & gestion de connaissances


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Michael Terry

unread,
Jul 23, 2012, 10:40:01 AM7/23/12
to
You're right, I realized that right after I sent it in. But the patch
is still fine, without the version check, as long as you're willing to
drop that.
-mt
0 new messages