GNU bug report logs - #75673
[PATCH] gnu: mixxx: Update to 2.5.

Previous Next

Package: guix-patches;

Reported by: Olivier Rojon <o.rojon <at> posteo.net>

Date: Sun, 19 Jan 2025 18:30:02 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: 宋文武 <iyzsong <at> envs.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#75673: closed ([PATCH] gnu: mixxx: Update to 2.5.)
Date: Mon, 03 Feb 2025 10:23:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 03 Feb 2025 18:26:00 +0800
with message-id <87pljzwchz.fsf <at> envs.net>
and subject line Re: [bug#75673] [PATCH] gnu: mixxx: Update to 2.5.
has caused the debbugs.gnu.org bug report #75673,
regarding [PATCH] gnu: mixxx: Update to 2.5.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
75673: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=75673
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Olivier Rojon <o.rojon <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Olivier Rojon <o.rojon <at> posteo.net>
Subject: [PATCH] gnu: mixxx: Update to 2.5.
Date: Sun, 19 Jan 2025 18:28:14 +0000
* gnu/packages/music.scm (mixxx): Update to 2.5.

Change-Id: I865a25668422abcb1c4fa6e0a65ee55212445431
---
 gnu/packages/music.scm | 64 ++++++++++++++++++++++--------------------
 1 file changed, 34 insertions(+), 30 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index eecee3990a..75b63b05ba 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -208,6 +208,7 @@ (define-module (gnu packages music)
   #:use-module (gnu packages video)
   #:use-module (gnu packages vim)       ;for 'xxd'
   #:use-module (gnu packages web)
+  #:use-module (gnu packages vulkan)
   #:use-module (gnu packages webkit)
   #:use-module (gnu packages wm)
   #:use-module (gnu packages wxwidgets)
@@ -2402,7 +2403,7 @@ (define-public petri-foo
 (define-public mixxx
   (package
     (name "mixxx")
-    (version "2.4.2")
+    (version "2.5")
     (source
      (origin
        (method git-fetch)
@@ -2411,7 +2412,7 @@ (define-public mixxx
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1xvmha9q2f1gclb5js09l511v3b5zbp3gnbrz11q681cp924byk1"))
+        (base32 "18azgvjpc7nq7ix0xn6h2j74x52wfvqyfsfiv87n9z4s2a41d0ij"))
        (modules '((guix build utils)))
        (snippet
         ;; Delete libraries that we already have or don't need.
@@ -2424,35 +2425,38 @@ (define-public mixxx
            #t))))
     (build-system qt-build-system)
     (arguments
-     `(#:phases (modify-phases %standard-phases
-                  (add-after 'unpack 'disable-bugged-test
-                    ;; This test regularly fails and aborts the build process, hence it
-                    ;; was disabled (no impact on functionality).  It appears this is a
-                    ;; problem for some upstream as well, as indicated by:
-                    ;; https://github.com/mixxxdj/mixxx/issues/12887 (featuring a
-                    ;; reference to another issue related to the same problem).
-                    (lambda _
-                      (substitute* "src/test/soundproxy_test.cpp"
-                        (("TEST_F\\(SoundSourceProxyTest, firstSoundTest\\)")
-                         "TEST_F(SoundSourceProxyTest, DISABLED_firstSoundTest)"))))
-                  (add-after 'install 'wrap-executable
-                    (lambda* (#:key inputs outputs #:allow-other-keys)
-                      (let* ((out (assoc-ref outputs "out"))
-                             (faad2 (assoc-ref inputs "faad2")))
-                        (wrap-program (string-append out "/bin/mixxx")
-                          `("LD_LIBRARY_PATH" ":" prefix
-                            ,(list (string-append faad2 "/lib"))))))))))
-    (native-inputs (list benchmark googletest python-wrapper qttools-5
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'disable-bugged-test
+                     ;; This test regularly fails and aborts the build process, hence it
+                     ;; was disabled (no impact on functionality).  It appears this is a
+                     ;; problem for some upstream as well, as indicated by:
+                     ;; https://github.com/mixxxdj/mixxx/issues/12887 (featuring a
+                     ;; reference to another issue related to the same problem).
+                     (lambda _
+                       (substitute* "src/test/soundproxy_test.cpp"
+                         (("TEST_F\\(SoundSourceProxyTest, firstSoundTest\\)")
+                          "TEST_F(SoundSourceProxyTest, DISABLED_firstSoundTest)"))))
+                   (add-after 'install 'wrap-executable
+                     (lambda* (#:key inputs #:allow-other-keys)
+                       (wrap-program (string-append #$output "/bin/mixxx")
+                         `("QT_PLUGIN_PATH" prefix
+                           (,(string-append #$(this-package-input "qtsvg")
+                                            "/lib/qt6/plugins")))
+                         `("LD_LIBRARY_PATH" prefix
+                           (,(string-append #$(this-package-input "faad2")
+                                            "/lib")))))))))
+    (native-inputs (list benchmark googletest python-wrapper qttools
                          xorg-server-for-tests))
     (inputs (list bash-minimal
                   chromaprint
+                  libxkbcommon
                   faad2
-                  ffmpeg
+                  ffmpeg-4
                   fftw
                   flac
                   glu
                   hidapi
-                  jack-1
                   lame
                   libdjinterop
                   libebur128
@@ -2462,9 +2466,6 @@ (define-public mixxx
                   libmp4v2
                   libmodplug
                   libsndfile
-                  libshout
-                  ;; XXX: Mixxx complains the libshout-idjc package suffers from bug
-                  ;; lp1833225 and refuses to use it.  Use the bundle for now.
                   libshout-idjc
                   libusb
                   libvorbis
@@ -2475,12 +2476,15 @@ (define-public mixxx
                   portaudio
                   portmidi
                   protobuf
-                  qtbase-5
-                  qtdeclarative-5
-                  qtkeychain
+                  qtbase
+                  qtdeclarative
+                  qtkeychain-qt6
                   qtscript
-                  qtsvg-5
+                  qtsvg
                   qtx11extras
+                  qtshadertools
+                  qt5compat
+                  vulkan-headers
                   rubberband
                   soundtouch
                   sqlite
-- 
2.47.1



[Message part 3 (message/rfc822, inline)]
From: 宋文武 <iyzsong <at> envs.net>
To: Olivier Rojon <o.rojon <at> posteo.net>
Cc: 75673-done <at> debbugs.gnu.org
Subject: Re: [bug#75673] [PATCH] gnu: mixxx: Update to 2.5.
Date: Mon, 03 Feb 2025 18:26:00 +0800
Olivier Rojon <o.rojon <at> posteo.net> writes:

> * gnu/packages/music.scm (mixxx): Update to 2.5.

Applied with some modifications, thank you!


This bug report was last modified 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.