GNU bug report logs

#76951 [PATCH] updated j4-dmenu-desktop to 3.2

PackageSource(s)Maintainer(s)
guix-patches PTS Buildd Popcon
Reply or subscribe to this bug. View this bug as an mbox, status mbox, or maintainer mbox

Report forwarded to guix-patches@gnu.org:
bug#76951; Package guix-patches. (Tue, 11 Mar 2025 17:48:02 GMT) (full text, mbox, link).


Acknowledgement sent to "Jodi D." <jodijodingtondev@gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches@gnu.org. (Tue, 11 Mar 2025 17:48:02 GMT) (full text, mbox, link).


Message #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

From: "Jodi D." <jodijodingtondev@gmail.com>
To: guix-patches@gnu.org
Cc: "Jodi D." <jodijodingtondev@gmail.com>
Subject: [PATCH] updated j4-dmenu-desktop to 3.2
Date: Tue, 11 Mar 2025 10:34:29 -0500
Change-Id: I5b01b9171c5a977c3167b1a9139b1c7667975163
---
note: when cross-compiling, three checks seem to fail on both aarch64-linux and armhf-linux and I don't know how to fix it nor if the issue is caused by the tests running via qemu
I am hoping someone can help me figure out how to fix that

relevant check phase output:
         The following tests FAILED:
	 50 - Test FileFinder (Failed)
	 59 - Test I3Exec (Subprocess aborted)
	 67 - Test detection of file creation and deletion of a subdirectory of watched directory (Failed)

 gnu/packages/xdisorg.scm | 49 +++++++++++++++++++++-------------------
 1 file changed, 26 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 5fd0685c7c..df145a2e0e 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -161,6 +161,8 @@ (define-module (gnu packages xdisorg)
   #:use-module (gnu packages wm)
   #:use-module (gnu packages webkit)
   #:use-module (gnu packages xorg)
+  #:use-module (gnu packages logging)
+  #:use-module (gnu packages pretty-print)
   #:use-module (gnu packages)
   #:use-module (ice-9 match))
 
@@ -3496,31 +3498,32 @@ (define-public kbdd
 (define-public j4-dmenu-desktop
   (package
     (name "j4-dmenu-desktop")
-    (version "2.18")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/enkore/j4-dmenu-desktop")
-                    (commit (string-append "r" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "1gxpgifzy0hnpd0ymw3r32amzr32z3bgb90ldjzl438p6h1q0i26"))))
+    (version "3.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/enkore/j4-dmenu-desktop")
+             (commit "fb7ba9e3ee6de575377c295b54474049e399b5ac")))
+       (sha256
+        (base32 "15jlb0si77sndnl5annys0dq2gkwwvzn1d2jwjay9i3xdivzmfb2"))))
     (build-system cmake-build-system)
-    (native-inputs
-     (list catch2))
+    (native-inputs (list catch2-3 spdlog fmt))
     (arguments
-     `(#:configure-flags '("-DWITH_GIT_CATCH=off")
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'find-catch
-           (lambda _
-             (substitute* "CMakeLists.txt"
-               (("PATH_SUFFIXES catch") "PATH_SUFFIXES catch2"))
-             #t))
-         (replace 'check
-           (lambda _
-             (invoke "./j4-dmenu-tests" "exclude:SearchPath/XDG_DATA_HOME"))))))
+     (list
+      #:configure-flags '(list "-DNO_DOWNLOAD=ON")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'fix-shell-path-in-tests
+            (lambda* (#:key outputs #:allow-other-keys)
+              (let ((sh-path (string-append #$bash "/bin/sh")))
+                (begin
+                  (substitute* "tests/ShellUnquote.cc"
+                    (("/bin/sh")
+                     sh-path))
+                  (substitute* "tests/TestFieldCodes.cc"
+                    (("/bin/sh")
+                     sh-path)))))))))
     (synopsis "Fast desktop menu")
     (description
      "j4-dmenu-desktop is a replacement for i3-dmenu-desktop.  Its purpose

base-commit: 7b9cd0b4293041fdbfa065b019cea589cc316060
-- 
2.48.1





Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Wed Apr 9 16:53:40 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.