Mark Bergsma has uploaded a new change for review. https://gerrit.wikimedia.org/r/63852
Change subject: Imported Debian patch 7.32.3-1 ...................................................................... Imported Debian patch 7.32.3-1 --- A debian/README.Debian A debian/changelog A debian/compat A debian/control A debian/copyright A debian/libvips-dev.install A debian/libvips-doc.doc-base A debian/libvips-doc.install A debian/libvips-tools.install A debian/libvips-tools.lintian-overrides A debian/libvips31.install A debian/libvips31.lintian-overrides A debian/libvips31.shlibs A debian/misc/vips_missing.1 A debian/patches/series A debian/python-vipscc.install A debian/python-vipscc.lintian-overrides A debian/rules A debian/scripts/create_missing_manual_pages A debian/source/format A debian/watch 21 files changed, 753 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/debs/vips refs/changes/52/63852/1 diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..ebfda4a --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,20 @@ + +Examples +======== + +A number of vips examples are available. Please see the "Supported" +section of the vips website: + +http://www.vips.ecs.soton.ac.uk/ + +General Notes +============= + +Several links and binaries have not been installed for Debian. In +particular, the "header" command is not installed because it conflicts +with a binary of the same name in a different package. Use "vips +im_header_int", "vips im_header_string", or "vips im_header_double" +instead. Additionally, the hundreds of im_* links are not installed. +Use "vips im_command" instead of "im_command". + + -- Jay Berkenbilt <[email protected]>, Sat, 21 Jul 2007 22:37:13 -0400 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..b289aea --- /dev/null +++ b/debian/changelog @@ -0,0 +1,419 @@ +vips (7.32.3-1) experimental; urgency=low + + * New upstream release + * Fix broken debian/watch file. (Closes: #688104) + + -- Jay Berkenbilt <[email protected]> Sat, 27 Apr 2013 21:10:48 -0400 + +vips (7.28.8-1) unstable; urgency=low + + * New upstream release + + -- Jay Berkenbilt <[email protected]> Fri, 29 Jun 2012 14:00:16 -0400 + +vips (7.28.5-1) unstable; urgency=low + + * New upstream release + * multiarch, hardening + * Support bigtiff + + -- Jay Berkenbilt <[email protected]> Tue, 29 May 2012 14:25:06 -0400 + +vips (7.28.2-1) unstable; urgency=low + + * New upstream release + + -- Jay Berkenbilt <[email protected]> Sun, 18 Mar 2012 16:54:58 -0400 + +vips (7.26.7-4) unstable; urgency=low + + * Explicitly disable v4l on kfreebsd architectures. Hopefully it's + really right this time. (Closes: #654430) + + -- Jay Berkenbilt <[email protected]> Mon, 05 Mar 2012 16:41:02 -0500 + +vips (7.26.7-3) unstable; urgency=low + + * Correctly implement previous change (fix omission in rules file) + + -- Jay Berkenbilt <[email protected]> Mon, 05 Mar 2012 13:33:26 -0500 + +vips (7.26.7-2) unstable; urgency=low + + * Update png dependency to libpng-dev. (Closes: #662536) + * Explicitly disable v4l on kfreebsd architectures. (Closes: #654430) + + -- Jay Berkenbilt <[email protected]> Mon, 05 Mar 2012 09:15:23 -0500 + +vips (7.26.7-1) unstable; urgency=low + + * New upstream release + * Fix python packaging issue. Thanks Jakub Wilik <[email protected]>. + (Closes: #642746) + + -- Jay Berkenbilt <[email protected]> Sat, 31 Dec 2011 10:31:20 -0500 + +vips (7.26.3-1) unstable; urgency=low + + * New upstream release + * Migrate from dh_pycentral to dh_python2. (Closes: #617141) + * Remove remaining .la files which were installed with the python + module. (Closes: #633181) + * New upstream release includes updated German translation. (Closes: + #625255) + + -- Jay Berkenbilt <[email protected]> Sat, 03 Sep 2011 10:47:36 -0400 + +vips (7.24.5-4) unstable; urgency=high + + * Fixed ImageMagick dependencies; previous fix missed dependencies of + libvips-dev. (Closes: #629904, #630014) + + -- Jay Berkenbilt <[email protected]> Sat, 11 Jun 2011 07:54:15 -0400 + +vips (7.24.5-3) unstable; urgency=low + + * Updated libmagick build dependencies to use non-version-specific + packages for better upgradability. (Closes: #625602, #625552) + + -- Jay Berkenbilt <[email protected]> Sat, 07 May 2011 09:42:14 -0400 + +vips (7.24.5-2) unstable; urgency=low + + * Oops...fix lintian errors from moved documentation. + + -- Jay Berkenbilt <[email protected]> Sat, 16 Apr 2011 13:29:02 -0400 + +vips (7.24.5-1) unstable; urgency=low + + * New upstream release + * Updated standards to 3.9.2. No changes required. + + -- Jay Berkenbilt <[email protected]> Sat, 16 Apr 2011 10:58:26 -0400 + +vips (7.24.1-1) unstable; urgency=low + + * New upstream release + + -- Jay Berkenbilt <[email protected]> Mon, 27 Dec 2010 14:24:43 -0500 + +vips (7.22.4-1) unstable; urgency=low + + * New upstream release + * Upstream release includes fix to CVE-2010-3364: insecure library + loading. (Closes: #598296) + + -- Jay Berkenbilt <[email protected]> Sat, 09 Oct 2010 10:39:23 -0400 + +vips (7.22.2-2) unstable; urgency=low + + * Upstream has declared this to be a stable release. No code changes + from version uploaded to experimental. + * Updated version in shlibs file. + * Updated watch file for new stable location. + + -- Jay Berkenbilt <[email protected]> Sat, 04 Sep 2010 15:23:54 -0400 + +vips (7.22.2-1) experimental; urgency=low + + * New upstream release + * Updated standards version to 3.9.1. No changes required. + + -- Jay Berkenbilt <[email protected]> Sun, 08 Aug 2010 19:30:12 -0400 + +vips (7.22.1-1) experimental; urgency=low + + * New upstream release + * Removed replaces/conflicts on very old versions of the package that + have been gone since before the current stable. + * Updated standards version to 3.9.0. + + -- Jay Berkenbilt <[email protected]> Sat, 24 Jul 2010 11:03:05 -0400 + +vips (7.22.0-1) experimental; urgency=low + + * New upstream release + * Changed references to libjpeg62-dev to libjpeg-dev + * Upstream release includes German translation. (Closes: #582086) + * Upstream release includes fixes to typos. (Closes: #582084) + + -- Jay Berkenbilt <[email protected]> Sun, 20 Jun 2010 13:20:26 -0400 + +vips (7.20.7-1) unstable; urgency=low + + * New upstream release + * Change rules file so that python-central can properly handle + byte-compiled python files. (Closes: #566053) + * Updated standards version to 3.8.4. No changes required. + + -- Jay Berkenbilt <[email protected]> Sat, 06 Feb 2010 17:54:32 -0500 + +vips (7.20.6-1) unstable; urgency=low + + * New upstream release + * Updated watch file + + -- Jay Berkenbilt <[email protected]> Sun, 10 Jan 2010 12:13:04 -0500 + +vips (7.20.4-1) unstable; urgency=low + + * New upstream release + + -- Jay Berkenbilt <[email protected]> Sat, 05 Dec 2009 14:57:11 -0500 + +vips (7.20.2-1) experimental; urgency=low + + * New upstream release + * Converted package format to "3.0 (quilt)" + + -- Jay Berkenbilt <[email protected]> Mon, 23 Nov 2009 21:31:00 -0500 + +vips (7.18.2-3) unstable; urgency=low + + * Add additional fix for python 2.6. Thanks Fabrice Coutadeur. + Repeated attempts are the fault of my modifications, not Fabrice's + patch. (Closes: #538054) + + -- Jay Berkenbilt <[email protected]> Mon, 24 Aug 2009 11:06:32 -0400 + +vips (7.18.2-2) unstable; urgency=low + + * Add additional fix for python 2.6. Thanks Fabrice Coutadeur. + (Closes: #538054) + + -- Jay Berkenbilt <[email protected]> Fri, 21 Aug 2009 22:14:59 -0400 + +vips (7.18.2-1) unstable; urgency=low + + * New upstream release. + * Made updates based on patch from Ubuntu (Fabrice Coutadeur) to enable + vips to work with python 2.6. (Closes: #538054) + * Update standards version to 3.8.3. No changes required. + + -- Jay Berkenbilt <[email protected]> Wed, 19 Aug 2009 15:42:15 -0400 + +vips (7.18.1-1) unstable; urgency=low + + * New upstream release + * Updated standards to 3.8.1. No changes required. + + -- Jay Berkenbilt <[email protected]> Sun, 26 Apr 2009 11:11:06 -0400 + +vips (7.14.5-1) unstable; urgency=low + + * New upstream release + * Switched source packaging to no longer use tarball in tarball format. + * Switched to quilt. Added README.source. + * Updated standards to 3.8.0 + + -- Jay Berkenbilt <[email protected]> Sat, 19 Jul 2008 16:10:41 -0400 + +vips (7.14.4-1) unstable; urgency=low + + * New upstream release. Incorporates all previous patches. + + -- Jay Berkenbilt <[email protected]> Sun, 08 Jun 2008 10:35:16 -0400 + +vips (7.14.3-1) unstable; urgency=low + + * New upstream release + * Change dependency on fftw3-dev to fftw3-dev | libfftw3-dev to save + Ubuntu people from having to continually patch vips + * Build python package for all versions of python. Thanks to Matthias + Klose for the patch. + + -- Jay Berkenbilt <[email protected]> Sat, 03 May 2008 09:15:55 -0400 + +vips (7.14.1-4) unstable; urgency=low + + * Make sure g++, not gcc is used to link C programs that link with C++ + libraries. (Closes: #474405) + + -- Jay Berkenbilt <[email protected]> Sun, 06 Apr 2008 22:37:47 -0400 + +vips (7.14.1-3) unstable; urgency=medium + + * Add missing conflicts/replaces to allow proper update. Thanks to + Michal Politowski for pointing out the error. (Closes: #473388) + + -- Jay Berkenbilt <[email protected]> Sat, 05 Apr 2008 06:21:03 -0400 + +vips (7.14.1-2) unstable; urgency=low + + * Officially supported version; updating watch file and uploading to + unstable. + + -- Jay Berkenbilt <[email protected]> Sat, 29 Mar 2008 11:28:19 -0400 + +vips (7.14.1-1) experimental; urgency=low + + * New upstream release + + -- Jay Berkenbilt <[email protected]> Sun, 16 Mar 2008 09:35:35 -0400 + +vips (7.12.5-3) unstable; urgency=low + + * Fix gcc 4.3 compilation problems. (Closes: #456043) + * Update standards version to 3.7.3. No changes required. + * Change Section from "graphics" to "python" in python-vipscc + + -- Jay Berkenbilt <[email protected]> Mon, 11 Feb 2008 09:40:16 -0500 + +vips (7.12.5-2) unstable; urgency=low + + * Fix python policy conformance. Thanks to Siegfried Gevatter and + Cesare Tirabassi for the analysis. (Closes: #450863, #450858) + + -- Jay Berkenbilt <[email protected]> Sat, 17 Nov 2007 12:30:12 -0500 + +vips (7.12.5-1) unstable; urgency=low + + * New upstream release + + -- Jay Berkenbilt <[email protected]> Sun, 21 Oct 2007 10:15:30 -0400 + +vips (7.12.4-1) unstable; urgency=low + + * New upstream release + + -- Jay Berkenbilt <[email protected]> Mon, 30 Jul 2007 16:50:20 -0400 + +vips (7.12.2-2) unstable; urgency=low + + * Correct dependency typo from Python to python. Thanks Michal + Politowski. (Closes: #434677) + + -- Jay Berkenbilt <[email protected]> Thu, 26 Jul 2007 07:26:13 -0400 + +vips (7.12.2-1) unstable; urgency=low + + * New upstream release + * There is now a python-vipsCC package vips's Python bindings. + * The development package no longer has the library soname in its name. + It is now just libvips-dev. + + -- Jay Berkenbilt <[email protected]> Sat, 21 Jul 2007 22:57:31 -0400 + +vips (7.10.21-1) unstable; urgency=low + + * New upstream release + + -- Jay Berkenbilt <[email protected]> Tue, 19 Sep 2006 12:18:05 -0400 + +vips (7.10.20-1) unstable; urgency=low + + * New upstream release + * Add watch file + + -- Jay Berkenbilt <[email protected]> Fri, 23 Jun 2006 14:57:30 -0400 + +vips (7.10.19-1) unstable; urgency=low + + * New upstream release + * Updated standards version to 3.7.2; no changes required. + + -- Jay Berkenbilt <[email protected]> Fri, 12 May 2006 18:05:32 -0400 + +vips (7.10.17-1) unstable; urgency=medium + + * New upstream release + * No user-visible changes; resync with upstream which has included our + local soname patch. + + -- Jay Berkenbilt <[email protected]> Tue, 29 Nov 2005 19:08:08 -0500 + +vips (7.10.16-2) unstable; urgency=low + + * Fix libtool versioning problem resulting in wrong soname. + (Closes: #340788) + + -- Jay Berkenbilt <[email protected]> Fri, 25 Nov 2005 19:15:54 -0500 + +vips (7.10.16-1) unstable; urgency=low + + * New upstream release + + -- Jay Berkenbilt <[email protected]> Tue, 22 Nov 2005 20:43:11 -0500 + +vips (7.10.15-2) unstable; urgency=low + + * Rename libvips10c2 to libvips10c2a because of libstdc++ allocator + change (Closes: #339275) + + -- Jay Berkenbilt <[email protected]> Wed, 16 Nov 2005 22:49:21 -0500 + +vips (7.10.15-1) unstable; urgency=low + + * New upstream release + * Upstream fix for gcc 4.0 optimization bug + + -- Jay Berkenbilt <[email protected]> Sat, 15 Oct 2005 19:53:12 -0400 + +vips (7.10.14-1) unstable; urgency=low + + * New upstream release + * Change dependencies for libmagick transition (Closes: #332471) + + -- Jay Berkenbilt <[email protected]> Fri, 7 Oct 2005 11:39:14 -0400 + +vips (7.10.12-1) unstable; urgency=low + + * New upstream release + + -- Jay Berkenbilt <[email protected]> Wed, 17 Aug 2005 18:56:41 -0400 + +vips (7.10.10-2) unstable; urgency=low + + * g++ 4.0 transition: libvips10 is now libvips10c2 + + -- Jay Berkenbilt <[email protected]> Sat, 9 Jul 2005 14:20:35 -0400 + +vips (7.10.10-1) unstable; urgency=low + + * New upstream release + + -- Jay Berkenbilt <[email protected]> Fri, 8 Apr 2005 21:51:33 -0400 + +vips (7.10.9-1) unstable; urgency=low + + * New upstream release + + -- Jay Berkenbilt <[email protected]> Mon, 4 Apr 2005 18:50:50 -0400 + +vips (7.10.8-2) unstable; urgency=low + + * Note: 7.10.8-1 was never part of the archive + * Name development package libvips10-dev rather than libvips-dev. + + -- Jay Berkenbilt <[email protected]> Sat, 19 Mar 2005 13:32:00 -0500 + +vips (7.10.8-1) unstable; urgency=low + + * Rename packages: + - libvips7.10 -> libvips10 + - libvips7.10-dev -> libvips-dev + - libvips7.10-tools -> libvips-tools + - libvips7.10-doc -> libvips-doc + + -- Jay Berkenbilt <[email protected]> Sun, 16 Jan 2005 13:12:07 -0500 + +vips7.10 (7.10.8-1) unstable; urgency=low + + * New upstream release + * Upstream fixed gcc-4.0/amd64 compiler error. Thanks Andreas Jochens + <[email protected]>. (Closes: #288650) + + -- Jay Berkenbilt <[email protected]> Fri, 14 Jan 2005 21:40:16 -0500 + +vips7.10 (7.10.6-2) unstable; urgency=high + + * Remove stray header(1) manual page. (Closes: #284573) + * Fix segmentation fault in im_icc_present. (Closes: #283872) + + -- Jay Berkenbilt <[email protected]> Tue, 7 Dec 2004 12:10:27 -0500 + +vips7.10 (7.10.6-1) unstable; urgency=low + + * Initial release. (Closes: #274544) + + -- Jay Berkenbilt <[email protected]> Sun, 7 Nov 2004 11:47:05 -0500 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..ebdad96 --- /dev/null +++ b/debian/control @@ -0,0 +1,114 @@ +Source: vips +Section: libs +Priority: optional +Build-Depends: cdbs (>= 0.4.93~), debhelper (>> 9~), dpkg-dev (>= 1.16.1~), libjpeg-dev, libtiff5-alt-dev, zlib1g-dev, fftw3-dev | libfftw3-dev, liblcms2-dev, libpng-dev, libmagickcore-dev, libmagickwand-dev, libfreetype6-dev, libpango1.0-dev, libfontconfig1-dev, libglib2.0-dev, libice-dev, gettext, pkg-config, libxml-parser-perl, libexif-gtk-dev, python-all-dev, python-dev (>= 2.6.6-3~), liborc-0.4-dev, libopenexr-dev, libmatio-dev, libxml2-dev, libcfitsio3-dev, libopenslide-dev, flex, bison +Maintainer: Jay Berkenbilt <[email protected]> +Standards-Version: 3.9.3 +Homepage: http://www.vips.ecs.soton.ac.uk + +Package: libvips31 +Section: libs +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${misc:Depends}, ${shlibs:Depends} +Provides: libvips +Recommends: nip2 +Description: image processing system good for very large images + VIPS is an image processing system designed with efficiency in mind. + It is good with large images (images larger than the amount of RAM in + your machine), and for working with colour. It can perform many + image manipulation tasks much faster than other packages such as + ImageMagick and the GIMP and includes some special features such as + creating single "mosaic" images from multiple parts. + . + VIPS consists of two main components: an image processing library + with some command-line tools and a spreadsheet-like graphical user + interface. The graphical interface is available in the nip2 package. + . + This package includes runtime libraries needed to run applications + linked with the vips library. + +Package: libvips-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, libvips31 (= ${binary:Version}), libjpeg-dev, libtiff5-alt-dev, zlib1g-dev, fftw3-dev | libfftw3-dev, liblcms2-dev, libpng-dev, libmagickcore-dev, libmagickwand-dev, libfreetype6-dev, libpango1.0-dev, libfontconfig1-dev, libglib2.0-dev, libice-dev, gettext, pkg-config, libexif-gtk-dev, python-all-dev, python-dev (>= 2.6.6-3~), liborc-0.4-dev, libopenexr-dev, libmatio-dev, libxml2-dev, libcfitsio3-dev, libopenslide-dev +Recommends: libvips-doc, libvips-tools +Suggests: nip2 +Description: image processing system good for very large images (dev) + VIPS is an image processing system designed with efficiency in mind. + It is good with large images (images larger than the amount of RAM in + your machine), and for working with colour. It can perform many + image manipulation tasks much faster than other packages such as + ImageMagick and the GIMP and includes some special features such as + creating single "mosaic" images from multiple parts. + . + VIPS consists of two main components: an image processing library + with some command-line tools and a spreadsheet-like graphical user + interface. The graphical interface is available in the nip2 package. + . + This package includes all development files needed to compile + applications that use the vips library. + +Package: libvips-tools +Section: graphics +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Recommends: nip2, libvips-doc +Suggests: libvips-dev +Description: image processing system good for very large images (tools) + VIPS is an image processing system designed with efficiency in mind. + It is good with large images (images larger than the amount of RAM in + your machine), and for working with colour. It can perform many + image manipulation tasks much faster than other packages such as + ImageMagick and the GIMP and includes some special features such as + creating single "mosaic" images from multiple parts. + . + VIPS consists of two main components: an image processing library + with some command-line tools and a spreadsheet-like graphical user + interface. The graphical interface is available in the nip2 package. + . + This package includes several command-line utilities that make it + possible to use some vips functionality from shell scripts or the + command line. + +Package: python-vipscc +Section: python +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends} +Recommends: nip2, libvips-doc +Suggests: libvips-dev +Description: image processing system good for very large images (tools) + VIPS is an image processing system designed with efficiency in mind. + It is good with large images (images larger than the amount of RAM in + your machine), and for working with colour. It can perform many + image manipulation tasks much faster than other packages such as + ImageMagick and the GIMP and includes some special features such as + creating single "mosaic" images from multiple parts. + . + VIPS consists of two main components: an image processing library + with some command-line tools and a spreadsheet-like graphical user + interface. The graphical interface is available in the nip2 package. + . + This package includes Python bindings to the vips library. + +Package: libvips-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Description: image processing system good for very large images (doc) + VIPS is an image processing system designed with efficiency in mind. + It is good with large images (images larger than the amount of RAM in + your machine), and for working with colour. It can perform many + image manipulation tasks much faster than other packages such as + ImageMagick and the GIMP and includes some special features such as + creating single "mosaic" images from multiple parts. + . + VIPS consists of two main components: an image processing library + with some command-line tools and a spreadsheet-like graphical user + interface. The graphical interface is available in the nip2 package. + . + This package includes complete documentation for the VIPS system. It + includes the application programmers' guide, the library programmers' + guide, the C++ programmers' guide, and the reference guide, as well + as HTML versions of the program and library manual pages. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..be8cebc --- /dev/null +++ b/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Jay Berkenbilt <[email protected]> on +October 2, 2004. + +It was downloaded from http://www.vips.ecs.soton.ac.uk + +Upstream Maintainers: + John Cupitt <[email protected]> + Kirk Martinez <[email protected]> + Joe Padfield <[email protected]> + +Many others contributed as well; see the file THANKS for details. + +Copyright (C) 1990-2010 Imperial College, London and others + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, refer to /usr/share/common-licenses/LGPL-2.1 +for the complete text of the GNU Lesser General Public License. diff --git a/debian/libvips-dev.install b/debian/libvips-dev.install new file mode 100644 index 0000000..0cfa9ef --- /dev/null +++ b/debian/libvips-dev.install @@ -0,0 +1,4 @@ +debian/tmp/usr/lib/*/lib*.so +debian/tmp/usr/lib/*/lib*.a +debian/tmp/usr/lib/*/pkgconfig +debian/tmp/usr/include diff --git a/debian/libvips-doc.doc-base b/debian/libvips-doc.doc-base new file mode 100644 index 0000000..3bf5a25 --- /dev/null +++ b/debian/libvips-doc.doc-base @@ -0,0 +1,10 @@ +Document: libvips-appguide +Title: Application Programmers' Guide for VIPS 7.32 +Author: John Cupitt, Kirk Martinez +Abstract: The VIPS Application Programmer's Guide explains how to call + VIPS library functions from C programs. +Section: Programming + +Format: HTML +Index: /usr/share/gtk-doc/html/libvips/index.html +Files: /usr/share/gtk-doc/html/libvips/* diff --git a/debian/libvips-doc.install b/debian/libvips-doc.install new file mode 100644 index 0000000..133e6a2 --- /dev/null +++ b/debian/libvips-doc.install @@ -0,0 +1 @@ +debian/tmp/usr/share/gtk-doc diff --git a/debian/libvips-tools.install b/debian/libvips-tools.install new file mode 100644 index 0000000..58cd505 --- /dev/null +++ b/debian/libvips-tools.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin +debian/tmp/usr/share/man/man1 diff --git a/debian/libvips-tools.lintian-overrides b/debian/libvips-tools.lintian-overrides new file mode 100644 index 0000000..1befdef --- /dev/null +++ b/debian/libvips-tools.lintian-overrides @@ -0,0 +1,5 @@ +# libvips-tools is not a library package, so this is a false positive. +libvips-tools: lib-recommends-documentation recommends: libvips-doc + +# This is temporary until libtiff5-alt-dev goes away. +libvips-tools: binary-or-shlib-defines-rpath diff --git a/debian/libvips31.install b/debian/libvips31.install new file mode 100644 index 0000000..2adc085 --- /dev/null +++ b/debian/libvips31.install @@ -0,0 +1,3 @@ +debian/tmp/usr/lib/*/libvips.so.* +debian/tmp/usr/lib/*/libvipsCC.so.* +debian/tmp/usr/share/locale diff --git a/debian/libvips31.lintian-overrides b/debian/libvips31.lintian-overrides new file mode 100644 index 0000000..796de92 --- /dev/null +++ b/debian/libvips31.lintian-overrides @@ -0,0 +1,4 @@ +libvips31: package-name-doesnt-match-sonames libvipsCC31 libvips31 + +# This is temporary until libtiff5-alt-dev goes away. +libvips31: binary-or-shlib-defines-rpath diff --git a/debian/libvips31.shlibs b/debian/libvips31.shlibs new file mode 100644 index 0000000..311cea1 --- /dev/null +++ b/debian/libvips31.shlibs @@ -0,0 +1,2 @@ +libvips 31 libvips31 (>> 7.32.3-1~) +libvipsCC 31 libvips31 (>> 7.32.3-1~) diff --git a/debian/misc/vips_missing.1 b/debian/misc/vips_missing.1 new file mode 100644 index 0000000..0d3a699 --- /dev/null +++ b/debian/misc/vips_missing.1 @@ -0,0 +1,13 @@ +.TH VIPS_MISSING 1 "18 Oct 2004" +.SH NAME +vips \- vips utility program +.SH DESCRIPTION +This program is part of the vips package. Although this program +doesn't have its own manual page, the vips package itself has other +documentation. Please see the vips(1) manual page and the +documentation files in /usr/share/doc/libvips-doc for full +documentation. +.SH SEE ALSO +.BR vips (1) +.br +/usr/share/doc/libvips-doc diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/debian/patches/series diff --git a/debian/python-vipscc.install b/debian/python-vipscc.install new file mode 100644 index 0000000..433727f --- /dev/null +++ b/debian/python-vipscc.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/python*.* diff --git a/debian/python-vipscc.lintian-overrides b/debian/python-vipscc.lintian-overrides new file mode 100644 index 0000000..f3eaf8e --- /dev/null +++ b/debian/python-vipscc.lintian-overrides @@ -0,0 +1,2 @@ +# This is temporary until libtiff5-alt-dev goes away. +python-vipscc: binary-or-shlib-defines-rpath diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..c1088d6 --- /dev/null +++ b/debian/rules @@ -0,0 +1,75 @@ +#!/usr/bin/make -f + +# Enable all hardening options. +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/buildflags.mk + +# To distinguish variables that are truly local to this file (rather +# than for use by cdbs), we adopt the convention of starting local +# variables' names with l_. + +l_PWD := $(shell pwd) +l_STAMPS = debian/l_stamps + +# Build for all available python versions +l_PYTHON_VERSION := $(shell pyversions -vd) +l_OTHER_PYTHON_VERSIONS := \ + $(filter-out $(l_PYTHON_VERSION), $(shell pyversions -vr)) + +# Variables used by cdbs + +VERSION := $(shell dpkg-parsechangelog | \ + awk '/Version:/ {print $$2}' | cut -d- -f 1) + +DEB_INSTALL_DOCS_libvips-doc = \ + $(DEB_BUILDDIR)/doc/html +DEB_COMPRESS_EXCLUDE = html + +# Include cdbs rules files. +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-module.mk +include /usr/share/cdbs/1/class/autotools.mk + +include /usr/share/python/python.mk + +# exec_prefix set explicitly to /usr appears to be required by +# configure scripts in order to properly install multiple versions of +# python. Setting to "\$${prefix}" doesn't work. +DEB_CONFIGURE_EXTRA_FLAGS = --exec_prefix=/usr +DEB_CONFIGURE_USER_FLAGS = --libdir="\$${prefix}/lib/$(DEB_HOST_MULTIARCH)" \ + +ifneq (, $(filter kfreebsd%, $(DEB_HOST_ARCH_OS))) +DEB_CONFIGURE_EXTRA_FLAGS += --without-v4l +endif + +# "make install" runs installed programs at one point, so we need to +# set LD_LIBRARY_PATH to the installed library directory. +ifeq ("$(LD_LIBRARY_PATH)", "") +LD_LIBRARY_PATH=$(l_PWD)/debian/tmp/usr/lib +else +LD_LIBRARY_PATH += :$(l_PWD)/debian/tmp/usr/lib +endif +export LD_LIBRARY_PATH + +cleanbuilddir:: + $(RM) -r $(l_STAMPS) + +clean:: + $(RM) *.cdbs-config_list + +pre-build:: + find build-tree -name CVS -print | xargs rm -rf + +install/libvips-tools:: + rm debian/tmp/usr/bin/header + rm debian/tmp/usr/share/man/man1/header.1* + perl $(l_PWD)/debian/scripts/create_missing_manual_pages + +install/python-vipscc:: + set -e; \ + for v in $(l_OTHER_PYTHON_VERSIONS); do \ + make -C $(DEB_BUILDDIR)/swig/vipsCC clean; \ + make -C $(DEB_BUILDDIR)/swig/vipsCC PYTHON_VERSION=$$v PYTHON_INCLUDES=-I/usr/include/python$$v pyexecdir="$(call py_libdir_sh, $$v)" install DESTDIR=$(l_PWD)/debian/tmp; \ + done + find $(l_PWD)/debian/tmp -type f \( -name '*.la' -o -name '*.pyc' -o -name '*.pyo' \) -exec rm {} \; diff --git a/debian/scripts/create_missing_manual_pages b/debian/scripts/create_missing_manual_pages new file mode 100644 index 0000000..9090147 --- /dev/null +++ b/debian/scripts/create_missing_manual_pages @@ -0,0 +1,44 @@ +#!/usr/bin/env perl +require 5.008; +BEGIN { $^W = 1; } +use strict; +use File::Copy; + +my $whoami = ($0 =~ m,([^/\\]*)$,) ? $1 : $0; +#my $dirname = ($0 =~ m,(.*)[/\\][^/\\]+$,) ? $1 : "."; + +my @links = (); +my @programs = (); +my $dir = "debian/tmp/usr/bin"; +opendir(D, $dir) or die; +my @entries = readdir(D) or die; +closedir(D); +foreach my $entry (@entries) +{ + my $fullpath = "$dir/$entry"; + if (-l $fullpath) + { + push(@links, $entry); + } + elsif ((-f $fullpath) && (-x $fullpath)) + { + push(@programs, $entry); + } +} +my $mandir = 'debian/tmp/usr/share/man/man1'; +foreach my $link (@links) +{ + open(M, ">$mandir/$link.1") or die; + print M ".so man1/vips.1\n"; + close(M); +} +foreach my $prog (@programs) +{ + if (! -f "$mandir/$prog.1") + { + open(M, ">$mandir/$prog.1") or die; + print M ".so man1/vips_missing.1\n"; + close(M); + } +} +copy("debian/misc/vips_missing.1", "$mandir/vips_missing.1") or die; diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..c8a0e23 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.vips.ecs.soton.ac.uk/supported/current/vips-([\d\.]+).tar.gz -- To view, visit https://gerrit.wikimedia.org/r/63852 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iea3154f1840efd600a7f6888772b2a00f4d42175 Gerrit-PatchSet: 1 Gerrit-Project: operations/debs/vips Gerrit-Branch: master Gerrit-Owner: Mark Bergsma <[email protected]> Gerrit-Reviewer: J <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
