Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=57fd01dfd92b4dfe236f9ed57e7dda9c41d15584
commit 57fd01dfd92b4dfe236f9ed57e7dda9c41d15584
Author: James Buren <[EMAIL PROTECTED]>
Date: Mon Jun 2 18:35:31 2008 -0500
windowmaker-0.92.0-4-i686
* moved to x11-extra
* updated depends
* converted return to Fdie
* updated SBU
* taking over from vmiklos
diff --git a/source/x11-extra/windowmaker/FrugalBuild
b/source/x11-extra/windowmaker/FrugalBuild
new file mode 100644
index 0000000..445d4e6
--- /dev/null
+++ b/source/x11-extra/windowmaker/FrugalBuild
@@ -0,0 +1,51 @@
+# Compiling Time: 0.42 SBU
+# Maintainer: James Buren <[EMAIL PROTECTED]>
+
+pkgname=windowmaker
+_F_archive_name=WindowMaker
+pkgver=0.92.0
+pkgrel=4
+pkgdesc="An X11 window manager originally designed to provide integration
support for the GNUstep Desktop Environment."
+pkgdesc_localized=('hu_HU Egy, eredetileg a GNUstep grafikus környezethez
hasonló X11 ablakkezelõ.')
+url="http://www.windowmaker.info/"
+depends=('libxinerama' 'libxft' 'libxcb' 'libtiff' 'libxpm' 'libpng' 'libjpeg'
'libungif')
+groups=('x11-extra')
+archs=('i686' 'x86_64')
+up2date="lynx -dump http://windowmaker.info/pub/source/release/ | Flasttar"
+source=(ftp://ftp.windowmaker.info/pub/source/release/$_F_archive_name-$pkgver.tar.bz2
xinitrc.$pkgname $pkgname.desktop \
+ windowmaker-0.92.0-x86_64-fix.patch $pkgname.sh)
+sha1sums=('4f7fea6f40b9ba9f870d2e2f0ce46274750edb2c' \
+ '62d8e1d684057c4f40e6dc829380bd77a3b0dc6f' \
+ '34613e910f7c3423b4e0bf759c6df14f6accc891' \
+ 'ef66129f28c0d1b330011417f3386b19ff6646cc' \
+ 'b603affdaaa7aef71c3f053590016b8c283281b5')
+
+build()
+{
+ Fcd
+ [ "$CARCH" == "x86_64" ] && Fpatchall
+ [ "$CARCH" == "x86_64" ] && Fautoconfize
+ source $Fsrcdir/$pkgname.sh || Fdie
+ export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`"
+ Fconf --sysconfdir=/etc/X11 \
+ --with-appspath=/usr/lib/GNUstep/Applications --enable-xinerama \
+ --enable-usermenu --with-pixmapdir=/usr/share/pixmaps \
+ --with-nlsdir=/usr/share/locale
+ Fsed '#define ASM_X86_MMX 1' '#undef ASM_X86_MMX' src/config.h
+ for file in WindowMaker/*menu*; do
+ if [ -r $file ]; then
+ Fsed "/usr/local/GNUstep/Applications/WPrefs.app/WPrefs"
"/usr/bin/WPrefs" $file
+ fi
+ done
+ make || Fdie
+ Fmakeinstall
+ Fln /usr/lib/GNUstep/Applications/WPrefs.app/WPrefs /usr/bin/WPrefs
+ Fmkdir /etc/X11/{sessions,xinit}
+ Ffile /etc/X11/sessions/$pkgname.desktop
+ Fexe /etc/X11/xinit/xinitrc.$pkgname
+ Fexe /etc/profile.d/$pkgname.sh
+}
+
+
+
+# optimization OK
diff --git a/source/x11-extra/windowmaker/windowmaker-0.92.0-x86_64-fix.patch
b/source/x11-extra/windowmaker/windowmaker-0.92.0-x86_64-fix.patch
new file mode 100644
index 0000000..48107d1
--- /dev/null
+++ b/source/x11-extra/windowmaker/windowmaker-0.92.0-x86_64-fix.patch
@@ -0,0 +1,31 @@
+diff -Naur WindowMaker-0.92.0.orig/configure.ac WindowMaker-0.92.0/configure.ac
+--- WindowMaker-0.92.0.orig/configure.ac 2005-07-04 14:23:20.000000000
+0200
++++ WindowMaker-0.92.0/configure.ac 2005-07-04 14:27:21.000000000 +0200
+@@ -194,7 +194,19 @@
+
+ # gcc-3.3 or newer complains about some of our stuff without this
+ NOSTRICTALIASING="-fno-strict-aliasing"
++
++ x86=0
++ changequote(,)dnl
++ case "$host_cpu" in
++ i[3456]86) x86=1
++ ;;
++ esac
++ changequote([,])dnl
++ if test "$host_os" != "linux" -a "$host_os" != "linux-gnu" ; then
++ x86=0
++ fi
+
++ if test $x86 = 1 ; then
+ AC_CACHE_CHECK(whether gcc supports x86 inline asm,
+ ac_cv_c_inline_asm,
+ [AC_TRY_LINK(,[{int x; asm volatile("movl %%eax, %%ebx\n"::
+@@ -218,6 +230,7 @@
+ mmx_support=yes
+ fi
+ fi
++ fi
+ fi
+ AC_SUBST(NOSTRICTALIASING)
+
diff --git a/source/x11-extra/windowmaker/windowmaker.desktop
b/source/x11-extra/windowmaker/windowmaker.desktop
new file mode 100644
index 0000000..71c7629
--- /dev/null
+++ b/source/x11-extra/windowmaker/windowmaker.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=WindowMaker
+Comment=An X11 window manager originally designed to provide integration
support for the GNUstep Desktop Environment.
+Exec=wmaker
+Icon=
+Type=Application
+
diff --git a/source/x11-extra/windowmaker/windowmaker.sh
b/source/x11-extra/windowmaker/windowmaker.sh
new file mode 100644
index 0000000..9603fcb
--- /dev/null
+++ b/source/x11-extra/windowmaker/windowmaker.sh
@@ -0,0 +1 @@
+export GNUSTEP_LOCAL_ROOT=/usr/lib/GNUstep
diff --git a/source/x11-extra/windowmaker/xinitrc.windowmaker
b/source/x11-extra/windowmaker/xinitrc.windowmaker
new file mode 100644
index 0000000..edfe29f
--- /dev/null
+++ b/source/x11-extra/windowmaker/xinitrc.windowmaker
@@ -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
+
+wmaker
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git