From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 23 22:12:41 2025 Received: (at submit) by debbugs.gnu.org; 24 Apr 2025 02:12:41 +0000 Received: from localhost ([127.0.0.1]:60507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7m4q-0001iM-Ru for submit@debbugs.gnu.org; Wed, 23 Apr 2025 22:12:40 -0400 Received: from lists.gnu.org ([2001:470:142::17]:42840) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u7m4i-0001ha-Ql for submit@debbugs.gnu.org; Wed, 23 Apr 2025 22:12:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u7m4U-0004Iy-TI for guix-patches@gnu.org; Wed, 23 Apr 2025 22:12:17 -0400 Received: from p-east3-cluster6-host2-snip6-3.eps.apple.com ([2a01:b747:3006:202::10] helo=outbound.qs.icloud.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u7m4Q-00045I-MF for guix-patches@gnu.org; Wed, 23 Apr 2025 22:12:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; bh=kEvqtjwcRatRuw3qoeQX+4IevNUAQpyzHY3pmybEzDc=; h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme; b=UB4Vat1CIeh+Pq56BpVsiBT+DNSlw4Ki7PM7Q0UGsXuJMUGnrDAvHoSNqS+n/RSKq pCbLmlK6Oa9Y2dyPsIGTjKfq1OY6AGp9b33RhBVzdR9vcWowyISA5QIRsolc95HR/l OxfhOdmCTFUPbjpjmh+9EfTVNnKwAS5IeIuITX3C2XwraSnpApAdaSkqTKmZrmGVQP 4lad9LZGtURn8VcxVKTx2ErW7DvRqNevU5JFkWLAhF7ZJ7m7PI3oUpgcX7JdmPMYQD IRpdnkT6TZRYGdFhnLiJ21ATANfuztdAoYN9gWDLpBRs02LQcDsneHr9Hb1+/Bincj W23P6iN6C6zSg== Received: from wongworks.lan (qs-asmtp-me-k8s.p00.prod.me.com [17.57.155.37]) by outbound.qs.icloud.com (Postfix) with ESMTPSA id D58EE1800142; Thu, 24 Apr 2025 02:12:02 +0000 (UTC) From: Andrew Wong To: guix-patches@gnu.org Subject: [PATCH] gnu: liba52: Update to 0.8.0, change source and homepage Date: Wed, 23 Apr 2025 22:11:56 -0400 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: N_LYOgKRvYxUtbM7QRhPn-8e7CHFfwS0 X-Proofpoint-ORIG-GUID: N_LYOgKRvYxUtbM7QRhPn-8e7CHFfwS0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.680,FMLib:17.12.80.40 definitions=2025-04-24_01,2025-04-22_01,2025-02-21_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 clxscore=1015 phishscore=0 malwarescore=0 mlxlogscore=999 spamscore=0 bulkscore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2504240011 Received-SPF: pass client-ip=2a01:b747:3006:202::10; envelope-from=wongandj@icloud.com; helo=outbound.qs.icloud.com X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_BL_SPAMCOP_NET=1.347, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 3.9 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/video.scm (liba52): Update to 0.8.0. [source] : Switch to new, maintained repository. : Convert to substitutions for flexibility. : New substitutions. [arguments] [...] Content analysis details: (3.9 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist [URIs: configure.in] 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (wongandj[at]icloud.com) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: submit Cc: Andrew Wong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/video.scm (liba52): Update to 0.8.0. [source] : Switch to new, maintained repository. : Convert to substitutions for flexibility. : New substitutions. [arguments] [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist [URIs: configure.in] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (wongandj[at]icloud.com) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager * gnu/packages/video.scm (liba52): Update to 0.8.0. [source] : Switch to new, maintained repository. : Convert to substitutions for flexibility. : New substitutions. [arguments]: Remove redundant bootstrap phase replication. [home-page]: Switch to new homepage. * gnu/packages/patches/liba52-enable-pic.patch: Remove obsolete patch. * gnu/packages/patches/liba52-link-with-libm.patch: Remove obsolete patch. * gnu/packages/patches/liba52-set-soname.patch: Remove obsolete patch. * gnu/packages/patches/liba52-use-mtune-not-mcpu.patch: Remove obsolete patch. Change-Id: I65d61d2921a444b3f86fdc6f7e4be2143ada5ce5 --- gnu/packages/patches/liba52-enable-pic.patch | 25 ---------- .../patches/liba52-link-with-libm.patch | 33 ------------- gnu/packages/patches/liba52-set-soname.patch | 23 --------- .../patches/liba52-use-mtune-not-mcpu.patch | 24 ---------- gnu/packages/video.scm | 47 +++++++++---------- 5 files changed, 21 insertions(+), 131 deletions(-) delete mode 100644 gnu/packages/patches/liba52-enable-pic.patch delete mode 100644 gnu/packages/patches/liba52-link-with-libm.patch delete mode 100644 gnu/packages/patches/liba52-set-soname.patch delete mode 100644 gnu/packages/patches/liba52-use-mtune-not-mcpu.patch diff --git a/gnu/packages/patches/liba52-enable-pic.patch b/gnu/packages/patches/liba52-enable-pic.patch deleted file mode 100644 index 924ac1331f..0000000000 --- a/gnu/packages/patches/liba52-enable-pic.patch +++ /dev/null @@ -1,25 +0,0 @@ -Copied from Debian. - -Description: Disabling -prefer-non-pic which enables -fPIC -Bug-Debian: http://bugs.debian.org/401590 -Author: Daniel Baumann , Dmitrijs Ledkovs - - ---- - liba52/configure.incl | 3 --- - 1 files changed, 0 insertions(+), 3 deletions(-) - -Index: a52dec-deb/liba52/configure.incl -=================================================================== ---- a52dec-deb.orig/liba52/configure.incl 2009-12-05 02:52:12.000000000 +0000 -+++ a52dec-deb/liba52/configure.incl 2009-12-05 03:23:45.000000000 +0000 -@@ -1,9 +1,6 @@ - AC_SUBST([LIBA52_CFLAGS]) - AC_SUBST([LIBA52_LIBS]) - --dnl avoid -fPIC when possible --LIBA52_CFLAGS="$LIBA52_CFLAGS -prefer-non-pic" -- - AC_ARG_ENABLE([double], - [ --enable-double use double-precision samples]) - if test x"$enable_double" = x"yes"; then diff --git a/gnu/packages/patches/liba52-link-with-libm.patch b/gnu/packages/patches/liba52-link-with-libm.patch deleted file mode 100644 index a0771aaa62..0000000000 --- a/gnu/packages/patches/liba52-link-with-libm.patch +++ /dev/null @@ -1,33 +0,0 @@ -Copied from Debian. - -Description: Explicitely link against -lm -Bug-Debian: http://bugs.debian.org/553595 -Author: Fabian Greffrath , Dmitrijs Ledkovs - ---- - libao/Makefile.am | 1 + - src/Makefile.am | 2 +- - 2 files changed, 2 insertions(+), 1 deletions(-) - ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -1,9 +1,9 @@ --CFLAGS = @A52DEC_CFLAGS@ -+AM_CFLAGS = @A52DEC_CFLAGS@ - - bin_PROGRAMS = a52dec extract_a52 - a52dec_SOURCES = a52dec.c getopt.c gettimeofday.c - a52dec_LDADD = $(top_builddir)/liba52/liba52.la \ -- $(top_builddir)/libao/libao.a @LIBAO_LIBS@ -+ $(top_builddir)/libao/libao.a @LIBAO_LIBS@ -lm - extract_a52_SOURCES = extract_a52.c getopt.c - - man_MANS = a52dec.1 extract_a52.1 ---- a/liba52/Makefile.am -+++ b/liba52/Makefile.am -@@ -1,4 +1,4 @@ --CFLAGS = @CFLAGS@ @LIBA52_CFLAGS@ -+AM_CFLAGS = @CFLAGS@ @LIBA52_CFLAGS@ - - lib_LTLIBRARIES = liba52.la - diff --git a/gnu/packages/patches/liba52-set-soname.patch b/gnu/packages/patches/liba52-set-soname.patch deleted file mode 100644 index 3eba1fb038..0000000000 --- a/gnu/packages/patches/liba52-set-soname.patch +++ /dev/null @@ -1,23 +0,0 @@ -Copied from Debian. - -Description: Sets the soname to liba52-$(VERSION).so -Bug-Debian: http://bugs.debian.org/401636 -Author: Daniel Baumann , Dmitrijs Ledkovs - - ---- - liba52/Makefile.am | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -Index: a52dec-deb/liba52/Makefile.am -=================================================================== ---- a52dec-deb.orig/liba52/Makefile.am 2009-12-05 02:52:12.000000000 +0000 -+++ a52dec-deb/liba52/Makefile.am 2009-12-05 03:23:47.000000000 +0000 -@@ -4,6 +4,6 @@ - - liba52_la_SOURCES = bitstream.c imdct.c bit_allocate.c parse.c downmix.c - liba52_la_LIBADD = @LIBA52_LIBS@ -lm --liba52_la_LDFLAGS = -no-undefined -+liba52_la_LDFLAGS = -no-undefined -release @VERSION@ - - EXTRA_DIST = configure.incl a52_internal.h bitstream.h tables.h diff --git a/gnu/packages/patches/liba52-use-mtune-not-mcpu.patch b/gnu/packages/patches/liba52-use-mtune-not-mcpu.patch deleted file mode 100644 index d78ecbbab0..0000000000 --- a/gnu/packages/patches/liba52-use-mtune-not-mcpu.patch +++ /dev/null @@ -1,24 +0,0 @@ -Copied from Debian. - -From: Rodeo -Origin: https://github.com/HandBrake/HandBrake/blob/master/contrib/a52dec/A04-modern-gcc-cflags.patch - ---- a52dec-0.7.4/configure.in.orig -+++ a52dec-0.7.4/configure.in -@@ -34,11 +34,11 @@ - case "$host" in - i?86-* | k?-*) - case "$host" in -- i386-*) OPT_CFLAGS="$CFLAGS -mcpu=i386";; -- i486-*) OPT_CFLAGS="$CFLAGS -mcpu=i486";; -- i586-*) OPT_CFLAGS="$CFLAGS -mcpu=pentium";; -- i686-*) OPT_CFLAGS="$CFLAGS -mcpu=pentiumpro";; -- k6-*) OPT_CFLAGS="$CFLAGS -mcpu=k6";; -+ i386-*) OPT_CFLAGS="$CFLAGS -mtune=i386";; -+ i486-*) OPT_CFLAGS="$CFLAGS -mtune=i486";; -+ i586-*) OPT_CFLAGS="$CFLAGS -mtune=pentium";; -+ i686-*) OPT_CFLAGS="$CFLAGS -mtune=pentiumpro";; -+ k6-*) OPT_CFLAGS="$CFLAGS -mtune=k6";; - esac - AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);; - sparc-* | sparc64-*) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 9f18f4dcc2..f77e9296e3 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -882,33 +882,28 @@ (define-public celluloid (define-public liba52 (package (name "liba52") - (version "0.7.4") - (source (origin - (method url-fetch) - (uri (string-append - ;; A mirror://sourceforge URI doesn't work, presumably - ;; because the SourceForge project is misconfigured. - "http://liba52.sourceforge.net/files/a52dec-" version - ".tar.gz")) - (sha256 - (base32 - "0czccp4fcpf2ykp16xcrzdfmnircz1ynhls334q374xknd5747d2")) - (patches (search-patches "liba52-enable-pic.patch" - "liba52-set-soname.patch" - "liba52-use-mtune-not-mcpu.patch" - "liba52-link-with-libm.patch")))) + (version "0.8.0") + (source + (origin (method git-fetch) + (uri (git-reference + (url "https://git.adelielinux.org/community/a52dec") + (commit (string-append "v" version)))) + (sha256 + (base32 "0k1y7irz1hqfzs6yqv4brgwpa04biv50z05gc584h9md0y5y52k7")) + (modules '((guix build utils))) + (snippet + #~(begin (substitute* "liba52/Makefile.am" + ;; Set so name to liba52-$(VERSION).so + (("liba52_la_LDFLAGS = -no-undefined" all) + (string-append all " -release @VERSION@"))) + (substitute* "liba52/configure.incl" + ;; Don't avoid -fPIC + (("^.+-prefer-non-pic.*$") "")) + (substitute* "configure.ac" (("-mcpu") "-mtune")))))) (build-system gnu-build-system) - ;; XXX We need to run ./bootstrap because of the build system fixes above. - (native-inputs - (list autoconf automake libtool)) - (arguments `(#:configure-flags '("--enable-shared") - #:phases - (modify-phases %standard-phases - ;; XXX We need to run ./bootstrap because of the build - ;; system fixes above. - (replace 'bootstrap - (lambda _ (invoke "sh" "bootstrap")))))) - (home-page "https://liba52.sourceforge.net/") + (native-inputs (list autoconf automake libtool)) + (arguments (list #:configure-flags #~(list "--enable-shared"))) + (home-page "https://git.adelielinux.org/community/a52dec/") (synopsis "ATSC A/52 audio stream decoder") (description "liba52 is a library for decoding ATSC A/52 audio streams. The A/52 standard is used in a variety of applications, including digital base-commit: f7c41ab31f5023023385500f6eb9083d23dd1ccb -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 07 09:32:33 2025 Received: (at control) by debbugs.gnu.org; 7 Jun 2025 13:32:33 +0000 Received: from localhost ([127.0.0.1]:47363 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uNtey-00016a-Qx for submit@debbugs.gnu.org; Sat, 07 Jun 2025 09:32:33 -0400 Received: from p-east3-cluster5-host6-snip4-1.eps.apple.com ([57.103.86.182]:46608 helo=outbound.qs.icloud.com) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uNtev-00016L-Rh for control@debbugs.gnu.org; Sat, 07 Jun 2025 09:32:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; bh=maa64qWvthFoGMrXqr44cano4INkaT6t7Or5M6phQcM=; h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type:x-icloud-hme; b=N+mzEaIgZs/iLVA103OIPKoSCY1+cIgEp25B03zFbQh82TNnj/kgAgbuxPaNzjIXi ioeXlz7aut17UaO1I+HFhh9q/nTYRSbMsfBFuLZ3Flb/wz8c9/qy/2aaL4sZ5LzqX/ 5P+rBwVtaBKqu2r5+iadugT+IgUheW+dGFsbouN5vhXXSJO8CnQwGfMXhZetCOFCiR pw8sbb8FVyEeZej97Rnwi78FJrXuSydHwf9j69uRnLu2lXCFZeoCEBQ06xnEF//TUn MlHKEBYcwt0eoLVBi1v4gm8tcAVQ8lDCx4q4tbcW97fznRYvaa+PvwmTGorFAlR4GU gl7SAmeYTPcBg== Received: from outbound.qs.icloud.com (localhost [127.0.0.1]) by outbound.qs.icloud.com (Postfix) with ESMTPS id 039E81800228 for ; Sat, 7 Jun 2025 13:32:22 +0000 (UTC) Received: from [192.168.86.109] (qs-asmtp-me-k8s.p00.prod.me.com [17.57.155.37]) by outbound.qs.icloud.com (Postfix) with ESMTPSA id 5BF2B18001E5 for ; Sat, 7 Jun 2025 13:32:22 +0000 (UTC) Message-ID: <88afd5e4-df3c-4e1e-a523-a79966fcdc8d@icloud.com> Date: Sat, 7 Jun 2025 09:32:21 -0400 MIME-Version: 1.0 User-Agent: Icedove Daily Content-Language: en-US To: control@debbugs.gnu.org From: Andrew Wong Subject: Close Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: iFk2r9f_PEaJH0pUJ2GkOaeivo59sSPC X-Proofpoint-ORIG-GUID: iFk2r9f_PEaJH0pUJ2GkOaeivo59sSPC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-06-07_05,2025-06-05_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 clxscore=1015 malwarescore=0 phishscore=0 spamscore=0 adultscore=0 mlxlogscore=364 suspectscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.22.0-2503310001 definitions=main-2506070096 X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 78024 close 77884 Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [57.103.86.182 listed in sa-trusted.bondedsender.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (wongandj[at]icloud.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [57.103.86.182 listed in bl.score.senderscore.com] X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) close 78024 close 77884