recipes-xfce/libxfce4ui: build fixes
PATCH v2 1/1 recipes-xfce/libxfce4ui: build fixes
From: "Stephen Arnold" <[email protected]>
libxfce4ui build fixes:
- updated depends
- set SRCREV to 4.10.0 tag
- added missing inherit
- added pre-config task
--- .../recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb | 23 ++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-)
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb +15 -8
@@ -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
Signature · 1 line
1.8.5.3
Quoted 5 lines · Stephen Arnold
From: "Stephen Arnold" <[email protected]>
libxfce4ui build fixes:
- updated depends
- set SRCREV to 4.10.0 tag
AFAICR this will break xfce4-settings see commitb3a2a01b40affbedc2b0951f7180c1212d24d532.
Quoted 51 lines
- added missing inherit
- added pre-config taskSigned-off-by Stephen Arnold <[email protected]>--- .../recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb | 23 ++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-)meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb +13
-8@@ -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"
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb FILES_${PN}-dev += "${libdir}/glade3/modules/*.la \ · line 36
Quoted 5 lines
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb +2
-0@@ -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
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.
Quoted 85 lines · Andreas Müller
Quoted 5 lines · Stephen Arnold
From: "Stephen Arnold" <[email protected]>
libxfce4ui build fixes:
- updated depends
- set SRCREV to 4.10.0 tagAFAICR this will break xfce4-settings see commit
b3a2a01b40affbedc2b0951f7180c1212d24d532.Quoted 7 lines
- added missing inherit
- added pre-config taskSigned-off-by Stephen Arnold <[email protected]>--- .../recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb | 23++++++++++++++--------
Review
Quoted 3 lines
1 file changed, 15 insertions(+), 8 deletions(-)(quoted diff) +0
-0libxfce4ui_4.10.0.bb
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb SUMMARY = "Xfce4 Widget library and X Window System
Quoted 4 lines
index cc63a9f..b17ebc1 100644
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb +0
-0@@ -2,23 +2,28 @@ SUMMARY = "Xfce4 Widget library and X Window Systeminteraction"
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb SUMMARY = "Xfce4 Widget library and X Window System interaction"
Quoted 4 lines
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb +0
-1SECTION = "x11/libs" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=252890d9eee26aab7b432e8b8a616475" -DEPENDS = "gtk+ intltool libxfce4util startup-notification xfconfglade3"
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb SUMMARY = "Xfce4 Widget library and X Window System · line 5
Quoted 1 line
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb +1
-0+DEPENDS = "perl-native glib-2.0 gtk+ intltool libxfce4util xfconfxfce4-dev-tools virtual/libx11 libsm libice"
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb SUMMARY = "Xfce4 Widget library and X Window System interaction" · line 17
Quoted 7 lines
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb +1
-1-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 \
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb SUMMARY = "Xfce4 Widget library and X Window System interaction"
Quoted 13 lines
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb +6
-4- 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"
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb SUMMARY = "Xfce4 Widget library and X Window System · line 21
Quoted 2 lines
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb +2
-0+ +EXTRA_OECONF += "--enable-maintainer-mode --disable-debug--with-vendor-info=${DISTRO}"
Quoted 10 lines
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb +3
-2-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"meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb FILES_${PN}-dev += "${libdir}/glade3/modules/*.la \ · line 36
Quoted 5 lines
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb +2
-0@@ -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_patchwhy not
do_configure_prepend?You say 'build fixes'. Could you append a log showing why these changes are necessary?
Andreas
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel