[SCM] General FITS file browser/editor/plotter with a gui branch, debian, updated. 563a5518d5056b4cad06b834fc52e01f75e5f5d3

Ole Streicher debian at liska.ath.cx
Fri Jul 27 08:53:10 UTC 2012


The following commit has been merged in the debian branch:
commit 563a5518d5056b4cad06b834fc52e01f75e5f5d3
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Fri Jul 27 10:52:59 2012 +0200

    Instead of hardcoding the shared library names, require them as packages

diff --git a/debian/patches/fv_require.patch b/debian/patches/fv_require.patch
new file mode 100644
index 0000000..6a5db99
--- /dev/null
+++ b/debian/patches/fv_require.patch
@@ -0,0 +1,18 @@
+Author: Ole Streicher <debian at liska.ath.cx>
+Description: Instead of hardcoding the shared library names, "require" them
+ as packages.
+--- a/ftools/guis/fv/class/fvApp.tcl
++++ b/ftools/guis/fv/class/fvApp.tcl
+@@ -199,10 +199,8 @@
+       }
+    } else {
+       if ![ info exist env(FV_ISEXEC) ] {
+-          set env(POW_LIBRARY) "$FITSVIEWER_LIBRARY/../pow"
+-          set  env(POW_HELPDIR) $env(POW_LIBRARY)
+-          load [glob $FITSVIEWER_LIBRARY/../libfitstcl.{s\[ol\]*,dylib}]
+-          load [glob $FITSVIEWER_LIBRARY/../libpow.{s\[ol\]*,dylib}]
++          package require fitsTcl
++          package require POW
+       } else {
+ 	  if ![info exist env(FV_HELPDIR)] {
+ 	     set fullname [info nameofexecutable]
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5e3eb81
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fv_require.patch

-- 
General FITS file browser/editor/plotter with a gui



More information about the debian-science-commits mailing list