[20747] trunk/dports/x11

source_changes at macosforge.org source_changes at macosforge.org
Sat Nov 25 11:47:05 PST 2006


Revision: 20747
          http://trac.macosforge.org/projects/macports/changeset/20747
Author:   markd at macports.org
Date:     2006-11-25 11:47:04 -0800 (Sat, 25 Nov 2006)

Log Message:
-----------
Closes #10295.  New port.

Added Paths:
-----------
    trunk/dports/x11/sawfish/
    trunk/dports/x11/sawfish/Portfile
    trunk/dports/x11/sawfish/files/
    trunk/dports/x11/sawfish/files/patch-Makefile.in
    trunk/dports/x11/sawfish/files/patch-config.guess
    trunk/dports/x11/sawfish/files/patch-main.c

Added: trunk/dports/x11/sawfish/Portfile
===================================================================
--- trunk/dports/x11/sawfish/Portfile	                        (rev 0)
+++ trunk/dports/x11/sawfish/Portfile	2006-11-25 19:47:04 UTC (rev 20747)
@@ -0,0 +1,41 @@
+# $Id: $
+PortSystem	1.0
+name		sawfish
+version		1.3
+categories	x11
+maintainers	lloyd at hilaiel.com
+description	A lisp-based extensible window manager
+
+long_description Sawfish is an extensible window manager using a \
+                 lisp-based scripting language -- all window \
+                 decorations are configurable and all user-interface \
+                 policy is controlled through the extension \
+                 language. This is no layer on top of twm, but a \
+                 wholly new architecture. 
+
+homepage	http://sawmill.sourceforge.net/
+master_sites	sourceforge:sawmill
+checksums	md5 9e5ce5e76c60acecdb1889c1f173295a
+
+patchfiles	patch-config.guess patch-main.c patch-Makefile.in
+
+depends_build	port:librep \
+		port:rep-gtk
+
+configure.args --prefix=${prefix} \
+               --infodir=${prefix}/share/info \
+               --mandir=${prefix}/share/man
+
+post-install {
+                ui_msg "\n
+To use the sawfish window manager, you must set it to run at X11 startup in
+/etc/X11/xinit/xinitrc or ~/.xinitrc.  To change the window manager from the
+default quartz window manager to sawfish, change:
+
+exec quartz-wm
+
+to
+
+exec sawfish
+\n"
+}

Added: trunk/dports/x11/sawfish/files/patch-Makefile.in
===================================================================
--- trunk/dports/x11/sawfish/files/patch-Makefile.in	                        (rev 0)
+++ trunk/dports/x11/sawfish/files/patch-Makefile.in	2006-11-25 19:47:04 UTC (rev 20747)
@@ -0,0 +1,11 @@
+--- ../sawfish-1.3.orig/Makefile.in	2002-06-28 22:33:57.000000000 -0600
++++ Makefile.in	2006-08-07 10:57:03.000000000 -0600
+@@ -36,7 +36,7 @@
+ 
+ # this depends on config.status so it's rebuilt if configure is re-run
+ build.h : build-info config.status
+-	$(SHELL) $< $(host_type) $(version)$(subversion) \
++	$(SHELL) $< '$(host_type)' '$(version)$(subversion)' \
+ 	  '$(sawfishdir)' '$(lispdir)' '$(sawfishexecdir)' '$(localedir)'
+ 
+ install : all installdirs

Added: trunk/dports/x11/sawfish/files/patch-config.guess
===================================================================
--- trunk/dports/x11/sawfish/files/patch-config.guess	                        (rev 0)
+++ trunk/dports/x11/sawfish/files/patch-config.guess	2006-11-25 19:47:04 UTC (rev 20747)
@@ -0,0 +1,16 @@
+--- ../sawfish-1.3.orig/etc/config.guess	2000-03-11 05:02:07.000000000 -0700
++++ etc/config.guess	2006-08-07 09:43:39.000000000 -0600
+@@ -974,6 +974,13 @@
+     *:Rhapsody:*:*)
+ 	echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
+ 	exit 0 ;;
++    *:Darwin:*:*)
++       case `uname -p` in
++           *86) UNAME_PROCESSOR=i686 ;;
++           powerpc) UNAME_PROCESSOR=powerpc ;;
++       esac
++       echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
++       exit 0 ;;
+     *:QNX:*:4*)
+ 	echo i386-qnx-qnx${UNAME_VERSION}
+ 	exit 0 ;;

Added: trunk/dports/x11/sawfish/files/patch-main.c
===================================================================
--- trunk/dports/x11/sawfish/files/patch-main.c	                        (rev 0)
+++ trunk/dports/x11/sawfish/files/patch-main.c	2006-11-25 19:47:04 UTC (rev 20747)
@@ -0,0 +1,11 @@
+--- ../sawfish-1.3.orig/src/main.c	2006-08-07 09:49:10.000000000 -0600
++++ src/main.c	2006-08-07 09:49:22.000000000 -0600
+@@ -50,7 +50,7 @@
+ int exit_code = ec_no_exit;
+ 
+ /* Saved value of argv[0] */
+-static char *prog_name;
++char *prog_name;
+ 
+ DEFSYM(sawfish_directory, "sawfish-directory");
+ DEFSYM(sawfish_lisp_lib_directory, "sawfish-lisp-lib-directory");

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061125/952ad327/attachment.html


More information about the macports-changes mailing list