Bug#621740: fixed in sweethome3d 3.3+dfsg-1

2011-08-09 Thread Ronny Standtke
reopen 621740
thanks

Unfortunately, you forgot to replace the old, blurry icons with the
improved version I also provided in the initial bug report.

Best regards

-- 
Ronny Standtke Fachhochschule Nordwestschweiz
Dozent MedienpƤdagogik / ICT   PƤdagogische Hochschule
Telefon: +41 32 628 67 08  Obere Sternengasse 7
Mobil  : +41 79 786 81 82  4502 Solothurn




__
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#714394: pdfsam: fix support for system default locale (patch included)

2013-06-28 Thread Ronny Standtke
Package: pdfsam
Version: 1.1.4-2
Severity: normal

pdfsam uses Locale.UK per default, even when it supports the current system
locale. This way a user outside the UK always has to know about this and
change
the language settings of pdfsam manually. The current locale handling also
does not allow pdfsam to simply follow the system locale settings, instead a
user always has to reconfigure pdfsam manually every time after changing
the system locale.

The attached patch fixes this issue. If you approve the patch, feel free to
send the changes upstream.

-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.9-1-486
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pdfsam depends on:
ii  default-jre [java2-runtime]1:1.7-48~bpo70+1
ii  java-wrappers  0.1.25
ii  libcommons-httpclient-java 3.1-10.2
ii  libdom4j-java  1.6.1+dfsg.2-6
ii  libhttpclient-java 4.1.1-2
ii  libitext-java  2.1.7-3+deb7u1
ii  libjaxen-java  1.1.3-1
ii  libjgoodies-looks-java 2.5.0-2
ii  liblog4j1.2-java   1.2.16-3
ii  openjdk-7-jre [java2-runtime]  7u21-2.3.9-1~bpo70+1

pdfsam recommends no packages.

pdfsam suggests no packages.

-- no debconf information
Description: fixed system locale handling
 This patch adds support for system default locale handling so that pdfsam
 starts with the system language per default and uses Locale.UK only as
 the fallback locale if the system locale is not supported by pdfsam.
 .
 pdfsam (1.1.4-3) unstable; urgency=low
 .
   * fixed system locale handling
Author: Ronny Standtke ronny.stand...@fhnw.ch

--- 
pdfsam-1.1.4.orig/pdfsam-maine-br1/src/java/org/pdfsam/guiclient/l10n/LanguageLoader.java
+++ 
pdfsam-1.1.4/pdfsam-maine-br1/src/java/org/pdfsam/guiclient/l10n/LanguageLoader.java
@@ -23,8 +23,9 @@ import java.util.ResourceBundle;
 public class LanguageLoader {
 
 //const
-public static final String DEFAULT_LANGUAGE = en_GB;
-public final Locale DEFAULT_LOCALE = Locale.UK;
+public static final Locale DEFAULT_LOCALE = Locale.getDefault();
+public static final Locale FALLBACK_LOCALE = Locale.UK;
+public static final String DEFAULT_LANGUAGE = DEFAULT_LOCALE.getLanguage();
 //vars
 private String bundleName;
 private Locale currentLocale; 
@@ -45,7 +46,7 @@ public class LanguageLoader {
currentLocale = new Locale (i18nInfos[0].toLowerCase());
}
 }catch(Exception ex){
-currentLocale = DEFAULT_LOCALE;
+currentLocale = FALLBACK_LOCALE;
 }
 }
 
@@ -57,7 +58,7 @@ public class LanguageLoader {
 try{
 return ResourceBundle.getBundle(bundleName, currentLocale);
 }catch(Exception exc){
-return ResourceBundle.getBundle(bundleName, DEFAULT_LOCALE);
+return ResourceBundle.getBundle(bundleName, FALLBACK_LOCALE);
 }
 }
 
