bug#50883: change x11 to expat licenses

2023-01-29 Thread Alex Devaure
Hi,
I created a patch to update the licenses.
Alex

>From f8e0672bbccc31f0b29c453f5f46e9b01008784e Mon Sep 17 00:00:00 2001
From: Alex Devaure 
Date: Sun, 29 Jan 2023 18:41:28 +
Subject: [PATCH] suckless licenses fix

---
 gnu/packages/suckless.scm | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index 8844482cc9..92a9654724 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -274,7 +274,7 @@ (define-public dwm
  "dwm is a dynamic window manager for X.  It manages windows in tiled,
 monocle and floating layouts.  All of the layouts can be applied dynamically,
 optimising the environment for the application in use and the task performed.")
-(license license:x11)))
+(license license:expat)))
 
 (define-public dmenu
   (package
@@ -305,7 +305,7 @@ (define-public dmenu
 (description
  "A dynamic menu for X, originally designed for dwm.  It manages large
 numbers of user-defined menu items efficiently.")
-(license license:x11)))
+(license license:expat)))
 
 (define-public spoon
   (package
@@ -358,7 +358,7 @@ (define-public slock
 (synopsis "Simple X session lock")
 (description
  "Simple X session lock with trivial feedback on password entry.")
-(license license:x11)))
+(license license:expat)))
 
 (define-public st
   (package
@@ -398,7 +398,7 @@ (define-public st
 implements 256 colors, most VT10X escape sequences, utf8, X11 copy/paste,
 antialiased fonts (using fontconfig), fallback fonts, resizing, and line
 drawing.")
-(license license:x11)))
+(license license:expat)))
 
 (define-public xst
   (package
@@ -527,7 +527,7 @@ (define-public surf
 display websites and follow links.  It supports the XEmbed protocol which
 makes it possible to embed it in another application.  Furthermore, one can
 point surf to another URI by setting its XProperties.")
-(license license:x11)))
+(license license:expat)))
 
 (define-public sent
   (package
@@ -576,7 +576,7 @@ (define-public sent
 allows you to write down the presentation for a quick lightning talk within a
 few minutes.")
 (home-page "https://tools.suckless.org/sent/";)
-(license license:x11)))
+(license license:expat)))
 
 (define-public wmname
   (package
-- 
2.39.1





bug#51086: tlp error in tlp-func-base

2021-10-08 Thread Alex Devaure
Hi,
During the system boot, tlp generates an error:
/gnu/store/68mpiffl51mcrss7zy26dnqfx3d5v2vv-tlp-1.4.0/share/tlp/tlp-func-base:
line 528 /usr/share/tlp/bat.d/[0-9][0-9]*[a-z]: No such file or
directory.

It looks that the path to the bat.d directory is not modified during the
package creation. I think that the following patch should fix the
problem:
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 34aba8377f..d673a4f281 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -6773,6 +6773,7 @@ interface in sysfs, which can be accomplished with the 
included udev rules.")
(setenv "TLP_BIN" (string-append out "/bin"))
(setenv "TLP_TLIB" (string-append out "/share/tlp"))
(setenv "TLP_FLIB" (string-append out "/share/tlp/func.d"))
+   (setenv "TLP_BATD" (string-append out "/share/tlp/bat.d"))
(setenv "TLP_ULIB" (string-append out "/lib/udev"))
(setenv "TLP_CONFDEF"
(string-append out "/share/tlp/defaults.conf"))

Regards,
Alex





bug#71970: hash mismatch for gmic 3.4.0

2024-07-06 Thread Alex Devaure
Hi,
The version 3.4.0 of gmic has commited few hours ago. It looks that the
hash is not correct:
sha256 hash mismatch for 
/gnu/store/q7hwkm6zsgaclq0rizpjfb6vl0a5z1bw-gmic_3.4.0.tar.gz:
  expected hash: 1c2j1prsnsks5cglk0vrwaclifk6mlxmrc88wqc96xi7cmwwjmf3
  actual hash:   0akrrpkwkc8d7f2r3nqr36cjd926zk221yppi1bmv4yvydx0hvyz
hash mismatch for store item 
'/gnu/store/q7hwkm6zsgaclq0rizpjfb6vl0a5z1bw-gmic_3.4.0.tar.gz'

Best regards,
Alex





bug#63485: Broken build libfprint

2023-05-22 Thread Alex Devaure
Hi Jiwei,
Doing some investigations, I found that the build configuration needs to
be updated due to some meson update.
I have a patch nearly ready and I will send it in the coming days.
Best regards,
Alex





bug#63485: Broken build libfprint

2023-05-22 Thread Alex Devaure

Hi,
Here is the patch to build libfprint.
>From 6366bd6755da6b151756a117d59da5f6cd735cf1 Mon Sep 17 00:00:00 2001
Message-Id: <6366bd6755da6b151756a117d59da5f6cd735cf1.1684787335.git.ajadeva...@gmail.com>
From: Alex Devaure 
Date: Mon, 22 May 2023 21:25:29 +0100
Subject: [PATCH] gnu package libfprint: fix meson configuration

---
 gnu/packages/freedesktop.scm | 60 +++-
 1 file changed, 32 insertions(+), 28 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 78b459443a..b4b26379cd 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -2072,36 +2072,40 @@ (define-public libfprint
   (package
 (name "libfprint")
 (version "1.94.5")
-(source
- (origin
-   (method git-fetch)
-   (uri (git-reference
- (url "https://gitlab.freedesktop.org/libfprint/libfprint";)
- (commit (string-append "v" version
-   (file-name (git-file-name name version))
-   (sha256
-(base32 "1l1ak7y2kz0nrdkfj41n7h34dyykgzdg50y752ayk3ginp6szr7r"
+(source (origin
+  (method git-fetch)
+  (uri (git-reference
+(url "https://gitlab.freedesktop.org/libfprint/libfprint";)
+(commit (string-append "v" version
+  (file-name (git-file-name name version))
+  (sha256
+   (base32
+"1l1ak7y2kz0nrdkfj41n7h34dyykgzdg50y752ayk3ginp6szr7r"
 (build-system meson-build-system)
 (arguments
- (list #:configure-flags
-   #~(list (string-append "-Dudev_hwdb_dir=" #$output
-  "/lib/udev/hwdb.d")
-   (string-append "-Dudev_rules_dir=" #$output
-  "/lib/udev/rules.d"
-(native-inputs
- (list `(,glib "bin")   ; for {glib-,}mkenums
-   gobject-introspection
-   gtk-doc/stable   ; for 88 KiB of API documentation
-   pkg-config
-   ;; For tests
-   python-minimal))
-(inputs
- (list gusb
-   libgudev
-   nss  ; for the URU4x00 driver
-   ;; Replacing this with cairo works but just results in a reference
-   ;; (only) to pixman in the end.
-   pixman))
+ (list #:configure-flags #~(list (string-append
+  "-Dc_link_args=-Wl,-rpath="
+  (search-input-directory %build-inputs
+  "lib/nss"))
+ (string-append "-Dudev_hwdb_dir="
+#$output
+"/lib/udev/hwdb.d")
+ (string-append "-Dudev_rules_dir="
+#$output
+"/lib/udev/rules.d"
+
+(native-inputs (list `(,glib "bin") ;for {glib-,}mkenums
+ gobject-introspection
+ gtk-doc/stable ;for 88 KiB of API documentation
+ pkg-config
+ ;; For tests
+ python-minimal))
+(inputs (list gusb
+  libgudev
+  nss ;for the URU4x00 driver
+  ;; Replacing this with cairo works but just results in a reference
+  ;; (only) to pixman in the end.
+  pixman))
 (home-page "https://fprint.freedesktop.org/";)
 (synopsis "Library to access fingerprint readers")
 (description

base-commit: 1638d1f0cecb52a7392d78534e9a0136878759e4
-- 
2.40.1


Alex