Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] libsigrok: update to 0.5.2.
@ 2020-07-15  3:20 Gigahawk
  2020-07-15  3:24 ` Gigahawk
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: Gigahawk @ 2020-07-15  3:20 UTC (permalink / raw)
  To: ml

[-- 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() {

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-04-07  5:02 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15  3:20 [PR PATCH] libsigrok: update to 0.5.2 Gigahawk
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

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).