Package: libjgrapht0.8-java
Version: 0.8.3-3
Severity: normal
Tags: patch

Hi,

The enclosed patch adds maven support (i.e. it installs relevant
entries into /usr/share/maven-repo/), meaning that other java code
that builds with maven and depends upon this package will build.

Thanks,

Matthew

-- System Information:
Debian Release: 7.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libjgrapht0.8-java depends on:
ii  libjgraph-java  5.12.4.2+dfsg-2

libjgrapht0.8-java recommends no packages.

libjgrapht0.8-java suggests no packages.

-- no debconf information
diff -ruN libjgrapht0.8-java-0.8.3/debian/control libjgrapht0.8-java-0.8.3-new/debian/control
--- libjgrapht0.8-java-0.8.3/debian/control	2013-05-21 09:14:48.000000000 +0100
+++ libjgrapht0.8-java-0.8.3-new/debian/control	2014-02-28 16:28:11.143550981 +0000
@@ -5,6 +5,7 @@
 Uploaders: Giovanni Mascellani <[email protected]>
 Build-Depends: cdbs, debhelper (>= 5), ant, default-jdk, junit4,
  libjgraph-java, javahelper
+Build-Depends-Indep: maven-repo-helper
 Standards-Version: 3.9.4
 Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/libjgrapht-java/branch_0.8
 Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/libjgrapht-java/branch_0.8
diff -ruN libjgrapht0.8-java-0.8.3/debian/libjgrapht0.8-java.poms libjgrapht0.8-java-0.8.3-new/debian/libjgrapht0.8-java.poms
--- libjgrapht0.8-java-0.8.3/debian/libjgrapht0.8-java.poms	1970-01-01 01:00:00.000000000 +0100
+++ libjgrapht0.8-java-0.8.3-new/debian/libjgrapht0.8-java.poms	2014-02-28 16:27:18.162461837 +0000
@@ -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]
+#
+debian/pom.xml --has-package-version
diff -ruN libjgrapht0.8-java-0.8.3/debian/pom.xml libjgrapht0.8-java-0.8.3-new/debian/pom.xml
--- libjgrapht0.8-java-0.8.3/debian/pom.xml	1970-01-01 01:00:00.000000000 +0100
+++ libjgrapht0.8-java-0.8.3-new/debian/pom.xml	2014-02-28 16:24:58.723594920 +0000
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+	<modelVersion>4.0.0</modelVersion>
+	<groupId>org.jgrapht</groupId>
+	<artifactId>jgrapht</artifactId>
+	<packaging>pom</packaging>
+	<name>JGraphT - Parent</name>
+	<version>0.8</version>
+	<description>A Java class library for graph-theory data structures and algorithms.</description>
+	<url>http://www.jgrapht.org</url>
+	<licenses>
+		<license>
+			<name>GNU Lesser General Public License Version 2.1, February 1999</name>
+			<url>http://jgrapht.sourceforge.net/LGPL.html</url>
+			<distribution>repo</distribution>
+		</license>
+		<license>
+			<name>Eclipse Public License (EPL) 1.0</name>
+			<url>http://www.eclipse.org/legal/epl-v10.html</url>
+			<distribution>repo</distribution>
+		</license>
+	</licenses>
+	<properties>
+		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+	</properties>
+</project>
diff -ruN libjgrapht0.8-java-0.8.3/debian/rules libjgrapht0.8-java-0.8.3-new/debian/rules
--- libjgrapht0.8-java-0.8.3/debian/rules	2012-05-08 18:15:24.000000000 +0100
+++ libjgrapht0.8-java-0.8.3-new/debian/rules	2014-02-28 16:31:16.059344374 +0000
@@ -21,3 +21,10 @@
 
 get-orig-source:
 	uscan --force-download --download-version $(DEB_UPSTREAM_VERSION) --rename
+
+binary-post-install/$(DEB_SOURCE_PACKAGE)::
+	mh_installpoms -p$(DEB_SOURCE_PACKAGE)
+	mh_installjar -p$(DEB_SOURCE_PACKAGE) -l debian/pom.xml debian/libjgrapht$(SOVERSION)-java/usr/share/java/jgrapht$(SOVERSION).jar
+
+clean::
+	mh_clean
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
[email protected] for discussions and questions.

Reply via email to