diff options
author | Johannes Schauer <josch@debian.org> | 2016-08-16 16:35:49 +0200 |
---|---|---|
committer | Johannes Schauer <josch@debian.org> | 2016-08-16 16:35:49 +0200 |
commit | 242e222297a3e2c3f78273645faaf63c4a8e238f (patch) | |
tree | 3c864e08587ccb5ca7d1cf5e53189a9f2566f474 |
Import img2pdf_0.2.1-1.debian.tar.xz
[dgit import tarball img2pdf 0.2.1-1 img2pdf_0.2.1-1.debian.tar.xz]
-rw-r--r-- | changelog | 18 | ||||
-rw-r--r-- | compat | 1 | ||||
-rw-r--r-- | control | 40 | ||||
-rw-r--r-- | copyright | 36 | ||||
-rw-r--r-- | img2pdf.install | 1 | ||||
-rw-r--r-- | img2pdf.manpages | 1 | ||||
-rw-r--r-- | python3-img2pdf.install | 1 | ||||
-rw-r--r-- | python3-jp2.substvars | 2 | ||||
-rwxr-xr-x | rules | 13 | ||||
-rw-r--r-- | source/format | 1 | ||||
-rw-r--r-- | watch | 4 |
11 files changed, 118 insertions, 0 deletions
diff --git a/changelog b/changelog new file mode 100644 index 0000000..4f70610 --- /dev/null +++ b/changelog @@ -0,0 +1,18 @@ +img2pdf (0.2.1-1) unstable; urgency=medium + + * New upstream release (closes: #833376) + + -- Johannes Schauer <josch@debian.org> Tue, 16 Aug 2016 16:35:49 +0200 + +img2pdf (0.2.0-2) unstable; urgency=medium + + * Add missing dependency on python3-pkg-resources (Thanks, Sean Whitton for + the diff) (Closes: #818617). + + -- Johannes Schauer <josch@debian.org> Sun, 03 Jul 2016 06:08:37 +0200 + +img2pdf (0.2.0-1) unstable; urgency=medium + + * Initial release. (Closes: #742075) + + -- Johannes Schauer <josch@debian.org> Tue, 09 Feb 2016 08:50:55 +0100 @@ -0,0 +1 @@ +9 @@ -0,0 +1,40 @@ +Source: img2pdf +Maintainer: Johannes Schauer <josch@debian.org> +Section: python +Priority: optional +Build-Depends: dh-python, python3-setuptools, python3-all, debhelper, python3-pil, python3-pdfrw, help2man, python3-pkg-resources +Standards-Version: 3.9.6 +Homepage: https://gitlab.mister-muffin.de/josch/img2pdf + +Package: img2pdf +Architecture: all +Section: utils +Depends: ${misc:Depends}, ${python3:Depends}, python3-img2pdf +Description: Lossless conversion of raster images to PDF + This program will take a list of raster images and produce a PDF file with the + images embedded in it. JPEG and JPEG2000 images will be included without + recompression. Raster images in other formats will be included with zip/flate + encoding which usually leads to an increase in the resulting size because + formats like png compress better than PDF which just zip/flate compresses the + RGB data. As a result, this tool is able to losslessly wrap images into a PDF + container with a quality to filesize ratio that is typically better (in case + of JPEG and JPEG2000 images) or equal (in case of other formats) than that of + existing tools. + +Package: python3-img2pdf +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Suggests: python3-pdfrw +Description: Lossless conversion of raster images to PDF + This module will take a list of raster images and produce a PDF file with the + images embedded in it. JPEG and JPEG2000 images will be included without + recompression. Raster images in other formats will be included with zip/flate + encoding which usually leads to an increase in the resulting size because + formats like png compress better than PDF which just zip/flate compresses the + RGB data. As a result, this module is able to losslessly wrap images into a + PDF container with a quality to filesize ratio that is typically better (in + case of JPEG and JPEG2000 images) or equal (in case of other formats) than + that of existing tools. + . + Img2pdf includes its own PDF writer but will use the pdfrw module if + available instead. diff --git a/copyright b/copyright new file mode 100644 index 0000000..2458201 --- /dev/null +++ b/copyright @@ -0,0 +1,36 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: img2pdf +Source: https://gitlab.mister-muffin.de/josch/img2pdf + +Files: * +Copyright: 2014 Johannes Schauer <josch@debian.org> +License: LGPL-3 + This program is free software; you can redistribute it + and/or modify it under the terms of the Lesser GNU General Public + License as published by the Free Software Foundation version 3. + . + On Debian systems, the full text of the Lesser GNU General Public + License version 3 can be found in the file + `/usr/share/common-licenses/LGPL-3'. + +Files: src/jp2.py +Copyright: + 2014 Johannes Schauer <josch@debian.org> + KB / National Library of the Netherlands, Open Planets Foundation +License: LGPL-3+ + This program 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 program 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 this program. If not, see <http://www.gnu.org/licenses/>. + . + On Debian systems, the full text of the Lesser GNU General Public + License version 3 can be found in the file + `/usr/share/common-licenses/LGPL-3'. diff --git a/img2pdf.install b/img2pdf.install new file mode 100644 index 0000000..2f5f524 --- /dev/null +++ b/img2pdf.install @@ -0,0 +1 @@ +usr/bin/img2pdf diff --git a/img2pdf.manpages b/img2pdf.manpages new file mode 100644 index 0000000..54b8e2b --- /dev/null +++ b/img2pdf.manpages @@ -0,0 +1 @@ +img2pdf.1 diff --git a/python3-img2pdf.install b/python3-img2pdf.install new file mode 100644 index 0000000..6845771 --- /dev/null +++ b/python3-img2pdf.install @@ -0,0 +1 @@ +usr/lib diff --git a/python3-jp2.substvars b/python3-jp2.substvars new file mode 100644 index 0000000..978fc8b --- /dev/null +++ b/python3-jp2.substvars @@ -0,0 +1,2 @@ +misc:Depends= +misc:Pre-Depends= @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_auto_clean: + rm -rf src/img2pdf.egg-info + rm -f img2pdf.1 + dh_auto_clean + +override_dh_auto_build: + dh_auto_build + help2man --no-info --name="lossless conversion of raster images to pdf" ./src/img2pdf.py -o img2pdf.1 diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) @@ -0,0 +1,4 @@ +# please also check http://pypi.debian.net/img2pdf/watch +version=3 +opts=uversionmangle=s/(rc|a|b|c)/~$1/ \ +http://pypi.debian.net/img2pdf/img2pdf-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) |