From d6cca68094ec097bd9fcdeeaaa50b7afe4c93cb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Lopez?= Date: Sun, 3 May 2026 16:58:15 +0200 Subject: [PATCH] gnu: cdrdao: Update to 1.2.6. * gnu/packages/cdrom.scm (cdrdao): Update to 1.2.6. [arguments]: Switch to list of g-exps style. <#:configure-flags>: Enable building gcdmaster. <#:phases>: Remove 'fix-configure.ac phase. [build-system]: Switch to glib-or-gtk build system for gcdmaster. [native-inputs]: Switch to more recent autoconf. [inputs]: Add gtkmm-3 and libsigc++-2. Change-Id: I921ca030ef42e2b00f9d35710475ba3450753f9d Signed-off-by: Sughosha --- gnu/packages/cdrom.scm | 32 ++++++++++---------------------- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm index 8a27f0aaeaf..672e51ff2c7 100644 --- a/gnu/packages/cdrom.scm +++ b/gnu/packages/cdrom.scm @@ -337,7 +337,7 @@ reconstruction capability.") (define-public cdrdao (package (name "cdrdao") - (version "1.2.5") + (version "1.2.6") (source (origin (method git-fetch) @@ -347,30 +347,18 @@ reconstruction capability.") (string-append "rel_" (string-replace-substring version "." "_"))))) (file-name (git-file-name name version)) (sha256 - (base32 "1hh1lm4wr1vhsq2brczn94h88h3bppvjidj9cfqkl20jhaj38968")))) - (build-system gnu-build-system) + (base32 "0hb8dfb88zk01yk5nfl8m5hsg4x2scb2899pxb717zywznr8jijw")))) + (build-system glib-or-gtk-build-system) (arguments - '(#:configure-flags - (list - ;; GCDMaster depends on obsolete libgnomeuimm, see - ;; . - "--without-gcdmaster" - ;; Use the native SCSI interface. - "--without-scglib") - #:phases - (modify-phases %standard-phases - (add-before 'bootstrap 'fix-configure.ac - (lambda _ - ;; Remove references to missing macros. - (substitute* "configure.ac" - (("^AM_GCONF_SOURCE_2.*") "") - ;; This was introduced in autoconf-2.70, but is described - ;; as usually not needed in the autoconf documentation. - (("^AC_CHECK_INCLUDES_DEFAULT") ""))))))) + (list + #:configure-flags + #~(list + ;; Use the native SCSI interface. + "--without-scglib"))) (native-inputs - (list autoconf automake pkg-config)) + (list autoconf-2.72 automake `(,glib "bin") pkg-config)) (inputs - (list ao lame libmad libvorbis)) + (list ao gtkmm-3 lame libmad libsigc++-2 libvorbis)) (home-page "https://cdrdao.sourceforge.net") (synopsis "Read and write CDs in disk-at-once mode") (description "cdrdao records audio or data CDs in disk-at-once (DAO) mode,