[med-svn] [fw4spl] 01/01: add manpages, remove useless launcher, fix nmu and ldconfig issues

Corentin Desfarges corentin-guest at moszumanska.debian.org
Wed Jan 21 14:47:19 UTC 2015


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

corentin-guest pushed a commit to branch master
in repository fw4spl.

commit 7baa5930725add6feb4517e0f6a605762af6e870
Author: Corentin Desfarges <corentin.desfarges at gmail.com>
Date:   Sun Jan 11 22:51:42 2015 +0100

    add manpages, remove useless launcher, fix nmu and ldconfig issues
---
 debian/changelog                       |  4 ++--
 debian/control                         |  2 +-
 debian/copyright                       |  4 ++--
 debian/fw4spl.lintian-overrides        |  2 ++
 debian/fw4spl.manpages                 |  2 ++
 debian/launcher-0.1.1                  | 18 ++++++++++++++++++
 debian/launcher.1                      | 18 ++++++++++++++++++
 debian/patches/add_easy_launcher.patch |  8 --------
 debian/patches/series                  |  1 -
 debian/postinst                        | 11 +++++++++++
 debian/postrm                          | 12 ++++++++++++
 11 files changed, 68 insertions(+), 14 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7942597..19b8f2e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
 fw4spl (0.9.2-1) unstable; urgency=low
 
-  * Initial release (Closes: #999)  <test>
+  * Initial release (Closes: #999)
 
- -- Corentin Desfarges <corentin.desfarges at gmail.com>  Wed, 16 Jul 2014 12:07:41 +0200
+ -- Corentin Desfarges <corentin.desfarges.dev at gmail.com>  Mon, 19 Jan 2015 11:11:11 +0200
diff --git a/debian/control b/debian/control
index 2f265f0..569eb3b 100644
--- a/debian/control
+++ b/debian/control
@@ -1,6 +1,6 @@
 Source: fw4spl
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Corentin D <corentin.desfarges at gmail.com>
+Uploaders: Corentin Desfarges <corentin.desfarges.dev at gmail.com>
 Section: science
 Priority: optional
 Build-Depends: debhelper (>= 9),
diff --git a/debian/copyright b/debian/copyright
index 9ce6ba8..de53281 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -4,13 +4,13 @@ Source: https://github.com/corentindesfarges/fw4spl
 Files-Excluded: Apps/VRRender/doc
 
 Files: *
-Copyright: 2009-2013 Johan Moreau <johan.moreau at ircad.fr>
+Copyright: 2009-2015 Johan Moreau <johan.moreau at ircad.fr>
 License: LGPL-3
  Distributed under the terms of the GNU Lesser General Public License (LGPL) as
  published by the Free Software Foundation.
 
 Files: debian/*
-Copyright: 2014 Corentin Desfarges <corentin.desfarges.dev at gmail.com>
+Copyright: 2015 Corentin Desfarges <corentin.desfarges.dev at gmail.com>
 License: GPL-3
  The Debian packaging information is under the GPL, version 2 or later.
  .
diff --git a/debian/fw4spl.lintian-overrides b/debian/fw4spl.lintian-overrides
new file mode 100644
index 0000000..47baa0e
--- /dev/null
+++ b/debian/fw4spl.lintian-overrides
@@ -0,0 +1,2 @@
+fw4spl: postinst-has-useless-call-to-ldconfig
+fw4spl: postrm-has-useless-call-to-ldconfig
diff --git a/debian/fw4spl.manpages b/debian/fw4spl.manpages
new file mode 100644
index 0000000..356ad34
--- /dev/null
+++ b/debian/fw4spl.manpages
@@ -0,0 +1,2 @@
+debian/launcher.1
+debian/launcher-0.1.1
diff --git a/debian/launcher-0.1.1 b/debian/launcher-0.1.1
new file mode 100644
index 0000000..97f8b99
--- /dev/null
+++ b/debian/launcher-0.1.1
@@ -0,0 +1,18 @@
+.TH launcher 1 "January 20, 2015" "version 0.9.2" "USER COMMANDS"
+
+.SH NAME
+launcher \- launch a f4wspl's applications
+
+.SH SYNOPSIS
+launcher [FILE]
+
+.SH DESCRIPTION
+This program allows you to run applications and tutorials builts
+with the open source framework called fw4spl.
+
+.SH EXAMPLES
+.IP "launcher /usr/share/fw4spl/Bundle/VRRender/profile.xml"
+Start the Application \"VRRender\"
+
+.SH AUTHOR
+Johan Moreau (johan.moreau (at) ircad.fr)
diff --git a/debian/launcher.1 b/debian/launcher.1
new file mode 100644
index 0000000..97f8b99
--- /dev/null
+++ b/debian/launcher.1
@@ -0,0 +1,18 @@
+.TH launcher 1 "January 20, 2015" "version 0.9.2" "USER COMMANDS"
+
+.SH NAME
+launcher \- launch a f4wspl's applications
+
+.SH SYNOPSIS
+launcher [FILE]
+
+.SH DESCRIPTION
+This program allows you to run applications and tutorials builts
+with the open source framework called fw4spl.
+
+.SH EXAMPLES
+.IP "launcher /usr/share/fw4spl/Bundle/VRRender/profile.xml"
+Start the Application \"VRRender\"
+
+.SH AUTHOR
+Johan Moreau (johan.moreau (at) ircad.fr)
diff --git a/debian/patches/add_easy_launcher.patch b/debian/patches/add_easy_launcher.patch
deleted file mode 100644
index c6a2c3c..0000000
--- a/debian/patches/add_easy_launcher.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- /dev/null
-+++ b/launcher/bin/fw4spl_launcher
-@@ -0,0 +1,5 @@
-+#!/bin/bash
-+
-+bundle=$(ls /usr/share/fw4spl/Bundles/ | grep -i ^$1)
-+
-+LD_LIBRARY_PATH=/usr/lib/fw4spl /usr/bin/launcher /usr/share/fw4spl/Bundles/$bundle/profile.xml
diff --git a/debian/patches/series b/debian/patches/series
index 035803e..0a9b1c3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,3 @@
 remove_fwItkIOTest.patch
 set_media_as_bundle.patch
-add_easy_launcher.patch
 fix_unit_tests.patch
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..7202ac3
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+	sh -c "echo '/usr/lib/fw4spl' > /etc/ld.so.conf.d/fw4spl.conf"
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 0000000..0aff44f
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "remove" ]; then
+	rm /etc/ld.so.conf.d/fw4spl.conf
+fi
+
+#DEBHELPER#
+
+
+exit 0

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



More information about the debian-med-commit mailing list