summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-astronomy/ds9/files')
-rw-r--r--sci-astronomy/ds9/files/ds9-5.4-fitsy.patch13
-rw-r--r--sci-astronomy/ds9/files/ds9-5.4-main.patch226
-rw-r--r--sci-astronomy/ds9/files/ds9-5.4-makefile.patch26
-rw-r--r--sci-astronomy/ds9/files/ds9-5.4-src.patch51
4 files changed, 0 insertions, 316 deletions
diff --git a/sci-astronomy/ds9/files/ds9-5.4-fitsy.patch b/sci-astronomy/ds9/files/ds9-5.4-fitsy.patch
deleted file mode 100644
index 4440aa86536e..000000000000
--- a/sci-astronomy/ds9/files/ds9-5.4-fitsy.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- saods9.orig/saotk/fitsy++/Makefile 2007-12-28 22:07:11.000000000 +0000
-+++ saods9/saotk/fitsy++/Makefile 2008-11-03 23:06:28.000000000 +0000
-@@ -3,8 +3,8 @@
-
- CXXFLAGS = $(CXXOPT) -I. -I.. -I../vector -I../util \
- -I../../include -I$(X11INCLUDE) \
-- -I../../$(FUNTOOLSDIR)/filter -I../../$(FUNTOOLSDIR)/fitsy \
-- -I../../$(FUNTOOLSDIR)/util
-+ -I/usr/include/funtools/filter -I/usr/include/funtools/fitsy \
-+ -I/usr/include/funtools/util -I/usr/include/wcs
-
- SS = \
- alloc.C \
diff --git a/sci-astronomy/ds9/files/ds9-5.4-main.patch b/sci-astronomy/ds9/files/ds9-5.4-main.patch
deleted file mode 100644
index 9b016a43f3cf..000000000000
--- a/sci-astronomy/ds9/files/ds9-5.4-main.patch
+++ /dev/null
@@ -1,226 +0,0 @@
-diff -Nur saods9.orig/ds9/ds9.C saods9/ds9/ds9.C
---- saods9.orig/ds9/ds9.C 2008-10-08 20:36:37.000000000 +0100
-+++ saods9/ds9/ds9.C 2008-11-05 11:03:36.000000000 +0000
-@@ -11,8 +11,8 @@
-
- void TclSetStartupScriptFileName(const char*);
-
-- int Zvfs_Init(Tcl_Interp*);
-- int Zvfs_Mount(Tcl_Interp*, char*, char *);
-+/* int Zvfs_Init(Tcl_Interp*);
-+ int Zvfs_Mount(Tcl_Interp*, char*, char *);*/
-
- int Blt_Init(Tcl_Interp*);
- int Tktable_Init(Tcl_Interp*);
-@@ -64,15 +64,15 @@
- appname = dupstr(argv[0]);
-
- // set default encoding dir
-- Tcl_SetDefaultEncodingDir("./zvfsmntpt/tcl8.4");
-+ //Tcl_SetDefaultEncodingDir("./zvfsmntpt/tcl8.4");
-
- // so that tcl and tk know where to find their libs
- // we do it here before InitLibraryPath is called
-- putenv((char*)"TCL_LIBRARY=./zvfsmntpt/tcl8.4");
-- putenv((char*)"TK_LIBRARY=./zvfsmntpt/tk8.4");
-+ //putenv((char*)"TCL_LIBRARY=./zvfsmntpt/tcl8.4");
-+ //putenv((char*)"TK_LIBRARY=./zvfsmntpt/tk8.4");
-
- // invoke startup script
-- TclSetStartupScriptFileName("./zvfsmntpt/src/ds9.tcl");
-+ TclSetStartupScriptFileName("/usr/share/ds9/src/ds9.tcl");
- }
-
- Tcl_Interp *global_interp;
-@@ -91,13 +91,13 @@
- // We have to initialize the virtual filesystem before calling
- // Tcl_Init(). Otherwise, Tcl_Init() will not be able to find
- // its startup script files.
-- if (Zvfs_Init(interp) == TCL_ERROR)
-+/* if (Zvfs_Init(interp) == TCL_ERROR)
- return TCL_ERROR;
- Tcl_StaticPackage (interp, "zvfs", Zvfs_Init,
- (Tcl_PackageInitProc*)NULL);
--
-+*/
- // find current working directory, and set as mount point
-- {
-+/* {
- Tcl_DString pwd;
- Tcl_DStringInit(&pwd);
- Tcl_GetCwd(interp, &pwd);
-@@ -113,7 +113,7 @@
- #endif
- Tcl_DStringFree(&pwd);
- }
--
-+*/
- // Initialize Tcl and Tk
- if (Tcl_Init(interp))
- return TCL_ERROR;
-@@ -121,7 +121,7 @@
- // Tk
- if (Tk_Init(interp))
- return TCL_ERROR;
-- Tcl_StaticPackage(interp,"Tk", Tk_Init, Tk_SafeInit);
-+ //Tcl_StaticPackage(interp,"Tk", Tk_Init, Tk_SafeInit);
-
- {
- Tcl_DString pwd;
-@@ -131,7 +131,7 @@
- }
-
- // Blt
-- if (Blt_Init(interp) == TCL_ERROR)
-+ /*if (Blt_Init(interp) == TCL_ERROR)
- return TCL_ERROR;
- Tcl_StaticPackage (interp, "BLT", Blt_Init,
- (Tcl_PackageInitProc*)NULL);
-@@ -140,7 +140,7 @@
- if (Tktable_Init(interp) == TCL_ERROR)
- return TCL_ERROR;
- Tcl_StaticPackage (interp, "Tktable", Tktable_Init,
-- (Tcl_PackageInitProc*)NULL);
-+ (Tcl_PackageInitProc*)NULL); */
-
- // Checkdns
- if (Checkdns_Init(interp) == TCL_ERROR)
-@@ -161,10 +161,10 @@
- (Tcl_PackageInitProc*)NULL);
-
- // Tclxpa
-- if (Tclxpa_Init(interp) == TCL_ERROR)
-+/* if (Tclxpa_Init(interp) == TCL_ERROR)
- return TCL_ERROR;
- Tcl_StaticPackage (interp, "Tclxpa", Tclxpa_Init,
-- (Tcl_PackageInitProc*)NULL);
-+ (Tcl_PackageInitProc*)NULL);*/
-
- // IIS
- if (Iis_Init(interp) == TCL_ERROR)
-@@ -179,7 +179,7 @@
- (Tcl_PackageInitProc*)NULL);
-
- // Tkimg
-- if (Tkimg_Init(interp) == TCL_ERROR)
-+/* if (Tkimg_Init(interp) == TCL_ERROR)
- return TCL_ERROR;
- Tcl_StaticPackage (interp, "img",
- Tkimg_Init,(Tcl_PackageInitProc*)NULL);
-@@ -254,7 +254,7 @@
- if (Tkimgwindow_Init(interp) == TCL_ERROR)
- return TCL_ERROR;
- Tcl_StaticPackage (interp, "window", Tkimgwindow_Init,
-- (Tcl_PackageInitProc*)NULL);
-+ (Tcl_PackageInitProc*)NULL);*/
-
- #ifdef _MACOSX
- if (Tkmacosx_Init(interp) == TCL_ERROR)
-@@ -271,11 +271,11 @@
- #endif
-
- // Variables
-- Tcl_SetVar(interp, "auto_path", "./zvfsmntpt/tcl8.4 ./zvfsmntpt/tk8.4 ./zvfsmntpt/blt2.4 ./zvfsmntpt/tcllib1.6 ./zvfsmntpt/src", TCL_GLOBAL_ONLY);
-+/* Tcl_SetVar(interp, "auto_path", "./zvfsmntpt/tcl8.4 ./zvfsmntpt/tk8.4 ./zvfsmntpt/blt2.4 ./zvfsmntpt/tcllib1.6 ./zvfsmntpt/src", TCL_GLOBAL_ONLY);
- Tcl_SetVar(interp, "tcl_libPath", "./zvfsmntpt/tcl8.4", TCL_GLOBAL_ONLY);
- Tcl_SetVar(interp, "blt_library", "./zvfsmntpt/blt2.4", TCL_GLOBAL_ONLY);
- Tcl_SetVar(interp, "blt_libPath", "./zvfsmntpt/blt2.4", TCL_GLOBAL_ONLY);
-- Tcl_SetVar2(interp, "env", "TK_TABLE_LIBRARY", "", TCL_GLOBAL_ONLY);
-+ Tcl_SetVar2(interp, "env", "TK_TABLE_LIBRARY", "", TCL_GLOBAL_ONLY);*/
-
- //Tcl_SetVar(interp, "tcl_rcFileName", "~/.wishrc", TCL_GLOBAL_ONLY);
-
-diff -Nur saods9.orig/ds9/Makefile saods9/ds9/Makefile
---- saods9.orig/ds9/Makefile 2008-10-08 20:36:37.000000000 +0100
-+++ saods9/ds9/Makefile 2008-11-05 11:13:15.000000000 +0000
-@@ -4,12 +4,7 @@
- #--------------------------defines
-
- ZDIR = zipdir/zvfsmntpt
--FILES = $(ZDIR)/$(TCLVER) \
-- $(ZDIR)/$(TKVER) \
-- $(ZDIR)/$(BLTVER) \
-- $(ZDIR)/$(TCLLIBVER) \
-- $(ZDIR)/$(TKCONVER) \
-- $(ZDIR)/src \
-+FILES = $(ZDIR)/src \
- $(ZDIR)/msgs \
- $(ZDIR)/doc \
- $(ZDIR)/template
-@@ -22,37 +17,13 @@
- ../lib/libsaotk.a \
- ../lib/libtkhtml.a \
- ../lib/libtkmpeg.a \
-- ../lib/$(TKIMGVER)/libtkimgwindow1.3.a \
-- ../lib/$(TKIMGVER)/libtkimgjpeg1.3.a \
-- ../lib/$(TKIMGVER)/libjpegtcl1.0.a \
-- ../lib/$(TKIMGVER)/libtkimgtiff1.3.a \
-- ../lib/$(TKIMGVER)/libtifftcl3.6.1.a \
-- ../lib/$(TKIMGVER)/libtkimgpng1.3.a \
-- ../lib/$(TKIMGVER)/libpngtcl1.2.6.a \
-- ../lib/$(TKIMGVER)/libtkimgppm1.3.a \
-- ../lib/$(TKIMGVER)/libtkimggif1.3.a \
-- ../lib/$(TKIMGVER)/libtkimgbmp1.3.a \
-- ../lib/$(TKIMGVER)/libtkimgxbm1.3.a \
-- ../lib/$(TKIMGVER)/libzlibtcl1.2.1.a \
-- ../lib/$(TKIMGVER)/libtkimg1.3.a \
-- ../lib/$(TKTABLEVER)/libTktable2.9.a \
-- ../lib/libfuntools.a \
- ../lib/librice.a \
- ../lib/libhcomp.a \
- ../lib/libplio.a \
-- ../lib/libast.a \
- ../lib/libsaotk.a \
-- ../lib/libwcs.a \
- ../lib/libsla.a \
-- ../lib/libzvfs.a \
-- ../lib/libzip.a \
-- ../lib/libz.a \
-- ../lib/libxpa.a \
- ../lib/libiis.a \
-- ../lib/libcheckdns.a \
-- ../lib/libBLT24.a \
-- ../lib/libtk8.4.a \
-- ../lib/libtcl8.4.a
-+ ../lib/libcheckdns.a
- endif
-
- ifeq ($(OS),windows)
-@@ -167,14 +138,9 @@
- ds9.zip : $(FILES)
- cd zipdir; zip -r9 ../ds9.zip *
- else
--ds9 : null.zip ds9Base $(FILES)
-+ds9 : ds9Base $(FILES)
- $(RM) $@
-- cp ds9Base ds9.zip
-- $(STRIP) ds9.zip
-- cat null.zip >> ds9.zip
-- cd zipdir; zip -rA9 ../ds9.zip *
-- mv ds9.zip ds9
-- cp ds9 ../bin/.
-+ cp ds9Base ../bin/ds9
-
- debug : null.zip ds9Base $(FILES)
- $(RM) $@
-@@ -366,6 +332,20 @@
- rm -f libstdc++.a
- endif
-
-+# For gentoo
-+ifeq ($(ARCH),gentoo)
-+ds9Base : $(OBJS) $(LIBS)
-+ $(RM) $@
-+ $(CXX) ${OPTS} \
-+ -o $@ $(OBJS) $(LIBS)\
-+ -L$(X11LIB) -lX11 \
-+ -ldl -lpthread \
-+ -ltk -ltcl -lBLT24 \
-+ -lfuntools `pkg-config --libs wcstools` -lz \
-+ `ast_link`
-+endif
-+
-+
- #--------------------------linux
-
- ifneq (,$(findstring linux,$(ARCH)))
diff --git a/sci-astronomy/ds9/files/ds9-5.4-makefile.patch b/sci-astronomy/ds9/files/ds9-5.4-makefile.patch
deleted file mode 100644
index 25763cf75a01..000000000000
--- a/sci-astronomy/ds9/files/ds9-5.4-makefile.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- saods9.orig/Makefile 2008-10-08 20:53:46.000000000 +0100
-+++ saods9/Makefile 2008-11-04 10:30:52.000000000 +0000
-@@ -35,8 +35,7 @@
- --with-tk=$(root)/$(TKDIRDIR) $(XFLAGS)
- XPAFLAGS = --prefix $(root) --with-tcl=$(root)/$(TCLDIRDIR) \
- $(XFLAGS)
-- HTMLFLAGS = --prefix $(root) --with-tcl=$(root)/$(TCLDIR) \
-- --with-tk=$(root)/$(TKDIR) $(XFLAGS)
-+ HTMLFLAGS = --prefix $(root) $(XFLAGS)
- FUNTOOLSFLAGS = --prefix $(root) --with-zlib=../../lib/libz.a \
- --with-wcslib=../lib/libwcs.a --enable-mainlib
- endif
-@@ -199,11 +198,8 @@
- all : build
-
- build : dirs \
-- tcl tk \
-- tktable tcllib tkcon blt \
-- zlib \
-- tkimg tkmpeg html xpa iis checkdns \
-- funtools sla ast wcssubs rice hcompress plio $(OPTDIR) saotk zip zvfs ds9
-+ tkmpeg html iis checkdns \
-+ sla rice hcompress plio $(OPTDIR) saotk ds9
-
- doc : FORCE
- @echo "Making Documentation..."
diff --git a/sci-astronomy/ds9/files/ds9-5.4-src.patch b/sci-astronomy/ds9/files/ds9-5.4-src.patch
deleted file mode 100644
index fea3edd1fd3d..000000000000
--- a/sci-astronomy/ds9/files/ds9-5.4-src.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -Nur saods9.orig/src/ds9.tcl saods9/src/ds9.tcl
---- saods9/src/ds9.tcl 2008-04-09 17:35:48.000000000 +0200
-+++ saods9.new/src/ds9.tcl 2008-11-03 16:13:55.000000000 +0200
-@@ -68,24 +68,34 @@
- # initialize, depending on how we are running: choices are zvfs, or wish
- # for now, its not possible to change the current work directory since
- # all of the paths are relative
--if {![catch {package present zvfs}]} {
-- set ds9(root) "zvfsmntpt"
-+if {![catch {package present checkdns}]} {
-+ set ds9(root) "/usr/share/ds9"
-
-- source $ds9(root)/tcl8.4/msgcat1.3/msgcat.tcl
-- source $ds9(root)/tcl8.4/http2.5/http.tcl
-+ package require msgcat
-+ package require http
-
-- source $ds9(root)/tk8.4/tearoff.tcl
-+
-
-- source $ds9(root)/tcllib1.10/base64/base64.tcl
-- source $ds9(root)/tcllib1.10/log/log.tcl
-- source $ds9(root)/tcllib1.10/ftp/ftp.tcl
-- source $ds9(root)/tcllib1.10/textutil/repeat.tcl
-- source $ds9(root)/tcllib1.10/textutil/tabify.tcl
-+ package require base64
-+ package require log
-+ package require ftp
-+ package require textutil::repeat
-+ package require textutil::tabify
-
-- source $ds9(root)/tkcon2.5/tkcon.tcl
-+ package require tkcon
-
-- source $ds9(root)/blt2.4/graph.tcl
-- source $ds9(root)/blt2.4/tabset.tcl
-+ package require BLT
-+ package require Tktable
-+ package require tclxpa
-+ package require img::base
-+ package require img::jpeg
-+ package require img::tiff
-+ package require img::png
-+ package require img::gif
-+ package require img::ppm
-+ package require img::bmp
-+ package require img::xbm
-+ package require img::window
-
- source $ds9(root)/src/source.tcl
-