summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2006-06-04 01:05:51 +0000
committerJory Pratt <anarchy@gentoo.org>2006-06-04 01:05:51 +0000
commitb91f14707f3c106591ace9da1680b3afcc6cdfc2 (patch)
treeb50e21ffe556d2794e50790478a2561177f128a9 /x11-misc/obconf
parentgtk use color support (diff)
downloadgentoo-2-b91f14707f3c106591ace9da1680b3afcc6cdfc2.tar.gz
gentoo-2-b91f14707f3c106591ace9da1680b3afcc6cdfc2.tar.bz2
gentoo-2-b91f14707f3c106591ace9da1680b3afcc6cdfc2.zip
homepage update, revision bump to support >=openbox-20060509
(Portage version: 2.1_rc4)
Diffstat (limited to 'x11-misc/obconf')
-rw-r--r--x11-misc/obconf/ChangeLog10
-rw-r--r--x11-misc/obconf/files/digest-obconf-1.63
-rw-r--r--x11-misc/obconf/files/obconf-1.6-hideMenuHeader.patch149
-rw-r--r--x11-misc/obconf/obconf-1.6.ebuild26
4 files changed, 186 insertions, 2 deletions
diff --git a/x11-misc/obconf/ChangeLog b/x11-misc/obconf/ChangeLog
index b56368fae80c..6e239d7bc654 100644
--- a/x11-misc/obconf/ChangeLog
+++ b/x11-misc/obconf/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-misc/obconf
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/obconf/ChangeLog,v 1.16 2005/10/18 13:55:00 agriffis Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/obconf/ChangeLog,v 1.17 2006/06/04 01:05:51 anarchy Exp $
+
+*obconf-1.6 (04 Jun 2006)
+
+ 04 Jun 2006; Jory A. Pratt <anarchy@gentoo.org>
+ +files/obconf-1.6-hideMenuHeader.patch, +obconf-1.6.ebuild:
+ homepage update, revision bump to support >=openbox-20060509
18 Oct 2005; Aron Griffis <agriffis@gentoo.org> obconf-1.5-r1.ebuild:
Mark 1.5-r1 stable on alpha
diff --git a/x11-misc/obconf/files/digest-obconf-1.6 b/x11-misc/obconf/files/digest-obconf-1.6
new file mode 100644
index 000000000000..981148e8b652
--- /dev/null
+++ b/x11-misc/obconf/files/digest-obconf-1.6
@@ -0,0 +1,3 @@
+MD5 aaf62498b11d52dfce7a0b6060867a19 obconf-1.6.tar.gz 166214
+RMD160 234d262855dac53182a9130e3116f75667af6713 obconf-1.6.tar.gz 166214
+SHA256 b491a3dd38185e187a61fef86a3382af684e6bd4fbf07b1704cfc9b0c7579a4b obconf-1.6.tar.gz 166214
diff --git a/x11-misc/obconf/files/obconf-1.6-hideMenuHeader.patch b/x11-misc/obconf/files/obconf-1.6-hideMenuHeader.patch
new file mode 100644
index 000000000000..3ef85ac58eb5
--- /dev/null
+++ b/x11-misc/obconf/files/obconf-1.6-hideMenuHeader.patch
@@ -0,0 +1,149 @@
+diff -ruN obconf-1.6/src/handlers.c obconf-1.6_hideMenuHeader/src/handlers.c
+--- obconf-1.6/src/handlers.c 2006-03-06 23:40:50.000000000 -0800
++++ obconf-1.6_hideMenuHeader/src/handlers.c 2006-04-16 22:10:59.000000000 -0700
+@@ -164,6 +164,14 @@
+ mapping = FALSE;
+ }
+
++void setup_hide_menu_header(GtkWidget *w)
++{
++ mapping = TRUE;
++ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(w),
++ tree_get_bool("theme/hideMenuHeader", TRUE));
++ mapping = FALSE;
++}
++
+ void setup_place_mouse(GtkWidget *w)
+ {
+ gchar *s;
+@@ -592,6 +600,13 @@
+ tree_set_bool("focus/focusNew", gtk_toggle_button_get_active(w));
+ }
+
++void on_hide_menu_header_toggled(GtkToggleButton *w, gpointer data)
++{
++ if (mapping) return;
++
++ tree_set_bool("theme/hideMenuHeader", gtk_toggle_button_get_active(w));
++}
++
+ void on_place_mouse_toggled(GtkToggleButton *w, gpointer data)
+ {
+ if (mapping) return;
+diff -ruN obconf-1.6/src/main.c obconf-1.6_hideMenuHeader/src/main.c
+--- obconf-1.6/src/main.c 2006-03-06 23:40:50.000000000 -0800
++++ obconf-1.6_hideMenuHeader/src/main.c 2006-04-16 22:10:49.000000000 -0700
+@@ -90,6 +90,7 @@
+ setup_focus_raise(glade_xml_get_widget(glade, "focus_raise"));
+ setup_focus_delay(glade_xml_get_widget(glade, "focus_delay"));
+ setup_focus_new(glade_xml_get_widget(glade, "focus_new"));
++ setup_hide_menu_header(glade_xml_get_widget(glade, "hide_menu_header"));
+ setup_place_mouse(glade_xml_get_widget(glade, "place_mouse"));
+ setup_resist_window(glade_xml_get_widget(glade, "resist_window"));
+ setup_resist_edge(glade_xml_get_widget(glade, "resist_edge"));
+diff -ruN obconf-1.6/src/obconf.glade obconf-1.6_hideMenuHeader/src/obconf.glade
+--- obconf-1.6/src/obconf.glade 2006-03-07 00:23:34.000000000 -0800
++++ obconf-1.6_hideMenuHeader/src/obconf.glade 2006-04-16 22:10:54.000000000 -0700
+@@ -297,6 +297,102 @@
+ <property name="fill">True</property>
+ </packing>
+ </child>
++
++ <child>
++ <widget class="GtkLabel" id="label85">
++ <property name="visible">True</property>
++ <property name="label" translatable="yes">&lt;span weight=&quot;bold&quot;&gt;Menu&lt;/span&gt;</property>
++ <property name="use_underline">False</property>
++ <property name="use_markup">True</property>
++ <property name="justify">GTK_JUSTIFY_LEFT</property>
++ <property name="wrap">False</property>
++ <property name="selectable">False</property>
++ <property name="xalign">0</property>
++ <property name="yalign">0.5</property>
++ <property name="xpad">0</property>
++ <property name="ypad">0</property>
++ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
++ <property name="width_chars">-1</property>
++ <property name="single_line_mode">False</property>
++ <property name="angle">0</property>
++ </widget>
++ <packing>
++ <property name="padding">0</property>
++ <property name="expand">False</property>
++ <property name="fill">False</property>
++ </packing>
++ </child>
++
++ <child>
++ <widget class="GtkHBox" id="hbox41">
++ <property name="visible">True</property>
++ <property name="homogeneous">False</property>
++ <property name="spacing">0</property>
++
++ <child>
++ <widget class="GtkLabel" id="label84">
++ <property name="visible">True</property>
++ <property name="label" translatable="yes"> </property>
++ <property name="use_underline">False</property>
++ <property name="use_markup">False</property>
++ <property name="justify">GTK_JUSTIFY_LEFT</property>
++ <property name="wrap">False</property>
++ <property name="selectable">False</property>
++ <property name="xalign">0.5</property>
++ <property name="yalign">0.5</property>
++ <property name="xpad">0</property>
++ <property name="ypad">0</property>
++ <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
++ <property name="width_chars">-1</property>
++ <property name="single_line_mode">False</property>
++ <property name="angle">0</property>
++ </widget>
++ <packing>
++ <property name="padding">0</property>
++ <property name="expand">False</property>
++ <property name="fill">False</property>
++ </packing>
++ </child>
++
++ <child>
++ <widget class="GtkVBox" id="vbox36">
++ <property name="visible">True</property>
++ <property name="homogeneous">False</property>
++ <property name="spacing">6</property>
++
++ <child>
++ <widget class="GtkCheckButton" id="hide_menu_header">
++ <property name="visible">True</property>
++ <property name="can_focus">True</property>
++ <property name="label" translatable="yes">_Hide menu header</property>
++ <property name="use_underline">True</property>
++ <property name="relief">GTK_RELIEF_NORMAL</property>
++ <property name="focus_on_click">True</property>
++ <property name="active">False</property>
++ <property name="inconsistent">False</property>
++ <property name="draw_indicator">True</property>
++ <signal name="toggled" handler="on_hide_menu_header_toggled" after="yes" last_modification_time="Sun, 14 Sep 2003 11:25:04 GMT"/>
++ </widget>
++ <packing>
++ <property name="padding">0</property>
++ <property name="expand">False</property>
++ <property name="fill">False</property>
++ </packing>
++ </child>
++ </widget>
++ <packing>
++ <property name="padding">0</property>
++ <property name="expand">True</property>
++ <property name="fill">True</property>
++ </packing>
++ </child>
++ </widget>
++ <packing>
++ <property name="padding">0</property>
++ <property name="expand">True</property>
++ <property name="fill">True</property>
++ </packing>
++ </child>
+ </widget>
+ <packing>
+ <property name="padding">0</property>
diff --git a/x11-misc/obconf/obconf-1.6.ebuild b/x11-misc/obconf/obconf-1.6.ebuild
new file mode 100644
index 000000000000..32049cad2925
--- /dev/null
+++ b/x11-misc/obconf/obconf-1.6.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/obconf/obconf-1.6.ebuild,v 1.1 2006/06/04 01:05:51 anarchy Exp $
+
+DESCRIPTION="ObConf is a tool for configuring the Openbox window manager."
+SRC_URI="http://tr.openmonkey.com/files/obconf/${P}.tar.gz"
+HOMEPAGE="http://tr.openmonkey.com/pages/obconf"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+SLOT="0"
+
+DEPEND=">=x11-libs/gtk+-2
+ >=gnome-base/libglade-2
+ x11-libs/startup-notification
+ >=x11-wm/openbox-20060509"
+
+src_unpack () {
+ unpack ${A}
+
+ epatch ${FILESDIR}/${P}-hideMenuHeader.patch
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+}