Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] libspnav: update to 1.1, minor fixes
@ 2023-06-21 17:41 CtrlC-Root
  2023-06-21 17:42 ` CtrlC-Root
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: CtrlC-Root @ 2023-06-21 17:41 UTC (permalink / raw)
  To: ml

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

There is a new pull request by CtrlC-Root against master on the void-packages repository

https://github.com/CtrlC-Root/void-packages update-libspnav
https://github.com/void-linux/void-packages/pull/44552

libspnav: update to 1.1, minor fixes
#### Testing the changes
- I tested the changes in this PR: **YES**

Using a SpaceMouse Pro Wireless with the latest upstream versions of `spacenavd`, `spnavcfg`, and the latest version of FreeCAD in the repository.

![libspnav-1 1-test-spacemouse-pro-wireless](https://github.com/void-linux/void-packages/assets/4819590/652ba122-021a-4f17-954d-7243073f1f2e)

#### Local build testing
- I built this PR locally for my native architecture, x86_64

#### Notes

* The upstream sources are not accessible on GitHub (for all three related packages). The 1.1 version is not on SourceForge so I switched the `distfiles` to GitHub.
* I dropped the `do_build()` section as it doesn't seem to be necessary when using the `gnu-configure` build style. If there's something I missed here for why this should be kept in please let me know.
* The library supports a non-X11 build but I'm not sure how to expose that. Does XBPS support variants like that? If it matters to someone and you can point me to the relevant documentation I would be willing to add it.
* I plan to package `spacenavd` and `spnavcfg` next which will depend on this library.


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

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

From 623d6da9024b8103ebab7b428f5f28c6c0465c5e Mon Sep 17 00:00:00 2001
From: Alexandru Barbur <alex@ctrlc.name>
Date: Wed, 21 Jun 2023 13:34:50 -0400
Subject: [PATCH] libspnav: update to 1.1, minor fixes

---
 srcpkgs/libspnav/template | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/libspnav/template b/srcpkgs/libspnav/template
index 059d254e17b7..88a5c8d803a8 100644
--- a/srcpkgs/libspnav/template
+++ b/srcpkgs/libspnav/template
@@ -1,24 +1,20 @@
 # Template file for 'libspnav'
 pkgname=libspnav
-version=1.0
-revision=2
+version=1.1
+revision=1
 build_style=gnu-configure
-configure_args="--disable-opt"
 makedepends="libX11-devel"
 short_desc="Open source alternative to 3DConnextion drivers"
-maintainer="yopito <pierre.bourgin@free.fr>"
+maintainer="Alexandru Barbur <alex@ctrlc.name>"
 license="BSD-3-Clause"
 homepage="http://spacenav.sourceforge.net/"
-distfiles="${SOURCEFORGE_SITE}/spacenav/${pkgname}-${version}.tar.gz"
-checksum=8849b7f7826d750f6956cf8f4f53937f2359ab6da97d6c834c71d5f771212e7c
-
-do_build() {
-	make CC="${CC}" AR="${AR}"
-}
+distfiles="https://github.com/FreeSpacenav/libspnav/archive/refs/tags/v${version}.tar.gz"
+checksum=04b297f68a10db4fa40edf68d7f823ba7b9d0442f2b665181889abe2cea42759
 
 post_install() {
 	vlicense LICENSE
 }
+
 libspnav-devel_package() {
 	short_desc+=" - development files"
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"

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

end of thread, other threads:[~2023-06-25 18:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-21 17:41 [PR PATCH] libspnav: update to 1.1, minor fixes CtrlC-Root
2023-06-21 17:42 ` CtrlC-Root
2023-06-21 19:00 ` [PR PATCH] [Updated] " CtrlC-Root
2023-06-21 19:00 ` CtrlC-Root
2023-06-24 19:26 ` [PR REVIEW] " classabbyamp
2023-06-25 13:33 ` CtrlC-Root
2023-06-25 13:34 ` [PR PATCH] [Updated] " CtrlC-Root
2023-06-25 13:34 ` [PR REVIEW] " CtrlC-Root
2023-06-25 13:36 ` CtrlC-Root
2023-06-25 13:38 ` [PR PATCH] [Updated] " CtrlC-Root
2023-06-25 13:39 ` [PR REVIEW] " CtrlC-Root
2023-06-25 18:07 ` [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).