[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
30/75: gnu: hplip: Update to 3.24.4 and fix build with gcc-14.
From: |
guix-commits |
Subject: |
30/75: gnu: hplip: Update to 3.24.4 and fix build with gcc-14. |
Date: |
Sun, 15 Dec 2024 18:06:32 -0500 (EST) |
janneke pushed a commit to branch core-packages-team-old
in repository guix.
commit 5ca3e28a750f9d6dc0943afee0691cae061f464b
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon Dec 9 10:16:50 2024 +0100
gnu: hplip: Update to 3.24.4 and fix build with gcc-14.
* gnu/packages/cups.scm (hplip): Update to 3.24.4.
[arguments]: Add "set-gcc-14-cflags" phase to relax gcc-14's strictness.
Change-Id: Ie753c9ebb51f08c4683e9a9762e9c269eceb5e22
---
gnu/packages/cups.scm | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index e8ca5efc86..93fa3e698a 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2021, 2023, 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -529,14 +530,14 @@ should only be used as part of the Guix cups-pk-helper
service.")
(define-public hplip
(package
(name "hplip")
- (version "3.23.12")
+ (version "3.24.4")
(source (origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/hplip/hplip/" version
"/hplip-" version ".tar.gz"))
(sha256
(base32
- "1vb9irqsm3d4c2qdr4h6ia940x65bb99h4x31mgxn7dkvv42lv57"))
+ "1yzil1fn9ib2hxmqh9in0apmmznvln0xahlxvyny59ck321l6xjx"))
(patches (search-patches "hplip-usb-timeout.patch"))
(modules '((guix build utils)))
(snippet
@@ -599,6 +600,18 @@ should only be used as part of the Guix cups-pk-helper
service.")
"--disable-qt4")
#:phases
#~(modify-phases %standard-phases
+ (add-after 'unpack 'set-gcc-14-cflags
+ ;; We set CFLAGS here because adding setting it in
+ ;; #:configure-flags or #:make-flags does not work.
+ (lambda _
+ (substitute* "Makefile.in"
+ (("CFLAGS = @CFLAGS@" all)
+ (string-append all
+ " -Wno-error=attributes"
+ " -Wno-error=implicit-function-declaration"
+ " -Wno-error=implicit-int"
+ " -Wno-error=incompatible-pointer-types"
+ " -Wno-error=return-mismatch")))))
(add-after 'unpack 'fix-hard-coded-file-names
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out #$output)
- 31/75: gnu: libxaw3d: Update to 1.6.6, fixes build with gcc-14., (continued)
- 31/75: gnu: libxaw3d: Update to 1.6.6, fixes build with gcc-14., guix-commits, 2024/12/15
- 16/75: gnu: Re-Add automake-1.16.5., guix-commits, 2024/12/15
- 52/75: gnu: talloc: Update to 2.4.2; fixes build with gcc-14., guix-commits, 2024/12/15
- 35/75: gnu: zziplib: Update to 0.13.78; fixes build with gcc-14., guix-commits, 2024/12/15
- 47/75: gnu: tdb: Update to 1.4.12; fixes build with gcc-14., guix-commits, 2024/12/15
- 74/75: squash! REMOVEME gnu: Add gcc-11-fixed, enhancing `relax-gcc-14s-strictness' stage., guix-commits, 2024/12/15
- 10/75: gnu: zip: Fix build with gcc-14., guix-commits, 2024/12/15
- 09/75: gnu: libffi: Update to 3.4.6; fixes build with gcc-14., guix-commits, 2024/12/15
- 27/75: gnu: cmake-bootstrap: Fix build with gcc-14., guix-commits, 2024/12/15
- 28/75: gnu: nlohmann-json: Update to 3.11.3; fixes build with gcc-14., guix-commits, 2024/12/15
- 30/75: gnu: hplip: Update to 3.24.4 and fix build with gcc-14.,
guix-commits <=
- 29/75: gnu: llvm-13: Fix build with gcc-14., guix-commits, 2024/12/15
- 45/75: gnu: openldap: Update to 2.6.9; fixes build with gcc-14., guix-commits, 2024/12/15
- 59/75: gnu: libedit: Use -Wno-error= for cross-build., guix-commits, 2024/12/15
- 71/75: DRAFT gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14., guix-commits, 2024/12/15
- 64/75: gnu: bootstrap: %bootstrap-glibc: Patch more files., guix-commits, 2024/12/15
- 63/75: gnu: git: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/15
- 68/75: gnu: clang-runtime: Remove gcc-12,13,14 from native-ipnuts., guix-commits, 2024/12/15
- 66/75: gnu: gcc-4.7: Add gcc-wrapper from gcc-final., guix-commits, 2024/12/15
- 72/75: squash! gnu: python-numpy: Update to 1.26.4 and fix build with gcc-14., guix-commits, 2024/12/15
- 53/75: gnu: slim: Fix build with gcc-14., guix-commits, 2024/12/15