[jboss-xnio] 01/01: Imported Debian patch 3.3.2-1

Markus Koschany apo-guest at moszumanska.debian.org
Wed Sep 16 13:27:23 UTC 2015


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

apo-guest pushed a commit to branch master
in repository jboss-xnio.

commit b02156823849d906241bf2b8b55507a4654539fe
Author: Markus Koschany <apo at gambaru.de>
Date:   Wed Sep 16 15:22:22 2015 +0200

    Imported Debian patch 3.3.2-1
---
 debian/README.source                       |  9 +++++
 debian/changelog                           |  5 +++
 debian/compat                              |  1 +
 debian/control                             | 61 ++++++++++++++++++++++++++++++
 debian/copyright                           | 28 ++++++++++++++
 debian/libjboss-xnio-java-doc.doc-base.api | 10 +++++
 debian/libjboss-xnio-java-doc.install      |  2 +
 debian/libjboss-xnio-java.poms             | 30 +++++++++++++++
 debian/maven.ignoreRules                   |  4 ++
 debian/maven.properties                    |  7 ++++
 debian/maven.rules                         | 12 ++++++
 debian/patches/disable-apiviz-plugin.patch | 31 +++++++++++++++
 debian/patches/series                      |  1 +
 debian/rules                               |  8 ++++
 debian/source/format                       |  1 +
 debian/watch                               |  6 +++
 16 files changed, 216 insertions(+)

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..af46570
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+Information about jboss-xnio
+----------------------------
+
+This package was debianized using the mh_make command
+from the maven-debian-helper package.
+
+The build system uses Maven but prevents it from downloading
+anything from the Internet, making the build compliant with
+the Debian policy.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..10802c3
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+jboss-xnio (3.3.2-1) unstable; urgency=medium
+
+  * Initial release (Closes: #799106)
+
+ -- Markus Koschany <apo at gambaru.de>  Wed, 16 Sep 2015 15:22:22 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..12bbc4f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,61 @@
+Source: jboss-xnio
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders:
+ Markus Koschany <apo at gambaru.de>
+Build-Depends:
+ debhelper (>= 9),
+ default-jdk,
+ default-jdk-doc,
+ junit4,
+ libjboss-logging-java,
+ libjboss-logging-tools-java,
+ libjboss-logmanager-java,
+ libjmock2-java,
+ libmaven-javadoc-plugin-java,
+ libsurefire-java,
+ maven-debian-helper (>= 1.5)
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-java/jboss-xnio.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/jboss-xnio.git
+Homepage: http://xnio.jboss.org/
+
+Package: libjboss-xnio-java
+Architecture: all
+Depends:
+ ${maven:Depends},
+ ${misc:Depends}
+Suggests:
+ libjboss-xnio-java-doc,
+ ${maven:OptionalDepends}
+Description: simplified low-level I/O layer for NIO
+ XNIO is a simplified low-level I/O layer which can be used anywhere you are
+ using non-blocking I/O today. It frees you from the hassle of dealing with
+ Selectors and the lack of NIO support for multicast sockets and non-socket
+ I/O, while still maintaining all the capabilities present in NIO, and it opens
+ the door to non-obvious optimizations.
+ .
+ XNIO provides a unique API for combining blocking and non-blocking operations,
+ even on the same channel, allowing you to take advantage of the simplicity and
+ low latency of blocking I/O while still gaining the thread-conservative and
+ throughput benefits of non-blocking I/O.
+
+Package: libjboss-xnio-java-doc
+Architecture: all
+Section: doc
+Depends:
+ ${misc:Depends}
+Recommends:
+ ${maven:DocDepends},
+ ${maven:DocOptionalDepends}
+Suggests:
+ libjboss-xnio-java
+Description: Documentation for jboss-xnio
+ XNIO is a simplified low-level I/O layer which can be used anywhere you are
+ using non-blocking I/O today. It frees you from the hassle of dealing with
+ Selectors and the lack of NIO support for multicast sockets and non-socket
+ I/O, while still maintaining all the capabilities present in NIO, and it opens
+ the door to non-obvious optimizations.
+ .
+ This package contains the API documentation of libjboss-xnio-java.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..45fe699
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Jboss XNIO
+Source: https://github.com/xnio/xnio
+
+Files: *
+Copyright: 2015, Red Hat, Inc.
+License: Apache-2.0
+
+Files: nio-impl/src/test/java/org/xnio/nio/test/NioHalfDuplexChannelPipeTestCase.java
+ nio-impl/src/test/java/org/xnio/nio/test/FullDuplexChannelPipeTestCase.java
+ nio-impl/src/test/java/org/xnio/nio/test/HalfDuplexChannelPipeTestCase.java
+ nio-impl/src/test/java/org/xnio/nio/test/TestChannelListener.java
+ nio-impl/src/test/java/org/xnio/nio/test/racecondition/NullHelper.java
+ api/src/main/java/org/xnio/ObjectProperties.java
+Copyright: 2010-2015, Red Hat, Inc
+License: LGPL-2.1+
+
+Files: debian/*
+Copyright: 2015, Markus Koschany <apo at gambaru.de>
+License: Apache-2.0 or LGPL-2.1+
+
+License: Apache-2.0
+ On Debian systems, the full text of the Apache-2.0 license
+ can be found in the file '/usr/share/common-licenses/Apache-2.0'
+
+License: LGPL-2.1+
+ On Debian systems, the full text of the LGPL-2.1 license
+ can be found in the file '/usr/share/common-licenses/LGPL-2.1'
diff --git a/debian/libjboss-xnio-java-doc.doc-base.api b/debian/libjboss-xnio-java-doc.doc-base.api
new file mode 100644
index 0000000..567d901
--- /dev/null
+++ b/debian/libjboss-xnio-java-doc.doc-base.api
@@ -0,0 +1,10 @@
+Document: libjboss-xnio-java
+Title: API Javadoc for XNIO
+Author: XNIO developers
+Abstract: This is the API Javadoc provided for the
+ libjboss-xnio-java libraries.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libjboss-xnio-java/api/index.html
+Files: /usr/share/doc/libjboss-xnio-java/api/*
diff --git a/debian/libjboss-xnio-java-doc.install b/debian/libjboss-xnio-java-doc.install
new file mode 100644
index 0000000..654a26b
--- /dev/null
+++ b/debian/libjboss-xnio-java-doc.install
@@ -0,0 +1,2 @@
+api/target/apidocs/* usr/share/doc/libjboss-xnio-java/api/
+nio-impl/target/apidocs/* usr/share/doc/libjboss-xnio-java/nio-impl/
diff --git a/debian/libjboss-xnio-java.poms b/debian/libjboss-xnio-java.poms
new file mode 100644
index 0000000..2267c58
--- /dev/null
+++ b/debian/libjboss-xnio-java.poms
@@ -0,0 +1,30 @@
+# 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
+api/pom.xml
+nio-impl/pom.xml
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..a44612e
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,4 @@
+
+org.apache.maven.plugins maven-source-plugin * * * *
+org.jboss.bridger bridger * * * *
+org.jboss.byteman * * * * *
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..d55c584
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1,7 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+maven.test.skip=true
+maven.compiler.source=1.7
+maven.compiler.target=1.7
+project.build.sourceEncoding=UTF-8
+
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..df322ea
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,12 @@
+
+junit junit jar s/4\..*/4.x/ * *
+org.jboss.logging jboss-logging-annotations jar s/.*/debian/ * *
+org.jboss.logging jboss-logging-processor jar s/.*/debian/ * *
+org.jboss.logging jboss-logging jar s/.*/debian/ * *
+org.jboss.logmanager jboss-logmanager jar s/.*/debian/ * *
+org.jboss.xnio xnio-all pom s/.*/debian/ * *
+org.jboss.xnio xnio-api jar s/.*/debian/ * *
+org.jboss.xnio xnio-nio jar s/.*/debian/ * *
+s/org\.jmock/jmock/ jmock jar s/.*/2.x/ * *
+s/org\.jmock/jmock/ jmock-junit4 jar s/.*/2.x/ * *
+
diff --git a/debian/patches/disable-apiviz-plugin.patch b/debian/patches/disable-apiviz-plugin.patch
new file mode 100644
index 0000000..8124ae8
--- /dev/null
+++ b/debian/patches/disable-apiviz-plugin.patch
@@ -0,0 +1,31 @@
+From: Markus Koschany <apo at gambaru.de>
+Date: Fri, 29 May 2015 13:52:54 +0200
+Subject: disable apiviz plugin
+
+Forwarded: not-needed
+---
+ api/pom.xml | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/api/pom.xml b/api/pom.xml
+index 527cae2..875950a 100644
+--- a/api/pom.xml
++++ b/api/pom.xml
+@@ -158,7 +158,7 @@
+             </plugin>
+             <plugin>
+                 <artifactId>maven-javadoc-plugin</artifactId>
+-                <configuration>
++                <!--<configuration>
+                     <detectJavaApiLink>false</detectJavaApiLink>
+                     <detectLinks>false</detectLinks>
+                     <doclet>net.gleamynode.apiviz.APIviz</doclet>
+@@ -174,7 +174,7 @@
+                     <links>
+                         <link>http://java.sun.com/javase/7/docs/api/</link>
+                     </links>
+-                </configuration>
++                </configuration>-->
+             </plugin>
+         </plugins>
+     </build>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2775e34
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+disable-apiviz-plugin.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fc6afff
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+export JAVA_HOME=/usr/lib/jvm/default-java
+
+%:
+	dh $@ --parallel --buildsystem=maven
+
+get-orig-source:
+	uscan --verbose --download-current-version --force-download
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/watch b/debian/watch
new file mode 100644
index 0000000..01b313f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+version=3
+opts=dversionmangle=s/(\da?)[\+\.\-~](?:dfsg|debian|ds|repack|repacked)\.?\d*$/$1/,\
+uversionmangle=s/_/./g;s/\.Final// \
+https://github.com/xnio/xnio/tags \
+.*/archive/(?:upstream/)?(?:v||version-|release-|X|R|r)(\d\S*)\.Final\.tar\.gz
+

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



More information about the pkg-java-commits mailing list