summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2008-01-13 13:03:20 +0000
committerSamuli Suominen <drac@gentoo.org>2008-01-13 13:03:20 +0000
commit5c1998ac45dab952f96047408162fa7991f46cec (patch)
tree255ff2d9328db1e459a5f4b52195ada6ee7d1263 /x11-misc/wbar/files
parentbetter description (diff)
downloadgentoo-2-5c1998ac45dab952f96047408162fa7991f46cec.tar.gz
gentoo-2-5c1998ac45dab952f96047408162fa7991f46cec.tar.bz2
gentoo-2-5c1998ac45dab952f96047408162fa7991f46cec.zip
initial commit
(Portage version: 2.1.4)
Diffstat (limited to 'x11-misc/wbar/files')
-rw-r--r--x11-misc/wbar/files/digest-wbar-1.3.33
-rw-r--r--x11-misc/wbar/files/wbar-1.3.3-Makefile.patch44
2 files changed, 47 insertions, 0 deletions
diff --git a/x11-misc/wbar/files/digest-wbar-1.3.3 b/x11-misc/wbar/files/digest-wbar-1.3.3
new file mode 100644
index 000000000000..68cfc8d95d8c
--- /dev/null
+++ b/x11-misc/wbar/files/digest-wbar-1.3.3
@@ -0,0 +1,3 @@
+MD5 542335a273188de0d6a93102501351a4 wbar-1.3.3.tbz2 429098
+RMD160 9edda727b6701af71763ea7df25c370757c08f3b wbar-1.3.3.tbz2 429098
+SHA256 431c5f7a8b6b065e2fe32a6482476a5ecefdf838aee550cae381ba64cb79eb4b wbar-1.3.3.tbz2 429098
diff --git a/x11-misc/wbar/files/wbar-1.3.3-Makefile.patch b/x11-misc/wbar/files/wbar-1.3.3-Makefile.patch
new file mode 100644
index 000000000000..52e49b282951
--- /dev/null
+++ b/x11-misc/wbar/files/wbar-1.3.3-Makefile.patch
@@ -0,0 +1,44 @@
+diff -ur wbar-1.3.3.orig/Makefile wbar-1.3.3/Makefile
+--- wbar-1.3.3.orig/Makefile 2007-09-26 19:24:10.000000000 +0300
++++ wbar-1.3.3/Makefile 2008-01-13 14:42:20.000000000 +0200
+@@ -1,6 +1,6 @@
+ TARGET=wbar
+-CXXFLAGS=`imlib2-config --cflags` -Wall -O2 #-DCOS_ZOOM #-DLINEAR_TRASL -DNO_EXPAND #-DAVGFILTER
+-LDFLAGS=`imlib2-config --libs` -Wl,-O2
++CXXFLAGS+=`imlib2-config --cflags` -Wall #-DCOS_ZOOM #-DLINEAR_TRASL -DNO_EXPAND #-DAVGFILTER
++LIBS=`imlib2-config --libs`
+ PREFIX=/usr/share/wbar
+
+
+@@ -14,7 +14,7 @@
+ $(objects): $(headers) Makefile
+
+ $(TARGET): $(objects)
+- g++ $(LDFLAGS) -o $(@) $(objects)
++ $(CXX) $(LDFLAGS) $(objects) $(LIBS) -o $(@)
+ #strip $(@)
+
+ install: $(TARGET)
+@@ -23,16 +23,17 @@
+ exit 1; \
+ fi
+
+- install -d $(PREFIX)
++ install -d $(DESTDIR)$(PREFIX)
+ awk '{if($$1 ~ /i:/ || ($$1 ~ /t:/ && NR<4)) print $$1" $(PREFIX)/"$$2; else print $$0;}' \
+- ./dot.wbar > $(PREFIX)/dot.wbar
+- cp -a ./iconpack $(PREFIX)/iconpack
++ ./dot.wbar > $(DESTDIR)$(PREFIX)/dot.wbar
++ cp -a ./iconpack $(DESTDIR)$(PREFIX)/iconpack
+
+ #ln -fs $(PREFIX)/iconpack/comic.ttf $(PREFIX)/iconpack/wbar.nuvoux/font.ttf
+ #ln -fs $(PREFIX)/iconpack/comic.ttf $(PREFIX)/iconpack/wbar.ice/font.ttf
+- ln -fs $(PREFIX)/iconpack/comic.ttf $(PREFIX)/iconpack/wbar.osx/font.ttf
++ ln -fs ../comic.ttf $(DESTDIR)$(PREFIX)/iconpack/wbar.osx/font.ttf
+
+- install ./wbar /usr/bin
++ install -d $(DESTDIR)/usr/bin
++ install ./wbar $(DESTDIR)/usr/bin
+
+ uninstall:
+ if [ "`whoami`" != "root" ]; then \