dool: remove python3-six dependency
PATCH v2 1/8 dool: remove python3-six dependency
This was removed in dool 0.9.
--- meta-oe/recipes-support/dool/dool_1.3.8.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/dool/dool_1.3.8.bb +1 -1
@@ -7,7 +7,7 @@ LICENSE = "GPL-3.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" DEPENDS += "asciidoc-native xmlto-native" -RDEPENDS:${PN} += "python3-core python3-misc python3-resource python3-shell python3-six python3-unixadmin" +RDEPENDS:${PN} += "python3-core python3-misc python3-resource python3-shell python3-unixadmin" SRC_URI = "git://github.com/scottchiefbaker/dool.git;branch=next;protocol=https;tag=v${PV}"
Signature · 1 line
2.43.0
PATCH v2 2/8 python3-networkmanager: remove abandoned recipe
python-networkmanager was abandoned upstream in 2023:
⚠️ This project is no longer maintained. ⚠️ If you are looking for an alternative, please try
https://github.com/python-sdbus/python-sdbus-networkmanager
--- .../python3-networkmanager_2.2.bb | 13 ------------- .../packagegroups/packagegroup-meta-networking.bb | 1 - 2 files changed, 14 deletions(-) delete mode 100644 meta-networking/recipes-connectivity/python-networkmanager/python3-networkmanager_2.2.bb
meta-networking/recipes-connectivity/python-networkmanager/python3-networkmanager_2.2.bb deleted +0 -13
@@ -1,13 +0,0 @@ -SUMMARY = "Easy communication with NetworkManager from Python" -HOMEPAGE = "https://github.com/seveas/python-networkmanager" -LICENSE = "Zlib" - -LIC_FILES_CHKSUM = "file://COPYING;md5=9f8a5b5844f027357ab19ef3e3c6a956" - -SRC_URI[md5sum] = "7e05d3ca40a4fa50222ba93cda3d0d02" -SRC_URI[sha256sum] = "de6eb921d94aba7549f428ed2b3aa482a5d543ecb6965cbaa0fbb555ab31b9d5" - -PYPI_PACKAGE = "python-networkmanager" -inherit pypi setuptools3 - -RDEPENDS:${PN} = "networkmanager python3-dbus python3-six"
meta-networking/recipes-core/packagegroups/packagegroup-meta-networking.bb +0 -1
@@ -57,7 +57,6 @@ RDEPENDS:packagegroup-meta-networking-connectivity = "\ networkmanager-openvpn \ networkmanager \ openconnect \ - python3-networkmanager \ rdate \ rdist \ ${@bb.utils.contains("DISTRO_FEATURES", "pam", "samba", "", d)} \
Signature · 1 line
2.43.0
PATCH v2 3/8 mycroft: remove obsolete recipe
In reply to Ross BurtonMycroft made its last release in 2021 and was formally abandoned in 2024:
Mycroft core is no longer maintaiend and probably likely not work on your computer anymore. Open Voice OS and Neon-core are both spiritual successors to Mycroft. (And some of the old code may live on there.)
The version we packaged was from 2019 and nobody cared enought to upgrade it to any of the sixteen later releases, so I don't believe anyone is using it.
--- .../files/0001-Remove-python-venv.patch | 194 ------------------ ...v_setup.sh-Remove-the-git-dependency.patch | 48 ----- ..._setup.sh-Remove-the-TERM-dependency.patch | 37 ---- ...up.sh-Ignore-missing-package-manager.patch | 31 --- ...-Don-t-install-requirements-with-pip.patch | 103 ---------- ...3-and-pip3-instead-of-python-and-pip.patch | 121 ----------- ...oft.conf-Use-pocketsphinx-by-default.patch | 30 --- .../mycroft/files/dev_opts.json | 1 - .../mycroft/files/mycroft-setup.service | 12 -- .../mycroft/files/mycroft.service | 14 -- .../mycroft/mycroft_19.8.1.bb | 94 --------- .../packagegroup-meta-multimedia.bb | 1 - 12 files changed, 686 deletions(-) delete mode 100644 meta-multimedia/recipes-multimedia/mycroft/files/0001-Remove-python-venv.patch delete mode 100644 meta-multimedia/recipes-multimedia/mycroft/files/0002-dev_setup.sh-Remove-the-git-dependency.patch delete mode 100644 meta-multimedia/recipes-multimedia/mycroft/files/0003-dev_setup.sh-Remove-the-TERM-dependency.patch delete mode 100644 meta-multimedia/recipes-multimedia/mycroft/files/0004-dev_setup.sh-Ignore-missing-package-manager.patch delete mode 100644 meta-multimedia/recipes-multimedia/mycroft/files/0005-pip-requirements-Don-t-install-requirements-with-pip.patch delete mode 100644 meta-multimedia/recipes-multimedia/mycroft/files/0006-Use-python3-and-pip3-instead-of-python-and-pip.patch delete mode 100644 meta-multimedia/recipes-multimedia/mycroft/files/0007-mycroft.conf-Use-pocketsphinx-by-default.patch delete mode 100644 meta-multimedia/recipes-multimedia/mycroft/files/dev_opts.json delete mode 100644 meta-multimedia/recipes-multimedia/mycroft/files/mycroft-setup.service delete mode 100644 meta-multimedia/recipes-multimedia/mycroft/files/mycroft.service delete mode 100644 meta-multimedia/recipes-multimedia/mycroft/mycroft_19.8.1.bb
meta-multimedia/recipes-multimedia/mycroft/files/0001-Remove-python-venv.patch deleted +0 -194
@@ -1,194 +0,0 @@ -From 07fce2101d83b5334de78e661ba0361c2874ebdf Mon Sep 17 00:00:00 2001 -From: Alistair Francis <[email protected]> -Date: Mon, 18 Mar 2019 16:30:45 -0700 -Subject: [PATCH 1/7] Remove python venv - -Remove the python venv requirements and instead just use the native -python and pip pacakges. - -Signed-off-by: Alistair Francis <[email protected]> -Upstream-Status: Inappropriate [embedded specific] ---- - dev_setup.sh | 39 --------------------------------------- - start-mycroft.sh | 13 ------------- - venv-activate.sh | 44 +------------------------------------------- - 3 files changed, 1 insertion(+), 95 deletions(-) - -diff --git a/dev_setup.sh b/dev_setup.sh -index cf81ed25f0f..99a44bfd8a7 100755 ---- a/dev_setup.sh -+++ b/dev_setup.sh -@@ -338,18 +338,6 @@ ${YELLOW}Make sure to manually install:$BLUE git python3 python-setuptools pytho - fi - } - --VIRTUALENV_ROOT=${VIRTUALENV_ROOT:-"${TOP}/.venv"} -- --function install_venv() { -- $opt_python -m venv "${VIRTUALENV_ROOT}/" --without-pip -- # Force version of pip for reproducability, but there is nothing special -- # about this version. Update whenever a new version is released and -- # verified functional. -- curl https://bootstrap.pypa.io/3.3/get-pip.py | "${VIRTUALENV_ROOT}/bin/python" - 'pip==18.0.0' -- # Function status depending on if pip exists -- [[ -x ${VIRTUALENV_ROOT}/bin/pip ]] --} -- - install_deps - - # Configure to use the standard commit template for -@@ -383,17 +371,6 @@ else - fi - fi - --if [[ ! -x ${VIRTUALENV_ROOT}/bin/activate ]] ; then -- if ! install_venv ; then -- echo 'Failed to set up virtualenv for mycroft, exiting setup.' -- exit 1 -- fi --fi -- --# Start the virtual environment --source "${VIRTUALENV_ROOT}/bin/activate" --cd "$TOP" -- - # Install pep8 pre-commit hook - HOOK_FILE='./.git/hooks/pre-commit' - if [[ -n $INSTALL_PRECOMMIT_HOOK ]] || grep -q 'MYCROFT DEV SETUP' $HOOK_FILE; then -@@ -408,22 +385,6 @@ fi - - PYTHON=$(python -c "import sys;print('python{}.{}'.format(sys.version_info[0], sys.version_info[1]))") - --# Add mycroft-core to the virtualenv path --# (This is equivalent to typing 'add2virtualenv $TOP', except --# you can't invoke that shell function from inside a script) --VENV_PATH_FILE="${VIRTUALENV_ROOT}/lib/$PYTHON/site-packages/_virtualenv_path_extensions.pth" --if [[ ! -f $VENV_PATH_FILE ]] ; then -- echo 'import sys; sys.__plen = len(sys.path)' > "$VENV_PATH_FILE" || return 1 -- echo "import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); sys.path[p:p]=new; sys.__egginsert = p+len(new)" >> "$VENV_PATH_FILE" || return 1 --fi -- --if ! grep -q "$TOP" $VENV_PATH_FILE ; then -- echo 'Adding mycroft-core to virtualenv path' -- sed -i.tmp '1 a\ --'"$TOP"' --' "$VENV_PATH_FILE" --fi -- - # install required python modules - if ! pip install -r requirements.txt ; then - echo 'Warning: Failed to install all requirements. Continue? y/N' -diff --git a/start-mycroft.sh b/start-mycroft.sh -index 0f88430982e..3aed2f189d4 100755 ---- a/start-mycroft.sh -+++ b/start-mycroft.sh -@@ -20,7 +20,6 @@ script=${0} - script=${script##*/} - cd -P "$( dirname "$SOURCE" )" - DIR="$( pwd )" --VIRTUALENV_ROOT=${VIRTUALENV_ROOT:-"${DIR}/.venv"} - - function help() { - echo "${script}: Mycroft command/service launcher" -@@ -76,19 +75,11 @@ function name-to-script-path() { - esac - } - --function source-venv() { -- # Enter Python virtual environment, unless under Docker -- if [ ! -f "/.dockerenv" ] ; then -- source ${VIRTUALENV_ROOT}/bin/activate -- fi --} -- - first_time=true - function init-once() { - if ($first_time) ; then - echo "Initializing..." - "${DIR}/scripts/prepare-msm.sh" -- source-venv - first_time=false - fi - } -@@ -225,15 +216,12 @@ case ${_opt} in - # launch-background ${_opt} - # ;; - "unittest") -- source-venv - pytest test/unittests/ --cov=mycroft "$@" - ;; - "singleunittest") -- source-venv - pytest "$@" - ;; - "skillstest") -- source-venv - pytest test/integrationtests/skills/discover_tests.py "$@" - ;; - "audiotest") -@@ -243,7 +231,6 @@ case ${_opt} in - launch-process ${_opt} - ;; - "sdkdoc") -- source-venv - cd doc - make ${_params} - cd .. -diff --git a/venv-activate.sh b/venv-activate.sh -index d1e7bcb44e7..10b46d4de3b 100644 ---- a/venv-activate.sh -+++ b/venv-activate.sh -@@ -22,49 +22,7 @@ - - # wrap in function to allow local variables, since this file will be source'd - function main() { -- local quiet=0 -- -- for arg in "$@" -- do -- case $arg in -- "-q"|"--quiet" ) -- quiet=1 -- ;; -- -- "-h"|"--help" ) -- echo "venv-activate.sh: Enter the Mycroft virtual environment" -- echo "Usage:" -- echo " source venv-activate.sh" -- echo "or" -- echo " . venv-activate.sh" -- echo "" -- echo "Options:" -- echo " -q | --quiet Don't show instructions." -- echo " -h | --help Show help." -- return 0 -- ;; -- -- *) -- echo "ERROR: Unrecognized option: $@" -- return 1 -- ;; -- esac -- done -- -- if [ "$0" == "$BASH_SOURCE" ] ; then -- # Prevent running in script then exiting immediately -- echo "ERROR: Invoke with 'source venv-activate.sh' or '. venv-activate.sh'" -- else -- local SRC_DIR="$( builtin cd "$( dirname "${BASH_SOURCE}" )" ; pwd -P )" -- source ${SRC_DIR}/.venv/bin/activate -- -- # Provide an easier to find "mycroft-" prefixed command. -- unalias mycroft-venv-activate 2>/dev/null -- alias mycroft-venv-deactivate="deactivate && unalias mycroft-venv-deactivate 2>/dev/null && alias mycroft-venv-activate=\"source '${SRC_DIR}/venv-activate.sh'\"" -- if [ $quiet -eq 0 ] ; then -- echo "Entering Mycroft virtual environment. Run 'mycroft-venv-deactivate' to exit" -- fi -- fi -+ echo "Not entering Python VENV" - } - - main $@ --- -2.23.0 -
meta-multimedia/recipes-multimedia/mycroft/files/0002-dev_setup.sh-Remove-the-git-dependency.patch deleted +0 -48
48 lines not on this page · raw message
meta-multimedia/recipes-multimedia/mycroft/files/0003-dev_setup.sh-Remove-the-TERM-dependency.patch deleted +0 -37
@@ -1,37 +0,0 @@ -From 5ef52cdea278a1dff966a912549cb6708f2cb699 Mon Sep 17 00:00:00 2001 -From: Alistair Francis <[email protected]> -Date: Tue, 17 Sep 2019 11:31:47 -0700 -Subject: [PATCH 3/7] dev_setup.sh: Remove the TERM dependency - -Signed-off-by: Alistair Francis <[email protected]> -Upstream-Status: Inappropriate [embedded specific] ---- - dev_setup.sh | 12 ------------ - 1 file changed, 12 deletions(-) - -diff --git a/dev_setup.sh b/dev_setup.sh -index 672b27080c2..72f734f36bf 100755 ---- a/dev_setup.sh -+++ b/dev_setup.sh -@@ -115,18 +115,6 @@ function get_YN() { - done - } - --# If tput is available and can handle multiple colors --if found_exe tput ; then -- if [[ $(tput colors) != "-1" ]]; then -- GREEN=$(tput setaf 2) -- BLUE=$(tput setaf 4) -- CYAN=$(tput setaf 6) -- YELLOW=$(tput setaf 3) -- RESET=$(tput sgr0) -- HIGHLIGHT=$YELLOW -- fi --fi -- - # Run a setup wizard the very first time that guides the user through some decisions - if [[ ! -f .dev_opts.json && -z $CI ]] ; then - echo " --- -2.23.0 -
meta-multimedia/recipes-multimedia/mycroft/files/0004-dev_setup.sh-Ignore-missing-package-manager.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From e3b6ca995caca22e65d012a54bc2aeb08eb7e9d4 Mon Sep 17 00:00:00 2001 -From: Alistair Francis <[email protected]> -Date: Tue, 15 Oct 2019 17:09:06 -0700 -Subject: [PATCH 4/7] dev_setup.sh: Ignore missing package manager - -Signed-off-by: Alistair Francis <[email protected]> -Upstream-Status: Inappropriate [embedded specific] ---- - dev_setup.sh | 6 ------ - 1 file changed, 6 deletions(-) - -diff --git a/dev_setup.sh b/dev_setup.sh -index 72f734f36bf..0c8e11b8170 100755 ---- a/dev_setup.sh -+++ b/dev_setup.sh -@@ -317,12 +317,6 @@ Please review the following package changes carefully." - echo -e "${YELLOW}Could not find package manager - ${YELLOW}Make sure to manually install:$BLUE git python3 python-setuptools python-venv pygobject libtool libffi libjpg openssl autoconf bison swig glib2.0 portaudio19 mpg123 flac curl fann g++ jq\n$RESET" - -- echo 'Warning: Failed to install all dependencies. Continue? y/N' -- read -n1 continue -- if [[ $continue != 'y' ]] ; then -- exit 1 -- fi -- - fi - } - --- -2.23.0 -
meta-multimedia/recipes-multimedia/mycroft/files/0005-pip-requirements-Don-t-install-requirements-with-pip.patch deleted +0 -103
103 lines not on this page · raw message
meta-multimedia/recipes-multimedia/mycroft/files/0006-Use-python3-and-pip3-instead-of-python-and-pip.patch deleted +0 -121
121 lines not on this page · raw message
meta-multimedia/recipes-multimedia/mycroft/files/0007-mycroft.conf-Use-pocketsphinx-by-default.patch deleted +0 -30
@@ -1,30 +0,0 @@ -From b48b3d240cb0fa5e76aa5daf578e51bb8126431d Mon Sep 17 00:00:00 2001 -From: Alistair Francis <[email protected]> -Date: Wed, 16 Oct 2019 09:18:39 -0700 -Subject: [PATCH 7/7] mycroft.conf: Use pocketsphinx by default - -precise only works on certain architectures, to make Mycroft more -versitle use pocketsphinx as it is architecture independent. - -Signed-off-by: Alistair Francis <[email protected]> -Upstream-Status: Inappropriate [embedded specific] ---- - mycroft/configuration/mycroft.conf | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/mycroft/configuration/mycroft.conf b/mycroft/configuration/mycroft.conf -index 1d0be0dcd2b..d2dc75dac44 100644 ---- a/mycroft/configuration/mycroft.conf -+++ b/mycroft/configuration/mycroft.conf -@@ -196,7 +196,7 @@ - // Hotword configurations - "hotwords": { - "hey mycroft": { -- "module": "precise", -+ "module": "pocketsphinx", - "phonemes": "HH EY . M AY K R AO F T", - "threshold": 1e-90, - "lang": "en-us" --- -2.23.0 -
meta-multimedia/recipes-multimedia/mycroft/files/dev_opts.json deleted +0 -1
@@ -1 +0,0 @@ -{"use_branch": "dev", "auto_update": false}
meta-multimedia/recipes-multimedia/mycroft/files/mycroft-setup.service deleted +0 -12
@@ -1,12 +0,0 @@ -[Unit] -Description=Mycroft Setup -DefaultDependencies=no -After=systemd-user-sessions.service - -[Service] -Type=oneshot -ExecStart=cp -rf @LIBDIR@/mycroft /var/ -ExecStart=/var/mycroft/dev_setup.sh --allow-root - -[Install] -WantedBy=multi-user.target
meta-multimedia/recipes-multimedia/mycroft/files/mycroft.service deleted +0 -14
@@ -1,14 +0,0 @@ -[Unit] -Description=Mycroft -RequiresMountsFor=/var -After=mycroft-setup.service - -[Service] -Type=forking -WorkingDirectory=/var/mycroft -ExecStartPre=mkdir -p /var/log/mycroft -ExecStart=/var/mycroft/start-mycroft.sh all -ExecStop=/var/mycroft/stop-mycroft.sh all - -[Install] -WantedBy=multi-user.target
meta-multimedia/recipes-multimedia/mycroft/mycroft_19.8.1.bb deleted +0 -94
94 lines not on this page · raw message
meta-multimedia/recipes-multimedia/packagegroups/packagegroup-meta-multimedia.bb +0 -1
@@ -47,7 +47,6 @@ RDEPENDS:packagegroup-meta-multimedia = "\ libopenmpt \ mimic \ ${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "minidlna", "", d)} \ - ${@bb.utils.contains("DISTRO_FEATURES", "pulseaudio", "mycroft", "", d)} \ openal-soft \ opusfile \ opus-tools \
Signature · 1 line
2.43.0
PATCH v2 4/8 spice: clean up dependencies
In reply to Ross BurtonWe can disable building the tests, and remove a few build dependencies.
python3-six is no longer needed, remove that.
openssl is always required, add to DEPENDS.
Add lz4 PACKAGECONFIG as this is an option upstream, enabled by default to preserve behaviour.
--- .../recipes-support/spice/spice_0.16.0.bb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
meta-networking/recipes-support/spice/spice_0.16.0.bb +6 -6
@@ -24,22 +24,22 @@ CVE_STATUS[CVE-2016-0749] = "fixed-version: patched since 0.13.2" CVE_STATUS[CVE-2016-2150] = "fixed-version: patched since 0.13.2" CVE_STATUS[CVE-2018-10893] = "fixed-version: patched already, caused by inaccurate CPE in the NVD database." -inherit meson gettext python3native python3-dir pkgconfig +inherit meson pkgconfig python3native -DEPENDS = "spice-protocol jpeg pixman alsa-lib glib-2.0 gdk-pixbuf lz4 orc python3-pyparsing-native python3-six-native glib-2.0-native zlib" -DEPENDS:append:class-nativesdk = " nativesdk-openssl" - -export PYTHON = "${STAGING_BINDIR_NATIVE}/python3-native/python3" +DEPENDS = "spice-protocol glib-2.0 pixman openssl jpeg zlib python3-pyparsing-native" do_configure:prepend() { echo ${PV} > ${S}/.tarball-version } +EXTRA_OEMESON = "-Dtests=false" + PACKAGECONFIG:class-native = "" PACKAGECONFIG:class-nativesdk = "" -PACKAGECONFIG ?= "sasl opus smartcard gstreamer" +PACKAGECONFIG ?= "lz4 sasl opus smartcard gstreamer" PACKAGECONFIG[gstreamer] = "-Dgstreamer=1.0,-Dgstreamer=no,gstreamer1.0 gstreamer1.0-plugins-base" +PACKAGECONFIG[lz4] = "-Dlz4=true,-Dlz4=false,lz4" PACKAGECONFIG[smartcard] = "-Dsmartcard=enabled,-Dsmartcard=disabled,libcacard,libcacard" PACKAGECONFIG[sasl] = "-Dsasl=true,-Dsasl=false,cyrus-sasl," PACKAGECONFIG[opus] = "-Dopus=enabled,-Dopus=disabled,libopus,"
Signature · 1 line
2.43.0
PATCH v2 5/8 spice-gtk: clean up dependencies
In reply to Ross BurtonInstead of a single huge list of DEPENDS, add a number of PACKAGECONFIGs that reflect the upstream options available.
--- .../recipes-support/spice/spice-gtk_0.42.bb | 44 +++++++------------ 1 file changed, 15 insertions(+), 29 deletions(-)
meta-networking/recipes-support/spice/spice-gtk_0.42.bb +15 -29
@@ -14,35 +14,9 @@ SRC_URI = "gitsm://gitlab.freedesktop.org/spice/spice-gtk.git;protocol=https;bra CVE_STATUS[CVE-2012-4425] = "fixed-version: fixed since 0.15.3" - -DEPENDS = " \ - ${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland wayland-native wayland-protocols', '', d)} \ - acl \ - cyrus-sasl \ - gstreamer1.0 \ - gstreamer1.0-plugins-base \ - gtk+3 \ - jpeg \ - json-glib \ - libcap-ng \ - libepoxy \ - libopus \ - libusb1 \ - libva \ - lz4 \ - pixman \ - python3-pyparsing-native \ - python3-six-native \ - spice-protocol \ - usbredir \ - usbutils \ - zlib \ -" +DEPENDS = "python3-six-native python3-pyparsing-native spice-protocol glib-2.0 pixman openssl jpeg zlib json-glib libcap-ng gstreamer1.0 gstreamer1.0-plugins-base" DEPENDS:append:libc-musl = " libucontext" -RDEPENDS:${PN} = "python3-pyparsing python3-six hwdata" - inherit meson pkgconfig vala gobject-introspection features_check gtk-doc REQUIRED_DISTRO_FEATURES = "opengl"
@@ -57,9 +31,19 @@ do_configure:prepend() { echo ${PV} > ${S}/.tarball-version } -PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)} smartcard" -PACKAGECONFIG[vapi] = "-Dvapi=enabled,-Dvapi=disabled" +GTK_DEPS = "gtk+3 libepoxy libva ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland-native wayland-protocols wayland', '', d)}" + +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)} \ + ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)} \ + gtk lz4 opus sasl smartcard usbredir" +PACKAGECONFIG[gtk] = "-Dgtk=enabled,-Dgtk=disabled,${GTK_DEPS}" +PACKAGECONFIG[lz4] = "-Dlz4=enabled,-Dlz4=disabled,lz4" +PACKAGECONFIG[opus] = "-Dopus=enabled,-Dopus=disabled,libopus" +PACKAGECONFIG[polkit] = "-Dpolkit=enabled,-Dpolkit=disabled,polkit acl" +PACKAGECONFIG[sasl] = "-Dsasl=enabled,-Dsasl=disabled,cyrus-sasl" PACKAGECONFIG[smartcard] = "-Dsmartcard=enabled,-Dsmartcard=disabled,libcacard" +PACKAGECONFIG[usbredir] = "-Dusbredir=enabled,-Dusbredir=disabled,usbredir libusb1" +PACKAGECONFIG[vapi] = "-Dvapi=enabled,-Dvapi=disabled" PACKAGECONFIG[webdav] = "-Dwebdav=enabled,-Dwebdav=disabled,phodav libsoup" EXTRA_OEMESON = "-Dpie=true -Dusb-ids-path=${datadir}/hwdata/usb.ids "
@@ -68,3 +52,5 @@ EXTRA_OEMESON:append:libc-musl = " -Dcoroutine=libucontext" LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -Wl,--undefined-version', '', d)}" FILES:${PN} += "${datadir}" + +RDEPENDS:${PN} = "hwdata"
Signature · 1 line
2.43.0
PATCH v2 6/8 spice-gtk: upgrade 0.42 -> 0.43
In reply to Ross BurtonDocumentation is now built with gi-docgen instead of gtk-doc.
Drop python3-six build dependency, no longer needed.
Add udev build dependency to avoid it being dependend on what is in the sysroot.
---
.../spice/{spice-gtk_0.42.bb => spice-gtk_0.43.bb} | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
rename meta-networking/recipes-support/spice/{spice-gtk_0.42.bb => spice-gtk_0.43.bb} (85%)meta-networking/recipes-support/spice/spice-gtk_0.43.bb renamed from meta-networking/recipes-support/spice/spice-gtk_0.42.bb +6 -7
@@ -8,24 +8,23 @@ LIC_FILES_CHKSUM = " \ file://subprojects/keycodemapdb/LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ " -SRCREV = "f04479c16f0969fb394ebe74b6eff74e560a42f0" +SRCREV = "f028f45a573926736223548887e18ac65dabb50b" -SRC_URI = "gitsm://gitlab.freedesktop.org/spice/spice-gtk.git;protocol=https;branch=master" +SRC_URI = "gitsm://gitlab.freedesktop.org/spice/spice-gtk.git;protocol=https;branch=master;tag=v${PV}" CVE_STATUS[CVE-2012-4425] = "fixed-version: fixed since 0.15.3" -DEPENDS = "python3-six-native python3-pyparsing-native spice-protocol glib-2.0 pixman openssl jpeg zlib json-glib libcap-ng gstreamer1.0 gstreamer1.0-plugins-base" +DEPENDS = "python3-pyparsing-native spice-protocol glib-2.0 pixman openssl jpeg zlib json-glib libcap-ng gstreamer1.0 gstreamer1.0-plugins-base udev" DEPENDS:append:libc-musl = " libucontext" -inherit meson pkgconfig vala gobject-introspection features_check gtk-doc +inherit meson pkgconfig vala gobject-introspection features_check gi-docgen REQUIRED_DISTRO_FEATURES = "opengl" GIR_MESON_ENABLE_FLAG = 'enabled' GIR_MESON_DISABLE_FLAG = 'disabled' -GTKDOC_MESON_OPTION = 'gtk_doc' -GTKDOC_MESON_ENABLE_FLAG = 'enabled' -GTKDOC_MESON_DISABLE_FLAG = 'disabled' +GIDOCGEN_MESON_ENABLE_FLAG = 'enabled' +GIDOCGEN_MESON_DISABLE_FLAG = 'disabled' do_configure:prepend() { echo ${PV} > ${S}/.tarball-version
Signature · 1 line
2.43.0
PATCH v2 7/8 meta-python: remove obsolete dependencies on python3-six
In reply to Ross BurtonThese recipes no longer use six, so remove the dependency.
The list of recipes that still use six is a somewhat useful proxy for packages that are no longer maintained...
--- .../python-thrift/python3-thrift_0.24.0.bb | 1 - .../recipes-devtools/python/python3-asttokens_3.0.2.bb | 4 ---- .../recipes-devtools/python/python3-autobahn_26.7.1.bb | 1 - .../python/python3-cassandra-driver_3.29.3.bb | 1 - .../recipes-devtools/python/python3-configobj_5.0.9.bb | 1 - meta-python/recipes-devtools/python/python3-cycler_0.12.1.bb | 1 - .../recipes-devtools/python/python3-eventlet_0.41.2.bb | 1 - meta-python/recipes-devtools/python/python3-geomet_1.1.0.bb | 1 - .../recipes-devtools/python/python3-google-api-core_2.19.1.bb | 1 - .../python/python3-google-api-python-client_2.136.0.bb | 1 - meta-python/recipes-devtools/python/python3-h5py_3.16.0.bb | 2 -- .../recipes-devtools/python/python3-linux-procfs_0.7.4.bb | 3 --- meta-python/recipes-devtools/python/python3-polyline_2.0.4.bb | 2 -- .../recipes-devtools/python/python3-prompt-toolkit_3.0.53.bb | 1 - .../recipes-devtools/python/python3-pymisp_2.5.34.2.bb | 1 - .../recipes-devtools/python/python3-pymodbus_3.15.0.bb | 1 - meta-python/recipes-devtools/python/python3-pynacl_1.6.2.bb | 1 - meta-python/recipes-devtools/python/python3-pyrad_2.5.4.bb | 1 - meta-python/recipes-devtools/python/python3-pyudev_0.24.4.bb | 1 - .../python/python3-service-identity_26.1.0.bb | 1 - meta-python/recipes-devtools/python/python3-snagboot_2.6.1.bb | 1 - .../recipes-devtools/python/python3-socketio_5.16.4.bb | 1 - meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb | 1 - meta-python/recipes-devtools/python/python3-twitter_4.17.0.bb | 1 - .../recipes-devtools/python/python3-websocket-client_1.9.2.bb | 1 - .../recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.5.bb | 1 - .../python-pykickstart/python3-pykickstart_3.69.bb | 1 - meta-python/recipes-extended/tuna/tuna_0.21.bb | 1 - 28 files changed, 35 deletions(-)
meta-python/recipes-connectivity/python-thrift/python3-thrift_0.24.0.bb +0 -1
@@ -14,7 +14,6 @@ PYPI_ARCHIVE_NAME_PREFIX = "python-" RDEPENDS:${PN} += "\ python3-logging \ python3-scons \ - python3-six \ python3-stringold \ python3-threading \ "
meta-python/recipes-devtools/python/python3-asttokens_3.0.2.bb +0 -4
@@ -12,8 +12,4 @@ SRC_URI[sha256sum] = "3ecdbd8f2cc195f53ccada3a613538bb5f9ef6f6869129f13e03c30a67 DEPENDS += "python3-setuptools-scm-native" -RDEPENDS:${PN} += " \ - python3-six \ -" - BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-autobahn_26.7.1.bb +0 -1
@@ -25,5 +25,4 @@ RDEPENDS:${PN} += " \ python3-snappy \ python3-pyopenssl \ python3-txaio \ - python3-six \ "
meta-python/recipes-devtools/python/python3-cassandra-driver_3.29.3.bb +0 -1
@@ -22,7 +22,6 @@ RDEPENDS:${PN} += "\ python3-misc \ python3-multiprocessing \ python3-numbers \ - python3-six \ libevent \ "
meta-python/recipes-devtools/python/python3-configobj_5.0.9.bb +0 -1
@@ -13,7 +13,6 @@ PTEST_PYTEST_DIR = "src/tests" RDEPENDS:${PN} += " \ python3-pprint \ - python3-six \ " CVE_STATUS[CVE-2023-26112] = "fixed-version: the current version (5.0.9) is already fixed"
meta-python/recipes-devtools/python/python3-cycler_0.12.1.bb +0 -1
@@ -9,7 +9,6 @@ inherit pypi python_setuptools_build_meta RDEPENDS:${PN} += "\ python3-core \ - python3-six \ " BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-eventlet_0.41.2.bb +0 -1
@@ -15,6 +15,5 @@ DEPENDS += "python3-hatch-vcs-native" RDEPENDS:${PN} += " \ python3-dnspython \ - python3-six \ python3-greenlet \ "
meta-python/recipes-devtools/python/python3-geomet_1.1.0.bb +0 -1
@@ -16,5 +16,4 @@ RDEPENDS:${PN} += "\ python3-io \ python3-json \ python3-logging \ - python3-six \ "
meta-python/recipes-devtools/python/python3-google-api-core_2.19.1.bb +0 -1
@@ -21,5 +21,4 @@ RDEPENDS:${PN} += "\ python3-protobuf \ python3-pytz \ python3-requests \ - python3-six \ "
meta-python/recipes-devtools/python/python3-google-api-python-client_2.136.0.bb +0 -1
@@ -10,7 +10,6 @@ inherit pypi setuptools3 RDEPENDS:${PN} += "\ python3-logging \ - python3-six \ python3-json \ python3-core \ python3-netclient \
meta-python/recipes-devtools/python/python3-h5py_3.16.0.bb +0 -2
@@ -14,13 +14,11 @@ BBCLASSEXTEND = "native" DEPENDS = "python3-pkgconfig-native \ python3-numpy-native \ - python3-six-native \ hdf5-native \ python3 \ hdf5 \ " RDEPENDS:${PN} = "python3-numpy \ - python3-six \ python3-json \ "
meta-python/recipes-devtools/python/python3-linux-procfs_0.7.4.bb +0 -3
@@ -7,7 +7,4 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6a6855782848d572347212f667a2d637" SRC_URI = "git://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git;branch=main;tag=v${PV}" SRCREV = "702d6360ce082d8328e0cfd84f6415b0c94ca6dd" - inherit python_setuptools_build_meta - -RDEPENDS:${PN} += "python3-six"
meta-python/recipes-devtools/python/python3-polyline_2.0.4.bb +0 -2
@@ -7,7 +7,5 @@ SRC_URI[sha256sum] = "f05ade694522bf1720febebe1672f820f43a13c6a1664751e7769d47e8 inherit pypi python_setuptools_build_meta ptest-python-pytest -RDEPENDS:${PN} += "python3-six" - BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.53.bb +0 -1
@@ -11,7 +11,6 @@ PYPI_PACKAGE = "prompt_toolkit" RDEPENDS:${PN} += " \ python3-core \ - python3-six \ python3-terminal \ python3-threading \ python3-wcwidth \
meta-python/recipes-devtools/python/python3-pymisp_2.5.34.2.bb +0 -1
@@ -12,7 +12,6 @@ RDEPENDS:${PN} += " \ python3-json \ python3-jsonschema \ python3-requests \ - python3-six \ python3-deprecated \ python3-wrapt \ "
meta-python/recipes-devtools/python/python3-pymodbus_3.15.0.bb +0 -1
@@ -27,5 +27,4 @@ RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \ python3-pyserial \ - python3-six \ "
meta-python/recipes-devtools/python/python3-pynacl_1.6.2.bb +0 -1
@@ -23,7 +23,6 @@ do_install:prepend() { } RDEPENDS:${PN} = "\ - python3-six \ python3-cffi \ libsodium \ "
meta-python/recipes-devtools/python/python3-pyrad_2.5.4.bb +0 -1
@@ -14,7 +14,6 @@ RDEPENDS:${PN} += " \ python3-io \ python3-logging \ python3-netaddr \ - python3-six \ " CVE_PRODUCT = "pyrad"
meta-python/recipes-devtools/python/python3-pyudev_0.24.4.bb +0 -1
@@ -15,7 +15,6 @@ do_configure:prepend() { RDEPENDS:${PN} = "\ python3-ctypes \ python3-misc \ - python3-six \ python3-threading \ python3-fcntl \ libudev \
meta-python/recipes-devtools/python/python3-service-identity_26.1.0.bb +0 -1
@@ -20,6 +20,5 @@ RDEPENDS:${PN} += " \ RDEPENDS:${PN}-ptest += " \ python3-attrs \ - python3-six \ python3-pyopenssl \ "
meta-python/recipes-devtools/python/python3-snagboot_2.6.1.bb +0 -1
@@ -13,7 +13,6 @@ RDEPENDS:${PN} += " \ python3-pyusb \ python3-pyyaml \ python3-setuptools \ - python3-six \ " do_install:append() {
meta-python/recipes-devtools/python/python3-socketio_5.16.4.bb +0 -1
@@ -22,7 +22,6 @@ RDEPENDS:${PN} += "\ python3-pickle \ python3-json \ python3-threading \ - python3-six \ python3-attrs \ python3-bidict \ "
meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb +0 -1
@@ -20,5 +20,4 @@ RDEPENDS:${PN}-ptest += " \ python3-pyopenssl \ python3-pyasn1-modules \ python3-service-identity \ - python3-six \ "
meta-python/recipes-devtools/python/python3-twitter_4.17.0.bb +0 -1
@@ -15,7 +15,6 @@ RDEPENDS:${PN} += "\ python3-pysocks \ python3-requests \ python3-requests-oauthlib \ - python3-six \ " CVE_PRODUCT = "josh_roesslein:tweepy tweepy:tweepy"
meta-python/recipes-devtools/python/python3-websocket-client_1.9.2.bb +0 -1
@@ -14,6 +14,5 @@ PYPI_PACKAGE = "websocket_client" inherit pypi python_setuptools_build_meta RDEPENDS:${PN} = "\ - python3-six \ python3-logging \ "
meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4_4.2.5.bb +0 -1
@@ -42,7 +42,6 @@ RDEPENDS:${PN} = "\ python3-pip \ python3-pprint \ python3-pycairo \ - python3-six \ python3-xml \ python3-cairocffi \ "
meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.69.bb +0 -1
@@ -8,7 +8,6 @@ inherit python_setuptools_build_meta ptest RDEPENDS:${PN} = "python3 \ python3-requests \ - python3-six \ " RDEPENDS:${PN}-ptest += " \
meta-python/recipes-extended/tuna/tuna_0.21.bb +0 -1
@@ -12,7 +12,6 @@ RDEPENDS:${PN} += " \ python3-io \ python3-linux-procfs \ python3-logging \ - python3-six \ " inherit python_setuptools_build_meta
Signature · 1 line
2.43.0
PATCH v2 8/8 python3-six: add (from oe-core)
In reply to Ross BurtonPython 2 was end-of-lifed six years ago now, so move the python3-six recipe from oe-core to meta-python. Plenty of recipes still claim to depend on it, but reviewing these is both a good way to review the dependencies and potentially identify unmaintained packages.
--- .../ptest-packagelists-meta-python.inc | 1 + .../recipes-devtools/python/python-six.inc | 11 +++++++++ .../python/python3-six_1.17.0.bb | 23 +++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-six.inc create mode 100644 meta-python/recipes-devtools/python/python3-six_1.17.0.bb
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -0
@@ -102,6 +102,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-service-identity \ python3-setproctitle \ python3-simpleeval \ + python3-six \ python3-smpplib \ python3-soupsieve \ python3-sqlparse \
meta-python/recipes-devtools/python/python-six.inc new file +11 -0
@@ -0,0 +1,11 @@ +SUMMARY = "Python 2 and 3 compatibility library" +HOMEPAGE = "https://pypi.org/project/six/" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e50fab7e9501f3dfc920eafeb24b46ea" + +inherit pypi + +RDEPENDS:${PN} = "python3-io" + +BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python3-six_1.17.0.bb new file +23 -0
@@ -0,0 +1,23 @@ +inherit setuptools3 ptest-python-pytest +require python-six.inc + +SRC_URI[sha256sum] = "ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81" + +PTEST_PYTEST_DIR = "." + +# test_six.py exercises the six.moves mappings, which import these stdlib +# modules that are packaged separately in oe-core. +RDEPENDS:${PN}-ptest += " \ + python3-html \ + python3-netclient \ + python3-xmlrpc \ +" + +do_install_ptest:append() { + # six ships its test at the sdist root; keep only test_six.py plus the + # generated run-ptest, and drop the packaged library sources / bytecode. + rm -f ${D}${PTEST_PATH}/six.py + rm -f ${D}${PTEST_PATH}/setup.py ${D}${PTEST_PATH}/setup.cfg ${D}${PTEST_PATH}/MANIFEST.in + rm -f ${D}${PTEST_PATH}/CHANGES ${D}${PTEST_PATH}/README.rst ${D}${PTEST_PATH}/PKG-INFO ${D}${PTEST_PATH}/LICENSE + rm -rf ${D}${PTEST_PATH}/build ${D}${PTEST_PATH}/documentation ${D}${PTEST_PATH}/six.egg-info ${D}${PTEST_PATH}/__pycache__ +}
Signature · 1 line
2.43.0