--- php-imagick-2.0.1.orig/.pc/.version +++ php-imagick-2.0.1/.pc/.version @@ -0,0 +1 @@ +2 --- php-imagick-2.0.1.orig/imagick-2.0.1.tgz.cdbs-config_list +++ php-imagick-2.0.1/imagick-2.0.1.tgz.cdbs-config_list @@ -0,0 +1,2 @@ +imagick-2.0.1/config.m4 +imagick-2.0.1/config.w32 --- php-imagick-2.0.1.orig/debian/control +++ php-imagick-2.0.1/debian/control @@ -0,0 +1,21 @@ +Source: php-imagick +Section: web +Priority: optional +Maintainer: Jose Carlos Medeiros +Uploaders: Ola Lundqvist +Build-Depends: debhelper (>= 5), php5-dev, libmagick9-dev, cdbs +Standards-Version: 3.7.2 + +Package: php5-imagick +Architecture: any +Depends: ${misc:Depends}, ${php5:Depends}, ucf +Description: ImageMagick module for php5 + This package provides a wrapper for ImageMagick library + directly from PHP scripts. + . + PHP5 is an HTML-embedded scripting language. Much of its syntax is borrowed + from C, Java and Perl with a couple of unique PHP-specific features thrown + in. The goal of the language is to allow web developers to write + dynamically generated pages quickly. + . + Homepage: http://pecl.php.net/package/imagick --- php-imagick-2.0.1.orig/debian/rules +++ php-imagick-2.0.1/debian/rules @@ -0,0 +1,45 @@ +#!/usr/bin/make -f + +DEB_TAR_SRCDIR := $(shell basename $(wildcard *.tgz) .tgz) + +include /usr/share/cdbs/1/rules/tarball.mk +include /usr/share/cdbs/1/rules/debhelper.mk + +PHP_EX5=$(shell /usr/bin/php-config5 --extension-dir) + +DEB_INSTALL_EXAMPLES_php5-imagick = $(DEB_SRCDIR)/examples/* +DEB_INSTALL_DOCS_php5-imagick = $(DEB_SRCDIR)/CREDITS + +# +# local hacks +# + +patch: apply-patches + +clean:: + rm -f php[5]-imagick.postrm php[5]-imagick.postinst + +configure_for_php%: + cd $(DEB_SRCDIR) && phpize --clean && phpize && \ + ./configure --with-imagick --with-php-config=/usr/bin/php-config$* --with-regex=system \ + --disable-rpath --disable-static --with-imagick=shared,/usr + sed -e 's/phpX/php$*/g' < debian/phpX-imagick.postinst > debian/php$*-imagick.postinst + sed -e 's/phpX/php$*/g' < debian/phpX-imagick.postrm > debian/php$*-imagick.postrm + +# +# cdbs things +# + +define install_rule + $(MAKE) -C $(DEB_SRCDIR) + mkdir -p debian/php$1-imagick$(PHP_EX$1) + install -m 644 -o root -g root $(DEB_SRCDIR)/modules/imagick.so debian/php$1-imagick$(PHP_EX$1)/imagick.so + mkdir -p debian/php$1-imagick/usr/share/lintian/overrides + echo "php-imagick: no-shlibs-control-file $(PHP_EX$1)/imagick.so" > debian/php$1-imagick/usr/share/lintian/overrides/php$1-imagick + echo "php$1:Depends=phpapi-`php-config$1 --phpapi`, php$1-common" >> debian/php$1-imagick.substvars + mkdir -p debian/php$1-imagick/usr/share/php$1-imagick/ + cp debian/imagick.ini debian/php$1-imagick/usr/share/php$1-imagick/imagick.ini-dist +endef + +install/php5-imagick:: configure_for_php5 + $(call install_rule,5) --- php-imagick-2.0.1.orig/debian/watch +++ php-imagick-2.0.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pecl.php.net/package/imagick /get/imagick-(.+)\.tgz --- php-imagick-2.0.1.orig/debian/changelog +++ php-imagick-2.0.1/debian/changelog @@ -0,0 +1,254 @@ +php-imagick (2.0.1-1) unstable; urgency=low + + * New upstream release. (Closes: #445033) + * Package was reorganized to use cdbs and php5/conf.d. (Closes: #431337) + * debian/control: + removed "dpatch", "bison" and "flex" build dependence. + added "ucf" dependence. + * debian/rules: updated to complain with cdbs. + * debian/copyright: updated PHP License, version 3.01. + * debian/php5-imagick.postinst: updated to use ucf. + + -- Jose Carlos Medeiros Sat, 03 Nov 2007 04:04:35 +0000 + +php-imagick (2.0.0b3-1) unstable; urgency=low + + * New upstream release + + -- Jose Carlos Medeiros Fri, 21 Sep 2007 17:00:57 -0300 + +php-imagick (2.0.0a2-1) unstable; urgency=low + + * New upstream release. (Closes: #421786) + * Removed suport to php4 due php4 removal. (Closes: #418309) + * Removed debian/.template and debian/po files, as isnt no more necessary. + * Removed debian/.postrm and debian/.config files no more used. + * Added debian/imagick.ini file used by php5. + * Added debian/dh_pecl5 and changed rules to call it. + * Removed no more used 02_examples.dpatch. + * Removed no more used 03_nographicsmagickplease.dpatch. + * Removed no more used 04_Magick-config_to_php-config.dpatch. + * Removed build-dependence from libmagick-dev, as this package can call + graphicsmagick that isnt supported by php-imagick. + + -- Jose Carlos Medeiros Thu, 17 May 2007 19:21:15 -0300 + +php-imagick (0.9.13-1) unstable; urgency=low + + * New upstream release + * Build Depends on php4-dev (>= 4:4.4.4-9), php5-dev (>= 5.2.0-10), now + depends on phpapi-20050606+lfs. (Closes: #400527) + * Patched config.m4 (Magick-config_to_php-config.dpatch) to use php-config. + (Closes: #400786) + * Updated to use new config files schema with conf.d directory and + module.ini files. (Closes: #401631) + + -- Jose Carlos Medeiros Fri, 27 Apr 2007 20:48:42 -0300 + +php-imagick (0.9.11+1-4.1) unstable; urgency=low + + * Non-maintainer upload. + * Sourcefull NMU to rebuild against php 5.2. Closes: #398585 + + -- Andreas Barth Tue, 28 Nov 2006 09:24:33 +0100 + +php-imagick (0.9.11+1-4) unstable; urgency=low + + * Bump Standards-Version: 3.7.2 + * Updated Japanese debconf translation, thanks to Kenshi Muto + . (Closes: #379941) + * Updated Danish debconf translation, thanks to Claus Hindsgaul + . (Closes: #382476) + * Updated Spanish debconf translation, thanks to Carlos Valdivia Yagüe + . + * Updated Vietnamese debconf translation, thanks to Clytie Siddall + . + * Updated Swedish debconf translation, thanks to Daniel Nylander + . + * Updated Czech debconf translation, thanks to Miroslav Kure + . (Closes: #382540) + * Updated French debconf translation, thanks to Florentin Duneau + . (Closes: #383043) + * Updated Portuguese debconf translation, thanks to Miguel Figueiredo + + * Updated German debconf translation, thanks to Alwin Meschede + + * Updated Turkish debconf translation, thanks to Osman Yüksel + + + -- Jose Carlos Medeiros Wed, 9 Aug 2006 17:45:27 -0300 + +php-imagick (0.9.11+1-3) unstable; urgency=low + + * Updated Debconf French translation. Thanks to Florentin Duneau + . (closes: #361609) + * Updated Debconf Czech translation. Thanks to Miroslav Kure + . (closes: #366739) + * Updated Debconf Russian translation. Thanks to Yuriy Talakan + . (closes: #367163) + + -- Jose Carlos Medeiros Thu, 11 May 2006 20:48:39 -0300 + +php-imagick (0.9.11+1-2) unstable; urgency=low + + * Updated debian po Danish translation, Thanks to Claus Hindsgaul + . (closes: #357987) + + -- Jose Carlos Medeiros Mon, 27 Mar 2006 16:56:49 -0300 + +php-imagick (0.9.11+1-1) unstable; urgency=low + + * Changed source name from php4-imagick to php-imagick. + * Build-Depends on debhelper >=5, removed compat file and put DH_COMPAT in + rules file. + + -- Jose Carlos Medeiros Fri, 17 Mar 2006 14:40:09 -0300 + +php4-imagick (0.9.11-5) unstable; urgency=low + + * Added suport to generate php5-imagick binary (files php5-imagick.* and + changed control file). (closes: #333388) + * Updated all debian/po/.* files to suport php5 binary. + * Updated debian/rules file based in php-imap. + * Changed 02_examples.dpatch to do not call imagick_setfillcolor function. + (closes: #337686) + + -- Jose Carlos Medeiros Wed, 28 Dec 2005 14:07:54 -0200 + +php4-imagick (0.9.11-4) unstable; urgency=low + + * New maintainer. (closes: #303616) + * Updated debian/CHANGELOG. + * Updated debian/README.Debian, debian/copyright, debian/php4-imagick.postinst + and debian/php4-imagick.prerm files. + + -- Jose Carlos Medeiros Thu, 6 Oct 2005 18:24:48 -0300 + +php4-imagick (0.9.11-3) unstable; urgency=low + + * QA upload. + * Build-depend on `libmagick9-dev | libmagick-dev'. Closes: #332460. + * debian/po/sv.po: Add translation by Daniel Nylander. Closes: #330760. + + -- Matej Vela Thu, 6 Oct 2005 18:32:27 +0200 + +php4-imagick (0.9.11-2) unstable; urgency=low + + * QA upload. + * Update for php4/php5 split (s/phpize/phpize4/; s/php-config/php-config4/). + * Recompile for phpapi-20050606. Closes: #317634, #324005, #272687. + * Update templates based on php4 4:4.4.0-1 (which includes a Vietnamese + translation). Closes: #316823. + * Update debconf dependency. + * debian/copyright: Update upstream URL. + * debian/watch: Add. + * Conforms to Standards version 3.6.2. + + -- Matej Vela Sun, 11 Sep 2005 08:34:04 +0200 + +php4-imagick (0.9.11-1) unstable; urgency=low + + * QA upload. + * Package is orphaned (see #303616); set maintainer to Debian QA Group. + * Use updated debconf translations from php4. + * debian/php4-imagick.prerm: s/@extname@/imagick/ + * debian/rules: + - Remove support for DEB_BUILD_OPTIONS=debug. + - Add support for DEB_BUILD_OPTIONS=noopt. + - Let dh_strip handle DEB_BUILD_OPTIONS=nostrip. + + -- Matej Vela Mon, 25 Apr 2005 22:57:49 +0200 + +php4-imagick (0.9.11-0.2) unstable; urgency=medium + + * NMU + * Bump the php4-dev build-dependency again, and switch back to + non-threaded phpapi since ZTS isn't happening for sarge + (closes: #301328). + * Drop support for caudium SAPI again, now that it's also been dropped + + -- Steve Langasek Tue, 29 Mar 2005 17:07:17 -0800 + +php4-imagick (0.9.11-0.1) unstable; urgency=medium + + * NMU + * Build-dep on php4-dev (>= 4:4.3.10-3) and make sure that we're also + depending on a threaded phpapi (closes: #294001) + * Add support for cli and caudium SAPIs + + -- Adam Conrad Sun, 13 Feb 2005 21:31:51 -0700 + +php4-imagick (0.9.11-0) unstable; urgency=low + + * New upstream versions (Closes: #266335) + * Acknowledge NMU (Closes: #246478, #249088, #262845, #224238) + (Closes: #226001, #226407, #224727) + * Updated postinst and config to reuse php4's debconf dialogs + * Remove RPATH from image.so (Closes: #266161) + + -- Bruno Rodrigues Tue, 17 Aug 2004 21:27:06 +0200 + +php4-imagick (0.9.7-1.3) unstable; urgency=medium + + * NMU + * Rebuild for libtiff4 transition (closes: #262845) + * Bump libmagick build-dep to libmagick6-dev (closes: #246478, #249088) + * Patched imagick.h to DTRT with libmagick6 headers. + + -- Adam Conrad Thu, 5 Aug 2004 00:03:26 -0600 + +php4-imagick (0.9.7-1.2) unstable; urgency=medium + + * NMU + * [debian/control] Tightened ImageMagick build dependency again to follow + libmagick's so name reversal. (Closes: #226001) + + -- J.H.M. Dassen (Ray) Sat, 3 Jan 2004 19:10:05 +0100 + +php4-imagick (0.9.7-1.1) unstable; urgency=medium + + * NMU + * [debian/control] Tightened ImageMagick build dependency to follow + libmagick's so name change. (Closes: #224238) + + -- J.H.M. Dassen (Ray) Sun, 21 Dec 2003 13:47:52 +0100 + +php4-imagick (0.9.7-1) unstable; urgency=low + + * Sponsored by Steve Langasek + * New upstream version. From upstream changelog: + - fixed to work with versions of ImageMagick >= 5.5.7 (Closes: #206960) + - test compiled against ImageMagick 5.5.3, 5.5.6 and 5.5.7 with success. + * Rebuild to get the right PHP dependencies (phpapi instead of zendapi). + (Closes: #208485) + * Run phpize in debian/rules instead of including a big patch with it + + -- Bruno Rodrigues Mon, 8 Sep 2003 20:24:31 +0100 + +php4-imagick (0.9.6-1) unstable; urgency=low + + * New upstream version + * Updated to Standards-Version: 3.5.10 + * Added upstream changelog converted from webpage + + -- Bruno Rodrigues Mon, 26 May 2003 17:39:54 +0000 + +php4-imagick (0.9.5-1) unstable; urgency=low + + * New package (Closes: #181169) + * Rewrite examples/*.php to output result images instead of writting files + + -- Bruno Rodrigues Tue, 18 Mar 2003 23:39:59 +0000 + +php4-imagick (0.9.5-0) unstable; urgency=low + + * New upstream version + + -- Bruno Rodrigues Wed, 12 Mar 2003 17:20:34 +0000 + +php4-imagick (0.9.4-1) unstable; urgency=low + + * Initial debianize + + -- Bruno Rodrigues Sat, 15 Feb 2003 23:21:25 +0000 + --- php-imagick-2.0.1.orig/debian/compat +++ php-imagick-2.0.1/debian/compat @@ -0,0 +1 @@ +5 --- php-imagick-2.0.1.orig/debian/php5-imagick.postrm +++ php-imagick-2.0.1/debian/php5-imagick.postrm @@ -0,0 +1,12 @@ +#! /bin/sh -e + +if test "$1" = "purge"; then + if which ucf >/dev/null 2>&1; then + ucf --purge /etc/php5/conf.d/imagick.ini + fi + rm -f /etc/php5/conf.d/imagick.ini +fi + +#DEBHELPER# + +exit 0 --- php-imagick-2.0.1.orig/debian/php5-imagick.postinst +++ php-imagick-2.0.1/debian/php5-imagick.postinst @@ -0,0 +1,9 @@ +#! /bin/sh -e + +if test "$1" = "configure"; then + ucf /usr/share/php5-imagick/imagick.ini-dist /etc/php5/conf.d/imagick.ini +fi + +#DEBHELPER# + +exit 0 --- php-imagick-2.0.1.orig/debian/phpX-imagick.postrm +++ php-imagick-2.0.1/debian/phpX-imagick.postrm @@ -0,0 +1,12 @@ +#! /bin/sh -e + +if test "$1" = "purge"; then + if which ucf >/dev/null 2>&1; then + ucf --purge /etc/phpX/conf.d/imagick.ini + fi + rm -f /etc/phpX/conf.d/imagick.ini +fi + +#DEBHELPER# + +exit 0 --- php-imagick-2.0.1.orig/debian/imagick.ini +++ php-imagick-2.0.1/debian/imagick.ini @@ -0,0 +1,2 @@ +# configuration for php imagick module +extension=imagick.so --- php-imagick-2.0.1.orig/debian/copyright +++ php-imagick-2.0.1/debian/copyright @@ -0,0 +1,80 @@ +This package was debianized by Bruno Rodrigues on +Sat, 15 Feb 2003 23:21:25 +0000. + +It was downloaded from: + http://pecl.php.net/package/imagick + +Copyright Holder: + Christian Stocker + Michael C. Montero + +License: + + -------------------------------------------------------------------- + The PHP License, version 3.01 + Copyright (c) 1999 - 2006 The PHP Group. All rights reserved. + -------------------------------------------------------------------- + + Redistribution and use in source and binary forms, with or without + modification, is permitted provided that the following conditions + are met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + 3. The name "PHP" must not be used to endorse or promote products + derived from this software without prior written permission. For + written permission, please contact group@php.net. + + 4. Products derived from this software may not be called "PHP", nor + may "PHP" appear in their name, without prior written permission + from group@php.net. You may indicate that your software works in + conjunction with PHP by saying "Foo for PHP" instead of calling + it "PHP Foo" or "phpfoo" + + 5. The PHP Group may publish revised and/or new versions of the + license from time to time. Each version will be given a + distinguishing version number. + Once covered code has been published under a particular version + of the license, you may always continue to use it under the terms + of that version. You may also choose to use such covered code + under the terms of any subsequent version of the license + published by the PHP Group. No one other than the PHP Group has + the right to modify the terms applicable to covered code created + under this License. + + 6. Redistributions of any form whatsoever must retain the following + acknowledgment: + "This product includes PHP software, freely available from + ". + + THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND + ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP + DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + + -------------------------------------------------------------------- + + This software consists of voluntary contributions made by many + individuals on behalf of the PHP Group. + + The PHP Group can be contacted via Email at group@php.net. + + For more information on the PHP Group and the PHP project, + please see . + + PHP includes the Zend Engine, freely available at + . --- php-imagick-2.0.1.orig/debian/phpX-imagick.postinst +++ php-imagick-2.0.1/debian/phpX-imagick.postinst @@ -0,0 +1,9 @@ +#! /bin/sh -e + +if test "$1" = "configure"; then + ucf /usr/share/phpX-imagick/imagick.ini-dist /etc/phpX/conf.d/imagick.ini +fi + +#DEBHELPER# + +exit 0