Bug#842190: eclipse-platform: /usr/bin/eclipse ignores -configuration before initialisation

2016-10-26 Thread Ximin Luo
Package: eclipse-platform
Version: 3.8.1-10
Severity: important

Dear Maintainer,

I need to run eclipse in order to build a package. To "be safe" I am setting
-configuration, -user and -data to a temporary build directory. However, this
breaks in pbuilder because /usr/bin/eclipse contains a greedy check to see if
~/.eclipse exists, and if not it calls `$ECLIPSE -clean -initialize`.

This breaks in pbuilder because ~/.eclipse is not writable. However, that is
precisely why I gave it a -configuration option in the first place, which
/usr/bin/eclipse ignores in this particular case.

Setting PATH=/usr/lib/eclipse:$PATH works around the problem.

X

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable'), (300, 'unstable'), (200, 'experimental'), 
(1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages eclipse-platform depends on:
ii  ant1.9.7-3
ii  ant-optional   1.9.7-3
ii  default-jre [java6-runtime]2:1.8-57
ii  eclipse-platform-data  3.8.1-10
ii  eclipse-rcp3.8.1-10
ii  gconf-service  3.2.6-3
ii  java-common0.57
ii  libc6  2.23-5
ii  libcommons-codec-java  1.10-1
ii  libcommons-httpclient-java 3.1-12
ii  libcommons-logging-java1.2-1
ii  libgconf-2-4   3.2.6-3
ii  libglib2.0-0   2.49.6-1
ii  libjetty9-java 9.2.19-2
ii  libjsch-java   0.1.54-1
ii  liblucene2-java2.9.4+ds1-6
ii  libservlet3.1-java 8.0.36-2
ii  openjdk-6-jre [java6-runtime]  6b39-1.13.11-1
ii  openjdk-7-jre [java6-runtime]  7u111-2.6.7-1~deb8u1
ii  openjdk-8-jre [java6-runtime]  8u102-b14.1-2
ii  sat4j  2.3.3-1

Versions of packages eclipse-platform recommends:
ii  eclipse-pde  3.8.1-8

Versions of packages eclipse-platform suggests:
ii  eclipse-jdt  3.8.1-8

Versions of packages eclipse-platform is related to:
ii  eclipse-jdt  3.8.1-8
ii  eclipse-pde  3.8.1-8

-- no debconf information

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#814253: antlr4: can't run TestRig / grun

2016-02-09 Thread Ximin Luo
Package: antlr4
Version: 4.5.1-2
Severity: wishlist

Dear Maintainer,

rustc tests ideally want the "grun" tool available on $PATH. Since /usr/bin/grun
already exists in Debian for a different package, antlr4 can't directly provide
this; however a workaround is alias grun='java org.antlr.v4.gui.TestRig' as
indicated on the antlr homepage http://www.antlr.org/. On Debian this is 
slightly
different, you have to run this:

$ java -cp /usr/share/java/antlr4.jar:/usr/share/java/antlr4-runtime.jar 
org.antlr.v4.gui.TestRig
java org.antlr.v4.runtime.misc.TestRig GrammarName startRuleName
  [-tokens] [-tree] [-gui] [-ps file.ps] [-encoding encodingname]
  [-trace] [-diagnostics] [-SLL]
  [input-filename(s)]
Use startRuleName='tokens' if GrammarName is a lexer grammar.
Omitting input-filename makes rig read from stdin.

Could you add the following as a convenience script?

 /usr/share/antlr4/grun
#!/bin/sh
exec java -cp /usr/share/java/antlr4.jar:/usr/share/java/antlr4-runtime.jar 
org.antlr.v4.gui.TestRig


Thanks,
X

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (300, 'unstable'), (200, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages antlr4 depends on:
ii  default-jre-headless [java6-runtime-headless]2:1.7-52.1
ii  libantlr3-runtime-java   3.5.2-4
ii  libantlr4-runtime-java   4.5.1-2
ii  libstringtemplate4-java  4.0.8-2
ii  libtreelayout-java   1.0.2-1
ii  openjdk-6-jre-headless [java6-runtime-headless]  6b38-1.13.10-1
ii  openjdk-7-jre-headless [java6-runtime-headless]  7u91-2.6.3-1

antlr4 recommends no packages.

antlr4 suggests no packages.

-- no debconf information

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#814253: antlr4: can't run TestRig / grun

2016-02-09 Thread Ximin Luo
On Tue, 09 Feb 2016 15:35:44 +0100 Ximin Luo <infini...@debian.org> wrote:
>  /usr/share/antlr4/grun
> #!/bin/sh
> exec java -cp /usr/share/java/antlr4.jar:/usr/share/java/antlr4-runtime.jar 
> org.antlr.v4.gui.TestRig
> 

Whoops, you should add a "$@" to the end of that line of course.

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
git://github.com/infinity0/pubkeys.git

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#702879: freemind: New upstream version available

2013-03-12 Thread Ximin Luo
Package: freemind
Version: 0.9.0+dfsg-2
Severity: normal

Hello, 

A new version of this package is available:

http://freemind.sourceforge.net/wiki/index.php/FreeMind_1.0.0:_The_New_Features

It is current in release candidate status but the maintainer can take this time
to verify that this Debian packaging still works for the new upstream source.


-- Package-specific info:
[debug] /usr/bin/freemind: Picking up the JVM designated by the alternatives 
system: 
[debug] /usr/bin/freemind:   JAVA_HOME = '/usr/lib/jvm/java-6-openjdk-amd64'
[debug] /usr/bin/freemind: Found JAVA_HOME = '/usr/lib/jvm/java-6-openjdk-amd64'
[debug] /usr/bin/freemind: Found JAVA_CMD = 
'/usr/lib/jvm/java-6-openjdk-amd64/bin/java'
DEBUG:   Freemind parameters are ''.
DEBUG:   Linux pdeb1 3.6-trunk-amd64 #1 SMP Debian 3.6.9-1~experimental.1 
x86_64 GNU/Linux
DEBUG:   LSB Version:   
core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Debian
Description:Debian GNU/Linux 7.0 (wheezy)
Release:7.0
Codename:   wheezy
DEBUG:   The following DEB packages are installed:
ii  freemind0.9.0+dfsg-2   allJava 
Program for creating and viewing Mindmaps
ii  freemind-doc0.9.0+dfsg-2   all
Documentation for FreeMind
DEBUG:   Link '/usr/bin/freemind' resolved to '/usr/share/freemind/freemind.sh'.
DEBUG:   Freemind Directory is '/usr/share/freemind'.
DEBUG:   Creating directory ~/.freemind.
DEBUG:   Copying patterns.xml to ~/.freemind.
DEBUG:   Calling: '/usr/lib/jvm/java-6-openjdk-amd64/bin/java 
-Dgnu.java.awt.peer.gtk.Graphics=Graphics2D 
-Dfreemind.base.dir=/usr/share/freemind -cp 
::/usr/share/freemind/lib/freemind.jar:/usr/share/java/SimplyHTML.jar:/usr/share/java/gnu-regexp.jar:/usr/share/java/jibx-run-1.1.6a.jar:/usr/share/java/xpp3.jar:/usr/share/freemind/lib/bindings.jar:/usr/share/java/forms.jar:/usr/share/freemind
 freemind.main.FreeMindStarter  '.

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.6-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages freemind depends on:
ii  default-jre 1:1.6-47
ii  libjgoodies-forms-java  1.3.0-2
ii  libjibx1.1-java 1.1.6a-3
ii  simplyhtml  0.13.1-3

Versions of packages freemind recommends:
ii  freemind-doc   0.9.0+dfsg-2
ii  java-wrappers  0.1.25
ii  xdg-utils  1.1.0~rc1+git20111210-6

Versions of packages freemind suggests:
pn  freemind-browser none
pn  freemind-plugins-helpnone
pn  freemind-plugins-script  none
pn  freemind-plugins-svg none

-- no debconf information

__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#574611: Processed: eclipse-cdt: still not fixed

2011-07-03 Thread Ximin Luo
Hey, sorry, I did some more testing and your package does work with eclipse
3.5.2, just not 3.6.2 (the version in experimental, which I had installed).

I guess you can close this bug, depending on what your intentions are -
although if you're not planning to upload a 3.6.2-compatible one soon, then
maybe you should at least add a conflicts: eclipse-platform (= 3.6) or 
something.

X

On 03/07/11 20:24, Niels Thykier wrote:
 
 submitter 574611 infini...@gmx.com
 thanks
 
 On 2011-07-02 23:12, Debian Bug Tracking System wrote:
 Processing commands for cont...@bugs.debian.org:

 unarchive 574611
 Bug #574611 {Done: Niels Thykier ni...@thykier.net} [eclipse-cdt] 
 eclipse-cdt: Does not show up anywhere in Eclipse
 Unarchived Bug 574611
 reopen 574611
 Bug #574611 {Done: Niels Thykier ni...@thykier.net} [eclipse-cdt] 
 eclipse-cdt: Does not show up anywhere in Eclipse
 'reopen' may be inappropriate when a bug has been closed with a version;
 you may need to use 'found' to remove fixed versions.
 found 574611 6.0.2-1
 Bug #574611 [eclipse-cdt] eclipse-cdt: Does not show up anywhere in Eclipse
 Bug Marked as found in versions eclipse-cdt/6.0.2-1.
 thanks
 Stopping processing here.

 Please contact me if you need assistance.
 
 Hey,
 
 Are you perhaps suffering from #587657?  If not, please include the
 version of eclipse-cdt and eclipse-platform.
 
 ~Niels
 


-- 
GPG: 4096R/5FBBDBCE
https://github.com/infinity0
https://bitbucket.org/infinity0
https://launchpad.net/~infinity0



signature.asc
Description: OpenPGP digital signature
__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#601685: libbsf-java: package does not support optional libs (as the description claims)

2010-10-29 Thread Ximin Luo
severity 601685 important

On 29/10/10 06:17, tony mancill wrote:
 I've applied the patch and committed the update to the packaging repo.

cool, thanks :)

 I'm not sure I agree with the severity - the current package isn't completely
 unusable, is it?  (Your bug report says mostly useless.)  Would severity
 important be more appropriate?

oh, I picked that based on the fact that only 1/5 of the options are supported.
after playing around with the package, i've found that this issue currently
only affects js on java 5, so I guess important is better.

(the other three libs are not supported by debian anyway, and js/bsf is
included with java 6.)

X

-- 
GPG: 4096R/5FBBDBCE



__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please 
use
debian-j...@lists.debian.org for discussions and questions.


Bug#601685: libbsf-java: package does not support optional libs (as the description claims)

2010-10-28 Thread Ximin Luo
Package: libbsf-java
Version: 1:2.4.0-4
Severity: grave
Tags: patch
Justification: renders package unusable

The currently-distributed bsf.jar does not contain the adapter classes (in
org/apache/bsf/engines) for most of the optional languages, except XSLT. This
renders the package mostly useless and is contradictory to the description,
which implies that (e.g.) installing rhino will enable JavaScript support.

This is because the build script tests for rhino, and will exclude the engine
for it, if it's not detected. In other words, to build a proper package that's
useful for the maximum number of people, you need to install all the optional
libs at *build time* and make them available to the build script.

I've attached a patch (for debian/patches) which automatically looks for the
optional jars in their default Debian locations (/usr/share/java) and will
include BSF's adapter classes if detected. I suggest also making those packages
strict Build-Depends so as to not accidentally make this mistake in the future.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libbsf-java depends on:
ii  default-jre-headless [java2 1:1.6-40 Standard Java or Java compatible R
ii  gcj-4.4-jre-headless [java2 4.4.5-2  Java runtime environment using GIJ
ii  gcj-jre-headless [java2-run 4:4.4.5-1Java runtime environment using GIJ
ii  openjdk-6-jre-headless [jav 6b20-1.9.1-1 OpenJDK Java runtime, using Hotspo

libbsf-java recommends no packages.

Versions of packages libbsf-java suggests:
ii  bsh   2.0b4-12   Java scripting environment (BeanSh
ii  jython2.5.1-2Python seamlessly integrated with 
ii  libxalan2-java2.7.1-5XSL Transformations (XSLT) process
ii  rhino 1.7R2-4JavaScript engine written in Java

-- no debconf information
diff -ru libbsf-java-2.4.0.debian/build.xml libbsf-java-2.4.0.new/build.xml
--- libbsf-java-2.4.0.orig/build.xml	2010-10-28 14:16:36.697889355 +0100
+++ libbsf-java-2.4.0/build.xml	2010-10-28 14:11:49.987052496 +0100
@@ -88,10 +88,23 @@
 		include name=**/test/** if=junit.present /
 	/patternset
 
+	path id=lib.classpath
+		fileset dir=${os.jar.dir}
+			include name=commons-logging.jar/
+			!-- JACL not packaged by debian --
+			!-- Jython support broken for =2.5 --
+			!--include name=jython.jar/--
+			!-- NetRexx not packaged by debian --
+			include name=js.jar/
+			include name=xalan2.jar/
+		/fileset
+	/path
+
 	path id=compile.classpath
 		fileset dir=lib
 			include name=*.jar /
 		/fileset
+		path refid=lib.classpath/
 		pathelement location=${build.dest} /
 	/path
 
@@ -120,15 +133,15 @@
 		!-- = --
 		!-- Determines what optional components are available --
 		!-- = --
-		available property=jacl.present classname=tcl.lang.JACL /
+		available property=jacl.present classname=tcl.lang.JACL classpathref=lib.classpath /
 
-		available property=jython.present classname=org.python.util.jython /
+		available property=jython.present classname=org.python.util.jython classpathref=lib.classpath /
 
-		available property=netrexx.present classname=netrexx.lang.Rexx /
+		available property=netrexx.present classname=netrexx.lang.Rexx classpathref=lib.classpath /
 
-		available property=rhino.present classname=org.mozilla.javascript.Scriptable /
+		available property=rhino.present classname=org.mozilla.javascript.Scriptable classpathref=lib.classpath /
 
-		available property=xalan.present classname=org.apache.xalan.xslt.EnvironmentCheck /
+		available property=xalan.present classname=org.apache.xalan.xslt.EnvironmentCheck classpathref=lib.classpath /
 
 		available property=junit.present classname=junit.framework.TestCase /
 
@@ -212,11 +225,7 @@
 	target name=compile description=Compiles the BSF *.java files. depends=prepare
 		mkdir dir=${build.dest}/
 		javac srcdir=${src.dir} destdir=${build.dest} debug=${project.debug} deprecation=${project.deprecation} source=${source.level}
-			classpath
-fileset dir=lib
-	include name=*.jar/
-/fileset
-			/classpath
+			classpath refid=compile.classpath/
 			patternset refid=java.source.files/
 		/javac
 	/target
diff -ru libbsf-java-2.4.0.debian/debian/ant.properties libbsf-java-2.4.0.new/debian/ant.properties
--- libbsf-java-2.4.0.debian/debian/ant.properties	2010-10-28 14:12:27.0 +0100
+++ libbsf-java-2.4.0.new/debian/ant.properties	2010-10-28 14:00:26.31326 +0100
@@ -8,3 +8,4 @@
 source.level=1.3
 src.dir=src
 tests.dir=src
+os.jar.dir=/usr/share/java
__
This is the maintainer 

Bug#601685: Acknowledgement (libbsf-java: package does not support optional libs (as the description claims))

2010-10-28 Thread Ximin Luo
(whoops, just noticed that my patch also edits debian/ant.properties - it still
works, but i guess you'll want to fix that.)

-- 
GPG: 4096R/5FBBDBCE



__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please 
use
debian-j...@lists.debian.org for discussions and questions.


Bug#599626: libdb-je-java: new upstream version available

2010-10-09 Thread Ximin Luo
Package: libdb-je-java
Version: 3.3.62-3
Severity: normal

Hi, according to [1] a newer version of this package, 3.3.98 is available.

Release email [2] says Berkeley DB Java Edition 3.3.98 is a patch release
consisting of fixes for a number of issues. We strongly recommend that users of
the 3.3.x version upgrade to this release.

Also, the URL given in debian/watch is no longer working [3].

[1] 
http://www.oracle.com/technetwork/database/berkeleydb/downloads/index-098622.html
[2] http://oss.oracle.com/pipermail/bdb/2010-May/31.html
[3] http://dehs.alioth.debian.org/report.php?package=libdb-je-java

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libdb-je-java depends on:
ii  default-jre-headless [java2 1:1.6-40 Standard Java or Java compatible R
ii  gcj-4.4-jre-headless [java2 4.4.4-6  Java runtime environment using GIJ
ii  gcj-jre-headless [java2-run 4:4.4.4-2Java runtime environment using GIJ
ii  openjdk-6-jre-headless [jav 6b18-1.8.1-2 OpenJDK Java runtime, using Hotspo

libdb-je-java recommends no packages.

libdb-je-java suggests no packages.

-- no debconf information



__
This is the maintainer address of Debian's Java team
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers. Please 
use
debian-j...@lists.debian.org for discussions and questions.


Bug#538808: libswt3.4-gtk-java: duplicate packages?

2009-07-27 Thread Ximin Luo
Package: libswt3.4-gtk-java
Version: 3.4.1-1
Severity: normal

libswt3.4-gtk-java from source package eclipse
libswt-gtk-3.4-java from source package swt-gtk

since both of these are the swt-gtk from eclipse it seems weird that there
should be duplicate packaging for them

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (500, 
'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libswt3.4-gtk-java depends on:
ii  java-common   0.32   Base of all Java packages
ii  libswt3.4-gtk-jni 3.4.1-1Platform dependent files for libsw

Versions of packages libswt3.4-gtk-java recommends:
pn  libswt3.4-gtk-gcj none (no description available)

libswt3.4-gtk-java suggests no packages.

-- no debconf information



___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers