All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] gtk+: Fix bug in gtk-demo
Date: Fri, 17 Jul 2015 04:06:42 -0600	[thread overview]
Message-ID: <55A8D3B2.9090404@mlbassoc.com> (raw)
In-Reply-To: <1437115061-1635-1-git-send-email-lixin.fnst@cn.fujitsu.com>

On 2015-07-17 00:37, Li xin wrote:
> Modify gtkrc.c,otherwise the input-methods can not be enabled in gtk-demo.

This comment doesn't really explain why this [radical] change
in pathname is needed, it just says what you have done.

>
> Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
> ---
>   meta/recipes-gnome/gtk+/gtk+/gtkrc.c-Bug-fix.patch | 30 ++++++++++++++++++++++
>   meta/recipes-gnome/gtk+/gtk+_2.24.28.bb            |  1 +
>   2 files changed, 31 insertions(+)
>   create mode 100644 meta/recipes-gnome/gtk+/gtk+/gtkrc.c-Bug-fix.patch
>
> diff --git a/meta/recipes-gnome/gtk+/gtk+/gtkrc.c-Bug-fix.patch b/meta/recipes-gnome/gtk+/gtk+/gtkrc.c-Bug-fix.patch
> new file mode 100644
> index 0000000..59a707c
> --- /dev/null
> +++ b/meta/recipes-gnome/gtk+/gtk+/gtkrc.c-Bug-fix.patch
> @@ -0,0 +1,30 @@
> +From 3080e6d55f12b5ba453723f295653c1696c4ad44 Mon Sep 17 00:00:00 2001
> +From: Li xin <lixin.fnst@cn.fujitsu.com>
> +Date: Wed, 15 Jul 2015 20:05:05 +0900
> +Subject: [PATCH] gtkrc.c: Bug fix
> +
> +Modify gtkrc.c, otherwise the input-methods can not be enabled in gtk-demo.
> +
> +Upstream-Status: pending
> +
> +Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
> +---
> + gtk/gtkrc.c | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/gtk/gtkrc.c b/gtk/gtkrc.c
> +index 50b2563..4e6b618 100644
> +--- a/gtk/gtkrc.c
> ++++ b/gtk/gtkrc.c
> +@@ -450,7 +450,7 @@ gtk_rc_get_im_module_file (void)
> +       if (im_module_file)
> + 	result = g_strdup (im_module_file);
> +       else
> +-        result = gtk_rc_make_default_dir ("immodules.cache");
> ++        result = g_build_filename (GTK_SYSCONFDIR, "gtk-2.0", "gtk.immodules", NULL);
> +     }
> +
> +   return result;
> +--
> +1.8.4.2
> +
> diff --git a/meta/recipes-gnome/gtk+/gtk+_2.24.28.bb b/meta/recipes-gnome/gtk+/gtk+_2.24.28.bb
> index e343773..9576670 100644
> --- a/meta/recipes-gnome/gtk+/gtk+_2.24.28.bb
> +++ b/meta/recipes-gnome/gtk+/gtk+_2.24.28.bb
> @@ -10,6 +10,7 @@ SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-${PV}.tar.xz \
>              file://toggle-font.diff;striplevel=0 \
>              file://doc-fixes.patch \
>              file://strict-prototypes.patch \
> +           file://gtkrc.c-Bug-fix.patch \
>   	  "
>
>   SRC_URI[md5sum] = "bfacf87b2ea67e4e5c7866a9003e6526"
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


      reply	other threads:[~2015-07-17 10:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-17  6:37 [PATCH] gtk+: Fix bug in gtk-demo Li xin
2015-07-17 10:06 ` Gary Thomas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55A8D3B2.9090404@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.