Code

Initial commit
authorSven Velt <sven@velt.de>
Thu, 20 Jan 2011 15:49:40 +0000 (16:49 +0100)
committerSven Velt <sven@velt.de>
Thu, 20 Jan 2011 15:49:40 +0000 (16:49 +0100)
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/patches/01-correct-path.diff [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]
debian/php-fpdi.dirs [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..53e2b76
--- /dev/null
@@ -0,0 +1,5 @@
+php-fpdi (1.4-1) unstable; urgency=low
+
+  * Inital release
+
+ -- Sven Velt <sven@velt.de>  Thu, 20 Jan 2011 16:18:43 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..9f7affe
--- /dev/null
@@ -0,0 +1,16 @@
+Source: php-fpdi
+Section: web
+Priority: optional
+Maintainer: Sven Velt <sven@velt.de>
+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 (file)
index 0000000..ccca3db
--- /dev/null
@@ -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');\r
+ }\r
\r
+-require_once('fpdf_tpl.php');\r
++require_once('/usr/share/php/fpdf-tpl/fpdf_tpl.php');\r
+ require_once('fpdi_pdf_parser.php');\r
\r
\r
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..fc45956
--- /dev/null
@@ -0,0 +1 @@
+01-correct-path.diff
diff --git a/debian/php-fpdi.dirs b/debian/php-fpdi.dirs
new file mode 100644 (file)
index 0000000..406198a
--- /dev/null
@@ -0,0 +1 @@
+usr/share/php/fpdi
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..28de239
--- /dev/null
@@ -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 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)