[pkg-java] r7060 - in trunk/jsymphonic/debian: . wrappers

fourmond at alioth.debian.org fourmond at alioth.debian.org
Sat Sep 27 20:58:47 UTC 2008


Author: fourmond
Date: 2008-09-27 20:58:46 +0000 (Sat, 27 Sep 2008)
New Revision: 7060

Added:
   trunk/jsymphonic/debian/jsymphonic.dirs
   trunk/jsymphonic/debian/jsymphonic.docs
   trunk/jsymphonic/debian/wrappers/
   trunk/jsymphonic/debian/wrappers/jsymphonic
Removed:
   trunk/jsymphonic/debian/README.Debian
   trunk/jsymphonic/debian/docs
Modified:
   trunk/jsymphonic/debian/changelog
   trunk/jsymphonic/debian/control
   trunk/jsymphonic/debian/copyright
   trunk/jsymphonic/debian/get-svn-source
   trunk/jsymphonic/debian/menu
   trunk/jsymphonic/debian/rules
Log:
[jsymphonic] Getting it to build + beginnings of the copyright file

Deleted: trunk/jsymphonic/debian/README.Debian
===================================================================
--- trunk/jsymphonic/debian/README.Debian	2008-09-27 19:05:38 UTC (rev 7059)
+++ trunk/jsymphonic/debian/README.Debian	2008-09-27 20:58:46 UTC (rev 7060)
@@ -1,6 +0,0 @@
-jsymphonic for Debian
----------------------
-
-<possible notes regarding this package - if none, delete this file>
-
- -- Vincent Fourmond <fourmond at debian.org>  Wed, 06 Aug 2008 23:47:40 +0200

Modified: trunk/jsymphonic/debian/changelog
===================================================================
--- trunk/jsymphonic/debian/changelog	2008-09-27 19:05:38 UTC (rev 7059)
+++ trunk/jsymphonic/debian/changelog	2008-09-27 20:58:46 UTC (rev 7060)
@@ -1,6 +1,6 @@
-jsymphonic (0.2.1alpha+r196-1) unstable; urgency=low
+jsymphonic (0.2.1alpha+svn196-1) UNRELEASED; urgency=low
 
   * Initial release (Closes: #493971)
+  * Machine-readable copyright file
 
- -- Vincent Fourmond <fourmond at debian.org>  Wed, 06 Aug 2008 23:47:40 +0200
-
+ -- Vincent Fourmond <fourmond at debian.org>  Sat, 27 Sep 2008 22:58:13 +0200

Modified: trunk/jsymphonic/debian/control
===================================================================
--- trunk/jsymphonic/debian/control	2008-09-27 19:05:38 UTC (rev 7059)
+++ trunk/jsymphonic/debian/control	2008-09-27 20:58:46 UTC (rev 7060)
@@ -3,13 +3,17 @@
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Vincent Fourmond <fourmond at debian.org>
-Build-Depends: cdbs, debhelper (>= 7)
+Build-Depends: cdbs, debhelper (>= 7), ant
+Build-Depends-Indep: openjdk-6-jdk
 Standards-Version: 3.8.0
 Homepage: http://sourceforge.net/projects/symphonic/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/jsymphonic
+Vcs-Browser: http://svn.debian.org/viewsvn/pkg-java/trunk/jsymphonic
 
+
 Package: jsymphonic
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: openjdk-6-jre | sun-java5-jre | sun-java6-jre 
 Description: File manager for Sony's MP3 players
  Symphonic is a file manager for Sony's flash players (such as the 
  NW-E00x series), where songs are stored in a proprietary format

Modified: trunk/jsymphonic/debian/copyright
===================================================================
--- trunk/jsymphonic/debian/copyright	2008-09-27 19:05:38 UTC (rev 7059)
+++ trunk/jsymphonic/debian/copyright	2008-09-27 20:58:46 UTC (rev 7060)
@@ -1,26 +1,23 @@
-This package was debianized by Vincent Fourmond <fourmond at debian.org> on
-Wed, 06 Aug 2008 23:47:40 +0200.
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Name: SOFTware
+Upstream-Maintainer: John Soft <some.email at example.com>
+Upstream-Source: http://sourceforge.net/projects/software/
 
