summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-12-06 13:03:36 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-12-06 13:03:36 +0000
commit2019fee72cce3b785555f524df076850d6ba49cd (patch)
treeca40c951c3b15db6adf02fed95451c27bea52107 /x11-misc/wbarconf/files
parentversion bump for security bug 250018 (diff)
downloadgentoo-2-2019fee72cce3b785555f524df076850d6ba49cd.tar.gz
gentoo-2-2019fee72cce3b785555f524df076850d6ba49cd.tar.bz2
gentoo-2-2019fee72cce3b785555f524df076850d6ba49cd.zip
Initial commit. Thanks to Mika Hynnä.
(Portage version: 2.1.6_rc3/cvs/Linux 2.6.27.7 i686)
Diffstat (limited to 'x11-misc/wbarconf/files')
-rw-r--r--x11-misc/wbarconf/files/wbarconf-0.7.2-install.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/x11-misc/wbarconf/files/wbarconf-0.7.2-install.patch b/x11-misc/wbarconf/files/wbarconf-0.7.2-install.patch
new file mode 100644
index 000000000000..d0c04c966687
--- /dev/null
+++ b/x11-misc/wbarconf/files/wbarconf-0.7.2-install.patch
@@ -0,0 +1,48 @@
+diff -ur wbarconf.orig/install.sh wbarconf/install.sh
+--- wbarconf.orig/install.sh 2008-05-27 14:44:20.000000000 +0300
++++ wbarconf/install.sh 2008-12-06 14:44:52.000000000 +0200
+@@ -1,5 +1,6 @@
+ #!/bin/sh
+ startdir=$1
++version=0.7.2
+
+ if [ $(echo $1|wc -w) -eq 0 ];then
+ echo "Usage: install.sh /path/to"
+@@ -14,9 +15,8 @@
+ mkdir -p $startdir/bin/ || return 1
+ install -m0755 wbarconf $startdir/bin/ || return 1
+
+-mkdir -p $startdir/share/wbarconf/
+-install -m0644 README $startdir/share/wbarconf/ || return 1
+-install -m0644 COPYING $startdir/share/wbarconf/ || return 1
++mkdir -p $startdir/share/doc/wbarconf-$version/
++install -m0644 README $startdir/share/doc/wbarconf-$version/ || return 1
+
+ mkdir -p $startdir/share/locale/ || return 1
+ cp -av locale/* $startdir/share/locale/ || return 1
+@@ -24,7 +24,8 @@
+ find $startdir/share/locale/ -name wbarconf.po -print | xargs rm -f
+ install -m0644 messages.pot $startdir/share/wbarconf/ || return 1
+
+-cp -av wbarbacks $startdir/share/wbarconf/ || return 1
++mkdir -p $startdir/share/wbarconf/
++cp -dpRv wbarbacks $startdir/share/wbarconf/ || return 1
+ chmod 0655 -R $startdir/share/wbarconf/ || return 1
+
+ mkdir -p $startdir/share/pixmaps/
+diff -ur wbarconf.orig/wbarconf.desktop wbarconf/wbarconf.desktop
+--- wbarconf.orig/wbarconf.desktop 2008-05-13 16:23:17.000000000 +0300
++++ wbarconf/wbarconf.desktop 2008-12-06 14:46:00.000000000 +0200
+@@ -2,10 +2,10 @@
+ Name=WbarConf
+ Exec=wbarconf
+ Type=Application
+-Icon=wbarconf.png
++Icon=wbarconf
+ Terminal=false
+ StartupNotify=true
+-Categories=GTK;Utility;
++Categories=GTK;Utility;
+ Comment=Configuration tool for wbar
+ Comment[de]=Konfigurationswerkzeug für Wbar
+ Comment[fi]=Asetustyökalu wbar:lle