[gluegen2] 06/07: Install the Maven artifacts for gluegen-rt (Closes: #712003)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Aug 4 11:03:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository gluegen2.

commit b0f45c9abbb8ca57886d9df97e960ecb679d0b8c
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Aug 4 12:07:26 2016 +0200

    Install the Maven artifacts for gluegen-rt (Closes: #712003)
---
 debian/changelog                |  1 +
 debian/libgluegen2-rt-java.poms |  1 +
 debian/pom-gluegen-rt.xml       | 83 +++++++++++++++++++++++++++++++++++++++++
 debian/rules                    |  7 +++-
 4 files changed, 90 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index eab75a5..466b3b9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ gluegen2 (2.3.2-4) UNRELEASED; urgency=medium
     - Thanks to Steven Chamberlain for the patch.
 
   [ Emmanuel Bourg ]
+  * Install the Maven artifacts for gluegen-rt (Closes: #712003)
   * Removed the build dependency on quilt
   * Standards-Version updated to 3.9.8
   * Use secure Vcs-* URLs
diff --git a/debian/libgluegen2-rt-java.poms b/debian/libgluegen2-rt-java.poms
new file mode 100644
index 0000000..9bc0f58
--- /dev/null
+++ b/debian/libgluegen2-rt-java.poms
@@ -0,0 +1 @@
+debian/pom-gluegen-rt.xml --java-lib --usj-name=gluegen2-rt --artifact=build/gluegen-rt.jar
diff --git a/debian/pom-gluegen-rt.xml b/debian/pom-gluegen-rt.xml
new file mode 100644
index 0000000..e6e9070
--- /dev/null
+++ b/debian/pom-gluegen-rt.xml
@@ -0,0 +1,83 @@
+<?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">
+
+  <!--                                                                 -->
+  <!-- Auto generated by gluegen-rt.pom.sh, do not edit directly! -->
+  <!--                                                                 -->
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.jogamp.gluegen</groupId>
+  <artifactId>gluegen-rt</artifactId>
+  <version>2.3.2</version>
+  <packaging>jar</packaging>
+  <name>GlueGen Runtime</name>
+  <description>JNI binding generator (runtime)</description>
+  <url>http://jogamp.org/gluegen/www/</url>
+
+  <!-- gluegen/pom.in -->
+
+  <scm>
+    <url>http://jogamp.org/git/?p=gluegen.git/</url>
+    <connection>scm:git:http://jogamp.org/git/gluegen.git/</connection>
+    <developerConnection>scm:git:http://jogamp.org/git/gluegen.git/</developerConnection>
+  </scm>
+
+  <licenses>
+    <license>
+      <name>BSD-2 License</name>
+      <url>http://www.opensource.org/licenses/BSD-2-Clause</url>
+    </license>
+    <license>
+      <name>BSD-3 License</name>
+      <url>http://www.opensource.org/licenses/BSD-3-Clause</url>
+    </license>
+    <license>
+      <name>BSD-4 License</name>
+      <url>http://www.spdx.org/licenses/BSD-4-Clause</url>
+    </license>
+  </licenses>
+
+  <developers>
+    <developer>
+      <id>sgothel</id>
+      <name>Sven Gothel</name>
+      <email>sgothel at jausoft.com</email>
+      <url>http://blog.jausoft.com</url>
+    </developer>
+  </developers>
+
+  <issueManagement>
+    <url>http://jogamp.org/bugzilla/</url>
+    <system>Bugzilla</system>
+  </issueManagement>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-gpg-plugin</artifactId>
+        <version>1.4</version>
+        <executions>
+          <execution>
+            <id>sign-artifacts</id>
+            <phase>verify</phase>
+            <goals>
+              <goal>sign</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+    <extensions>
+      <extension>
+        <groupId>org.apache.maven.wagon</groupId>
+        <artifactId>wagon-ssh</artifactId>
+        <version>2.4</version>
+      </extension>
+    </extensions>
+  </build>
+
+</project>
diff --git a/debian/rules b/debian/rules
index 060117f..5570743 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,8 +15,7 @@ DEB_ANT_ARGS         += -DisAbiEabiGnuArmhf=true
 endif
 
 install/libgluegen2-rt-java::
-	install -m 644 -D build/gluegen-rt.jar debian/libgluegen2-rt-java/usr/share/java/gluegen2-$(DEB_UPSTREAM_VERSION)-rt.jar
-	ln -s gluegen2-$(DEB_UPSTREAM_VERSION)-rt.jar debian/libgluegen2-rt-java/usr/share/java/gluegen2-rt.jar
+	mh_install -plibgluegen2-rt-java
 
 install/libgluegen2-build-java::
 	mkdir -p $(CURDIR)/debian/libgluegen2-build-java/usr/share/gluegen2/make/
@@ -57,11 +56,15 @@ post-patches::
 	  $(foreach test,$(DISABLED_TESTS),if [ -f $(test).java ]; then mv $(test).java $(test).java.disabled; fi &&) true
 
 clean::
+	mh_clean
 	$(RM) -r gluegen/build build-temp
 	$(RM) make/GnuCTreeParserTokenTypes.txt make/STDCTokenTypes.txt
 	cd src/junit/com/jogamp && \
 	  $(foreach test,$(DISABLED_TESTS),if [ -f $(test).java.disabled ]; then mv $(test).java.disabled $(test).java; fi &&) true
 	$(RM) test/TestJarsInJar/TestJarsInJar.jar runtest.log
 
+get-orig-pom:
+	wget https://repo1.maven.org/maven2/org/jogamp/gluegen/gluegen-rt/$(DEB_UPSTREAM_VERSION)/gluegen-rt-$(DEB_UPSTREAM_VERSION).pom -O debian/pom-gluegen-rt.xml
+
 get-orig-source::
 	uscan --download-current-version --no-symlink --force-download

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/gluegen2.git



More information about the pkg-java-commits mailing list