-It was downloaded from the SVN repository at 
-https://symphonic.svn.sourceforge.net/svnroot/symphonic/trunk/jsymphonic, 
-using the script debian/get-svn-source.
+Files: src/javazoom/jlgui/player/amp/tag/*
+Copyright: Javazoom
+License: LGPL-2+
 
-Upstream Author(s):
+Files: src/javazoom/jlgui/player/amp/tag/FlacInfo.java, src/javazoom/jlgui/player/amp/tag/APEInfo.java
+Copyright: 2004 by davagin at udm.ru
+License: GPL-2+
 
-    <put author's name and email here>
-    <likewise for another author>
 
-Copyright:
 
-    <Copyright (C) YYYY Name OfAuthor>
-    <likewise for another author>
 
-License:
 
-    <Put the license of the package here indented by 4 spaces>
 
-The Debian packaging is (C) 2008, Vincent Fourmond <fourmond at debian.org> and
-is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
 
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.
+Files: debian/*
+Copyright: 2008 by Vincent Fourmond <fourmond at debian.org>
+License: GPL-2+

Deleted: trunk/jsymphonic/debian/docs
===================================================================
--- trunk/jsymphonic/debian/docs	2008-09-27 19:05:38 UTC (rev 7059)
+++ trunk/jsymphonic/debian/docs	2008-09-27 20:58:46 UTC (rev 7060)
@@ -1,6 +0,0 @@
-READ
-ME_fr.txt
-READ
-ME_old.txt
-READ
-ME.txt

Modified: trunk/jsymphonic/debian/get-svn-source
===================================================================
--- trunk/jsymphonic/debian/get-svn-source	2008-09-27 19:05:38 UTC (rev 7059)
+++ trunk/jsymphonic/debian/get-svn-source	2008-09-27 20:58:46 UTC (rev 7060)
@@ -14,19 +14,18 @@
 curdir=`pwd`
 
 cd $tmpdir;
-
-echo $tmpdir
-
 echo -n "Getting revision... "
 revision=$(svn info "$REP" | grep Revision | grep -Eo '[0-9]+')
-echo "r$revision"
+echo "svn$revision"
 
 echo "Exporting source"
-dir="${package}-${version}+r${revision}"
-tarball="${package}_${version}+r${revision}.orig.tar.gz"
+dir="${package}-${version}+svn${revision}"
+tarball="${package}_${version}+svn${revision}.orig.tar.gz"
 svn export "$REP" "$dir"
 
 echo "Cleaning up source..."
+mv $dir/dist/READ* $dir
+rename 's/ //g' $dir/READ*
 rm -rf $dir/build $dir/dist
 
 echo "Making tarball"


Property changes on: trunk/jsymphonic/debian/get-svn-source
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/jsymphonic/debian/jsymphonic.dirs
===================================================================
--- trunk/jsymphonic/debian/jsymphonic.dirs	                        (rev 0)
+++ trunk/jsymphonic/debian/jsymphonic.dirs	2008-09-27 20:58:46 UTC (rev 7060)
@@ -0,0 +1,2 @@
+/usr/share/java
+/usr/bin

Copied: trunk/jsymphonic/debian/jsymphonic.docs (from rev 7058, trunk/jsymphonic/debian/docs)
===================================================================
--- trunk/jsymphonic/debian/jsymphonic.docs	                        (rev 0)
+++ trunk/jsymphonic/debian/jsymphonic.docs	2008-09-27 20:58:46 UTC (rev 7060)
@@ -0,0 +1,3 @@
+README_fr.txt
+README_old.txt
+README.txt


Property changes on: trunk/jsymphonic/debian/jsymphonic.docs
___________________________________________________________________
Name: svn:mergeinfo
   + 

Modified: trunk/jsymphonic/debian/menu
===================================================================
--- trunk/jsymphonic/debian/menu	2008-09-27 19:05:38 UTC (rev 7059)
+++ trunk/jsymphonic/debian/menu	2008-09-27 20:58:46 UTC (rev 7060)
@@ -1,2 +1,2 @@
-?package(jsymphonic):needs="X11|text|vc|wm" section="Applications/see-menu-manual"\
-  title="jsymphonic" command="/usr/bin/jsymphonic"
+?package(jsymphonic):needs="X11" section="Applications/Sound"\
+  title="JSymphonic" command="/usr/bin/jsymphonic"

Modified: trunk/jsymphonic/debian/rules
===================================================================
--- trunk/jsymphonic/debian/rules	2008-09-27 19:05:38 UTC (rev 7059)
+++ trunk/jsymphonic/debian/rules	2008-09-27 20:58:46 UTC (rev 7060)
@@ -1,5 +1,34 @@
 #!/usr/bin/make -f
+# debian/rules for statsvn, based on the one from Batik (uses CDBS)
 
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+VERSION = $(shell dpkg-parsechangelog | egrep '^Version' | \
+	sed -r 's/Version:\s*//' | sed -r 's/^[0-9]+://' | \
+	sed -r 's/(\.dfsg)?-[0-9.]+//')
+
+# export JITC_PROCESSOR_TYPE=6
+
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
 
-# Add here any variable or target overrides you need.
+JAVA_HOME_DIRS       := /usr/lib/jvm/java-6-openjdk
+ANT_HOME             := /usr/share/ant
+DEB_ANT_COMPILER     := modern
+# DEB_ANT_BUILD_TARGET := 
+DEB_BUILDDIR         := .
+DEB_ANT_BUILDFILE    := build.xml
+DEB_ANT_CLEAN_TARGET := clean
+
+target = debian/jsymphonic
+
+print-version:
+	echo $(VERSION)
+
+install/jsymphonic::
+	install -m 644 dist/JSymphonic.jar $(target)/usr/share/java/JSymphonic-$(VERSION).jar
+	ln -s JSymphonic-$(VERSION).jar $(target)/usr/share/java/JSymphonic.jar
+	install -m 755 -t $(target)/usr/bin debian/wrappers/jsymphonic
+
+

Added: trunk/jsymphonic/debian/wrappers/jsymphonic
===================================================================
--- trunk/jsymphonic/debian/wrappers/jsymphonic	                        (rev 0)
+++ trunk/jsymphonic/debian/wrappers/jsymphonic	2008-09-27 20:58:46 UTC (rev 7060)
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# Include the wrappers utility script
+. /usr/lib/java-wrappers/java-wrappers.sh
+
+# We first look for sun's runtime, and then for all the rest
+find_java_runtime openjdk sun
+find_jars JSymphonic
+
+run_java org.naurd.media.jsymphonic.manager.JSymphonic "$@"


Property changes on: trunk/jsymphonic/debian/wrappers/jsymphonic
___________________________________________________________________
Name: svn:executable
   + *




More information about the pkg-java-commits mailing list