Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] hidapi: update to 0.13.1.
@ 2023-05-10 16:02 lukas-jo
  2023-05-10 16:34 ` [PR PATCH] [Updated] " lukas-jo
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: lukas-jo @ 2023-05-10 16:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 665 bytes --]

There is a new pull request by lukas-jo against master on the void-packages repository

https://github.com/lukas-jo/void-packages hidapi
https://github.com/void-linux/void-packages/pull/43834

hidapi: update to 0.13.1.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l-musl

The autotools build method is deprecated upstream, cmake is recommended instead


A patch file from https://github.com/void-linux/void-packages/pull/43834.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hidapi-43834.patch --]
[-- Type: text/x-diff, Size: 1624 bytes --]

From 13c639b6a2eb7fcd0acd77f32bc9ddba826a201c Mon Sep 17 00:00:00 2001
From: lukas-jo <lukas.jordan@pm.me>
Date: Wed, 10 May 2023 17:58:27 +0200
Subject: [PATCH] hidapi: update to 0.13.1.

---
 srcpkgs/hidapi/template | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/hidapi/template b/srcpkgs/hidapi/template
index d62101829776..695eabbf51e7 100644
--- a/srcpkgs/hidapi/template
+++ b/srcpkgs/hidapi/template
@@ -1,31 +1,26 @@
 # Template file for 'hidapi'
 pkgname=hidapi
-version=0.11.2
+version=0.13.1
 revision=1
-build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config"
+build_style=cmake
+hostmakedepends="pkg-config"
 makedepends="eudev-libudev-devel libusb-devel"
 short_desc="Simple library for communicating with USB and Bluetooth HID devices"
 maintainer="Ulf <void@uw.anonaddy.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/libusb/hidapi"
+changelog="https://github.com/libusb/hidapi/releases"
 distfiles="https://github.com/libusb/hidapi/archive/hidapi-${version}.tar.gz"
-checksum=bc4ac0f32a6b21ef96258a7554c116152e2272dacdec1e4620fc44abeea50c27
+checksum=476a2c9a4dc7d1fc97dd223b84338dbea3809a84caea2dcd887d9778725490e3
 
-pre_configure() {
-	./bootstrap
-}
 post_install() {
-	rm -r ${DESTDIR}/usr/share
 	vlicense LICENSE-bsd.txt LICENSE
 }
 
 hidapi-devel_package() {
 	short_desc+=" - development files"
-	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	depends="${sourcepkg}>=${version}_${revision}"
 	pkg_install() {
-		vmove usr/include
-		vmove usr/lib/*.a
 		vmove usr/lib/*.so
 		vmove usr/lib/pkgconfig
 	}

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

* Re: [PR PATCH] [Updated] hidapi: update to 0.13.1.
  2023-05-10 16:02 [PR PATCH] hidapi: update to 0.13.1 lukas-jo
@ 2023-05-10 16:34 ` lukas-jo
  2023-05-10 16:49 ` lukas-jo
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: lukas-jo @ 2023-05-10 16:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

There is an updated pull request by lukas-jo against master on the void-packages repository

https://github.com/lukas-jo/void-packages hidapi
https://github.com/void-linux/void-packages/pull/43834

hidapi: update to 0.13.1.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l-musl

The autotools build method is deprecated upstream, cmake is recommended instead


A patch file from https://github.com/void-linux/void-packages/pull/43834.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hidapi-43834.patch --]
[-- Type: text/x-diff, Size: 1650 bytes --]

From 0e679fdfe3aab03a8c88d7079190b7c8f3936d22 Mon Sep 17 00:00:00 2001
From: lukas-jo <lukas.jordan@pm.me>
Date: Wed, 10 May 2023 17:58:27 +0200
Subject: [PATCH] hidapi: update to 0.13.1.

---
 srcpkgs/hidapi/template | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/hidapi/template b/srcpkgs/hidapi/template
index d62101829776..09b728c609ac 100644
--- a/srcpkgs/hidapi/template
+++ b/srcpkgs/hidapi/template
@@ -1,32 +1,29 @@
 # Template file for 'hidapi'
 pkgname=hidapi
-version=0.11.2
+version=0.13.1
 revision=1
-build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config"
+build_style=cmake
+hostmakedepends="pkg-config"
 makedepends="eudev-libudev-devel libusb-devel"
 short_desc="Simple library for communicating with USB and Bluetooth HID devices"
 maintainer="Ulf <void@uw.anonaddy.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/libusb/hidapi"
+changelog="https://github.com/libusb/hidapi/releases"
 distfiles="https://github.com/libusb/hidapi/archive/hidapi-${version}.tar.gz"
-checksum=bc4ac0f32a6b21ef96258a7554c116152e2272dacdec1e4620fc44abeea50c27
+checksum=476a2c9a4dc7d1fc97dd223b84338dbea3809a84caea2dcd887d9778725490e3
 
-pre_configure() {
-	./bootstrap
-}
 post_install() {
-	rm -r ${DESTDIR}/usr/share
 	vlicense LICENSE-bsd.txt LICENSE
 }
 
 hidapi-devel_package() {
 	short_desc+=" - development files"
-	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	depends="${sourcepkg}>=${version}_${revision}"
 	pkg_install() {
 		vmove usr/include
-		vmove usr/lib/*.a
 		vmove usr/lib/*.so
 		vmove usr/lib/pkgconfig
+		vmove usr/lib/cmake
 	}
 }

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

* Re: [PR PATCH] [Updated] hidapi: update to 0.13.1.
  2023-05-10 16:02 [PR PATCH] hidapi: update to 0.13.1 lukas-jo
  2023-05-10 16:34 ` [PR PATCH] [Updated] " lukas-jo
