[med-svn] [libbrowserlauncher-java] 02/05: Add initial packaging

Andreas Tille tille at debian.org
Mon Jan 18 10:31:15 UTC 2016


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

tille pushed a commit to branch master
in repository libbrowserlauncher-java.

commit cd30226d95e86fd9fa7732fc5825d5783692d109
Author: Andreas Tille <tille at debian.org>
Date:   Mon Jan 18 10:54:29 2016 +0100

    Add initial packaging
---
 debian/changelog           |  5 +++++
 debian/compat              |  1 +
 debian/control             | 22 ++++++++++++++++++++++
 debian/copyright           | 16 ++++++++++++++++
 debian/patches/series      |  1 +
 debian/patches/utf-8.patch | 24 ++++++++++++++++++++++++
 debian/rules               | 20 ++++++++++++++++++++
 debian/source/format       |  1 +
 debian/upstream/metadata   | 12 ++++++++++++
 debian/watch               |  4 ++++
 10 files changed, 106 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..03eec1e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+libbrowserlauncher-java (1.3+dfsg-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #<bug>)
+
+ -- Andreas Tille <tille at debian.org>  Mon, 18 Jan 2016 09:37:27 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..eb2dc8b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: libbrowserlauncher-java
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Section: science
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               javahelper,
+               default-jdk,
+               ant
+Standards-Version: 3.9.6
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/libbrowserlauncher-java.git
+Vcs-Git: git://anonscm.debian.org/debian-med/libbrowserlauncher-java.git
+Homepage: http://browserlaunch2.sourceforge.net/
+
+Package: libbrowserlauncher-java
+Architecture: any
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Description: Java library for opening a browser
+ Java library that facilitates opening a browser from a Java application
+ and directing the browser to a supplied url. In most cases the browser
+ opened will be the user's default browser.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4c6062b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,16 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: BrowserLauncher2
+Upstream-Contact: Jeff Chapman <sdvalidator at yahoo.com>
+Source: http://sourceforge.net/projects/browserlaunch2/files
+Files-Excluded: *.class
+                *.dep2
+                classes
+                package*cache
+
+Files: *
+Copyright: 2005-2007 Jeff Chapman <sdvalidator at yahoo.com>
+License: LGPL-2.1+
+
+Files: debian/*
+Copyright: 2016 Andreas Tille <tille at debian.org>
+License: LGPL-2.1+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2422b9b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+utf-8.patch
diff --git a/debian/patches/utf-8.patch b/debian/patches/utf-8.patch
new file mode 100644
index 0000000..742213b
--- /dev/null
+++ b/debian/patches/utf-8.patch
@@ -0,0 +1,24 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Mon, 18 Jan 2016 09:37:27 +0100
+Description: Fix: unmappable character for encoding ASCII
+
+--- a/source/at/jta/Regor.java
++++ b/source/at/jta/Regor.java
+@@ -352,7 +352,7 @@ final public class Regor
+   /******************************************************************************************************************************
+    * Method set the specified string value
+    * Methode setzt (oder erstellt) einen Wert auf eine Zeichenfolge
+-   * Will man den defaulteintrag �ndern, so muss man valueName "" �bergeben
++   * Will man den defaulteintrag aendern, so muss man valueName "" uebergeben
+    * @param key obtained by openKey
+    * @param valueName the string value name in the registry you want to set
+    * @param value the new value you want to set
+@@ -479,7 +479,7 @@ final public class Regor
+   /******************************************************************************************************************************
+    * Create new key/subkey in the registry with the specified name
+    * Attentition: if the key is successfully returned, you should close and open the key again, because the obtained key
+-   * doesnt have a high access level (so maybe creating or deleting a key/value wouldn�t be successful)
++   * doesnt have a high access level (so maybe creating or deleting a key/value wouldn't be successful)
+    * @param key handle to parent key obtained from openKey
+    * @param subkey name of the key/subkey you want to create
+    * @return on success the handle to the new key will be returned, otherwhise it will be -1
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b11c63e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+# DH_VERBOSE := 1
+
+# some helpful variables - uncomment them if needed
+# shamelessly stolen from http://jmtd.net/log/awk/
+#DEBVERS        := $(shell dpkg-parsechangelog | awk '/^Version:/ {print $$2}')
+#VERSION        := $(shell echo '$(DEBVERS)' | sed -e 's/^[0-9]*://' -e 's/-.*//')
+#DEBFLAVOR      := $(shell dpkg-parsechangelog | awk '/^Distribution:/ {print $$2}')
+#DEBPKGNAME     := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+#DEBIAN_BRANCH  := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
+#GIT_TAG        := $(subst ~,_,$(VERSION))
+
+JAVA_HOME=/usr/lib/jvm/default-java
+
+%:
+	dh $@ --with javahelper
+
+get-orig-source:
+	uscan --verbose --force-download --repack --compression xz
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..d8b5812
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,12 @@
+Reference:
+  Author: 
+  Title: 
+  Journal: 
+  Year: 
+  Volume: 
+  Number: 
+  Pages: 
+  DOI: 
+  PMID:
+  URL: 
+  eprint: 
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..30ca44c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+opts="repacksuffix=+dfsg,dversionmangle=s/\+dfsg//g,uversionmangle=s/(\d)_*(\d+)/$1.$2/" \
+  http://sf.net/browserlaunch2/BrowserLauncher2-all-(\d[\d\._]+)\.(?:tgz|jar|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the debian-med-commit mailing list