guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: audacity: Be less alpha.


From: guix-commits
Subject: 01/02: gnu: audacity: Be less alpha.
Date: Tue, 20 Dec 2022 09:34:48 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 04665f267398307f7d682335a46fbf7222345276
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Dec 18 01:00:00 2022 +0100

    gnu: audacity: Be less alpha.
    
    * gnu/packages/audio.scm (audacity)[arguments]: Set AUDACITY_BUILD_LEVEL
    in the #:configure-flags.
---
 gnu/packages/audio.scm | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index b1d3007b8c..fdbb6f4ac9 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -856,15 +856,6 @@ engineers, musicians, soundtrack editors and composers.")
     (version "3.2.1")
     (source
      (origin
-       ;; If built from the release tag, Audacity will describe itself
-       ;; as an "Alpha test version" and suggest to users that they use
-       ;; the "latest stable released version".
-       ;; XXX: For 3.2.1 we rebelliously use a git tag anyway because the only
-       ;; "processed" download is a .zip containing a .tar.gz which does not
-       ;; fare well with the patch and snippet machinery:
-       ;;   https://github.com/audacity/audacity/issues/3811
-       ;; TODO: Find a way to control the "alpha" status even when using git
-       ;; so we're not reliant on preprocessed source code.
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/audacity/audacity";)
@@ -940,7 +931,11 @@ engineers, musicians, soundtrack editors and composers.")
         ;; TODO: enable this flag once we've packaged all dependencies
         ;; "-Daudacity_obey_system_dependencies=on"
         ;; disable crash reports, updates, ..., anything that phones home
-        "-Daudacity_has_networking=off")
+        "-Daudacity_has_networking=off"
+        ;; When building from Git — even from a release tag — this is 
undefined,
+        ;; and Audacity assumes that is is an ‘alpha’ version and includes 
debug
+        ;; symbols and extra code.  Force level 2, ‘release’.
+        "-DAUDACITY_BUILD_LEVEL=2")
        #:imported-modules ((guix build glib-or-gtk-build-system)
                            ,@%cmake-build-system-modules)
        #:modules



reply via email to

[Prev in Thread] Current Thread [Next in Thread]