Author: varun Date: 2010-02-18 02:38:40 +0000 (Thu, 18 Feb 2010) New Revision: 11620
Added: trunk/libsimple-validation-java/ trunk/libsimple-validation-java/debian/ trunk/libsimple-validation-java/debian/changelog trunk/libsimple-validation-java/debian/compat trunk/libsimple-validation-java/debian/control trunk/libsimple-validation-java/debian/copyright trunk/libsimple-validation-java/debian/orig-tar.sh trunk/libsimple-validation-java/debian/patches/ trunk/libsimple-validation-java/debian/patches/build.diff trunk/libsimple-validation-java/debian/patches/series trunk/libsimple-validation-java/debian/rules trunk/libsimple-validation-java/debian/source/ trunk/libsimple-validation-java/debian/source/format trunk/libsimple-validation-java/debian/watch Log: * New package simple-validation * Required to build Jajuk 1.9 (trunk) Property changes on: trunk/libsimple-validation-java/debian ___________________________________________________________________ Added: mergeWithUpstream + 1 Added: trunk/libsimple-validation-java/debian/changelog =================================================================== --- trunk/libsimple-validation-java/debian/changelog (rev 0) +++ trunk/libsimple-validation-java/debian/changelog 2010-02-18 02:38:40 UTC (rev 11620) @@ -0,0 +1,5 @@ +libsimple-validation-java (0.4-1) unstable; urgency=low + + * Initial release (Closes: #570322) + + -- Varun Hiremath <[email protected]> Wed, 17 Feb 2010 21:31:35 -0500 Added: trunk/libsimple-validation-java/debian/compat =================================================================== --- trunk/libsimple-validation-java/debian/compat (rev 0) +++ trunk/libsimple-validation-java/debian/compat 2010-02-18 02:38:40 UTC (rev 11620) @@ -0,0 +1 @@ +7 Added: trunk/libsimple-validation-java/debian/control =================================================================== --- trunk/libsimple-validation-java/debian/control (rev 0) +++ trunk/libsimple-validation-java/debian/control 2010-02-18 02:38:40 UTC (rev 11620) @@ -0,0 +1,23 @@ +Source: libsimple-validation-java +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Varun Hiremath <[email protected]> +Build-Depends: debhelper (>= 7), cdbs +Build-Depends-Indep: ant-optional, default-jdk +Standards-Version: 3.8.4 +Homepage: http://kenai.com/projects/simplevalidation/pages/Home +Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libsimple-validation-java +Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libsimple-validation-java + +Package: libsimple-validation-java +Architecture: all +Depends: ${misc:Depends}, default-jre | java2-runtime +Description: library for quickly adding validation code to Swing user-interfaces + This is a simple library for retrofitting user-interface input + validation to Swing applications. It handles validating user input + when the user changes a component's value, showing error messages and + decorating components to indicate which component is the source of + the problem. It contains a large number of built-in validators to + handle most common situations, such as validating numbers, email + addresses, urls and so forth. Added: trunk/libsimple-validation-java/debian/copyright =================================================================== --- trunk/libsimple-validation-java/debian/copyright (rev 0) +++ trunk/libsimple-validation-java/debian/copyright 2010-02-18 02:38:40 UTC (rev 11620) @@ -0,0 +1,51 @@ +Name: Simple Validation +Author: Tim Boudreau +Source: http://kenai.com/projects/simplevalidation/downloads/download/ + +Copyright: © © 1997-2009 Sun Microsystems, Inc. + +Files: debian/* +Copyright: © 2010, Varun Hiremath <[email protected]> +License: GPL-2+ + The Debian packaging information is under the GPL, version 2. + +Files: * +Copyright: © 1997-2009 Sun Microsystems, Inc. +License: GPL-2 or CDDL + The contents of this file are subject to the terms of either the GNU + General Public License Version 2 only ("GPL") or the Common + Development and Distribution License("CDDL") (collectively, the + "License"). You may not use this file except in compliance with the + License. You can obtain a copy of the License at + http://www.netbeans.org/cddl-gplv2.html + or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the + specific language governing permissions and limitations under the + License. When distributing the software, include this License Header + Notice in each file and include the License file at + nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this + particular file as subject to the "Classpath" exception as provided + by Sun in the GPL Version 2 section of the License file that + accompanied this code. If applicable, add the following below the + License Header, with the fields enclosed by brackets [] replaced by + your own identifying information: + "Portions Copyrighted [year] [name of copyright owner]" + + Contributor(s): + + The Original Software is NetBeans. The Initial Developer of the Original + Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun + Microsystems, Inc. All Rights Reserved. + + If you wish your version of this file to be governed by only the CDDL + or only the GPL Version 2, indicate your decision by adding + "[Contributor] elects to include this software in this distribution + under the [CDDL or GPL Version 2] license." If you do not indicate a + single choice of license, a recipient has the option to distribute + your version of this file under either the CDDL, the GPL Version 2 or + to extend the choice of license to its licensees as provided above. + However, if you add GPL Version 2 code and therefore, elected the GPL + Version 2 license, then the option applies only if the new code is + made subject to such option by the copyright holder. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License Version 2 can be found in `/usr/share/common-licenses/GPL-2'. Added: trunk/libsimple-validation-java/debian/orig-tar.sh =================================================================== --- trunk/libsimple-validation-java/debian/orig-tar.sh (rev 0) +++ trunk/libsimple-validation-java/debian/orig-tar.sh 2010-02-18 02:38:40 UTC (rev 11620) @@ -0,0 +1,24 @@ +#!/bin/sh -e +# $1 = version + +TAR=../libsimple-validation-java_$1.orig.tar.gz +DIR=libsimple-validation-java-$1.orig +ZIP=validation-src.zip +URL=http://kenai.com/projects/simplevalidation/downloads/download/ + +wget $URL/$ZIP + +# clean up the upstream tarball +mkdir $DIR +(cd $DIR; unzip ../$ZIP) +(cd $DIR/ValidationAPI/; ant -Dplatforms.JDK_1.5.home=/usr/lib/jvm/default-java/ clean) +(cd $DIR/ValidationDemo/; ant -Dplatforms.JDK_1.5.home=/usr/lib/jvm/default-java/ clean) +GZIP=--best tar -c -z -f $TAR --exclude '*.jar' $DIR +rm -rf $DIR $ZIP + +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $TAR $origDir + echo "moved $TAR to $origDir" +fi Property changes on: trunk/libsimple-validation-java/debian/orig-tar.sh ___________________________________________________________________ Added: svn:executable + * Added: trunk/libsimple-validation-java/debian/patches/build.diff =================================================================== --- trunk/libsimple-validation-java/debian/patches/build.diff (rev 0) +++ trunk/libsimple-validation-java/debian/patches/build.diff 2010-02-18 02:38:40 UTC (rev 11620) @@ -0,0 +1,16 @@ +Author: Varun Hiremath <[email protected]> +Date: Wed, 17 Feb 2010 21:16:42 -0500 +Description: Fix project.nbstubs' value +Index: libsimple-validation-java-0.4/build.xml +=================================================================== +--- libsimple-validation-java-0.4.orig/build.xml 2010-02-17 20:58:29.000000000 -0500 ++++ libsimple-validation-java-0.4/build.xml 2010-02-17 20:58:35.000000000 -0500 +@@ -4,7 +4,7 @@ + <import file="nbproject/build-impl.xml"/> + + <property name="release-dir" value="${basedir}/release"/> +- <property name="project.nbstubs" value="../nbstubs/"/> ++ <property name="project.nbstubs" value="./nbstubs/"/> + <target name="release" depends="clean-release-files,clean,test,release-nbm,release-javadoc,release-source,release-dist" + description="Build release files"> + <mkdir dir="${release-dir}"/> Added: trunk/libsimple-validation-java/debian/patches/series =================================================================== --- trunk/libsimple-validation-java/debian/patches/series (rev 0) +++ trunk/libsimple-validation-java/debian/patches/series 2010-02-18 02:38:40 UTC (rev 11620) @@ -0,0 +1 @@ +build.diff Added: trunk/libsimple-validation-java/debian/rules =================================================================== --- trunk/libsimple-validation-java/debian/rules (rev 0) +++ trunk/libsimple-validation-java/debian/rules 2010-02-18 02:38:40 UTC (rev 11620) @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/class/ant.mk +include /usr/share/cdbs/1/rules/debhelper.mk + +JAVA_HOME := /usr/lib/jvm/default-java +DEB_ANT_BUILD_TARGET := jar +DEB_ANT_ARGS := -Dplatforms.JDK_1.5.home=$(JAVA_HOME) +DEB_JARS := ant-nodeps + +install/libsimple-validation-java:: + install -m644 -D dist/ValidationAPI.jar $(DEB_DESTDIR)/usr/share/java/simple-validation-$(DEB_UPSTREAM_VERSION).jar + dh_link -plibsimple-validation-java /usr/share/java/simple-validation-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/simple-validation.jar + +get-orig-source: + sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION) Property changes on: trunk/libsimple-validation-java/debian/rules ___________________________________________________________________ Added: svn:executable + * Added: trunk/libsimple-validation-java/debian/source/format =================================================================== --- trunk/libsimple-validation-java/debian/source/format (rev 0) +++ trunk/libsimple-validation-java/debian/source/format 2010-02-18 02:38:40 UTC (rev 11620) @@ -0,0 +1 @@ +3.0 (quilt) Added: trunk/libsimple-validation-java/debian/watch =================================================================== --- trunk/libsimple-validation-java/debian/watch (rev 0) +++ trunk/libsimple-validation-java/debian/watch 2010-02-18 02:38:40 UTC (rev 11620) @@ -0,0 +1 @@ +# No easy way to track upstream version _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-java-commits

