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
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')
-rw-r--r--x11-misc/wbarconf/ChangeLog10
-rw-r--r--x11-misc/wbarconf/files/wbarconf-0.7.2-install.patch48
-rw-r--r--x11-misc/wbarconf/metadata.xml5
-rw-r--r--x11-misc/wbarconf/wbarconf-0.7.2.ebuild31
4 files changed, 94 insertions, 0 deletions
diff --git a/x11-misc/wbarconf/ChangeLog b/x11-misc/wbarconf/ChangeLog
new file mode 100644
index 000000000000..23f33ae3b355
--- /dev/null
+++ b/x11-misc/wbarconf/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for x11-misc/wbarconf
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/wbarconf/ChangeLog,v 1.1 2008/12/06 13:03:36 ssuominen Exp $
+
+*wbarconf-0.7.2 (06 Dec 2008)
+
+ 06 Dec 2008; <ssuominen@gentoo.org> +files/wbarconf-0.7.2-install.patch,
+ +wbarconf-0.7.2.ebuild:
+ Initial commit. Thanks to Mika Hynnä.
+
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
diff --git a/x11-misc/wbarconf/metadata.xml b/x11-misc/wbarconf/metadata.xml
new file mode 100644
index 000000000000..731225048652
--- /dev/null
+++ b/x11-misc/wbarconf/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>desktop-misc</herd>
+</pkgmetadata>
diff --git a/x11-misc/wbarconf/wbarconf-0.7.2.ebuild b/x11-misc/wbarconf/wbarconf-0.7.2.ebuild
new file mode 100644
index 000000000000..2fc7c76099db
--- /dev/null
+++ b/x11-misc/wbarconf/wbarconf-0.7.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/wbarconf/wbarconf-0.7.2.ebuild,v 1.1 2008/12/06 13:03:36 ssuominen Exp $
+
+inherit eutils
+
+DESCRIPTION="Configuration GUI for x11-misc/wbar"
+HOMEPAGE="http://www.ihku.biz/wbarconf"
+SRC_URI="http://www.ihku.biz/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=x11-misc/wbar-1.3.3
+ >=dev-python/pygtk-2.10"
+DEPEND=""
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-install.patch
+}
+
+src_install() {
+ ./install.sh "${D}/usr"
+ prepalldocs
+}