[jcharts] 01/14: Port jcharts from Ubuntu

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Nov 17 15:35:04 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository jcharts.

commit dcd3a4c41de711f30ba7b7c8f6e2a618ca69f83a
Author: Onkar Shinde <onkarshinde at ubuntu.com>
Date:   Wed Apr 15 19:25:43 2009 +0000

    Port jcharts from Ubuntu
---
 debian/changelog        | 27 +++++++++++++++++++++
 debian/compat           |  1 +
 debian/control          | 21 +++++++++++++++++
 debian/copyright        | 62 +++++++++++++++++++++++++++++++++++++++++++++++++
 debian/orig-tar.exclude |  3 +++
 debian/orig-tar.sh      | 20 ++++++++++++++++
 debian/rules            | 22 ++++++++++++++++++
 debian/watch            |  3 +++
 8 files changed, 159 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..24baf49
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,27 @@
+jcharts (0.7.5-1) unstable; urgency=low
+
+  * Merge from Ubuntu. (Closes: #522213)
+  * Remaining Debian changes:
+    - debian/control
+      * Change section from 'libs' to 'java'.
+      * Set 'Maintainer' to 'Debian Java Maintainers'.
+      * Add myself to 'Uploaders'.
+      * Bump standards version to 3.8.1. No changes required.
+      * Add Vcs-* fields.
+      * Add ${misc:Depends} to runtime dependencies.
+
+ -- Onkar Shinde <onkarshinde at ubuntu.com>  Wed, 15 Apr 2009 22:51:43 +0530
+
+jcharts (0.7.5-0ubuntu2) jaunty; urgency=low
+
+  * debian/rules
+    - Remove commented code.
+    - Change symlink name for library to all lowercase.
+
+ -- Onkar Shinde <onkarshinde at ubuntu.com>  Tue, 14 Apr 2009 23:26:41 +0530
+
+jcharts (0.7.5-0ubuntu1) jaunty; urgency=low
+
+  * Initial release.
+
+ -- Onkar Shinde <onkarshinde at ubuntu.com>  Wed, 04 Feb 2009 00:05:03 +0530
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..dce4528
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,21 @@
+Source: jcharts
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Onkar Shinde <onkarshinde at ubuntu.com>
+Build-Depends: debhelper (>=5), cdbs, ant, ant-optional
+Build-Depends-Indep: openjdk-6-jdk, libbatik-java, libservlet2.4-java
+Standards-Version: 3.8.1
+Homepage: http://jcharts.sourceforge.net/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/jcharts
+Vcs-Browser: http://svn.debian.org/viewsvn/pkg-java/trunk/jcharts
+
+Package: libjcharts-java
+Architecture: all
+Depends: openjdk-6-jre | sun-java5-jre | sun-java6-jre, libbatik-java, ${misc:Depends}
+Description: java based charts library
+ jCharts is a 100% Java based charting utility that outputs a variety of
+ charts. This package has been designed from the ground up by volunteers for
+ displaying charts via Servlets, JSP's, and Swing apps.
+ .
+ This package contains the library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e7cd5c8
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,62 @@
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=436
+Upstream-Name: jCharts
+Upstream-Maintainer:
+    Nathaniel G. Auvil <nathaniel_auvil at users.sourceforge.net>
+Upstream-Source: http://jcharts.sourceforge.net/
+
+Files: *
+Copyright:
+    Copyright 2002 Nathaniel G. Auvil <nathaniel_auvil at users.sourceforge.net>
+License: jCharts License 
+  Redistribution and use of this software and associated documentation 
+  ("Software"), with or without modification, are permitted provided that the 
+  following conditions are met:
+
+  1. Redistributions of source code must retain copyright statements and notices.
+  Redistributions must also contain a copy of this document.
+
+  2. Redistributions in binary form must reproduce the above copyright notice,
+  this list of conditions and the following disclaimer in the documentation 
+  and/or other materials provided with the distribution.
+
+  3. The name "jCharts" or "Nathaniel G. Auvil" must not be used to endorse or 
+  promote products derived from this Software without prior written permission 
+  of Nathaniel G. Auvil.
+  For written permission, please contact nathaniel_auvil at users.sourceforge.net
+
+  4. Products derived from this Software may not be called "jCharts" nor may 
+  "jCharts" appear in their names without prior written permission of Nathaniel
+  G. Auvil. jCharts is a registered trademark of Nathaniel G. Auvil.
+
+  5. Due credit should be given to the jCharts Project (http://jcharts.krysalis.org).
+
+  THIS SOFTWARE IS PROVIDED BY Nathaniel G. Auvil AND CONTRIBUTORS ``AS IS'' AND 
+  ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+  ARE DISCLAIMED.  IN NO EVENT SHALL jCharts OR ITS CONTRIBUTORS BE LIABLE FOR 
+  ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
+  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
+  SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
+  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,STRICT LIABILITY, 
+  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
+  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
+  
+Files: debian/*
+Copyright: Copyright 2009 Onkar Shinde <onkarshinde at ubuntu.com>
+License:  GPL-3+ 
+  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 3 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 program.  If not, see <http://www.gnu.org/licenses/>.
+  
+  On Debian systems, the complete text of the GNU General
+  Public License can be found in `/usr/share/common-licenses/GPL'.
diff --git a/debian/orig-tar.exclude b/debian/orig-tar.exclude
new file mode 100644
index 0000000..77db698
--- /dev/null
+++ b/debian/orig-tar.exclude
@@ -0,0 +1,3 @@
+*.jar
+*.war
+lib/*.jar
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100644
index 0000000..7c36c34
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+DIR=jcharts-$2
+
+# clean up the upstream tarball
+unzip -d debian/ $3
+mv debian/jCharts-$2 debian/$DIR
+GZIP=--best tar czf ../jcharts_$2.orig.tar.gz -X debian/orig-tar.exclude -C debian $DIR
+rm -rf debian/$DIR
+rm -f $3
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+    . .svn/deb-layout
+    mv $3 $origDir
+    echo "moved $3 to $origDir"
+fi
+
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..186e457
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/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_DIRS		:= /usr/lib/jvm/java-6-openjdk
+DEB_ANT_BUILDFILE 	:= build/build.xml
+DEB_JARS		:= batik servlet-api
+ANT_OPTS		:= -Dant.build.javac.source=1.4
+DEB_ANT_BUILD_TARGET	:= jar
+
+clean::
+	rm -rf build/garbage
+	rm -f build/jCharts-$(DEB_UPSTREAM_VERSION).jar
+
+install/libjcharts-java::
+	dh_install build/jCharts-$(DEB_UPSTREAM_VERSION).jar usr/share/java/
+	dh_link /usr/share/java/jCharts-$(DEB_UPSTREAM_VERSION).jar usr/share/java/jcharts.jar
+
+get-orig-source:
+	uscan --verbose --force-download
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..9c5f48a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://sf.net/jcharts/jCharts-(0\.[\d\.]+)\.zip debian debian/orig-tar.sh
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jcharts.git



More information about the pkg-java-commits mailing list