@ 2023-05-10 16:49 ` lukas-jo
  2023-05-10 16:50 ` lukas-jo
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: lukas-jo @ 2023-05-10 16:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

There is an updated pull request by lukas-jo against master on the void-packages repository

https://github.com/lukas-jo/void-packages hidapi
https://github.com/void-linux/void-packages/pull/43834

hidapi: update to 0.13.1.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l-musl

The autotools build method is deprecated upstream, cmake is recommended instead


A patch file from https://github.com/void-linux/void-packages/pull/43834.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hidapi-43834.patch --]
[-- Type: text/x-diff, Size: 1650 bytes --]

From 67c766fe6ef17c31877c45b9aaf632c3084f5643 Mon Sep 17 00:00:00 2001
From: lukas-jo <lukas.jordan@pm.me>
Date: Wed, 10 May 2023 17:58:27 +0200
Subject: [PATCH] hidapi: update to 0.13.1.

---
 srcpkgs/hidapi/template | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/hidapi/template b/srcpkgs/hidapi/template
index d62101829776..09b728c609ac 100644
--- a/srcpkgs/hidapi/template
+++ b/srcpkgs/hidapi/template
@@ -1,32 +1,29 @@
 # Template file for 'hidapi'
 pkgname=hidapi
-version=0.11.2
+version=0.13.1
 revision=1
-build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config"
+build_style=cmake
+hostmakedepends="pkg-config"
 makedepends="eudev-libudev-devel libusb-devel"
 short_desc="Simple library for communicating with USB and Bluetooth HID devices"
 maintainer="Ulf <void@uw.anonaddy.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/libusb/hidapi"
+changelog="https://github.com/libusb/hidapi/releases"
 distfiles="https://github.com/libusb/hidapi/archive/hidapi-${version}.tar.gz"
-checksum=bc4ac0f32a6b21ef96258a7554c116152e2272dacdec1e4620fc44abeea50c27
+checksum=476a2c9a4dc7d1fc97dd223b84338dbea3809a84caea2dcd887d9778725490e3
 
