summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2012-08-26 17:34:30 +0000
committerJulian Ospald <hasufell@gentoo.org>2012-08-26 17:34:30 +0000
commitbc9ce44c74c6a69a97c4368c33c163ab6cb8c72d (patch)
tree062ecba81136a5432bb98aceebdc012a55155453 /x11-misc/wbar
parentalpha/ia64/s390/sh/sparc stable wrt #419473 (diff)
downloadgentoo-2-bc9ce44c74c6a69a97c4368c33c163ab6cb8c72d.tar.gz
gentoo-2-bc9ce44c74c6a69a97c4368c33c163ab6cb8c72d.tar.bz2
gentoo-2-bc9ce44c74c6a69a97c4368c33c163ab6cb8c72d.zip
version bump
(Portage version: 2.2.0_alpha122/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/wbar')
-rw-r--r--x11-misc/wbar/ChangeLog8
-rw-r--r--x11-misc/wbar/files/wbar-2.3.1-desktopfile.patch89
-rw-r--r--x11-misc/wbar/files/wbar-2.3.1-nowerror.patch14
-rw-r--r--x11-misc/wbar/wbar-2.3.1.ebuild39
4 files changed, 149 insertions, 1 deletions
diff --git a/x11-misc/wbar/ChangeLog b/x11-misc/wbar/ChangeLog
index f32ca2f5de2c..277a1d0be4ce 100644
--- a/x11-misc/wbar/ChangeLog
+++ b/x11-misc/wbar/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-misc/wbar
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/wbar/ChangeLog,v 1.21 2012/07/29 20:16:13 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/wbar/ChangeLog,v 1.22 2012/08/26 17:34:29 hasufell Exp $
+
+*wbar-2.3.1 (26 Aug 2012)
+
+ 26 Aug 2012; Julian Ospald <hasufell@gentoo.org> +wbar-2.3.1.ebuild,
+ +files/wbar-2.3.1-desktopfile.patch, +files/wbar-2.3.1-nowerror.patch:
+ version bump
29 Jul 2012; Julian Ospald <hasufell@gentoo.org> wbar-2.3.0.ebuild:
stable for amd64 wrt bug #427658
diff --git a/x11-misc/wbar/files/wbar-2.3.1-desktopfile.patch b/x11-misc/wbar/files/wbar-2.3.1-desktopfile.patch
new file mode 100644
index 000000000000..c42f6498e156
--- /dev/null
+++ b/x11-misc/wbar/files/wbar-2.3.1-desktopfile.patch
@@ -0,0 +1,89 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Sun Aug 26 16:34:39 UTC 2012
+Subject: fix desktop file destination and QA issues
+
+diff --git a/configure.ac b/configure.ac
+index 0fc821c..2db7c02 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -83,6 +83,7 @@ AC_DEFINE_UNQUOTED(PIDOF_BIN, "$PIDOF_BIN ", [ program to retreive wbar pid ])
+
+ AC_CONFIG_FILES([Makefile \
+ share/Makefile \
++share/wbar.desktop.in \
+ etc/Makefile \
+ etc/wbar.cfg \
+ etc/wbar.desktop.in \
+diff --git a/etc/Makefile.am b/etc/Makefile.am
+index 1bcb238..a433e0c 100644
+--- a/etc/Makefile.am
++++ b/etc/Makefile.am
+@@ -3,7 +3,7 @@ CLEANFILES = *~ $(wbardesktop:.desktop.in.in=.desktop)
+ defaultdir = @DEFAULT_CONFIGDIR@
+ default_DATA = $(wbarcfg:.cfg.in=.cfg)
+
+-autostartdir = @DEFAULT_CONFIGDIR@
++autostartdir = $(sysconfdir)/xdg/autostart
+ autostart_DATA = $(wbardesktop:.desktop.in.in=.desktop)
+
+ @INTLTOOL_DESKTOP_RULE@
+diff --git a/po/POTFILES.in b/po/POTFILES.in
+index 8472c3c..8ed7725 100644
+--- a/po/POTFILES.in
++++ b/po/POTFILES.in
+@@ -1,4 +1,5 @@
+ etc/wbar.desktop.in
++share/wbar.desktop.in
+ share/wbar.glade
+ src/config/Functions.cc
+ src/config/Functions.h
+diff --git a/po/POTFILES.skip b/po/POTFILES.skip
+index 327f139..a9fbd01 100644
+--- a/po/POTFILES.skip
++++ b/po/POTFILES.skip
+@@ -1,2 +1,2 @@
+ etc/wbar.desktop.in.in
+-
++share/wbar.desktop.in.in
+diff --git a/share/Makefile.am b/share/Makefile.am
+index 87c736b..091935c 100644
+--- a/share/Makefile.am
++++ b/share/Makefile.am
+@@ -1,8 +1,16 @@
+-CLEANFILES = *~
++CLEANFILES = *~ $(wbardesktop:.desktop.in.in=.desktop)
+
+ gladedir = @GLADE_PACKAGE_DIR@
+ glade_DATA = @PACKAGE@.glade
+
+-EXTRA_DIST = \
+-$(glade_DATA)
++desktopfilesdir = $(prefix)/share/applications
++desktopfiles_DATA = $(wbardesktop:.desktop.in.in=.desktop)
++
++@INTLTOOL_DESKTOP_RULE@
+
++wbardesktop = wbar.desktop.in.in
++
++EXTRA_DIST = \
++$(glade_DATA) \
++$(wbardesktop) \
++$(wbardesktop:.desktop.in.in=.desktop.in)
+diff --git a/share/wbar.desktop.in.in b/share/wbar.desktop.in.in
+new file mode 100644
+index 0000000..48fc33c
+--- /dev/null
++++ b/share/wbar.desktop.in.in
+@@ -0,0 +1,12 @@
++[Desktop Entry]
++_Name=Warlock Bar
++Type=Application
++Exec=@BINDIR@/@PACKAGE_NAME@
++Terminal=false
++Icon=@PIXMAPDIR@/@PACKAGE_NAME@.png
++_Comment=A light and fast launch bar.
++Categories=Utility;
++X-GNOME-Bugzilla-Bugzilla=GNOME
++X-GNOME-Bugzilla-Product=@PACKAGE_NAME@
++X-GNOME-Bugzilla-Component=general
++X-Ubuntu-Gettext-Domain=@PACKAGE_NAME@
diff --git a/x11-misc/wbar/files/wbar-2.3.1-nowerror.patch b/x11-misc/wbar/files/wbar-2.3.1-nowerror.patch
new file mode 100644
index 000000000000..1958f2b5c549
--- /dev/null
+++ b/x11-misc/wbar/files/wbar-2.3.1-nowerror.patch
@@ -0,0 +1,14 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Sun Aug 26 17:18:37 UTC 2012
+Subject: remove Werror
+
+--- src/Makefile.am
++++ src/Makefile.am
+@@ -8,7 +8,6 @@
+ -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
+ -Wall \
+ -Wunused \
+- -Werror \
+ -I$(top_srcdir)/src/utils
+
+ if WBAR_CONFIG
diff --git a/x11-misc/wbar/wbar-2.3.1.ebuild b/x11-misc/wbar/wbar-2.3.1.ebuild
new file mode 100644
index 000000000000..081ba43bb63a
--- /dev/null
+++ b/x11-misc/wbar/wbar-2.3.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/wbar/wbar-2.3.1.ebuild,v 1.1 2012/08/26 17:34:29 hasufell Exp $
+
+EAPI=4
+
+inherit autotools eutils
+
+DESCRIPTION="A fast, lightweight quick launch bar"
+HOMEPAGE="http://code.google.com/p/wbar/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.orig.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk"
+
+RDEPEND="media-libs/imlib2[X]
+ virtual/init
+ x11-libs/libX11
+ gtk? ( gnome-base/libglade
+ media-libs/freetype:2
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2 )"
+DEPEND="${RDEPEND}
+ dev-util/intltool
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+src_prepare() {
+ use gtk || epatch "${FILESDIR}"/${PN}-2.3.0-cfg.patch
+ epatch "${FILESDIR}"/${P}-{desktopfile,nowerror}.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable gtk wbar-config)
+}