[oe] [meta-xfce][PATCH v2 1/1] recipes-xfce/libxfce4ui: build fixes

Stephen Arnold stephen.arnold42 at gmail.com
Tue Mar 18 03:46:43 UTC 2014


Somehow doing it in configure_prepend makes it blow up like this:

| NOTE: Executing ACLOCAL="aclocal
--system-acdir=/home/sarnold/poky/build-rpihf/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/libxfce4ui/4.10.0+gitAUTOINC+530b72f50f-r0/git/aclocal-copy/"
autoreconf --verbose --install --force --exclude=autopoint
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal
--system-acdir=/home/sarnold/poky/build-rpihf/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/libxfce4ui/4.10.0+gitAUTOINC+530b72f50f-r0/git/aclocal-copy/
--force
| aclocal: error: couldn't open directory
'/home/sarnold/poky/build-rpihf/tmp/work/arm1176jzfshf-vfp-poky-linux-gnueabi/libxfce4ui/4.10.0+gitAUTOINC+530b72f50f-r0/git/aclocal-copy/':
No such file or directory
| autoreconf: aclocal failed with exit status: 1
| ERROR: autoreconf execution failed.



On Mon, Mar 17, 2014 at 1:39 AM, Andreas Müller <
schnitzeltony at googlemail.com> wrote:

> On Mon, Mar 17, 2014 at 1:43 AM, Stephen Arnold
> <stephen.arnold42 at gmail.com> wrote:
> > From: "Stephen Arnold" <stephen.arnold42 at gmail.com>
> >
> > libxfce4ui build fixes:
> >  - updated depends
> >  - set SRCREV to 4.10.0 tag
> AFAICR this will break xfce4-settings see commit
> b3a2a01b40affbedc2b0951f7180c1212d24d532.
> >  - added missing inherit
> >  - added pre-config task
> >
> > Signed-off-by: Stephen Arnold <stephen.arnold42 at gmail.com>
> >
> > ---
> >  .../recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb   | 23
> ++++++++++++++--------
> >  1 file changed, 15 insertions(+), 8 deletions(-)
> >
> > diff --git a/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bbb/meta-xfce/recipes-xfce/libxfce4ui/
> libxfce4ui_4.10.0.bb
> > index cc63a9f..b17ebc1 100644
> > --- a/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb
> > +++ b/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb
> > @@ -2,23 +2,28 @@ SUMMARY = "Xfce4 Widget library and X Window System
> interaction"
> >  SECTION = "x11/libs"
> >  LICENSE = "GPLv2"
> >  LIC_FILES_CHKSUM = "file://COPYING;md5=252890d9eee26aab7b432e8b8a616475"
> > -DEPENDS = "gtk+ intltool libxfce4util startup-notification xfconf
> glade3"
> > +DEPENDS = "perl-native glib-2.0 gtk+ intltool libxfce4util xfconf
> xfce4-dev-tools virtual/libx11 libsm libice"
> >
> > -inherit xfce
> > +inherit autotools gettext xfce
> >
> >  SRC_URI = " \
> >      git://git.xfce.org/xfce/libxfce4ui;protocol=git \
> >
>  file://0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch \
> > -    file://0002-configure.ac.in-remove-optional-gtk3-support.patch \
> >  "
> > -SRCREV = "530b72f50fcbd8cb4b970fcc97be0321bf78183e"
> > -PV = "4.10.0+git${SRCPV}"
> > +
> > +SRCREV = "cf85eac7804e09b24f3e8fb4165f60b1c9f8cf49"
> > +PV = "4.10.0"
> >  S = "${WORKDIR}/git"
> >
> > -EXTRA_OECONF += "--enable-maintainer-mode --disable-debug"
> > +PACKAGECONFIG ??= ""
> > +PACKAGECONFIG[gladeui] = "--enable-gladeui,--disable-gladeui,glade3"
> > +PACKAGECONFIG[startup-notification] =
> "--enable-startup-notification,--disable-startup-notification,startup-notification"
> > +
> > +EXTRA_OECONF += "--enable-maintainer-mode --disable-debug
> --with-vendor-info=${DISTRO}"
> >
> > -do_configure_prepend() {
> > -       NOCONFIGURE=yes ./autogen.sh
> > +do_patch_extra() {
> > +    sed -i /GTK3/d ${S}/configure.ac.in
> > +    NOCONFIGURE=yes ./autogen.sh
> >  }
> >
> >  FILES_${PN}-dbg += "${libdir}/glade3/modules/.debug"
> > @@ -27,3 +32,5 @@ FILES_${PN}-dev += "${libdir}/glade3/modules/*.la \
> >  PACKAGES += "${PN}-glade"
> >  FILES_${PN}-glade = "${libdir}/glade3 \
> >                       ${datadir}/glade3"
> > +
> > +addtask do_patch_extra before do_configure after do_patch
> why not do_configure_prepend?
>
> You say 'build fixes'. Could you append a log showing why these
> changes are necessary?
>
> Andreas
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list