From 6cc63b713a83f8e624db6a042ab6647051db0c8a Mon Sep 17 00:00:00 2001 From: Jussi Kukkonen Date: Wed, 27 Apr 2016 00:47:22 +0300 Subject: matchbox-config-gtk: Upgrade to 0.2 New version supports Gtk+3. Rebase the patch. Signed-off-by: Jussi Kukkonen Signed-off-by: Ross Burton --- .../matchbox-config-gtk/files/no-handed.patch | 26 +++++++++++++--------- .../matchbox-config-gtk/matchbox-config-gtk_0.2.bb | 22 ++++++++++++++++++ .../matchbox-config-gtk/matchbox-config-gtk_git.bb | 23 ------------------- 3 files changed, 37 insertions(+), 34 deletions(-) create mode 100644 meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_0.2.bb delete mode 100644 meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_git.bb diff --git a/meta/recipes-sato/matchbox-config-gtk/files/no-handed.patch b/meta/recipes-sato/matchbox-config-gtk/files/no-handed.patch index 825694962b..1cb184fb4c 100644 --- a/meta/recipes-sato/matchbox-config-gtk/files/no-handed.patch +++ b/meta/recipes-sato/matchbox-config-gtk/files/no-handed.patch @@ -1,10 +1,13 @@ Upstream-Status: Inappropriate [configuration] +--- + appearance/mb-appearance.c | 4 ++++ + 1 file changed, 4 insertions(+) -Index: appearance/mb-appearance.c -=================================================================== ---- appearance/mb-appearance.c (revision 1614) -+++ appearance/mb-appearance.c (working copy) -@@ -300,11 +300,13 @@ +diff --git a/appearance/mb-appearance.c b/appearance/mb-appearance.c +index 6af8376..71fd57b 100644 +--- a/appearance/mb-appearance.c ++++ b/appearance/mb-appearance.c +@@ -317,11 +317,13 @@ on_gconf_value_changed (GConfClient* client, const gchar* key, GConfValue* value gtk_font_button_set_font_name (GTK_FONT_BUTTON (font_button), gconf_value_get_string (value)); } else if (strcmp (key, HANDED_KEY) == 0) { @@ -18,18 +21,19 @@ Index: appearance/mb-appearance.c } } -@@ -395,12 +397,13 @@ - gtk_container_add (GTK_CONTAINER (align), font_button); +@@ -408,10 +410,12 @@ main (int argc, char **argv) { /* Left/Right Handed */ -- + +#if 0 - frame = new_frame (_("Orientation"), &align); - gtk_box_pack_start (GTK_BOX (box), frame, TRUE, TRUE, 0); handed_check = gtk_check_button_new_with_mnemonic (_("_Left-handed")); + frame = new_frame (_("Orientation"),handed_check); + gtk_box_pack_start (GTK_BOX (box), frame, TRUE, TRUE, 0); g_signal_connect (handed_check, "toggled", G_CALLBACK (on_handed_set), NULL); - gtk_container_add (GTK_CONTAINER (align), handed_check); +#endif gconf_client_add_dir (gconf, INTERFACE_DIR, GCONF_CLIENT_PRELOAD_ONELEVEL, NULL); g_signal_connect (gconf, "value-changed", G_CALLBACK (on_gconf_value_changed), NULL); +-- +2.8.1 + diff --git a/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_0.2.bb b/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_0.2.bb new file mode 100644 index 0000000000..3ca5989944 --- /dev/null +++ b/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_0.2.bb @@ -0,0 +1,22 @@ +SUMMARY = "Matchbox GTK+ theme configuration application" +HOMEPAGE = "http://matchbox-project.org" +BUGTRACKER = "http://bugzilla.yoctoproject.org/" + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ + file://appearance/mb-appearance.c;endline=25;md5=ea92333cf8a6802639d62d874c114a28" + +DEPENDS = "gconf gtk+3" +RDEPENDS_${PN} = "settings-daemon" + +# SRCREV tagged 0.2 +SRCREV = "ef2192ce98d9374ffdad5f78544c3f8f353c16aa" +SRC_URI = "git://git.yoctoproject.org/${BPN} \ + file://no-handed.patch" + +S = "${WORKDIR}/git" + +inherit autotools pkgconfig distro_features_check + +# The settings-daemon requires x11 in DISTRO_FEATURES +REQUIRED_DISTRO_FEATURES = "x11" diff --git a/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_git.bb b/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_git.bb deleted file mode 100644 index 5f73a4c48d..0000000000 --- a/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_git.bb +++ /dev/null @@ -1,23 +0,0 @@ -SUMMARY = "Matchbox GTK+ theme configuration application" -HOMEPAGE = "http://matchbox-project.org" -BUGTRACKER = "http://bugzilla.yoctoproject.org/" - -LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ - file://appearance/mb-appearance.c;endline=25;md5=ea92333cf8a6802639d62d874c114a28" - -DEPENDS = "gconf gtk+" -RDEPENDS_${PN} = "settings-daemon" - -SRCREV = "3ed74dfb7c57be088a5ab36e446c0ccde9fa1028" -PV = "0.0+git${SRCPV}" - -S = "${WORKDIR}/git" - -SRC_URI = "git://git.yoctoproject.org/${BPN} \ - file://no-handed.patch;striplevel=0" - -inherit autotools pkgconfig distro_features_check - -# The settings-daemon requires x11 in DISTRO_FEATURES -REQUIRED_DISTRO_FEATURES = "x11" -- cgit 1.2.3-korg