[gentoo-commits] proj/musl:master commit in: net-wireless/bluez/files/, net-wireless/bluez/
commit: 9e30c063811fec9c679f21c4868e327307aa9ef6 Author: Jory Pratt gentoo org> AuthorDate: Sat Nov 27 03:43:51 2021 + Commit: Jory Pratt gentoo org> CommitDate: Sat Nov 27 03:43:51 2021 + URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=9e30c063 net-wireless/bluez: sync with ::gentoo stable Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Jory Pratt gentoo.org> net-wireless/bluez/Manifest| 2 +- .../{bluez-5.61-r1.ebuild => bluez-5.62-r1.ebuild} | 5 +-- .../bluez/files/bluez-5.60-glibc-2.34.patch| 42 -- 3 files changed, 2 insertions(+), 47 deletions(-) diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest index a788677f..ff487814 100644 --- a/net-wireless/bluez/Manifest +++ b/net-wireless/bluez/Manifest @@ -1 +1 @@ -DIST bluez-5.61.tar.xz 2137412 BLAKE2B 2fc1b44f726d48b4a0e8bbecc664077db1db69bbc87c66e9d7ac85d7b2e066de8b349c18597a5ba140c5fcb1ef867ee3980ebdd839ded69ae30491fb7b836940 SHA512 a2318637258f9db0bf05fecbfbea2c3ca5e21867378e28ab4c77f658fe42f10c8c607939f2b437ec40d1ceb00b99f7916c0275faaedd9edd247f7dc91329937a +DIST bluez-5.62.tar.xz 2149348 BLAKE2B db99b36a230fc0be15275d2eda9864b686326ba50648f66b19087ea4309a76d234ab4f1dcb6975f1513a898978b1d5b9332542f5dcee22efd898b79658434a70 SHA512 8fb0b81e1d929d3eee3d70f457ce75dbcff4c2a8a728247fc950bbe11e84d83582345bfd433d2e2df7b5588eb0e42f286658a83c7332be84819d9df49a5707e8 diff --git a/net-wireless/bluez/bluez-5.61-r1.ebuild b/net-wireless/bluez/bluez-5.62-r1.ebuild similarity index 98% rename from net-wireless/bluez/bluez-5.61-r1.ebuild rename to net-wireless/bluez/bluez-5.62-r1.ebuild index 6fa675c8..6357a74c 100644 --- a/net-wireless/bluez/bluez-5.61-r1.ebuild +++ b/net-wireless/bluez/bluez-5.62-r1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{8..10} ) inherit autotools linux-info python-single-r1 readme.gentoo-r1 systemd udev multilib-minimal @@ -69,9 +69,6 @@ PATCHES=( # http://www.spinics.net/lists/linux-bluetooth/msg40136.html "${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch - # https://marc.info/?l=linux-bluetooth=161498090629584=2 - "${FILESDIR}"/${PN}-5.60-glibc-2.34.patch - # Required for musl support "${FILESDIR}"/0001-include-limits.h-for-PATH_MAX-for-musl-support.patch ) diff --git a/net-wireless/bluez/files/bluez-5.60-glibc-2.34.patch b/net-wireless/bluez/files/bluez-5.60-glibc-2.34.patch deleted file mode 100644 index 1e846100.. --- a/net-wireless/bluez/files/bluez-5.60-glibc-2.34.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 124dee151746b4a8a2e8a7194af78f2c82f75d79 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= -Date: Wed, 3 Mar 2021 08:57:36 +0100 -Subject: [PATCH] media: rename local function conflicting with pause(2) - -profiles/audio/media.c:1284:13: error: conflicting types for 'pause'; have '_Bool(void *)' - 1284 | static bool pause(void *user_data) - | ^ -In file included from /usr/include/bits/sigstksz.h:24, - from /usr/include/signal.h:315, - from /usr/include/glib-2.0/glib/gbacktrace.h:36, - from /usr/include/glib-2.0/glib.h:34, - from profiles/audio/media.c:21: -/usr/include/unistd.h:478:12: note: previous declaration of 'pause' with type 'int(void)' - 478 | extern int pause (void); - |^ - profiles/audio/media.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/profiles/audio/media.c b/profiles/audio/media.c -index c84bbe22dc..3d8c4b69c3 100644 a/profiles/audio/media.c -+++ b/profiles/audio/media.c -@@ -1281,7 +1281,7 @@ static bool stop(void *user_data) - return media_player_send(mp, "Stop"); - } - --static bool pause(void *user_data) -+static bool pause_play(void *user_data) - { - struct media_player *mp = user_data; - -@@ -1331,7 +1331,7 @@ static struct avrcp_player_cb player_cb = { - .set_volume = set_volume, - .play = play, - .stop = stop, -- .pause = pause, -+ .pause = pause_play, - .next = next, - .previous = previous, - };
[gentoo-commits] proj/musl:master commit in: net-wireless/bluez/files/, net-wireless/bluez/
commit: 8a99ee12f6dd8c3d3e45c636b96015ff64e9d0d5 Author: Jory Pratt gentoo org> AuthorDate: Sun Sep 12 17:19:03 2021 + Commit: Jory Pratt gentoo org> CommitDate: Sun Sep 12 17:19:03 2021 + URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=8a99ee12 net-wireless/bluez: fix missing include for musl users Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Jory Pratt gentoo.org> net-wireless/bluez/Manifest| 1 + net-wireless/bluez/bluez-5.61.ebuild | 295 + ...xd-without-systemd-in-the-user-session-r2.patch | 58 ...de-limits.h-for-PATH_MAX-for-musl-support.patch | 24 ++ ...-GLib-helper-function-to-manipulate-paths.patch | 38 +++ net-wireless/bluez/files/bluetooth-conf.d | 1 + net-wireless/bluez/files/bluetooth-init.d-r5 | 13 + .../bluez/files/bluez-5.60-glibc-2.34.patch| 42 +++ .../bluez/files/bluez-udevadm-path-r1.patch| 10 + net-wireless/bluez/metadata.xml| 26 ++ 10 files changed, 508 insertions(+) diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest new file mode 100644 index 000..a788677 --- /dev/null +++ b/net-wireless/bluez/Manifest @@ -0,0 +1 @@ +DIST bluez-5.61.tar.xz 2137412 BLAKE2B 2fc1b44f726d48b4a0e8bbecc664077db1db69bbc87c66e9d7ac85d7b2e066de8b349c18597a5ba140c5fcb1ef867ee3980ebdd839ded69ae30491fb7b836940 SHA512 a2318637258f9db0bf05fecbfbea2c3ca5e21867378e28ab4c77f658fe42f10c8c607939f2b437ec40d1ceb00b99f7916c0275faaedd9edd247f7dc91329937a diff --git a/net-wireless/bluez/bluez-5.61.ebuild b/net-wireless/bluez/bluez-5.61.ebuild new file mode 100644 index 000..1d4400f --- /dev/null +++ b/net-wireless/bluez/bluez-5.61.ebuild @@ -0,0 +1,295 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..10} ) + +inherit autotools linux-info python-single-r1 readme.gentoo-r1 systemd udev multilib-minimal + +DESCRIPTION="Bluetooth Tools and System Daemons for Linux" +HOMEPAGE="http://www.bluez.org; +SRC_URI="https://www.kernel.org/pub/linux/bluetooth/${P}.tar.xz; + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0/3" +KEYWORDS="amd64 arm arm64 ~mips ppc ppc64 x86" +IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi +obex +readline selinux systemd test test-programs +udev user-session" + +# Since this release all remaining extra-tools need readline support, but this could +# change in the future, hence, this REQUIRED_USE constraint could be dropped +# again in the future. +REQUIRED_USE=" + extra-tools? ( deprecated readline ) + test? ( ${PYTHON_REQUIRED_USE} ) + test-programs? ( ${PYTHON_REQUIRED_USE} ) +" + +TEST_DEPS="${PYTHON_DEPS} + $(python_gen_cond_dep ' + >=dev-python/dbus-python-1[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') +" +BDEPEND=" + dev-python/docutils + virtual/pkgconfig + test? ( ${TEST_DEPS} ) +" +DEPEND=" + >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}] + >=sys-apps/hwids-20121202.2 + btpclient? ( >=dev-libs/ell-0.39 ) + cups? ( net-print/cups:= ) + mesh? ( + >=dev-libs/ell-0.39 + >=dev-libs/json-c-0.13:= + sys-libs/readline:0= + ) + midi? ( media-libs/alsa-lib ) + obex? ( dev-libs/libical:= ) + readline? ( sys-libs/readline:0= ) + systemd? ( + >=sys-apps/dbus-1.6:=[user-session=] + sys-apps/systemd + ) + !systemd? ( >=sys-apps/dbus-1.6:= ) + udev? ( >=virtual/udev-172 ) +" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-bluetooth ) + test-programs? ( ${TEST_DEPS} ) +" + +RESTRICT="!test? ( test )" + +PATCHES=( + # Try both udevadm paths to cover udev/systemd vs. eudev locations (#539844) + # http://www.spinics.net/lists/linux-bluetooth/msg58739.html + # https://bugs.gentoo.org/539844 + "${FILESDIR}"/${PN}-udevadm-path-r1.patch + + # Fedora patches + # http://www.spinics.net/lists/linux-bluetooth/msg40136.html + "${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch + + # https://marc.info/?l=linux-bluetooth=161498090629584=2 + "${FILESDIR}"/${PN}-5.60-glibc-2.34.patch + + # Required for musl support + "${FILESDIR}"/0001-include-limits.h-for-PATH_MAX-for-musl-support.patch +) + +pkg_setup() { + # From http://www.linuxfromscratch.org/blfs/view/svn/general/bluez.html + # to prevent bugs like: + # https://bugzilla.kernel.org/show_bug.cgi?id=196621 + CONFIG_CHECK="~NET ~BT ~BT_RFCOMM ~BT_RFCOMM_TTY ~BT_BNEP ~BT_BNEP_MC_FILTER + ~BT_BNEP_PROTO_FILTER ~BT_HIDP ~CRYPTO_USER_API_HASH ~CRYPTO_USER_API_SKCIPHER ~RFKILL" + # https://bugzilla.kernel.org/show_bug.cgi?id=196621 + #
[gentoo-commits] proj/musl:master commit in: net-wireless/bluez/files/, net-wireless/bluez/
commit: 850d98a79324a62678343dcb30b8e63be6773056 Author: Jory Pratt gentoo org> AuthorDate: Tue Oct 1 20:48:33 2019 + Commit: Jory Pratt gentoo org> CommitDate: Tue Oct 1 20:48:33 2019 + URL:https://gitweb.gentoo.org/proj/musl.git/commit/?id=850d98a7 net-wireless/bluez: Fix missing include of limits.h in 5.51 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Jory Pratt gentoo.org> net-wireless/bluez/Manifest| 1 + net-wireless/bluez/bluez-5.51.ebuild | 288 + ...xd-without-systemd-in-the-user-session-r1.patch | 58 + .../files/0001-Include-limits.h-for-PATH_MAX.patch | 64 + ...-GLib-helper-function-to-manipulate-paths.patch | 38 +++ net-wireless/bluez/files/69-btattach-bcm.rules | 33 +++ net-wireless/bluez/files/bluetooth-init.d-r4 | 12 + .../bluez/files/bluez-5.39-systemd-quote.patch | 38 +++ .../bluez/files/bluez-udevadm-path-r1.patch| 10 + net-wireless/bluez/files/btattach-bcm-service.sh | 30 +++ net-wireless/bluez/files/btattach-bcm_at.service | 6 + net-wireless/bluez/metadata.xml| 26 ++ 12 files changed, 604 insertions(+) diff --git a/net-wireless/bluez/Manifest b/net-wireless/bluez/Manifest new file mode 100644 index 000..4f49136 --- /dev/null +++ b/net-wireless/bluez/Manifest @@ -0,0 +1 @@ +DIST bluez-5.51.tar.xz 1941904 BLAKE2B e8580388961c99305c6f723160e726232a097067815a88a056c1569c55c2ea410004cf92572afbef9b782807d8a940503b4501f9c6046cacac35136fbbe580a8 SHA512 8b14eea98f541b981162abce728e0f917654ad3c990721ec398fe41bdd68069fe55ff64b61bc3c3b9f813facf42c995b07619f6d5d153965de27154b1a7b578f diff --git a/net-wireless/bluez/bluez-5.51.ebuild b/net-wireless/bluez/bluez-5.51.ebuild new file mode 100644 index 000..cc086d7 --- /dev/null +++ b/net-wireless/bluez/bluez-5.51.ebuild @@ -0,0 +1,288 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 ) + +inherit autotools python-single-r1 readme.gentoo-r1 systemd udev multilib-minimal + +DESCRIPTION="Bluetooth Tools and System Daemons for Linux" +HOMEPAGE="http://www.bluez.org; +SRC_URI="mirror://kernel/linux/bluetooth/${P}.tar.xz" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0/3" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86" +IUSE="btpclient cups doc debug deprecated extra-tools experimental +mesh midi +obex +readline selinux systemd test test-programs +udev user-session" + +# Since this release all remaining extra-tools need readline support, but this could +# change in the future, hence, this REQUIRED_USE constraint could be dropped +# again in the future. +REQUIRED_USE=" + extra-tools? ( deprecated readline ) + test? ( ${PYTHON_REQUIRED_USE} ) + test-programs? ( ${PYTHON_REQUIRED_USE} ) +" + +TEST_DEPS="${PYTHON_DEPS} + >=dev-python/dbus-python-1[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] +" +BDEPEND=" + virtual/pkgconfig + test? ( ${TEST_DEPS} ) +" +DEPEND=" + >=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}] + >=sys-apps/hwids-20121202.2 + btpclient? ( >=dev-libs/ell-0.14 ) + cups? ( net-print/cups:= ) + mesh? ( + >=dev-libs/ell-0.14 + dev-libs/json-c:= + sys-libs/readline:0= + ) + midi? ( media-libs/alsa-lib ) + obex? ( dev-libs/libical:= ) + readline? ( sys-libs/readline:0= ) + systemd? ( + >=sys-apps/dbus-1.6:=[user-session=] + sys-apps/systemd + ) + !systemd? ( >=sys-apps/dbus-1.6:= ) + udev? ( >=virtual/udev-172 ) +" +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-bluetooth ) + test-programs? ( ${TEST_DEPS} ) +" + +RESTRICT="!test? ( test )" + +PATCHES=( + # Try both udevadm paths to cover udev/systemd vs. eudev locations (#539844) + # http://www.spinics.net/lists/linux-bluetooth/msg58739.html + # https://bugs.gentoo.org/539844 + "${FILESDIR}"/${PN}-udevadm-path-r1.patch + + # build: Quote systemd variable names, bug #527432 + # http://article.gmane.org/gmane.linux.bluez.kernel/67230 + "${FILESDIR}"/${PN}-5.39-systemd-quote.patch + + # Fedora patches + # http://www.spinics.net/lists/linux-bluetooth/msg40136.html + "${FILESDIR}"/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch + + # Fix missing includes for non glibc systems + "${FILESDIR}"/0001-Include-limits.h-for-PATH_MAX.patch +) + +pkg_setup() { + if use test || use test-programs; then + python-single-r1_pkg_setup + fi + + if ! use udev; then + ewarn + ewarn "You are installing ${PN} with USE=-udev. This means various bluetooth" + ewarn "devices and adapters from Apple, Dell, Logitech etc. will not work," + ewarn