[Git][java-team/jfreesvg][master] apply mh_lspoms and mh_make for Maven build

Ole Streicher gitlab at salsa.debian.org
Wed Aug 26 15:06:50 BST 2020



Ole Streicher pushed to branch master at Debian Java Maintainers / jfreesvg


Commits:
18df13c5 by Ole Streicher at 2020-08-26T16:06:37+02:00
apply mh_lspoms and mh_make for Maven build

- - - - -


9 changed files:

- debian/control
- + debian/libjfreesvg-java-doc.doc-base.api
- + debian/libjfreesvg-java-doc.install
- + debian/libjfreesvg-java.poms
- + debian/maven.cleanIgnoreRules
- + debian/maven.ignoreRules
- + debian/maven.publishedRules
- + debian/maven.rules
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -1,13 +1,13 @@
 Source: jfreesvg
 Section: java
 Priority: optional
-Maintainer: Debian Java Maintainers <debian-java-maintainers at lists.alioth.debian.org>
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Ole Streicher <olebole at debian.org>
 Build-Depends: debhelper-compat (= 13),
                default-jdk,
                maven-debian-helper (>= 2.1)
 Build-Depends-Indep: default-jdk-doc,
-                     libmaven-antrun-plugin-java (>= 1.8),
+                     junit4,
                      libmaven-javadoc-plugin-java (>= 3.0.1)
 Standards-Version: 4.5.0
 Homepage: http://www.jfree.org/jfreesvg
@@ -18,8 +18,10 @@ Rules-Requires-Root: no
 Package: libjfreesvg-java
 Multi-Arch: foreign
 Architecture: all
-Depends: ${maven:Depends}, ${misc:Depends}
-Suggests: libjfreesvg-java-doc, ${maven:OptionalDepends}
+Depends: ${maven:Depends},
+         ${misc:Depends}
+Suggests: libjfreesvg-java-doc,
+          ${maven:OptionalDepends}
 Description: Java graphics library to generate content in SVG format
  JFreeSVG is a fast, light-weight, vector graphics library for the
  Java platform that makes it easy to generate graphical output in SVG
@@ -29,8 +31,10 @@ Package: libjfreesvg-java-doc
 Multi-Arch: foreign
 Section: doc
 Architecture: all
-Depends: ${java:Depends}, ${misc:Depends}
-Recommends: ${java:Recommends}
+Depends: ${java:Depends},
+         ${misc:Depends}
+Recommends: ${maven:DocDepends},
+            ${maven:DocOptionalDepends}
 Suggests: libjfreesvg-java
 Description: Java graphics library to generate content in SVG format (docs)
  JFreeSVG is a fast, light-weight, vector graphics library for the


=====================================
debian/libjfreesvg-java-doc.doc-base.api
=====================================
@@ -0,0 +1,10 @@
+Document: libjfreesvg-java
+Title: API Javadoc for JFreeSVG
+Author: JFreeSVG developers
+Abstract: This is the API Javadoc provided for the
+ libjfreesvg-java library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libjfreesvg-java/api/index.html
+Files: /usr/share/doc/libjfreesvg-java/api/*


=====================================
debian/libjfreesvg-java-doc.install
=====================================
@@ -0,0 +1 @@
+target/apidocs/* usr/share/doc/libjfreesvg-java/api


=====================================
debian/libjfreesvg-java.poms
=====================================
@@ -0,0 +1,28 @@
+# 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 --has-package-version


=====================================
debian/maven.cleanIgnoreRules
=====================================
@@ -0,0 +1 @@
+


=====================================
debian/maven.ignoreRules
=====================================
@@ -0,0 +1 @@
+


=====================================
debian/maven.publishedRules
=====================================
@@ -0,0 +1,2 @@
+
+org.jfree org.jfree.svg jar s/.*/debian/ * *


=====================================
debian/maven.rules
=====================================
@@ -0,0 +1,4 @@
+
+junit junit jar s/4\..*/4.x/ * *
+org.jfree org.jfree.svg jar * * *
+org.jfree org.jfree.svg jar s/.*/debian/ * *


=====================================
debian/rules
=====================================
@@ -1,6 +1,4 @@
 #!/usr/bin/make -f
 
-export LC_ALL=C.UTF-8
-
 %:
-	dh $@
+	dh $@
\ No newline at end of file



View it on GitLab: https://salsa.debian.org/java-team/jfreesvg/-/commit/18df13c531e125e61e159ac6068f717ebf79e9f0

-- 
View it on GitLab: https://salsa.debian.org/java-team/jfreesvg/-/commit/18df13c531e125e61e159ac6068f717ebf79e9f0
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20200826/6117747d/attachment.html>


More information about the pkg-java-commits mailing list