debian/0000755000000000000000000000000012262061745007173 5ustar debian/copyright0000644000000000000000000001424412262061745011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: tcpdf Upstream-Contact: Nicolas Asuni Source: http://www.tcpdf.org/ Files: * Copyright: 2002-2013 Nicola Asuni - Tecnick.com LTD License: LGPL-3+ TCPDF 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 3 of the License, or (at your option) any later version. . TCPDF 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 TCPDF. If not, see . . On Debian systems, the complete text of the GNU Lesser General Public License version 3 can be found in "/usr/share/common-licenses/LGPL-3". Comment: All image files are their own sources and they can be opened and modified with free software. The images/*.ai files are encapsulated postcript files that can be opened and modified with scribus (even though they have been created with Adobe Illustrator as their extension shows). Files: fonts/ae*.z Copyright: 2003 Arabeyes Project License: GPL-2+ This package is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This package 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 General Public License for more details. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". Comment: The original TTF font files have been renamed for compatibility with TCPDF and compressed using the gzcompress PHP function that uses the ZLIB data format (.z files). Files: fonts/free*.z fonts/pdfa*.z Copyright: GNU FreeFont License: GPL-3+ Free UCS scalable fonts is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This package 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 General Public License for more details. . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/LGPL-3". Comment: The original TTF font files have been renamed for compatibility with TCPDF and compressed using the gzcompress PHP function that uses the ZLIB data format (.z files). Files: fonts/dejavu*.z Copyright: 2003 Bitstream, Inc. License: other Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license ("Fonts") and associated documentation files (the "Font Software"), to reproduce and distribute the Font Software, including without limitation the rights to use, copy, merge, publish, distribute, and/or sell copies of the Font Software, and to permit persons to whom the Font Software is furnished to do so, subject to the fpollowing conditions: . The above copyright and trademark notices and this permission notice shall be included in all copies of one or more of the Font Software typefaces. . The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words "Bitstream" or the word "Vera". . This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the "Bitstream Vera" names. . The Font Software may be sold as part of a larger software package but no copy of one or more of the Font Software typefaces may be sold by itself. . THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. . Except as contained in this notice, the names of Gnome, the Gnome Foundation, and Bitstream Inc., shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Font Software without prior written authorization from the Gnome Foundation or Bitstream Inc., respectively. For further information, contact: fonts at gnome dot org. Comment: The original TTF font files have been renamed for compatibility with TCPDF and compressed using the gzcompress PHP function that uses the ZLIB data format (.z files). Files: debian/* Copyright: 2013 Raphaël Hertzog License: LGPL-3+ This package 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 3 of the License, or (at your option) any later version. . This package 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. . On Debian systems, the complete text of the GNU Lesser General Public License version 3 can be found in "/usr/share/common-licenses/LGPL-3". debian/php-tcpdf.dirs0000644000000000000000000000002012262061745011733 0ustar var/cache/tcpdf debian/php-tcpdf.install0000644000000000000000000000024012262061745012444 0ustar *.php usr/share/php/tcpdf config usr/share/php/tcpdf include usr/share/php/tcpdf fonts/*.php usr/share/php/tcpdf/fonts fonts/*.z usr/share/php/tcpdf/fonts debian/php-tcpdf.examples0000644000000000000000000000001312262061745012612 0ustar examples/* debian/TODO0000644000000000000000000000033312262061745007662 0ustar TODO ---- * It would be nice to ask upstream how we can regenerate the fonts/free* files. That way we could generate them at build time from the packaged fonts and rely on Built-Using to ensure the GPL compliance. debian/changelog0000644000000000000000000000375512262061745011057 0ustar tcpdf (6.0.048+dfsg-2) unstable; urgency=medium [ Laurent Destailleur (eldy) ] * Removed lintian warning composer-package-without-pkg-php-tools-builddep by removing the Build-Depends: pkg-php-tools that is not required. * Update Standards-Version to 3.9.5 -- Raphaël Hertzog Sat, 04 Jan 2014 20:41:07 +0100 tcpdf (6.0.048+dfsg-1) unstable; urgency=low * Imported Upstream version 6.0.048+dfsg * Update copyright file for fonts. -- Laurent Destailleur (eldy) Mon, 25 Nov 2013 20:26:02 +0100 tcpdf (6.0.021+dfsg-1) unstable; urgency=low [ Laurent Destailleur (eldy) ] * Repackage the upstream sources from 6.0.021. [ Raphaël Hertzog ] * Drop cruft in debian/rules. * Drop ${phpcomposer:*} substvars from debian/control until we start using the phpcomposer dh addon. -- Laurent Destailleur (eldy) Wed, 31 Jul 2013 15:12:28 +0200 tcpdf (6.0.020+dfsg-1) unstable; urgency=low * Repackage the upstream sources from 6.0.020. * Removed directory images from php-tcpdf.install (does not exists anymore) -- Laurent Destailleur (eldy) Wed, 17 Jul 2013 20:58:25 +0200 tcpdf (6.0.010+dfsg-1) unstable; urgency=low * Repackage the upstream sources to drop fonts/free* which are copies of the GPL-licensed fonts provided by freefont but for which upstream doesn't provide the corresponding sources in their release tarball. * Update the copyright file to drop the paragraph about those files. * Provide debian/rules get-orig-source to repackage the upstream sources. -- Raphaël Hertzog Fri, 19 Apr 2013 17:52:58 +0200 tcpdf (6.0.010-1) unstable; urgency=low * Initial release. (Closes: #495985) * Install cache directory as a symlink to /var/cache/tcpdf (a www-data owned directory). * Add a README.Debian documenting some potential permissions issues. -- Raphaël Hertzog Thu, 18 Apr 2013 16:45:36 +0200 debian/rules0000755000000000000000000000042212262061745010251 0ustar #!/usr/bin/make -f %: dh $@ override_dh_compress: dh_compress -X/examples/ override_dh_fixperms: dh_fixperms # Make the cache directory writable by the webservers chown www-data:www-data debian/php-tcpdf/var/cache/tcpdf get-orig-source: debian/get-orig-source.sh debian/compat0000644000000000000000000000000212262061745010371 0ustar 9 debian/get-orig-source.sh0000755000000000000000000000163412262061745012551 0ustar #!/bin/sh tmpdir=$(mktemp -d) if [ -n "$1" ]; then uscan_opts="--download-version=$1" fi uscan --noconf --force-download --no-symlink --destdir=$tmpdir $uscan_opts cd $tmpdir zipfile=$(echo *.zip) version=$(echo "$zipfile" | perl -pi -e 's/^tcpdf_//; s/\.zip$//; s/_/./g; s/$/+dfsg/;') # Extract the zip file unzip -q $zipfile srcdir=$(find . -maxdepth 1 -mindepth 1 -type d | sed -e 's/\.\///') if [ ! -d "$srcdir" ]; then echo "ERROR: Failed to identify the extracted directory in $tmpdir (got $srcdir)" >&2 rm -rf $tmpdir exit 1 fi # Cleanup unwanted files rm -rf $srcdir/fonts/free* # Repack as tar.xz tar Jcf tcpdf_${version}.orig.tar.xz $srcdir cd - >/dev/null if [ -e ../tcpdf_${version}.orig.tar.xz ]; then echo "Not overwriting ../tcpdf_${version}.orig.tar.xz"; else echo "Created ../tcpdf_${version}.orig.tar.xz" mv $tmpdir/tcpdf_${version}.orig.tar.xz ../ fi rm -rf $tmpdir debian/README.Debian0000644000000000000000000000173112262061745011236 0ustar TCPDF for Debian ================ Cache directory --------------- Some functions of TCPDF make use of a cache directory. If your application relies on the default TCPDF configuration, then this directory is /usr/share/php/tcpdf/cache which has been setup as a symlink to /var/cache/tcpdf which is a directory owned by www-data. In the unlikely case, where this is not correct (because your application runs under another user id), you can use dpkg-statoverride to change the permissions of this directory. Support for additional fonts ---------------------------- TCPDF lets you add supplementary font files on the fly. For this to work, you need to have /usr/share/php/tcpdf/fonts writable by your application. In the most likely case, your application is running within a webserver that uses the www-data user. So you can use dpkg-statoverride this way to force the permissions on this directory: $ sudo dpkg-statoverride --add www-data www-data 755 /usr/share/php/tcpdf/fonts debian/source/0000755000000000000000000000000012262061745010473 5ustar debian/source/lintian-overrides0000644000000000000000000000017712262061745014061 0ustar # tcpdf doesn't have any dep via composer nor pear so no need for pkg-php-tools composer-package-without-pkg-php-tools-builddepdebian/source/format0000644000000000000000000000001412262061745011701 0ustar 3.0 (quilt) debian/php-tcpdf.links0000644000000000000000000000005212262061745012117 0ustar var/cache/tcpdf usr/share/php/tcpdf/cache debian/control0000644000000000000000000000312312262061745010575 0ustar Source: tcpdf Priority: optional Maintainer: Laurent Destailleur (eldy) Uploaders: Raphaël Hertzog Build-Depends: debhelper (>= 9) Standards-Version: 3.9.5 Section: php Homepage: http://www.tcpdf.org/ Vcs-Git: git://anonscm.debian.org/collab-maint/tcpdf.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/tcpdf.git Package: php-tcpdf Architecture: all Depends: ${misc:Depends} Recommends: php5-gd, php5-mcrypt Suggests: php5-imagick Description: PHP class for generating PDF files on-the-fly TCPDF is a library to generate PDF files that does not require external extensions. It also includes a class to extract data from existing PDF documents and classes to generate 1D and 2D barcodes in various formats. . TCPDF has been originally derived from the Public Domain FPDF class by Olivier Plathey (http://www.fpdf.org). . Its main features are: . * an extensive API to control the generated content and its layout (including using XHTML as input); * works without external libraries; * works with any language (UTF-8 and RTL support); * supports TrueTypeUnicode, TrueType, Type1 and CID-0 fonts; * supports all page formats (standardized and customized); * supports most PDF features: - encryption and digital signatures - compression - bookmarks - javascript and forms support - PDF annotations, including links, text and file attachments - XOBject Templates (layers and object visibility, PDF/A-1b support) * supports barcode generation (multiple formats); * automatic hyphenation and page break. debian/watch0000644000000000000000000000013412262061745010222 0ustar version=3 opts=dversionmangle=s/\+dfsg$// http://sf.net/tcpdf/tcpdf_(\d+)_(\d+)_(\d+)\.zip