Update of /cvsroot/fink/dists/10.2/unstable/main/finkinfo/x11
In directory usw-pr-cvs1:/tmp/cvs-serv24642/x11

Added Files:
        mowitz-0.2.0-3.info mowitz-0.2.0-3.patch siag-3.5.2-2.info 
        siag-3.5.2-2.patch 
Log Message:
10.2 OK

--- NEW FILE: mowitz-0.2.0-3.info ---
Package: mowitz
Version: 0.2.0
Revision: 3
Source: mirror:custom:Mowitz-%v.tar.gz
CustomMirror: <<
 Primary: http://siag.nu/pub/mowitz/
 Secondary: ftp://siag.nu/pub/mowitz/
<<
SourceDirectory: Mowitz-%v
License: OSI-Approved
GCC: 3.1
Depends: x11, xaw3d
Patch: %f.patch
ConfigureParams: --with-xawm=Xaw3d
SetLDFLAGS: -L/usr/X11R6/lib -lX11 -lXt -lXpm -lXext -lXmu -lXaw3d
InstallScript: make install DESTDIR=%d
Docfiles: AUTHORS ChangeLog COPYING README
Description: Library of widgets for X applications
DescDetail: <<
 This is the Mowitz ("More widgets") library. 
 The project's goal is to create a library of widgets for 
 X applications to use. 
 The widgets have been snarfed from various sources and are 
 all open source (GPL or MIT licenses). 
 Mowitz is used by the Siag office suite, for example.
<<
DescPort:<<
 Libraries compiled with -twolevel_namespace
<<
Maintainer: Martin Costabel <[EMAIL PROTECTED]>
Homepage: http://siag.nu/mowitz

--- NEW FILE: mowitz-0.2.0-3.patch ---
diff -ur Mowitz-0.2.0.ori/configure Mowitz-0.2.0/configure
--- Mowitz-0.2.0.ori/configure  Mon Feb 11 01:11:00 2002
+++ Mowitz-0.2.0/configure      Sat Mar 30 11:12:49 2002
@@ -4682,7 +4682,6 @@
       allow_undefined_flag='-undefined suppress'
       ;;
     *) # Darwin 1.3 on
-      allow_undefined_flag='-flat_namespace -undefined suppress'
       ;;
     esac
     # FIXME: Relying on posixy $() will cause problems for
diff -ur Mowitz-0.2.0.ori/doc/Makefile.in Mowitz-0.2.0/doc/Makefile.in
--- Mowitz-0.2.0.ori/doc/Makefile.in    Mon Feb 11 01:11:24 2002
+++ Mowitz-0.2.0/doc/Makefile.in        Sat Mar 30 11:33:17 2002
@@ -85,7 +85,7 @@
 am__quote = @am__quote@
 install_sh = @install_sh@
 
-docdir = $(prefix)/doc/Mowitz
+docdir = $(prefix)/share/doc/mowitz
 
 doc_DATA = Filesel.html \
        ListTree.HISTORY ListTree.README ListTree.gif \

--- NEW FILE: siag-3.5.2-2.info ---
Package: siag
Version: 3.5.2
Revision: 2
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: 80169faebe7bca9fd531b53b6c5d3ed5
License: GPL
GCC: 3.1
BuildDepends: libpng, readline
Depends: x11, gnuplot, ghostscript, xaw3d, mowitz, dillo | links | lynx
Patch: %f.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\//'
<<
ConfigureParams: --with-xawm=Xaw3d --mandir=%p/share/man
SetCFLAGS: -no-cpp-precomp
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 provided by the patch file and renamed.
 libcommon.a needs "ranlib -c".
 Renamed multiply defined symbol "err".
 Hardcoded docdir has to be changed.
<<
DescPackaging: <<
 The help system needs an X11-based WEB browser. 
 It looks for dillo, links, lynx (in this order).
<<
Maintainer: Martin Costabel <[EMAIL PROTECTED]>
Homepage: http://siag.nu/

--- NEW FILE: siag-3.5.2-2.patch ---
--- 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,10 @@
 WS=`which "$SIAGHELP" 2> /dev/null`
 
 if [ "$SIAGHELP" = "" -o ! -x "$WS" ]; then
-       if which netscape > /dev/null; then
-               SIAGHELP=netscape
+       if 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
--- siag-3.4.10/xfiler/Eexec.c  Thu Jan  1 01:00:00 1970
+++ siag-3.4.10/xfiler/Eexec.c  Wed Sep  5 22:53:47 2001
@@ -0,0 +1,102 @@
+/*---------------------------------------------------------------------------
+  Module FmExec
+
+  (c) Simon Marlow 1990-92
+  (c) Albert Graef 1994
+
+  Procedures for executing files
+---------------------------------------------------------------------------*/
+#include <stdio.h>
+#include <memory.h>
+#include <string.h>
+#include <ctype.h>
+#include <unistd.h>
+
+#include <X11/Intrinsic.h>
+
+#include "Files.h"
+
+ExecMapRec *exec_map = NULL;
+int n_exec_maps = 0;
+
+/*---------------------------------------------------------------------------
+  PUBLIC FUNCTIONS
+---------------------------------------------------------------------------*/
+
+char **makeArgv(char *action)
+{
+  char **argv;
+  int i = 0;
+
+  argv = (char **) XtMalloc( (user.arg0flag ? 5 : 4) * sizeof(char *));
+
+  argv[i++] = XtNewString(user.shell);
+  argv[i++] = XtNewString("-c");
+  argv[i++] = XtNewString(action);
+  if (user.arg0flag)
+    argv[i++] = XtNewString(user.shell);
+  argv[i] = NULL;
+
+  return argv;
+}
+
+/*---------------------------------------------------------------------------*/
+
+void freeArgv(char **argv)
+{
+  int j;
+
+  for (j=0; argv[j]; j++)
+    XTFREE(argv[j]);
+  XTFREE(argv);
+}
+
+/*---------------------------------------------------------------------------*/
+
+static void echoarg(char *arg)
+{
+  char *s;
+  for (s = arg; *s; s++)
+    if (isspace(*s)) {
+      fprintf(stderr, " '%s'", arg);
+      return;
+    }
+  fprintf(stderr, " %s", arg);
+}
+
+/*---------------------------------------------------------------------------*/
+
+void executeApplication(char *path, char *directory, char **argv)
+{
+  int pid;
+
+  zzz();
+  XFlush(XtDisplay(toplevel));
+  if (chdir(directory)) {
+    wakeUp();
+    sysError("Can't chdir:");
+  } else if ((pid = fork()) == -1) {
+    wakeUp();
+    sysError("Can't fork:");
+  } else {
+    if (!pid) {
+      if (resources.echo_actions) {
+       char **arg;
+       fprintf(stderr, "[%s] %s", directory, path);
+       for (arg = argv+1; *arg; arg++)
+         echoarg(*arg);
+       fprintf(stderr, "\n");
+      }
+      /* Make sure that child processes don't lock up xfm with keyboard
+        input. This is certainly a kludge and if you know of any better
+        way to do this, please let me know. -ag */
+      freopen("/dev/null", "r", stdin);
+      execvp(path, argv);
+      perror("Exec failed");
+      exit(1);
+    } else {
+      sleep(1);
+      wakeUp();
+    }
+  }    
+}




-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to