From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: libgpiod-2.1.3
Date: Thu, 14 Nov 2024 21:27:10 +0100 [thread overview]
Message-ID: <20241114202710.2A87922447@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-52037@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1264 bytes --]
There is an updated pull request by classabbyamp against master on the void-packages repository
https://github.com/tsndqst/void-packages libgpiod
https://github.com/void-linux/void-packages/pull/52037
New package: libgpiod-2.1.3
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-glibc
Fixes https://github.com/void-linux/void-packages/issues/49469
A patch file from https://github.com/void-linux/void-packages/pull/52037.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libgpiod-52037.patch --]
[-- Type: text/x-diff, Size: 2958 bytes --]
From 37d1f26155079753f2c7248f01f10174e0877325 Mon Sep 17 00:00:00 2001
From: Tim Sandquist <tim.sandquist@gmail.com>
Date: Thu, 29 Aug 2024 07:45:47 -0500
Subject: [PATCH] New package: libgpiod-2.2
---
srcpkgs/libgpiod-devel | 1 +
srcpkgs/libgpiod-python3 | 1 +
srcpkgs/libgpiod-tools | 1 +
srcpkgs/libgpiod/template | 52 +++++++++++++++++++++++++++++++++++++++
4 files changed, 55 insertions(+)
create mode 120000 srcpkgs/libgpiod-devel
create mode 120000 srcpkgs/libgpiod-python3
create mode 120000 srcpkgs/libgpiod-tools
create mode 100644 srcpkgs/libgpiod/template
diff --git a/srcpkgs/libgpiod-devel b/srcpkgs/libgpiod-devel
new file mode 120000
index 00000000000000..79aeec1f099c08
--- /dev/null
+++ b/srcpkgs/libgpiod-devel
@@ -0,0 +1 @@
+libgpiod
\ No newline at end of file
diff --git a/srcpkgs/libgpiod-python3 b/srcpkgs/libgpiod-python3
new file mode 120000
index 00000000000000..79aeec1f099c08
--- /dev/null
+++ b/srcpkgs/libgpiod-python3
@@ -0,0 +1 @@
+libgpiod
\ No newline at end of file
diff --git a/srcpkgs/libgpiod-tools b/srcpkgs/libgpiod-tools
new file mode 120000
index 00000000000000..79aeec1f099c08
--- /dev/null
+++ b/srcpkgs/libgpiod-tools
@@ -0,0 +1 @@
+libgpiod
\ No newline at end of file
diff --git a/srcpkgs/libgpiod/template b/srcpkgs/libgpiod/template
new file mode 100644
index 00000000000000..708521ec8d8ea6
--- /dev/null
+++ b/srcpkgs/libgpiod/template
@@ -0,0 +1,52 @@
+# Template file for 'libgpiod'
+pkgname=libgpiod
+version=2.2
+revision=1
+build_style="gnu-configure"
+build_helper="python3"
+configure_args="--prefix=/usr --enable-tools=yes --enable-bindings-cxx
+ --enable-bindings-python --enable-gpioset-interactive"
+hostmakedepends="autoconf automake autoconf-archive doxygen libtool
+ pkg-config python3-build python3-pip"
+makedepends="libedit-devel python3-devel"
+short_desc="C library for interacting with the linux GPIO character device"
+maintainer="Tim Sandquist <tim.sandquist@gmail.com>"
+license="Apache-2.0, BSD-3-Clause, CC-BY-SA-4.0, CC0-1.0, GPL-2.0-only, GPL-2.0-or-later,
+ LGPL-2.1-or-later, custom:Linux-syscall-note"
+homepage="https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git"
+distfiles="https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/snapshot/libgpiod-${version}.tar.gz"
+checksum=ae35329db7027c740e90c883baf27c26311f0614e6a7b115771b28188b992aec
+
+pre_configure() {
+ autoreconf -fi
+}
+
+post_install() {
+ vlicense LICENSES/BSD-3-Clause.txt
+ vlicense LICENSES/Linux-syscall-note.txt
+}
+
+libgpiod-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ vmove usr/lib/pkgconfig
+ }
+}
+
+libgpiod-python3_package() {
+ short_desc+=" - python bindings"
+ pkg_install() {
+ vmove "usr/lib/python3*"
+ }
+}
+
+libgpiod-tools_package() {
+ short_desc+=" - utilities"
+ pkg_install() {
+ vmove usr/bin
+ }
+}
next prev parent reply other threads:[~2024-11-14 20:27 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-29 12:49 [PR PATCH] " tsndqst
2024-08-29 13:14 ` [PR PATCH] [Updated] " tsndqst
2024-08-29 13:18 ` tsndqst
2024-08-29 13:55 ` tsndqst
2024-08-29 14:05 ` [PR REVIEW] " classabbyamp
2024-08-29 14:06 ` [PR PATCH] [Updated] " tsndqst
2024-08-29 14:10 ` tsndqst
2024-08-29 14:10 ` [PR REVIEW] " tsndqst
2024-08-29 14:11 ` tsndqst
2024-08-29 14:34 ` classabbyamp
2024-08-29 17:20 ` [PR PATCH] [Updated] " tsndqst
2024-08-29 19:40 ` tsndqst
2024-08-29 20:05 ` tsndqst
2024-08-29 20:12 ` tsndqst
2024-08-29 20:22 ` tsndqst
2024-08-30 0:24 ` [PR REVIEW] " classabbyamp
2024-08-30 13:27 ` [PR PATCH] [Updated] " tsndqst
2024-08-30 14:52 ` [PR REVIEW] " classabbyamp
2024-08-30 15:02 ` [PR PATCH] [Updated] " tsndqst
2024-08-30 15:09 ` tsndqst
2024-09-08 16:20 ` classabbyamp
2024-09-08 16:21 ` [PR PATCH] [Updated] " classabbyamp
2024-09-09 2:23 ` classabbyamp
2024-11-14 20:24 ` classabbyamp
2024-11-14 20:26 ` classabbyamp
2024-11-14 20:27 ` classabbyamp [this message]
2024-11-14 20:34 ` [PR PATCH] [Merged]: " classabbyamp
2024-11-14 20:53 ` tsndqst
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=20241114202710.2A87922447@inbox.vuxu.org \
--to=classabbyamp@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).