--- eigenbase-farrago-0.9.0.orig/debian/build.xml +++ eigenbase-farrago-0.9.0/debian/build.xml @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --- eigenbase-farrago-0.9.0.orig/debian/rules +++ eigenbase-farrago-0.9.0/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/class/ant.mk + +JAVA_HOME := /usr/lib/jvm/default-java + +DEB_ANT_BUILDFILE := debian/build.xml +DEB_ANT_ARGS := -Ddeb.version=${DEB_UPSTREAM_VERSION} +DEB_ANT_BUILD_TARGET := jar +DEB_ANT_CLEAN_TARGET := clean + +install/libeigenbase-farrago-java:: + dh_install build/eigenbase-properties-$(DEB_UPSTREAM_VERSION).jar usr/share/java + dh_link usr/share/java/eigenbase-properties-$(DEB_UPSTREAM_VERSION).jar usr/share/java/eigenbase-properties.jar + +get-orig-source: + uscan --force-download --rename --- eigenbase-farrago-0.9.0.orig/debian/copyright +++ eigenbase-farrago-0.9.0/debian/copyright @@ -0,0 +1,59 @@ +Format-Specification: http://dep.debian.net/deps/dep5/ +Name: Eigenbase Farago +Maintainer: http://farrago.sourceforge.net/ +Source: http://sourceforge.net/projects/farrago/files/ + +Files: * +Copyright: Copyright (C) 2002-2009 The Eigenbase Project +Copyright: Copyright (C) 2002-2009 SQLstream, Inc. +Copyright: Copyright (C) 2002-2009 LucidEra, Inc. +Copyright: Copyright (C) 2002-2009 John V. Sichi +Copyright: Copyright (C) 2005-2009 Xiaoyang Luo +License: GPL-2+ with linking GPL-incompatible libraries exemption + +Files: debian/* +Copyright: Copyright 2008-2009, Damien Raude-Morvan +License: GPL-2+ + +License: GPL-2+ with linking GPL-incompatible libraries exemption + This software is released under the GNU General Public License, + which is reproduced below. + + In addition, as a special exception, The Eigenbase Project gives + permission to link the code of this program with the following + GPL-incompatible libraries, and distribute linked combinations + including all of these: + + - MDR library from Netbeans (or modified versions of MDR that use + the same license as MDR--the Sun Public License), including JMI + interfaces from Sun Microsystems + + - All standard Java runtime libraries distributed by Sun Microsystems + as part of any release of J2SE or J2EE + + - MOF, UML, and CWM model definitions from Object Management Group + + - Apache Commons from the Apache Software Foundation + + - Hibernate and supporting libraries from Red Hat Middleware + + You must obey the GNU General Public License in all respects for all + of the code used other than the libraries listed above. If you modify + this program, you may extend this exception to your version of the + program, but you are not obligated to do so. If you do not wish to do + so, delete this exception statement from your version. + + ====================================================== + + 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 approved by The Eigenbase Project. + + 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. + + On Debian GNU/Linux system you can find the complete text of the + GPL v2 license in `/usr/share/common-licenses/GPL-2'. --- eigenbase-farrago-0.9.0.orig/debian/README.source +++ eigenbase-farrago-0.9.0/debian/README.source @@ -0,0 +1,9 @@ +Patch System +============ + +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +See /usr/share/doc/quilt/README.source for a detailed explanation. + --- eigenbase-farrago-0.9.0.orig/debian/orig-tar.sh +++ eigenbase-farrago-0.9.0/debian/orig-tar.sh @@ -0,0 +1,12 @@ +#!/bin/sh -e + +# called by uscan with '--upstream-version' +DIR=eigenbase-farrago-$2 +TAR=eigenbase-farrago_$2.orig.tar.gz + +# Repack upstream source to tar.gz +tar xjf $3 +mv farrago-* $DIR +GZIP=--best tar czf $TAR -X debian/orig-tar.exclude $DIR +rm -rf $DIR + --- eigenbase-farrago-0.9.0.orig/debian/watch +++ eigenbase-farrago-0.9.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/farrago/farrago-src-([\d\.]+).tar.bz2 debian debian/orig-tar.sh --- eigenbase-farrago-0.9.0.orig/debian/compat +++ eigenbase-farrago-0.9.0/debian/compat @@ -0,0 +1 @@ +7 --- eigenbase-farrago-0.9.0.orig/debian/changelog +++ eigenbase-farrago-0.9.0/debian/changelog @@ -0,0 +1,11 @@ +eigenbase-farrago (0.9.0-1build1) maverick; urgency=low + + * No-change upload to create build record for maverick. + + -- Matthias Klose Tue, 05 Oct 2010 14:49:29 +0200 + +eigenbase-farrago (0.9.0-1) unstable; urgency=low + + * Initial release. (Closes: #560234) + + -- Damien Raude-Morvan Thu, 10 Dec 2009 00:34:32 +0100 --- eigenbase-farrago-0.9.0.orig/debian/control +++ eigenbase-farrago-0.9.0/debian/control @@ -0,0 +1,24 @@ +Source: eigenbase-farrago +Section: java +Priority: optional +Maintainer: Damien Raude-Morvan +Build-Depends: cdbs, debhelper (>= 7), default-jdk, ant, quilt +Build-Depends-Indep: libeigenbase-resgen-java, junit, default-jdk-doc, junit-doc +Standards-Version: 3.8.3 +Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/eigenbase-resgen +Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/eigenbase-resgen +Homepage: http://farrago.sourceforge.net/ + +Package: libeigenbase-farrago-java +Architecture: all +Depends: ${misc:Depends}, default-jre-headless | java5-runtime-headless, + libeigenbase-resgen-java +Description: Java framework for constructing RDBMS services + Farrago is an extensible platform for constructing + enterprise-class RDBMS services + . + Farrago is not an end-user product like MySQL or PostgreSQL. + It provides a standards-based pluggable architecture, component library, and + toolset for developers of other projects which specialize it. + . + This package only ship eigenbase-properties part of Farrago. --- eigenbase-farrago-0.9.0.orig/debian/orig-tar.exclude +++ eigenbase-farrago-0.9.0/debian/orig-tar.exclude @@ -0,0 +1,8 @@ +*.vsd +*.sxd +*.odg +*.doc +unitsql/* +testlog/* +regressionsql/* +testcases/* --- eigenbase-farrago-0.9.0.orig/debian/patches/series +++ eigenbase-farrago-0.9.0/debian/patches/series @@ -0,0 +1,2 @@ +properties_java5_api.diff +javadoc_links.diff --- eigenbase-farrago-0.9.0.orig/debian/patches/javadoc_links.diff +++ eigenbase-farrago-0.9.0/debian/patches/javadoc_links.diff @@ -0,0 +1,23 @@ +Description: Fix link of Javadoc HTML documentation + to use local API from /usr/share/doc/ +Author: Damien Raude-Morvan +Last-Update: 2009-12-13 +Forwarded: not-needed +--- a/build.xml ++++ b/build.xml +@@ -1545,13 +1545,8 @@ + + + +- +- +- +- +- +- +- ++ ++ + --- eigenbase-farrago-0.9.0.orig/debian/patches/properties_java5_api.diff +++ eigenbase-farrago-0.9.0/debian/patches/properties_java5_api.diff @@ -0,0 +1,76 @@ +Description: Update TriggerableProperties and Property to enable generics API + (those were commented out in upstream source code) +Author: Damien Raude-Morvan +Last-Update: 2009-12-13 +Forwarded: no +--- a/src/org/eigenbase/util/property/Property.java ++++ b/src/org/eigenbase/util/property/Property.java +@@ -262,10 +262,10 @@ + // this is the object to add to list + Object o = + (trigger.isPersistent()) ? trigger +- : (Object) new WeakReference /**/(trigger); ++ : (Object) new WeakReference(trigger); + + // Add a Trigger in the correct group of phases in the list +- for (ListIterator /**/ it = listIterator(); it.hasNext();) { ++ for (ListIterator it = listIterator(); it.hasNext();) { + Trigger t = convert(it.next()); + + if (t == null) { +@@ -324,9 +324,9 @@ + // a clone) so that we can remove any WeakReference whose + // content has become null. Synchronize, per the locking strategy, + // while the copy is being made. +- List /**/ l = new ArrayList /**/(); ++ List l = new ArrayList (); + synchronized (property) { +- for (Iterator /**/ it = iterator(); it.hasNext();) { ++ for (Iterator it = iterator(); it.hasNext();) { + Trigger t = convert(it.next()); + if (t == null) { + it.remove(); +--- a/src/org/eigenbase/util/property/TriggerableProperties.java ++++ b/src/org/eigenbase/util/property/TriggerableProperties.java +@@ -43,8 +43,8 @@ + //~ Instance fields -------------------------------------------------------- + + protected final Map triggers = new HashMap(); +- protected final Map /**/ properties = +- new HashMap /**/(); ++ protected final Map properties = ++ new HashMap (); + + //~ Constructors ----------------------------------------------------------- + +@@ -121,7 +121,7 @@ + */ + public Property getPropertyDefinition(String path) + { +- final List /**/ propertyList = getPropertyList(); ++ final List propertyList = getPropertyList(); + for (int i = 0; i < propertyList.size(); i++) { + Property property = (Property) propertyList.get(i); + if (property.getPath().equals(path)) { +@@ -166,7 +166,7 @@ + * + * @return registered properties + */ +- public Collection /**/ getProperties() ++ public Collection getProperties() + { + return Collections.unmodifiableCollection(properties.values()); + } +@@ -176,10 +176,10 @@ + * + * @return List of properties + */ +- public List /**/ getPropertyList() ++ public List getPropertyList() + { + Field [] fields = getClass().getFields(); +- List /**/ list = new ArrayList /**/(); ++ List list = new ArrayList(); + for (int i = 0; i < fields.length; i++) { + Field field = fields[i]; + if (!Modifier.isStatic(field.getModifiers())