All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kang Kai <Kai.Kang@windriver.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-xfce][Patch] xfce4-datetime-setter: fix compile error and requires distro feature x11
Date: Tue, 27 Aug 2019 09:39:22 +0800	[thread overview]
Message-ID: <57be0426-253d-cae1-5118-5a0a48147f01@windriver.com> (raw)
In-Reply-To: <CAMKF1sqpPg6bxtYD7vL9XckcJxfiYuNVscyMay2EWeyknM0Z2g@mail.gmail.com>

On 2019/8/27 上午9:37, Khem Raj wrote:
>
>
> On Mon, Aug 26, 2019 at 6:11 PM Kang Kai <Kai.Kang@windriver.com 
> <mailto:Kai.Kang@windriver.com>> wrote:
>
>     On 2019/8/24 上午4:45, Andreas Müller wrote:
>     > On Fri, Aug 23, 2019 at 10:38 PM Andreas Müller
>     <schnitzeltony@gmail.com <mailto:schnitzeltony@gmail.com>> wrote:
>     >> On Fri, Aug 23, 2019 at 3:59 AM Kang Kai
>     <Kai.Kang@windriver.com <mailto:Kai.Kang@windriver.com>> wrote:
>     >>> On 2019/8/16 下午3:12, kai.kang@windriver.com
>     <mailto:kai.kang@windriver.com> wrote:
>     >>>> From: Kai Kang <kai.kang@windriver.com
>     <mailto:kai.kang@windriver.com>>
>     >>>>
>     >>>> It fails to compile xfce4-datetime-setter occasionally when
>     system load
>     >>>> is high:
>     >>>>
>     >>>> | ../git/xfce/main.c:42:10: fatal error:
>     cc-datetime-resources.h: No such file or directory
>     >>>> |    42 | #include "cc-datetime-resources.h"
>     >>>> |       | ^~~~~~~~~~~~~~~~~~~~~~~~~
>     >>>> | compilation terminated.
>     >>>>
>     >>>> Update datetime_panel_dep to make sure cc-datetime-resources.h be
>     >>>> generated before including.
>     >>> Hi Andreas,
>     >>>
>     >>> Any comment on this patch please? And I also sent a pull
>     request on github.
>     >>>
>     >>> Regards,
>     >>> Kai
>     >>>
>     >>>
>     >>>> xfce4-datetime-setter depends on libxfce4ui which requires distro
>     >>>> feature 'x11', so make it require 'x11' too.
>     >>>>
>     >>>> Signed-off-by: Kai Kang <kai.kang@windriver.com
>     <mailto:kai.kang@windriver.com>>
>     >>>> ---
>     >>>>    .../files/fix-inner-dependency.patch       | 28
>     +++++++++++++++++++
>     >>>>    .../xfce4-datetime-setter_3.32.2.bb
>     <http://xfce4-datetime-setter_3.32.2.bb>          |  7 +++--
>     >>>>    2 files changed, 33 insertions(+), 2 deletions(-)
>     >>>>    create mode 100644
>     meta-xfce/recipes-apps/xfce4-datetime-setter/files/fix-inner-dependency.patch
>     >>>>
>     >>>> diff --git
>     a/meta-xfce/recipes-apps/xfce4-datetime-setter/files/fix-inner-dependency.patch
>     b/meta-xfce/recipes-apps/xfce4-datetime-setter/files/fix-inner-dependency.patch
>     >>>> new file mode 100644
>     >>>> index 000000000..9cccb892f
>     >>>> --- /dev/null
>     >>>> +++
>     b/meta-xfce/recipes-apps/xfce4-datetime-setter/files/fix-inner-dependency.patch
>     >>>> @@ -0,0 +1,28 @@
>     >>>> +It fails to compile xfce4-datetime-setter occasionally when
>     system load is high:
>     >>>> +
>     >>>> +| ../git/xfce/main.c:42:10: fatal error:
>     cc-datetime-resources.h: No such file or directory
>     >>>> +|    42 | #include "cc-datetime-resources.h"
>     >>>> +|       | ^~~~~~~~~~~~~~~~~~~~~~~~~
>     >>>> +| compilation terminated.
>     >>>> +
>     >>>> +Update datetime_panel_dep to make sure
>     cc-datetime-resources.h be generated
>     >>>> +before including.
>     >>>> +
>     >>>> +Upstream-Status: Submitted
>     [https://github.com/schnitzeltony/xfce4-datetime-setter/pull/2]
>     >>>> +
>     >>>> +Signed-off-by: Kai Kang <kai.kang@windriver.com
>     <mailto:kai.kang@windriver.com>>
>     >>>> +---
>     >>>> +diff --git a/panels/datetime/meson.build
>     b/panels/datetime/meson.build
>     >>>> +index c5bf39c..241e177 100644
>     >>>> +--- a/panels/datetime/meson.build
>     >>>> ++++ b/panels/datetime/meson.build
>     >>>> +@@ -175,7 +175,8 @@ datetime_panel_lib = static_library(
>     >>>> +
>     >>>> + datetime_panel_dep = declare_dependency(
>     >>>> +   include_directories: [ common_inc,
>     include_directories('.') ],
>     >>>> +-  link_with: datetime_panel_lib
>     >>>> ++  link_with: datetime_panel_lib,
>     >>>> ++  sources: resources
>     >>>> + )
>     >>>> +
>     >>>> + subdir('po-timezones')
>     >>>> diff --git
>     a/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
>     <http://xfce4-datetime-setter_3.32.2.bb>
>     b/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
>     <http://xfce4-datetime-setter_3.32.2.bb>
>     >>>> index d64358537..4d128ac51 100644
>     >>>> ---
>     a/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
>     <http://xfce4-datetime-setter_3.32.2.bb>
>     >>>> +++
>     b/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
>     <http://xfce4-datetime-setter_3.32.2.bb>
>     >>>> @@ -6,13 +6,16 @@ LIC_FILES_CHKSUM =
>     "file://COPYING;md5=75859989545e37968a99b631ef42722e"
>     >>>>
>     >>>>    DEPENDS = "glib-2.0-native libxfce4ui"
>     >>>>
>     >>>> -SRC_URI =
>     "git://github.com/schnitzeltony/xfce4-datetime-setter.git;protocol=https
>     <http://github.com/schnitzeltony/xfce4-datetime-setter.git;protocol=https>"
>     >>>> +SRC_URI =
>     "git://github.com/schnitzeltony/xfce4-datetime-setter.git;protocol=https
>     <http://github.com/schnitzeltony/xfce4-datetime-setter.git;protocol=https>
>     \
>     >>>> +  file://fix-inner-dependency.patch \
>     >>>> +"
>     >>>>    SRCREV = "5c7a73a3824b03b91719e05e2604b97c7a72d50f"
>     >>>>
>     >>>>    S = "${WORKDIR}/git"
>     >>>>
>     >>>>    inherit gettext meson distro_features_check
>     >>>> -REQUIRED_DISTRO_FEATURES = "systemd"
>     >>>> +
>     >>>> +REQUIRED_DISTRO_FEATURES = "systemd x11"
>     >>>>
>     >>>>    FILES_${PN} += "${datadir}/icons/hicolor"
>     >>>>
>     >> Woops I missed that completely - will check
>     > Thanks! Did apply the patch
>
>     Hi Andreas,
>
>     Thanks.
>
>
>     Hi Khem,
>
>     Would you like to review this patch? Thanks.
>
>
> This looks fine to me have we not applied it yet ?

I didn't see it in master-next. :(

Kai


>
>     Kai
>
>
>     >
>     > Andreas
>     >
>
>     -- 
>     Kai Kang
>

-- 
Kai Kang



  reply	other threads:[~2019-08-27  1:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-16  7:12 [meta-xfce][Patch] xfce4-datetime-setter: fix compile error and requires distro feature x11 kai.kang
2019-08-23  1:57 ` Kang Kai
2019-08-23 20:38   ` Andreas Müller
2019-08-23 20:45     ` Andreas Müller
2019-08-27  1:10       ` Kang Kai
2019-08-27  1:37         ` Khem Raj
2019-08-27  1:39           ` Kang Kai [this message]
2019-08-27  1:44             ` Khem Raj

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=57be0426-253d-cae1-5118-5a0a48147f01@windriver.com \
    --to=kai.kang@windriver.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /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.