From: Gigahawk <Gigahawk@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] libsigrok: update to 0.5.2.
Date: Wed, 15 Jul 2020 05:20:10 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23581@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 341 bytes --]
There is a new pull request by Gigahawk against master on the void-packages repository
https://github.com/Gigahawk/void-packages libsigrok-uaccess-fix
https://github.com/void-linux/void-packages/pull/23581
libsigrok: update to 0.5.2.
Fixes #23580
A patch file from https://github.com/void-linux/void-packages/pull/23581.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libsigrok-uaccess-fix-23581.patch --]
[-- Type: text/x-diff, Size: 3292 bytes --]
From 4985fdbcda51f1be9b80d54c0d3a1d77da6b209f Mon Sep 17 00:00:00 2001
From: Jasper Chan <jasperchan515@gmail.com>
Date: Tue, 14 Jul 2020 20:19:41 -0700
Subject: [PATCH] libsigrok: update to 0.5.2.
---
...Add-udev-rule-file-for-dialout-group.patch | 48 +++++++++++++++++++
srcpkgs/libsigrok/template | 4 +-
2 files changed, 50 insertions(+), 2 deletions(-)
create mode 100644 srcpkgs/libsigrok/patches/0001-Add-udev-rule-file-for-dialout-group.patch
diff --git a/srcpkgs/libsigrok/patches/0001-Add-udev-rule-file-for-dialout-group.patch b/srcpkgs/libsigrok/patches/0001-Add-udev-rule-file-for-dialout-group.patch
new file mode 100644
index 00000000000..c20d6373dde
--- /dev/null
+++ b/srcpkgs/libsigrok/patches/0001-Add-udev-rule-file-for-dialout-group.patch
@@ -0,0 +1,48 @@
+From a5358ef3056554cf16d4064189016e9ffc1db6d8 Mon Sep 17 00:00:00 2001
+From: Jasper Chan <jasperchan515@gmail.com>
+Date: Tue, 14 Jul 2020 20:14:11 -0700
+Subject: [PATCH] Add udev rule file for dialout group
+
+---
+ contrib/61-libsigrok-dialout.rules | 29 +++++++++++++++++++++++++++++
+ 1 file changed, 29 insertions(+)
+ create mode 100644 contrib/61-libsigrok-dialout.rules
+
+diff --git contrib/61-libsigrok-dialout.rules contrib/61-libsigrok-dialout.rules
+new file mode 100644
+index 00000000..c6b2cbc0
+--- /dev/null
++++ contrib/61-libsigrok-dialout.rules
+@@ -0,0 +1,29 @@
++##
++## This file is part of the libsigrok project.
++##
++## Copyright (C) 2017 Stefan Bruens <stefan.bruens@rwth-aachen.de>
++##
++## This program is free software; you can redistribute it and/or modify
++## it under the terms of the GNU General Public License as published by
++## the Free Software Foundation; either version 2 of the License, or
++## (at your option) any later version.
++##
++## This program is distributed in the hope that it will be useful,
++## but WITHOUT ANY WARRANTY; without even the implied warranty of
++## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++## GNU General Public License for more details.
++##
++## You should have received a copy of the GNU General Public License
++## along with this program; if not, see <http://www.gnu.org/licenses/>.
++##
++
++# Grant access permissions to users who are in the "dialout" group.
++#
++# This file, when installed, must be installed with a name lexicographically
++# sorted later than the accompanied 60-libsigrok.rules
++
++ACTION!="add|change", GOTO="libsigrok_rules_dialout_end"
++
++ENV{ID_SIGROK}=="1", MODE="660", GROUP="dialout"
++
++LABEL="libsigrok_rules_dialout_end"
+--
+2.27.0
+
diff --git a/srcpkgs/libsigrok/template b/srcpkgs/libsigrok/template
index 87939ce82fa..4aeb2f03268 100644
--- a/srcpkgs/libsigrok/template
+++ b/srcpkgs/libsigrok/template
@@ -1,7 +1,7 @@
# Template file for 'libsigrok'
pkgname=libsigrok
version=0.5.2
-revision=1
+revision=2
build_style=gnu-configure
hostmakedepends="pkg-config doxygen python3"
makedepends="glib-devel libzip-devel glibmm-devel libserialport-devel
@@ -19,7 +19,7 @@ esac
post_install() {
vinstall contrib/60-libsigrok.rules 0644 /usr/lib/udev/rules.d
- vinstall contrib/61-libsigrok-uaccess.rules 0644 /usr/lib/udev/rules.d
+ vinstall contrib/61-libsigrok-dialout.rules 0644 /usr/lib/udev/rules.d
}
libsigrok-devel_package() {
next reply other threads:[~2020-07-15 3:20 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-15 3:20 Gigahawk [this message]
2020-07-15 3:24 ` Gigahawk
2020-07-17 0:49 ` sgn
2020-07-28 1:43 ` [PR PATCH] [Updated] " Gigahawk
2020-07-28 1:45 ` Gigahawk
2021-01-18 22:09 ` [PR REVIEW] " ericonr
2021-09-20 15:49 ` paper42
2022-03-14 20:18 ` 0x5c
2022-03-14 20:20 ` 0x5c
2022-03-14 23:33 ` 0x5c
2022-03-14 23:37 ` Gigahawk
2022-03-14 23:51 ` 0x5c
2022-04-07 1:58 ` [PR PATCH] [Closed]: " abenson
2022-04-07 5:01 ` 0x5c
2022-04-07 5:02 ` Gigahawk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23581@inbox.vuxu.org \
--to=gigahawk@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).