@@ -69,7 +70,7 @@ public class LanguageLoader {
 try{
 return ResourceBundle.getBundle(bundleName, currentLocale, cl);
 }catch(Exception exc){
-return ResourceBundle.getBundle(bundleName, DEFAULT_LOCALE, cl);
+return ResourceBundle.getBundle(bundleName, FALLBACK_LOCALE, cl);
 }
 }
 
--- 
pdfsam-1.1.4.orig/pdfsam-maine-br1/src/java/org/pdfsam/guiclient/configuration/Configuration.java
+++ 
pdfsam-1.1.4/pdfsam-maine-br1/src/java/org/pdfsam/guiclient/configuration/Configuration.java
@@ -206,6 +206,7 @@ public class Configuration{
log.warn(Unable to get language ResourceBudle, setting 
the default language., e);
language = LanguageLoader.DEFAULT_LANGUAGE;
}
+   log.info(Language:  + language);

//get bundle
i18nMessages = (new LanguageLoader(language, 
org.pdfsam.i18n.resources.Messages).getBundle());
--- pdfsam-1.1.4.orig/pdfsam-langpack-br1/src/java/org/pdfsam/i18n/languages.xml
+++ pdfsam-1.1.4/pdfsam-langpack-br1/src/java/org/pdfsam/i18n/languages.xml
@@ -1,5 +1,6 @@
 ?xml version=1.0 encoding=UTF-8?
 languages
+language value= description=System default /  
 language value=bs description=Bosnian /  
 language value=pt_BR description=Brazilian Portuguese /
 language value=bg description=Bulgarian /  
--- pdfsam-1.1.4.orig/template-basic-1/config.xml
+++ pdfsam-1.1.4/template-basic-1/config.xml
@@ -12,7 +12,6 @@
   LAF5/LAF  
   theme14/theme 
 /lookAndfeel  
-i18nen_GB/i18n  
 plugs_absolute_dir/  
 defaultjob/defaultjob  
 loglevel1/loglevel 
__
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

Bug#726988: findbugs: fails to build from source

2013-10-21 Thread Ronny Standtke
Package: findbugs
Version: 2.0.2-1
Severity: important


The findbugs package fails to build from source with the following error 
messages:

generatemanual:
 [echo] Generating HTML version of manual
 [echo] Running saxon: /usr/share/java/saxon.jar
 [java] Error at xsl:import on line 8 of 
file:/home/ronny/lernstick/backports/wheezy/src/findbugs-2.0.2/doc/manual.xsl:
 [java]   Failure reading 
file:/Users/pugh/tools/docbook-xsl-1.76.1/html/chunk.xsl: 
/Users/pugh/tools/docbook-xsl-1.76.1/html/chunk.xsl (No such file or directory)
 [java] Transformation failed: Failed to compile stylesheet. 1 error 
detected.

BUILD FAILED
/home/ronny/lernstick/backports/wheezy/src/findbugs-2.0.2/build.xml:748: The 
following error occurred while executing this line:
/home/ronny/lernstick/backports/wheezy/src/findbugs-2.0.2/build.xml:919: Java 
returned: 2

