[pkg-java] r4069 - in trunk: . libswirl-java libswirl-java/debian libswirl-java/debian/patches

apeeters-guest at alioth.debian.org apeeters-guest at alioth.debian.org
Wed Aug 29 07:19:24 UTC 2007


Author: apeeters-guest
Date: 2007-08-29 07:19:23 +0000 (Wed, 29 Aug 2007)
New Revision: 4069

Added:
   trunk/libswirl-java/
   trunk/libswirl-java/debian/
   trunk/libswirl-java/debian/README.Debian
   trunk/libswirl-java/debian/build.xml
   trunk/libswirl-java/debian/changelog
   trunk/libswirl-java/debian/compat
   trunk/libswirl-java/debian/control
   trunk/libswirl-java/debian/copyright
   trunk/libswirl-java/debian/patches/
   trunk/libswirl-java/debian/patches/setLocationByPlatform.patch
   trunk/libswirl-java/debian/rules
Log:
libswirl-java (1.0.12-1) unstable; urgency=low

  * Initial release (Closes: #438981)

 -- Adriaan Peeters <apeeters at lashout.net>  Tue, 21 Aug 2007 11:16:12 +0200


Added: trunk/libswirl-java/debian/README.Debian
===================================================================
--- trunk/libswirl-java/debian/README.Debian	                        (rev 0)
+++ trunk/libswirl-java/debian/README.Debian	2007-08-29 07:19:23 UTC (rev 4069)
@@ -0,0 +1,10 @@
+libswirl-java
+=============
+
+This package provides the following JAR in /usr/share/java/
+  * swirl-1.0.12.jar
+
+To use the library properly, add gui-commands.jar (provided by
+libgui-commands-java) to the class path.
+
+ -- Adriaan Peeters <apeeters at lashout.net>,  Tue, 21 Aug 2007 11:16:12 +0200

Added: trunk/libswirl-java/debian/build.xml
===================================================================
--- trunk/libswirl-java/debian/build.xml	                        (rev 0)
+++ trunk/libswirl-java/debian/build.xml	2007-08-29 07:19:23 UTC (rev 4069)
@@ -0,0 +1,26 @@
+<project default="jar">
+    
+    <property name="build.dir" value="../build"/>
+    <property name="src.dir" value=".."/>
+    
+    <target name="prepare">
+        <mkdir dir="${build.dir}"/>
+    </target>
+    
+    <target name="compile" depends="prepare">
+        <javac srcdir="${src.dir}" destdir="${build.dir}" source="1.5"/>
+    </target>
+
+    <target name="jar" depends="compile">
+        <jar jarfile="${build.dir}/swirl.jar"
+             basedir="${build.dir}"
+             compress="true" 
+             excludes="**/package-info.class" >
+        </jar>
+    </target>
+    
+    <target name="clean">
+        <delete dir="${build.dir}"/>
+    </target>
+    
+</project>

Added: trunk/libswirl-java/debian/changelog
===================================================================
--- trunk/libswirl-java/debian/changelog	                        (rev 0)
+++ trunk/libswirl-java/debian/changelog	2007-08-29 07:19:23 UTC (rev 4069)
@@ -0,0 +1,5 @@
+libswirl-java (1.0.12-1) unstable; urgency=low
+
+  * Initial release (Closes: #438981)
+
+ -- Adriaan Peeters <apeeters at lashout.net>  Tue, 21 Aug 2007 11:16:12 +0200

Added: trunk/libswirl-java/debian/compat
===================================================================
--- trunk/libswirl-java/debian/compat	                        (rev 0)
+++ trunk/libswirl-java/debian/compat	2007-08-29 07:19:23 UTC (rev 4069)
@@ -0,0 +1 @@
+5

Added: trunk/libswirl-java/debian/control
===================================================================
--- trunk/libswirl-java/debian/control	                        (rev 0)
+++ trunk/libswirl-java/debian/control	2007-08-29 07:19:23 UTC (rev 4069)
@@ -0,0 +1,27 @@
+Source: libswirl-java
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Adriaan Peeters <apeeters at lashout.net>
+Build-Depends: debhelper (>> 5.0.0), cdbs, patchutils, ant, java-gcj-compat-dev, gcj-4.1, libgui-commands-java (>= 1.1.42-1)
+Standards-Version: 3.7.2
+
+Package: libswirl-java
+Architecture: all
+Depends: gij | java-gcj-compat | java1-runtime | java2-runtime, libgui-commands-java
+Description: swing enhancements library
+ The Swirl library provides several Java classes that enhance Java Swing with
+ internationalized actions and buttons, a special 'cell' list, mouse overlay
+ panels, table column decorations, a logging window, simple dialog panels, etc.
+ .
+  Homepage: http://swirl-lib.sourceforge.net/
+
+Package: libswirl-java-gcj
+Architecture: any
+Depends: libswirl-java (= ${source:Version}), ${misc:Depends}, ${shlibs:Depends}
+Description: swing enhancements library (native code)
+ The Swirl library provides several Java classes that enhance Java Swing with
+ internationalized actions and buttons, a special 'cell' list, mouse overlay
+ panels, table column decorations, a logging window, simple dialog panels, etc.
+ .
+ This package contains the natively compiled code for use by gij.

Added: trunk/libswirl-java/debian/copyright
===================================================================
--- trunk/libswirl-java/debian/copyright	                        (rev 0)
+++ trunk/libswirl-java/debian/copyright	2007-08-29 07:19:23 UTC (rev 4069)
@@ -0,0 +1,32 @@
+This package was debianized by Adriaan Peeters <apeeters at lashout.net> on
+Tue, 21 Aug 2007 11:16:12 +0200.
+
+It was downloaded from http://swirl-lib.sourceforge.net/
+The upstream src.jar was repackaged as a tar.gz by the package maintainer.
+
+The upstream source code and the Debian packaging is licensed under the
+following license.
+
+Upstream Author: Kris Coolsaet
+
+Copyright (c) 2004-2007 Universiteit Gent
+
+License:
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or (at
+   your option) any later version.
+
+   This program is distributed in the hope that it will be useful, but
+   WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+   02110-1301 USA.
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in '/usr/share/common-licenses/GPL'.

Added: trunk/libswirl-java/debian/patches/setLocationByPlatform.patch
===================================================================
--- trunk/libswirl-java/debian/patches/setLocationByPlatform.patch	                        (rev 0)
+++ trunk/libswirl-java/debian/patches/setLocationByPlatform.patch	2007-08-29 07:19:23 UTC (rev 4069)
@@ -0,0 +1,10 @@
+--- be/ugent/caagt/swirl/logging/JListLogHandler.java	2007-06-13 10:37:24.000000000 +0200
++++ be/ugent/caagt/swirl/logging/JListLogHandler.java.new	2007-08-21 10:47:41.000000000 +0200
+@@ -183,7 +183,6 @@
+      */
+     public static JDialog createLoggingDialog(String title, String loggerName) {
+         JDialog dialog = new JDialog((Frame)null, title, false);
+-        dialog.setLocationByPlatform(true);
+         JList list = new JList();
+         Handler handler = new JListLogHandler(list);
+         LogManager.getLogManager().getLogger(loggerName).addHandler(handler);

Added: trunk/libswirl-java/debian/rules
===================================================================
--- trunk/libswirl-java/debian/rules	                        (rev 0)
+++ trunk/libswirl-java/debian/rules	2007-08-29 07:19:23 UTC (rev 4069)
@@ -0,0 +1,30 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+JAVA_HOME := /usr/lib/jvm/java-gcj
+ANT_HOME  := /usr/share/ant
+ANT_ARGS := -buildfile debian/build.xml
+
+DEB_JARS := gui-commands.jar
+
+DEB_ANT_CLEAN_TARGET := clean
+DEB_ANT_BUILD_TARGET := jar
+
+include /usr/share/gcj/debian_defaults
+
+ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs)))
+  with_gcj_native := yes
+endif
+
+install/libswirl-java::
+	mv build/swirl.jar build/swirl-$(DEB_UPSTREAM_VERSION).jar
+	dh_install -plibswirl-java build/swirl-$(DEB_UPSTREAM_VERSION).jar usr/share/java/
+	dh_link -plibswirl-java usr/share/java/swirl-$(DEB_UPSTREAM_VERSION).jar usr/share/java/swirl.jar
+
+ifeq ($(with_gcj_native),yes)
+install/libswirl-java-gcj:: install/libswirl-java
+	dh_nativejava -plibswirl-java-gcj
+endif


Property changes on: trunk/libswirl-java/debian/rules
___________________________________________________________________
Name: svn:executable
   + 




More information about the pkg-java-commits mailing list