summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-06-16 01:54:01 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-06-16 01:54:01 +0000
commitaee2022a0805dc979ed9fa978b44077012c16d95 (patch)
tree74931fad47b06a0f6da1c5616a0f398db4650629 /user
parent9a959bda7a13caa2c0b26260b457fc00b5b9ead7 (diff)
downloadpackages-aee2022a0805dc979ed9fa978b44077012c16d95.tar.gz
packages-aee2022a0805dc979ed9fa978b44077012c16d95.tar.bz2
packages-aee2022a0805dc979ed9fa978b44077012c16d95.tar.xz
packages-aee2022a0805dc979ed9fa978b44077012c16d95.zip
user/bolt: Update to 0.9
Diffstat (limited to 'user')
-rw-r--r--user/bolt/APKBUILD9
-rw-r--r--user/bolt/wakeup.patch50
2 files changed, 3 insertions, 56 deletions
diff --git a/user/bolt/APKBUILD b/user/bolt/APKBUILD
index b14289263..b9b75ff19 100644
--- a/user/bolt/APKBUILD
+++ b/user/bolt/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=bolt
-pkgver=0.8
+pkgver=0.9
pkgrel=0
pkgdesc="Thunderbolt 3 device manager"
url=" "
@@ -10,9 +10,7 @@ license="LGPL-2.1-only"
depends=""
makedepends="eudev-dev glib-dev meson ninja polkit-dev"
subpackages=""
-source="https://gitlab.freedesktop.org/bolt/bolt/-/archive/$pkgver/bolt-$pkgver.tar.gz
- wakeup.patch
- "
+source="https://gitlab.freedesktop.org/bolt/bolt/-/archive/$pkgver/bolt-$pkgver.tar.gz"
build() {
meson \
@@ -32,5 +30,4 @@ package() {
DESTDIR="$pkgdir" ninja -C output install
}
-sha512sums="0fdbc026178a4ca6a8c53aa46933d1c411eb04e350955f8b10c7faff814576d0796dd28e56b968648e549c79cf5fa13d43970d797595af0f66457abaef8ace09 bolt-0.8.tar.gz
-487f2c7824edba318692d40ffc4e55f893602587b1380b18877d9dca3b5b22b14e27001b3547369a8ec1a6c5fe7a5facc1fa97e92b3a5011a67ec967afce25ea wakeup.patch"
+sha512sums="427e9ad95a8d018dd22326cc4b458fc9149b001d3aa6e4bb8e4047eaf6c3cf04a4dc3be9396049734dc0bd54f990b3bce31b6eef4031e3b671a6202a588cfe78 bolt-0.9.tar.gz"
diff --git a/user/bolt/wakeup.patch b/user/bolt/wakeup.patch
deleted file mode 100644
index a10d420c4..000000000
--- a/user/bolt/wakeup.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From ea3e3e30eb3ce76f6a0ae816a0f35809872f4edf Mon Sep 17 00:00:00 2001
-From: Christian Kellner <christian@kellner.me>
-Date: Mon, 13 Jan 2020 17:38:47 +0100
-Subject: [PATCH] manager: ignore wakeup device uevents for probing
-
-The probing detection code should ignore wakeup device uevents
-because these virtual devices can be added (and removed) without
-and correspondence to any physical thunderbolt device (un-)plug
-events.
----
- boltd/bolt-manager.c | 16 ++++++++++++++++
- 1 file changed, 16 insertions(+)
-
-diff --git a/boltd/bolt-manager.c b/boltd/bolt-manager.c
-index 877c008..c8b60da 100644
---- a/boltd/bolt-manager.c
-+++ b/boltd/bolt-manager.c
-@@ -2043,6 +2043,16 @@ device_is_thunderbolt_root (struct udev_device *dev)
- bolt_streq (driver, "thunderbolt");
- }
-
-+static gboolean
-+device_is_wakeup (struct udev_device *dev)
-+{
-+ const char *subsys;
-+
-+ subsys = udev_device_get_subsystem (dev);
-+
-+ return bolt_streq (subsys, "wakeup");
-+}
-+
- static gboolean
- probing_add_root (BoltManager *mgr,
- struct udev_device *dev)
-@@ -2080,6 +2090,12 @@ manager_probing_device_added (BoltManager *mgr,
- if (syspath == NULL)
- return;
-
-+ /* ignore events for wakeup devices which get removed
-+ * and added at random time without any connection to
-+ * any physical thunderbolt device */
-+ if (device_is_wakeup (dev))
-+ return;
-+
- roots = mgr->probing_roots;
- for (guint i = 0; i < roots->len; i++)
- {
---
-2.24.1
-