Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=353bf69fef812c639cd8181470c33689f5bdf334

commit 353bf69fef812c639cd8181470c33689f5bdf334
Author: James Buren <[EMAIL PROTECTED]>
Date:   Sat Jul 19 14:40:02 2008 -0500

sawfish-1.3.3-3-i686
* added a pseudo session startup script
* added files for launching via kdm/gdm as well xdm if you use xwmconfig
* disabled esd support in favor of using an aplay wrapper

diff --git a/source/x11-extra/sawfish/FrugalBuild 
b/source/x11-extra/sawfish/FrugalBuild
index fb7803c..bb38128 100644
--- a/source/x11-extra/sawfish/FrugalBuild
+++ b/source/x11-extra/sawfish/FrugalBuild
@@ -3,17 +3,33 @@

pkgname=sawfish
pkgver=1.3.3
-pkgrel=2
-pkgdesc="extensible window manager written in lisp"
-depends=('librep' 'gmp' 'gtk+2' 'libice' 'libxft' 'libxml2' 'libxdmcp' 
'libxau' 'libxdamage' 'esd' 'rep-gtk')
+pkgrel=3
+pkgdesc="Extensible window manager written in lisp."
+rodepends=('alsa-utils')
+depends=('librep' 'gtk+2' 'libice' 'libxft' 'libxml2' 'libxdmcp' 'libxau' 
'libxdamage' 'audiofile' 'rep-gtk' 'gpm')
_F_sourceforge_dirname=sawmill
Finclude sourceforge
url="http://sawfish.wikia.com/";
groups=('x11-extra')
archs=('i686' 'x86_64')
options=('scriptlet')
-Fconfopts="$Fconfopts --disable-themer --disable-capplet 
--disable-gnome-widgets"
-sha1sums=('3a77267cc8a2032a5a0810070b2a200fe4961250')
+Fconfopts="$Fconfopts --disable-themer --disable-capplet 
--disable-gnome-widgets --without-esd"
+source=([EMAIL PROTECTED] $pkgname-session startup $pkgname.desktop 
xinitrc.$pkgname)
+sha1sums=('3a77267cc8a2032a5a0810070b2a200fe4961250' \
+          'abe3c1ce2bf78e19d7af02faa428a05a17b4431a' \
+          'ac7544f73f2ea96d85cd0e9ca8a6d24d8bc2734d' \
+          '4a718c79c71dcb54cd624dfbf878824ac37a2010' \
+          '182d1f6c47aa90f85568215b7f39f600067a1a64')
unset MAKEFLAGS

+build()
+{
+       Fbuild
+       Fexe  /usr/bin/$pkgname-session
+       Fexe  /etc/X11/xinit/xinitrc.$pkgname
+       Ffile /usr/share/$pkgname/startup
+       Ffile /etc/X11/sessions/$pkgname.desktop
+       Fwrapper "exec /usr/bin/aplay -q \"[EMAIL PROTECTED]"" $pkgname-aplay
+}
+
# optimization OK
diff --git a/source/x11-extra/sawfish/README.Frugalware 
b/source/x11-extra/sawfish/README.Frugalware
new file mode 100644
index 0000000..2dc0080
--- /dev/null
+++ b/source/x11-extra/sawfish/README.Frugalware
@@ -0,0 +1,15 @@
+I have include a simple script called sawfish-session which sources
+$HOME/.sawfish/startup, if it exists. It is setup so you can easily run your
+own commands before sawfish is launched. You can find an example file at
+/usr/share/sawfish/startup. Also, there is a sawfish-aplay script as well,
+which is a wrapper to aplay with the -q argument so your logs aren't spammed by
+a bunch of useless messages if you choose to use sound events. To use sound
+events in sawfish, run sawfish-ui and goto the Sound tab, and enable sounds.
+Then, close the program, run it again, and there should a greyed out box at the
+bottom for entering a command to for playing sounds. I have disabled ESD
+support in favor of this. Check the box to enable it, and enter either
+sawfish-aplay or another program of your choice. However, keep in mind this box
+cannot accept arguments, it can only accept the path to an executable of some
+sort, which is the whole reason I included an aplay wrapper. And finally, be
+sure to visit http://sawfish.wikia.com if you want to find stuff to supplement
+sawfish, like scripts, themes, etc. Happy hacking!
diff --git a/source/x11-extra/sawfish/sawfish-session 
b/source/x11-extra/sawfish/sawfish-session
new file mode 100644
index 0000000..0684e99
--- /dev/null
+++ b/source/x11-extra/sawfish/sawfish-session
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+[ -f "$HOME/.sawfish/startup" ] && source "$HOME/.sawfish/startup"
+
+exec sawfish
diff --git a/source/x11-extra/sawfish/sawfish.desktop 
b/source/x11-extra/sawfish/sawfish.desktop
new file mode 100644
index 0000000..391c61b
--- /dev/null
+++ b/source/x11-extra/sawfish/sawfish.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Sawfish
+Comment=Extensible window manager written in lisp.
+Exec=sawfish-session
+Icon=
+Type=Application
+
diff --git a/source/x11-extra/sawfish/startup b/source/x11-extra/sawfish/startup
new file mode 100644
index 0000000..e39482f
--- /dev/null
+++ b/source/x11-extra/sawfish/startup
@@ -0,0 +1 @@
+dbus-launch --exit-with-session --sh-syntax &
diff --git a/source/x11-extra/sawfish/xinitrc.sawfish 
b/source/x11-extra/sawfish/xinitrc.sawfish
new file mode 100644
index 0000000..7e9e7e4
--- /dev/null
+++ b/source/x11-extra/sawfish/xinitrc.sawfish
@@ -0,0 +1,29 @@
+#!/bin/sh
+# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
+sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
+
+# merge in defaults and keymaps
+
+if [ -f $sysresources ]; then
+    xrdb -merge $sysresources
+fi
+
+if [ -f $sysmodmap ]; then
+    xmodmap $sysmodmap
+fi
+
+if [ -f $userresources ]; then
+    xrdb -merge $userresources
+fi
+
+if [ -f $usermodmap ]; then
+    xmodmap $usermodmap
+fi
+
+# start some nice programs
+
+sawfish-session
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to