[Git][java-team/libjpf-java][master] 7 commits: Removed the javadoc
Emmanuel Bourg (@ebourg)
gitlab at salsa.debian.org
Fri Oct 30 08:19:50 GMT 2026
Emmanuel Bourg pushed to branch master at Debian Java Maintainers / libjpf-java
Commits:
02a516e5 by Emmanuel Bourg at 2026-10-30T08:56:31+01:00
Removed the javadoc
- - - - -
71e43047 by Emmanuel Bourg at 2026-10-30T08:57:50+01:00
Converted debian/watch to the version 5 format
- - - - -
d4af79c4 by Emmanuel Bourg at 2026-10-30T08:57:50+01:00
Standards-Version updated to 4.7.4
- - - - -
f44c977b by Emmanuel Bourg at 2026-10-30T08:58:12+01:00
Removed the Priority field
- - - - -
df0d8cfd by Emmanuel Bourg at 2026-10-30T09:12:14+01:00
Removed jpf-tools.jar
- - - - -
0e93d9ea by Emmanuel Bourg at 2026-10-30T09:17:30+01:00
Wrap and sort
- - - - -
783fe69e by Emmanuel Bourg at 2026-10-30T09:17:56+01:00
Upload to unstable
- - - - -
11 changed files:
- debian/changelog
- debian/control
- − debian/libjpf-java.doc-base
- debian/libjpf-java.docs
- − debian/libjpf-java.lintian-overrides
- debian/patches/debian-jars.patch
- − debian/patches/jxp_161.patch
- + debian/patches/no-tools.patch
- debian/patches/series
- debian/rules
- debian/watch
Changes:
=====================================
debian/changelog
=====================================
@@ -1,9 +1,18 @@
-libjpf-java (1.5.1+dfsg-6) UNRELEASED; urgency=medium
+libjpf-java (1.5.1+dfsg-6) unstable; urgency=medium
* Team upload.
+
+ [ Bas Couwenberg ]
* Mark libjpf-java as Multi-Arch: foreign.
- -- Bas Couwenberg <sebastic at debian.org> Fri, 18 Jul 2025 13:07:18 +0200
+ [ Emmanuel Bourg ]
+ * Removed the javadoc
+ * Removed jpf-tools.jar
+ * Converted debian/watch to the version 5 format
+ * Standards-Version updated to 4.7.4
+ * Removed the Priority field
+
+ -- Emmanuel Bourg <ebourg at apache.org> Fri, 30 Oct 2026 09:17:49 +0100
libjpf-java (1.5.1+dfsg-5) unstable; urgency=medium
=====================================
debian/control
=====================================
@@ -1,18 +1,15 @@
Source: libjpf-java
+Section: java
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: tony mancill <tmancill at debian.org>
-Section: java
-Priority: optional
-Build-Depends: debhelper-compat (= 13),
- ant,
- javahelper,
- maven-repo-helper
-Build-Depends-Indep: default-jdk,
- libcommons-logging-java,
- libjxp-java,
- libonemind-commons-java-java,
- libonemind-commons-invoke-java
-Standards-Version: 4.6.0
+Build-Depends:
+ debhelper-compat (= 13),
+ ant,
+ default-jdk,
+ javahelper,
+ libcommons-logging-java,
+ maven-repo-helper
+Standards-Version: 4.7.4
Vcs-Browser: https://salsa.debian.org/java-team/libjpf-java
Vcs-Git: https://salsa.debian.org/java-team/libjpf-java.git
Homepage: http://jpf.sourceforge.net/
=====================================
debian/libjpf-java.doc-base deleted
=====================================
@@ -1,9 +0,0 @@
-Document: libjpf-java-doc
-Title: API Javadoc for Java Plugin Framework
-Author: Dmitry Olshansky
-Abstract: This is the API Javadoc provided for the libjpf-java library.
-Section: Programming
-
-Format: HTML
-Index: /usr/share/doc/libjpf-java/api/index.html
-Files: /usr/share/doc/libjpf-java/api/*
=====================================
debian/libjpf-java.docs
=====================================
@@ -1,2 +1 @@
-build/docs/api
README.txt
=====================================
debian/libjpf-java.lintian-overrides deleted
=====================================
@@ -1,4 +0,0 @@
-# Should not be done on per package basis
-embedded-javascript-library * please use libjs-jquery
-embedded-javascript-library * please use libjs-jquery-ui
-
=====================================
debian/patches/debian-jars.patch
=====================================
@@ -4,7 +4,7 @@ Forwarded: not-needed
--- a/build.xml
+++ b/build.xml
-@@ -34,8 +34,11 @@
+@@ -34,8 +34,8 @@
<property name="javadoc.nodeprecated" value="false"/>
<path id="classpath">
@@ -12,9 +12,6 @@ Forwarded: not-needed
- <include name="*.jar"/>
+ <fileset dir="/usr/share/java">
+ <include name="commons-logging.jar"/>
-+ <include name="jxp.jar"/>
-+ <include name="commons-java.jar"/>
-+ <include name="commons-invoke.jar"/>
</fileset>
<pathelement path="${build.classes}"/>
</path>
=====================================
debian/patches/jxp_161.patch deleted
=====================================
@@ -1,151 +0,0 @@
-Description: make jpf work with newer jxp
-Author: tony mancill <tmancill at debian.org>
-Forwarded: not-needed
-
---- a/source-tools/org/java/plugin/tools/docgen/ClassPathPageSource.java
-+++ /dev/null
-@@ -1,85 +0,0 @@
--package org.java.plugin.tools.docgen;
--
--import java.io.IOException;
--import java.io.InputStreamReader;
--
--import org.onemind.commons.java.util.FileUtils;
--import org.onemind.jxp.CachedJxpPage;
--import org.onemind.jxp.CachingPageSource;
--import org.onemind.jxp.JxpPage;
--import org.onemind.jxp.JxpPageNotFoundException;
--import org.onemind.jxp.JxpPageParseException;
--import org.onemind.jxp.parser.AstJxpDocument;
--import org.onemind.jxp.parser.JxpParser;
--import org.onemind.jxp.parser.ParseException;
--
--/**
-- * JXP page source configured to load templates from the classpath.
-- * @version $Id$
-- */
--final class ClassPathPageSource extends CachingPageSource {
-- private final String base;
-- private final ClassLoader cl;
-- private final String encoding;
--
-- ClassPathPageSource(final String aBase, final String anEncoding) {
-- super();
-- base = aBase;
-- encoding = anEncoding;
-- cl = getClass().getClassLoader();
-- }
--
-- /**
-- * @see org.onemind.jxp.CachingPageSource#loadJxpPage(java.lang.String)
-- */
-- @Override
-- protected CachedJxpPage loadJxpPage(final String id)
-- throws JxpPageNotFoundException {
-- if (!hasJxpPage(id)) {
-- throw new JxpPageNotFoundException("page " + id + " not found"); //$NON-NLS-1$ //$NON-NLS-2$
-- }
-- return new CachedJxpPage(this, id);
-- }
--
-- /**
-- * @see org.onemind.jxp.CachingPageSource#parseJxpDocument(
-- * org.onemind.jxp.JxpPage)
-- */
-- @Override
-- protected AstJxpDocument parseJxpDocument(final JxpPage page)
-- throws JxpPageParseException {
-- try {
-- JxpParser parser;
-- if (encoding == null) {
-- parser = new JxpParser(cl.getResourceAsStream(
-- getStreamName(page.getName())));
-- } else {
-- parser = new JxpParser(new InputStreamReader(
-- cl.getResourceAsStream(getStreamName(page.getName())),
-- encoding));
-- }
-- return parser.JxpDocument();
-- } catch (IOException ioe) {
-- throw new JxpPageParseException("problem parsing page " //$NON-NLS-1$
-- + page.getName() + ": " + ioe.getMessage(), ioe); //$NON-NLS-1$
-- } catch (ParseException pe) {
-- throw new JxpPageParseException("problem parsing page " //$NON-NLS-1$
-- + page.getName() + ": " + pe.getMessage(), pe); //$NON-NLS-1$
-- }
-- }
--
-- /**
-- * @see org.onemind.jxp.JxpPageSource#hasJxpPage(java.lang.String)
-- */
-- @Override
-- public boolean hasJxpPage(final String id) {
-- if (isJxpPageCached(id)) {
-- return true;
-- }
-- return cl.getResource(getStreamName(id)) != null;
-- }
--
-- private String getStreamName(final String pageName) {
-- return FileUtils.concatFilePath(base, pageName);
-- }
--}
---- a/source-tools/org/java/plugin/tools/docgen/DocGenerator.java
-+++ b/source-tools/org/java/plugin/tools/docgen/DocGenerator.java
-@@ -45,8 +45,11 @@
- import org.java.plugin.registry.PluginRegistry;
- import org.java.plugin.util.IoUtil;
- import org.onemind.jxp.FilePageSource;
--import org.onemind.jxp.JxpProcessingContext;
-+import org.onemind.jxp.CachingPageSource;
-+import org.onemind.jxp.JxpPageSource;
- import org.onemind.jxp.JxpProcessor;
-+import org.onemind.jxp.JxpContext;
-+import org.onemind.jxp.ResourceStreamPageSource;
-
- /**
- * Tool class to generate documentation for plug-ins using <a
-@@ -128,7 +131,7 @@
- final PathResolver aPathResolver, final String templatesPath,
- final String templatesEncoding) throws Exception {
- this(aRegistry, aPathResolver, new JxpProcessor(
-- new ClassPathPageSource(templatesPath, templatesEncoding)));
-+ new JxpContext(new FilePageSource(templatesPath, templatesEncoding))));
- }
-
- /**
-@@ -152,8 +155,8 @@
- final String templatesEncoding) throws Exception {
- // TODO: use character encoding when that will be possible in JXP
- // library
-- this(aRegistry, aPathResolver, new JxpProcessor(new FilePageSource(
-- templatesFolder.getCanonicalPath())));
-+ this(aRegistry, aPathResolver, new JxpProcessor(
-+ new JxpContext(new FilePageSource(templatesFolder.getCanonicalPath()))));
- }
-
- private DocGenerator(final PluginRegistry aRegistry,
-@@ -217,7 +220,7 @@
- Writer out = new OutputStreamWriter(new BufferedOutputStream(
- new FileOutputStream(outFile, false)), outputEncoding);
- try {
-- processor.process(template, new JxpProcessingContext(out, ctx));
-+ processor.process(template, out);
- } finally {
- out.close();
- }
-@@ -237,11 +240,11 @@
- Writer out = new OutputStreamWriter(new BufferedOutputStream(
- new FileOutputStream(outFile, false)), outputEncoding);
- try {
-- JxpProcessor proc = new JxpProcessor(new FilePageSource(tmpFile
-- .getParentFile().getCanonicalPath()));
-+ JxpProcessor proc = new JxpProcessor(
-+ new JxpContext(new FilePageSource(tmpFile.getParentFile().getCanonicalPath())));
- // TODO: use character encoding when that will be possible in JXP
- // library (UTF-8 in this case)
-- proc.process(tmpFile.getName(), new JxpProcessingContext(out, ctx));
-+ proc.process(tmpFile.getName(), out);
- } finally {
- tmpFile.delete();
- out.close();
=====================================
debian/patches/no-tools.patch
=====================================
@@ -0,0 +1,49 @@
+Description: Do not build jpf-tools.jar, unused in Debian
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/build.xml
++++ b/build.xml
+@@ -79,17 +79,6 @@
+ debug="${compile.debug}"
+ optimize="${compile.optimize}"
+ deprecation="true"/>
+- <!-- compile tools classes -->
+- <javac
+- destdir="${build.classes-tools}"
+- srcdir="${src-tools.home}"
+- classpathref="classpath"
+- excludes=""
+- target="${compile.target-vm}"
+- source="${compile.target-vm}"
+- debug="${compile.debug}"
+- optimize="${compile.optimize}"
+- deprecation="true"/>
+ <!-- compile boot classes -->
+ <javac
+ destdir="${build.classes-boot}"
+@@ -118,24 +107,10 @@
+ <fileset dir="${build.classes}"/>
+ <fileset dir="${src.home}" excludes="**/*.java,**/*.jpage,**/.*"/>
+ </jar>
+- <jar destfile="${build.lib}/${app.name}-tools.jar">
+- <manifest>
+- <attribute name="Class-Path" value="${app.name}.jar jxp.jar"/>
+- <!--attribute name="Name" value="org/java/plugin/tools"/-->
+- <attribute name="Specification-Title" value="Java Plug-in Framework (JPF) - tools library"/>
+- <attribute name="Specification-Version" value="${app.version}"/>
+- <attribute name="Specification-Vendor" value="http://jpf.sourceforge.net"/>
+- <attribute name="Implementation-Title" value="org.java.plugin.tools"/>
+- <attribute name="Implementation-Version" value="${app.version}"/>
+- <attribute name="Implementation-Vendor" value="http://jpf.sourceforge.net"/>
+- </manifest>
+- <fileset dir="${build.classes-tools}"/>
+- <fileset dir="${src-tools.home}" excludes="**/*.java,**/*.jpage,**/.*"/>
+- </jar>
+ <jar destfile="${build.lib}/${app.name}-boot.jar">
+ <manifest>
+ <attribute name="Main-Class" value="org.java.plugin.boot.Boot"/>
+- <attribute name="Class-Path" value="${app.name}.jar ${app.name}-tools.jar log4j.jar"/>
++ <attribute name="Class-Path" value="${app.name}.jar log4j.jar"/>
+ <!--attribute name="Name" value="org/java/plugin/boot"/-->
+ <attribute name="Specification-Title" value="Java Plug-in Framework (JPF) - application boot library"/>
+ <attribute name="Specification-Version" value="${app.version}"/>
=====================================
debian/patches/series
=====================================
@@ -1,3 +1,3 @@
-jxp_161.patch
compliance.patch
debian-jars.patch
+no-tools.patch
=====================================
debian/rules
=====================================
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
export JAVA_HOME=/usr/lib/jvm/default-java
-export CLASSPATH=/usr/share/java/commons-logging.jar:/usr/share/java/jxp.jar:/usr/share/java/onemind-commons-java.jar:/usr/share/java/onemind-commons-invoke.jar
+export CLASSPATH=/usr/share/java/commons-logging.jar
%:
dh $@ --with javahelper
@@ -11,7 +11,7 @@ clean:
mh_clean
override_jh_build:
- ant jar docs
+ ant jar
override_dh_installchangelogs:
dh_installchangelogs changelog.txt
@@ -21,4 +21,3 @@ override_dh_install:
mh_installpom -plibjpf-java jpf-pom.xml
mh_installjar -plibjpf-java -l jpf-boot-pom.xml build/lib/jpf-boot.jar
mh_installpom -plibjpf-java jpf-boot-pom.xml
- dh_install -plibjpf-java build/lib/jpf-tools.jar usr/share/java
=====================================
debian/watch
=====================================
@@ -1,6 +1,6 @@
-version=4
-opts=\
-dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
-uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/,\
-repacksuffix=+dfsg \
-http://sf.net/jpf/jpf-src-([\d.]+)\.zip
+Version: 5
+Source: https://sf.net/jpf/
+Matching-Pattern: jpf-src-([\d.]+)\.zip
+Dversion-Mangle: s/\+dfsg\d*$//
+Repacksuffix: +dfsg
+Compression: xz
View it on GitLab: https://salsa.debian.org/java-team/libjpf-java/-/compare/9ce27b3f6f32068c684cec14ed472ba974529a97...783fe69ecf3d37113c091aa236fed3ad62e39141
--
View it on GitLab: https://salsa.debian.org/java-team/libjpf-java/-/compare/9ce27b3f6f32068c684cec14ed472ba974529a97...783fe69ecf3d37113c091aa236fed3ad62e39141
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20261030/e52dff11/attachment.htm>
More information about the pkg-java-commits
mailing list