[java-policy] 45/198: Updated java policy with more about JNI.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Sep 23 07:49:28 UTC 2015


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

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

commit 4c72dc931d6d1a6c7c96c5e32c20626db237711f
Author: Ola Nordmann <olapc at yahoo.no>
Date:   Wed Sep 25 14:53:39 2002 +0000

    Updated java policy with more about JNI.
---
 debian/changelog |  8 ++++++++
 debian/control   |  2 +-
 policy.xml       | 30 ++++++++++++++++++------------
 3 files changed, 27 insertions(+), 13 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5dad6d6..fdb670d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+java-common (0.16) unstable; urgency=low
+
+  * Updated java policy with more about JNI, closes: #162282.
+
+ -- Ola Lundqvist <opal at debian.org>  Wed, 25 Sep 2002 16:50:48 +0200
+
 java-common (0.15) unstable; urgency=low
 
   * Removed policy.sgml from source.
@@ -11,6 +17,8 @@ java-common (0.15) unstable; urgency=low
     "Grzegorz Prokopski (Debian Developer)" <gadek at debian.org>.
   * Fixed typo, closes: #160735.
   * Updated debian-java-faq.
+  * Fixed build problem.
+  * Updated standards version.
 
  -- Ola Lundqvist <opal at debian.org>  Wed, 25 Sep 2002 07:41:45 +0200
 
diff --git a/debian/control b/debian/control
index ff2724d..6405cec 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: misc
 Priority: optional
 Maintainer: Ola Lundqvist <opal at debian.org>
 Build-Depends-Indep: debhelper (>> 3.0.0), debiandoc-sgml, docbook-utils, docbook-xml, dpsyco-devel, lynx
-Standards-Version: 3.5.2
+Standards-Version: 3.5.7
 
 Package: java-common
 Architecture: all
diff --git a/policy.xml b/policy.xml
index bbeaa77..4a19688 100644
--- a/policy.xml
+++ b/policy.xml
@@ -118,14 +118,6 @@
     </para>
 
     <para>
-      If the Java code depends on code written in a "native" language,
-      for example Java Native Interface code, the compiled native code
-      &should; be shipped in a separate architecture-specific package.
-      The package containing Java bytecode should depend on this
-      package.
-    </para>
-
-    <para>
       This policy does not yet address the issue of documentation (for instance
       HTML pages made with javadoc).
     </para>
@@ -227,9 +219,9 @@
 	with the name
 	<filename>packagename[-extraname]-fullversion.jar</filename>.
 	The extraname is optional and used internaly within the package to
-	separate the different
-	jars provided by the package. The fullversion is the version of that
-	jar file. In some cases that is not the same as the package version.
+	separate the different jars provided by the package. The fullversion
+	is the version of that jar file. In some cases that is not the same as
+	the package version.
       </para>
       <para>
 	Some package &must; also provide a symbolic link from
@@ -254,8 +246,22 @@
 	classes provied by a the runtime environment.
       </para>
       
+      <para>
+        If the Java code depends on code written in a "native" language,
+        for example Java Native Interface code, the compiled native code
+        &should; be shipped in a separate architecture-specific package
+        named libXXX[version]-jni. The package containing Java bytecode
+	&should; depend on this package.
+      </para>
+      <para>
+	There may be situations, such as with very small packages,
+	where it is better to bundle the Java code and the native code
+	together into a single package. Such packages should be
+	architecture-specific and follow the usual libXXX[version]-java
+	naming convention.
+      </para>
     </sect1>
-    
+
     <sect1 id="policy-politics">
       <title>Main, contrib or non-free</title>
       <para>

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



More information about the pkg-java-commits mailing list