From 64fb4c97507c7a95449df7909d5aad85704df259 Mon Sep 17 00:00:00 2001 From: Sven Velt Date: Thu, 20 Jan 2011 16:49:40 +0100 Subject: [PATCH] Initial commit --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 16 ++++++++++++++++ debian/patches/01-correct-path.diff | 13 +++++++++++++ debian/patches/series | 1 + debian/php-fpdi.dirs | 1 + debian/rules | 7 +++++++ debian/source/format | 1 + 8 files changed, 45 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/patches/01-correct-path.diff create mode 100644 debian/patches/series create mode 100644 debian/php-fpdi.dirs create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..53e2b76 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +php-fpdi (1.4-1) unstable; urgency=low + + * Inital release + + -- Sven Velt Thu, 20 Jan 2011 16:18:43 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..9f7affe --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: php-fpdi +Section: web +Priority: optional +Maintainer: Sven Velt +Build-Depends: debhelper (>= 7.0.50~) +Standards-Version: 3.9.1 +Homepage: http://www.setasign.de/products/pdf-php-solutions/fpdi/ + +Package: php-fpdi +Architecture: all +Depends: ${misc:Depends}, php5, php-fpdf-tpl +Description: Import existing PDF documents into FPDF + FPDI is a collection of PHP classes facilitating developers to read pages from + existing PDF documents and use them as templates in FPDF, which was developed + by Olivier Plathey. Apart from a copy of FPDF, FPDI does not require any + special PHP extensions. diff --git a/debian/patches/01-correct-path.diff b/debian/patches/01-correct-path.diff new file mode 100644 index 0000000..ccca3db --- /dev/null +++ b/debian/patches/01-correct-path.diff @@ -0,0 +1,13 @@ +Use full path as "fpdf_tpl" is in its own directory/package. + +--- php-fpdi-1.4.old/fpdi.php 2010-11-11 17:08:05.000000000 +0100 ++++ php-fpdi-1.4/fpdi.php 2011-01-20 16:33:58.747054008 +0100 +@@ -24,7 +24,7 @@ + require_once('fpdi2tcpdf_bridge.php'); + } + +-require_once('fpdf_tpl.php'); ++require_once('/usr/share/php/fpdf-tpl/fpdf_tpl.php'); + require_once('fpdi_pdf_parser.php'); + + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..fc45956 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +01-correct-path.diff diff --git a/debian/php-fpdi.dirs b/debian/php-fpdi.dirs new file mode 100644 index 0000000..406198a --- /dev/null +++ b/debian/php-fpdi.dirs @@ -0,0 +1 @@ +usr/share/php/fpdi diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..28de239 --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_install: + cp -r *.php filters debian/php-fpdi/usr/share/php/fpdi 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) -- 2.30.2