[med-svn] [orthanc-imagej] 10/12: Re-inject debian/ dir
Andreas Tille
tille at debian.org
Tue Apr 19 12:57:54 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository orthanc-imagej.
commit 5f97e575893edc549116cba42779933297273967
Author: Andreas Tille <tille at debian.org>
Date: Tue Apr 19 14:54:23 2016 +0200
Re-inject debian/ dir
---
debian/README.Debian | 7 +++++++
debian/changelog | 12 ++++++++++++
debian/compat | 1 +
debian/control | 35 +++++++++++++++++++++++++++++++++++
debian/copyright | 29 +++++++++++++++++++++++++++++
debian/dirs | 1 +
debian/install | 1 +
debian/patches/json-simple | 38 ++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
debian/rules | 19 +++++++++++++++++++
debian/source/format | 1 +
debian/upstream/metadata | 6 ++++++
debian/watch | 3 +++
13 files changed, 154 insertions(+)
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..b4751bc
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,7 @@
+This is a plugin for ImageJ to browse and download the content of an
+Orthanc server.
+
+Homepage: http://www.orthanc-server.com/static.php?page=imagej
+
+The plugin is accessible from the "File" -> "Import" -> "Orthanc" menu
+entry in ImageJ.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c88d212
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,12 @@
+orthanc-imagej (1.1+dfsg-1) unstable; urgency=medium
+
+ * New upstream version.
+ * Updated URLs to the project, the code repository and the downloads.
+
+ -- Sebastien Jodogne <s.jodogne at gmail.com> Fri, 15 Apr 2016 11:44:54 +0200
+
+orthanc-imagej (1.0.0+dfsg-1) unstable; urgency=low
+
+ * Initial release. (Closes: #772561)
+
+ -- Sebastien Jodogne <s.jodogne at gmail.com> Mon, 15 Dec 2014 15:55:43 +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..4b62b52
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,35 @@
+Source: orthanc-imagej
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Sebastien Jodogne <s.jodogne at gmail.com>,
+ Andreas Tille <tille at debian.org>
+Section: science
+Priority: optional
+Standards-Version: 3.9.7
+Build-Depends: cmake (>= 2.8),
+ default-jdk | openjdk-8-jdk,
+ debhelper (>= 9),
+ imagej,
+ libjson-simple-java
+Vcs-Browser: https://anonscm.debian.org/viewvc/debian-med/trunk/packages/orthanc-imagej/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/orthanc-imagej/trunk/
+Homepage: http://www.orthanc-server.com/static.php?page=imagej
+
+Package: orthanc-imagej
+Architecture: all
+Depends: ${misc:Depends},
+ default-jre | openjdk-8-jre,
+ imagej,
+ libjson-simple-java
+Recommends: orthanc
+Description: ImageJ plugin to import images from Orthanc
+ This ImageJ plugin allows ImageJ to browse the content of an Orthanc
+ server, then import 2D/3D DICOM images from Orthanc into ImageJ.
+ Orthanc is a lightweight, RESTful DICOM server for healthcare and
+ medical research.
+ .
+ This plugin simplifies the indexation of DICOM images if using
+ ImageJ (e.g. for quality control of DICOM modalities, or for
+ pedagogical use). There is also no need to carry on any complex
+ network configuration, since the plugin directly uses the REST
+ API of Orthanc. This makes its installation and its use
+ quite straightforward.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5a11a28
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: OrthancImageJ
+Upstream-Contact: Sebastien Jodogne <s.jodogne at gmail.com>
+Source: https://bitbucket.org/sjodogne/orthanc-imagej/
+Files-Excluded: org/*
+
+Files: *
+Copyright: 2012-2016 CHU of Liege (Belgium), and Sebastien Jodogne <s.jodogne at gmail.com>
+License: GPL-3
+
+
+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 package; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ .
+ On Debian systems, the full text of the GNU General Public License
+ version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..db0cbfb
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/share/imagej/plugins
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..6a8750a
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+Build/Orthanc_Import.jar usr/share/imagej/plugins/
diff --git a/debian/patches/json-simple b/debian/patches/json-simple
new file mode 100644
index 0000000..097d359
--- /dev/null
+++ b/debian/patches/json-simple
@@ -0,0 +1,38 @@
+Description: Patch to link against Debian's libjson-simple-java package
+Author: Sebastien Jodogne <s.jodogne at gmail.com>
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: OrthancImageJ-1.1/CMakeLists.txt
+===================================================================
+--- OrthancImageJ-1.1.orig/CMakeLists.txt
++++ OrthancImageJ-1.1/CMakeLists.txt
+@@ -6,7 +6,7 @@ find_package(Java REQUIRED)
+ include(UseJava)
+
+ set(CMAKE_JAVA_COMPILE_FLAGS "-source" "1.6" "-target" "1.6")
+-set(CMAKE_JAVA_INCLUDE_PATH /usr/share/java/ij.jar)
++set(CMAKE_JAVA_INCLUDE_PATH /usr/share/java/ij.jar:/usr/share/java/json-simple.jar)
+
+ # The name of an ImageJ plugin must contain an underscore
+ # http://imagejdocu.tudor.lu/doku.php?id=howto:plugins:howto_create_an_imagej_plugin_jar_file
+@@ -19,20 +19,6 @@ add_jar(Orthanc_Import
+ ${CMAKE_SOURCE_DIR}/com/orthancserver/PreviewPanel.java
+ ${CMAKE_SOURCE_DIR}/com/orthancserver/SelectImageDialog.java
+ ${CMAKE_SOURCE_DIR}/com/orthancserver/HttpsTrustModifier.java
+-
+- # Sources of the "json-simple" toolkit
+- ${CMAKE_SOURCE_DIR}/org/json/simple/ItemList.java
+- ${CMAKE_SOURCE_DIR}/org/json/simple/JSONArray.java
+- ${CMAKE_SOURCE_DIR}/org/json/simple/JSONAware.java
+- ${CMAKE_SOURCE_DIR}/org/json/simple/JSONObject.java
+- ${CMAKE_SOURCE_DIR}/org/json/simple/JSONStreamAware.java
+- ${CMAKE_SOURCE_DIR}/org/json/simple/JSONValue.java
+- ${CMAKE_SOURCE_DIR}/org/json/simple/parser/ContainerFactory.java
+- ${CMAKE_SOURCE_DIR}/org/json/simple/parser/ContentHandler.java
+- ${CMAKE_SOURCE_DIR}/org/json/simple/parser/JSONParser.java
+- ${CMAKE_SOURCE_DIR}/org/json/simple/parser/ParseException.java
+- ${CMAKE_SOURCE_DIR}/org/json/simple/parser/Yylex.java
+- ${CMAKE_SOURCE_DIR}/org/json/simple/parser/Yytoken.java
+ )
+
+ # Add the "plugins.config" file that is expected by ImageJ in the JAR file
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..33ce5e2
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+json-simple
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..36e6248
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+JSON_SIMPLE_JAR = /usr/share/java/json-simple.jar
+
+%:
+ dh $@ --parallel --builddirectory=Build
+
+override_dh_auto_configure:
+ dh_auto_configure -- -DCMAKE_JAVA_INCLUDE_PATH=${JSON_SIMPLE_JAR}
+
+override_dh_auto_install:
+ dh_auto_install
+ dh_link ${JSON_SIMPLE_JAR} usr/share/imagej/plugins/Orthanc_Import_json-simple.jar
+
+override_dh_installchangelogs:
+ dh_installchangelogs -k NEWS
+
+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..7cf8c15
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,6 @@
+Reference:
+ Author: S. Jodogne and C. Bernard and M. Devillers and E. Lenaerts and P. Coucke
+ Title: "Orthanc -- A Lightweight, RESTful DICOM Server for Healthcare and Medical Research"
+ Type: book
+ Booktitle: Proc. of the International Symposium on Biomedical Imaging
+ Year: 2013
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..1407b5b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="repacksuffix=+dfsg,dversionmangle=s/\+dfsg//g,downloadurlmangle=s/\/browse\.php\?path=//g,repack,compression=xz" \
+http://www.orthanc-server.com/browse.php?path=/imagej downloads/get\.php\?path=/imagej/OrthancImageJ-(\d\S*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/orthanc-imagej.git
More information about the debian-med-commit
mailing list