--- libappframework-java-1.03.orig/debian/compat +++ libappframework-java-1.03/debian/compat @@ -0,0 +1 @@ +5 --- libappframework-java-1.03.orig/debian/changelog +++ libappframework-java-1.03/debian/changelog @@ -0,0 +1,18 @@ +libappframework-java (1.03-0ubuntu3) intrepid; urgency=low + + * replace explicit dependency on openjdk-6-jre (LP: #259393) + + -- Yulia Novozhilova Tue, 19 Aug 2008 19:04:19 +0400 + +libappframework-java (1.03-0ubuntu2) hardy; urgency=low + + * Replace icedtea-java7 dependencies with openjdk-6 (LP: #203636) + + -- Marek Slama Thu, 20 Mar 2008 10:00:00 +0100 + +libappframework-java (1.03-0ubuntu1) hardy; urgency=low + + * Initial version. (LP: #185969) + + -- Marek Slama Thu, 24 Jan 2008 10:00:00 +0100 + --- libappframework-java-1.03.orig/debian/libappframework-java-doc.dirs +++ libappframework-java-1.03/debian/libappframework-java-doc.dirs @@ -0,0 +1,2 @@ +usr/share/doc +usr/share/doc/libappframework-java-doc --- libappframework-java-1.03.orig/debian/libappframework-java.dirs +++ libappframework-java-1.03/debian/libappframework-java.dirs @@ -0,0 +1 @@ +usr/share/java --- libappframework-java-1.03.orig/debian/copyright +++ libappframework-java-1.03/debian/copyright @@ -0,0 +1,59 @@ +This package was debianized by Marek Slama on +24-Jan-2008. + +The current Debian maintainer is Marek Slama + +Upstream downloaded from: + https://appframework.dev.java.net/downloads/AppFramework-1.03-src.zip + +Upstream home page: + http://appframework.dev.java.net/ + +Copyright: + + - - - - - copyright notice and license for Debian packaging - - - - - + +Copyright 2007 Sun Microsystems, Inc. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + - - - - - copyright notice and license for upstream - - - - - + +Copyright 2007 Sun Microsystems, Inc. + +Use of this software is governed by the terms of the license below: + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the + Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + +On Debian GNU/Linux systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. --- libappframework-java-1.03.orig/debian/rules +++ libappframework-java-1.03/debian/rules @@ -0,0 +1,35 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +DEB_TAR_SRCDIR := AppFramework-1.03 + +JAVA_HOME=/usr/lib/jvm/default-java + +include /usr/share/cdbs/1/rules/tarball.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/debhelper.mk + +# package name +app-pkg := libappframework-java + +build/$(app-pkg):: stamp-build-$(app-pkg) + +# This target is here to avoid multiple invocation of build target. +# build/$(app-pkg) is invoked 2 times when building binary packages. +stamp-build-$(app-pkg): + rm -f $(DEB_SRCDIR)/lib/swing-worker.java + ln -s /usr/share/java/swing-worker.jar $(DEB_SRCDIR)/lib/swing-worker.java + ant -f $(DEB_SRCDIR)/build.xml -Ddist.javadoc.dir=dist/javadoc/api dist + touch $@ + +install/$(app-pkg):: + install -m 644 $(DEB_SRCDIR)/dist/AppFramework.jar debian/$(app-pkg)/usr/share/java/AppFramework-$(DEB_UPSTREAM_VERSION).jar + dh_link -p$(app-pkg) usr/share/java/AppFramework-$(DEB_UPSTREAM_VERSION).jar usr/share/java/AppFramework.jar + +install/$(app-pkg)-doc:: + dh_installdocs -p$(app-pkg)-doc $(DEB_SRCDIR)/dist/javadoc/api +clean:: + # these files are left by cdbs (a bug?) + -rm -f *.cdbs-config_list + -rm -f stamp-build-$(app-pkg) --- libappframework-java-1.03.orig/debian/control +++ libappframework-java-1.03/debian/control @@ -0,0 +1,31 @@ +Source: libappframework-java +Section: libs +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Marek Slama +Build-Depends: debhelper (>=5), cdbs (>=0.4.8) +Build-Depends-Indep: ant, default-jdk, unzip, libswingworker-java (>=1.1) +Standards-Version: 3.7.3 +Homepage: http://appframework.dev.java.net/ + +Package: libappframework-java +Architecture: all +Section: libs +Priority: optional +Depends: default-jre | java2-runtime, libswingworker-java (>=1.1) +Suggests: libappframework-java-doc +Description: Swing Application Framework API + The JSR-296 Swing Application Framework prototype + implementation is a small set of Java classes that + simplify building desktop applications. + +Package: libappframework-java-doc +Architecture: all +Section: doc +Priority: optional +Description: Swing Application Framework API + The JSR-296 Swing Application Framework prototype + implementation is a small set of Java classes that + simplify building desktop applications. + . + This package contains Javadoc API documentation. --- libappframework-java-1.03.orig/debian/patches/10-patch-build.patch +++ libappframework-java-1.03/debian/patches/10-patch-build.patch @@ -0,0 +1,48 @@ +diff -Nur -x '*.orig' -x '*~' libappframework-java-1.03/build-tree/AppFramework-1.03/src/org/jdesktop/application/LocalStorage.java libappframework-java-1.03.new/build-tree/AppFramework-1.03/src/org/jdesktop/application/LocalStorage.java +--- AppFramework-1.03/src/org/jdesktop/application/LocalStorage.java 2007-10-02 15:49:04.000000000 +0200 ++++ AppFramework-1.03/src/org/jdesktop/application/LocalStorage.java 2008-01-24 17:42:33.000000000 +0100 +@@ -31,11 +31,6 @@ + import java.security.PrivilegedAction; + import java.util.logging.Level; + import java.util.logging.Logger; +-import javax.jnlp.BasicService; +-import javax.jnlp.FileContents; +-import javax.jnlp.PersistenceService; +-import javax.jnlp.ServiceManager; +-import javax.jnlp.UnavailableServiceException; + + + /** +@@ -377,7 +372,7 @@ + } + } + if (bsFound && psFound) { +- return new PersistenceServiceIO(); ++ //return new PersistenceServiceIO(); + } + } + catch (Exception ignore) { +@@ -385,7 +380,7 @@ + } + return null; + } +- ++/* + private class PersistenceServiceIO extends LocalIO { + private BasicService bs; + private PersistenceService ps; +@@ -442,7 +437,7 @@ + catch (FileNotFoundException e) { + /* Verify that the max size for new PersistenceService + * files is >= 100K (2^17) before opening one. +- */ ++ * / + long maxSizeRequest = 131072L; + long maxSize = ps.create(fileURL, maxSizeRequest); + if (maxSize >= maxSizeRequest) { +@@ -473,4 +468,5 @@ + } + } + } ++ */ + }