[pkg-java] r7890 - in trunk/jsymphonic/debian: . manpages
fourmond at alioth.debian.org
fourmond at alioth.debian.org
Mon Jan 26 21:58:37 UTC 2009
Author: fourmond
Date: 2009-01-26 21:58:37 +0000 (Mon, 26 Jan 2009)
New Revision: 7890
Added:
trunk/jsymphonic/debian/build.xml
trunk/jsymphonic/debian/jsymphonic.manpages
trunk/jsymphonic/debian/manpages/
trunk/jsymphonic/debian/manpages/jsymphonic.1
trunk/jsymphonic/debian/new-upstream
trunk/jsymphonic/debian/watch
Removed:
trunk/jsymphonic/debian/jsymphonic.docs
Modified:
trunk/jsymphonic/debian/changelog
trunk/jsymphonic/debian/control
trunk/jsymphonic/debian/copyright
trunk/jsymphonic/debian/jsymphonic.dirs
trunk/jsymphonic/debian/rules
Log:
[jsymphonic] Ready for upload, in principle
Added: trunk/jsymphonic/debian/build.xml
===================================================================
--- trunk/jsymphonic/debian/build.xml (rev 0)
+++ trunk/jsymphonic/debian/build.xml 2009-01-26 21:58:37 UTC (rev 7890)
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<!-- Ant build file for the jsymphonic debian package -->
+<!-- Copyright 2009 by Vincent Fourmond -->
+<project name="test" default="build" basedir="..">
+ <property name="srcdir" value="src" />
+ <property name="builddir" value="build" />
+ <property name="jardir" value="dist" />
+ <property name="jarname" value="${jardir}/jsymphonic-${PACKAGE_VERSION}.jar" />
+
+ <target name="init">
+ <mkdir dir="${builddir}" />
+ <mkdir dir="${jardir}" />
+ </target>
+
+ <target name="clean">
+ <delete dir="${builddir}" />
+ <delete dir="${jardir}" />
+ </target>
+
+ <target name="languages" depends="init">
+ <copy todir="${builddir}/localization">
+ <fileset dir="${srcdir}/localization" />
+ </copy>
+ </target>
+
+ <target name="compile" depends="init">
+ <javac srcdir="${srcdir}" destdir="${builddir}" />
+ </target>
+
+ <target name="build" depends="compile,languages">
+ <jar basedir="${builddir}" destfile="${jarname}" />
+ </target>
+</project>
\ No newline at end of file
Modified: trunk/jsymphonic/debian/changelog
===================================================================
--- trunk/jsymphonic/debian/changelog 2009-01-25 22:37:28 UTC (rev 7889)
+++ trunk/jsymphonic/debian/changelog 2009-01-26 21:58:37 UTC (rev 7890)
@@ -1,6 +1,20 @@
-jsymphonic (0.2.1alpha+svn196-1) UNRELEASED; urgency=low
+jsymphonic (0.3.0alpha1-1) experimental; urgency=low
+ * New upstream release
+ * Wrote a decent watchfile, and a small new-upstream script to repackage
+ and rearrange the zip file.
+ * Wrote from scratch a debian/build.xml, as the build system is not
+ provided in the source zip file
+ * Wrote a (rather rudimentary) manual page
+ * Added ${misc:Depends} for debhelper
+
+ -- Vincent Fourmond <fourmond at debian.org> Mon, 26 Jan 2009 22:52:48 +0100
+
+jsymphonic (0.2.1alpha+svn196-1) never released; urgency=low
+
* Initial release (Closes: #493971)
* Machine-readable copyright file
+ * Adding alternative on cacao-oj6-jre
+ * Depends on java-wrappers for the executable script
- -- Vincent Fourmond <fourmond at debian.org> Sat, 27 Sep 2008 22:58:13 +0200
+ -- Vincent Fourmond <fourmond at debian.org> Mon, 01 Dec 2008 20:11:27 +0100
Modified: trunk/jsymphonic/debian/control
===================================================================
--- trunk/jsymphonic/debian/control 2009-01-25 22:37:28 UTC (rev 7889)
+++ trunk/jsymphonic/debian/control 2009-01-26 21:58:37 UTC (rev 7890)
@@ -13,7 +13,8 @@
Package: jsymphonic
Architecture: all
-Depends: openjdk-6-jre | sun-java5-jre | sun-java6-jre
+Depends: openjdk-6-jre | java6-runtime, java-wrappers (>= 0.1.11),
+ ${misc:Depends}
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 2009-01-25 22:37:28 UTC (rev 7889)
+++ trunk/jsymphonic/debian/copyright 2009-01-26 21:58:37 UTC (rev 7890)
@@ -1,7 +1,6 @@
Format-Specification:
http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
Upstream-Name: JSymphonic
-Upstream-Maintainer: John Soft <some.email at example.com>
Upstream-Source: http://sourceforge.net/projects/symphonic/
Disclaimer: the following copyright information is based on the list of
@@ -55,3 +54,6 @@
Files: debian/*
Copyright: 2008 by Vincent Fourmond <fourmond at debian.org>
License: GPL-2+
+
+ The text of the above licences can be found on debian systems at
+ /usr/share/common-licenses.
\ No newline at end of file
Modified: trunk/jsymphonic/debian/jsymphonic.dirs
===================================================================
--- trunk/jsymphonic/debian/jsymphonic.dirs 2009-01-25 22:37:28 UTC (rev 7889)
+++ trunk/jsymphonic/debian/jsymphonic.dirs 2009-01-26 21:58:37 UTC (rev 7890)
@@ -1,2 +1,2 @@
-/usr/share/java
-/usr/bin
+usr/share/java
+usr/bin
Deleted: trunk/jsymphonic/debian/jsymphonic.docs
===================================================================
--- trunk/jsymphonic/debian/jsymphonic.docs 2009-01-25 22:37:28 UTC (rev 7889)
+++ trunk/jsymphonic/debian/jsymphonic.docs 2009-01-26 21:58:37 UTC (rev 7890)
@@ -1,3 +0,0 @@
-README_fr.txt
-README_old.txt
-README.txt
Added: trunk/jsymphonic/debian/jsymphonic.manpages
===================================================================
--- trunk/jsymphonic/debian/jsymphonic.manpages (rev 0)
+++ trunk/jsymphonic/debian/jsymphonic.manpages 2009-01-26 21:58:37 UTC (rev 7890)
@@ -0,0 +1 @@
+debian/manpages/jsymphonic.1
\ No newline at end of file
Added: trunk/jsymphonic/debian/manpages/jsymphonic.1
===================================================================
--- trunk/jsymphonic/debian/manpages/jsymphonic.1 (rev 0)
+++ trunk/jsymphonic/debian/manpages/jsymphonic.1 2009-01-26 21:58:37 UTC (rev 7890)
@@ -0,0 +1,47 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Copyright 2009 by Vincent Fourmond
+.\" Can be modified and distributed under the terms of the GNU General
+.\" public license, version 2 or any later version at your option.
+.TH JSYMPHONIC 1 "26-01-2009"
+.SH NAME
+jsymphonic \- File manager for Sony's MP3 players
+.SH SYNOPSIS
+.B jsymphonic
+
+.SH DESCRIPTION
+
+.B jsymphonic
+manages files stored on MP3 player plugged onto the computer.
+.I The MP3 player should be mounted first !
+You might want to use
+.BR pmount (1)
+to mount it without needing root privileges.
+
+.P
+The first time it is run,
+.B jsymphonic
+will ask you in which directory the MP3 player is mounted. This
+directory should not change, or you will need to configure it again.
+.B jsymphonic
+prompts for a new directory by default if it cannot find the music
+player at its usual location.
+
+.SH JAVA-WRAPPERS NOTE
+
+This program is a shell script wrapper based on
+.BR java-wrappers (7).
+You therefore benefit from several features; please see the
+.BR java-wrappers (7)
+manual page for more information about them.
+
+
+.SH SEE ALSO
+
+.BR pmount (1)
+and
+.BR java-wrappers (7)
+
+.SH AUTHOR
+This manual page was written by Vincent Fourmond <fourmond at debian.org>
+from the Debian project, but may be used by others.
Added: trunk/jsymphonic/debian/new-upstream
===================================================================
--- trunk/jsymphonic/debian/new-upstream (rev 0)
+++ trunk/jsymphonic/debian/new-upstream 2009-01-26 21:58:37 UTC (rev 7890)
@@ -0,0 +1,38 @@
+#!/bin/sh
+#
+# new-upstream: copyright 2009 by Vincent Fourmond.
+# This script simply repackages the original jarball into a real tarball.
+#
+# Called by uscan; from uscan(1):
+#
+# Finally, if a third parameter (an action) is given in the watchfile
+# line, this is taken as the name of a command, and the command
+# command --upstream-version version filename
+#
+# is executed, using either the original file or the symlink name.
+#
+# Thanks to Sam Morris <sam at robots.org.uk> for giving me the idea
+
+version=$2
+filename=$3
+
+dir=`mktemp -d`
+target_dir=$dir/jsymphonic-$version
+
+# We repackage the upstream source zip file:
+mkdir -p $target_dir
+unzip "$filename" -d "$target_dir"
+origname=jsymphonic_$version.orig.tar.gz
+
+echo "Renaming the source directory"
+mv $target_dir/JSy*/ $target_dir/src
+
+
+# We repackage excluding the lib/ subdir
+cd $dir
+echo "Creating archive"
+tar cvz -f $origname jsymphon*
+cd -
+# We remove any file already existing there: it might be a symlink.
+rm -f $orginame
+mv $dir/$origname ..
Property changes on: trunk/jsymphonic/debian/new-upstream
___________________________________________________________________
Name: svn:executable
+ *
Modified: trunk/jsymphonic/debian/rules
===================================================================
--- trunk/jsymphonic/debian/rules 2009-01-25 22:37:28 UTC (rev 7889)
+++ trunk/jsymphonic/debian/rules 2009-01-26 21:58:37 UTC (rev 7890)
@@ -1,5 +1,5 @@
#!/usr/bin/make -f
-# debian/rules for statsvn, based on the one from Batik (uses CDBS)
+# debian/rules for libstevesoft-regex-java
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@@ -8,27 +8,30 @@
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
+# include /usr/share/cdbs/1/rules/dpatch.mk
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_BUILDFILE := debian/build.xml
DEB_ANT_CLEAN_TARGET := clean
-target = debian/jsymphonic
+ANT_ARGS := -DPACKAGE_VERSION=$(VERSION)
+target=debian/jsymphonic
+target_dir=$(target)/usr/share/java
+
+
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 644 dist/*.jar $(target_dir)/jsymphonic-$(VERSION).jar
+ ln -s jsymphonic-$(VERSION).jar $(target_dir)/jsymphonic.jar
install -m 755 -t $(target)/usr/bin debian/wrappers/jsymphonic
-
Added: trunk/jsymphonic/debian/watch
===================================================================
--- trunk/jsymphonic/debian/watch (rev 0)
+++ trunk/jsymphonic/debian/watch 2009-01-26 21:58:37 UTC (rev 7890)
@@ -0,0 +1,3 @@
+version=3
+opts=dversionmangle=s/\.dfsg// \
+http://sf.net/symphonic/JSymphonic_(.*)-Sources.zip debian debian/new-upstream
More information about the pkg-java-commits
mailing list