This is an automated email from the git hooks/post-receive script. apo pushed a commit to branch master in repository libpdfbox2-java.
commit 2b68dd9bf40c07d971bb1b8945b95aaf1d3b1266 Author: Markus Koschany <[email protected]> Date: Thu Jul 6 14:52:05 2017 +0200 Import Debian changes 2.0.6-1 libpdfbox2-java (2.0.6-1) unstable; urgency=medium * Initial release. (Closes: #867281) --- debian/changelog | 5 + debian/compat | 1 + debian/control | 84 ++++++++++++++++ debian/copyright | 187 +++++++++++++++++++++++++++++++++++ debian/libfontbox2-java-doc.doc-base | 8 ++ debian/libfontbox2-java-doc.install | 1 + debian/libpdfbox2-java-doc.doc-base | 8 ++ debian/libpdfbox2-java-doc.examples | 1 + debian/libpdfbox2-java-doc.install | 1 + debian/libpdfbox2-java.classpath | 1 + debian/libpdfbox2-java.poms | 39 ++++++++ debian/maven.ignoreRules | 21 ++++ debian/maven.properties | 5 + debian/maven.publishedRules | 3 + debian/maven.rules | 11 +++ debian/patches/jar-packaging.patch | 35 +++++++ debian/patches/series | 2 + debian/patches/use-local-jars.patch | 23 +++++ debian/rules | 15 +++ debian/source/format | 1 + debian/upstream/signing-key.asc | 34 +++++++ debian/watch | 12 +++ 22 files changed, 498 insertions(+) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..81f75c8 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libpdfbox2-java (2.0.6-1) unstable; urgency=medium + + * Initial release. (Closes: #867281) + + -- Markus Koschany <[email protected]> Thu, 06 Jul 2017 14:52:05 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..420ed5c --- /dev/null +++ b/debian/control @@ -0,0 +1,84 @@ +Source: libpdfbox2-java +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: + Markus Koschany <[email protected]> +Build-Depends: + debhelper (>= 10), + default-jdk, + javahelper, + junit4, + libbcmail-java, + libbcpkix-java, + libbcprov-java, + libcommons-beanutils-java, + libcommons-logging-java, + libicu4j-java, + libmaven-javadoc-plugin-java, + maven-debian-helper +Standards-Version: 4.0.0 +Vcs-Git: https://anonscm.debian.org/git/pkg-java/libpdfbox2-java.git +Vcs-Browser: https://anonscm.debian.org/git/pkg-java/libpdfbox2-java.git +Homepage: http://pdfbox.apache.org + +Package: libpdfbox2-java +Architecture: all +Depends: + libfontbox2-java, + ${maven:Depends}, + ${misc:Depends} +Suggests: + ${maven:OptionalDepends} +Description: PDF library for Java + The Apache PDFBox library is an open source Java tool for working with PDF + documents. This project allows creation of new PDF documents, manipulation + of existing documents and the ability to extract content from documents. + . + This package contains version 2 of the library which is backwards incompatible. + +Package: libpdfbox2-java-doc +Architecture: all +Section: doc +Depends: + ${misc:Depends} +Recommends: + ${maven:DocDepends}, + ${maven:DocOptionalDepends} +Suggests: + libpdfbox2-java +Description: PDF library for Java (documentation) + The Apache PDFBox library is an open source Java tool for working with PDF + documents. This project allows creation of new PDF documents, manipulation + of existing documents and the ability to extract content from documents. + . + This package contains the documentation for version 2 of the library. + +Package: libfontbox2-java +Architecture: all +Depends: + ${maven:Depends}, + ${misc:Depends} +Suggests: + ${maven:OptionalDepends} +Description: Java font library + The Apache FontBox library is an open source Java tool to obtain low level + information from font files. + . + This package contains version 2 of the library. + +Package: libfontbox2-java-doc +Architecture: all +Section: doc +Depends: + ${misc:Depends} +Recommends: + ${maven:DocDepends}, + ${maven:DocOptionalDepends} +Suggests: + libfontbox2-java +Description: Java font library (Documentation) + The Apache FontBox library is an open source Java tool to obtain low level + information from font files. + . + This package contains the documentation for version 2 of the library. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..2d251f4 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,187 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Apache PDFBox +Upstream-Contact: The Apache Software Foundation +Source: https://pdfbox.apache.org/downloads.html + +Files: * +Copyright: 2010-2017, The Apache Software Foundation + 2010, Atos Worldline SAS +License: Apache-2.0 + +Files: fontbox/src/main/resources/org/apache/fontbox/cmap/* + pdfbox/src/main/resources/org/apache/pdfbox/resources/glyphlist/glyphlist.txt + pdfbox/src/main/resources/org/apache/pdfbox/resources/glyphlist/zapfdingbats.txt +Copyright: 1997, 1998, 2002, 2007, 2010 Adobe Systems Incorporated +License: BSD-3-clause + +Files: pdfbox/src/main/resources/org/apache/pdfbox/resources/icc/ISOcoated_v2_300_bas.icc + pdfbox/src/test/resources/org/apache/pdfbox/pdmodel/sRGB.icc + examples/src/main/resources/org/apache/pdfbox/resources/pdfa/sRGB.icc +Copyright: 2007-2010, basICColor GmbH + 2008, Kai-Uwe Behrmann +License: zlib + +Files: pdfbox/src/main/java/org/apache/pdfbox/filter/CCITTFaxDecoderStream.java + pdfbox/src/main/java/org/apache/pdfbox/filter/CCITTFaxEncoderStream.java + pdfbox/src/main/java/org/apache/pdfbox/filter/TIFFExtension.java +Copyright: Harald Kuhr +License: BSD-3-clause-Twelvemonkeys + +Files: pdfbox/src/main/resources/org/apache/pdfbox/resources/ttf/* +Copyright: 2003, Bitstream, Inc. +License: other + +Files: debian/* +Copyright: 2017, Markus Koschany <[email protected]> +License: Apache-2.0 + +License: Apache-2.0 + On Debian systems, the complete text of version 2 of the Apache License can be + found in `/usr/share/common-licenses/Apache-2.0'. + +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 + following 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. + . + http://www.bitstream.com + +License: BSD-3-clause + Redistribution and use in source and binary forms, with or + without modification, are permitted provided that the + following conditions are met: + . + Redistributions of source code must retain the above + copyright notice, this list of conditions and the following + disclaimer. + . + 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. + . + Neither the name of Adobe Systems Incorporated nor the names + of its contributors may be used to endorse or promote + products derived from this software without specific prior + written permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND + CONTRIBUTORS "AS IS" AND ANY EXPRESS 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 COPYRIGHT HOLDER OR + 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. + +License: zlib + This software is provided 'as-is', without any express or implied warranty. In + no event will the authors be held liable for any damages arising from the use + of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it freely, + subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not claim + that you wrote the original software. If you use this software in a product, + and acknowlegement in the product documentation would be appreciated but is + not required. + . + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + . + 3. This notice may not be removed or altered from any source distribution. + . + NO WARRANTY + . + BECAUSE THE DATA IS LICENSED FREE OF CHARGE, THERE IS NO + WARRANTY FOR THE DATA, TO THE EXTENT PERMITTED BY APPLICABLE + LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT + HOLDERS AND/OR OTHER PARTIES PROVIDE THE DATA "AS IS" + WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE + ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE DATA IS + WITH YOU. SHOULD THE DATA PROVE DEFECTIVE, YOU ASSUME THE + COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + . + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR + AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY + OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE DATA AS + PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING + ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES + ARISING OUT OF THE USE OR INABILITY TO USE THE DATA + (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING + RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD + PARTIES OR A FAILURE OF THE DATA TO OPERATE WITH ANY OTHER + PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +License: BSD-3-clause-Twelvemonkeys + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 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. + * + * Neither the name "TwelveMonkeys" nor the + * names of its contributors may be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS 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 COPYRIGHT OWNER OR + * 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. diff --git a/debian/libfontbox2-java-doc.doc-base b/debian/libfontbox2-java-doc.doc-base new file mode 100644 index 0000000..65497e6 --- /dev/null +++ b/debian/libfontbox2-java-doc.doc-base @@ -0,0 +1,8 @@ +Document: libfontbox2-java-doc +Title: FontBox API Documentation +Abstract: Javadocs containing the FontBox API documentation. +Section: Programming/Java + +Format: HTML +Index: /usr/share/doc/libfontbox2-java/api/index.html +Files: /usr/share/doc/libfontbox2-java/api/*.html diff --git a/debian/libfontbox2-java-doc.install b/debian/libfontbox2-java-doc.install new file mode 100644 index 0000000..0690b05 --- /dev/null +++ b/debian/libfontbox2-java-doc.install @@ -0,0 +1 @@ +fontbox/target/apidocs/* usr/share/doc/libfontbox2-java/api diff --git a/debian/libpdfbox2-java-doc.doc-base b/debian/libpdfbox2-java-doc.doc-base new file mode 100644 index 0000000..7564058 --- /dev/null +++ b/debian/libpdfbox2-java-doc.doc-base @@ -0,0 +1,8 @@ +Document: libpdfbox2-java-doc +Title: PDFBox API Documentation +Abstract: Javadocs containing the PDFBox API documentation. +Section: Programming/Java + +Format: HTML +Index: /usr/share/doc/libpdfbox2-java/api/index.html +Files: /usr/share/doc/libpdfbox2-java/api/*.html diff --git a/debian/libpdfbox2-java-doc.examples b/debian/libpdfbox2-java-doc.examples new file mode 100644 index 0000000..e39721e --- /dev/null +++ b/debian/libpdfbox2-java-doc.examples @@ -0,0 +1 @@ +examples/* diff --git a/debian/libpdfbox2-java-doc.install b/debian/libpdfbox2-java-doc.install new file mode 100644 index 0000000..c9cc2ed --- /dev/null +++ b/debian/libpdfbox2-java-doc.install @@ -0,0 +1 @@ +pdfbox/target/apidocs/* usr/share/doc/libpdfbox2-java/api diff --git a/debian/libpdfbox2-java.classpath b/debian/libpdfbox2-java.classpath new file mode 100644 index 0000000..aaea903 --- /dev/null +++ b/debian/libpdfbox2-java.classpath @@ -0,0 +1 @@ +usr/share/java/pdfbox2.jar /usr/share/java/fontbox2.jar diff --git a/debian/libpdfbox2-java.poms b/debian/libpdfbox2-java.poms new file mode 100644 index 0000000..58ae0f5 --- /dev/null +++ b/debian/libpdfbox2-java.poms @@ -0,0 +1,39 @@ +# List of POM files for the package +# Format of this file is: +# <path to pom file> [option]* +# where option can be: +# --ignore: ignore this POM and its artifact if any +# --ignore-pom: don't install the POM. To use on POM files that are created +# temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] +# --no-parent: remove the <parent> tag from the POM +# --package=<package>: an alternative package to use when installing this POM +# and its artifact +# --has-package-version: to indicate that the original version of the POM is the same as the upstream part +# of the version for the package. +# --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM +# during a clean operation with mh_cleanpom or mh_installpom +# --artifact=<path>: path to the build artifact associated with this POM, +# it will be installed when using the command mh_install. [mh_install] +# --java-lib: install the jar into /usr/share/java to comply with Debian +# packaging guidelines +# --usj-name=<name>: name to use when installing the library in /usr/share/java +# --usj-version=<version>: version to use when installing the library in /usr/share/java +# --no-usj-versionless: don't install the versionless link in /usr/share/java +# --dest-jar=<path>: the destination for the real jar. +# It will be installed with mh_install. [mh_install] +# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default. +# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed. +# Empty by default. [mh_install] +# +pom.xml --no-parent +pdfbox/pom.xml --no-parent --has-package-version --usj-name=pdfbox2 --package=libpdfbox2-java --java-lib +fontbox/pom.xml --no-parent --has-package-version --usj-name=fontbox2 --package=libfontbox2-java --java-lib +parent/pom.xml --ignore +xmpbox/pom.xml --ignore +preflight/pom.xml --ignore +preflight-app/pom.xml --ignore +app/pom.xml --ignore +examples/pom.xml --ignore +tools/pom.xml --ignore +debugger/pom.xml --ignore +debugger-app/pom.xml --ignore diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules new file mode 100644 index 0000000..ad28f90 --- /dev/null +++ b/debian/maven.ignoreRules @@ -0,0 +1,21 @@ + +com.levigo.jbig2 levigo-jbig2-imageio * * * * +commons-io commons-io * * * * +net.java.dev.jai-imageio jai-imageio-core-standalone * * * * +org.apache.ant ant-nodeps * * * * +org.apache.maven.plugins maven-antrun-plugin * * * * +org.apache.maven.plugins maven-assembly-plugin * * * * +org.apache.maven.plugins maven-checkstyle-plugin * * * * +org.apache.maven.plugins maven-deploy-plugin * * * * +org.apache.maven.plugins maven-release-plugin * * * * +org.apache.maven.plugins maven-site-plugin * * * * +org.apache.maven.plugins maven-surefire-plugin * * * * +org.apache.maven.plugins maven-surefire-report-plugin * * * * +org.apache.felix maven-bundle-plugin * * * * +org.apache.rat apache-rat-plugin * * * * +org.codehaus.mojo cobertura-maven-plugin * * * * +org.codehaus.mojo taglist-maven-plugin * * * * +org.apache.maven.plugins maven-scm-publish-plugin * * * * +com.googlecode.java-diff-utils diffutils * * * * +com.github.jai-imageio jai-imageio-core * * * * +com.github.jai-imageio jai-imageio-jpeg2000 * * * * diff --git a/debian/maven.properties b/debian/maven.properties new file mode 100644 index 0000000..c793504 --- /dev/null +++ b/debian/maven.properties @@ -0,0 +1,5 @@ +# Include here properties to pass to Maven during the build. +# For example: +# maven.test.skip=true +maven.test.skip=true +project.build.sourceEncoding=UTF-8 diff --git a/debian/maven.publishedRules b/debian/maven.publishedRules new file mode 100644 index 0000000..d27303b --- /dev/null +++ b/debian/maven.publishedRules @@ -0,0 +1,3 @@ + +org.apache.pdfbox fontbox s/jar/bundle/ s/.*/2.x/ * * +org.apache.pdfbox pdfbox s/jar/bundle/ s/.*/2.x/ * * diff --git a/debian/maven.rules b/debian/maven.rules new file mode 100644 index 0000000..75d4cad --- /dev/null +++ b/debian/maven.rules @@ -0,0 +1,11 @@ + +junit junit jar s/4\..*/4.x/ * * +commons-logging s/commons-logging-api/commons-logging/ * s/.*/debian/ * * +junit junit * s/.*/4.x/ * * +org.bouncycastle s/bcmail-jdk15/bcmail/ * s/.*/debian/ * * +org.bouncycastle s/bcmail-jdk15on/bcmail/ * s/.*/debian/ * * +org.bouncycastle s/bcprov-jdk15/bcprov/ * s/.*/debian/ * * +org.bouncycastle s/bcprov-jdk15on/bcprov/ * s/.*/debian/ * * +org.apache.pdfbox fontbox s/jar/bundle/ s/.*/2.x/ * * +org.apache.pdfbox pdfbox s/jar/bundle/ s/.*/2.x/ * * + diff --git a/debian/patches/jar-packaging.patch b/debian/patches/jar-packaging.patch new file mode 100644 index 0000000..481ca1c --- /dev/null +++ b/debian/patches/jar-packaging.patch @@ -0,0 +1,35 @@ +From: Markus Koschany <[email protected]> +Date: Fri, 30 Jun 2017 00:04:36 +0200 +Subject: jar packaging + +--- + fontbox/pom.xml | 2 +- + pdfbox/pom.xml | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/fontbox/pom.xml b/fontbox/pom.xml +index 0e81074..18fd410 100644 +--- a/fontbox/pom.xml ++++ b/fontbox/pom.xml +@@ -26,7 +26,7 @@ + </parent> + + <artifactId>fontbox</artifactId> +- <packaging>bundle</packaging> ++ <packaging>jar</packaging> + + <name>Apache FontBox</name> + <description> +diff --git a/pdfbox/pom.xml b/pdfbox/pom.xml +index 4ee6438..528748c 100644 +--- a/pdfbox/pom.xml ++++ b/pdfbox/pom.xml +@@ -28,7 +28,7 @@ + </parent> + + <artifactId>pdfbox</artifactId> +- <packaging>bundle</packaging> ++ <packaging>jar</packaging> + + <name>Apache PDFBox</name> + <description> diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..c040ff5 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +use-local-jars.patch +jar-packaging.patch diff --git a/debian/patches/use-local-jars.patch b/debian/patches/use-local-jars.patch new file mode 100644 index 0000000..32765ff --- /dev/null +++ b/debian/patches/use-local-jars.patch @@ -0,0 +1,23 @@ +From: Markus Koschany <[email protected]> +Date: Thu, 29 Jun 2017 23:42:57 +0200 +Subject: use local jars + +Must be dropped after the initial upload but then the package also must build-depend +on libfontbox2-java. +--- + pdfbox/pom.xml | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/pdfbox/pom.xml b/pdfbox/pom.xml +index fb53770..4ee6438 100644 +--- a/pdfbox/pom.xml ++++ b/pdfbox/pom.xml +@@ -45,6 +45,8 @@ + <groupId>org.apache.pdfbox</groupId> + <artifactId>fontbox</artifactId> + <version>${project.version}</version> ++ <scope>system</scope> ++ <systemPath>${user.dir}/fontbox/target/fontbox-2.0.6.jar</systemPath> + </dependency> + <dependency> + <groupId>commons-logging</groupId> diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..3614142 --- /dev/null +++ b/debian/rules @@ -0,0 +1,15 @@ +#!/usr/bin/make -f + +%: + dh $@ --buildsystem=maven --with javahelper + +override_dh_installchangelogs: + dh_installchangelogs RELEASE-NOTES.txt + +override_dh_installexamples: + dh_installexamples + find $(CURDIR)/debian/libpdfbox2-java-doc/ -type d -empty -delete + rm $(CURDIR)/debian/libpdfbox2-java-doc/usr/share/doc/libpdfbox2-java-doc/examples/pom.xml.save + +get-orig-source: + uscan --download-current-version --force-download --repack --rename --compression xz 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) diff --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key.asc new file mode 100644 index 0000000..0a48b20 --- /dev/null +++ b/debian/upstream/signing-key.asc @@ -0,0 +1,34 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1 + +mQGiBEnLv1QRBADZ+0Q51lxGD4IZo+eWVdll64J/jxSrFDiCPB6vDcYh5Z/6bzXs +6gvGsNBtN6tVES7zKNDhMftREZsQ1Jdj2SD4Kel9NMtZvtkRIYyVosxSJPS3kavw +DwH4MjmssEOuvEf04ZwESVS9IE3lFdTIbEJQg+BXeIE1V4GA2rmFNJ8OTwCg1EEk +Z/07/zEqSFwhHaytYDCIxYED/2R87nHhQcNlQz47BEy0ohCETVlZx+zQyi2AXP14 +cV+DO064JNRHFb1iTcYyNwNFjH8gDe1V+ZmGi6O2VxuTxNncoydj5kgUiCOfjeOX +IdgX6+ygs7LmYkOrdyvahy83rbGEojgMKbsiZzCEewBISen1lhwndeLsGpm5to3d +gw7UBACbHs3PZjmggtwU131a66fowq8lFr8+6jPvJWAJ15HBLhYtNRPTT4exvXVa +JPBbXPMSYcwAfS5cyP6WfbsxFFuWyGF3TcvGxLEqEg0HmQ2THYzAXmv7XNDbxI/X +L+g9DSfq37+uOdRY10PlfGS3N/5XwfN98N8ZOqHDg0sgoKLxRLQ5QW5kcmVhcyBM +ZWhta3VlaGxlciAoQ09ERSBTSUdOSU5HIEtFWSkgPGxlaG1pQGFwYWNoZS5vcmc+ +iEYEEBECAAYFAknLwn4ACgkQpzBSnKNVpj5R6ACePjHvr2q0MyIV9hfUw8tWVQr/ +LPMAnA58Rrxff5x7APC3ELihh7IC2JAwiGAEExECACAFAknLv1QCGwMGCwkIBwMC +BBUCCAMEFgIDAQIeAQIXgAAKCRB6PJ/iHf2/RICPAKDJpHDJYOoylrZb0xp1nIL5 +KBLgEQCaAo8PiLHvuSdXoOS75nSC0QySI0SIYQQTEQIAIQIbAwIeAQIXgAUCUJaT +0wULCQgHAwUVCgkICwUWAgMBAAAKCRB6PJ/iHf2/RMyZAKCmc0QUrtK+H9uWPN61 +VQRBXyI0mgCdFSO5UojyOgC+cWpugEChkru/FOi5Ag0EScu/VBAIAIYkT4qggB8t +JeDsGWQ6Uioge+vyYieHtmclXo6bomem6Ijx7AfxCn8pxBxQSXg6ZtFNH9U9MpXw +zOGf4PQqjcEzpH/uh5OPFxcvTK+LB+4q6fAIXe2QqKm331vnAkSNmpWILaDfaq0E +e2RarH4EexnLrc5Dx0453TUhyaiseochk6OQE1Q3mwRhbC8N6TMRqg8fKSrrwIB1 +Aev1Jl8ER94Iwwx/FY2Tskd5mAGu0XIbo68BWL/0uZ6yuZ5iEEiYU4sM0iJcentI +iH7I1vXESV32fwMQifnQbMGedp9maiETjOngdSrXGLFg8+JlqFHxBl+CaDZeb4f5 +SDd3p6tAy4MAAwYH/Aqdy9gBYdcAo9mF2GwXQGCyICbPPNLs99GtDEI9si4gKYZ9 +c7De58C7accH6o/l23c+vYaqvBt5THYytqjLqBhMufuaxggAhLzh7QxoiZ+OJh3A +mH+fM9PgR44StpQ1FjgNGkU/5LfueRCYTB0bAtuffWVJ4ec/LiOyXTYqKbdaZ423 +mb8zLTcoc2kD99YJfRXEP9vuzpl6m7eiRbH9VLzZggFqAiharp7tUs0QrgHLXrYV +5fkWs9K0wOrYl24As66K+euSPJHysQTazA7wTsQSk9I2oFxxk6FxPAmW6OuLTMbF +F/3z8y8T110d4OrjQocwrK/w3poOkhGcZUS9yZGISQQYEQIACQUCScu/VAIbDAAK +CRB6PJ/iHf2/RDyaAKDFucnpykMlcCn/IrEfBO354q3QsACeLrFMMFAhgV/CnS8w +Uo5/I8CLoaE= +=BXkL +-----END PGP PUBLIC KEY BLOCK----- diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..aa2e79e --- /dev/null +++ b/debian/watch @@ -0,0 +1,12 @@ +version=3 + +# http://pdfbox.apache.org/download.html +# points to a page for mirror selection + + +opts=\ +dversionmangle=s/(?:\.|\+)dfsg$//,\ +downloadurlmangle=s/pdfbox\/([\d.]+)\//pdfbox\/$1\/pdfbox-$1-src.zip/,\ +filenamemangle=s/([\d.]+)\//pdfbox-$1-src.zip/,\ +pgpsigurlmangle=s/$/.asc/ \ + http://archive.apache.org/dist/pdfbox/ ([\d.]+)/ -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libpdfbox2-java.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

