[SCM] Debian packaging for swt-gtk. branch, master, updated. debian/3.7.2-1-3-g50911c1

Jakub Adam jakub.adam at ktknet.cz
Sun Apr 8 22:01:33 UTC 2012


The following commit has been merged in the master branch:
commit 50911c1db7b012cc75278bd67b99d62d16ee1d11
Author: Jakub Adam <jakub.adam at ktknet.cz>
Date:   Sun Apr 8 21:32:03 2012 +0200

    Add missing SWTMessages*.properties files to swt-gtk-$(RELEASE).jar
    
    Stops texts like "SWT_InputMethods (no resource bundle)" to appear
    instead of actual string in Eclipse (and probably also elsewhere).

diff --git a/debian/Makefile b/debian/Makefile
index 6da5ccd..4604ee3 100644
--- a/debian/Makefile
+++ b/debian/Makefile
@@ -18,12 +18,15 @@ clean distclean:
 .PHONY: all clean distclean
 
 swt-gtk-$(RELEASE).files:
-	find org -name *.java | sort > $@
+	find org -name *.java -o -name *.properties | sort > $@
 
 %-stamp: %.files
 	mkdir -p $*
 	for i in `cat $<`; do \
-		if [ -e $*/$${i%java}class ]; then \
+		if [ "$${i##*.}" = "properties" ]; then \
+			echo cp $$i $*/$$i; \
+			cp $$i $*/$$i; \
+		elif [ -e $*/$${i%java}class ]; then \
 			echo SKIPPING $$i; \
 		else \
 			echo $(JAVAC) -d $* $$i; \
diff --git a/debian/changelog b/debian/changelog
index dcf2022..4fb5c0e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+swt-gtk (3.7.2-3) UNRELEASED; urgency=low
+
+  * debian/Makefile: Add missing SWTMessages*.properties files to
+    swt-gtk-$(RELEASE).jar
+
+ -- Jakub Adam <jakub.adam at ktknet.cz>  Sun, 08 Apr 2012 22:41:29 +0200
+
 swt-gtk (3.7.2-2) unstable; urgency=low
 
   * debian/control: Change build-dep: libwebkit-dev -> libwebkitgtk-dev

-- 
Debian packaging for swt-gtk.



More information about the pkg-java-commits mailing list