diff options
author | Pacho Ramos <pacho@gentoo.org> | 2011-10-17 20:46:58 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2011-10-17 20:46:58 +0000 |
commit | 06e17c654ccca8cfc60d74e00c5c019f03382291 (patch) | |
tree | cafe393d8c09e97bb8cd3e89d4b0065b50fb30a1 | |
parent | arm stable, bug #386345 (diff) | |
download | historical-06e17c654ccca8cfc60d74e00c5c019f03382291.tar.gz historical-06e17c654ccca8cfc60d74e00c5c019f03382291.tar.bz2 historical-06e17c654ccca8cfc60d74e00c5c019f03382291.zip |
Apply upstream patches to stop relying on deprecated stuff, also drop .la files.
Package-Manager: portage-2.1.10.28/cvs/Linux x86_64
6 files changed, 396 insertions, 15 deletions
diff --git a/gnome-base/libgnomekbd/ChangeLog b/gnome-base/libgnomekbd/ChangeLog index f5cac50e778e..6046a8b9cc4f 100644 --- a/gnome-base/libgnomekbd/ChangeLog +++ b/gnome-base/libgnomekbd/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for gnome-base/libgnomekbd # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/libgnomekbd/ChangeLog,v 1.92 2011/08/14 14:58:21 nirbheek Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-base/libgnomekbd/ChangeLog,v 1.93 2011/10/17 20:46:58 pacho Exp $ + +*libgnomekbd-2.32.0-r1 (17 Oct 2011) + + 17 Oct 2011; Pacho Ramos <pacho@gentoo.org> +libgnomekbd-2.32.0-r1.ebuild, + +files/libgnomekbd-2.32.0-gdkdisplay-usage.patch, + +files/libgnomekbd-2.32.0-gdkkeyname-replace.patch, + +files/libgnomekbd-2.32.0-unneeded-casts.patch: + Apply upstream patches to stop relying on deprecated stuff, also drop .la + files. *libgnomekbd-3.0.0.1 (14 Aug 2011) diff --git a/gnome-base/libgnomekbd/Manifest b/gnome-base/libgnomekbd/Manifest index 5fd7c75a005f..c4c62de31148 100644 --- a/gnome-base/libgnomekbd/Manifest +++ b/gnome-base/libgnomekbd/Manifest @@ -1,26 +1,20 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX libgnomekbd-2.32.0-gdkdisplay-usage.patch 2563 RMD160 0303c844d43df7b5f5fb1139802eb18f9ddc6f3d SHA1 bfe39ccd38da66bc96948654202c6fb0f712761b SHA256 65ba86cc9386d6562cfc26175015943548f9efeeafe6a55e803e3398dcc1874c +AUX libgnomekbd-2.32.0-gdkkeyname-replace.patch 5628 RMD160 6bda98342945024bc6294eed8fc4177739608804 SHA1 0d90cce527c43c9de22b56559f46419cacbae93b SHA256 f65fbe70dd6fdaef0f8aa370471390a34bcb30b5b01da449139bf42f8da92ea6 +AUX libgnomekbd-2.32.0-unneeded-casts.patch 1630 RMD160 747b75c8f10cc229a41fe97f517091743a5c5a66 SHA1 ef33c764e03346fc9ee510e1002c003c48c3bc24 SHA256 2b1b28aa84450a0ccd438f2d8a97918193dca1ddcf9dbe9e17e61d0b9e14e436 DIST libgnomekbd-2.32.0.tar.bz2 410928 RMD160 5ecca30979373f746224693c6b9ff8b6fe2a8e18 SHA1 8401db5d7888185fb3a5855f316771aa09865403 SHA256 ddd52c4cc7d83ad7ef964a1bcb4db87407e65b00ffc3e70c088ca4ee7383d256 DIST libgnomekbd-3.0.0.1.tar.bz2 428490 RMD160 563fc75183435a1aa7e014dd4cfe344d7bd1cf63 SHA1 c9b52a4136a32fbef8d226f1d86ba2b9313f162c SHA256 727293963847761b7942d9c5c195c317a5f5f18585ebc6d348147924242902e9 +EBUILD libgnomekbd-2.32.0-r1.ebuild 1181 RMD160 293d54a3bd5dc897cf7ba29647f60365734b11cc SHA1 0730ae6fdc2ab47903d10c91de4812f893582f08 SHA256 a005eec744187708d0a5946e637c2db7b6a3bce3493beb620e68c27f76c5c06d EBUILD libgnomekbd-2.32.0.ebuild 1044 RMD160 f0a26b0ce3305140acb9bb09d516f2f7ad37074e SHA1 ac21756ea9d2ac766612e5ea695fc190895925d7 SHA256 6da03f0b8219771393a186200701a3b5b094647dee12054f285ef1b95cfca2b4 EBUILD libgnomekbd-3.0.0.1.ebuild 969 RMD160 0006d0af8fcbbf0082a6faab4e17e4effef5c103 SHA1 1f588bbe3cd6f1aee36c6193fe9e9fd5b72c2765 SHA256 14d371d2a16af402b1e8f9a5d80fcb380802b1187dd120327f06fd356c30eefa -MISC ChangeLog 12136 RMD160 83ff64920d93671bf86e70d43c57db7ef129a639 SHA1 115943e7ad7866ab68864492e5f5ae989856943b SHA256 2059342f8f4001833902a5d6fe38f70279cbe062436d8f956cec7db938c56091 +MISC ChangeLog 12490 RMD160 6eb678468f45dd813c661e3d44c2671e3636aaa6 SHA1 282905d2dc0df96ac8b9cd35ccffcd6d59b278d2 SHA256 d008bcbbe561095bec3110fc48a08a74a7d92ca50df04ca722fa1bc03bdc442d MISC metadata.xml 277 RMD160 2ffb105a089a3b759ddef20bf72b06362a1d1c63 SHA1 82aa8cfe90fb0c9f7c02f295d2802d41ad2af380 SHA256 3d52f90556a9db4ad09f2fbe34e2d25b21f345e474e829ac84669d49cb64c8bb -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iQIcBAEBAgAGBQJOR+KZAAoJEO/kOhxWD91kLA8QAJXDu0u8ARo4XFXS/OUquPkL -5H033SA94h2YpzGRuFJrixQ7ti8/O4G2oG8Tq3j+lzLNTqI5tz+/KiglUtuhPfrV -t/H/9+3I4K8JoiKH+l4JIF1WSqaJadnNM20imkw3AiDrzfMarB9pCJJK85qx+kIA -XCKw7Jzl8yg1FYR5d9FC+ytGpyHcesgCjodDXVqEqZiJGvIzhgxyujF2GTVj+br2 -/x0DmXDmIHWGKZlG/3vD2eIoyJBiDPoZ12HoKCJ3DeWRzQew0dlUOvbMqxYc3TL5 -W6g2VK9Dq5apJHUbn+rhHsmX+ddpb1iosKJCoqp6nz63j0hXRs184EcfB9qTh49+ -Qadig6qBXw+BmkYAKrqZ2xP0NxQK0yApQ7EHmCC2LZZf8oJq+qjvhdW5hyS2QDSK -NgoltWtjzXAQULGMvNSI3ha9OrA5E/Q7NWc9EdWiUIoukpIFtEDgnoD85liAu7bu -os/PkRVfzvkRdb1BuqUj2z/jCUu6JRJ1ndtUVP3dF6LL1avTTwEskuj55JrMa2Er -iGyxXb5TmdouYL/nrl7CB5NN45Yh53TaWMWaNmtNP8j7hBDNb2Tp6b8fbPMdVWIA -1TP04WujEfO9u32QRySzvrCSi8tN5i2Jvu5g8MXKQn8g1fcCxt6cZsvlk0YcwOOV -/jahJb4PpdlxvIKuf4zI -=iDwL +iEYEARECAAYFAk6clEgACgkQCaWpQKGI+9RS9gCdHP4UEHGPNOOPA7lrZ6D1+kVQ +ENQAnifEhORWYqxqBiQWN9ToPSAYOHfx +=0aC6 -----END PGP SIGNATURE----- diff --git a/gnome-base/libgnomekbd/files/libgnomekbd-2.32.0-gdkdisplay-usage.patch b/gnome-base/libgnomekbd/files/libgnomekbd-2.32.0-gdkdisplay-usage.patch new file mode 100644 index 000000000000..43b8b1a65e59 --- /dev/null +++ b/gnome-base/libgnomekbd/files/libgnomekbd-2.32.0-gdkdisplay-usage.patch @@ -0,0 +1,61 @@ +From 8b62e545aa61111d8dd522ff62445b2827da3f25 Mon Sep 17 00:00:00 2001 +From: William Jon McCann <jmccann@redhat.com> +Date: Thu, 30 Sep 2010 00:50:44 +0000 +Subject: Remove GDK_DISPLAY() usage + +https://bugzilla.gnome.org/show_bug.cgi?id=630974 +--- +diff --git a/capplet/gkbd-indicator-plugins-capplet.c b/capplet/gkbd-indicator-plugins-capplet.c +index c232c98..752d28c 100644 +--- a/capplet/gkbd-indicator-plugins-capplet.c ++++ b/capplet/gkbd-indicator-plugins-capplet.c +@@ -376,7 +376,7 @@ main (int argc, char **argv) + } + gconf_error = NULL; + /*GkbdIndicatorInstallGlibLogAppender( ); */ +- gipc.engine = xkl_engine_get_instance (GDK_DISPLAY ()); ++ gipc.engine = xkl_engine_get_instance (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ())); + gipc.config_registry = + xkl_config_registry_get_instance (gipc.engine); + +diff --git a/libgnomekbd/gkbd-indicator.c b/libgnomekbd/gkbd-indicator.c +index cb2ed56..4fd42d8 100644 +--- a/libgnomekbd/gkbd-indicator.c ++++ b/libgnomekbd/gkbd-indicator.c +@@ -817,7 +817,7 @@ gkbd_indicator_global_init (void) + GConfClient *gconf_client; + XklConfigRec *xklrec = xkl_config_rec_new (); + +- globals.engine = xkl_engine_get_instance (GDK_DISPLAY ()); ++ globals.engine = xkl_engine_get_instance (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ())); + if (globals.engine == NULL) { + xkl_debug (0, "Libxklavier initialization error"); + return; +diff --git a/libgnomekbd/gkbd-keyboard-drawing.c b/libgnomekbd/gkbd-keyboard-drawing.c +index 7e3c3e8..e31dc94 100644 +--- a/libgnomekbd/gkbd-keyboard-drawing.c ++++ b/libgnomekbd/gkbd-keyboard-drawing.c +@@ -2524,7 +2524,7 @@ gkbd_keyboard_drawing_new_dialog (gint group, gchar * group_name) + GdkRectangle *rect; + GError *error = NULL; + char title[128] = ""; +- XklEngine *engine = xkl_engine_get_instance (GDK_DISPLAY ()); ++ XklEngine *engine = xkl_engine_get_instance (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ())); + + builder = gtk_builder_new (); + gtk_builder_add_from_file (builder, UIDIR "/show-layout.ui", +diff --git a/libgnomekbd/gkbd-status.c b/libgnomekbd/gkbd-status.c +index 83a5d47..c6ac2d6 100644 +--- a/libgnomekbd/gkbd-status.c ++++ b/libgnomekbd/gkbd-status.c +@@ -771,7 +771,7 @@ gkbd_status_global_init (void) + GConfClient *gconf_client; + XklConfigRec *xklrec = xkl_config_rec_new (); + +- globals.engine = xkl_engine_get_instance (GDK_DISPLAY ()); ++ globals.engine = xkl_engine_get_instance (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ())); + if (globals.engine == NULL) { + xkl_debug (0, "Libxklavier initialization error"); + return; +-- +cgit v0.9.0.2 diff --git a/gnome-base/libgnomekbd/files/libgnomekbd-2.32.0-gdkkeyname-replace.patch b/gnome-base/libgnomekbd/files/libgnomekbd-2.32.0-gdkkeyname-replace.patch new file mode 100644 index 000000000000..3a9070ade1b4 --- /dev/null +++ b/gnome-base/libgnomekbd/files/libgnomekbd-2.32.0-gdkkeyname-replace.patch @@ -0,0 +1,231 @@ +From f05774eace6d681b0fc59b2abee650b847fff8a1 Mon Sep 17 00:00:00 2001 +From: William Jon McCann <jmccann@redhat.com> +Date: Thu, 30 Sep 2010 00:46:20 +0000 +Subject: Replace GDK_keyname with GDK_KEY_keyname + +https://bugzilla.gnome.org/show_bug.cgi?id=630974 +--- +diff --git a/libgnomekbd/gkbd-indicator.c b/libgnomekbd/gkbd-indicator.c +index 4fd42d8..89ed92a 100644 +--- a/libgnomekbd/gkbd-indicator.c ++++ b/libgnomekbd/gkbd-indicator.c +@@ -233,12 +233,12 @@ gkbd_indicator_key_pressed (GtkWidget * + GkbdIndicator * gki) + { + switch (event->keyval) { +- case GDK_KP_Enter: +- case GDK_ISO_Enter: +- case GDK_3270_Enter: +- case GDK_Return: +- case GDK_space: +- case GDK_KP_Space: ++ case GDK_KEY_KP_Enter: ++ case GDK_KEY_ISO_Enter: ++ case GDK_KEY_3270_Enter: ++ case GDK_KEY_Return: ++ case GDK_KEY_space: ++ case GDK_KEY_KP_Space: + gkbd_desktop_config_lock_next_group (&globals.cfg); + return TRUE; + default: +diff --git a/libgnomekbd/gkbd-keyboard-drawing.c b/libgnomekbd/gkbd-keyboard-drawing.c +index e31dc94..3de2125 100644 +--- a/libgnomekbd/gkbd-keyboard-drawing.c ++++ b/libgnomekbd/gkbd-keyboard-drawing.c +@@ -620,147 +620,147 @@ set_key_label_in_layout (GkbdKeyboardDrawingRenderContext * context, + PangoLayout *layout = context->layout; + + switch (keyval) { +- case GDK_Scroll_Lock: ++ case GDK_KEY_Scroll_Lock: + pango_layout_set_text (layout, "Scroll\nLock", -1); + break; + +- case GDK_space: ++ case GDK_KEY_space: + pango_layout_set_text (layout, "", -1); + break; + +- case GDK_Sys_Req: ++ case GDK_KEY_Sys_Req: + pango_layout_set_text (layout, "Sys Rq", -1); + break; + +- case GDK_Page_Up: ++ case GDK_KEY_Page_Up: + pango_layout_set_text (layout, "Page\nUp", -1); + break; + +- case GDK_Page_Down: ++ case GDK_KEY_Page_Down: + pango_layout_set_text (layout, "Page\nDown", -1); + break; + +- case GDK_Num_Lock: ++ case GDK_KEY_Num_Lock: + pango_layout_set_text (layout, "Num\nLock", -1); + break; + +- case GDK_KP_Page_Up: ++ case GDK_KEY_KP_Page_Up: + pango_layout_set_text (layout, "Pg Up", -1); + break; + +- case GDK_KP_Page_Down: ++ case GDK_KEY_KP_Page_Down: + pango_layout_set_text (layout, "Pg Dn", -1); + break; + +- case GDK_KP_Home: ++ case GDK_KEY_KP_Home: + pango_layout_set_text (layout, "Home", -1); + break; + +- case GDK_KP_Left: ++ case GDK_KEY_KP_Left: + pango_layout_set_text (layout, "Left", -1); + break; + +- case GDK_KP_End: ++ case GDK_KEY_KP_End: + pango_layout_set_text (layout, "End", -1); + break; + +- case GDK_KP_Up: ++ case GDK_KEY_KP_Up: + pango_layout_set_text (layout, "Up", -1); + break; + +- case GDK_KP_Begin: ++ case GDK_KEY_KP_Begin: + pango_layout_set_text (layout, "Begin", -1); + break; + +- case GDK_KP_Right: ++ case GDK_KEY_KP_Right: + pango_layout_set_text (layout, "Right", -1); + break; + +- case GDK_KP_Enter: ++ case GDK_KEY_KP_Enter: + pango_layout_set_text (layout, "Enter", -1); + break; + +- case GDK_KP_Down: ++ case GDK_KEY_KP_Down: + pango_layout_set_text (layout, "Down", -1); + break; + +- case GDK_KP_Insert: ++ case GDK_KEY_KP_Insert: + pango_layout_set_text (layout, "Ins", -1); + break; + +- case GDK_KP_Delete: ++ case GDK_KEY_KP_Delete: + pango_layout_set_text (layout, "Del", -1); + break; + +- case GDK_dead_grave: ++ case GDK_KEY_dead_grave: + pango_layout_set_text (layout, "ˋ", -1); + break; + +- case GDK_dead_acute: ++ case GDK_KEY_dead_acute: + pango_layout_set_text (layout, "ˊ", -1); + break; + +- case GDK_dead_circumflex: ++ case GDK_KEY_dead_circumflex: + pango_layout_set_text (layout, "ˆ", -1); + break; + +- case GDK_dead_tilde: ++ case GDK_KEY_dead_tilde: + pango_layout_set_text (layout, "~", -1); + break; + +- case GDK_dead_macron: ++ case GDK_KEY_dead_macron: + pango_layout_set_text (layout, "ˉ", -1); + break; + +- case GDK_dead_breve: ++ case GDK_KEY_dead_breve: + pango_layout_set_text (layout, "˘", -1); + break; + +- case GDK_dead_abovedot: ++ case GDK_KEY_dead_abovedot: + pango_layout_set_text (layout, "˙", -1); + break; + +- case GDK_dead_diaeresis: ++ case GDK_KEY_dead_diaeresis: + pango_layout_set_text (layout, "¨", -1); + break; + +- case GDK_dead_abovering: ++ case GDK_KEY_dead_abovering: + pango_layout_set_text (layout, "˚", -1); + break; + +- case GDK_dead_doubleacute: ++ case GDK_KEY_dead_doubleacute: + pango_layout_set_text (layout, "˝", -1); + break; + +- case GDK_dead_caron: ++ case GDK_KEY_dead_caron: + pango_layout_set_text (layout, "ˇ", -1); + break; + +- case GDK_dead_cedilla: ++ case GDK_KEY_dead_cedilla: + pango_layout_set_text (layout, "¸", -1); + break; + +- case GDK_dead_ogonek: ++ case GDK_KEY_dead_ogonek: + pango_layout_set_text (layout, "˛", -1); + break; + +- /* case GDK_dead_iota: +- * case GDK_dead_voiced_sound: +- * case GDK_dead_semivoiced_sound: */ ++ /* case GDK_KEY_dead_iota: ++ * case GDK_KEY_dead_voiced_sound: ++ * case GDK_KEY_dead_semivoiced_sound: */ + +- case GDK_dead_belowdot: ++ case GDK_KEY_dead_belowdot: + pango_layout_set_text (layout, " ̣", -1); + break; + +- case GDK_horizconnector: ++ case GDK_KEY_horizconnector: + pango_layout_set_text (layout, "horiz\nconn", -1); + break; + +- case GDK_Mode_switch: ++ case GDK_KEY_Mode_switch: + pango_layout_set_text (layout, "AltGr", -1); + break; + +- case GDK_Multi_key: ++ case GDK_KEY_Multi_key: + pango_layout_set_text (layout, "Compose", -1); + break; + +@@ -2037,7 +2037,7 @@ gkbd_keyboard_drawing_init (GkbdKeyboardDrawing * drawing) + + XkbGetNames (drawing->display, XkbAllNamesMask, drawing->xkb); + drawing->l3mod = XkbKeysymToModifiers (drawing->display, +- GDK_ISO_Level3_Shift); ++ GDK_KEY_ISO_Level3_Shift); + + drawing->xkbOnDisplay = TRUE; + +-- +cgit v0.9.0.2 diff --git a/gnome-base/libgnomekbd/files/libgnomekbd-2.32.0-unneeded-casts.patch b/gnome-base/libgnomekbd/files/libgnomekbd-2.32.0-unneeded-casts.patch new file mode 100644 index 000000000000..44bc3a972bd1 --- /dev/null +++ b/gnome-base/libgnomekbd/files/libgnomekbd-2.32.0-unneeded-casts.patch @@ -0,0 +1,41 @@ +From b1079544e9585ee01b31b6e882afceb4aac938da Mon Sep 17 00:00:00 2001 +From: Sergey V. Udaltsov <svu@gnome.org> +Date: Thu, 30 Sep 2010 07:21:27 +0000 +Subject: Unneeded casts removed + +--- +diff --git a/capplet/gkbd-indicator-plugins-capplet.c b/capplet/gkbd-indicator-plugins-capplet.c +index 9058fbc..c232c98 100644 +--- a/capplet/gkbd-indicator-plugins-capplet.c ++++ b/capplet/gkbd-indicator-plugins-capplet.c +@@ -305,13 +305,13 @@ CappletSetup (GkbdIndicatorPluginsCapplet * gipc) + gtk_builder_connect_signals (builder, NULL); + + g_object_set_data (G_OBJECT (capplet), "uiData", builder); +- g_signal_connect_swapped (GTK_OBJECT (capplet), ++ g_signal_connect_swapped (capplet, + "destroy", G_CALLBACK (g_object_unref), + builder); + g_signal_connect_swapped (G_OBJECT (capplet), "unrealize", + G_CALLBACK (g_main_loop_quit), loop); + +- g_signal_connect (GTK_OBJECT (capplet), ++ g_signal_connect (capplet, + "response", G_CALLBACK (CappletResponse), NULL); + + button = GTK_WIDGET (gtk_builder_get_object (builder, "btnUp")); +diff --git a/libgnomekbd/gkbd-keyboard-drawing.c b/libgnomekbd/gkbd-keyboard-drawing.c +index 909930b..7e3c3e8 100644 +--- a/libgnomekbd/gkbd-keyboard-drawing.c ++++ b/libgnomekbd/gkbd-keyboard-drawing.c +@@ -2614,7 +2614,7 @@ gkbd_keyboard_drawing_new_dialog (gint group, gchar * group_name) + + g_object_set_data (G_OBJECT (dialog), "kbdraw", kbdraw); + +- g_signal_connect_swapped (GTK_OBJECT (dialog), "destroy", ++ g_signal_connect_swapped (dialog, "destroy", + G_CALLBACK (g_object_unref), + g_object_get_data (G_OBJECT (dialog), + "builderData")); +-- +cgit v0.9.0.2 diff --git a/gnome-base/libgnomekbd/libgnomekbd-2.32.0-r1.ebuild b/gnome-base/libgnomekbd/libgnomekbd-2.32.0-r1.ebuild new file mode 100644 index 000000000000..6e3301b1ab6a --- /dev/null +++ b/gnome-base/libgnomekbd/libgnomekbd-2.32.0-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/libgnomekbd/libgnomekbd-2.32.0-r1.ebuild,v 1.1 2011/10/17 20:46:58 pacho Exp $ + +EAPI="4" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" +GNOME_TARBALL_SUFFIX="bz2" + +inherit gnome2 + +DESCRIPTION="Gnome keyboard configuration library" +HOMEPAGE="http://www.gnome.org" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" +IUSE="test" + +# gtk+-2.20 needed for tests +RDEPEND=">=dev-libs/glib-2.18:2 + >=gnome-base/gconf-2.14:2 + >=x11-libs/gtk+-2.20:2 + >=x11-libs/libxklavier-5.0" +DEPEND="${RDEPEND} + >=dev-util/intltool-0.35 + >=dev-util/pkgconfig-0.19" + +pkg_setup() { + G2CONF="${G2CONF} $(use_enable test tests) --disable-static" + DOCS="AUTHORS ChangeLog NEWS README" +} + +src_prepare() { + gnome2_src_prepare + + # Unneeded casts removed + epatch "${FILESDIR}/${P}-unneeded-casts.patch" + + # Remove GDK_DISPLAY() usage + epatch "${FILESDIR}/${P}-gdkdisplay-usage.patch" + + # Replace GDK_keyname with GDK_KEY_keyname + epatch "${FILESDIR}/${P}-gdkkeyname-replace.patch" +} |