* [bug#75200] [PATCH 0/1] gnu: audacity: Update to 3.6.0.
@ 2024-12-30 13:38 Artyom V. Poptsov
2024-12-30 13:40 ` [bug#75200] [PATCH 1/1] " Artyom V. Poptsov
0 siblings, 1 reply; 2+ messages in thread
From: Artyom V. Poptsov @ 2024-12-30 13:38 UTC (permalink / raw)
To: 75200; +Cc: Artyom V. Poptsov, Gabriel Wicki
This patch updates Audacity to the 3.6.0.
I checked audio playback and recording, and it seems to work okay, but when I
try to open an mp4 file it says that I need to compile Audacity with FFMpeg
support. Although in "Help"->"About Audacity"->"Build Information" dialog it
says that the FFMpeg support is enabled.
The "audacity-ffmpeg-fallback.patch" patch is no longer applies to the source
tree, but Audacity builds fine without the patch.
I appreciate any input on this patch; maybe I overlooked something.
Artyom V. Poptsov (1):
gnu: audacity: Update to 3.6.0.
gnu/local.mk | 1 -
gnu/packages/audio.scm | 6 +-
.../patches/audacity-ffmpeg-fallback.patch | 61 -------------------
3 files changed, 3 insertions(+), 65 deletions(-)
delete mode 100644 gnu/packages/patches/audacity-ffmpeg-fallback.patch
base-commit: e2bac72206b4de5b4c9cf0063ef2afbd848986cf
--
2.47.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [bug#75200] [PATCH 1/1] gnu: audacity: Update to 3.6.0.
2024-12-30 13:38 [bug#75200] [PATCH 0/1] gnu: audacity: Update to 3.6.0 Artyom V. Poptsov
@ 2024-12-30 13:40 ` Artyom V. Poptsov
0 siblings, 0 replies; 2+ messages in thread
From: Artyom V. Poptsov @ 2024-12-30 13:40 UTC (permalink / raw)
To: 75200; +Cc: Artyom V. Poptsov, Gabriel Wicki
* gnu/packages/audio.scm (audacity): Update to 3.6.0.
[patches]: Remove "audacity-ffmpeg-fallback.patch".
* gnu/packages/patches/audacity-ffmpeg-fallback.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): De-register it.
Change-Id: I411af73bfddf68b5fdbd52272b6253a91e2afd07
---
gnu/local.mk | 1 -
gnu/packages/audio.scm | 6 +-
.../patches/audacity-ffmpeg-fallback.patch | 61 -------------------
3 files changed, 3 insertions(+), 65 deletions(-)
delete mode 100644 gnu/packages/patches/audacity-ffmpeg-fallback.patch
diff --git a/gnu/local.mk b/gnu/local.mk
index 838c2a06b3..5123c1f988 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -988,7 +988,6 @@ dist_patch_DATA = \
%D%/packages/patches/ath9k-htc-firmware-gcc.patch \
%D%/packages/patches/ath9k-htc-firmware-gcc-compat.patch \
%D%/packages/patches/atlas-gfortran-compat.patch \
- %D%/packages/patches/audacity-ffmpeg-fallback.patch \
%D%/packages/patches/audiofile-fix-datatypes-in-tests.patch \
%D%/packages/patches/audiofile-fix-sign-conversion.patch \
%D%/packages/patches/audiofile-CVE-2015-7747.patch \
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index c8e22643ee..40508d4ddd 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -49,6 +49,7 @@
;;; Copyright © 2024 hapster <o.rojon@posteo.net>
;;; Copyright © 2024 mio <stigma@disroot.org>
;;; Copyright © 2024 Nikita Domnitskii <nikita@domnitskii.me>
+;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -918,7 +919,7 @@ (define-public ardour
(define-public audacity
(package
(name "audacity")
- (version "3.5.1") ;for ffmpeg 6 support
+ (version "3.6.0") ;for ffmpeg 6 support
(source
(origin
(method git-fetch)
@@ -927,8 +928,7 @@ (define-public audacity
(commit (string-append "Audacity-" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "11sjyz6hxsr5dnndkkkiq7arjxvjl1sycl151xq3a3ggakgql3y1"))
- (patches (search-patches "audacity-ffmpeg-fallback.patch"))
+ (base32 "1mdszrdv54737krsdbip84qc0anz83nsbz1hcnymwa09rrcrrlv4"))
(modules '((guix build utils)))
(snippet
;; Remove bundled libraries.
diff --git a/gnu/packages/patches/audacity-ffmpeg-fallback.patch b/gnu/packages/patches/audacity-ffmpeg-fallback.patch
deleted file mode 100644
index c845e10277..0000000000
--- a/gnu/packages/patches/audacity-ffmpeg-fallback.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 3c20057d0cbbbed453a692d4dd4589d865808024 Mon Sep 17 00:00:00 2001
-From: Liliana Marie Prikler <liliana.prikler@gmail.com>
-Date: Sat, 29 Jan 2022 10:44:44 +0100
-Subject: [PATCH] Add pkg-config fallback for locating ffmpeg.
-
-Audacity >=3.1.0 no longer links against ffmpeg, but instead dynamically loads
-it. This dynamic loading mechanism fails to properly locate libraries outside
-of LD_LIBRARY_PATH.
-
-See <https://issues.guix.gnu.org/53591>.
-
-Bugs-added-by: Marius Bakke <marius@gnu.org>
-
-diff --git a/libraries/lib-ffmpeg-support/CMakeLists.txt b/libraries/lib-ffmpeg-support/CMakeLists.txt
-index b8803a1f5..f86559cca 100644
---- a/modules/mod-ffmpeg/lib-ffmpeg-support/CMakeLists.txt
-+++ b/modules/mod-ffmpeg/lib-ffmpeg-support/CMakeLists.txt
-@@ -1,5 +1,7 @@
-
- if (${_OPT}use_ffmpeg)
-+ pkg_check_modules(FFMPEG libavcodec libavformat libavutil)
-+
- set( SOURCES
- FFmpegTypes.h
-
-@@ -107,6 +109,12 @@ if (${_OPT}use_ffmpeg)
- list(APPEND DEFINITIONS PRIVATE _DARWIN_C_SOURCE )
- endif()
-
-+ if (FFMPEG_FOUND)
-+ pkg_get_variable(LIBAVCODEC_LIBDIR libavcodec libdir)
-+ list(APPEND DEFINITIONS PRIVATE
-+ "-DFFMPEG_PC_LIBDIR=\"${LIBAVCODEC_LIBDIR}\"")
-+ endif()
-+
- audacity_library( lib-ffmpeg-support "${SOURCES}" "${LIBRARIES}"
- "${DEFINITIONS}" ""
- )
-diff --git a/libraries/lib-ffmpeg-support/FFmpegFunctions.cpp b/libraries/lib-ffmpeg-support/FFmpegFunctions.cpp
-index 55d6f676b..46640ef83 100644
---- a/modules/mod-ffmpeg/lib-ffmpeg-support/FFmpegFunctions.cpp
-+++ b/modules/mod-ffmpeg/lib-ffmpeg-support/FFmpegFunctions.cpp
-@@ -246,6 +246,18 @@ struct FFmpegFunctions::Private final
- if (library->IsLoaded())
- return library;
-
-+#if defined(FFMPEG_PC_LIBDIR)
-+ {
-+ static const wxString libdir{FFMPEG_PC_LIBDIR};
-+ const wxString fullName = wxFileName(libdir, libraryName).GetFullPath();
-+
-+ auto library = std::make_shared<wxDynamicLibrary>(fullName);
-+
-+ if (library->IsLoaded())
-+ return library;
-+ }
-+#endif
-+
- return {};
- }
- };
--
2.47.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-12-30 13:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-30 13:38 [bug#75200] [PATCH 0/1] gnu: audacity: Update to 3.6.0 Artyom V. Poptsov
2024-12-30 13:40 ` [bug#75200] [PATCH 1/1] " Artyom V. Poptsov
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.