wbar: new port
This commit is contained in:
parent
25dd5ff35e
commit
2001af0577
31
wbar/.footprint
Normal file
31
wbar/.footprint
Normal file
@ -0,0 +1,31 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/wbar
|
||||
drwxr-xr-x root/root usr/etc/
|
||||
-rw-r--r-- root/root usr/etc/dot.wbar
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/wbar/
|
||||
drwxr-xr-x root/root usr/share/wbar/iconpack/
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/comic.ttf
|
||||
drwxr-xr-x root/root usr/share/wbar/iconpack/wbar.osx/
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/wbar.osx/acroread.png
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/wbar.osx/beagle.png
|
||||
-rwxr-xr-x root/root usr/share/wbar/iconpack/wbar.osx/blender.png
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/wbar.osx/cedega.png
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/wbar.osx/firefox.png
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/wbar.osx/gearth.png
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/wbar.osx/gimp.png
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/wbar.osx/gmplayer.png
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/wbar.osx/gnucash.png
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/wbar.osx/gqview.png
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/wbar.osx/inkscape.png
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/wbar.osx/mlgui.png
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/wbar.osx/nautilus.png
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/wbar.osx/ooffice.png
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/wbar.osx/osxbarback.png
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/wbar.osx/picasa.png
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/wbar.osx/psi.png
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/wbar.osx/skype.png
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/wbar.osx/thunderbird.png
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/wbar.osx/vmware.png
|
||||
-rw-r--r-- root/root usr/share/wbar/iconpack/wbar.osx/xmms.png
|
2
wbar/.md5sum
Normal file
2
wbar/.md5sum
Normal file
@ -0,0 +1,2 @@
|
||||
96b4c7b507b996460d9a9c2f8cc9727e wbar-1.3.3-dot.wbar.patch
|
||||
542335a273188de0d6a93102501351a4 wbar-1.3.3.tbz2
|
24
wbar/Pkgfile
Normal file
24
wbar/Pkgfile
Normal file
@ -0,0 +1,24 @@
|
||||
# Description: quick launch bar
|
||||
# URL: http://freshmeat.net/projects/wbar/
|
||||
# Packager: Younes Hafri <ycrux@club-internet.fr>
|
||||
# Maintainer: Bartlomiej Palmowski, maks1k at wp dot pl
|
||||
# Depends on: imlib2
|
||||
|
||||
name=wbar
|
||||
version=1.3.3
|
||||
release=1
|
||||
source=(http://freshmeat.net/redir/$name/66660/url_mirror/$name-$version.tbz2
|
||||
$name-$version-dot.wbar.patch)
|
||||
|
||||
build() {
|
||||
tar --use-compress-program=bzip2 -xf $name-$version.tbz2
|
||||
cd $name-$version
|
||||
patch -p1 -i ../$name-$version-dot.wbar.patch
|
||||
sed -i "/CXXFLAGS/s/-O2/$CXXFLAGS/" Makefile
|
||||
make
|
||||
mkdir -p $PKG/usr/share/wbar
|
||||
cp -a ./iconpack $PKG/usr/share/wbar/iconpack
|
||||
install -D dot.wbar $PKG/usr/etc/dot.wbar
|
||||
install -D -m 0755 ./wbar $PKG/usr/bin/wbar
|
||||
}
|
||||
|
109
wbar/wbar-1.3.3-dot.wbar.patch
Normal file
109
wbar/wbar-1.3.3-dot.wbar.patch
Normal file
@ -0,0 +1,109 @@
|
||||
diff -pruN wbar-1.3.3.orig/dot.wbar wbar-1.3.3/dot.wbar
|
||||
--- wbar-1.3.3.orig/dot.wbar 2008-05-18 20:36:31.000000000 +0200
|
||||
+++ wbar-1.3.3/dot.wbar 2008-05-18 20:36:41.000000000 +0200
|
||||
@@ -1,72 +1,72 @@
|
||||
# The Bar && Font
|
||||
-i: iconpack/wbar.osx/osxbarback.png
|
||||
-t: iconpack/wbar.osx/font/12
|
||||
+i: /usr/share/wbar/iconpack/wbar.osx/osxbarback.png
|
||||
+t: /usr/share/wbar/iconpack/comic/12
|
||||
c:
|
||||
|
||||
-i: iconpack/wbar.osx/nautilus.png
|
||||
+i: /usr/share/wbar/iconpack/wbar.osx/nautilus.png
|
||||
c: nautilus --no-desktop --browser
|
||||
t: nautilus
|
||||
|
||||
-i: iconpack/wbar.osx/cedega.png
|
||||
+i: /usr/share/wbar/iconpack/wbar.osx/cedega.png
|
||||
c:
|
||||
t: wine
|
||||
|
||||
-i: iconpack/wbar.osx/firefox.png
|
||||
+i: /usr/share/wbar/iconpack/wbar.osx/firefox.png
|
||||
c: firefox
|
||||
t: firefox
|
||||
|
||||
-i: iconpack/wbar.osx/thunderbird.png
|
||||
+i: /usr/share/wbar/iconpack/wbar.osx/thunderbird.png
|
||||
c: thunderbird
|
||||
t: thunderbird
|
||||
|
||||
-i: iconpack/wbar.osx/gearth.png
|
||||
+i: /usr/share/wbar/iconpack/wbar.osx/gearth.png
|
||||
c:
|
||||
t: gearth
|
||||
|
||||
-i: iconpack/wbar.osx/skype.png
|
||||
+i: /usr/share/wbar/iconpack/wbar.osx/skype.png
|
||||
c: skype
|
||||
t: skype
|
||||
|
||||
-i: iconpack/wbar.osx/psi.png
|
||||
+i: /usr/share/wbar/iconpack/wbar.osx/psi.png
|
||||
c: pidgin
|
||||
t: pidgin
|
||||
|
||||
-i: iconpack/wbar.osx/mlgui.png
|
||||
+i: /usr/share/wbar/iconpack/wbar.osx/mlgui.png
|
||||
c:
|
||||
t: sancho
|
||||
|
||||
-i: iconpack/wbar.osx/ooffice.png
|
||||
+i: /usr/share/wbar/iconpack/wbar.osx/ooffice.png
|
||||
c: soffice
|
||||
t: ooffice
|
||||
|
||||
-i: iconpack/wbar.osx/acroread.png
|
||||
+i: /usr/share/wbar/iconpack/wbar.osx/acroread.png
|
||||
c: acroread
|
||||
t: acroread
|
||||
|
||||
-i: iconpack/wbar.osx/beagle.png
|
||||
+i: /usr/share/wbar/iconpack/wbar.osx/beagle.png
|
||||
c: beagle-search
|
||||
t: beagle
|
||||
|
||||
-i: iconpack/wbar.osx/gimp.png
|
||||
+i: /usr/share/wbar/iconpack/wbar.osx/gimp.png
|
||||
c: gimp
|
||||
t: gimp
|
||||
|
||||
-i: iconpack/wbar.osx/picasa.png
|
||||
+i: /usr/share/wbar/iconpack/wbar.osx/picasa.png
|
||||
c: picasa
|
||||
t: picasa
|
||||
|
||||
-i: iconpack/wbar.osx/gqview.png
|
||||
+i: /usr/share/wbar/iconpack/wbar.osx/gqview.png
|
||||
c: gqview
|
||||
t: gqview
|
||||
|
||||
-i: iconpack/wbar.osx/xmms.png
|
||||
+i: /usr/share/wbar/iconpack/wbar.osx/xmms.png
|
||||
c: audacious
|
||||
t: audacious
|
||||
|
||||
-i: iconpack/wbar.osx/gnucash.png
|
||||
+i: /usr/share/wbar/iconpack/wbar.osx/gnucash.png
|
||||
c: gnucash
|
||||
t: gnucash
|
||||
|
||||
-i: iconpack/wbar.osx/gmplayer.png
|
||||
+i: /usr/share/wbar/iconpack/wbar.osx/gmplayer.png
|
||||
c: gmplayer
|
||||
t: gmplayer
|
||||
diff -pruN wbar-1.3.3.orig/IconLoader.cc wbar-1.3.3/IconLoader.cc
|
||||
--- wbar-1.3.3.orig/IconLoader.cc 2008-05-18 20:36:31.000000000 +0200
|
||||
+++ wbar-1.3.3/IconLoader.cc 2008-05-18 20:37:52.000000000 +0200
|
||||
@@ -24,8 +24,8 @@ IconLoader::IconLoader(const char *cfgFi
|
||||
else if( !stat("dot.wbar", &cfg_stat) )
|
||||
configFile = "dot.wbar";
|
||||
|
||||
- else if( !stat("/usr/share/wbar/dot.wbar", &cfg_stat) )
|
||||
- configFile = "/usr/share/wbar/dot.wbar";
|
||||
+ else if( !stat("/usr/etc/dot.wbar", &cfg_stat) )
|
||||
+ configFile = "/usr/etc/dot.wbar";
|
||||
|
||||
else
|
||||
throw "Can't stat a config file. Try # make install or -config <cfgfile>";
|
Loading…
x
Reference in New Issue
Block a user