--- php-imagick-0.9.11.orig/debian/compat +++ php-imagick-0.9.11/debian/compat @@ -0,0 +1 @@ +4 --- php-imagick-0.9.11.orig/debian/docs +++ php-imagick-0.9.11/debian/docs @@ -0,0 +1,2 @@ +imagick-0.9.11/CREDITS +imagick-0.9.11/INSTALL --- php-imagick-0.9.11.orig/debian/examples +++ php-imagick-0.9.11/debian/examples @@ -0,0 +1 @@ +imagick-0.9.11/examples/* --- php-imagick-0.9.11.orig/debian/copyright +++ php-imagick-0.9.11/debian/copyright @@ -0,0 +1,79 @@ +This package was debianized by Korbinian Rosenegger using dh-make-pecl +on Sun, 28 Jan 2007 00:09:15 +0100. + +It was downloaded from http://pecl.php.net/package/imagick + +Upstream Author: Michael C. Montero ; Christian Stocker + +Copyright: + + License: PHP License + +-------------------------------------------------------------------- + The PHP License, Version 3.0 +Copyright (c) 1999 - 2005 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, 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 . + +This product includes the Zend Engine, freely available at +. --- php-imagick-0.9.11.orig/debian/changelog.xsl +++ php-imagick-0.9.11/debian/changelog.xsl @@ -0,0 +1,122 @@ + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Version + + - + + + ( + + ) + + ---------------------------------------- Notes: + + + + + --- php-imagick-0.9.11.orig/debian/rules +++ php-imagick-0.9.11/debian/rules @@ -0,0 +1,138 @@ +#!/usr/bin/make -f +# template debian/rules provided by dh-make-php. +# GNU copyright 2005 by Uwe Steinmann. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +CFLAGS = -O2 -Wall +CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g + DEBUG := --enable-debug +else + DEBUG := --disable-debug +endif + +TAR=tar +PECL_PKG_NAME=imagick +PECL_PKG_REALNAME=imagick +PECL_PKG_VERSION=0.9.11 +PACKAGE_NAME=php-imagick +BIN_PACKAGE_NAME=php$*-imagick +PHPIZE=/usr/bin/phpize +PHPCONFIG=/usr/bin/php-config +EXT_DIR=$(shell $(PHPCONFIG)$* --extension-dir) +SOURCE_DIR=$(shell ls -d $(PECL_PKG_REALNAME)-*) +BINARYTARGETS=binary-arch-v4 binary-arch-v5 +BUILDTARGETS=build-v4 build-v5 +CLEANTARGETS=clean-v4 clean-v5 + +# Sarge doesn't support --phpapi option (Bug #365667) +#phpapiver4=$(shell /usr/bin/php-config4 --phpapi) +phpapiver4=$(/usr/bin/php-config4 --extension-dir | xargs basename) +phpapiver5=$(shell /usr/bin/php-config5 --phpapi) + +configure-v4 configure-v5: configure-v%: configure-stamp-v% +configure-stamp-v4 configure-stamp-v5: configure-stamp-v%: + dh_testdir + # Add here commands to configure the package. + (cd $(SOURCE_DIR); \ + $(PHPIZE)$*; \ + ./configure --with-php-config=$(PHPCONFIG)$* --prefix=/usr) + rm -f configure-stamp-v* + touch $@ + +build: $(BUILDTARGETS) + +build-v4 build-v5: build-v%: build-stamp-v% + +build-stamp: + xsltproc --nonet --novalid debian/changelog.xsl package.xml > debian/Changelog + touch build-stamp + +build-stamp-v4 build-stamp-v5: build-stamp-v%: build-stamp configure-stamp-v% + dh_testdir + + # Add here commands to compile the package. + (cd $(SOURCE_DIR); $(MAKE)) + rm -f build-stamp-v* + touch $@ + +clean: $(CLEANTARGETS) + dh_clean + +clean-v4 clean-v5: clean-v%: + dh_testdir + dh_testroot + rm -f build-stamp* configure-stamp* + + # Add here commands to clean up after the build process. + (cd $(SOURCE_DIR); \ + $(MAKE) clean; \ + $(PHPIZE)$* --clean) + +install-v4 install-v5: install-v%: build-v% + dh_testdir + dh_testroot + # can't dh_clean here without specifically excluding the possibly existing installed dirs + # for other version. + #dh_clean -k + dh_installdirs +# dh_pecl + + # Add here commands to install the package into debian/$(PACKAGE_NAME). +# $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(PACKAGE_NAME) install +# sh -c 'VERSION=`egrep "#define ZEND_MODULE_API_NO" \ +# /usr/include/php4/Zend/zend_modules.h \ +# | sed "s/#define ZEND_MODULE_API_NO //"`; \ +# chmod 644 debian/$(PACKAGE_NAME)/usr/lib/php4/$$VERSION/*.so' + mkdir -p debian/$(BIN_PACKAGE_NAME)/$(EXT_DIR) + install -m 644 -o root -g root $(SOURCE_DIR)/modules/$(PECL_PKG_NAME).so debian/$(BIN_PACKAGE_NAME)/$(EXT_DIR)/$(PECL_PKG_NAME).so + +# Build architecture-independent files here. +binary-indep: +# We have nothing to do by default. + +# Build architecture-dependent files here. + +binary-arch-v4 binary-arch-v5: binary-arch-v%: install-v% + echo "php:Depends=phpapi-$(phpapiver$*)" >> debian/$(BIN_PACKAGE_NAME).substvars + +binary-arch: $(BINARYTARGETS) + dh_testdir + dh_testroot + dh_installchangelogs debian/Changelog + dh_installdocs + dh_installexamples +# dh_install --sourcedir=debian/$(BIN_PACKAGE_NAME) +# dh_installmenu + dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo +# dh_installman +# dh_link +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + dh_strip +endif + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build build-v4 build-v5 clean clean-v4 clean-v5 binary-indep binary-arch binary-arch-v4 binary-arch-v5 binary install-v4 install-v5 configure-v4 configure-v5 --- php-imagick-0.9.11.orig/debian/changelog +++ php-imagick-0.9.11/debian/changelog @@ -0,0 +1,6 @@ +php-imagick (0.9.11-1) unstable; urgency=low + + * Initial Release. + + -- Korbinian Rosenegger Sun, 28 Jan 2007 00:09:15 +0100 + --- php-imagick-0.9.11.orig/debian/README.Debian +++ php-imagick-0.9.11/debian/README.Debian @@ -0,0 +1,7 @@ +php-imagick for Debian +-------------------------- + +This extension has been created with dh-make-pecl which is part +of dh-make-php. + + -- Korbinian Rosenegger , Sun, 28 Jan 2007 00:09:15 +0100 --- php-imagick-0.9.11.orig/debian/watch +++ php-imagick-0.9.11/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://pecl.php.net/package/imagick \ + /get/imagick-([\d\.]*).tgz debian uupdate --- php-imagick-0.9.11.orig/debian/control +++ php-imagick-0.9.11/debian/control @@ -0,0 +1,41 @@ +Source: php-imagick +Section: web +Priority: optional +Maintainer: Korbinian Rosenegger +Build-Depends: debhelper (>= 4), po-debconf, xsltproc , php4-dev , php5-dev , libmagick6-dev +Standards-Version: 3.7.2 + +Package: php4-imagick +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, php4|php4-cli +Description: imagick module for PHP 4 + Provides a wrapper to the ImageMagick/GraphicsMagick library. + . + It's a native php-extension. + See the examples in the examples/ directory for some hints on + how to use it. + A compiled windows extension is available at + http://kromann.info/pear-pecl.php . + You need the ImageMagick libraries from www.imagemagick.org + or GraphicsMagick libraries from + http://www.graphicsmagick.org/ to get it running. + ImageMagick 6 support is EXPERIMENTAL. Please report + successes or failures. + +Package: php5-imagick +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, php5|php5-cli +Description: imagick module for PHP 5 + Provides a wrapper to the ImageMagick/GraphicsMagick library. + . + It's a native php-extension. + See the examples in the examples/ directory for some hints on + how to use it. + A compiled windows extension is available at + http://kromann.info/pear-pecl.php . + You need the ImageMagick libraries from www.imagemagick.org + or GraphicsMagick libraries from + http://www.graphicsmagick.org/ to get it running. + ImageMagick 6 support is EXPERIMENTAL. Please report + successes or failures. + --- php-imagick-0.9.11.orig/debian/po/templates.pot +++ php-imagick-0.9.11/debian/po/templates.pot @@ -0,0 +1,55 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-02-15 10:13+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Should ${extname} be added to /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"You are installing ${extname} support for php${phpversion}, and it is not yet enabled in " +"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " +"be enabled now?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:12 +msgid "Should ${extname} be removed from /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:12 +msgid "" +"You are removing ${extname} support for php${phpversion}, but it is still enabled in the " +"configuration for the ${sapiconfig} SAPI. Leaving this in place will " +"probably cause problems when trying to use PHP." +msgstr "" --- php-imagick-0.9.11.orig/debian/po/ca.po +++ php-imagick-0.9.11/debian/po/ca.po @@ -0,0 +1,52 @@ +# php4-ps (debconf) translation to Catalan. +# Copyright (C) 2004 Free Software Foundation, Inc. +# Aleix Badia i Bosch , 2004 +# +msgid "" +msgstr "" +"Project-Id-Version: php4-ps:1.3.1-3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-11-10 10:49-0700\n" +"PO-Revision-Date: 2004-01-31 19:46GMT\n" +"Last-Translator: Aleix Badia i Bosch \n" +"Language-Team: Debian L10n Catalan \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: templates:4 +msgid "Should ${extname} be added to /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "Voleu afegir l'extensió ${extname} a /etc/php${phpversion}/${sapiconfig}/php.ini?" + +#. Type: boolean +#. Description +#: templates:4 +msgid "" +"You are installing ${extname} support for php${phpversion}, and it is not yet enabled in " +"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " +"be enabled now?" +msgstr "" +"Esteu instal·lant el suport de l'extensió ${extname} per a php${phpversion} i encara no " +"està habilitat a la configuració del SAPI ${sapiconfig}. Voleu habilitar " +"aquesta extensió?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "Should ${extname} be removed from /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "" +"Voleu suprimir l'extensió ${extname} de /etc/php${phpversion}/${sapiconfig}/php.ini?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "" +"You are removing ${extname} support for php${phpversion}, but it is still enabled in the " +"configuration for the ${sapiconfig} SAPI. Leaving this in place will " +"probably cause problems when trying to use PHP." +msgstr "" +"Esteu suprimint el suport de l'extensió ${extname} per a php${phpversion} però continua " +"habilitat a la configuració del SAPI ${sapiconfig}. Si ho deixeu activat pot " +"provocar problemes a l'intentar utilitzar el php." --- php-imagick-0.9.11.orig/debian/po/da.po +++ php-imagick-0.9.11/debian/po/da.po @@ -0,0 +1,62 @@ +# translation of php4_4:4.3.3-5_templates.po to Danish +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans# +# Developers do not need to manually edit POT or PO files. +# Claus Hindsgaul , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: php4-ps:1.3.1-3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-11-10 10:49-0700\n" +"PO-Revision-Date: 2004-02-20 17:04+0100\n" +"Last-Translator: Claus Hindsgaul \n" +"Language-Team: Danish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.3\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: boolean +#. Description +#: templates:4 +msgid "Should ${extname} be added to /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "Skal ${extname} tilfjes i /etc/php${phpversion}/${sapiconfig}/php.ini?" + +#. Type: boolean +#. Description +#: templates:4 +msgid "" +"You are installing ${extname} support for php${phpversion}, and it is not yet enabled in " +"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " +"be enabled now?" +msgstr "" +"Du er ved at installere understttelse for ${extname} i php${phpversion}, og den er " +"endnu ikke aktiveret i opstningen for ${sapiconfig}-SAPI'en. nsker du at " +"aktivere denne udvidelse nu?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "Should ${extname} be removed from /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "Skal ${extname} fjernes fra /etc/php${phpversion}/${sapiconfig}/php.ini?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "" +"You are removing ${extname} support for php${phpversion}, but it is still enabled in the " +"configuration for the ${sapiconfig} SAPI. Leaving this in place will " +"probably cause problems when trying to use PHP." +msgstr "" +"Du er ved at fjerne understttelse for ${extname} i php${phpversion}, og den er stadig " +"aktiveret i opstningen for ${sapiconfig}-SAPI'en. Hvis du lader det vre, " +"vi du sikkert f problemer med at bruge PHP." --- php-imagick-0.9.11.orig/debian/po/cs.po +++ php-imagick-0.9.11/debian/po/cs.po @@ -0,0 +1,59 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: php4-ps:1.3.1-3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-11-10 10:49-0700\n" +"PO-Revision-Date: 2004-09-29 15:30+0200\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-2\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: templates:4 +msgid "Should ${extname} be added to /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "M se ${extname} pidat do /etc/php${phpversion}/${sapiconfig}/php.ini?" + +#. Type: boolean +#. Description +#: templates:4 +msgid "" +"You are installing ${extname} support for php${phpversion}, and it is not yet enabled in " +"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " +"be enabled now?" +msgstr "" +"Instalujete podporu ${extname} pro php${phpversion}, kter jet nen povolena v " +"konfiguraci pro ${sapiconfig} SAPI. Chcete povolit tento modul?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "Should ${extname} be removed from /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "M se ${extname} odstranit z /etc/php${phpversion}/${sapiconfig}/php.ini?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "" +"You are removing ${extname} support for php${phpversion}, but it is still enabled in the " +"configuration for the ${sapiconfig} SAPI. Leaving this in place will " +"probably cause problems when trying to use PHP." +msgstr "" +"Odstraujete podporu ${extname} pro php${phpversion}, kter je stle povolena v " +"konfiguraci pro ${sapiconfig} SAPI. To me zpsobit problmy pi pouvn " +"PHP." --- php-imagick-0.9.11.orig/debian/po/tr.po +++ php-imagick-0.9.11/debian/po/tr.po @@ -0,0 +1,52 @@ +# Turkish translation of php4-ps. +# This file is distributed under the same license as the php4-ps package. +# Mehmet Türker , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: php4-ps:1.3.1-3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-11-10 10:49-0700\n" +"PO-Revision-Date: 2004-05-10 04:34+0300\n" +"Last-Translator: Mehmet Türker \n" +"Language-Team: Turkish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. Type: boolean +#. Description +#: templates:4 +msgid "Should ${extname} be added to /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "${extname} /etc/php${phpversion}/${sapiconfig}/php.ini dosyasına eklenmeli mi?" + +#. Type: boolean +#. Description +#: templates:4 +msgid "" +"You are installing ${extname} support for php${phpversion}, and it is not yet enabled in " +"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " +"be enabled now?" +msgstr "" +"Php4 için ${sapiconfig} desteğini kuruyorsunuz ve bu henüz ${sapiconfig} " +"SAPI tanımında etkinleştirilmemiş. Bu uzantının şimdi etkinleştirilmesini " +"ister misiniz?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "Should ${extname} be removed from /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "${extname} /etc/php${phpversion}/${sapiconfig}/php.ini dosyasından çıkartılsın mı?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "" +"You are removing ${extname} support for php${phpversion}, but it is still enabled in the " +"configuration for the ${sapiconfig} SAPI. Leaving this in place will " +"probably cause problems when trying to use PHP." +msgstr "" +"Php4 için ${extname} desteğini kaldırıyorsunuz, fakat bu destek, " +"${sapiconfig} SAPI yapılandırmasında hâlâ etkin. Bu şekilde bırakmak büyük " +"ihtimalle PHP'yi kullanmayı denerken sorunlara yol açacak." --- php-imagick-0.9.11.orig/debian/po/pt_BR.po +++ php-imagick-0.9.11/debian/po/pt_BR.po @@ -0,0 +1,61 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: php4-ps:1.3.1-3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-11-10 10:49-0700\n" +"PO-Revision-Date: 2003-08-24 21:55-0300\n" +"Last-Translator: Andr Lus Lopes \n" +"Language-Team: Debian-BR Project \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: templates:4 +msgid "Should ${extname} be added to /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "${extname} deve ser adicionado a /etc/php${phpversion}/${sapiconfig}/php.ini ?" + +#. Type: boolean +#. Description +#: templates:4 +msgid "" +"You are installing ${extname} support for php${phpversion}, and it is not yet enabled in " +"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " +"be enabled now?" +msgstr "" +"Voc est instalando o suporte a ${extname} para o php${phpversion} e o mesmo ainda no " +"est habilitado para a configurao SAPI ${sapiconfig}. Voc deseja que essa " +"extenso seja habilitada agora ?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "Should ${extname} be removed from /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "${extname} deve ser removido de /etc/php${phpversion}/${sapiconfig}/php.ini ?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "" +"You are removing ${extname} support for php${phpversion}, but it is still enabled in the " +"configuration for the ${sapiconfig} SAPI. Leaving this in place will " +"probably cause problems when trying to use PHP." +msgstr "" +"Voc est removendo o suporte a ${extname} para o php${phpversion} e o mesmo ainda " +"continua habilitado para a configurao SAPI ${sapiconfig}. Mant-lo onde " +"est atualmente provavelmente ir causar problemas quando voc tentar usar o " +"PHP." --- php-imagick-0.9.11.orig/debian/po/es.po +++ php-imagick-0.9.11/debian/po/es.po @@ -0,0 +1,68 @@ +# php4 debconf translation to spanish +# Copyright (C) 2004 Software in the Public Interest +# This file is distributed under the same license as the php4 package. +# +# Changes: +# - Initial translation +# Carlos Valdivia Yage , 2004 +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: php4-ps:1.3.1-3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-11-10 10:49-0700\n" +"PO-Revision-Date: 2004-02-14 12:35+0100\n" +"Last-Translator: Carlos Valdivia Yage \n" +"Language-Team: Debian L10n Spanish Team \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: templates:4 +msgid "Should ${extname} be added to /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "Desea aadir ${extname} a /etc/php${phpversion}/${sapiconfig}/php.ini?" + +#. Type: boolean +#. Description +#: templates:4 +msgid "" +"You are installing ${extname} support for php${phpversion}, and it is not yet enabled in " +"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " +"be enabled now?" +msgstr "" +"Est aadiendo soporte de ${extname} para php${phpversion} pero an no est activado en " +"la configuracin para la ${sapiconfig} SAPI. Quiere activar la extensin " +"ahora?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "Should ${extname} be removed from /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "Quiere borrar ${extname} de /etc/php${phpversion}/${sapiconfig}/php.ini?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "" +"You are removing ${extname} support for php${phpversion}, but it is still enabled in the " +"configuration for the ${sapiconfig} SAPI. Leaving this in place will " +"probably cause problems when trying to use PHP." +msgstr "" +"Est quitando soporte de ${extname} para php${phpversion} pero an est activado en la " +"configuracin de la ${sapiconfig} SAPI. Si lo deja as es muy posible que le " +"cause problemas al intentar usar PHP." --- php-imagick-0.9.11.orig/debian/po/fr.po +++ php-imagick-0.9.11/debian/po/fr.po @@ -0,0 +1,59 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: php4-ps:1.3.1-3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-11-10 10:49-0700\n" +"PO-Revision-Date: 2003-08-22 10:23+0200\n" +"Last-Translator: Michel Grentzinger \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: templates:4 +msgid "Should ${extname} be added to /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "Faut-il ajouter ${extname} /etc/php${phpversion}/${sapiconfig}/php.ini?" + +#. Type: boolean +#. Description +#: templates:4 +msgid "" +"You are installing ${extname} support for php${phpversion}, and it is not yet enabled in " +"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " +"be enabled now?" +msgstr "" +"Vous installez la gestion de ${extname} par php${phpversion} et celle-ci n'est pas " +"encore active dans la configuration ${sapiconfig} SAPI. Souhaitez-vous que " +"cette extension soit active maintenant?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "Should ${extname} be removed from /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "Faut-il supprimer ${extname} de /etc/php${phpversion}/${sapiconfig}/php.ini?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "" +"You are removing ${extname} support for php${phpversion}, but it is still enabled in the " +"configuration for the ${sapiconfig} SAPI. Leaving this in place will " +"probably cause problems when trying to use PHP." +msgstr "" +"Vous tes en train de supprimer la gestion de ${extname} par php${phpversion} mais elle " +"est toujours active dans la configuration ${sapiconfig} SAPI. Si vous " +"laissez cela en l'tat, vous aurez sans doute des problmes lorsque vous " +"essayerez d'utiliser PHP." --- php-imagick-0.9.11.orig/debian/po/de.po +++ php-imagick-0.9.11/debian/po/de.po @@ -0,0 +1,61 @@ +# translation of php4 debconf messages to German +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans# +# Developers do not need to manually edit POT or PO files. +# Alwin Meschede , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: php4-ps:1.3.1-3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-11-10 10:49-0700\n" +"PO-Revision-Date: 2004-02-11 17:42+0100\n" +"Last-Translator: Alwin Meschede \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.0.2\n" + +#. Type: boolean +#. Description +#: templates:4 +msgid "Should ${extname} be added to /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "Soll ${extname} zu /etc/php${phpversion}/${sapiconfig}/php.ini hinzugefügt werden?" + +#. Type: boolean +#. Description +#: templates:4 +msgid "" +"You are installing ${extname} support for php${phpversion}, and it is not yet enabled in " +"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " +"be enabled now?" +msgstr "" +"Sie installieren ${extname}-Unterstützung für php${phpversion}, und sie ist noch nicht " +"in der Konfiguration für die ${sapiconfig} SAPI aktiviert. Soll diese " +"Erweiterung jetzt aktiviert werden?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "Should ${extname} be removed from /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "Soll ${extname} aus /etc/php${phpversion}/${sapiconfig}/php.ini entfernt werden?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "" +"You are removing ${extname} support for php${phpversion}, but it is still enabled in the " +"configuration for the ${sapiconfig} SAPI. Leaving this in place will " +"probably cause problems when trying to use PHP." +msgstr "" +"Sie entfernen ${extname}-Unterstützung für php${phpversion}, aber sie ist immer noch in " +"der Konfiguration für die ${sapiconfig} SAPI aktiviert. Dies so zu belassen " +"kann möglicherweise Probleme bei der Verwendung von PHP verursachen." --- php-imagick-0.9.11.orig/debian/po/sv.po +++ php-imagick-0.9.11/debian/po/sv.po @@ -0,0 +1,56 @@ +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# Developers do not need to manually edit POT or PO files. +# , fuzzy +# +# +msgid "" +msgstr "" +"Project-Id-Version: php4-ps 1.3.1-6\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-02-15 10:13+0100\n" +"PO-Revision-Date: 2005-09-29 19:00-0700\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "Should ${extname} be added to /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "Ska ${extname} lggas till i /etc/php${phpversion}/${sapiconfig}/php.ini?" + +#. Type: boolean +#. Description +#: ../templates:4 +msgid "" +"You are installing ${extname} support for php${phpversion}, and it is not yet enabled in " +"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " +"be enabled now?" +msgstr "" +"Du installerar ${extname} std fr php${phpversion} och den r nnu inte aktiverad i konfigurationen fr ${sapiconfig} SAPI. Vill du aktivera den nu?" + +#. Type: boolean +#. Description +#: ../templates:12 +msgid "Should ${extname} be removed from /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "Ska ${extname} raderas frn /etc/php${phpversion}/${sapiconfig}/php.ini?" + +#. Type: boolean +#. Description +#: ../templates:12 +msgid "" +"You are removing ${extname} support for php${phpversion}, but it is still enabled in the " +"configuration for the ${sapiconfig} SAPI. Leaving this in place will " +"probably cause problems when trying to use PHP." +msgstr "" +"Du tar bort ${extname} stdet fr php${phpversion} och den r fortfarande aktiverad i konfigurationen fr ${sapiconfig} SAPI. Lmna den aktiverad kan skapa problem nr du anvnder PHP." + --- php-imagick-0.9.11.orig/debian/po/nl.po +++ php-imagick-0.9.11/debian/po/nl.po @@ -0,0 +1,61 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: php4-ps:1.3.1-3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-11-10 10:49-0700\n" +"PO-Revision-Date: 2003-11-10 14:15+0100\n" +"Last-Translator: Tim Dijkstra \n" +"Language-Team: Debian l10n Dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: templates:4 +msgid "Should ${extname} be added to /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "" +"Dient ${extname} te worden toegevoegd aan /etc/php${phpversion}/${sapiconfig}/php.ini?" + +#. Type: boolean +#. Description +#: templates:4 +msgid "" +"You are installing ${extname} support for php${phpversion}, and it is not yet enabled in " +"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " +"be enabled now?" +msgstr "" +"U bent ${extname}-ondersteuning voor php${phpversion} aan het installeren, maar het is " +"nog niet geactiveerd in de configuratie van de ${sapiconfig}-SAPI. Wilt u " +"deze uitbreiding nu activeren?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "Should ${extname} be removed from /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "Moet ${extname} worden verwijderd uit /etc/php${phpversion}/${sapiconfig}/php.ini?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "" +"You are removing ${extname} support for php${phpversion}, but it is still enabled in the " +"configuration for the ${sapiconfig} SAPI. Leaving this in place will " +"probably cause problems when trying to use PHP." +msgstr "" +"U bent ${extname}-ondersteuning voor php${phpversion} aan het verwijderen, maar het is " +"nog wel geactiveerd in de configuratie van de ${sapiconfig}-SAPI. Dit kan " +"problemen veroorzaken tijdens het gebruik van PHP." --- php-imagick-0.9.11.orig/debian/po/ja.po +++ php-imagick-0.9.11/debian/po/ja.po @@ -0,0 +1,60 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: php4-ps:1.3.1-3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-11-10 10:49-0700\n" +"PO-Revision-Date: 2003-11-29 08:35+0900\n" +"Last-Translator: Hideki Yamane \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=EUC-JP\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: templates:4 +msgid "Should ${extname} be added to /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "${extname} /etc/php${phpversion}/${sapiconfig}/php.ini ɲäޤ?" + +#. Type: boolean +#. Description +#: templates:4 +msgid "" +"You are installing ${extname} support for php${phpversion}, and it is not yet enabled in " +"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " +"be enabled now?" +msgstr "" +"php${phpversion} ؤ ${extname} ǽΥݡȤ򥤥󥹥ȡ뤷Ƥޤޤ " +"${sapiconfig} SAPI ꤬ͭˤʤäƤޤ󡣤γĥǽ򤹤ͭˤ" +"ޤ?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "Should ${extname} be removed from /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "${extname} /etc/php${phpversion}/${sapiconfig}/php.ini ޤ?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "" +"You are removing ${extname} support for php${phpversion}, but it is still enabled in the " +"configuration for the ${sapiconfig} SAPI. Leaving this in place will " +"probably cause problems when trying to use PHP." +msgstr "" +"php${phpversion} ؤ ${extname} ǽΥݡȤƤޤޤ ${sapiconfig} " +"SAPI ͭˤʤäޤޤǤΤޤޤξ硢PHP Ѥ褦Ȥݤ" +"餯꤬ޤ" --- php-imagick-0.9.11.orig/debian/po/it.po +++ php-imagick-0.9.11/debian/po/it.po @@ -0,0 +1,47 @@ +msgid "" +msgstr "" +"Project-Id-Version: php4-ps:1.3.1-3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2004-11-10 10:49-0700\n" +"PO-Revision-Date: 2004-11-09 11:00+0100\n" +"Last-Translator: Stefano Melchior \n" +"Language-Team: Italian Team \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: templates:4 +msgid "Should ${extname} be added to /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "Si deve aggiungere ${extname} a /etc/php${phpversion}/${sapiconfig}/php.ini?" + +#. Type: boolean +#. Description +#: templates:4 +msgid "" +"You are installing ${extname} support for php${phpversion}, and it is not yet enabled in " +"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " +"be enabled now?" +msgstr "" +"Si sta installando il supporto ${extname} per php${phpversion} e non si abilitato " +"ancora la configurazione ${sapiconfig} della SAPI. Abilitare questa " +"estensione ora?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "Should ${extname} be removed from /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "Si deve rimuovere ${extname} da /etc/php${phpversion}/${sapiconfig}/php.ini?" + +#. Type: boolean +#. Description +#: templates:12 +msgid "" +"You are removing ${extname} support for php${phpversion}, but it is still enabled in the " +"configuration for the ${sapiconfig} SAPI. Leaving this in place will " +"probably cause problems when trying to use PHP." +msgstr "" +"Si sta rimuovendo il supporto di ${extname} da php${phpversion}, bench sia ancora " +"abilitato nella configurazione ${sapiconfig} della SAPI. Lasciando cos si " +"potranno creare dei problemi quando si cercher di usare PHP." --- php-imagick-0.9.11.orig/debian/po/POTFILES.in +++ php-imagick-0.9.11/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates --- php-imagick-0.9.11.orig/debian/po/vi.po +++ php-imagick-0.9.11/debian/po/vi.po @@ -0,0 +1,47 @@ +# Vietnamese translation for php4-ps. +# Copyright © 2005 Free Software Foundation, Inc. +# Clytie Siddall , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: php4-ps 1.3.1-5.1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-02-15 10:13+0100\n" +"PO-Revision-Date: 2005-07-04 14:43+0930\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0\n" +"X-Generator: LocFactoryEditor 1.2.2\n" + +#.Type: boolean +#.Description +#:../templates:4 +msgid "Should ${extname} be added to /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "Có nên thêm «${extname}» vào «/etc/php${phpversion}/${sapiconfig}/php.ini» không?" + +#.Type: boolean +#.Description +#:../templates:4 +msgid "" +"You are installing ${extname} support for php${phpversion}, and it is not yet enabled in " +"the configuration for the ${sapiconfig} SAPI. Do you want this extension to " +"be enabled now?" +msgstr "Lúc này bạn đang cài đặt cách hỗ trợ «${extname}» cho PHP${phpversion}, nhưng mà nó chưa bật trong cấu hình cho SAPI «${sapiconfig}». Bạn có muốn hiệu lực phần mở rộng này ngay bây giờ không?" + +#.Type: boolean +#.Description +#:../templates:12 +msgid "Should ${extname} be removed from /etc/php${phpversion}/${sapiconfig}/php.ini?" +msgstr "Có nên loại bỏ «${extname}» ra «/etc/php${phpversion}/${sapiconfig}/php.ini» không?" + +#.Type: boolean +#.Description +#:../templates:12 +msgid "" +"You are removing ${extname} support for php${phpversion}, but it is still enabled in the " +"configuration for the ${sapiconfig} SAPI. Leaving this in place will " +"probably cause problems when trying to use PHP." +msgstr "Lúc này bạn đang loại bỏ cách hỗ trợ «${extname}» ra PHP${phpversion}, nhưng mà nó vẫn còn bật trong cấu hình cho SAPI «${sapiconfig}». Nếu bạn không vô hiệu hóa nó, rất có thể gây ra lỗi trong khi cố sử dụng PHP." --- php-imagick-0.9.11.orig/debian/php4-imagick.postinst +++ php-imagick-0.9.11/debian/php4-imagick.postinst @@ -0,0 +1,58 @@ +#!/bin/sh -e + +PECL_NAME=imagick +PHP_VERSION=4 + +# Source debconf library. +. /usr/share/debconf/confmodule + +if [ "$DPKG_DEBUG" = "developer" ]; then + set -x +fi + +if [ "$1" != "configure" ]; then + exit 0 +fi + +##DEBHELPER## + +for SAPI in apache2 apache cgi cli; do + if [ -f /etc/php${PHP_VERSION}/$SAPI/php.ini ]; then + db_get php${PHP_VERSION}/extension_${PECL_NAME}_$SAPI + if [ "$RET" = "true" ] \ + && ! grep -q "^[[:space:]]*extension[[:space:]]*=[[:space:]]*${PECL_NAME}\.so" /etc/php${PHP_VERSION}/$SAPI/php.ini + then + echo "extension=${PECL_NAME}.so" >> /etc/php${PHP_VERSION}/$SAPI/php.ini + fi + fi +done + +exit 0 + +# Restart apache(s) so settings get refreshed +if [ -d /etc/php${PHP_VERSION}/apache2 ]; then + for srv in apache2 ; do + if [ -x "/etc/init.d/$srv" ]; then + if [ -x /usr/sbin/invoke-rc.d ]; then + /usr/sbin/invoke-rc.d $srv force-reload + else + /etc/init.d/$srv force-reload + fi + fi + done +fi + +if [ -d /etc/php${PHP_VERSION}/apache ]; then + for srv in apache apache-ssl apache-perl ; do + if [ -x "/etc/init.d/$srv" ]; then + if [ -x /usr/sbin/invoke-rc.d ]; then + /usr/sbin/invoke-rc.d $srv force-reload + else + /etc/init.d/$srv force-reload + fi + fi + done +fi + +exit 0 + --- php-imagick-0.9.11.orig/debian/php4-imagick.prerm +++ php-imagick-0.9.11/debian/php4-imagick.prerm @@ -0,0 +1,63 @@ +#!/bin/sh -e + +PECL_NAME=imagick +PHP_VERSION=4 + +# Source debconf library. +. /usr/share/debconf/confmodule + +if [ "$DPKG_DEBUG" = "developer" ]; then + set -x +fi + +if [ "$1" != "remove" ] && [ "$1" != "purge" ]; then + exit 0 +fi + +##DEBHELPER## + +EXTENSIONRE="^[[:space:]]*extension[[:space:]]*=[[:space:]]*${PECL_NAME}\.so" + +for SAPI in apache apache2 cgi cli +do + # Use the same question for all extensions, because it's only + # used once per package: right here. + if [ -f "/etc/php${PHP_VERSION}/$SAPI/php.ini" ] \ + && grep -q "$EXTENSIONRE" /etc/php${PHP_VERSION}/$SAPI/php.ini + then + db_set php${PHP_VERSION}/remove_extension true + db_title "PHP" + db_subst php${PHP_VERSION}/remove_extension extname ${PECL_NAME} + db_subst php${PHP_VERSION}/remove_extension sapiconfig $SAPI + db_input low php${PHP_VERSION}/remove_extension || true + db_go + + db_get php${PHP_VERSION}/remove_extension + if [ "$RET" = "true" ]; then + grep -v "$EXTENSIONRE" < /etc/php${PHP_VERSION}/$SAPI/php.ini \ + > /etc/php${PHP_VERSION}/$SAPI/php.ini.${PECL_NAME}remove + chmod --reference=/etc/php${PHP_VERSION}/$SAPI/php.ini \ + /etc/php${PHP_VERSION}/$SAPI/php.ini.${PECL_NAME}remove + mv /etc/php${PHP_VERSION}/$SAPI/php.ini.${PECL_NAME}remove \ + /etc/php${PHP_VERSION}/$SAPI/php.ini + fi + db_fset php${PHP_VERSION}/remove_extension seen false + fi +done + +exit 0 + +# Restart apache(s) so settings get refreshed +if [ -d /etc/php${PHP_VERSION}/apache/ ] || [ -d /etc/php${PHP_VERSION}/apache2/ ]; then + for srv in apache2 apache apache-ssl apache-perl; do + if [ -x "/etc/init.d/$srv" ]; then + if [ -x /usr/sbin/invoke-rc.d ]; then + /usr/sbin/invoke-rc.d $srv force-reload + else + /etc/init.d/$srv force-reload + fi + fi + done +fi + +exit 0 --- php-imagick-0.9.11.orig/debian/php4-imagick.dirs +++ php-imagick-0.9.11/debian/php4-imagick.dirs @@ -0,0 +1 @@ +usr/lib/php4 --- php-imagick-0.9.11.orig/debian/php4-imagick.config +++ php-imagick-0.9.11/debian/php4-imagick.config @@ -0,0 +1,31 @@ +#!/bin/sh -e + +PECL_NAME=imagick +PHP_VERSION=4 + +# Source debconf library. +. /usr/share/debconf/confmodule + +db_title "PHP" + +for SAPI in apache apache2 cgi cli +do + # Skip this loop if the config file isn't there (yet). + if [ -f "/etc/php${PHP_VERSION}/$SAPI/php.ini" ]; then + db_register php/add_extension php${PHP_VERSION}/extension_${PECL_NAME}_$SAPI + + if grep -q "^[[:space:]]*extension[[:space:]]*=[[:space:]]*${PECL_NAME}\.so" "/etc/php${PHP_VERSION}/$SAPI/php.ini" + then + db_set php${PHP_VERSION}/extension_${PECL_NAME}_$SAPI true + else + db_set php${PHP_VERSION}/extension_${PECL_NAME}_$SAPI false + fi + + db_subst php${PHP_VERSION}/extension_${PECL_NAME}_$SAPI extname ${PECL_NAME} + db_subst php${PHP_VERSION}/extension_${PECL_NAME}_$SAPI sapiconfig $SAPI + db_subst php${PHP_VERSION}/extension_${PECL_NAME}_$SAPI phpversion ${PHP_VERSION} + db_input low php${PHP_VERSION}/extension_${PECL_NAME}_$SAPI || true + fi +done + +db_go --- php-imagick-0.9.11.orig/debian/php4-imagick.templates +++ php-imagick-0.9.11/debian/php4-imagick.templates @@ -0,0 +1,15 @@ +Template: php/add_extension +Type: boolean +Default: true +_Description: Should ${extname} be added to /etc/php${phpversion}/${sapiconfig}/php.ini? + You are installing ${extname} support for php${phpversion}, and it is not yet + enabled in the configuration for the ${sapiconfig} SAPI. Do you want + this extension to be enabled now? + +Template: php/remove_extension +Type: boolean +Default: true +_Description: Should ${extname} be removed from /etc/php${phpversion}/${sapiconfig}/php.ini? + You are removing ${extname} support for php${phpversion}, but it is still enabled + in the configuration for the ${sapiconfig} SAPI. Leaving this in place + will probably cause problems when trying to use PHP. --- php-imagick-0.9.11.orig/debian/php5-imagick.postinst +++ php-imagick-0.9.11/debian/php5-imagick.postinst @@ -0,0 +1,58 @@ +#!/bin/sh -e + +PECL_NAME=imagick +PHP_VERSION=5 + +# Source debconf library. +. /usr/share/debconf/confmodule + +if [ "$DPKG_DEBUG" = "developer" ]; then + set -x +fi + +if [ "$1" != "configure" ]; then + exit 0 +fi + +##DEBHELPER## + +for SAPI in apache2 apache cgi cli; do + if [ -f /etc/php${PHP_VERSION}/$SAPI/php.ini ]; then + db_get php${PHP_VERSION}/extension_${PECL_NAME}_$SAPI + if [ "$RET" = "true" ] \ + && ! grep -q "^[[:space:]]*extension[[:space:]]*=[[:space:]]*${PECL_NAME}\.so" /etc/php${PHP_VERSION}/$SAPI/php.ini + then + echo "extension=${PECL_NAME}.so" >> /etc/php${PHP_VERSION}/$SAPI/php.ini + fi + fi +done + +exit 0 + +# Restart apache(s) so settings get refreshed +if [ -d /etc/php${PHP_VERSION}/apache2 ]; then + for srv in apache2 ; do + if [ -x "/etc/init.d/$srv" ]; then + if [ -x /usr/sbin/invoke-rc.d ]; then + /usr/sbin/invoke-rc.d $srv force-reload + else + /etc/init.d/$srv force-reload + fi + fi + done +fi + +if [ -d /etc/php${PHP_VERSION}/apache ]; then + for srv in apache apache-ssl apache-perl ; do + if [ -x "/etc/init.d/$srv" ]; then + if [ -x /usr/sbin/invoke-rc.d ]; then + /usr/sbin/invoke-rc.d $srv force-reload + else + /etc/init.d/$srv force-reload + fi + fi + done +fi + +exit 0 + --- php-imagick-0.9.11.orig/debian/php5-imagick.prerm +++ php-imagick-0.9.11/debian/php5-imagick.prerm @@ -0,0 +1,63 @@ +#!/bin/sh -e + +PECL_NAME=imagick +PHP_VERSION=5 + +# Source debconf library. +. /usr/share/debconf/confmodule + +if [ "$DPKG_DEBUG" = "developer" ]; then + set -x +fi + +if [ "$1" != "remove" ] && [ "$1" != "purge" ]; then + exit 0 +fi + +##DEBHELPER## + +EXTENSIONRE="^[[:space:]]*extension[[:space:]]*=[[:space:]]*${PECL_NAME}\.so" + +for SAPI in apache apache2 cgi cli +do + # Use the same question for all extensions, because it's only + # used once per package: right here. + if [ -f "/etc/php${PHP_VERSION}/$SAPI/php.ini" ] \ + && grep -q "$EXTENSIONRE" /etc/php${PHP_VERSION}/$SAPI/php.ini + then + db_set php${PHP_VERSION}/remove_extension true + db_title "PHP" + db_subst php${PHP_VERSION}/remove_extension extname ${PECL_NAME} + db_subst php${PHP_VERSION}/remove_extension sapiconfig $SAPI + db_input low php${PHP_VERSION}/remove_extension || true + db_go + + db_get php${PHP_VERSION}/remove_extension + if [ "$RET" = "true" ]; then + grep -v "$EXTENSIONRE" < /etc/php${PHP_VERSION}/$SAPI/php.ini \ + > /etc/php${PHP_VERSION}/$SAPI/php.ini.${PECL_NAME}remove + chmod --reference=/etc/php${PHP_VERSION}/$SAPI/php.ini \ + /etc/php${PHP_VERSION}/$SAPI/php.ini.${PECL_NAME}remove + mv /etc/php${PHP_VERSION}/$SAPI/php.ini.${PECL_NAME}remove \ + /etc/php${PHP_VERSION}/$SAPI/php.ini + fi + db_fset php${PHP_VERSION}/remove_extension seen false + fi +done + +exit 0 + +# Restart apache(s) so settings get refreshed +if [ -d /etc/php${PHP_VERSION}/apache/ ] || [ -d /etc/php${PHP_VERSION}/apache2/ ]; then + for srv in apache2 apache apache-ssl apache-perl; do + if [ -x "/etc/init.d/$srv" ]; then + if [ -x /usr/sbin/invoke-rc.d ]; then + /usr/sbin/invoke-rc.d $srv force-reload + else + /etc/init.d/$srv force-reload + fi + fi + done +fi + +exit 0 --- php-imagick-0.9.11.orig/debian/php5-imagick.dirs +++ php-imagick-0.9.11/debian/php5-imagick.dirs @@ -0,0 +1 @@ +usr/lib/php5 --- php-imagick-0.9.11.orig/debian/php5-imagick.config +++ php-imagick-0.9.11/debian/php5-imagick.config @@ -0,0 +1,31 @@ +#!/bin/sh -e + +PECL_NAME=imagick +PHP_VERSION=5 + +# Source debconf library. +. /usr/share/debconf/confmodule + +db_title "PHP" + +for SAPI in apache apache2 cgi cli +do + # Skip this loop if the config file isn't there (yet). + if [ -f "/etc/php${PHP_VERSION}/$SAPI/php.ini" ]; then + db_register php/add_extension php${PHP_VERSION}/extension_${PECL_NAME}_$SAPI + + if grep -q "^[[:space:]]*extension[[:space:]]*=[[:space:]]*${PECL_NAME}\.so" "/etc/php${PHP_VERSION}/$SAPI/php.ini" + then + db_set php${PHP_VERSION}/extension_${PECL_NAME}_$SAPI true + else + db_set php${PHP_VERSION}/extension_${PECL_NAME}_$SAPI false + fi + + db_subst php${PHP_VERSION}/extension_${PECL_NAME}_$SAPI extname ${PECL_NAME} + db_subst php${PHP_VERSION}/extension_${PECL_NAME}_$SAPI sapiconfig $SAPI + db_subst php${PHP_VERSION}/extension_${PECL_NAME}_$SAPI phpversion ${PHP_VERSION} + db_input low php${PHP_VERSION}/extension_${PECL_NAME}_$SAPI || true + fi +done + +db_go --- php-imagick-0.9.11.orig/debian/php5-imagick.templates +++ php-imagick-0.9.11/debian/php5-imagick.templates @@ -0,0 +1,15 @@ +Template: php/add_extension +Type: boolean +Default: true +_Description: Should ${extname} be added to /etc/php${phpversion}/${sapiconfig}/php.ini? + You are installing ${extname} support for php${phpversion}, and it is not yet + enabled in the configuration for the ${sapiconfig} SAPI. Do you want + this extension to be enabled now? + +Template: php/remove_extension +Type: boolean +Default: true +_Description: Should ${extname} be removed from /etc/php${phpversion}/${sapiconfig}/php.ini? + You are removing ${extname} support for php${phpversion}, but it is still enabled + in the configuration for the ${sapiconfig} SAPI. Leaving this in place + will probably cause problems when trying to use PHP. --- php-imagick-0.9.11.orig/debian/pecl +++ php-imagick-0.9.11/debian/pecl @@ -0,0 +1 @@ +modules/imagick.so --- php-imagick-0.9.11.orig/debian/Changelog +++ php-imagick-0.9.11/debian/Changelog @@ -0,0 +1,7 @@ +Version 0.9.11 - 2004-06-28 (beta) +---------------------------------------- +Notes: + - Fix some segfaults on errors (by Andrei Nigmatulin) + - EXPERIMENTAL support for ImageMagick >= 6.0.0 (hint by Stanislav Yadykin). + Please report successes or failures. +