all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#71001] [PATCH] gnu: libwacom: Update to 2.11.0.
@ 2024-05-17 10:57 Dariqq
  2024-06-02 16:41 ` [bug#71001] [PATCH v2] " Dariqq
  0 siblings, 1 reply; 3+ messages in thread
From: Dariqq @ 2024-05-17 10:57 UTC (permalink / raw)
  To: 71001; +Cc: Dariqq

With the 2.9 release the license got clarified to be hpnd.

* gnu/packages/xdisorg.scm (libwacom): Update to 2.11.0.
[#:phases]: Add a phase to wrap with GUIX_PYTHONPATH.
[native-inputs]: Remove python-evdev.
[inputs]: Add bash-minimal, python, python-libevdev, python-pyudev.
[propagated-inputs]: Add libevdev.
[license]: Correct license to hpnd.

Change-Id: Ib5276beaec2c23e74532cb157225fc3a9a2e25e7
---

Hi Guix,
This patch updates the libwacom package.
The license was wrong before and upstream now clarified that it is hpnd.
The license file does not get installed right now, I've opened #70999 as this is a general problem with meson-build-system.
The libwacom.pc file now also requires libevdev so I added that as a propagated input. 
I've also added a wrapper with pythonpath for the python program.

 gnu/packages/xdisorg.scm | 25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index e13b44290e..f8ef28d5fa 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -1449,7 +1449,7 @@ (define-public xcape
 (define-public libwacom
   (package
     (name "libwacom")
-    (version "2.6.0")
+    (version "2.11.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -1457,24 +1457,35 @@ (define-public libwacom
                     "libwacom-" version "/libwacom-" version ".tar.xz"))
               (sha256
                (base32
-                "13x978gzyw28cqd985m5smiqgza0xp3znb1s0msmn8vmjjlwqxi3"))))
+                "0i0k333kfc6ai4vxqijjybj38s9j1hly2x327113lm1cr0g9jgxh"))))
     (build-system meson-build-system)
     (arguments
      (list
-      #:configure-flags #~(list "--default-library=shared")))
+      #:configure-flags #~(list "--default-library=shared")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'wrap-program
+            (lambda* _
+              (wrap-program (string-append #$output "/bin/libwacom-show-stylus")
+                `("GUIX_PYTHONPATH" prefix (,(getenv "GUIX_PYTHONPATH")))))))))
     (native-inputs
      (list pkg-config
            ;; For tests.
            python
-           python-evdev
            python-libevdev
            python-pytest
            python-pyudev))
     (inputs
-     (list gtk+ eudev libxml2))
+     (list bash-minimal ;; for wrap-program
+           gtk+
+           eudev
+           libxml2
+           python
+           python-libevdev
+           python-pyudev))
     (propagated-inputs
      ;; libwacom.pc 'Requires' these:
-     (list glib libgudev))
+     (list glib libevdev libgudev))
     (home-page "https://linuxwacom.github.io/")
     (synopsis "Helper library for graphics tablet settings")
     (description
@@ -1482,7 +1493,7 @@ (define-public libwacom
 intended to be used by client-programs that need model identification.  It is
 already being used by the gnome-settings-daemon and the GNOME Control Center
 Wacom tablet applet.")
-    (license license:x11)))
+    (license license:hpnd)))
 
 (define-public xf86-input-wacom
   (package

base-commit: 0846eaecd45783bf40e8dc67b0c16f71068524b7
-- 
2.41.0





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

* [bug#71001] [PATCH v2] gnu: libwacom: Update to 2.11.0.
  2024-05-17 10:57 [bug#71001] [PATCH] gnu: libwacom: Update to 2.11.0 Dariqq
@ 2024-06-02 16:41 ` Dariqq
  2024-06-11 11:36   ` bug#71001: " Christopher Baines
  0 siblings, 1 reply; 3+ messages in thread
From: Dariqq @ 2024-06-02 16:41 UTC (permalink / raw)
  To: 71001; +Cc: Dariqq

With the 2.9 release the license got clarified to be hpnd.

* gnu/packages/xdisorg.scm (libwacom): Update to 2.11.0.
[native-inputs]: Remove python-evdev.
[inputs]: Add python, python-libevdev, python-pyudev.
[propagated-inputs]: Add libevdev.
[license]: Correct license to hpnd.

Change-Id: Ib5276beaec2c23e74532cb157225fc3a9a2e25e7
---
Changes in v2: Removed the PYTHONPATH wrapper becasue I don't think it is worth the extra 100MB in size and it also captures native python inputs.

 gnu/packages/xdisorg.scm | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 357a868528..ccf28f3990 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -1449,7 +1449,7 @@ (define-public xcape
 (define-public libwacom
   (package
     (name "libwacom")
-    (version "2.6.0")
+    (version "2.11.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -1457,7 +1457,7 @@ (define-public libwacom
                     "libwacom-" version "/libwacom-" version ".tar.xz"))
               (sha256
                (base32
-                "13x978gzyw28cqd985m5smiqgza0xp3znb1s0msmn8vmjjlwqxi3"))))
+                "0i0k333kfc6ai4vxqijjybj38s9j1hly2x327113lm1cr0g9jgxh"))))
     (build-system meson-build-system)
     (arguments
      (list
@@ -1466,15 +1466,19 @@ (define-public libwacom
      (list pkg-config
            ;; For tests.
            python
-           python-evdev
            python-libevdev
            python-pytest
            python-pyudev))
     (inputs
-     (list gtk+ eudev libxml2))
+     (list gtk+
+           eudev
+           libxml2
+           python
+           python-libevdev
+           python-pyudev))
     (propagated-inputs
      ;; libwacom.pc 'Requires' these:
-     (list glib libgudev))
+     (list glib libevdev libgudev))
     (home-page "https://linuxwacom.github.io/")
     (synopsis "Helper library for graphics tablet settings")
     (description
@@ -1482,7 +1486,7 @@ (define-public libwacom
 intended to be used by client-programs that need model identification.  It is
 already being used by the gnome-settings-daemon and the GNOME Control Center
 Wacom tablet applet.")
-    (license license:x11)))
+    (license license:hpnd)))
 
 (define-public xf86-input-wacom
   (package

base-commit: bc06affabcf68bbe93e9afee13bef8cc8c6336a2
-- 
2.45.1





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

* bug#71001: [PATCH v2] gnu: libwacom: Update to 2.11.0.
  2024-06-02 16:41 ` [bug#71001] [PATCH v2] " Dariqq
@ 2024-06-11 11:36   ` Christopher Baines
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Baines @ 2024-06-11 11:36 UTC (permalink / raw)
  To: Dariqq; +Cc: 71001-done

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

Dariqq <dariqq@posteo.net> writes:

> With the 2.9 release the license got clarified to be hpnd.
>
> * gnu/packages/xdisorg.scm (libwacom): Update to 2.11.0.
> [native-inputs]: Remove python-evdev.
> [inputs]: Add python, python-libevdev, python-pyudev.
> [propagated-inputs]: Add libevdev.
> [license]: Correct license to hpnd.
>
> Change-Id: Ib5276beaec2c23e74532cb157225fc3a9a2e25e7
> ---
> Changes in v2: Removed the PYTHONPATH wrapper becasue I don't think it is worth the extra 100MB in size and it also captures native python inputs.
>
>  gnu/packages/xdisorg.scm | 16 ++++++++++------
>  1 file changed, 10 insertions(+), 6 deletions(-)

Looks good to me, I've pushed this to master as
1d5bfe45134259676e609020ac64cbc1a1a81d2b.

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

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

end of thread, other threads:[~2024-06-11 16:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-17 10:57 [bug#71001] [PATCH] gnu: libwacom: Update to 2.11.0 Dariqq
2024-06-02 16:41 ` [bug#71001] [PATCH v2] " Dariqq
2024-06-11 11:36   ` bug#71001: " Christopher Baines

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.