sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (68f542d2f1a98f00125acefcb12f6e08e209254d)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (68f542d2f1a98f00125acefcb12f6e08e209254d)
- Date: Tue, 24 Jul 2012 10:43:10 -0500
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
x11/gtk-chtheme/HISTORY | 4 ++++
x11/gtk-chtheme/PRE_BUILD | 4 ++++
x11/gtk-chtheme/gtk224.patch | 22 ++++++++++++++++++++++
3 files changed, 30 insertions(+)
New commits:
commit 68f542d2f1a98f00125acefcb12f6e08e209254d
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
gtk-chtheme: fixed build with gtk+2 >= 2.24
diff --git a/x11/gtk-chtheme/HISTORY b/x11/gtk-chtheme/HISTORY
index b0be2b9..a430b4f 100644
--- a/x11/gtk-chtheme/HISTORY
+++ b/x11/gtk-chtheme/HISTORY
@@ -1,3 +1,7 @@
+2012-07-24 Vlad Glagolev <stealth AT sourcemage.org>
+ * PRE_BUILD: added, to apply the patch
+ * gtk224.patch: added, to fix build with gtk+2 >= 2.24
+
2006-10-03 Juuso Alasuutari <iuso AT sourcemage.org>
* DETAILS: [automated] Removed UPDATED.
diff --git a/x11/gtk-chtheme/PRE_BUILD b/x11/gtk-chtheme/PRE_BUILD
new file mode 100755
index 0000000..65fca46
--- /dev/null
+++ b/x11/gtk-chtheme/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p0 < "$SPELL_DIRECTORY/gtk224.patch"
diff --git a/x11/gtk-chtheme/gtk224.patch b/x11/gtk-chtheme/gtk224.patch
new file mode 100644
index 0000000..4fad5b4
--- /dev/null
+++ b/x11/gtk-chtheme/gtk224.patch
@@ -0,0 +1,22 @@
+--- util.c.orig 2004-02-08 17:42:33.000000000 +0400
++++ util.c 2012-07-24 19:32:31.725182191 +0400
+@@ -19,7 +19,7 @@
+
+ GtkWidget* unfocussable(GtkWidget *w)
+ {
+- GTK_WIDGET_UNSET_FLAGS(w, GTK_CAN_FOCUS);
++ gtk_widget_set_can_focus(w, TRUE);
+ return w;
+ }
+
+--- theme_sel.c.orig 2004-02-09 06:20:28.000000000 +0400
++++ theme_sel.c 2012-07-24 19:37:24.000000000 +0400
+@@ -110,7 +110,7 @@
+ GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
+ gtk_container_add(GTK_CONTAINER(sw), theme_list);
+
+- gtk_timeout_add(0, (GtkFunction)theme_list_focus, theme_list);
++ gtk_timeout_add(0, (GSourceFunc)theme_list_focus, theme_list);
+
+ return sw;
+ }
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (68f542d2f1a98f00125acefcb12f6e08e209254d), Vlad Glagolev, 07/24/2012
Archive powered by MHonArc 2.6.24.