cpuid: fix stripping
PATCH v2 1/23 cpuid: fix stripping
cpuid's Makefile passes -s to install to strip the binaries, but as this uses the _host_ strip it can fail if that strip doesn't know about the target (for example, building cpuid for x86 on aarch64):
install -D -s -m 755 cpuid .../image/usr/bin/cpuid
strip: Unable to recognise the format of the input file `.../image/usr/bin/cpuid'
Set INSTALL_STRIP='' so that the binaries are not stripped, and remove the INSANE_SKIP for already-stripped.
--- meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb +1 -3
@@ -17,9 +17,7 @@ COMPATIBLE_HOST = "(i.86|x86_64).*-linux" inherit perlnative do_install () { - oe_runmake DESTDIR=${D} bindir=${bindir} mandir=${mandir} install + oe_runmake DESTDIR=${D} bindir=${bindir} mandir=${mandir} INSTALL_STRIP="" install } RDEPENDS:${PN} = "perl" - -INSANE_SKIP:${PN} += "already-stripped"
Signature · 1 line
2.43.0
PATCH v2 2/23 poke: enable out of tree builds
--- meta-oe/recipes-devtools/poke/poke_4.2.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta-oe/recipes-devtools/poke/poke_4.2.bb +1 -2
@@ -13,8 +13,7 @@ DEPENDS = "flex-native bison-native bdwgc readline" SRC_URI[sha256sum] = "8aaf36e61e367a53140ea40e2559e9ec512e779c42bee34e7ac24b34ba119bde" -# poke does not support using out-of-tree builds -inherit autotools-brokensep gettext pkgconfig +inherit autotools gettext pkgconfig # The automatic m4 path detection gets confused, so force the right value from # the poke bootstrap script.
Signature · 1 line
2.43.0
PATCH v2 3/23 libsdl2-image: upgrade to 2.8.5
In reply to Ross BurtonUpstream rebuilt the 2.8.4 tarball[1] so builds without an existing download fail.
License-Update: copyright years updated.
[1] https://github.com/libsdl-org/SDL_image/issues/515
---
.../libsdl/{libsdl2-image_2.8.4.bb => libsdl2-image_2.8.5.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-oe/recipes-graphics/libsdl/{libsdl2-image_2.8.4.bb => libsdl2-image_2.8.5.bb} (84%)meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.5.bb renamed from meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.4.bb +2 -2
@@ -2,12 +2,12 @@ SUMMARY = "Simple DirectMedia Layer image library v2" SECTION = "libs" LICENSE = "Zlib" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2f6d9e01c97958aa851954ed5acf82ee" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbb0010b2f7cf6e8a13bcac1ef4d2455" DEPENDS = "tiff zlib libpng jpeg libsdl2 libwebp" SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL2_image-${PV}.tar.gz" -SRC_URI[sha256sum] = "5a89a01420a192b89dbcc5f5267448181d5dcc81d2f5a1688cb1eac6f557da67" +SRC_URI[sha256sum] = "8bc4c57f41e2c0db7f9b749b253ef6cecdc6f0b689ecbe36ee97b50115fff645" S = "${WORKDIR}/SDL2_image-${PV}"
Signature · 1 line
2.43.0
PATCH v2 4/23 zsh: add missing manpages PACKAGECONFIG
In reply to Ross BurtonIf zsh is built with the api-documentation enabled, the manpages.bbclass adds the 'manpages' PACKAGECONFIG but this isn't defined:
ERROR: zsh-5.9-r0 do_configure: QA Issue: zsh: invalid PACKAGECONFIG: manpages [invalid-packageconfig]
zsh doesn't have an option to disable the manpages, so add a stub PACKAGECONFIG to silence this error.
--- meta-oe/recipes-shells/zsh/zsh_5.9.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-oe/recipes-shells/zsh/zsh_5.9.bb +3 -0
@@ -41,6 +41,9 @@ ALTERNATIVE_PRIORITY = "90" export AUTOHEADER = "true" +# Needed for manpages.bbclass, but they're always installed +PACKAGECONFIG[manpages] = "" + do_configure () { gnu-configize --force ${S} oe_runconf
Signature · 1 line
2.43.0
PATCH v2 5/23 iksemel: remove
In reply to Ross BurtonIksemel is a XML parser library that was designed for Jabber applications, but it has no users and hasn't been maintained for 14 years.
--- .../packagegroups/packagegroup-meta-oe.bb | 1 - .../iksemel/avoid-obsolete-gnutls-apis.patch | 55 ---------------- .../fix-configure-option-parsing.patch | 62 ------------------- .../recipes-support/iksemel/iksemel_1.5.bb | 27 -------- 4 files changed, 145 deletions(-) delete mode 100644 meta-oe/recipes-support/iksemel/iksemel/avoid-obsolete-gnutls-apis.patch delete mode 100644 meta-oe/recipes-support/iksemel/iksemel/fix-configure-option-parsing.patch delete mode 100644 meta-oe/recipes-support/iksemel/iksemel_1.5.bb
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +0 -1
@@ -761,7 +761,6 @@ RDEPENDS:packagegroup-meta-oe-support = "\ hunspell \ hunspell-dictionaries \ icyque \ - iksemel \ imagemagick \ imapfilter \ iniparser \
meta-oe/recipes-support/iksemel/iksemel/avoid-obsolete-gnutls-apis.patch deleted +0 -55
55 lines not on this page · raw message
meta-oe/recipes-support/iksemel/iksemel/fix-configure-option-parsing.patch deleted +0 -62
62 lines not on this page · raw message
meta-oe/recipes-support/iksemel/iksemel_1.5.bb deleted +0 -27
@@ -1,27 +0,0 @@ -SUMMARY = "Fast and portable XML parser and Jabber protocol library" -HOMEPAGE = "https://github.com/meduketto/iksemel" -SECTION = "libs" -LICENSE = "LGPL-2.1-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499" - -SRCREV = "978b733462e41efd5db72bc9974cb3b0d1d5f6fa" -PV = "1.5+git" - -SRC_URI = "git://github.com/meduketto/iksemel.git;protocol=https;branch=master \ - file://fix-configure-option-parsing.patch \ - file://avoid-obsolete-gnutls-apis.patch" - -# The current PV is not a git tag but a README content -UPSTREAM_CHECK_COMMITS = "1" - -S = "${WORKDIR}/git" - -inherit autotools pkgconfig lib_package texinfo - -# TLS support requires either openssl or gnutls (if both are enabled openssl will be used). -PACKAGECONFIG ?= "gnutls" - -PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls" -PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl" - -EXTRA_OECONF = "--disable-python"
Signature · 1 line
2.43.0
PATCH v2 6/23 zsh: enable out-of-tree builds
In reply to Ross BurtonThis appears to work, so use it.
--- meta-oe/recipes-shells/zsh/zsh_5.9.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-shells/zsh/zsh_5.9.bb +1 -1
@@ -13,7 +13,7 @@ DEPENDS = "ncurses bison-native libcap libpcre gdbm groff-native" SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${PV}/${BP}.tar.xz" SRC_URI[sha256sum] = "9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d45acd5" -inherit autotools-brokensep gettext update-alternatives manpages +inherit autotools gettext update-alternatives manpages EXTRA_OECONF = " \ --bindir=${base_bindir} \
Signature · 1 line
2.43.0
PATCH v2 7/23 zsh: modernise autoconf use
In reply to Ross BurtonNo need to manually write do_configure, the config.h.in is generated with autoheader so don't disable that, but disable aclocal as that file is hand-maintained.
--- meta-oe/recipes-shells/zsh/zsh_5.9.bb | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-)
meta-oe/recipes-shells/zsh/zsh_5.9.bb +2 -7
@@ -15,6 +15,8 @@ SRC_URI[sha256sum] = "9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d inherit autotools gettext update-alternatives manpages +EXTRA_AUTORECONF += "--exclude=aclocal" + EXTRA_OECONF = " \ --bindir=${base_bindir} \ --enable-etcdir=${sysconfdir} \
@@ -39,16 +41,9 @@ ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh" ALTERNATIVE_TARGET[sh] = "${base_bindir}/${BPN}" ALTERNATIVE_PRIORITY = "90" -export AUTOHEADER = "true" - # Needed for manpages.bbclass, but they're always installed PACKAGECONFIG[manpages] = "" -do_configure () { - gnu-configize --force ${S} - oe_runconf -} - do_install:append() { sed -i -e '1!b; s:^#!.*[ /]zsh:#!${bindir}/zsh:; s#/usr/local/bin#${bindir}#;' \ `find ${D}/usr/share/zsh/${PV}/functions -type f`
Signature · 1 line
2.43.0
PATCH v2 8/23 lftp: remove obsolete acpaths
In reply to Ross BurtonAs of "autotools: don't try and find in-tree macros" in core, acpaths is no longer used.
Also remove an obsolete FILES:PN-dbg as the debug package is packaged automatically.
--- meta-networking/recipes-connectivity/lftp/lftp_4.9.2.bb | 3 --- 1 file changed, 3 deletions(-)
meta-networking/recipes-connectivity/lftp/lftp_4.9.2.bb +0 -3
@@ -12,8 +12,6 @@ SRC_URI[sha256sum] = "8a07cbf4df09b107fe3fc41d133ee2f6cea6ef4c33ccf06c8448ad058c inherit autotools gettext pkgconfig -acpaths = "-I ./m4" - EXTRA_OECONF += "--with-modules --disable-rpath" PACKAGECONFIG ??= "openssl zlib gnutls readline expat"
@@ -27,5 +25,4 @@ do_install:append() { rm -rf ${D}${libdir}/charset.alias } FILES:${PN} += "${datadir}/icons/hicolor" -FILES:${PN}-dbg += "${libdir}/lftp/${PV}/.debug" RDEPENDS:${PN} = "perl bash readline"
Signature · 1 line
2.43.0
PATCH v2 9/23 php: remove obsolete acpaths
In reply to Ross BurtonAs of "autotools: don't try and find in-tree macros" in core, acpaths is no longer used.
--- meta-oe/recipes-devtools/php/php_8.2.26.bb | 2 -- 1 file changed, 2 deletions(-)
meta-oe/recipes-devtools/php/php_8.2.26.bb +0 -2
@@ -136,8 +136,6 @@ LDFLAGS:append:riscv64 = " -latomic" EXTRA_OEMAKE = "INSTALL_ROOT=${D}" -acpaths = "" - do_configure:prepend () { rm -f ${S}/build/libtool.m4 ${S}/ltmain.sh ${S}/aclocal.m4 find ${S} -name config.m4 | xargs -n1 sed -i 's!APXS_HTTPD=.*!APXS_HTTPD=${STAGING_SBINDIR_NATIVE}/httpd!'
Signature · 1 line
2.43.0
PATCH v2 10/23 poke: remove obsolete acpaths
In reply to Ross BurtonAs of "autotools: don't try and find in-tree macros" in core, acpaths is no longer used.
Also switch to out-of-tree builds as this appear to work now.
--- meta-oe/recipes-devtools/poke/poke_4.2.bb | 4 ---- 1 file changed, 4 deletions(-)
meta-oe/recipes-devtools/poke/poke_4.2.bb +0 -4
@@ -15,10 +15,6 @@ SRC_URI[sha256sum] = "8aaf36e61e367a53140ea40e2559e9ec512e779c42bee34e7ac24b34ba inherit autotools gettext pkgconfig -# The automatic m4 path detection gets confused, so force the right value from -# the poke bootstrap script. -acpaths = "-I ./m4" - EXTRA_OECONF = "--disable-gui \ --disable-libnbd \ --with-libreadline-prefix=${STAGING_INCDIR} \
Signature · 1 line
2.43.0
PATCH v2 11/23 libgphoto2: remove redundant autoconfing
In reply to Ross BurtonThe configure scripts do the right thing now, so there's no need to patch configure.ac or manually invoke the sub-configure.
Also remove obsolete FILES, -dbg is packaged automatically and we don't install .la files.
--- ...01-configure.ac-remove-AM_PO_SUBDIRS.patch | 41 ------------------- .../gphoto2/libgphoto2_2.5.31.bb | 15 ------- 2 files changed, 56 deletions(-) delete mode 100644 meta-oe/recipes-graphics/gphoto2/libgphoto2/0001-configure.ac-remove-AM_PO_SUBDIRS.patch
meta-oe/recipes-graphics/gphoto2/libgphoto2/0001-configure.ac-remove-AM_PO_SUBDIRS.patch deleted +0 -41
@@ -1,41 +0,0 @@ -From 31a5d2f7db18737aef08c34e8707b4f69f7e5156 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> -Date: Sun, 21 Oct 2012 17:59:20 +0200 -Subject: [PATCH] configure.ac: remove AM_PO_SUBDIRS -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -together with oe autotools.bbclass this is done twice and causes: - -| autoreconf: running: aclocal --system-acdir=/home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/aclocal-copy/ --automake-acdir=/home/Superandy/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.12 -I /home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/auto-m4/ -I /home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/m4m/ -I /home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/auto-m4/ -I /home/Superandy/tmp/oe-core-eglibc/work/armv7a-vfp-neon-angstrom-linux-gnueabi/libgphoto2-2.4.11-r2/libgphoto2-2.4.11/m4m/ --force -I auto-m4 -I m4m -| configure.ac:230: error: `po-directories' is already registered with AC_CONFIG_COMMANDS. - -Upstream-Status: Inappropriate [configuration] - -Signed-off-by: Andreas Müller <[email protected]> ---- - configure.ac | 1 - - libgphoto2_port/configure.ac | 1 - - 2 files changed, 0 insertions(+), 2 deletions(-) - ---- a/configure.ac -+++ b/configure.ac -@@ -282,7 +282,6 @@ dnl ------------------------------------ - GP_GETTEXT_SETUP([GETTEXT_PACKAGE_LIBGPHOTO2], - [${PACKAGE}-${LIBGPHOTO2_CURRENT_MIN}], - [po]) --AM_PO_SUBDIRS() - AM_GNU_GETTEXT_VERSION([0.19.1]) - AM_GNU_GETTEXT([external]) - AM_ICONV() ---- a/libgphoto2_port/configure.ac -+++ b/libgphoto2_port/configure.ac -@@ -122,7 +122,6 @@ dnl ------------------------------------ - GP_GETTEXT_SETUP([GETTEXT_PACKAGE_LIBGPHOTO2_PORT], - [${PACKAGE}-${LIBGPHOTO2_PORT_CURRENT_MIN}], - [po]) --AM_PO_SUBDIRS() - AM_GNU_GETTEXT_VERSION([0.19.1]) - AM_GNU_GETTEXT([external]) - AM_ICONV()
meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.31.bb +0 -15
@@ -11,7 +11,6 @@ DEPENDS = "libtool jpeg virtual/libusb0 libexif zlib libxml2" SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/libgphoto2-${PV}.tar.bz2;name=libgphoto2 \ file://40-libgphoto2.rules \ - file://0001-configure.ac-remove-AM_PO_SUBDIRS.patch \ file://0001-configure-Filter-out-buildpaths-from-CC.patch \ file://fix-build-with-gcc-14.patch \ "
@@ -25,18 +24,6 @@ PACKAGECONFIG ??= "" PACKAGECONFIG[gd] = ",--without-gdlib,gd" PACKAGECONFIG[serial] = "--enable-serial,--disable-serial,lockdev" -do_configure:prepend() { - rm -rf ${S}/libgphoto2_port/auto-m4/* - rm -rf ${S}/auto-m4/* -} - -do_configure:append() { - cp ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/libgphoto2_port/po/ - cd ${S}/libgphoto2_port/ - autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths - cd ${S} -} - do_install:append() { install -d ${D}${sysconfdir}/udev/rules.d/ install -m 0644 ${UNPACKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d/
@@ -49,6 +36,4 @@ RRECOMMENDS:${PN} = "libgphoto2-camlibs" FILES:libgphotoport = "${libdir}/libgphoto2_port.so.*" FILES:${PN} += "${nonarch_base_libdir}/udev/*" -FILES:${PN}-dbg += "${libdir}/*/*/.debug" -FILES:${PN}-dev += "${libdir}/*/*/*.la" FILES:${PN}-doc += "${datadir}/libgphoto2_port/0.12.?/vcamera/README.txt"
Signature · 1 line
2.43.0
PATCH v2 12/23 tigervnc: fix systemd unit packaging
In reply to Ross BurtonPass the correct path so the unit is installed where it should be, and use the systemd class to ensure the unit is enabled correctly.
--- meta-oe/recipes-graphics/tigervnc/tigervnc_1.14.1.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
meta-oe/recipes-graphics/tigervnc/tigervnc_1.14.1.bb +4 -3
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.TXT;md5=75b02c2872421380bbd47781d2bd75d3" S = "${WORKDIR}/git" -inherit autotools cmake features_check pkgconfig +inherit autotools cmake features_check pkgconfig systemd REQUIRED_DISTRO_FEATURES = "x11 pam"
@@ -79,7 +79,7 @@ EXTRA_OECONF = "--disable-xorg --disable-xnest --disable-xvfb --disable-dmx \ --disable-xwayland \ " -EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DCMAKE_INSTALL_UNITDIR=${systemd_unitdir}', '-DINSTALL_SYSTEMD_UNITS=OFF', d)}" +EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DCMAKE_INSTALL_UNITDIR=${systemd_system_unitdir}', '-DINSTALL_SYSTEMD_UNITS=OFF', d)}" do_configure:append () { olddir=`pwd`
@@ -124,7 +124,8 @@ FILES:${PN} += " \ ${libdir}/xorg/modules/extensions \ ${datadir}/icons \ ${datadir}/metainfo \ - ${systemd_unitdir} \ " FILES:${PN}-dbg += "${libdir}/xorg/modules/extensions/.debug" + +SYSTEMD_SERVICE:${PN} = "[email protected]"
Signature · 1 line
2.43.0
PATCH v2 13/23 tigervnc: simplify xserver unpack and build
In reply to Ross BurtonWhen unpacking, just use cp to hardlink the xserver source tree into the tigervnc source tree.
When configuring, instead of replicating complicated logic, we can simply set the variable AUTOTOOLS_SCRIPT_PATH and just call autotools_do_configure. Some of the options passed to the xserver configure are obsolete so remove them.
--- .../tigervnc/tigervnc_1.14.1.bb | 59 +++---------------- 1 file changed, 8 insertions(+), 51 deletions(-)
meta-oe/recipes-graphics/tigervnc/tigervnc_1.14.1.bb +8 -51
@@ -33,32 +33,17 @@ SRC_URI[xorg.sha256sum] = "841c82901282902725762df03adbbcd68153d4cdfb0d61df0cfd7 # It is the directory containing the Xorg source for the # machine on which you are building TigerVNC. XSERVER_SOURCE_DIR="${S}/unix/xserver" +AUTOTOOLS_SCRIPT_PATH = "${XSERVER_SOURCE_DIR}" do_patch[postfuncs] += "do_patch_xserver" do_patch_xserver () { - subdirs="Xext xkb GL hw/xquartz/bundle hw/xfree86/common man doc" - for i in ${subdirs}; do - install -d ${XSERVER_SOURCE_DIR}/$i - done - - sources="hw/xquartz/bundle/cpprules.in man/Xserver.man doc/smartsched \ - xserver.ent.in xkb/README.compiled \ - hw/xfree86/xorgconf.cpp hw/xfree86/Xorg.sh.in" - for i in ${sources}; do - install -m 0644 ${XORG_S}/$i ${XSERVER_SOURCE_DIR}/$i; - done - - cd ${XORG_S} - find . -type f | egrep '.*\.(c|h|am|ac|inc|m4|h.in|pc.in|man.pre|pl|txt)$' | \ - xargs tar cf - | (cd ${XSERVER_SOURCE_DIR} && tar xf -) - - cd ${XSERVER_SOURCE_DIR} - xserverpatch="${S}/unix/xserver21.patch" - echo "Apply $xserverpatch" - patch -p1 -b --suffix .vnc < $xserverpatch + # Put the xserver source in the right place in the tigervnc source tree + cp -rfl ${XORG_S}/* ${XSERVER_SOURCE_DIR} + # Apply the patch to integrate the vnc server + patch -p1 -b --suffix .vnc --directory ${XSERVER_SOURCE_DIR} <${S}/unix/xserver21.patch } -EXTRA_OECONF = "--disable-xorg --disable-xnest --disable-xvfb --disable-dmx \ +EXTRA_OECONF = "--disable-xorg --disable-xnest --disable-xvfb \ --disable-xwin --disable-xephyr --disable-kdrive --with-pic \ --disable-static --disable-xinerama \ --with-xkb-output=${localstatedir}/lib/xkb \
@@ -76,48 +61,20 @@ EXTRA_OECONF = "--disable-xorg --disable-xnest --disable-xvfb --disable-dmx \ --without-xmlto \ --enable-systemd-logind=no \ --disable-xinerama \ - --disable-xwayland \ " EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DCMAKE_INSTALL_UNITDIR=${systemd_system_unitdir}', '-DINSTALL_SYSTEMD_UNITS=OFF', d)}" do_configure:append () { - olddir=`pwd` - cd ${XSERVER_SOURCE_DIR} - - rm -rf aclocal-copy/ - rm -f aclocal.m4 - - export ACLOCALDIR="${XSERVER_SOURCE_DIR}/aclocal-copy" - mkdir -p ${ACLOCALDIR}/ - if [ -d ${STAGING_DATADIR_NATIVE}/aclocal ]; then - cp-noerror ${STAGING_DATADIR_NATIVE}/aclocal/ ${ACLOCALDIR}/ - fi - if [ -d ${STAGING_DATADIR}/aclocal -a "${STAGING_DATADIR_NATIVE}/aclocal" != "${STAGING_DATADIR}/aclocal" ]; then - cp-noerror ${STAGING_DATADIR}/aclocal/ ${ACLOCALDIR}/ - fi - ACLOCAL="aclocal --aclocal-path=${ACLOCALDIR}/" autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths || bbfatal "autoreconf execution failed." - chmod +x ./configure - ${CACHED_CONFIGUREVARS} ./configure ${CONFIGUREOPTS} ${EXTRA_OECONF} - cd $olddir + autotools_do_configure } do_compile:append () { - olddir=`pwd` - cd ${XSERVER_SOURCE_DIR} - oe_runmake - - cd $olddir } do_install:append() { - olddir=`pwd` - cd ${XSERVER_SOURCE_DIR}/hw/vnc - - oe_runmake 'DESTDIR=${D}' install - - cd $olddir + oe_runmake -C ${B}/hw/vnc 'DESTDIR=${D}' install } FILES:${PN} += " \
Signature · 1 line
2.43.0
PATCH v2 14/23 tigervnc: small cleanups
In reply to Ross BurtonAdd some implicit dependencies which are explicitly checked for, a small comment, and remove an obsolete FILES:PN-dbg.
--- meta-oe/recipes-graphics/tigervnc/tigervnc_1.14.1.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-oe/recipes-graphics/tigervnc/tigervnc_1.14.1.bb +3 -3
@@ -2,7 +2,7 @@ DESCRIPTION = "TigerVNC remote display system" HOMEPAGE = "http://www.tigervnc.com/" LICENSE = "GPL-2.0-or-later" SECTION = "x11/utils" -DEPENDS = "xserver-xorg gnutls jpeg libxtst gettext-native fltk libpam" +DEPENDS = "gettext-native xserver-xorg gnutls nettle jpeg pixman libxtst fltk libpam libx11 libxdamage libxfixes libxrandr" RDEPENDS:${PN} = "coreutils hicolor-icon-theme perl bash xkbcomp" LIC_FILES_CHKSUM = "file://LICENCE.TXT;md5=75b02c2872421380bbd47781d2bd75d3"
@@ -13,6 +13,8 @@ inherit autotools cmake features_check pkgconfig systemd REQUIRED_DISTRO_FEATURES = "x11 pam" +# For ease we do in-tree builds right now. It should be possible to do +# out-of-tree builds. B = "${S}" SRCREV = "1b4af5c586eb7a30a38c82fd088c1fa47a83e72f"
@@ -83,6 +85,4 @@ FILES:${PN} += " \ ${datadir}/metainfo \ " -FILES:${PN}-dbg += "${libdir}/xorg/modules/extensions/.debug" - SYSTEMD_SERVICE:${PN} = "[email protected]"
Signature · 1 line
2.43.0
PATCH v2 15/23 neon: fix autoreconf
In reply to Ross Burtonautoreconf needs to be told where to find macros as the Makefile.am does not do this.
--- meta-oe/recipes-support/neon/neon_0.33.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-support/neon/neon_0.33.0.bb +2 -0
@@ -15,6 +15,8 @@ SRC_URI[sha256sum] = "659a5cc9cea05e6e7864094f1e13a77abbbdbab452f04d751a8c16a944 inherit autotools-brokensep binconfig-disabled lib_package pkgconfig ptest +EXTRA_AUTORECONF += "-I macros" + # Enable gnutls or openssl, not both PACKAGECONFIG ?= "expat gnutls libproxy webdav zlib nls" PACKAGECONFIG:class-native = "expat gnutls webdav zlib nls"
Signature · 1 line
2.43.0
PATCH v2 16/23 neon: use gettext class
In reply to Ross BurtonJust use the gettext class to simplify the enable/disabling of NLS support.
--- meta-oe/recipes-support/neon/neon_0.33.0.bb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-)
meta-oe/recipes-support/neon/neon_0.33.0.bb +4 -6
@@ -13,21 +13,19 @@ SRC_URI = "${DEBIAN_MIRROR}/main/n/neon27/neon27_${PV}.orig.tar.gz \ SRC_URI[sha256sum] = "659a5cc9cea05e6e7864094f1e13a77abbbdbab452f04d751a8c16a9447cf4b8" -inherit autotools-brokensep binconfig-disabled lib_package pkgconfig ptest +inherit autotools-brokensep binconfig-disabled lib_package pkgconfig ptest gettext EXTRA_AUTORECONF += "-I macros" # Enable gnutls or openssl, not both -PACKAGECONFIG ?= "expat gnutls libproxy webdav zlib nls" -PACKAGECONFIG:class-native = "expat gnutls webdav zlib nls" -PACKAGECONFIG:remove:libc-musl = "nls" +PACKAGECONFIG ?= "expat gnutls libproxy webdav zlib" +PACKAGECONFIG:class-native = "expat gnutls webdav zlib" PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat" PACKAGECONFIG[gnutls] = "--with-ssl=gnutls,,gnutls" PACKAGECONFIG[gssapi] = "--with-gssapi,--without-gssapi,krb5" PACKAGECONFIG[libproxy] = "--with-libproxy,--without-libproxy,libproxy" PACKAGECONFIG[libxml2] = "--with-libxml2,--without-libxml2,libxml2" -PACKAGECONFIG[nls] = ",--disable-nls,gettext-native" PACKAGECONFIG[openssl] = "--with-ssl=openssl,,openssl" PACKAGECONFIG[webdav] = "--enable-webdav,--disable-webdav," PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
@@ -42,7 +40,7 @@ do_configure:prepend() { } do_compile:append() { - if ${@bb.utils.contains('PACKAGECONFIG', 'nls', 'true', 'false', d)}; then + if ${@bb.utils.contains('USE_NLS', 'yes', 'true', 'false', d)}; then oe_runmake compile-gmo fi oe_runmake -C test
Signature · 1 line
2.43.0
PATCH v2 17/23 neon: remove obsolete class-native override
In reply to Ross BurtonThis prefix override for native builds is no longer needed.
--- meta-oe/recipes-support/neon/neon_0.33.0.bb | 3 --- 1 file changed, 3 deletions(-)
meta-oe/recipes-support/neon/neon_0.33.0.bb +0 -3
@@ -32,9 +32,6 @@ PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib" EXTRA_OECONF += "--enable-shared --enable-threadsafe-ssl=posix" -# Do not install into /usr/local -EXTRA_OEMAKE:append:class-native = " prefix=${prefix_native}" - do_configure:prepend() { echo "${PV}" > ${S}/.version }
Signature · 1 line
2.43.0
PATCH v2 18/23 xmlrpc-c: use autoreconf
In reply to Ross BurtonAdd a patch to not use AM_INIT_AUTOMAKE as automake isn't actually used, and just let autotools.bbclass run autoreconf.
--- .../xmlrpc-c/xmlrpc-c/no-automake.patch | 18 ++++++++++++++++++ .../xmlrpc-c/xmlrpc-c_1.60.03.bb | 7 +++---- 2 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/no-automake.patch
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c/no-automake.patch new file +18 -0
@@ -0,0 +1,18 @@ +This doesn't use automake so don't turn it on, as autoreconf will refuse to work. + +Upstream-Status: Submitted +Signed-off-by: Ross Burton <[email protected]> + +diff --git i/stable/configure.in w/stable/configure.in +index 4a9ade8c..baba1edc 100644 +--- i/configure.in ++++ w/configure.in +@@ -8,7 +8,7 @@ dnl ======================================================================= + + dnl "x.xx" is supposed to be a version number, but is meaningless here. + dnl The real version number is in Makefile.version. +-AM_INIT_AUTOMAKE(xmlrpc-c, x.xx) ++dnl AM_INIT_AUTOMAKE(xmlrpc-c, x.xx) + + dnl Define @build@, @build_cpu@, @build_vendor@, @build_os, + dnl @host, @host_cpu@, @host_vender, and @host_os@ substitutions.
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.60.03.bb +3 -4
@@ -6,6 +6,7 @@ LICENSE = "BSD-3-Clause & MIT" LIC_FILES_CHKSUM = "file://doc/COPYING;md5=aefbf81ba0750f02176b6f86752ea951" SRC_URI = "git://github.com/mirror/xmlrpc-c.git;branch=master;protocol=https \ + file://no-automake.patch \ file://0001-test-cpp-server_abyss-Fix-build-with-clang-libc.patch \ file://0001-unix-common.mk-Ensuring-Sequential-Execution-of-rm-a.patch \ "
@@ -18,6 +19,7 @@ inherit autotools-brokensep binconfig pkgconfig TARGET_CFLAGS += "-Wno-narrowing" +# These are needed for the integrated expat EXTRA_OEMAKE += "CC_FOR_BUILD='${BUILD_CC}' \ LD_FOR_BUILD='${BUILD_LD}' \ CFLAGS_FOR_BUILD='${BUILD_CFLAGS}' \
@@ -32,10 +34,7 @@ PACKAGECONFIG[abyss] = "--enable-abyss-server --enable-abyss-threads --enable-ab PACKAGECONFIG[cplusplus] = "--enable-cplusplus,--disable-cplusplus" PACKAGECONFIG[curl] = "--enable-curl-client,--disable-curl-client,curl" -do_configure() { - gnu-configize --verbose --force ${S} - autoconf - oe_runconf +do_configure:prepend() { # license is incompatible with lib/util/getoptx.* rm -fv ${S}/tools/turbocharger/mod_gzip.c }
Signature · 1 line
2.43.0
PATCH v2 19/23 monit: fix autoreconf
In reply to Ross Burtonautoreconf needs to be told where to find macros as the Makefile.am does not do this.
--- meta-oe/recipes-support/monit/monit_5.34.4.bb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
meta-oe/recipes-support/monit/monit_5.34.4.bb +3 -4
@@ -20,6 +20,9 @@ SRC_URI[sha256sum] = "ef607cfaabfd3767d40b9b9e32032f748beebc4d686831f6111e0e68fb DEPENDS = "zlib bison-native libnsl2 flex-native openssl virtual/crypt" inherit autotools-brokensep systemd update-rc.d +# brokensep because | ../../monit-5.34.4/libmonit/src/util/Str.c:26:10: fatal error: Config.h: No such file or directory + +EXTRA_AUTORECONF += "-I config" PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam"
@@ -38,10 +41,6 @@ INITSCRIPT_PACKAGES = "${PN}" INITSCRIPT_NAME:${PN} = "monit" INITSCRIPT_PARAMS:${PN} = "defaults 89" -do_configure:prepend() { - rm -rf ${S}/m4/* -} - do_install:append() { # Configuration file
Signature · 1 line
2.43.0
PATCH v2 20/23 tk: exclude aclocal so existing macros are used
In reply to Ross BurtonThis package has hand-coded aclocal.m4 so ensure that we don't run aclocal.
--- meta-oe/recipes-devtools/tcltk/tk_9.0.1.bb | 1 + 1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/tcltk/tk_9.0.1.bb +1 -0
@@ -35,6 +35,7 @@ LDFLAGS += "-Wl,-rpath,${libdir}/tcltk/${PV}/lib" inherit autotools features_check pkgconfig AUTOTOOLS_SCRIPT_PATH = "${S}/unix" +EXTRA_AUTORECONF += "--exclude=aclocal" # depends on virtual/libx11 REQUIRED_DISTRO_FEATURES = "x11"
Signature · 1 line
2.43.0
PATCH v2 21/23 log4cpp: fix autoreconf
In reply to Ross Burtonautoreconf needs to be told where to find macros as the Makefile.am does not do this.
--- meta-oe/recipes-support/log4cpp/log4cpp_1.1.4.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-support/log4cpp/log4cpp_1.1.4.bb +2 -0
@@ -12,6 +12,8 @@ S = "${WORKDIR}/${BPN}" inherit autotools pkgconfig +EXTRA_AUTORECONF += "-I m4" + EXTRA_OECONF = "\ --enable-doxygen=no \ --enable-dot=no \
Signature · 1 line
2.43.0
PATCH v2 22/23 cgdb: fix autoreconf
In reply to Ross Burtonautoreconf needs to be told where to find macros as the Makefile.am does not do this.
--- meta-oe/recipes-devtools/cgdb/cgdb_0.8.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/cgdb/cgdb_0.8.0.bb +2 -0
@@ -13,6 +13,8 @@ SRC_URI = "http://cgdb.me/files/${BP}.tar.gz \ file://0001-cgdb-Do-not-search-for-cgdb.txt-in-build-dir.patch" SRC_URI[sha256sum] = "0d38b524d377257b106bad6d856d8ae3304140e1ee24085343e6ddf1b65811f1" +EXTRA_AUTORECONF += "-I config" + CACHED_CONFIGUREVARS = "ac_cv_file__dev_ptmx=yes ac_cv_rl_version=6.2 ac_cv_file__proc_self_status=yes" EXTRA_OECONF = "--with-readline=${STAGING_LIBDIR} \ --with-ncurses=${STAGING_LIBDIR}"
Signature · 1 line
2.43.0
PATCH v2 23/23 postgresql: fix autoreconf
In reply to Ross Burtonautoreconf needs to be told where to find macros as the Makefile.am does not do this.
--- meta-oe/recipes-dbs/postgresql/postgresql.inc | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-dbs/postgresql/postgresql.inc +2 -0
@@ -133,6 +133,8 @@ def is_target(d): export PERLCONFIGTARGET = "${@is_target(d)}" export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl5/${@get_perl_version(d)}/${@get_perl_arch(d)}" +EXTRA_AUTORECONF += "-I config" + do_configure() { # do_configure autotools_do_configure
Signature · 1 line
2.43.0