[pkg-java] r4163 - in trunk/jftp/debian: . patches
varun-guest at alioth.debian.org
varun-guest at alioth.debian.org
Thu Sep 13 15:41:51 UTC 2007
Author: varun-guest
Date: 2007-09-13 15:41:51 +0000 (Thu, 13 Sep 2007)
New Revision: 4163
Added:
trunk/jftp/debian/orig-tar.exclude
Removed:
trunk/jftp/debian/patches/02_printstream_gcj_fix.dpatch
Modified:
trunk/jftp/debian/changelog
trunk/jftp/debian/control
trunk/jftp/debian/copyright
trunk/jftp/debian/orig-tar.sh
trunk/jftp/debian/patches/00list
trunk/jftp/debian/rules
trunk/jftp/debian/watch
Log:
* debian/control: add java6 dependencies.
* debian/orig-tar.sh: updated to remove non-free things
* debian/copyright: Update for icons
* debian/orig-tar.exclude: Add all non-freeness here
Modified: trunk/jftp/debian/changelog
===================================================================
--- trunk/jftp/debian/changelog 2007-09-13 14:48:33 UTC (rev 4162)
+++ trunk/jftp/debian/changelog 2007-09-13 15:41:51 UTC (rev 4163)
@@ -1,12 +1,11 @@
-jftp (1.50-1) unstable; urgency=low
+jftp (1.51~pre3-1) unstable; urgency=low
[ Varun Hiremath ]
* Initial release (Closes: #415440)
* Added 01_manifest_fix.dpatch to use a custom MANIFEST.MF and avoid classpath trouble.
- * Added 02_printstream_gcj_fix.dpatch to compile j-ftp with gcj.
* Clean up jar, remove non-free components.
[ Kumar Appaiah ]
* Add README.Debian-source to explain the repackaging.
- -- Kumar Appaiah <akumar at ee.iitm.ac.in> Wed, 12 Sep 2007 09:18:17 +0530
+ -- Varun Hiremath <varunhiremath at gmail.com> Thu, 13 Sep 2007 21:04:39 +0530
Modified: trunk/jftp/debian/control
===================================================================
--- trunk/jftp/debian/control 2007-09-13 14:48:33 UTC (rev 4162)
+++ trunk/jftp/debian/control 2007-09-13 15:41:51 UTC (rev 4163)
@@ -1,15 +1,15 @@
Source: jftp
-Section: net
+Section: contrib/net
Priority: optional
Maintainer: Debian Java maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Varun Hiremath <varunhiremath at gmail.com>, Kumar Appaiah <akumar at ee.iitm.ac.in>
Build-Depends: cdbs, debhelper (>= 5), dpatch
-Build-Depends-Indep: libslide-webdavclient-java, libjcifs-java, libjorbis-java, libcommons-logging-java, libcommons-httpclient-java, liblog4j1.2-java, kunststoff, libyanfs-java, libj2ssh-java, libjsch-java
+Build-Depends-Indep: sun-java6-jdk, libslide-webdavclient-java, libjcifs-java, libjorbis-java, libcommons-logging-java, libcommons-httpclient-java, liblog4j1.2-java, kunststoff, libyanfs-java, libj2ssh-java, libjsch-java
Standards-Version: 3.7.2
Package: jftp
Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, libslide-webdavclient-java, libjcifs-java, libjorbis-java, libcommons-logging-java, libcommons-httpclient-java, liblog4j1.2-java, kunststoff, libyanfs-java, libj2ssh-java, libjsch-java
+Depends: ${shlibs:Depends}, ${misc:Depends}, sun-java6-jre | java1-runtime | java2-runtime, libslide-webdavclient-java, libjcifs-java, libjorbis-java, libcommons-logging-java, libcommons-httpclient-java, liblog4j1.2-java, kunststoff, libyanfs-java, libj2ssh-java, libjsch-java
Description: a Java GUI client for FTP, SMB, SFTP and NFS
JFtp is a graphical Java network and file transfer client. It
supports FTP using its own FTP API and various other protocols like
Modified: trunk/jftp/debian/copyright
===================================================================
--- trunk/jftp/debian/copyright 2007-09-13 14:48:33 UTC (rev 4162)
+++ trunk/jftp/debian/copyright 2007-09-13 15:41:51 UTC (rev 4163)
@@ -8,7 +8,6 @@
Copyright: 2007, David Hansmann <hansmann.d at debitel.net>
License:
-
This package 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
@@ -23,6 +22,10 @@
along with this package; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+The icons used in JFTP are taken from the GNOME 2.18 Icon theme, which
+are also released under the GNU General Public License. They are
+available at: http://art.gnome.org/themes/icon/1352
+
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
Added: trunk/jftp/debian/orig-tar.exclude
===================================================================
--- trunk/jftp/debian/orig-tar.exclude (rev 0)
+++ trunk/jftp/debian/orig-tar.exclude 2007-09-13 15:41:51 UTC (rev 4163)
@@ -0,0 +1,6 @@
+*/CVS*
+lib/*
+src/images/org
+src/images/silk
+src/images/gnome
+
Modified: trunk/jftp/debian/orig-tar.sh
===================================================================
--- trunk/jftp/debian/orig-tar.sh 2007-09-13 14:48:33 UTC (rev 4162)
+++ trunk/jftp/debian/orig-tar.sh 2007-09-13 15:41:51 UTC (rev 4163)
@@ -1,15 +1,13 @@
#!/bin/sh -e
# called by uscan with '--upstream-version' <version> <file>
-TAR=../j-ftp-$2.tar.gz
DIR=jftp-$2.orig
# clean up the upstream tarball
-mv $TAR $3
tar zxf $3
mv j-ftp $DIR
-GZIP=--best tar czf $3 --exclude 'lib/*' --exclude 'src/images/org' --exclude '*/CVS' $DIR
-rm -rf $TAR $DIR
+GZIP=--best tar czf $3 -X debian/orig-tar.exclude $DIR
+rm -rf $DIR
# move to directory 'tarballs'
if [ -r .svn/deb-layout ]; then
Modified: trunk/jftp/debian/patches/00list
===================================================================
--- trunk/jftp/debian/patches/00list 2007-09-13 14:48:33 UTC (rev 4162)
+++ trunk/jftp/debian/patches/00list 2007-09-13 15:41:51 UTC (rev 4163)
@@ -1,3 +1,3 @@
01_manifest_fix
-02_printstream_gcj_fix
+
Deleted: trunk/jftp/debian/patches/02_printstream_gcj_fix.dpatch
===================================================================
--- trunk/jftp/debian/patches/02_printstream_gcj_fix.dpatch 2007-09-13 14:48:33 UTC (rev 4162)
+++ trunk/jftp/debian/patches/02_printstream_gcj_fix.dpatch 2007-09-13 15:41:51 UTC (rev 4163)
@@ -1,38 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 02_printstream_gcj_fix.dpatch by <akumar at ee.iitm.ac.in>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
- at DPATCH@
-diff -urNad jftp-1.50.orig~/src/java/net/sf/jftp/gui/base/RemoteDir.java jftp-1.50.orig/src/java/net/sf/jftp/gui/base/RemoteDir.java
---- jftp-1.50.orig~/src/java/net/sf/jftp/gui/base/RemoteDir.java 2007-09-09 21:09:37.000000000 +0530
-+++ jftp-1.50.orig/src/java/net/sf/jftp/gui/base/RemoteDir.java 2007-09-09 21:13:11.000000000 +0530
-@@ -776,12 +776,14 @@
- Log.debug("Can only list FtpConnection output!");
- }
-
-- PrintStream out = new PrintStream(Settings.ls_out);
-+ java.io.FileOutputStream f_out = new java.io.FileOutputStream(Settings.ls_out);
-+ PrintStream out = new PrintStream(f_out);
- for(int i=0; i<((FtpConnection)con).currentListing.size(); i++) {
- out.println(((FtpConnection)con).currentListing.get(i));
- }
- out.flush();
- out.close();
-+ f_out.close();
-
- java.net.URL url = new java.io.File(Settings.ls_out).toURL();
- Displayer d = new Displayer(url, new Font("monospaced",Font.PLAIN, 11));
-@@ -797,6 +799,11 @@
- ex2.printStackTrace();
- Log.debug("ERROR: File not found!");
- }
-+ catch(java.io.IOException ex3)
-+ {
-+ ex3.printStackTrace();
-+ Log.debug("ERROR: Input/Output error!");
-+ }
- }
- else if(e.getActionCommand().equals("type") && (!JFtp.uiBlocked))
- {
Modified: trunk/jftp/debian/rules
===================================================================
--- trunk/jftp/debian/rules 2007-09-13 14:48:33 UTC (rev 4162)
+++ trunk/jftp/debian/rules 2007-09-13 15:41:51 UTC (rev 4163)
@@ -4,7 +4,7 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/dpatch.mk
-JAVA_HOME := /usr/lib/jvm/java-gcj
+JAVA_HOME := /usr/lib/jvm/java-6-sun
DEB_ANT_BUILD_TARGET := jars
DEB_JARS := jcifs jl commons-logging commons-httpclient log4j-1.2 jorbis jogg \
jakarta-slide-webdavlib kunststoff j2ssh-ant j2ssh-core yanfs.jar \
@@ -18,4 +18,4 @@
/usr/share/java/jftp.jar
get-orig-source:
- -uscan --upstream-version 0
+ -uscan --upstream-version 0 --rename
Modified: trunk/jftp/debian/watch
===================================================================
--- trunk/jftp/debian/watch 2007-09-13 14:48:33 UTC (rev 4162)
+++ trunk/jftp/debian/watch 2007-09-13 15:41:51 UTC (rev 4163)
@@ -1,3 +1,7 @@
version=3
+# This is the actual release page, but we are using a pre release.
+# So, this section is commented.
#http://heanet.dl.sourceforge.net/sourceforge/j-ftp/ \
-http://sf.net/j-ftp/ j-ftp-(.*).tar.gz debian debian/orig-tar.sh
+#http://sf.net/j-ftp/ j-ftp-(.*).tar.gz debian debian/orig-tar.sh
+opts="uversionmangle=s/-/~/,dversionmangle=s/-/~/" \
+http://j-ftp.sourceforge.net/zips/ j-ftp-(\d.*).tar.gz debian debian/orig-tar.sh
More information about the pkg-java-commits
mailing list