[libjogl2-java] 02/03: Install the Maven artifacts (Closes: #712002)
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Thu Aug 4 11:01:44 UTC 2016
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository libjogl2-java.
commit ed215515f697c4bf77c6c722c12ba49cf9b31857
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Thu Aug 4 13:01:02 2016 +0200
Install the Maven artifacts (Closes: #712002)
---
debian/changelog | 1 +
debian/control | 1 +
debian/libjogl2-java.install | 1 -
debian/libjogl2-java.poms | 1 +
debian/pom.xml | 95 ++++++++++++++++++++++++++++++++++++++++++++
debian/rules | 9 ++++-
6 files changed, 105 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index ddc1089..a59fa18 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
libjogl2-java (2.3.2+dfsg-5) UNRELEASED; urgency=medium
* Team upload.
+ * Install the Maven artifacts (Closes: #712002)
* Transition to libswt-gtk-4-java
* Removed the explicit build dependency on quilt
* Standards-Version updated to 3.9.8
diff --git a/debian/control b/debian/control
index 36272c5..af525e7 100644
--- a/debian/control
+++ b/debian/control
@@ -22,6 +22,7 @@ Build-Depends:
libxrandr-dev,
libxt-dev,
libxxf86vm-dev,
+ maven-repo-helper,
x11proto-xf86vidmode-dev
Standards-Version: 3.9.8
Vcs-Git: https://anonscm.debian.org/git/pkg-java/libjogl2-java.git
diff --git a/debian/libjogl2-java.install b/debian/libjogl2-java.install
deleted file mode 100644
index b8b527f..0000000
--- a/debian/libjogl2-java.install
+++ /dev/null
@@ -1 +0,0 @@
-build/jar/jogl2.jar /usr/share/java/
diff --git a/debian/libjogl2-java.poms b/debian/libjogl2-java.poms
new file mode 100644
index 0000000..4fef93b
--- /dev/null
+++ b/debian/libjogl2-java.poms
@@ -0,0 +1 @@
+debian/pom.xml --java-lib --usj-name=jogl2 --artifact=build/jar/jogl-all.jar
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..e85844b
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,95 @@
+<?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 jogl-all.pom.sh, do not edit directly! -->
+ <!-- -->
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.jogamp.jogl</groupId>
+ <artifactId>jogl-all</artifactId>
+ <version>2.3.2</version>
+ <packaging>jar</packaging>
+ <name>JOGL</name>
+ <description>Java™ Binding for the OpenGL® API</description>
+ <url>http://jogamp.org/jogl/www/</url>
+
+ <!-- jogl/pom.in -->
+
+ <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>SGI Free Software License B</name>
+ <url>http://oss.sgi.com/projects/FreeB</url>
+ </license>
+ <license>
+ <name>Apache License Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0</url>
+ </license>
+ <license>
+ <name>Apache License Version 1.1</name>
+ <url>http://www.apache.org/licenses/LICENSE-1.1</url>
+ </license>
+ <license>
+ <name>Ubuntu Font Licence 1.0</name>
+ <url>http://font.ubuntu.com/ufl/ubuntu-font-licence-1.0.txt</url>
+ </license>
+ </licenses>
+
+ <scm>
+ <url>http://jogamp.org/git/?p=jogl.git/</url>
+ <connection>scm:git:http://jogamp.org/git/jogl.git/</connection>
+ <developerConnection>scm:git:http://jogamp.org/git/jogl.git/</developerConnection>
+ </scm>
+
+ <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 1edc97c..0a2cf29 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,7 @@ DEB_ANT_BUILD_TARGET := all
DEB_ANT_BUILDFILE := make/build.xml
ENABLE_BUILD_HELP_ARCHS := amd64 i386
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+VERSION = $(shell dpkg-parsechangelog --show-field Version | sed 's/\+dfsg.*//')
ifeq ($(DEB_HOST_ARCH),armhf)
DEB_ANT_ARGS += -DisAbiEabiGnuArmhf=true
@@ -25,11 +26,15 @@ else
export DH_OPTIONS += -Nlibjogl2-java-doc
endif
-common-install-prehook-indep::
- mv build/jar/jogl-all.jar build/jar/jogl2.jar
+install/libjogl2-java::
+ mh_install -plibjogl2-java
clean::
$(RM) -r gluegen/build
+ mh_clean
+
+get-orig-pom:
+ wget https://repo1.maven.org/maven2/org/jogamp/jogl/jogl-all/$(VERSION)/jogl-all-$(VERSION).pom -O debian/pom.xml
get-orig-source::
-uscan --verbose --upstream-version 0 --no-symlink
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libjogl2-java.git
More information about the pkg-java-commits
mailing list