summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-connectivity/blueman/blueman/0001-Search-for-cython3.patch29
-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 @@
1From 77db892cdee265e971270c06ca1ffbaeea6449a3 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
3Date: Tue, 26 Jun 2018 00:27:40 +0200
4Subject: [PATCH] Search for cython3 1Subject: [PATCH] Search for cython3
5MIME-Version: 1.0 2MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8 3Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit 4Content-Transfer-Encoding: 8bit
8 5
9Upstream-Status: Pending 6Upstream-Status: Inappropriate
10 7
11Signed-off-by: Andreas ller <schnitzeltony@gmail.com> 8Signed-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
16diff --git a/configure.ac b/configure.ac 13--- a/module/meson.build 2022-02-10 08:49:35.000000000 +0100
17index 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--
302.14.3 232.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"
2LICENSE = "GPL-3.0-only" 2LICENSE = "GPL-3.0-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 3LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
4 4
5DEPENDS = "bluez5 python3-pygobject python3-cython-native python3-setuptools-native intltool-native" 5DEPENDS = "gtk+3 glib-2.0 bluez5 python3-pygobject python3-cython-native"
6 6
7inherit autotools gettext systemd gsettings pkgconfig python3native gtk-icon-cache 7inherit meson gettext systemd gsettings pkgconfig python3native gtk-icon-cache
8 8
9SRC_URI = " \ 9SRC_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"
14SRC_URI[sha256sum] = "6edd791da6afd8f610ffb08d5138cfcf50e6257ad30efad686287f3a2be106e9" 14SRC_URI[sha256sum] = "55d639feeda0b43b18a659e65985213a54b47dcb1348f3b4effb5238db242602"
15 15
16EXTRA_OECONF = " \ 16EXTRA_OEMESON = "-Druntime_deps_check=false -Dappindicator=false"
17 --disable-appindicator \
18 --disable-runtime-deps-check \
19 --disable-schemas-compile \
20"
21 17
22SYSTEMD_SERVICE:${PN} = "${BPN}-mechanism.service" 18SYSTEMD_SERVICE:${PN} = "${BPN}-mechanism.service"
23SYSTEMD_AUTO_ENABLE:${PN} = "disable" 19SYSTEMD_AUTO_ENABLE:${PN} = "disable"
@@ -26,22 +22,25 @@ RRECOMENDS_${PN} += "adwaita-icon-theme"
26RDEPENDS:${PN} += " \ 22RDEPENDS:${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
32PACKAGECONFIG ??= "thunar" 30PACKAGECONFIG ??= " \
33PACKAGECONFIG[thunar] = "--enable-thunar-sendto,--disable-thunar-sendto" 31 ${@bb.utils.filter('DISTRO_FEATURES', 'polkit pulseaudio ', d)} \
32 thunar \
33"
34PACKAGECONFIG[thunar] = "-Dthunar-sendto=true,-Dthunar-sendto=false"
35PACKAGECONFIG[pulseaudio] = "-Dpulseaudio=true,-Dpulseaudio=false"
36PACKAGECONFIG[polkit] = "-Dpolicykit=true,-Dpolicykit=false"
34 37
35FILES:${PN} += " \ 38FILES:${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
43FILES:${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