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

commit 058e6d3b0bb29ba9da67cd05aa94a7a6685b0d56
Author: James Buren <[EMAIL PROTECTED]>
Date:   Mon May 26 18:34:49 2008 -0500

wbar-1.3.3-i686-1

* (new package) - application launcher bar designed with speed in mind

diff --git a/source/x11-extra/wbar/FrugalBuild 
b/source/x11-extra/wbar/FrugalBuild
new file mode 100644
index 0000000..6fd3247
--- /dev/null
+++ b/source/x11-extra/wbar/FrugalBuild
@@ -0,0 +1,37 @@
+# Compiling Time: 0.02 SBU
+# Maintainer: VMiklos <[EMAIL PROTECTED]>
+# Contributor: James Buren <[EMAIL PROTECTED]>
+
+pkgname=wbar
+pkgver=1.3.3
+pkgrel=1
+pkgdesc="An application launcher bar developed with speed in mind."
+url="http://freshmeat.net/projects/wbar/";
+depends=('imlib2' 'libx11' 'libstdc++')
+groups=('x11-extra')
+archs=('i686')
+up2date="lynx -dump '$url' | grep '.tbz2' | head -n1 | sed 's|^.*$pkgname-||' 
| sed 's|.tbz2.*$||'"
+source=(http://www.tecapli.com.ar/warlock/$pkgname-$pkgver.tbz2 \
+       wbar-1.3.3-stdlib-include.patch)
+sha1sums=('743dff28bd7d2d37523a1314b6f4c9320f109f48' \
+          'e2957c1575dc40f049e8107c0df790429ebc7bce')
+
+build()
+{
+       Fpatchall
+       make CXX="g++ $CFLAGS" || Fdie
+       Fexerel /usr/bin/wbar
+       # these correct the default config so that it runs without a hitch.
+       Fsed 'i: ' 'i: /usr/share/wbar/' dot.wbar
+       Fsed 't: iconpack/wbar.osx/font/12' 't: 
/usr/share/wbar/iconpack/comic/12' dot.wbar
+       # end corrections
+       Ffilerel /usr/share/wbar/dot.wbar
+       cd iconpack || Fdie
+       Ffilerel /usr/share/wbar/iconpack/comic.ttf
+       cd wbar.osx || Fdie
+       for i in *; do
+               Ffilerel /usr/share/wbar/iconpack/wbar.osx/$i
+       done
+}
+
+# optimization OK
diff --git a/source/x11-extra/wbar/wbar-1.3.3-stdlib-include.patch 
b/source/x11-extra/wbar/wbar-1.3.3-stdlib-include.patch
new file mode 100644
index 0000000..f4508cb
--- /dev/null
+++ b/source/x11-extra/wbar/wbar-1.3.3-stdlib-include.patch
@@ -0,0 +1,22 @@
+diff -ur wbar-1.3.3/IconLoader.h wbar-1.3.3-2/IconLoader.h
+--- wbar-1.3.3/IconLoader.h    2006-10-19 18:25:01.000000000 -0500
++++ wbar-1.3.3-2/IconLoader.h  2008-05-25 15:25:42.000000000 -0500
+@@ -4,6 +4,7 @@
+ extern "C" {
+ #include <sys/types.h>
+ #include <regex.h>
++#include <stdlib.h>
+ };
+
+ #include <fstream>
+diff -ur wbar-1.3.3/SuperBar.h wbar-1.3.3-2/SuperBar.h
+--- wbar-1.3.3/SuperBar.h      2007-02-11 17:32:17.000000000 -0600
++++ wbar-1.3.3-2/SuperBar.h    2008-05-25 15:25:57.000000000 -0500
+@@ -1,6 +1,7 @@
+ #ifndef _SUPERBAR_H_
+ #define _SUPERBAR_H_
+
++#include <stdlib.h>
+ #include "ImgWrap.h"
+ #include "Bar.h"
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to