Total time: 11 seconds
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory 
`/home/ronny/lernstick/backports/wheezy/src/findbugs-2.0.2'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -D -us -uc -nc failed


Looks like the hard-coded path 
/Users/pugh/tools/docbook-xsl-1.76.1/html/chunk.xsl is the culprit here...

__
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#726988: findbugs: fails to build from source

2013-10-29 Thread Ronny Standtke
Hi Tony

 It appears that you're trying to build the package before the debian
 patches are applied.  debian/patches/0001-fix-ant-docs.patch patches
 build.xml such that you shouldn't see that path during the build.

 I'm not able to reproduce the build failure here.

You can reproduce the issue by trying to build the package with debuild
-nc.
When calling ./debian/rules clean in advance, the build failure is gone.

Regards

Ronny

__
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#777241: dbus-java-bin: CreateInterface failes to parse DBus type signature

2015-02-06 Thread Ronny Standtke
Package: dbus-java-bin
Version: 2.8-5
Severity: important

I tried to create an interface by calling:
CreateInterface --system org.freedesktop.UDisks2
/org/freedesktop/UDisks2/block_devices/sda

This reproducibly failes with the following output:
/* File: org/freedesktop/UDisks2/Block.java */
package org.freedesktop.UDisks2;
ERROR: Failed to parse DBus type signature: h (h).


-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-586
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dbus-java-bin depends on:
ii  libdbus-java   2.8-5
ii  openjdk-7-jre  7u71-2.5.3-2

dbus-java-bin recommends no packages.

dbus-java-bin suggests no packages.

-- 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#794387: freemind: please install svg icon (patch included)

2015-08-02 Thread Ronny Standtke
Package: freemind
Version: 0.9.0+dfsg2-1
Severity: minor
Tags: patch

The freemind icon looks very blurry on desktops with large icons (e.g.
GNOME).
I noticed that the source package contains a beautiful svg icon. I fixed the
rules and install file (see attached patch file) so that the svg icon also
gets installed. Now the freemind icon looks absolutely brilliant on the
desktop.

-- Package-specific info:
DEBUG:   Using $PATH to find java virtual machine.
DEBUG:   Using '/usr/bin/java' as java virtual machine...
java version 1.7.0_75
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-2)
OpenJDK Server VM (build 24.75-b04, mixed mode)
DEBUG:   Freemind parameters are ''.
DEBUG:   Linux debian 4.1.0-trunk-686-pae #1 SMP Debian 4.1.2-1~exp1
(2015-07-17) i686 GNU/Linux
No LSB modules are available.
DEBUG:   Distributor ID:Debian
Description:Debian GNU/Linux 8.1 (jessie)
Release:8.1
Codename:jessie
DEBUG:   The following DEB packages are installed:
ii  freemind0.9.0+dfsg2-1  all   
Java Program for creating and viewing Mindmaps
ii  lernstick-freemind  3  all   
Enforce the usage of antialiased fonts in 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/bin/java -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: 8.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.1.0-trunk-686-pae (SMP w/5 CPU cores)
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages freemind depends on:
ii  default-jre 2:1.7-52
ii  libjgoodies-forms-java  1.6.0-4
ii  libjibx1.1-java 1.1.6a-4
ii  simplyhtml  0.16.08-1

Versions of packages freemind recommends:
pn  freemind-doc   none
pn  java-wrappers  none
ii  xdg-utils  1.1.0~rc1+git20111210-7.4

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

Index: debian/freemind.install
===
--- debian/freemind.install	(Revision 18804)
+++ debian/freemind.install	(Arbeitskopie)
@@ -3,6 +3,7 @@
 bin/dist/lib/bindings.jar usr/share/freemind/lib
 bin/dist/patterns.xml etc/freemind
 freemind/images/FreeMindWindowIcon.xpm usr/share/pixmaps
+freemind/images/FreeMindWindowIcon.svg usr/share/icons/hicolor/scalable/apps/
 bin/dist/accessories/* usr/share/freemind/accessories
 debian/freemind.desktop usr/share/applications
 # the following lines are needed for KDE 3 which doesn't use the
Index: debian/rules
===
--- debian/rules	(Revision 18804)
+++ debian/rules	(Arbeitskopie)
@@ -20,9 +20,11 @@
 	/usr/bin/docbook-to-man debian/freemind.sgml  freemind.1
 	# chmod +x bin/dist/freemind.sh # seems to be unnecessary
 	convert freemind/images/FreeMindWindowIcon.png freemind/images/FreeMindWindowIcon.xpm
+	cp freemind/images/76812-freemind_v0.4.svg freemind/images/FreeMindWindowIcon.svg
 
 clean:: 
 	-rm -f freemind/images/FreeMindWindowIcon.xpm
+	-rm -f freemind/images/FreeMindWindowIcon.svg
 	-rm -f freemind.1
 	-rmdir bin
 
__
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.