[Pkg-scicomp-devel] Bug#581210: opencv: exclude Linux-only build-dependencies on non-Linux archs

Pino Toscano pino at kde.org
Tue May 11 16:18:31 UTC 2010


Package: opencv
Version: 2.0.0-4
Severity: important
Tags: patch

Hi,

currently opencv build-depends on libraw1394-dev and libdc1394-22-dev, which
are specific to the Firewire stack of Linux. opencv looks compiling correctly
without these (tested on current hurd-i386), so could you exclude them on
non-Linux archs?

Attached there is a patch for this.

Thanks,
-- 
Pino
-------------- next part --------------
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,9 @@
 Uploaders: Sam Hocevar (Debian packages) <sam+deb at zoy.org>, Nobuhiro Iwamatsu <iwamatsu at debian.org>
 Build-Depends: debhelper (>= 5.0), quilt,
  libavcodec-dev (>= 0.svn20080206), libavformat-dev, libswscale-dev, libgtk2.0-dev,
- libjasper-dev, libjpeg62-dev, libpng12-dev, libtiff4-dev, libraw1394-dev, libdc1394-22-dev,
+ libjasper-dev, libjpeg62-dev, libpng12-dev, libtiff4-dev,
+ libraw1394-dev [!kfreebsd-amd64 !kfreebsd-i386 !hurd-i386],
+ libdc1394-22-dev [!kfreebsd-amd64 !kfreebsd-i386 !hurd-i386],
  zlib1g-dev, python-dev, swig, python-support (>= 0.4.1)
 Standards-Version: 3.8.4
 Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/opencv/trunk/


More information about the Pkg-scicomp-devel mailing list