-pre_configure() {
-	./bootstrap
-}
 post_install() {
-	rm -r ${DESTDIR}/usr/share
 	vlicense LICENSE-bsd.txt LICENSE
 }
 
 hidapi-devel_package() {
 	short_desc+=" - development files"
-	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	depends="${sourcepkg}>=${version}_${revision}"
 	pkg_install() {
 		vmove usr/include
-		vmove usr/lib/*.a
 		vmove usr/lib/*.so
 		vmove usr/lib/pkgconfig
+		vmove usr/lib/cmake
 	}
 }

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

* Re: [PR PATCH] [Updated] hidapi: update to 0.13.1.
  2023-05-10 16:02 [PR PATCH] hidapi: update to 0.13.1 lukas-jo
  2023-05-10 16:34 ` [PR PATCH] [Updated] " lukas-jo
  2023-05-10 16:49 ` lukas-jo
@ 2023-05-10 16:50 ` lukas-jo
  2023-05-17  5:20 ` [PR REVIEW] " classabbyamp
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: lukas-jo @ 2023-05-10 16:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

There is an updated pull request by lukas-jo against master on the void-packages repository

https://github.com/lukas-jo/void-packages hidapi
https://github.com/void-linux/void-packages/pull/43834

hidapi: update to 0.13.1.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l-musl

The autotools build method is deprecated upstream, cmake is recommended instead


A patch file from https://github.com/void-linux/void-packages/pull/43834.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hidapi-43834.patch --]
[-- Type: text/x-diff, Size: 1741 bytes --]

From 71d6df138271c41dbafdc0f33121b4705961ec31 Mon Sep 17 00:00:00 2001
From: lukas-jo <lukas.jordan@pm.me>
Date: Wed, 10 May 2023 17:58:27 +0200
Subject: [PATCH] hidapi: update to 0.13.1.

---
 srcpkgs/hidapi/template | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/hidapi/template b/srcpkgs/hidapi/template
index d62101829776..e42512170861 100644
--- a/srcpkgs/hidapi/template
+++ b/srcpkgs/hidapi/template
@@ -1,32 +1,29 @@
 # Template file for 'hidapi'
 pkgname=hidapi
-version=0.11.2
+version=0.13.1
 revision=1
-build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config"
+build_style=cmake
+hostmakedepends="pkg-config"
 makedepends="eudev-libudev-devel libusb-devel"
 short_desc="Simple library for communicating with USB and Bluetooth HID devices"
 maintainer="Ulf <void@uw.anonaddy.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/libusb/hidapi"
-distfiles="https://github.com/libusb/hidapi/archive/hidapi-${version}.tar.gz"
-checksum=bc4ac0f32a6b21ef96258a7554c116152e2272dacdec1e4620fc44abeea50c27
+changelog="https://github.com/libusb/hidapi/releases"
+distfiles="https://github.com/libusb/hidapi/archive/refs/tags/hidapi-${version}.tar.gz"
+checksum=476a2c9a4dc7d1fc97dd223b84338dbea3809a84caea2dcd887d9778725490e3
 
-pre_configure() {
-	./bootstrap
-}
 post_install() {
-	rm -r ${DESTDIR}/usr/share
 	vlicense LICENSE-bsd.txt LICENSE
 }
 
 hidapi-devel_package() {
 	short_desc+=" - development files"
-	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
+	depends="${sourcepkg}>=${version}_${revision}"
 	pkg_install() {
 		vmove usr/include
-		vmove usr/lib/*.a
 		vmove usr/lib/*.so
 		vmove usr/lib/pkgconfig
+		vmove usr/lib/cmake
 	}
 }

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

* Re: [PR REVIEW] hidapi: update to 0.13.1.
  2023-05-10 16:02 [PR PATCH] hidapi: update to 0.13.1 lukas-jo
                   ` (2 preceding siblings ...)
  2023-05-10 16:50 ` lukas-jo
@ 2023-05-17  5:20 ` classabbyamp
  2023-05-17 14:35 ` lukas-jo
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2023-05-17  5:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 169 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/43834#discussion_r1195949632

Comment:
why remove this?

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

* Re: [PR REVIEW] hidapi: update to 0.13.1.
  2023-05-10 16:02 [PR PATCH] hidapi: update to 0.13.1 lukas-jo
                   ` (3 preceding siblings ...)
  2023-05-17  5:20 ` [PR REVIEW] " classabbyamp
@ 2023-05-17 14:35 ` lukas-jo
  2023-05-17 14:40 ` [PR PATCH] [Updated] " lukas-jo
  2023-05-17 14:57 ` [PR PATCH] [Merged]: " classabbyamp
  6 siblings, 0 replies; 8+ messages in thread
From: lukas-jo @ 2023-05-17 14:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 253 bytes --]

New review comment by lukas-jo on void-packages repository

https://github.com/void-linux/void-packages/pull/43834#discussion_r1196622669

Comment:
Ah, that was left over from testing the build style change. I'll re-add it, if it's needed/good practice

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

* Re: [PR PATCH] [Updated] hidapi: update to 0.13.1.
  2023-05-10 16:02 [PR PATCH] hidapi: update to 0.13.1 lukas-jo
                   ` (4 preceding siblings ...)
  2023-05-17 14:35 ` lukas-jo
@ 2023-05-17 14:40 ` lukas-jo
  2023-05-17 14:57 ` [PR PATCH] [Merged]: " classabbyamp
  6 siblings, 0 replies; 8+ messages in thread
From: lukas-jo @ 2023-05-17 14:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

There is an updated pull request by lukas-jo against master on the void-packages repository

https://github.com/lukas-jo/void-packages hidapi
https://github.com/void-linux/void-packages/pull/43834

hidapi: update to 0.13.1.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l-musl

The autotools build method is deprecated upstream, cmake is recommended instead


A patch file from https://github.com/void-linux/void-packages/pull/43834.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hidapi-43834.patch --]
[-- Type: text/x-diff, Size: 1670 bytes --]

From 2ba06949a2780d3dba14c1d7a3852dfcc789ab4e Mon Sep 17 00:00:00 2001
From: lukas-jo <lukas.jordan@pm.me>
Date: Wed, 10 May 2023 17:58:27 +0200
Subject: [PATCH] hidapi: update to 0.13.1.

---
 srcpkgs/hidapi/template | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/hidapi/template b/srcpkgs/hidapi/template
index d62101829776..c9cef86a126c 100644
--- a/srcpkgs/hidapi/template
+++ b/srcpkgs/hidapi/template
@@ -1,22 +1,19 @@
 # Template file for 'hidapi'
 pkgname=hidapi
-version=0.11.2
+version=0.13.1
 revision=1
-build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config"
+build_style=cmake
+hostmakedepends="pkg-config"
 makedepends="eudev-libudev-devel libusb-devel"
 short_desc="Simple library for communicating with USB and Bluetooth HID devices"
 maintainer="Ulf <void@uw.anonaddy.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/libusb/hidapi"
-distfiles="https://github.com/libusb/hidapi/archive/hidapi-${version}.tar.gz"
-checksum=bc4ac0f32a6b21ef96258a7554c116152e2272dacdec1e4620fc44abeea50c27
+changelog="https://github.com/libusb/hidapi/releases"
+distfiles="https://github.com/libusb/hidapi/archive/refs/tags/hidapi-${version}.tar.gz"
+checksum=476a2c9a4dc7d1fc97dd223b84338dbea3809a84caea2dcd887d9778725490e3
 
-pre_configure() {
-	./bootstrap
-}
 post_install() {
-	rm -r ${DESTDIR}/usr/share
 	vlicense LICENSE-bsd.txt LICENSE
 }
 
@@ -25,8 +22,8 @@ hidapi-devel_package() {
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
 	pkg_install() {
 		vmove usr/include
-		vmove usr/lib/*.a
 		vmove usr/lib/*.so
 		vmove usr/lib/pkgconfig
+		vmove usr/lib/cmake
 	}
 }

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

* Re: [PR PATCH] [Merged]: hidapi: update to 0.13.1.
  2023-05-10 16:02 [PR PATCH] hidapi: update to 0.13.1 lukas-jo
                   ` (5 preceding siblings ...)
  2023-05-17 14:40 ` [PR PATCH] [Updated] " lukas-jo
@ 2023-05-17 14:57 ` classabbyamp
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2023-05-17 14:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 513 bytes --]

There's a merged pull request on the void-packages repository

hidapi: update to 0.13.1.
https://github.com/void-linux/void-packages/pull/43834

Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l-musl

The autotools build method is deprecated upstream, cmake is recommended instead


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

end of thread, other threads:[~2023-05-17 14:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-10 16:02 [PR PATCH] hidapi: update to 0.13.1 lukas-jo
2023-05-10 16:34 ` [PR PATCH] [Updated] " lukas-jo
2023-05-10 16:49 ` lukas-jo
2023-05-10 16:50 ` lukas-jo
2023-05-17  5:20 ` [PR REVIEW] " classabbyamp
2023-05-17 14:35 ` lukas-jo
2023-05-17 14:40 ` [PR PATCH] [Updated] " lukas-jo
2023-05-17 14:57 ` [PR PATCH] [Merged]: " classabbyamp

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