[med-svn] [pyscanfcs] 05/08: d/patches/fix_module_location.patch: use debian specific path d/patches/series d/pyscanfcs.desktop d/pyscanfcs.dirs d/pyscanfcs.install

Alex Mestiashvili malex-guest at moszumanska.debian.org
Tue Jun 17 09:06:33 UTC 2014


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

malex-guest pushed a commit to branch master
in repository pyscanfcs.

commit b4c65af509e93c7ccec11647b234188090aa5a8a
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Mon Jun 16 13:33:08 2014 +0200

     d/patches/fix_module_location.patch: use debian specific path
     d/patches/series
     d/pyscanfcs.desktop
     d/pyscanfcs.dirs
     d/pyscanfcs.install
---
 debian/patches/fix_module_location.patch | 15 +++++++++++++++
 debian/patches/series                    |  1 +
 debian/pyscanfcs.desktop                 | 11 +++++++++++
 debian/pyscanfcs.dirs                    |  2 ++
 debian/pyscanfcs.install                 |  2 ++
 5 files changed, 31 insertions(+)

diff --git a/debian/patches/fix_module_location.patch b/debian/patches/fix_module_location.patch
new file mode 100644
index 0000000..a87a7ce
--- /dev/null
+++ b/debian/patches/fix_module_location.patch
@@ -0,0 +1,15 @@
+From: Alex Mestiasvhili <alex at biotec.tu-dresden.de>
+Subject: use debian specific path for the module
+--- pyscanfcs.orig/bin/pyscanfcs
++++ pyscanfcs/bin/pyscanfcs
+@@ -13,6 +13,10 @@
+ elif [ -f "../lib/python2.7/site-packages/pyscanfcs/PyScanFCS.py" ]
+ then
+     python ../lib/python2.7/site-packages/pyscanfcs/PyScanFCS.py
++# debian
++elif [ -f "/usr/lib/python2.7/dist-packages/pyscanfcs/PyScanFCS.py" ]
++then
++    python /usr/lib/python2.7/dist-packages/pyscanfcs/PyScanFCS.py
+ else
+     echo "Could not find PyScanFCS. Please notify the author."
+ fi
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..441e32c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_module_location.patch
diff --git a/debian/pyscanfcs.desktop b/debian/pyscanfcs.desktop
new file mode 100644
index 0000000..3f4c767
--- /dev/null
+++ b/debian/pyscanfcs.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=PyScanFCS
+GenericName=FCS Data Analysis
+TryExec=pyscanfcs
+Exec=pyscanfcs
+Terminal=false
+Icon=pyscanfcs
+Keywords=FCS;
+Categories=Science;DataVisualization;Physics;
diff --git a/debian/pyscanfcs.dirs b/debian/pyscanfcs.dirs
new file mode 100644
index 0000000..7b349f5
--- /dev/null
+++ b/debian/pyscanfcs.dirs
@@ -0,0 +1,2 @@
+usr/share/pixmaps
+usr/share/applications/
diff --git a/debian/pyscanfcs.install b/debian/pyscanfcs.install
new file mode 100644
index 0000000..6c9a013
--- /dev/null
+++ b/debian/pyscanfcs.install
@@ -0,0 +1,2 @@
+debian/pyscanfcs.desktop	usr/share/applications/
+misc/				usr/share/doc/pyscanfcs/examples

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



More information about the debian-med-commit mailing list