diff options
| -rw-r--r-- | meta-networking/recipes-connectivity/blueman/blueman/0001-Search-for-cython3.patch | 29 | ||||
| -rw-r--r-- | meta-networking/recipes-connectivity/blueman/blueman_2.2.4.bb (renamed from meta-networking/recipes-connectivity/blueman/blueman_2.2.3.bb) | 30 |
2 files changed, 26 insertions, 33 deletions
diff --git a/meta-networking/recipes-connectivity/blueman/blueman/0001-Search-for-cython3.patch b/meta-networking/recipes-connectivity/blueman/blueman/0001-Search-for-cython3.patch index 269174b2f6..913566dce9 100644 --- a/meta-networking/recipes-connectivity/blueman/blueman/0001-Search-for-cython3.patch +++ b/meta-networking/recipes-connectivity/blueman/blueman/0001-Search-for-cython3.patch | |||
| @@ -1,31 +1,24 @@ | |||
| 1 | From 77db892cdee265e971270c06ca1ffbaeea6449a3 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | ||
| 3 | Date: Tue, 26 Jun 2018 00:27:40 +0200 | ||
| 4 | Subject: [PATCH] Search for cython3 | 1 | Subject: [PATCH] Search for cython3 |
| 5 | MIME-Version: 1.0 | 2 | MIME-Version: 1.0 |
| 6 | Content-Type: text/plain; charset=UTF-8 | 3 | Content-Type: text/plain; charset=UTF-8 |
| 7 | Content-Transfer-Encoding: 8bit | 4 | Content-Transfer-Encoding: 8bit |
| 8 | 5 | ||
| 9 | Upstream-Status: Pending | 6 | Upstream-Status: Inappropriate |
| 10 | 7 | ||
| 11 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | 8 | Signed-off-by: Markus Volk <f_l_k@gmx.net> |
| 12 | --- | 9 | --- |
| 13 | configure.ac | 2 +- | 10 | meson.build | 2 +- |
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) | 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 15 | 12 | ||
| 16 | diff --git a/configure.ac b/configure.ac | 13 | --- a/module/meson.build 2022-02-10 08:49:35.000000000 +0100 |
| 17 | index 727089d1..6b565cdc 100644 | 14 | +++ b/module/meson.build 2022-03-29 12:58:03.456193737 +0200 |
| 18 | --- a/configure.ac | 15 | @@ -1,4 +1,4 @@ |
| 19 | +++ b/configure.ac | 16 | -cython = find_program('cython', required: true) |
| 20 | @@ -58,7 +58,7 @@ AC_SUBST([PYGOBJECT_LIBS]) | 17 | +cython = find_program('cython3', required: true) |
| 21 | 18 | ||
| 22 | AC_ARG_VAR([CYTHONEXEC], [Cython compiler]) | 19 | blueman_c = custom_target( |
| 23 | if test "x$CYTHONEXEC" = "x"; then | 20 | 'blueman_c', |
| 24 | - AC_PATH_PROG([CYTHONEXEC],[cython]) | 21 | |
| 25 | + AC_PATH_PROG([CYTHONEXEC],[cython3]) | ||
| 26 | fi | ||
| 27 | AC_SUBST([CYTHONEXEC]) | ||
| 28 | AC_MSG_CHECKING([for cython executable]) | ||
| 29 | -- | 22 | -- |
| 30 | 2.14.3 | 23 | 2.14.3 |
| 31 | 24 | ||
diff --git a/meta-networking/recipes-connectivity/blueman/blueman_2.2.3.bb b/meta-networking/recipes-connectivity/blueman/blueman_2.2.4.bb index a16bcf77a5..ea06ee67f7 100644 --- a/meta-networking/recipes-connectivity/blueman/blueman_2.2.3.bb +++ b/meta-networking/recipes-connectivity/blueman/blueman_2.2.4.bb | |||
| @@ -2,22 +2,18 @@ DESCRIPTION = "Blueman is a GTK+ Bluetooth Manager" | |||
| 2 | LICENSE = "GPL-3.0-only" | 2 | LICENSE = "GPL-3.0-only" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 4 | 4 | ||
| 5 | DEPENDS = "bluez5 python3-pygobject python3-cython-native python3-setuptools-native intltool-native" | 5 | DEPENDS = "gtk+3 glib-2.0 bluez5 python3-pygobject python3-cython-native" |
| 6 | 6 | ||
| 7 | inherit autotools gettext systemd gsettings pkgconfig python3native gtk-icon-cache | 7 | inherit meson gettext systemd gsettings pkgconfig python3native gtk-icon-cache |
| 8 | 8 | ||
| 9 | SRC_URI = " \ | 9 | SRC_URI = " \ |
| 10 | https://github.com/blueman-project/blueman/releases/download/${PV}/blueman-${PV}.tar.xz \ | 10 | https://github.com/blueman-project/blueman/releases/download/${PV}/blueman-${PV}.tar.xz \ |
| 11 | file://0001-Search-for-cython3.patch \ | 11 | file://0001-Search-for-cython3.patch \ |
| 12 | file://0002-fix-fail-to-enable-bluetooth.patch \ | 12 | file://0002-fix-fail-to-enable-bluetooth.patch \ |
| 13 | " | 13 | " |
| 14 | SRC_URI[sha256sum] = "6edd791da6afd8f610ffb08d5138cfcf50e6257ad30efad686287f3a2be106e9" | 14 | SRC_URI[sha256sum] = "55d639feeda0b43b18a659e65985213a54b47dcb1348f3b4effb5238db242602" |
| 15 | 15 | ||
| 16 | EXTRA_OECONF = " \ | 16 | EXTRA_OEMESON = "-Druntime_deps_check=false -Dappindicator=false" |
| 17 | --disable-appindicator \ | ||
| 18 | --disable-runtime-deps-check \ | ||
| 19 | --disable-schemas-compile \ | ||
| 20 | " | ||
| 21 | 17 | ||
| 22 | SYSTEMD_SERVICE:${PN} = "${BPN}-mechanism.service" | 18 | SYSTEMD_SERVICE:${PN} = "${BPN}-mechanism.service" |
| 23 | SYSTEMD_AUTO_ENABLE:${PN} = "disable" | 19 | SYSTEMD_AUTO_ENABLE:${PN} = "disable" |
| @@ -26,22 +22,25 @@ RRECOMENDS_${PN} += "adwaita-icon-theme" | |||
| 26 | RDEPENDS:${PN} += " \ | 22 | RDEPENDS:${PN} += " \ |
| 27 | python3-core \ | 23 | python3-core \ |
| 28 | python3-dbus \ | 24 | python3-dbus \ |
| 25 | python3-pygobject \ | ||
| 26 | python3-terminal \ | ||
| 29 | packagegroup-tools-bluetooth \ | 27 | packagegroup-tools-bluetooth \ |
| 30 | " | 28 | " |
| 31 | 29 | ||
| 32 | PACKAGECONFIG ??= "thunar" | 30 | PACKAGECONFIG ??= " \ |
| 33 | PACKAGECONFIG[thunar] = "--enable-thunar-sendto,--disable-thunar-sendto" | 31 | ${@bb.utils.filter('DISTRO_FEATURES', 'polkit pulseaudio ', d)} \ |
| 32 | thunar \ | ||
| 33 | " | ||
| 34 | PACKAGECONFIG[thunar] = "-Dthunar-sendto=true,-Dthunar-sendto=false" | ||
| 35 | PACKAGECONFIG[pulseaudio] = "-Dpulseaudio=true,-Dpulseaudio=false" | ||
| 36 | PACKAGECONFIG[polkit] = "-Dpolicykit=true,-Dpolicykit=false" | ||
| 34 | 37 | ||
| 35 | FILES:${PN} += " \ | 38 | FILES:${PN} += " \ |
| 36 | ${datadir}/dbus-1 \ | 39 | ${datadir} \ |
| 37 | ${datadir}/Thunar \ | ||
| 38 | ${systemd_user_unitdir} \ | 40 | ${systemd_user_unitdir} \ |
| 39 | ${exec_prefix}${systemd_system_unitdir} \ | ||
| 40 | ${PYTHON_SITEPACKAGES_DIR} \ | 41 | ${PYTHON_SITEPACKAGES_DIR} \ |
| 41 | " | 42 | " |
| 42 | 43 | ||
| 43 | FILES:${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/_blueman.a" | ||
| 44 | |||
| 45 | # In code, path to python is a variable that is replaced with path to native version of it | 44 | # In code, path to python is a variable that is replaced with path to native version of it |
| 46 | # during the configure stage, e.g ../recipe-sysroot-native/usr/bin/python3-native/python3. | 45 | # during the configure stage, e.g ../recipe-sysroot-native/usr/bin/python3-native/python3. |
| 47 | # Replace it with #!/usr/bin/env python3 | 46 | # Replace it with #!/usr/bin/env python3 |
| @@ -55,3 +54,4 @@ do_install:append() { | |||
| 55 | ${D}${bindir}/blueman-services \ | 54 | ${D}${bindir}/blueman-services \ |
| 56 | ${D}${bindir}/blueman-tray | 55 | ${D}${bindir}/blueman-tray |
| 57 | } | 56 | } |
| 57 | |||
