the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: siag
Version: 3.6.0
Revision: 1022
Architecture: i386
Source: mirror:custom:%n-%v.tar.gz
CustomMirror: <<
Primary: http://siag.nu/pub/siag/
Secondary: ftp://siag.nu/pub/siag/
Secondary: http://gd.tuwien.ac.at/office/siag/
Secondary: ftp://gd.tuwien.ac.at/office/siag/
<<
Source-MD5: bb7bb66dc9d3659fd11cdbac61ea6e13
License: GPL
TarFilesRename: xfiler/Exec.c:xfiler/Eexec.c
BuildDepends: libpng3, readline (>= 4.3-1028), xaw3d (>= 1.5-5), ncurses-dev (>= 5.3-20031018-1501), mowitz-dev (>= 0.3.0-11), x11-dev
Depends: x11, gnuplot, ghostscript, xaw3d-shlibs (>= 1.5-5), mowitz (>= 0.3.0-11), launch | dillo | links | lynx
Patch: %n.patch
PatchScript: <<
perl -pi -e 's/Exec.c/Eexec.c/' xfiler/Makefile.in
perl -pi -e 's/Exec.\$\(OBJEXT\)/Eexec.\$\(OBJEXT\)/' xfiler/Makefile.in
perl -pi -e 's/lerr/lerrr/' siod/*.h siod/*.c
perl -pi -e 's/err\(/errr\(/' siod/*.h siod/*.c
perl -pi -e 's/err\(\"/errr\(\"/' */*.c */*.h
find . -name Makefile.in | xargs perl -pi -e 's/\/doc\//\/share\/doc\//'
perl -pi -e 's/__WIN32__/__APPLE__/g' cole/cole.h
perl -pi -e 's/extern AppData app_data;//g' xegon/xegon.h
<<
ConfigureParams: --with-xawm=Xaw3d --mandir=%p/share/man --with-docdir='$(prefix)/share/doc/siag'
CompileScript: <<
./configure %c
( cd common ; make RANLIB="ranlib -c" )
make
<<
InstallScript: make install DESTDIR=%d
DocFiles: COPYING AUTHORS ChangeLog NLS README
Description: Ulric Eriksson's Office Suite
DescDetail: <<
Siag Office consists of
the word processor Pathetic Writer,
the spreadsheet Siag and
the animation program Egon Animator.
Also included are
the file manager Xfiler,
the text editor Xedplus and
the Postscript viewer Gvu.
<<
DescPort:<<
A file that doesn't extract correctly on a case-insensitive file system
is renamed.
libcommon.a needs "ranlib -c".
Renamed multiply defined symbol "err".
Hardcoded docdir has to be changed.
For Panther, remove a redefinition of size_t in cole.h.
Fixed a memory allocation bug in egon (-> bus error).
<<
DescPackaging: <<
The help system needs an external WEB browser.
When the launch package is installed, it will use
"launch -l" to run the users's default browser.
Otherwise it uses an X11-based WEB browser.
It looks for dillo, links, lynx (in this order).
This automatic choice can be overridden by setting
the SIAGHELP environment variable.
<<
Maintainer: Martin Costabel
Homepage: http://siag.nu/
--- siag-3.5.1.ori/common/common.scm Mon Jan 7 16:10:24 2002
+++ siag-3.5.1/common/common.scm Sat Apr 13 23:40:14 2002
@@ -177,8 +177,8 @@
(define (do-help helpfile)
; (putenv (string-append "SIAGHELP=" help-command))
-; (spawn (string-append "siaghelp file:" docdir "/" helpfile)))
- (spawn (string-append "siagrun help file:" docdir "/" helpfile)))
+; (spawn (string-append "siaghelp " docdir "/" helpfile)))
+ (spawn (string-append "siagrun help " docdir "/" helpfile)))
(define (do-link url)
; (putenv (string-append "SIAGHELP=" help-command))
--- siag-3.5.1.ori/common/docs/siaghelp Wed May 23 19:14:14 2001
+++ siag-3.5.1/common/docs/siaghelp Sat Apr 13 23:37:19 2002
@@ -6,6 +6,8 @@
# Put this script in a directory in your PATH. Then do:
# SIAGHELP=siaghelp; export SIAGHELP
+# Modified to look for dillo, links, and lynx.
+
if [ "$SIAGHELP" = "siaghelp" ]; then
unset SIAGHELP
fi
@@ -13,8 +15,12 @@
WS=`which "$SIAGHELP" 2> /dev/null`
if [ "$SIAGHELP" = "" -o ! -x "$WS" ]; then
- if which netscape > /dev/null; then
- SIAGHELP=netscape
+ if which launch > /dev/null; then
+ SIAGHELP="launch -l"
+ elif which dillo > /dev/null; then
+ SIAGHELP=dillo
+ elif which links > /dev/null; then
+ SIAGHELP="xterm -e links"
elif which lynx > /dev/null; then
SIAGHELP="xterm -e lynx"
else
diff -ur siag-3.5.7.ori/stocks/currency.c siag-3.5.7/stocks/currency.c
--- siag-3.5.7.ori/stocks/currency.c Mon Feb 24 02:32:35 2003
+++ siag-3.5.7/stocks/currency.c Sat Mar 8 22:07:34 2003
@@ -23,7 +23,9 @@
#include
#include
+#ifndef __APPLE__
#include
+#endif
#include
#include "stocks.h"
diff -ur siag-3.5.7.ori/stocks/http.c siag-3.5.7/stocks/http.c
--- siag-3.5.7.ori/stocks/http.c Fri Feb 28 22:55:03 2003
+++ siag-3.5.7/stocks/http.c Sat Mar 8 21:59:28 2003
@@ -20,13 +20,13 @@
#define __HTTP_C__
+#include
#include
#include
#include
#include
#include
-#include
#include
#include
#include
diff -ur siag-3.5.7.ori/stocks/lists.c siag-3.5.7/stocks/lists.c
--- siag-3.5.7.ori/stocks/lists.c Mon Feb 24 02:32:35 2003
+++ siag-3.5.7/stocks/lists.c Sat Mar 8 22:05:11 2003
@@ -20,7 +20,11 @@
#define __LISTS_C__
+#ifdef __APPLE__
+#include
+#else
#include
+#endif
#include
#include
diff -ur siag-3.5.7.ori/stocks/stocks.c siag-3.5.7/stocks/stocks.c
--- siag-3.5.7.ori/stocks/stocks.c Fri Feb 28 22:55:11 2003
+++ siag-3.5.7/stocks/stocks.c Sat Mar 8 22:06:24 2003
@@ -22,7 +22,9 @@
#include
#include
+#ifndef __APPLE__
#include
+#endif
#include
#ifdef __WINDOWS__
--- siag-3.6.0.ori/xegon/window.c Tue Nov 4 10:50:39 2003
+++ siag-3.6.0/xegon/window.c Wed Nov 5 22:56:56 2003
@@ -1376,7 +1376,7 @@
fallback_resources, /* for missing app-defaults file */
mwApplicationShellWidgetClass,
NULL); /* terminate varargs list */
-
+ drop_types = MwMalloc(3 * sizeof *drop_types);
drop_types[0] = XInternAtom(XtDisplay(topLevel), "text/plain", False);
drop_types[1] = XInternAtom(XtDisplay(topLevel), "text/uri-list", False);
drop_types[2] = None;
--- siag-3.6.0/xed/special.c~ 2005-01-17 00:58:36.000000000 +0100
+++ siag-3.6.0/xed/special.c 2005-01-17 01:18:27.000000000 +0100
@@ -37,10 +37,10 @@
* Germany , 6.3.91 *
*******************************************************************/
+#include "xedit.h"
#include
#include
#include
-#include "xedit.h"
#include
#include "../common/common.h"
#include "../xcommon/xcommon.h"
--- siag-3.6.0/xed/commands.c~ 2005-01-17 00:58:36.000000000 +0100
+++ siag-3.6.0/xed/commands.c 2005-01-17 01:19:10.000000000 +0100
@@ -37,10 +37,10 @@
* Germany , 4.3.95 *
*******************************************************************/
+#include "xedit.h"
#include
#include
#include
-#include "xedit.h"
#include
/* Used global widgets */
Package: siag
Version: 3.6.1
Revision: 1001
Source: mirror:custom:%n-%v.tar.gz
CustomMirror: <<
Primary: http://siag.nu/pub/siag/
Secondary: ftp://siag.nu/pub/siag/
Secondary: http://gd.tuwien.ac.at/office/siag/
Secondary: ftp://gd.tuwien.ac.at/office/siag/
<<
Source-MD5: 3d00dda22209327bb907ba78850c797f
License: GPL
TarFilesRename: xfiler/Exec.c:xfiler/Eexec.c
BuildDepends: libpng3, xaw3d (>= 1.5-5), libncurses5 (>= 5.4-20041023-1006), mowitz-dev (>= 0.3.0-11), x11-dev
Depends: x11, gnuplot (>= 4.0.0-1002), ghostscript, xaw3d-shlibs (>= 1.5-5), mowitz (>= 0.3.0-11), launch | dillo | links | lynx, antiword, libncurses5-shlibs
Patch: %n.patch
PatchScript: <<
perl -pi.bak -e 's/Exec\./Eexec\./g' xfiler/Makefile.in
perl -pi.bak -e 's/lerr/lerrr/g' siod/*.h siod/*.c
perl -pi.bak -e 's/err\(/errr\(/g' siod/*.h siod/*.c
perl -pi.bak -e 's/err\(\"/errr\(\"/g' */*.c */*.h
perl -pi.bak -e 's/__WIN32__/__APPLE__/g' cole/cole.h
<<
ConfigureParams: --with-xawm=Xaw3d --mandir=%p/share/man --with-docdir='$(prefix)/share/doc/siag'
CompileScript: <<
./configure %c
( cd common ; make RANLIB="ranlib -c" )
make
<<
InstallScript: make install DESTDIR=%d
DocFiles: COPYING AUTHORS ChangeLog NLS README
Description: Ulric Eriksson's Office Suite
DescDetail: <<
Siag Office consists of
the word processor Pathetic Writer,
the spreadsheet Siag and
the animation program Egon Animator.
Also included are
the file manager Xfiler,
the text editor Xedplus and
the Postscript viewer Gvu.
<<
DescPort:<<
A file that doesn't extract correctly on a case-insensitive file system
is renamed.
libcommon.a needs "ranlib -c".
Renamed multiply defined symbol "err".
Hardcoded docdir has to be changed.
For Panther, remove a redefinition of size_t in cole.h.
Fixed a memory allocation bug in egon (-> bus error).
<<
DescPackaging: <<
The help system needs an external WEB browser.
When the launch package is installed, it will use
"launch -l" to run the users's default browser.
Otherwise it uses an X11-based WEB browser.
It looks for dillo, links, lynx (in this order).
This automatic choice can be overridden by setting
the SIAGHELP environment variable.
<<
Maintainer: Martin Costabel
Homepage: http://siag.nu/
--- siag-3.5.1.ori/common/common.scm Mon Jan 7 16:10:24 2002
+++ siag-3.5.1/common/common.scm Sat Apr 13 23:40:14 2002
@@ -177,8 +177,8 @@
(define (do-help helpfile)
; (putenv (string-append "SIAGHELP=" help-command))
-; (spawn (string-append "siaghelp file:" docdir "/" helpfile)))
- (spawn (string-append "siagrun help file:" docdir "/" helpfile)))
+; (spawn (string-append "siaghelp " docdir "/" helpfile)))
+ (spawn (string-append "siagrun help " docdir "/" helpfile)))
(define (do-link url)
; (putenv (string-append "SIAGHELP=" help-command))
--- siag-3.5.1.ori/common/docs/siaghelp Wed May 23 19:14:14 2001
+++ siag-3.5.1/common/docs/siaghelp Sat Apr 13 23:37:19 2002
@@ -6,6 +6,8 @@
# Put this script in a directory in your PATH. Then do:
# SIAGHELP=siaghelp; export SIAGHELP
+# Modified to look for dillo, links, and lynx.
+
if [ "$SIAGHELP" = "siaghelp" ]; then
unset SIAGHELP
fi
@@ -13,8 +15,12 @@
WS=`which "$SIAGHELP" 2> /dev/null`
if [ "$SIAGHELP" = "" -o ! -x "$WS" ]; then
- if which netscape > /dev/null; then
- SIAGHELP=netscape
+ if which launch > /dev/null; then
+ SIAGHELP="launch -l"
+ elif which dillo > /dev/null; then
+ SIAGHELP=dillo
+ elif which links > /dev/null; then
+ SIAGHELP="xterm -e links"
elif which lynx > /dev/null; then
SIAGHELP="xterm -e lynx"
else
diff -ur siag-3.5.7.ori/stocks/currency.c siag-3.5.7/stocks/currency.c
--- siag-3.5.7.ori/stocks/currency.c Mon Feb 24 02:32:35 2003
+++ siag-3.5.7/stocks/currency.c Sat Mar 8 22:07:34 2003
@@ -23,7 +23,9 @@
#include
#include
+#ifndef __APPLE__
#include
+#endif
#include
#include "stocks.h"
diff -ur siag-3.5.7.ori/stocks/http.c siag-3.5.7/stocks/http.c
--- siag-3.5.7.ori/stocks/http.c Fri Feb 28 22:55:03 2003
+++ siag-3.5.7/stocks/http.c Sat Mar 8 21:59:28 2003
@@ -20,13 +20,13 @@
#define __HTTP_C__
+#include
#include
#include
#include
#include
#include
-#include
#include
#include
#include
diff -ur siag-3.5.7.ori/stocks/lists.c siag-3.5.7/stocks/lists.c
--- siag-3.5.7.ori/stocks/lists.c Mon Feb 24 02:32:35 2003
+++ siag-3.5.7/stocks/lists.c Sat Mar 8 22:05:11 2003
@@ -20,7 +20,11 @@
#define __LISTS_C__
+#ifdef __APPLE__
+#include
+#else
#include
+#endif
#include
#include
diff -ur siag-3.5.7.ori/stocks/stocks.c siag-3.5.7/stocks/stocks.c
--- siag-3.5.7.ori/stocks/stocks.c Fri Feb 28 22:55:11 2003
+++ siag-3.5.7/stocks/stocks.c Sat Mar 8 22:06:24 2003
@@ -22,7 +22,9 @@
#include
#include
+#ifndef __APPLE__
#include
+#endif
#include
#ifdef __WINDOWS__
--- siag-3.6.0.ori/xegon/window.c Tue Nov 4 10:50:39 2003
+++ siag-3.6.0/xegon/window.c Wed Nov 5 22:56:56 2003
@@ -1376,7 +1376,7 @@
fallback_resources, /* for missing app-defaults file */
mwApplicationShellWidgetClass,
NULL); /* terminate varargs list */
-
+ drop_types = MwMalloc(3 * sizeof *drop_types);
drop_types[0] = XInternAtom(XtDisplay(topLevel), "text/plain", False);
drop_types[1] = XInternAtom(XtDisplay(topLevel), "text/uri-list", False);
drop_types[2] = None;
--- siag-3.6.0/xed/special.c~ 2005-01-17 00:58:36.000000000 +0100
+++ siag-3.6.0/xed/special.c 2005-01-17 01:18:27.000000000 +0100
@@ -37,10 +37,10 @@
* Germany , 6.3.91 *
*******************************************************************/
+#include "xedit.h"
#include
#include
#include
-#include "xedit.h"
#include
#include "../common/common.h"
#include "../xcommon/xcommon.h"
--- siag-3.6.0/xed/commands.c~ 2005-01-17 00:58:36.000000000 +0100
+++ siag-3.6.0/xed/commands.c 2005-01-17 01:19:10.000000000 +0100
@@ -37,10 +37,10 @@
* Germany , 4.3.95 *
*******************************************************************/
+#include "xedit.h"
#include
#include
#include
-#include "xedit.h"
#include
/* Used global widgets */