branch core-packages-team updated: REMOVEME gnu: Add bdb-4.8-orig to avoid a world rebuild at this time.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch core-packages-team
in repository guix.

The following commit(s) were added to refs/heads/core-packages-team by this 
push:
 new c403e55354 REMOVEME gnu: Add bdb-4.8-orig to avoid a world rebuild at 
this time.
c403e55354 is described below

commit c403e5535415dd27d73f0033ff2b56132506b835
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 13:26:49 2024 +0100

REMOVEME gnu: Add bdb-4.8-orig to avoid a world rebuild at this time.

* gnu/packages/dbm.scm (bdb-4.8-orig): New variable.
(bdb-5.3): Inherit from it.
(bdb-6): Likewise.

Change-Id: I14801b2119cc5a7e660df25d141ac082bca0fa87
---
 gnu/packages/dbm.scm | 105 +--
 1 file changed, 93 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/dbm.scm b/gnu/packages/dbm.scm
index 152a8824e1..4a3e455e22 100644
--- a/gnu/packages/dbm.scm
+++ b/gnu/packages/dbm.scm
@@ -146,22 +146,103 @@ SQL, Key/Value, XML/XQuery or Java Object storage for 
their data model.")
 (home-page
  
"http://www.oracle.com/us/products/database/berkeley-db/overview/index.html";)))
 
-(define-public bdb-5.3
-  (package (inherit bdb-4.8)
+(define-public bdb-4.8-orig
+  (package
 (name "bdb")
-(version "5.3.28")
+(version "4.8.30")
+(license (license:non-copyleft "file://LICENSE"
+   "See LICENSE in the distribution."))
 (source (origin
-  (inherit (package-source bdb-4.8))
-  (uri (string-append "https://download.oracle.com/berkeley-db/db-";
-  version ".tar.gz"))
-  (sha256
-   (base32
-"0a1n5hbl7027fbz5lm0vp0zzfp1hmxnz14wx3zl9563h83br5ag0"))
-  (patch-flags '("-p0"))
-  (patches (search-patches "bdb-5.3-atomics-on-gcc-9.patch"))
+ (method url-fetch)
+ (uri (string-append "https://download.oracle.com/berkeley-db/db-";
+ version ".tar.gz"))
+ (sha256
+  (base32
+   "0ampbl2f0hb1nix195kz1syrqqxpmvnvnfvphambj7xjrl3iljg0"))
+ (patches (search-patches "bdb-5.3-atomics-on-gcc-9.patch"))
+ (modules '((guix build utils)
+(srfi srfi-1)))
+ (snippet bdb-snippet)))
+(build-system gnu-build-system)
+(outputs '("out" ; programs, libraries, headers
+   "doc"))   ; 94 MiB of HTML docs
+(arguments
+ (list #:tests? #f; no check target available
+   #:disallowed-references '("doc")
+   #:out-of-source? #true
+   #:configure-flags
+   #~(list
+  ;; Remove 7 MiB of .a files.
+  "--disable-static"
+
+  ;; The compatibility mode is needed by some packages,
+  ;; notably iproute2.
+  "--enable-compat185"
+
+  ;; The following flag is needed so that the inclusion
+  ;; of db_cxx.h into C++ files works; it leads to
+  ;; HAVE_CXX_STDHEADERS being defined in db_cxx.h.
+  "--enable-cxx")
+   #:phases
+   #~(modify-phases %standard-phases
+   (replace 'bootstrap
+ (lambda* (#:key inputs native-inputs outputs
+   #:allow-other-keys #:rest arguments)
+   (with-directory-excursion "dist"
+ (for-each (lambda (x)
+ (install-file x "aclocal"))
+   (find-files "aclocal_java"))
+ (apply (assq-ref %standard-phases 'bootstrap) arguments)
+ (let ((automake-files (search-input-directory
+(or native-inputs inputs)
+"share/automake-1.16")))
+   (define (replace file)
+ (symlink (string-append automake-files "/" file) 
file))
+   (for-each replace '("config.sub" "config.guess"
+   "install-sh"))
+   (add-before 'configure 'pre-configure
+ (lambda _
+   (chdir "dist")
+   ;; '--docdir' is not honored, so we need to patch.
+   (substitute* "Makefile.in"
+ (("docdir[[:blank:]]*=.*")
+  (string-append "docdir = " #$output:doc
+ "/share/doc/bdb")))
+   ;; Replace __EDIT_DB_VERSION__... by actual version numbers.
+   ;; s_config is responsible for this, but also runs autoconf
+   ;; again, so patch out the autoconf bits.
+   (substitute* "s_config"
+ (("^.*(acloc

branch core-packages-team updated: squash! REMOVEME gnu: Add bdb-4.8-orig to avoid a world rebuild at this time.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch core-packages-team
in repository guix.

The following commit(s) were added to refs/heads/core-packages-team by this 
push:
 new 4b66f96212 squash! REMOVEME gnu: Add bdb-4.8-orig to avoid a world 
rebuild at this time.
4b66f96212 is described below

commit 4b66f96212c20094ea177832e0638fdf96319bde
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 13:29:42 2024 +0100

squash! REMOVEME gnu: Add bdb-4.8-orig to avoid a world rebuild at this 
time.

* gnu/packages/dbm.scm (bdb-5.3)[arguments]: New field.

Change-Id: Ib1e3500432122dfd82fe276acf5d8d28f9184734
---
 gnu/packages/dbm.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/dbm.scm b/gnu/packages/dbm.scm
index 4a3e455e22..6b904421ed 100644
--- a/gnu/packages/dbm.scm
+++ b/gnu/packages/dbm.scm
@@ -239,7 +239,8 @@ SQL, Key/Value, XML/XQuery or Java Object storage for their 
data model.")
   (base32
"0a1n5hbl7027fbz5lm0vp0zzfp1hmxnz14wx3zl9563h83br5ag0"))
  (patch-flags '("-p0"))
- (patches (search-patches 
"bdb-5.3-atomics-on-gcc-9.patch"))
+ (patches (search-patches 
"bdb-5.3-atomics-on-gcc-9.patch"
+   (arguments (package-arguments bdb-4.8
 
 (define-public bdb-6
   (package (inherit bdb-4.8-orig)



branch core-packages-team updated: gnu: gamin: Fix build with gcc-14.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch core-packages-team
in repository guix.

The following commit(s) were added to refs/heads/core-packages-team by this 
push:
 new 6386653e88 gnu: gamin: Fix build with gcc-14.
6386653e88 is described below

commit 6386653e889818a7f772b1d043022390655409d5
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 13:54:34 2024 +0100

gnu: gamin: Fix build with gcc-14.

* gnu/packages/gnome.scm (gamin)[arguments]: Add #:configure-flags to relax
gcc-14's strictess.

Change-Id: I1e8a91aa036b1f9d0f8297eead0872f313f72146
---
 gnu/packages/gnome.scm | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 73b0b6b895..600bcff013 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -12439,7 +12439,11 @@ repository and commit your work.")
 "02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"
 (build-system gnu-build-system)
 (arguments
- `(#:phases
+ `(#:configure-flags `(,(string-append
+ "CFLAGS=-g -O2"
+ " -Wno-implicit-function-declaration"
+ " -Wno-return-mismatch"))
+   #:phases
(modify-phases %standard-phases
  ;; The 'config.sub' is too old to recognise aarch64.
  ,@(if (or (target-aarch64?) (target-riscv64?))



branch core-packages-team updated: gnu: gn: Fix build with gcc-14.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch core-packages-team
in repository guix.

The following commit(s) were added to refs/heads/core-packages-team by this 
push:
 new 8360f7436b gnu: gn: Fix build with gcc-14.
8360f7436b is described below

commit 8360f7436b38ee4a4525a5a062bbc54b941f0521
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 14:35:11 2024 +0100

gnu: gn: Fix build with gcc-14.

* gnu/packages/gnome.scm (gamin)[arguments]: In phase 
`set-build-environment'
set CXXFLAGS to relax gcc-14's strictness..

Change-Id: I1e8a91aa036b1f9d0f8297eead0872f313f72146
---
 gnu/packages/build-tools.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index b5bc299287..27dc1c5d2a 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -16,6 +16,7 @@
 ;;; Copyright © 2021, 2023, 2024 Maxim Cournoyer 
 ;;; Copyright © 2022, 2023 Juliana Sims 
 ;;; Copyright © 2024 Evgeny Pisemsky 
+;;; Copyright © 2024 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -245,6 +246,7 @@ programs and other files depend.")
(lambda _
  (setenv "CC" "gcc")
  (setenv "CXX" "g++")
+ (setenv "CXXFLAGS" "-g -O2 -Wno-error=redundant-move")
  (setenv "AR" "ar")))
  (replace 'configure
(lambda _



branch core-packages-team updated (8360f7436b -> aa2eee643b)

2024-12-11 Thread guix-commits
janneke pushed a change to branch core-packages-team
in repository guix.

from 8360f7436b gnu: gn: Fix build with gcc-14.
 new 5dd7585e13 squash! gnu: gamin: Fix build with gcc-14.  -- commit 
message
 new e586392162 squash! gnu: gn: Fix build with gcc-14. -- commit message
 new aa2eee643b gnu: ntp: Fix build with gcc-14.

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/ntp.scm | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)



03/03: gnu: ntp: Fix build with gcc-14.

2024-12-11 Thread guix-commits
janneke pushed a commit to branch core-packages-team
in repository guix.

commit aa2eee643b46b9b9dee8dd5be0f992758573c94e
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 14:42:26 2024 +0100

gnu: ntp: Fix build with gcc-14.

* gnu/packages/ntp.scm (ntp)[arguments]: Add CFLAGS to #:configure-flags to
relax gcc-14's strictness.

Change-Id: I757155a64abdabc119a4579b74b9a64d61df2320
---
 gnu/packages/ntp.scm | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ntp.scm b/gnu/packages/ntp.scm
index f7f76400a2..6825e8a962 100644
--- a/gnu/packages/ntp.scm
+++ b/gnu/packages/ntp.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2022 Petr Hodina 
 ;;; Copyright © 2024 Artyom V. Poptsov 
 ;;; Copyright © 2024 Zheng Junjie <873216...@qq.com>
+;;; Copyright © 2024 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -161,7 +162,9 @@ time-stamping or reference clock, sub-microsecond accuracy 
is possible.")
  ;; Pass "--with-yielding-select=yes" so that 'configure' knows whether
  ;; 'select' yields when using pthreads in a cross-compilation context.
  #:configure-flags
- #~(list "--with-yielding-select=yes")
+ #~(list
+"CFLAGS=-g -O2 -Wno-error=int-conversion"
+"--with-yielding-select=yes")
  #:phases
  #~(modify-phases %standard-phases
  (add-after 'unpack 'disable-network-test



02/03: squash! gnu: gn: Fix build with gcc-14. -- commit message

2024-12-11 Thread guix-commits
janneke pushed a commit to branch core-packages-team
in repository guix.

commit e5863921623e18280bf2f6196872907befd194be
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 14:37:54 2024 +0100

squash! gnu: gn: Fix build with gcc-14. -- commit message

* gnu/packages/gnome.scm (gamin)[arguments]: In phase 
`set-build-environment'
set CXXFLAGS to relax gcc-14's strictness.

Change-Id: Iaebe1b9d753414231981f08710a9c784fc003e98



01/03: squash! gnu: gamin: Fix build with gcc-14. -- commit message

2024-12-11 Thread guix-commits
janneke pushed a commit to branch core-packages-team
in repository guix.

commit 5dd7585e136eb8804854ebafbf3213bd50895fe8
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 14:37:04 2024 +0100

squash! gnu: gamin: Fix build with gcc-14.  -- commit message

* gnu/packages/gnome.scm (gamin)[arguments]: Add #:configure-flags to relax
gcc-14's strictness.

Change-Id: I3819c6fe7226022c761603e2752a58f5f512774d



branch core-packages-team updated: gnu: openldap: Update to 2.6.9; fixes build with gcc-14.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch core-packages-team
in repository guix.

The following commit(s) were added to refs/heads/core-packages-team by this 
push:
 new 070b65a6c1 gnu: openldap: Update to 2.6.9; fixes build with gcc-14.
070b65a6c1 is described below

commit 070b65a6c127a1c49bf2c320f97730f1145fb0f1
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 16:07:12 2024 +0100

gnu: openldap: Update to 2.6.9; fixes build with gcc-14.

* gnu/packages/openldap.scm (openldap): Update to 2.6.9.

Change-Id: Ie9967139a7346c8fccc96ab88d3e6399aab6bdfe
---
 gnu/packages/openldap.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm
index efc4a9cc06..93350356ca 100644
--- a/gnu/packages/openldap.scm
+++ b/gnu/packages/openldap.scm
@@ -10,6 +10,7 @@
 ;;; Copyright © 2021, 2023 Maxim Cournoyer 
 ;;; Copyright © 2022 Marius Bakke 
 ;;; Copyright © 2023 Brian Cully 
+;;; Copyright © 2024 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -69,7 +70,7 @@
 (define-public openldap
   (package
 (name "openldap")
-(version "2.6.4")
+(version "2.6.9")
 (source (origin
   (method url-fetch)
   ;; See  for a list of
@@ -85,7 +86,7 @@
   "openldap-release/openldap-" version ".tgz")))
   (sha256
(base32
-"1489li52sjxm1f97v927jxaxzfk6v9sa32ixrw30qhvq07jh85ym"
+"1zxjws0mcm9cjwhhb7v1qq6g7avqlnx7ydcr1pzhsd68x5rxrdrc"
 (build-system gnu-build-system)
 (inputs (list bdb-5.3 cyrus-sasl gnutls libgcrypt zlib))
 (native-inputs (list libtool groff bdb-5.3))



branch core-packages-team updated: gnu: pth: Fix build with gcc-14.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch core-packages-team
in repository guix.

The following commit(s) were added to refs/heads/core-packages-team by this 
push:
 new ed7aa42cdc gnu: pth: Fix build with gcc-14.
ed7aa42cdc is described below

commit ed7aa42cdc58a3c38fd3230b15bebc6f19a910cb
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 16:38:51 2024 +0100

gnu: pth: Fix build with gcc-14.

* gnu/packages/pth.scm (pth)[arguments]: Add #:configure-flags to relax
gcc-14's strictness.

Change-Id: Ifb215f3ae393a268b15dc0316b34c5bb8607b46f
---
 gnu/packages/pth.scm | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/pth.scm b/gnu/packages/pth.scm
index 8efede068c..6211741385 100644
--- a/gnu/packages/pth.scm
+++ b/gnu/packages/pth.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2014 Mark H Weaver 
 ;;; Copyright © 2017 Efraim Flashner 
 ;;; Copyright © 2021 Thiago Jung Bauermann 
+;;; Copyright © 2024 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -40,7 +41,9 @@
 "0ckjqw5kz5m30srqi87idj7xhpw6bpki43mj07bazjm2qmh3cdbj"
 (build-system gnu-build-system)
 (arguments
- '(#:parallel-build? #f
+ '(#:configure-flags
+   '("CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types")
+   #:parallel-build? #f
#:phases
(modify-phases %standard-phases
  (add-after 'unpack 'update-config-scripts



branch core-packages-team updated: gnu: tdb: Update to 1.4.12; fixes build with gcc-14.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch core-packages-team
in repository guix.

The following commit(s) were added to refs/heads/core-packages-team by this 
push:
 new e0abfd6a48 gnu: tdb: Update to 1.4.12; fixes build with gcc-14.
e0abfd6a48 is described below

commit e0abfd6a489e00d009e23d28118f4ab234fefec4
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 17:47:55 2024 +0100

gnu: tdb: Update to 1.4.12; fixes build with gcc-14.

* gnu/packages/databases.scm (tdb): Update to 2.6.9.

Change-Id: I63d3f1668c5b7a75161c1dc189c26635092c0b64
---
 gnu/packages/databases.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index dcd122cb22..9917633321 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -14,7 +14,7 @@
 ;;; Copyright © 2016, 2017 Nikita 
 ;;; Copyright © 2016, 2017, 2018 Roel Janssen 
 ;;; Copyright © 2016 David Craven 
-;;; Copyright © 2016 Jan Nieuwenhuizen 
+;;; Copyright © 2016, 2024 Janneke Nieuwenhuizen 
 ;;; Copyright © 2016 Andy Patterson 
 ;;; Copyright © 2016 Danny Milosavljevic 
 ;;; Copyright © 2016-2022 Marius Bakke 
@@ -2064,14 +2064,14 @@ changes.")
 (define-public tdb
   (package
 (name "tdb")
-(version "1.4.7")
+(version "1.4.12")
 (source (origin
   (method url-fetch)
   (uri (string-append "https://www.samba.org/ftp/tdb/tdb-";
   version ".tar.gz"))
   (sha256
(base32
-"03n2hz4sv003gpkyp57hk5kiw4xk9f2dkxq75kzk2gskxy6idyx4"
+"0yndhh829ai2p3n4i63h1rhl22dcvzba0rffgqihjbc1k1sb5r3c"
 (build-system gnu-build-system)
 (arguments
  '(#:phases



branch core-packages-team updated: gnu: cyrus-sasl: Fix build mwith gcc-14.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch core-packages-team
in repository guix.

The following commit(s) were added to refs/heads/core-packages-team by this 
push:
 new ecaa42bca6 gnu: cyrus-sasl: Fix build mwith gcc-14.
ecaa42bca6 is described below

commit ecaa42bca6ab38a05ef97657c5c8d588151266a5
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 12:26:14 2024 +0100

gnu: cyrus-sasl: Fix build mwith gcc-14.

* gnu/packages/cyrus-sasl.scm (cyrus-sasl)[arguments]: Add CFLAGS to 
#:configure-flags
to relax gcc-14's strictness.

Change-Id: Ib6afe50a3913ed38aad3eb673786b424307fc4a7
---
 gnu/packages/cyrus-sasl.scm | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cyrus-sasl.scm b/gnu/packages/cyrus-sasl.scm
index ef408f2dd7..a2d7d5d6e0 100644
--- a/gnu/packages/cyrus-sasl.scm
+++ b/gnu/packages/cyrus-sasl.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2016 Leo Famulari 
 ;;; Copyright © 2019 Mathieu Othacehe 
 ;;; Copyright © 2022 Marius Bakke 
+;;; Copyright © 2024 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -49,7 +50,10 @@
 (inputs (list gdbm libxcrypt mit-krb5 openssl))
 (arguments
  (list
-  #:configure-flags #~(list (string-append "--with-plugindir="
+  #:configure-flags #~(list (string-append
+ "CFLAGS=-g -O2"
+ " -Wno-implicit-function-declaration")
+(string-append "--with-plugindir="
(assoc-ref %outputs "out")
"/lib/sasl2")
 ;; When cross-compiling the build system is



branch core-packages-team updated: gnu: jack-1: Fix build with gcc-14.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch core-packages-team
in repository guix.

The following commit(s) were added to refs/heads/core-packages-team by this 
push:
 new 968651b436 gnu: jack-1: Fix build with gcc-14.
968651b436 is described below

commit 968651b4363e929043997f4663f2915d90b449d7
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 12:34:53 2024 +0100

gnu: jack-1: Fix build with gcc-14.

* gnu/packages/audio.scm (jack-1)[arguments]: Add CFLAGS to 
#:configure-flags
to relax gcc-14's strictness.

Change-Id: Id4506b072e7651991be54f119645d7842757ed0b
---
 gnu/packages/audio.scm | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index f842d77031..a37f83aefd 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -49,6 +49,7 @@
 ;;; Copyright © 2024 hapster 
 ;;; Copyright © 2024 mio 
 ;;; Copyright © 2024 Nikita Domnitskii 
+;;; Copyright © 2024 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2616,13 +2617,13 @@ especially for creating reverb effects.  It supports 
impulse responses with 1,
 (base32 "0i6l25dmfk2ji2lrakqq9icnwjxklgcjzzk65dmsff91z2zva5rm"
 (build-system gnu-build-system)
 (arguments
- `(#:phases (modify-phases %standard-phases
+ `(#:configure-flags '("CFLAGS=-g -O2 -Wno-incompatible-pointer-types")
+   #:phases (modify-phases %standard-phases
   (add-after 'unpack 'patch-configure
 (lambda _
   (substitute* "configure"
 ;; Install to  regardless of platform.
-(("libnn=lib64") "libnn=lib"))
-  #t)
+(("libnn=lib64") "libnn=lib")))
 (inputs
  (list alsa-lib readline))
 ;; uuid.h is included in the JACK type headers



branch master updated: gnu: Add python-term-background.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

dannym pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
 new 9009cc882d gnu: Add python-term-background.
9009cc882d is described below

commit 9009cc882da509e6049b287ff942d0d2f73f5ab4
Author: Danny Milosavljevic 
AuthorDate: Wed Dec 11 21:42:58 2024 +0100

gnu: Add python-term-background.

* gnu/packages/python-xyz.scm (python-term-background): New variable.

Change-Id: If3606c0d037afc52842d3adb69af26d35c55f6ce
---
 gnu/packages/python-xyz.scm | 24 
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fa43c8d12f..e91f4156f2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17107,6 +17107,30 @@ a hash value.")
 applications from a list of lists of strings.  It supports multi-line rows.")
 (license license:expat)))
 
+(define-public python-term-background
+  (package
+(name "python-term-background")
+(version "1.0.2")
+(source
+ (origin
+   (method url-fetch)
+   (uri (pypi-uri "term_background" version))
+   (sha256
+(base32 "0p674silrwc3jncncmdnj1lr6pl2q5qbx0xi3mzjq9sgcs5vmp4n"
+(arguments
+ `(#:phases
+   (modify-phases %standard-phases
+ (add-after 'unpack 'fix-build
+   (lambda _
+ (delete-file "setup.py"))
+(build-system pyproject-build-system)
+(native-inputs (list python-setuptools python-wrapper 
python-setuptools-scm python-pkginfo python-pytest)) ; TODO: Remove 
python-pkginfo
+(home-page "http://github.com/rocky/shell-term-background";)
+(synopsis "Determine if shell has a light or dark background")
+(description "This package determines if shell has a light or dark
+background.")
+(license license:gpl2+)))
+
 (define-public python-libarchive-c
   (package
 (name "python-libarchive-c")



01/04: gnu: Add perl-pgplot.

2024-12-11 Thread guix-commits
dannym pushed a commit to branch master
in repository guix.

commit e234779067fcb7d10d187994e6694cdd6125bf2d
Author: Danny Milosavljevic 
AuthorDate: Sat Dec 7 00:45:35 2024 +0100

gnu: Add perl-pgplot.

* gnu/packages/maths.scm (perl-pgplot): New variable.

Change-Id: Iac06caf5f0c1b142153c011e46aa4fda7704d672
---
 gnu/packages/maths.scm | 27 +++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index a6dc1e756f..6cdba70e1b 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1300,6 +1300,33 @@ in the terminal or with an external viewer.")
 @code{cairo} that provides uniform output to multiple devices.")
 (license license:gpl2+)))
 
+(define-public perl-pgplot
+  (package
+(name "perl-pgplot")
+(version "2.34")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "mirror://cpan/authors/id/E/ET/ETJ/PGPLOT-" version
+   ".tar.gz"))
+   (sha256
+(base32 "1j0hjnhi0rkihviab2s6ninwfm71s73zh89pds1mpg9kf3c1w97z"
+(build-system perl-build-system)
+(arguments
+ `(#:phases
+   (modify-phases %standard-phases
+(add-after 'unpack 'setenv
+ (lambda* (#:key inputs #:allow-other-keys)
+   (setenv "PGPLOT_DIR" (string-append (assoc-ref inputs "giza") 
"/lib")))
+(inputs (list giza libx11))
+(native-inputs (list perl-devel-checklib perl-extutils-f77 gfortran))
+(home-page "https://metacpan.org/release/PGPLOT";)
+(synopsis "Scientific plotting library (using giza)")
+(description "This package provides PGPLOT bindings for Perl.  It uses
+giza instead of PGPLOT for the implementation, though.")
+;; Since giza is GPL2+, so is this.
+(license license:gpl2+)))
+
 (define-public gnuplot
   (package
 (name "gnuplot")



03/04: gnu: texmacs: Support HiDPI displays on Wayland.

2024-12-11 Thread guix-commits
dannym pushed a commit to branch master
in repository guix.

commit ab110cae121c1d8e10625690da856e8e6a9f3e65
Author: Danny Milosavljevic 
AuthorDate: Wed Dec 11 18:36:17 2024 +0100

gnu: texmacs: Support HiDPI displays on Wayland.

* gnu/packages/patches/texmacs-wayland-hidpi.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/text-editors.scm (texmacs)[source]: Use it.
(texmacs-guile3)[source]: Use it.
(mogan)[source]: Use it.

Change-Id: Ida737433957cb26695bf43538cff4d5d1c8a83c3
---
 gnu/local.mk |  1 +
 gnu/packages/patches/texmacs-wayland-hidpi.patch | 22 ++
 gnu/packages/text-editors.scm| 12 +---
 3 files changed, 32 insertions(+), 3 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index e149b0e9c4..39b142af5a 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2249,6 +2249,7 @@ dist_patch_DATA = 
\
   %D%/packages/patches/teuchos-remove-duplicate-using.patch\
   %D%/packages/patches/texi2html-document-encoding.patch   \
   %D%/packages/patches/texi2html-i18n.patch\
+  %D%/packages/patches/texmacs-wayland-hidpi.patch \
   %D%/packages/patches/thefuck-test-environ.patch  \
   %D%/packages/patches/tidy-CVE-2015-5522+5523.patch   \
   %D%/packages/patches/timewarrior-time-sensitive-tests.patch  \
diff --git a/gnu/packages/patches/texmacs-wayland-hidpi.patch 
b/gnu/packages/patches/texmacs-wayland-hidpi.patch
new file mode 100644
index 00..decf500125
--- /dev/null
+++ b/gnu/packages/patches/texmacs-wayland-hidpi.patch
@@ -0,0 +1,22 @@
+Author: Danny Milosavljevic 
+Date: 2024-12-11 18:30:00 CET 2024
+License: gpl3+
+
+diff -ru 
orig/qsbrdssq407hsajf74z60vp3rhgafjsl-mogan-1.1.1-checkout/src/Texmacs/Texmacs/texmacs.cpp
 
qsbrdssq407hsajf74z60vp3rhgafjsl-mogan-1.1.1-checkout/src/Texmacs/Texmacs/texmacs.cpp
+--- 
orig/qsbrdssq407hsajf74z60vp3rhgafjsl-mogan-1.1.1-checkout/src/Texmacs/Texmacs/texmacs.cpp
 2024-05-10 01:51:55.312256939 +0200
 
qsbrdssq407hsajf74z60vp3rhgafjsl-mogan-1.1.1-checkout/src/Texmacs/Texmacs/texmacs.cpp
  2024-05-10 01:52:43.659909394 +0200
+@@ -685,8 +685,12 @@
+ #ifndef OS_MINGW
+   set_env ("LC_NUMERIC", "POSIX");
+ #ifndef OS_MACOS
+-  set_env ("QT_QPA_PLATFORM", "xcb");
+-  set_env ("XDG_SESSION_TYPE", "x11");
++  if (get_env ("XDG_SESSION_TYPE") == "wayland") {
++set_env ("QT_QPA_PLATFORM", "wayland"); 
QGuiApplication::setAttribute(Qt::AA_DisableHighDpiScaling); 
QGuiApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
++  } else {
++set_env ("QT_QPA_PLATFORM", "xcb");
++set_env ("XDG_SESSION_TYPE", "x11");
++  }
+ #endif
+ #endif
+ #ifdef MACOSX_EXTENSIONS
diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 78c4b825d9..683a588495 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -1083,7 +1083,9 @@ editors.")
(uri (string-append "https://www.texmacs.org/Download/ftp/tmftp/";
"source/TeXmacs-" version "-src.tar.gz"))
(sha256
-(base32 "11l1q5lmsj9g7yil1dn7n1cgsr8iikx59kg9riahpb6xw0p959l7"
+(base32 "11l1q5lmsj9g7yil1dn7n1cgsr8iikx59kg9riahpb6xw0p959l7"))
+   (patches
+(search-patches "texmacs-wayland-hidpi.patch"
 (build-system cmake-build-system)
 (native-inputs
  (list pkg-config xdg-utils))   ;for xdg-icon-resource
@@ -1133,7 +1135,9 @@ Octave.  TeXmacs is completely extensible via Guile.")
  (url "https://github.com/texmacs/texmacs.git";)
  (commit "guile3_branch_2.1")))
(sha256
-(base32 "0f7l1sfbii25gawqsg27m31myvixb3xdxnsg5njlrnmp8xh1rs3v"
+(base32 "0f7l1sfbii25gawqsg27m31myvixb3xdxnsg5njlrnmp8xh1rs3v"))
+   (patches
+(search-patches "texmacs-wayland-hidpi.patch"
 (inputs
  (list freetype
guile-3.0
@@ -1159,7 +1163,9 @@ Octave.  TeXmacs is completely extensible via Guile.")
  (commit (string-append "v" version
(file-name (git-file-name name version))
(sha256
-(base32 "04wz6xmimjv2l6baxgzm8vyq5grg102m3l4wq8i6bglv529yp4ff"
+(base32 "04wz6xmimjv2l6baxgzm8vyq5grg102m3l4wq8i6bglv529yp4ff"))
+   (patches
+(search-patches "texmacs-wayland-hidpi.patch"
 (build-system qt-build-system)
 (inputs
  (modify-inputs (package-inputs texmacs)



04/04: Revert "gnu: xdg-desktop-portal-gtk: Make possible to use with xdg-desktop-portal-wlr."

2024-12-11 Thread guix-commits
dannym pushed a commit to branch master
in repository guix.

commit 27750bd0cab9e900f289a5520314ef66487e
Author: Danny Milosavljevic 
AuthorDate: Wed Dec 11 19:23:51 2024 +0100

Revert "gnu: xdg-desktop-portal-gtk: Make possible to use with 
xdg-desktop-portal-wlr."

This reverts commit 5d284ebc8df87b0e21cee5844d66dc7c80863464 but breaks 
sway.

Change-Id: I9ed395862ac0547346bd78ecb73c05b748fdf141
---
 gnu/packages/freedesktop.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index d562102e38..08b5d7e351 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -3247,7 +3247,7 @@ and others.")
("gnome-desktop" ,gnome-desktop)
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)))
 (propagated-inputs
- (list xdg-desktop-portal-next))
+ (list xdg-desktop-portal))
 (home-page "https://github.com/flatpak/xdg-desktop-portal-gtk";)
 (synopsis "GTK implementation of xdg-desktop-portal")
 (description



branch master updated (c2e2b0376b -> 27750bd0cd)

2024-12-11 Thread guix-commits
dannym pushed a change to branch master
in repository guix.

from c2e2b0376b gnu: mullvadbrowser: Update to 14.0.3 [security fixes].
 new e234779067 gnu: Add perl-pgplot.
 new 96f0c5449a gnu: Add texmacs-guile3.
 new ab110cae12 gnu: texmacs: Support HiDPI displays on Wayland.
 new 27750bd0cd Revert "gnu: xdg-desktop-portal-gtk: Make possible to use 
with xdg-desktop-portal-wlr."

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/local.mk |  1 +
 gnu/packages/freedesktop.scm |  2 +-
 gnu/packages/maths.scm   | 27 ++
 gnu/packages/patches/texmacs-wayland-hidpi.patch | 22 +++
 gnu/packages/text-editors.scm| 36 ++--
 5 files changed, 85 insertions(+), 3 deletions(-)
 create mode 100644 gnu/packages/patches/texmacs-wayland-hidpi.patch



02/04: gnu: Add texmacs-guile3.

2024-12-11 Thread guix-commits
dannym pushed a commit to branch master
in repository guix.

commit 96f0c5449ac72e484c2911a210751f028024e656
Author: Danny Milosavljevic 
AuthorDate: Wed Dec 11 18:29:19 2024 +0100

gnu: Add texmacs-guile3.

* gnu/packages/text-editors.scm (texmacs-guile3): New variable.

Change-Id: I23b58c15162a64d72a5d7092a23aa2503a62b139
---
 gnu/packages/text-editors.scm | 26 ++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 14c9e72b8f..78c4b825d9 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -98,6 +98,7 @@
   #:use-module (gnu packages lisp-xyz)
   #:use-module (gnu packages llvm)
   #:use-module (gnu packages lua)
+  #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages perl)
@@ -1120,6 +1121,31 @@ Octave.  TeXmacs is completely extensible via Guile.")
 (license license:gpl3+)
 (home-page "https://www.texmacs.org/tmweb/home/welcome.en.html";)))
 
+(define-public texmacs-guile3
+  (package
+(inherit texmacs)
+(name "texmacs-guile3")
+(version "2.1.4")
+(source
+ (origin
+   (method git-fetch)
+   (uri (git-reference
+ (url "https://github.com/texmacs/texmacs.git";)
+ (commit "guile3_branch_2.1")))
+   (sha256
+(base32 "0f7l1sfbii25gawqsg27m31myvixb3xdxnsg5njlrnmp8xh1rs3v"
+(inputs
+ (list freetype
+   guile-3.0
+   gmp
+   libjpeg-turbo
+   libxcrypt
+   perl
+   python-wrapper
+   qtbase-5
+   qtsvg-5
+   sqlite
+
 (define-public mogan
   (package
 (inherit texmacs)



02/02: gnu: gdb: Fix build of target-specific versions.

2024-12-11 Thread guix-commits
janneke pushed a commit to branch master
in repository guix.

commit 98908e0777889aeec2796dbdc4f0809a1898dd3b
Author: Rutherther via Guix-patches via 
AuthorDate: Wed Dec 11 20:35:45 2024 +0100

gnu: gdb: Fix build of target-specific versions.

Since recently there has been a change to gdb package that introduced
configure-flags, three gdb packages broke, since they assumed there are no
configure-flags in gdb.  That means they produced the same gdb as gdb-14.

This patche fixes that by ensuring configure-flags are appended to original 
package.

* gnu/packages/embedded.scm (make-gdb-arm-none-eabi)[arguments]: Append
configure-flags to original flags.
* gnu/packages/gdb.scm (gdb-multiarch)[arguments]: Likewise.
* gnu/packages/gdb.scm (avr-gdb)[arguments]: Likewise.

Signed-off-by: Janneke Nieuwenhuizen 

Change-Id: Ia8748b86dc72197bd4eef307d091b6af44fc5611
---
 gnu/packages/embedded.scm | 14 --
 gnu/packages/gdb.scm  | 32 
 2 files changed, 24 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index 0dcfc6669f..930857d0aa 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -741,12 +741,14 @@ languages are C and C++.")
   (inherit gdb)
   (name "gdb-arm-none-eabi")
   (arguments
-   `(#:configure-flags '("--target=arm-none-eabi"
- "--enable-multilib"
- "--enable-interwork"
- "--enable-languages=c,c++"
- "--disable-nls")
- ,@(package-arguments gdb))
+   (substitute-keyword-arguments (package-arguments gdb)
+ ((#:configure-flags flags '())
+  #~(cons* "--target=arm-none-eabi"
+   "--enable-multilib"
+   "--enable-interwork"
+   "--enable-languages=c,c++"
+   "--disable-nls"
+   #$flags)))
 
 (define-public libjaylink
   (package
diff --git a/gnu/packages/gdb.scm b/gnu/packages/gdb.scm
index af5ebde3f6..ef100306b4 100644
--- a/gnu/packages/gdb.scm
+++ b/gnu/packages/gdb.scm
@@ -184,14 +184,14 @@ written in C, C++, Ada, Objective-C, Pascal and more.")
   (package/inherit gdb-14
 (name "gdb-multiarch")
 (arguments
- (append
-  (list #:configure-flags
-#~(list "--enable-targets=all"
-"--enable-multilib"
-"--enable-interwork"
-"--enable-languages=c,c++"
-"--disable-nls"))
-  (package-arguments gdb-14)))
+ (substitute-keyword-arguments (package-arguments gdb-14)
+   ((#:configure-flags flags '())
+#~(cons* "--enable-targets=all"
+ "--enable-multilib"
+ "--enable-interwork"
+ "--enable-languages=c,c++"
+ "--disable-nls"
+ #$flags
 (synopsis "The GNU debugger (with all architectures enabled)")))
 
 (define-public gdb-minimal
@@ -210,14 +210,14 @@ written in C, C++, Ada, Objective-C, Pascal and more.")
   (package/inherit gdb-14
 (name "avr-gdb")
 (arguments
- (append
-  (list #:configure-flags
-#~(list "--target=avr"
-"--disable-nls"
-"--enable-languages=c,c++"
-"--with-system-readline"
-"--enable-source-highlight"))
-  (package-arguments gdb-14)))
+ (substitute-keyword-arguments (package-arguments gdb-14)
+   ((#:configure-flags flags '())
+#~(cons* "--target=avr"
+ "--disable-nls"
+ "--enable-languages=c,c++"
+ "--with-system-readline"
+ "--enable-source-highlight"
+ #$flags
 (synopsis "The GNU Debugger for AVR")
 (description
  "GDB is the GNU debugger.  With it, you can monitor what a program is



branch master updated (27750bd0cd -> 98908e0777)

2024-12-11 Thread guix-commits
janneke pushed a change to branch master
in repository guix.

from 27750bd0cd Revert "gnu: xdg-desktop-portal-gtk: Make possible to use 
with xdg-desktop-portal-wlr."
 new 7aca60c6c4 gnu: openblas: Fix description.
 new 98908e0777 gnu: gdb: Fix build of target-specific versions.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/embedded.scm | 14 --
 gnu/packages/gdb.scm  | 32 
 gnu/packages/maths.scm|  3 ++-
 3 files changed, 26 insertions(+), 23 deletions(-)



01/02: gnu: openblas: Fix description.

2024-12-11 Thread guix-commits
janneke pushed a commit to branch master
in repository guix.

commit 7aca60c6c48f4779ed63aa4b2ec8cfe5bde34ec4
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 20:45:39 2024 +0100

gnu: openblas: Fix description.

* gnu/packages/maths.scm (openblas)[description]: Write BLAS acronym in full
before using it.

Change-Id: Ieff4f6c4d69882b3afc826da8283cd7ce0263c74
---
 gnu/packages/maths.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 6cdba70e1b..ba03bf3209 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -5426,7 +5426,8 @@ parts of it.")
 (home-page "https://www.openblas.net/";)
 (synopsis "Optimized BLAS library based on GotoBLAS")
 (description
- "OpenBLAS is a BLAS library forked from the GotoBLAS2-1.13 BSD version.")
+ "OpenBLAS is a Basic Linear Algebra Subprograms (BLAS) library forked
+from the GotoBLAS2-1.13 BSD version.")
 (license license:bsd-3)))
 
 (define-public openblas-ilp64



branch core-packages-team updated: gnu: openblas: Update to 0.3.28; fixes build with gcc-14.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch core-packages-team
in repository guix.

The following commit(s) were added to refs/heads/core-packages-team by this 
push:
 new d5be20f674 gnu: openblas: Update to 0.3.28; fixes build with gcc-14.
d5be20f674 is described below

commit d5be20f6746fb9e59a462c805ddcc8ae3bfef954
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 20:20:25 2024 +0100

gnu: openblas: Update to 0.3.28; fixes build with gcc-14.

* gnu/packages/maths.scm (openblas): Update to 0.3.28.

Change-Id: I63d3f1668c5b7a75161c1dc189c26635092c0b64
---
 gnu/packages/maths.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index a6dc1e756f..6b63b1e16b 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -5324,7 +5324,7 @@ parts of it.")
 (define-public openblas
   (package
 (name "openblas")
-(version "0.3.20")
+(version "0.3.28")
 (source
  (origin
(method git-fetch)
@@ -5334,7 +5334,7 @@ parts of it.")
(file-name (git-file-name name version))
(sha256
 (base32
- "0r4sz3rn68fyc2paq0a04pgfi7iszpm95f6ggbzxpvjzx9qxbcql"
+ "13qyhb71ddq5qjjvpijg2lb3f3hlpd8b3if3iml17865iqdk6zg3"
 (build-system gnu-build-system)
 (arguments
  (list



branch master updated: gnu: librewolf: Add %u to Exec option to open URLs.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

sharlatan pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
 new dc2df5b869 gnu: librewolf: Add %u to Exec option to open URLs.
dc2df5b869 is described below

commit dc2df5b86942e70c4d9f24533f6609153e9b2889
Author: Roman Scherer 
AuthorDate: Mon Dec 2 13:20:20 2024 +0100

gnu: librewolf: Add %u to Exec option to open URLs.

The context behind this change is that Firefox used to ship a
taskcluster/docker/firefox-snap/firefox.desktop file which had an Exec
line like this:

Exec=@MOZ_APP_NAME@ %u

The Guix package would use that file, replacing the token with the path
to the binary. Reported in #74648.

* gnu/packages/librewolf.scm (librewolf): Add %u to Exec option to open
URLs.

Change-Id: I8cf5d3886eaf7805209cf12eae0cc875bef6d5dd
Reviewed-by: André Batista 
Reviewed-by: Ian Eure 
Signed-off-by: Sharlatan Hellseher 
---
 gnu/packages/librewolf.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/librewolf.scm b/gnu/packages/librewolf.scm
index 5d432cfad8..42d212e9f9 100644
--- a/gnu/packages/librewolf.scm
+++ b/gnu/packages/librewolf.scm
@@ -605,7 +605,7 @@
  (substitute* desktop-file
(("^Exec=@MOZ_APP_NAME@")
 (string-append "Exec="
-   #$output "/bin/librewolf"))
+   #$output "/bin/librewolf %u"))
(("@MOZ_APP_DISPLAYNAME@")
 "LibreWolf")
(("@MOZ_APP_REMOTINGNAME@")



[shepherd] 01/02: guix: Update version string.

2024-12-11 Thread Ludovic Courtès
civodul pushed a commit to branch main
in repository shepherd.

commit 7c725ff7f3f2d0a12e4b5b4e967efda3303e9d6f
Author: Ludovic Courtès 
AuthorDate: Wed Dec 11 11:58:09 2024 +0100

guix: Update version string.

* .guix/modules/shepherd-package.scm (%shepherd-version): Update.
---
 .guix/modules/shepherd-package.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.guix/modules/shepherd-package.scm 
b/.guix/modules/shepherd-package.scm
index 6ad1807..2999aed 100644
--- a/.guix/modules/shepherd-package.scm
+++ b/.guix/modules/shepherd-package.scm
@@ -53,7 +53,7 @@
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages texinfo))
 
-(define %shepherd-version "0.10.99")
+(define %shepherd-version "1.0.99")
 
 (define source-checkout
   (let ((vcs-file? (or (git-predicate



[shepherd] branch main updated (dd911ac -> fb0f6fe)

2024-12-11 Thread Ludovic Courtès
civodul pushed a change to branch main
in repository shepherd.

from dd911ac  build: Bump to version 1.0.0.
 new 7c725ff  guix: Update version string.
 new fb0f6fe  log-rotation: Skip non-regular files.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .guix/modules/shepherd-package.scm|  2 +-
 NEWS  | 10 ++
 modules/shepherd/service/log-rotation.scm | 31 ++-
 tests/services/log-rotation.sh| 10 --
 4 files changed, 37 insertions(+), 16 deletions(-)



[shepherd] 02/02: log-rotation: Skip non-regular files.

2024-12-11 Thread Ludovic Courtès
civodul pushed a commit to branch main
in repository shepherd.

commit fb0f6fe5cef6772580d7d3f8505411342320069e
Author: Ludovic Courtès 
AuthorDate: Wed Dec 11 11:58:56 2024 +0100

log-rotation: Skip non-regular files.

Until now, /dev/console, /dev/tty12, etc. were skipped, but only because
they were always below the size threshold.  The service could
potentially attempt to rotate directories specified as external log
files (reported size is usually 4 KiB), leading to an uncaught exception
in the timer action when calling ‘truncate-file’.

This change makes the non-regular-file check explicit.

* modules/shepherd/service/log-rotation.scm (rotate-file): Explicitly
skip non-regular files.
* tests/services/log-rotation.sh: Test it.
* NEWS: Update.
---
 NEWS  | 10 ++
 modules/shepherd/service/log-rotation.scm | 31 ++-
 tests/services/log-rotation.sh| 10 --
 3 files changed, 36 insertions(+), 15 deletions(-)

diff --git a/NEWS b/NEWS
index eba97b9..6b6bb98 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,16 @@ Copyright © 2013-2014, 2016, 2018-2020, 2022-2024 Ludovic 
Courtès  (stat:size stat) rotation-size-threshold)
- (begin
-   ;; First rotate past logs, to free "FILE.1".
-   (rotate-past-logs file rotate)
-   ;; Then rename FILE to "FILE.1".
-   (let* ((next (string-append file ".1"))
-  (rotated? (rotate-current file next)))
- (when rotated?
-   (compress-file compression next)
-   (local-output (l10n "Rotated '~a'.") file
- (local-output
-  (l10n "Not rotating '~a', which is below the ~a B threshold.")
-  file rotation-size-threshold)
+ (cond ((not (eq? 'regular (stat:type stat)))
+;; Do not rotate /dev/tty12, directories, or anything like that.
+(local-output
+ (l10n "Not rotating '~a', which is not a regular file.")
+ file))
+   ((> (stat:size stat) rotation-size-threshold)
+;; First rotate past logs, to free "FILE.1".
+(rotate-past-logs file rotate)
+;; Then rename FILE to "FILE.1".
+(let* ((next (string-append file ".1"))
+   (rotated? (rotate-current file next)))
+  (when rotated?
+(compress-file compression next)
+(local-output (l10n "Rotated '~a'.") file
+   (else
+(local-output
+ (l10n "Not rotating '~a', which is below the ~a B threshold.")
+ file rotation-size-threshold))
 
 (define* (rotate-logs logger #:optional (rotate rename-file)
   #:key
diff --git a/tests/services/log-rotation.sh b/tests/services/log-rotation.sh
index 854bd70..91f8748 100644
--- a/tests/services/log-rotation.sh
+++ b/tests/services/log-rotation.sh
@@ -26,11 +26,13 @@ pid="t-pid-$$"
 service_log1="$PWD/t-service-log1-$$"
 service_log2="$PWD/t-service-log2-$$"
 external_log="$PWD/t-service-extlog-$$"
+invalid_external_log="$PWD/t-service-invalid-extlog-$$"
 
 herd="herd -s $socket"
 
 trap "zcat $log* || true;
   rm -f $socket $conf $log* $service_log1* $service_log2* $external_log*;
+  rmdir $invalid_external_log;
   test -f $pid && kill \`cat $pid\` || true; rm -f $pid" EXIT
 
 cat > "$conf" < "$conf" < "$external_log"
 
+mkdir "$invalid_external_log"  # not a regular file, so should 
not be rotated
+
 # First rotation.
 $herd trigger log-rotation
 
@@ -109,6 +113,8 @@ gunzip < "$external_log.1.gz" | grep "external log file"
 test -f "$external_log"
 guile -c "(exit (zero? (stat:size (stat \"$external_log\""
 
+zgrep "Not rotating .*$invalid_external_log" "$log"* # not a regular file
+
 # Second rotation.
 $herd trigger log-rotation
 



03/03: squash! gnu: Use cryptsetup-minimal instead of cryptsetup. --typo

2024-12-11 Thread guix-commits
janneke pushed a commit to branch core-packages-team
in repository guix.

commit 27a1432269886c33fbc3241c1f024a899376c030
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 18:58:16 2024 +0100

squash! gnu: Use cryptsetup-minimal instead of cryptsetup.  --typo

Change-Id: Ifb834690bb897f0dfb0b2ec772546c051f37c999
---
 gnu/system/install.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index 01c386124d..4de903c59b 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -495,7 +495,7 @@ Access documentation at any time by pressing Alt-F2.\x1b[0m
 ;; We used to provide fdisk from GNU fdisk, but as of version 2.0.0a
 ;; it pulls Guile 1.8, which takes unreasonable space; furthermore
 ;; util-linux's fdisk is already available, in %base-packages-linux.
-cryptsetup mdadmo
+cryptsetup mdadm
 dosfstools
 btrfs-progs
 e2fsprogs



01/03: gnu: Add cryptsetup-minimal.

2024-12-11 Thread guix-commits
janneke pushed a commit to branch core-packages-team
in repository guix.

commit 326a73b23f1144b20410ff3d7728c782ace1595b
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 18:01:50 2024 +0100

gnu: Add cryptsetup-minimal.

The ruby-asciidoctor dependency pulls-in pandoc, 316 ghc packages, and 204
ruby packages, for documentation only.

* gnu/packages/cryptsetup.scm (cryptsetup): Rename to...
(cryptsetup-minimal): ...this.
[native-inputs]: Remove optional ruby-asciidoctor.
(cryptsetup): New variable.  Inherit from cryptsetup-minimal.
[native-inputs]: Add ruby-asciidoctor if available.

Change-Id: I1d4d2160e1fd64057a188afa3c9cbf037610727a
---
 gnu/packages/cryptsetup.scm | 23 ++-
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/cryptsetup.scm b/gnu/packages/cryptsetup.scm
index 44f9c77984..2b6cc635ee 100644
--- a/gnu/packages/cryptsetup.scm
+++ b/gnu/packages/cryptsetup.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2016 Ludovic Courtès 
 ;;; Copyright © 2019–2021 Tobias Geerinckx-Rice 
 ;;; Copyright © 2024 Efraim Flashner 
+;;; Copyright © 2024 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -35,9 +36,9 @@
   #:use-module (gnu packages ruby)
   #:use-module (gnu packages web))
 
-(define-public cryptsetup
+(define-public cryptsetup-minimal
   (package
-   (name "cryptsetup")
+   (name "cryptsetup-minimal")
(version "2.6.1")
(source (origin
 (method url-fetch)
@@ -69,11 +70,7 @@
   ;; 
   (string-append "--with-libgcrypt-prefix="
  (assoc-ref %build-inputs "libgcrypt"))
-   (native-inputs
-(append (list pkg-config)
-(if (supported-package? ruby-asciidoctor)
-(list ruby-asciidoctor)
-'(
+   (native-inputs (list pkg-config))
(inputs
 (list argon2
   json-c
@@ -100,6 +97,14 @@ block integrity kernel modules.")
(license license:gpl2)
(home-page "https://gitlab.com/cryptsetup/cryptsetup";)))
 
+(define-public cryptsetup
+  (package/inherit cryptsetup-minimal
+(name "cryptsetup")
+(native-inputs `(,(if (supported-package? ruby-asciidoctor)
+  `("ruby-asciidoctor" ,ruby-asciidoctor)
+  '())
+ ,@(package-native-inputs cryptsetup-minimal)
+
 (define-public (libcryptsetup-propagated-inputs)
   (list argon2
 json-c
@@ -122,10 +127,10 @@ files).  This assumes LIBRARY uses Libtool."
 (define-public cryptsetup-static
   ;; Stripped-down statically-linked 'cryptsetup' command for use in initrds.
   (package
-(inherit cryptsetup)
+(inherit cryptsetup-minimal)
 (name "cryptsetup-static")
 (arguments
- (substitute-keyword-arguments (package-arguments cryptsetup)
+ (substitute-keyword-arguments (package-arguments cryptsetup-minimal)
((#:configure-flags flags ''())
 `(cons* "--disable-shared"
 "--enable-static-cryptsetup"



branch core-packages-team updated (e0abfd6a48 -> 27a1432269)

2024-12-11 Thread guix-commits
janneke pushed a change to branch core-packages-team
in repository guix.

from e0abfd6a48 gnu: tdb: Update to 1.4.12; fixes build with gcc-14.
 new 326a73b23f gnu: Add cryptsetup-minimal.
 new 01bfa0aef5 gnu: Use cryptsetup-minimal instead of cryptsetup.
 new 27a1432269 squash! gnu: Use cryptsetup-minimal instead of cryptsetup.  
--typo

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/admin.scm  |  2 +-
 gnu/packages/crypto.scm |  2 +-
 gnu/packages/cryptsetup.scm | 23 ++-
 gnu/packages/disk.scm   |  6 +++---
 gnu/packages/freedesktop.scm|  2 +-
 gnu/packages/linux.scm  |  2 +-
 gnu/packages/password-utils.scm |  3 ++-
 gnu/packages/storage.scm|  3 ++-
 gnu/packages/virtualization.scm |  2 +-
 9 files changed, 26 insertions(+), 19 deletions(-)



04/05: Revert "guix: build-system: cmake: Rework cross compilation."

2024-12-11 Thread guix-commits
janneke pushed a commit to branch core-packages-team
in repository guix.

commit 3d19db75da4882b599e93d1b395138566036026c
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 10:54:37 2024 +0100

Revert "guix: build-system: cmake: Rework cross compilation."

We should probably include this patch set, but no rust world rebuild for me
right now!

This reverts commit a1dda308571841de1a2c223d7864622d304cdf30.

Change-Id: I5cce844a3059fce21bf9c880a20042cfc1ee4ffa
---
 guix/build-system/cmake.scm   | 20 +---
 guix/build/cmake-build-system.scm | 11 +++
 2 files changed, 12 insertions(+), 19 deletions(-)

diff --git a/guix/build-system/cmake.scm b/guix/build-system/cmake.scm
index 8a3a183524..0b8a651ee0 100644
--- a/guix/build-system/cmake.scm
+++ b/guix/build-system/cmake.scm
@@ -39,15 +39,6 @@
 ;;
 ;; Code:
 
-(define* (cmake-system-name-for-target
-  #:optional (target (or (%current-target-system)
- (%current-system
-  (cond ((target-hurd? target)  "GNU")
-((target-linux? target) "Linux")
-((target-mingw? target) "Windows")
-;; For avr, or1k-elf, xtensa-ath9k-elf
-(else "Generic")))
-
 (define %cmake-build-system-modules
   ;; Build-side modules imported by default.
   `((guix build cmake-build-system)
@@ -240,16 +231,7 @@ build system."
  
search-path-specification->sexp
  native-search-paths)
#:phases #$phases
-   #:configure-flags
-   `(#$(string-append "-DCMAKE_C_COMPILER="
-  (cc-for-target target))
- #$(string-append "-DCMAKE_CXX_COMPILER="
-  (cxx-for-target target))
- #$(string-append "-DCMAKE_SYSTEM_NAME="
-  (cmake-system-name-for-target 
target))
- ,@#$(if (pair? configure-flags)
- (sexp->gexp configure-flags)
- configure-flags))
+   #:configure-flags #$configure-flags
#:make-flags #$make-flags
#:out-of-source? #$out-of-source?
#:build-type #$build-type
diff --git a/guix/build/cmake-build-system.scm 
b/guix/build/cmake-build-system.scm
index 61033061c6..d1ff5071be 100644
--- a/guix/build/cmake-build-system.scm
+++ b/guix/build/cmake-build-system.scm
@@ -62,6 +62,17 @@
   ,(string-append "-DCMAKE_INSTALL_RPATH=" out "/lib")
   ;; enable verbose output from builds
   "-DCMAKE_VERBOSE_MAKEFILE=ON"
+
+  ;;  Cross-build
+  ,@(if target
+(list (string-append "-DCMAKE_C_COMPILER="
+ target "-gcc")
+  (string-append "-DCMAKE_CXX_COMPILER="
+ target "-g++")
+  (if (string-contains target "mingw")
+  "-DCMAKE_SYSTEM_NAME=Windows"
+  "-DCMAKE_SYSTEM_NAME=Linux"))
+'())
   ,@configure-flags)))
   (format #t "running 'cmake' with arguments ~s~%" args)
   (apply invoke "cmake" args



05/05: gnu: epson-inkjet-printer-escpr: Fix build with gcc-14.

2024-12-11 Thread guix-commits
janneke pushed a commit to branch core-packages-team
in repository guix.

commit 646e991322cd8636e63593649f2c2134caab072d
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 12:21:38 2024 +0100

gnu: epson-inkjet-printer-escpr: Fix build with gcc-14.

* gnu/packages/cups.scm (epson-inkjet-printer-escpr)[arguments]: Add CFLAGS
to #:configure-flags to relax gcc-14's strictness.

Change-Id: I2333252701bc47adfef3da9f40b14c4dbda36abe
---
 gnu/packages/cups.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index c9dfe63141..311bb6b219 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -911,7 +911,8 @@ HP@tie{}LaserJet, and possibly other printers.  See 
@file{README} for details.")
`((srfi srfi-26)
  ,@%default-gnu-modules)
#:configure-flags
-   #~(list "--disable-static"
+   #~(list "CFLAGS=-g -O2 -Wno-implicit-function-declaration"
+   "--disable-static"
(string-append "--prefix=" #$output)
(string-append "--with-cupsfilterdir=" #$output 
"/lib/cups/filter")
(string-append "--with-cupsppddir=" #$output 
"/share/cups/model"))



02/05: gnu: ath9k-firmware: Remove CMAKE_SYSTEM_NAME override.

2024-12-11 Thread guix-commits
janneke pushed a commit to branch core-packages-team
in repository guix.

commit 8f9a79baa503b1dd138913a5e20d1a4b95328db1
Author: Dariqq 
AuthorDate: Wed Aug 21 18:34:51 2024 +

gnu: ath9k-firmware: Remove CMAKE_SYSTEM_NAME override.

* gnu/packages/firmware.scm (ath9k-htc-ar7010-firmware)[arguments]: Remove
CMAKE_SYSTEM_NAME from #:configure-flag.
(ath9k-htc-ar9271-firmware)[arguments]: Same.

Signed-off-by: Janneke Nieuwenhuizen 

Change-Id: I87acb0aa781d104be511b1f368d9332c61d71627
---
 gnu/packages/firmware.scm | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 4b8066c545..632d229485 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -117,7 +117,6 @@
#:tests? #f
#:configure-flags
#~'("-DCMAKE_C_FLAGS=-Wno-error=implicit-function-declaration"
-   "-DCMAKE_SYSTEM_NAME=Generic"  ;override default value
"-DTARGET_MAGPIE=ON")
#:phases
#~(modify-phases %standard-phases
@@ -146,8 +145,7 @@
  (substitute-keyword-arguments
(package-arguments ath9k-htc-ar7010-firmware)
((#:configure-flags flags)
-#~'("-DCMAKE_SYSTEM_NAME=Generic" ;override default value
-"-DCMAKE_C_FLAGS=-Wno-error=implicit-function-declaration"
+#~'("-DCMAKE_C_FLAGS=-Wno-error=implicit-function-declaration"
 "-DTARGET_K2=ON"
 (synopsis "Firmware for the Atheros AR9271 USB 802.11n NICs")
 (description



branch core-packages-team updated (448b825f77 -> 646e991322)

2024-12-11 Thread guix-commits
janneke pushed a change to branch core-packages-team
in repository guix.

from 448b825f77 gnu: fontforge: Update to 20230101 and fix build with 
gettext-0.23.
 new a1dda30857 guix: build-system: cmake: Rework cross compilation.
 new 8f9a79baa5 gnu: ath9k-firmware: Remove CMAKE_SYSTEM_NAME override.
 new b57ec4d7a3 Revert "gnu: ath9k-firmware: Remove CMAKE_SYSTEM_NAME 
override."
 new 3d19db75da Revert "guix: build-system: cmake: Rework cross 
compilation."
 new 646e991322 gnu: epson-inkjet-printer-escpr: Fix build with gcc-14.

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/cups.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)



03/05: Revert "gnu: ath9k-firmware: Remove CMAKE_SYSTEM_NAME override."

2024-12-11 Thread guix-commits
janneke pushed a commit to branch core-packages-team
in repository guix.

commit b57ec4d7a33c81112c7c4c6783de0974cb06e0d0
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 10:54:31 2024 +0100

Revert "gnu: ath9k-firmware: Remove CMAKE_SYSTEM_NAME override."

We should probably include this patch set, but no rust world rebuild for me
right now!

This reverts commit 8f9a79baa503b1dd138913a5e20d1a4b95328db1.

Change-Id: I0c3ff3ab1516c195fbf0c12ab490397a55a379dc
---
 gnu/packages/firmware.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 632d229485..4b8066c545 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -117,6 +117,7 @@
#:tests? #f
#:configure-flags
#~'("-DCMAKE_C_FLAGS=-Wno-error=implicit-function-declaration"
+   "-DCMAKE_SYSTEM_NAME=Generic"  ;override default value
"-DTARGET_MAGPIE=ON")
#:phases
#~(modify-phases %standard-phases
@@ -145,7 +146,8 @@
  (substitute-keyword-arguments
(package-arguments ath9k-htc-ar7010-firmware)
((#:configure-flags flags)
-#~'("-DCMAKE_C_FLAGS=-Wno-error=implicit-function-declaration"
+#~'("-DCMAKE_SYSTEM_NAME=Generic" ;override default value
+"-DCMAKE_C_FLAGS=-Wno-error=implicit-function-declaration"
 "-DTARGET_K2=ON"
 (synopsis "Firmware for the Atheros AR9271 USB 802.11n NICs")
 (description



01/05: guix: build-system: cmake: Rework cross compilation.

2024-12-11 Thread guix-commits
janneke pushed a commit to branch core-packages-team
in repository guix.

commit a1dda308571841de1a2c223d7864622d304cdf30
Author: Dariqq 
AuthorDate: Wed Aug 21 18:34:50 2024 +

guix: build-system: cmake: Rework cross compilation.

Move the extra configure flags for cross building out from the build side 
code
and instead prepend them to the configure-flags.

Use new procedure cmake-system-name-for-target to add support for the Hurd 
and
bare-metal targets.

* guix/build/cmake-build-system.scm (configure): Move cross build flags from
here ...
* guix/build-system/cmake.scm (cmake-cross-build): ... to here.
(cmake-system-name-for-target): New procedure.

Signed-off-by: Janneke Nieuwenhuizen 

Change-Id: Ic68acc246e543491ed147e53d47cec5de46b82cb
---
 guix/build-system/cmake.scm   | 20 +++-
 guix/build/cmake-build-system.scm | 11 ---
 2 files changed, 19 insertions(+), 12 deletions(-)

diff --git a/guix/build-system/cmake.scm b/guix/build-system/cmake.scm
index 0b8a651ee0..8a3a183524 100644
--- a/guix/build-system/cmake.scm
+++ b/guix/build-system/cmake.scm
@@ -39,6 +39,15 @@
 ;;
 ;; Code:
 
+(define* (cmake-system-name-for-target
+  #:optional (target (or (%current-target-system)
+ (%current-system
+  (cond ((target-hurd? target)  "GNU")
+((target-linux? target) "Linux")
+((target-mingw? target) "Windows")
+;; For avr, or1k-elf, xtensa-ath9k-elf
+(else "Generic")))
+
 (define %cmake-build-system-modules
   ;; Build-side modules imported by default.
   `((guix build cmake-build-system)
@@ -231,7 +240,16 @@ build system."
  
search-path-specification->sexp
  native-search-paths)
#:phases #$phases
-   #:configure-flags #$configure-flags
+   #:configure-flags
+   `(#$(string-append "-DCMAKE_C_COMPILER="
+  (cc-for-target target))
+ #$(string-append "-DCMAKE_CXX_COMPILER="
+  (cxx-for-target target))
+ #$(string-append "-DCMAKE_SYSTEM_NAME="
+  (cmake-system-name-for-target 
target))
+ ,@#$(if (pair? configure-flags)
+ (sexp->gexp configure-flags)
+ configure-flags))
#:make-flags #$make-flags
#:out-of-source? #$out-of-source?
#:build-type #$build-type
diff --git a/guix/build/cmake-build-system.scm 
b/guix/build/cmake-build-system.scm
index d1ff5071be..61033061c6 100644
--- a/guix/build/cmake-build-system.scm
+++ b/guix/build/cmake-build-system.scm
@@ -62,17 +62,6 @@
   ,(string-append "-DCMAKE_INSTALL_RPATH=" out "/lib")
   ;; enable verbose output from builds
   "-DCMAKE_VERBOSE_MAKEFILE=ON"
-
-  ;;  Cross-build
-  ,@(if target
-(list (string-append "-DCMAKE_C_COMPILER="
- target "-gcc")
-  (string-append "-DCMAKE_CXX_COMPILER="
- target "-g++")
-  (if (string-contains target "mingw")
-  "-DCMAKE_SYSTEM_NAME=Windows"
-  "-DCMAKE_SYSTEM_NAME=Linux"))
-'())
   ,@configure-flags)))
   (format #t "running 'cmake' with arguments ~s~%" args)
   (apply invoke "cmake" args



branch core-packages-team updated: gnu: bdb-4.8: Fix build with gcc-14.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch core-packages-team
in repository guix.

The following commit(s) were added to refs/heads/core-packages-team by this 
push:
 new e2a52e273c gnu: bdb-4.8: Fix build with gcc-14.
e2a52e273c is described below

commit e2a52e273c211e6fc3631b8e4e90fedb16373acc
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 12:44:44 2024 +0100

gnu: bdb-4.8: Fix build with gcc-14.

* gnu/packages/dbm.scm (bdb-4.8)[arguments]: Add CFLAGS to #:configure-flags
to relax gcc-14's strictness.

Change-Id: If016d18710acd525462f7f108939180650c73587
---
 gnu/packages/dbm.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/dbm.scm b/gnu/packages/dbm.scm
index c2abbec868..152a8824e1 100644
--- a/gnu/packages/dbm.scm
+++ b/gnu/packages/dbm.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2021 Leo Le Bouter 
 ;;; Copyright © 2021, 2022 Maxime Devos 
 ;;; Copyright © 2021 LuHui 
+;;; Copyright © 2024 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -89,6 +90,7 @@
#:out-of-source? #true
#:configure-flags
#~(list
+  "CFLAGS=-g -O2 -Wno-implicit-function-declaration"
   ;; Remove 7 MiB of .a files.
   "--disable-static"
 



branch core-packages-team updated: squash! DRAFT gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch core-packages-team
in repository guix.

The following commit(s) were added to refs/heads/core-packages-team by this 
push:
 new e12f971f5f squash! DRAFT gnu: gcc: Update gcc, gcc-toolchain, 
libgccjit to 14.
e12f971f5f is described below

commit e12f971f5f13a5e3a76e1057c3d46bfa81233350
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 19:03:03 2024 +0100

squash! DRAFT gnu: gcc: Update gcc, gcc-toolchain, libgccjit to 14.

* gnu/packages/gcc.scm (libgccjit): Update to libgccjit-14.

Change-Id: I899c50b7cac2901aef2c5e38a4bc8d348e9d64cf
---
 gnu/packages/gcc.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 9a7ca8f323..df7d2ece51 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -1260,7 +1260,7 @@ misnomer.")))
 
 ;; This must match the 'gcc' variable, but it must also be 'eq?' to one of the
 ;; libgccjit-* packages above.
-(define-public libgccjit libgccjit-11)
+(define-public libgccjit libgccjit-14)
 
 (define (make-gccgo gcc)
   "Return a gccgo package based on GCC."



branch master updated: gnu: Add perl-pdl.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

dannym pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
 new 06dfdaf80e gnu: Add perl-pdl.
06dfdaf80e is described below

commit 06dfdaf80e1edd185b48e3355d97757f5f309533
Author: Danny Milosavljevic 
AuthorDate: Wed Dec 11 23:38:15 2024 +0100

gnu: Add perl-pdl.

* gnu/packages (perl-pdl-2.019): New variable.

Change-Id: I608a1d59ee4dfebf9df45886c0a8bbf93bee4696
---
 gnu/packages/perl-maths.scm | 61 +
 1 file changed, 61 insertions(+)

diff --git a/gnu/packages/perl-maths.scm b/gnu/packages/perl-maths.scm
index b317e3c1cf..91164d1f27 100644
--- a/gnu/packages/perl-maths.scm
+++ b/gnu/packages/perl-maths.scm
@@ -21,6 +21,10 @@
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system perl)
+  #:use-module (gnu packages gcc)
+  #:use-module (gnu packages gd)
+  #:use-module (gnu packages gl)
+  #:use-module (gnu packages maths)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages perl-check))
 
@@ -69,3 +73,60 @@
 It implements the data type \"matrix of real numbers\" (and consequently also
 \"vector of real numbers\").")
 (license license:perl-license)))
+
+;; This is NOT compatible with perl-pdl-2.095
+(define-public perl-pdl-2.019
+  (package
+(name "perl-pdl")
+(version "2.019")
+(source
+ (origin
+   (method url-fetch)
+   (uri (string-append "https://www.cpan.org/modules/by-module/PDL/PDL-"; 
version
+   ".tar.gz"))
+   (sha256
+(base32 "1zkp5pm351qjr6sb3xivpxy5vjfl72ns0hb4dx5vpm8xvgp7p92i"
+(build-system perl-build-system)
+(arguments
+ `(#:phases
+   (modify-phases %standard-phases
+ (add-after 'unpack 'patch-includes
+   (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "perldl.conf"
+  (("WITH_BADVAL => 0") "WITH_BADVAL => 1")
+  (("WITH_GD => undef") "WITH_GD => true")
+  (("GD_INC => undef")
+   (string-append "GD_INC => '" (assoc-ref inputs "gd") 
"/include'"))
+  (("GD_LIB => undef")
+   (string-append "GD_LIB => '" (assoc-ref inputs "gd") "/lib'"))
+  (("WITH_GSL => undef") "WITH_GSL => true"
+ (add-before 'check 'prepare-check
+   (lambda _
+ ;; Set this for official CPAN releases of PDL.
+ (setenv "SKIP_KNOWN_PROBLEMS" "1")
+ (setenv "HOME" "/tmp"))
+(inputs (list gd gsl mesa glu))
+(native-inputs (list perl-devel-checklib
+ perl-extutils-depends
+ perl-extutils-f77
+ gfortran
+ perl-file-which
+ perl-pod-parser
+ perl-test-deep
+ perl-test-exception
+ perl-test-warn))
+(propagated-inputs (list perl-file-map
+ perl-file-which
+ perl-inline
+ perl-inline-c
+ perl-list-moreutils
+ perl-opengl
+ perl-pgplot
+ perl-pod-parser
+ perl-sys-sigaction
+ perl-termreadkey))
+(home-page "https://metacpan.org/release/PDL";)
+(synopsis "Perl Data Language")
+(description "This package provides a library and simple REPL for the
+Perl Data Language.")
+(license license:perl-license)))



branch master updated: gnu: Add python-mathicsscript.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

dannym pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
 new f168af92f7 gnu: Add python-mathicsscript.
f168af92f7 is described below

commit f168af92f771ff1c084441a99ba219a91599de4d
Author: Danny Milosavljevic 
AuthorDate: Thu Dec 12 00:03:24 2024 +0100

gnu: Add python-mathicsscript.

* gnu/packages/maths.scm (python-mathicsscript): New variable.

Change-Id: Id98fe33f3e6fdef5fcdc2ea58b2f71f396b9ea23
---
 gnu/packages/maths.scm | 34 ++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index ba03bf3209..810af1b18d 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -10575,3 +10575,37 @@ the Wolfram language.")
 to Wolfram.")
 (home-page "https://mathics.org/";)
 (license license:gpl3+)))
+
+(define-public python-mathicsscript
+  (package
+(name "python-mathicsscript")
+(version "7.0.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (pypi-uri "mathicsscript" version))
+   (sha256
+(base32 "15ppg8sj03j63664npdqiv1lfk2mqnrqjb5817zjyy04z9s0kp7l"
+(build-system pyproject-build-system)
+(arguments
+ `(#:phases
+   (modify-phases %standard-phases
+ (add-before 'check 'setenv
+   (lambda _
+ (setenv "HOME" "/tmp"))
+(propagated-inputs (list python-click
+ python-colorama
+ python-columnize
+ python-mathics-pygments
+ python-mathics-scanner
+ python-mathics-core
+ python-networkx
+ python-prompt-toolkit
+ python-pygments
+ python-term-background))
+(native-inputs (list python-pytest))
+(home-page "https://mathics.org/";)
+(synopsis "Command-line interface to Mathics3")
+(description "This package provides a command-line interface to
+Mathics3.")
+(license license:gpl3)))



branch core-packages-team updated: gnu: python-numpy: Update to 1.26.4; and build with gcc-14.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch core-packages-team
in repository guix.

The following commit(s) were added to refs/heads/core-packages-team by this 
push:
 new 3d3a70ead0 gnu: python-numpy: Update to 1.26.4; and  build with gcc-14.
3d3a70ead0 is described below

commit 3d3a70ead08bfe4431a712384d0390632e014aab
Author: Janneke Nieuwenhuizen 
AuthorDate: Wed Dec 11 21:36:22 2024 +0100

gnu: python-numpy: Update to 1.26.4; and  build with gcc-14.

* gnu/packages/patches/python-numpy-gcc-14.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/python-xyz.scm (python-numpy): Update to 1.26.4 and use it.
[arguments]: Add phase "setup-build-environment".  In phase "check", disable
more tests.
[native-inputs]: Add gcc-14 before gfortran so that gfortran's fenv.h 
include
doesn't win and break the build.

Change-Id: I63d3f1668c5b7a75161c1dc189c26635092c0b64
---
 gnu/local.mk   |  1 +
 gnu/packages/patches/python-numpy-gcc-14.patch | 14 +++
 gnu/packages/python-xyz.scm| 32 +-
 3 files changed, 41 insertions(+), 6 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index 873cede29f..3cd603559a 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1945,6 +1945,7 @@ dist_patch_DATA = 
\
   %D%/packages/patches/python-feedparser-missing-import.patch  \
   %D%/packages/patches/python-louvain-fix-test.patch   \
   %D%/packages/patches/python-matplotlib-fix-legend-loc-best-test.patch
\
+  %D%/packages/patches/python-numpy-gcc-14.patch   \
   %D%/packages/patches/python-random2-getrandbits-test.patch   \
   %D%/packages/patches/python-pillow-use-zlib-1.3.patch\
   %D%/packages/patches/python-pyreadstat-link-libiconv.patch   \
diff --git a/gnu/packages/patches/python-numpy-gcc-14.patch 
b/gnu/packages/patches/python-numpy-gcc-14.patch
new file mode 100644
index 00..1d022108c7
--- /dev/null
+++ b/gnu/packages/patches/python-numpy-gcc-14.patch
@@ -0,0 +1,14 @@
+Upstream status: Not presented upstream.
+
+--- numpy-1.26.4/numpy/core/src/common/half_private.hpp.orig   2024-12-11 
22:32:59.883085553 +0100
 numpy-1.26.4/numpy/core/src/common/half_private.hpp2024-12-11 
22:33:05.291112742 +0100
+@@ -1,6 +1,9 @@
+ #ifndef NUMPY_CORE_SRC_COMMON_HALF_PRIVATE_HPP
+ #define NUMPY_CORE_SRC_COMMON_HALF_PRIVATE_HPP
+ 
++int fetestexcept (int);
++int feclearexcept (int);
++int feraiseexcept (int);
+ #include "npstd.hpp"
+ #include "float_status.hpp"
+ 
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8a8c0a345c..c4a3c46fa6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8597,7 +8597,7 @@ writing C extensions for Python as easy as Python 
itself.")
 (define-public python-numpy
   (package
 (name "python-numpy")
-(version "1.23.2")
+(version "1.26.4")
 (source
  (origin
(method url-fetch)
@@ -8606,7 +8606,8 @@ writing C extensions for Python as easy as Python 
itself.")
  version "/numpy-" version ".tar.gz"))
(sha256
 (base32
- "00bx3idjwhmzkdawg2dx1bp0316ig37jfx0dm82bvyv1hbj013dp"
+ "0410j6jfz1yzm5s0v0yrc1j0q6ih4322357and7arr0jxnlsn0ia"))
+   (patches (search-patches "python-numpy-gcc-14.patch"
 (build-system python-build-system)
 (arguments
  (list
@@ -8615,6 +8616,10 @@ writing C extensions for Python as easy as Python 
itself.")
   (ice-9 format))
   #:phases
   #~(modify-phases %standard-phases
+  (add-before 'build 'setup-build-environment
+(lambda _
+  (setenv "CFLAGS"
+  "-g -O2 -Wno-error=implicit-function-declaration")))
   (add-before 'build 'parallelize-build
 (lambda _
   (setenv "NPY_NUM_BUILD_JOBS"
@@ -8676,16 +8681,31 @@ include_dirs = ~:*~a/include~%"
   ;; These tests seem to fail on machines without
   ;; an FPU is still under investigation upstream.
   ;; https://github.com/numpy/numpy/issues/20635
-  #$@(if (target-riscv64?)
-   `(" and not test_float"
- " and not test_fpclass")
-   '())
+  ;; They also fail with gcc-14
+  " and not test_float"
+  " and not test_fpclass"
+
+  ;; These tests fail with gcc-14
+  " and not test_context_locality"
+  " and not test_cosh"
+  " and not test_default_policy_singleton"
+

03/04: gnu: torbrowser: Update to 14.0.3 [security-fixes].

2024-12-11 Thread guix-commits
hako pushed a commit to branch master
in repository guix.

commit 11a5804e3ecb7cac8151d14f02ab2b2b3b750f8e
Author: André Batista 
AuthorDate: Sun Dec 1 13:07:29 2024 -0300

gnu: torbrowser: Update to 14.0.3 [security-fixes].

Fixes CVEs 2024-10458, 2024-10459, 2024-10460, 2024-10461, 2024-10462,
2024-10463, 2024-10464, 2024-10465, 2024-10466, 2024-10467, 2024-11691,
2024-11692, 2024-11693, 2024-11694, 2024-11695, 2024-11696, 2024-11697,
2024-11698 and 2024-11699.  See
 and
 for
details.

* gnu/packages/patches/torbrowser-compare-paths.patch: New file.
* gnu/local.mk (dist_patch_DATA): Regisiter it.
* gnu/packages/tor-browsers.scm (firefox-locales): Update to
f75c1e6a305e68161037337767ece88e9de940b9.
(%torbrowser-build-date): Update to 20241125154204.
(%torbrowser-version): Update to 14.0.3.
(%torbrowser-firefox-version): Update to 128.5.0esr-14.0-1-build2.
(torbrowser-translation-base): Update to
caa431bbea1a76d7ad61eeda94086a1513762605.
(torbrowser-translation-specific): Update to
4314d0a7ce780ffdf82b84e324bfbc437198f993.
(make-torbrowser) [arguments] <#:phases>: On 'apply-guix-specific-patches
change icecat-compare-paths.patch to torbrowser-compare-paths.patch as
the patched file has changed its name between major versions.
On 'remove-cargo-frozen-flag, update the regex to match this newer version
string.

Change-Id: Ia5d445e387351b3d5d08ecb14c2f31bf4cc81396
Signed-off-by: Hilton Chain 
---
 gnu/local.mk   |  1 +
 .../patches/torbrowser-compare-paths.patch | 24 
 gnu/packages/tor-browsers.scm  | 26 +++---
 3 files changed, 38 insertions(+), 13 deletions(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index f1300a5ef5..e149b0e9c4 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2260,6 +2260,7 @@ dist_patch_DATA = 
\
   %D%/packages/patches/torcs-glibc-default-source.patch\
   %D%/packages/patches/torcs-isnan.patch   \
   %D%/packages/patches/torcs-nullptr.patch \
+  %D%/packages/patches/torbrowser-compare-paths.patch   \
   %D%/packages/patches/tpetra-remove-duplicate-using.patch \
   %D%/packages/patches/transcode-ffmpeg.patch  \
   %D%/packages/patches/transmission-4.0.6-fix-build.patch  \
diff --git a/gnu/packages/patches/torbrowser-compare-paths.patch 
b/gnu/packages/patches/torbrowser-compare-paths.patch
new file mode 100644
index 00..7d4d5fdb78
--- /dev/null
+++ b/gnu/packages/patches/torbrowser-compare-paths.patch
@@ -0,0 +1,24 @@
+See comment in gnu/build/icecat-extension.scm.
+This is only needed while icecat and torbrowser remain on
+different ESR versions as the patched file has changed its
+name.
+
+--- a/toolkit/mozapps/extensions/internal/XPIDatabase.sys.mjs
 b/toolkit/mozapps/extensions/internal/XPIDatabase.sys.mjs
+@@ -3606,6 +3606,7 @@
+ if (
+   newAddon ||
+   oldAddon.updateDate != xpiState.mtime ||
++  oldAddon.path != xpiState.path ||
+   (aUpdateCompatibility && this.isAppBundledLocation(installLocation))
+ ) {
+   newAddon = this.updateMetadata(
+@@ -3614,8 +3615,6 @@
+ xpiState,
+ newAddon
+   );
+-} else if (oldAddon.path != xpiState.path) {
+-  newAddon = this.updatePath(installLocation, oldAddon, xpiState);
+ } else if (aUpdateCompatibility || aSchemaChange) {
+   newAddon = this.updateCompatibility(
+ installLocation,
diff --git a/gnu/packages/tor-browsers.scm b/gnu/packages/tor-browsers.scm
index 3d74a32e8f..c0f1972b30 100644
--- a/gnu/packages/tor-browsers.scm
+++ b/gnu/packages/tor-browsers.scm
@@ -92,7 +92,7 @@
 
 ;; See browser/locales/l10n-changesets.json for the commit.
 (define firefox-locales
-  (let ((commit "d8d587117c7b9dcc6a4fbc38407ed2c831bb008f")
+  (let ((commit "f75c1e6a305e68161037337767ece88e9de940b9")
 (revision "0"))
 (package
   (name "firefox-locales")
@@ -106,7 +106,7 @@
   (file-name (git-file-name name version))
   (sha256
(base32
-"0a2ly29lli02jflqw78zjk7bp7h18fz935cc9csavi0cpdiixjv1"
+"0ybi3n9mw9wnbi8dv01dllpvcdfwjmyn4q6njzhn8vg7jkmpha2s"
   (build-system copy-build-system)
   (home-page "https://github.com/mozilla-l10n/firefox-l10n";)
   (synopsis "Firefox Locales")
@@ -116,16 +116,16 @@ Firefox locales.")
 
 ;; We copy the official build id, which is defined at
 ;; tor-browser-build/rbm.conf (browser_release_date).
-(define %torbrowser-build-date "20241008182800")
+(define %torbrowser-build-date "20241125154204")
 
 ;; To find the last version, look at https://www.torproject.org/download/.
-(define %torbrowser-version "13.5.7")
+(defi

02/04: gnu: ublock-origin: Update to 1.61.0.

2024-12-11 Thread guix-commits
hako pushed a commit to branch master
in repository guix.

commit 8d043d84084a2dd32a5c4fb0c685656517141c7a
Author: André Batista 
AuthorDate: Sun Dec 1 13:04:01 2024 -0300

gnu: ublock-origin: Update to 1.61.0.

* gnu/packages/browser-extensions.scm (ublock-origin): Update to 1.61.0.
(ublock-main-assets): Update to bfbafa49f72d078fd1126033be1d4434ca6d5009.
(ublock-prod-assets): Update to 873eb22777b9a951e64d6453048bec9291db2ed7.

Change-Id: I605528caa5ab5e237e61f7c040502a8b0d7038a1
Signed-off-by: Hilton Chain 
---
 gnu/packages/browser-extensions.scm | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/browser-extensions.scm 
b/gnu/packages/browser-extensions.scm
index 79046d1f7c..3c5a03a99a 100644
--- a/gnu/packages/browser-extensions.scm
+++ b/gnu/packages/browser-extensions.scm
@@ -58,7 +58,7 @@ supported content to the Kodi media center.")
   ;; Arbitrary commit of branch master,
   ;; Update when updating uBlockOrigin.
   (let* ((name "ublock-main-assets")
- (commit "f44ac328b718bab3118f759880128fe420afb906")
+ (commit "bfbafa49f72d078fd1126033be1d4434ca6d5009")
  (revision "2")
  (version (git-version "0" revision commit)))
 (origin
@@ -68,13 +68,13 @@ supported content to the Kodi media center.")
 (commit commit)))
   (file-name (git-file-name name version))
   (sha256
-   (base32 "06rglm8fl44aazpdpc9616fncfbkqy0hj945afrkihpk3fpwgxjy")
+   (base32 "0m7v8qjs941g2pr1b50vxa68g9psv2vvxzfz43iyfmv3gyypdh59")
 
 (define ublock-prod-assets
   ;; Arbitrary commit of branch gh-pages,
   ;; Update when updating uBlockOrigin.
   (let* ((name "ublock-prod-assets")
- (commit "a1409d83d46d49b6cd5c40ec956cc7acdff481ef")
+ (commit "873eb22777b9a951e64d6453048bec9291db2ed7")
  (revision "2")
  (version (git-version "0" revision commit)))
 (origin
@@ -84,12 +84,12 @@ supported content to the Kodi media center.")
 (commit commit)))
   (file-name (git-file-name name version))
   (sha256
-   (base32 "07ih6gxnv3q3cbxlaw9yk4l08v4qli3wri9rgfb6ick2wd4xp89d")
+   (base32 "1p3ajvqsvpc3nkh2zjrx6g12fbismc18d0wskva4ifl0ckx521rj")
 
 (define ublock-origin
   (package
 (name "ublock-origin")
-(version "1.59.0")
+(version "1.61.0")
 (home-page "https://github.com/gorhill/uBlock";)
 (source (origin
   (method git-fetch)
@@ -99,7 +99,7 @@ supported content to the Kodi media center.")
   (file-name (git-file-name name version))
   (sha256
(base32
-"0d050fbfpja3hw0ap09bdlnqnr3vbwsjmkrpdkdp4861x8y5gbsf"
+"0iikd3l02nd0lgns33i95fzi7xh4hwzkng5r14lk0cmmr97phn6y"
 (build-system gnu-build-system)
 (outputs '("xpi" "firefox" "chromium"))
 (properties '((addon-id . "ublo...@raymondhill.net")))



04/04: gnu: mullvadbrowser: Update to 14.0.3 [security fixes].

2024-12-11 Thread guix-commits
hako pushed a commit to branch master
in repository guix.

commit c2e2b0376b82a503e064fa826d1b153d94bf0b06
Author: André Batista 
AuthorDate: Sun Dec 1 13:08:19 2024 -0300

gnu: mullvadbrowser: Update to 14.0.3 [security fixes].

Fixes CVE 2024-9680, 2024-10458, 2024-10459, 2024-10460, 2024-10461,
2024-10462, 2024-10463, 2024-10464, 2024-10465, 2024-10466, 2024-10467,
2024-11691, 2024-11692, 2024-11693, 2024-11694, 2024-11695, 2024-11696,
2024-11697, 2024-11698 and 2024-11699. See the Mozilla Foundation
Security Advisories
,
 and
 for
details.

* gnu/packages/tor-browsers.scm (%mullvadbrowser-build-date): Update to
20241125154204.
(%mullvadbrowser-version): Update to 14.0.3.
(%mullvadbrowser-firefox-version): Update to 128.5.0esr-14.0-1-build2.
(mullvadbrowser-translation-base): Update to
caa431bbea1a76d7ad61eeda94086a1513762605.
(mullvadbrowser-translation-specific): Update to
2f7d98b46ce480cdb4d7e9ddab912650c8673d6c.

Change-Id: Ia5d445e387351b3d5d08ecb14c2f31bf4cc81396
Signed-off-by: Hilton Chain 
---
 gnu/packages/tor-browsers.scm | 18 +-
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/tor-browsers.scm b/gnu/packages/tor-browsers.scm
index c0f1972b30..eef183a63f 100644
--- a/gnu/packages/tor-browsers.scm
+++ b/gnu/packages/tor-browsers.scm
@@ -819,17 +819,17 @@ attacks on the privacy of Tor users.")
 
 ;; We copy the official build id, which can be found there:
 ;; https://cdn.mullvad.net/browser/update_responses/update_1/release.
-(define %mullvadbrowser-build-date "20240930230510")
+(define %mullvadbrowser-build-date "20241125154204")
 
 ;; To find the last version, look at
 ;; https://mullvad.net/en/download/browser/linux.
-(define %mullvadbrowser-version "13.5.6")
+(define %mullvadbrowser-version "14.0.3")
 
 ;; To find the last Firefox version, browse
 ;; 
https://archive.torproject.org/tor-package-archive/mullvadbrowser/<%mullvadbrowser-version>
 ;; There should be only one archive that starts with
 ;; "src-firefox-mullvad-browser-".
-(define %mullvadbrowser-firefox-version "115.16.0esr-13.5-1-build2")
+(define %mullvadbrowser-firefox-version "128.5.0esr-14.0-1-build2")
 
 ;; See tor-browser-build/projects/translation/config.
 (define mullvadbrowser-translation-base
@@ -837,11 +837,11 @@ attacks on the privacy of Tor users.")
 (method git-fetch)
 (uri (git-reference
   (url "https://gitlab.torproject.org/tpo/translation.git";)
-  (commit "a142f78af87f994913faa15fb4b0f34f0ce1a22b")))
+  (commit "caa431bbea1a76d7ad61eeda94086a1513762605")))
 (file-name "translation-base-browser")
 (sha256
  (base32
-  "15ahsyji6fk236sb28vqpi7ai70r3qblfypmc7r781zq7nw8f9bs"
+  "0zdkcykzh8m1rv6valx0mk6yvh2q4jrj2qxk0frh7nwxwc509b5c"
 
 ;; See tor-browser-build/projects/translation/config.
 (define mullvadbrowser-translation-specific
@@ -849,11 +849,11 @@ attacks on the privacy of Tor users.")
 (method git-fetch)
 (uri (git-reference
   (url "https://gitlab.torproject.org/tpo/translation.git";)
-  (commit "78212a3da2439e436ac5f73d8e3eb908145c3ece")))
+  (commit "2f7d98b46ce480cdb4d7e9ddab912650c8673d6c")))
 (file-name "translation-mullvad-browser")
 (sha256
  (base32
-  "00qmmfz7lz9fw7id7bj89byd4zd39nc4f2plf0v640yzl8fdwi72"
+  "08anwb45rxzsdcxwzjflqb1d0f78pi4fsgdvsdlc4fmp8kx10nsd"
 
 (define mullvadbrowser-assets
   ;; This is a prebuilt Mullvad Browser from which we take the assets we need.
@@ -869,7 +869,7 @@ attacks on the privacy of Tor users.")
  version "/mullvad-browser-linux-x86_64-" version ".tar.xz"))
(sha256
 (base32
- "0q55mk9zzzs7g2cng107gm16g74lx1qf42gf5ayh4x7caxc8db01"
+ "0jh35vsnyqjg6hhwdlw11pq7i1awr6fy8chgr2w0wnrzm91vvzia"
 (arguments
  (list
   #:install-plan
@@ -912,7 +912,7 @@ Mullvad Browser.")
  %mullvadbrowser-firefox-version ".tar.xz"))
(sha256
 (base32
- "1mkssnr7vx4la4r31dy6fbwvj1h9gxzywwxa6z4310nr17vr3sxj"
+ "01mm8kxza5rfl4f78xb8n9x7y0p6mm205pxhqrvds0yyj3jvclsb"
 (arguments
  (substitute-keyword-arguments (package-arguments mullvadbrowser-base)
((#:phases phases)



01/04: gnu: noscript: Update to 11.5.2

2024-12-11 Thread guix-commits
hako pushed a commit to branch master
in repository guix.

commit 52d7fcc2b2095b022a66601badbcd7065ce02a89
Author: André Batista 
AuthorDate: Sun Dec 1 13:01:49 2024 -0300

gnu: noscript: Update to 11.5.2

* gnu/packages/browser-extensions.scm (noscript): Update to 11.5.2.

Change-Id: I1c3bb1ca1aa6f31dac31cbb7c5ca5a155ec8c1d0
Signed-off-by: Hilton Chain 
---
 gnu/packages/browser-extensions.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/browser-extensions.scm 
b/gnu/packages/browser-extensions.scm
index 47505eb3c8..79046d1f7c 100644
--- a/gnu/packages/browser-extensions.scm
+++ b/gnu/packages/browser-extensions.scm
@@ -256,7 +256,7 @@ with the @uref{https://keepassxc.org, KeePassXC} password 
manager.")
 (define noscript
   (package
 (name "noscript")
-(version "11.4.40")
+(version "11.5.2")
 (source (origin
   (method url-fetch/zipbomb)
   (uri (string-append
@@ -264,7 +264,7 @@ with the @uref{https://keepassxc.org, KeePassXC} password 
manager.")
 ".xpi"))
   (sha256
(base32
-"1cmvmplr49pf79j5rp3cfkd9gg4aw2z2q1hk19473n2rc51asbi4"
+"0fj96c9pnjyg2dwqnnzd64vnx1inhl72c27ybm0j515zhijal2j6"
 (build-system copy-build-system)
 (properties '((addon-id . "{73a6fe31-595d-460b-a920-fcc0f8843232}")))
 (arguments



branch master updated (6f8c8a86d8 -> c2e2b0376b)

2024-12-11 Thread guix-commits
hako pushed a change to branch master
in repository guix.

from 6f8c8a86d8 gnu: Fix synopsis in miscelaneous packages.
 new 52d7fcc2b2 gnu: noscript: Update to 11.5.2
 new 8d043d8408 gnu: ublock-origin: Update to 1.61.0.
 new 11a5804e3e gnu: torbrowser: Update to 14.0.3 [security-fixes].
 new c2e2b0376b gnu: mullvadbrowser: Update to 14.0.3 [security fixes].

The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/local.mk   |  1 +
 gnu/packages/browser-extensions.scm| 16 
 ...-paths.patch => torbrowser-compare-paths.patch} | 11 --
 gnu/packages/tor-browsers.scm  | 44 +++---
 4 files changed, 38 insertions(+), 34 deletions(-)
 copy gnu/packages/patches/{icecat-compare-paths.patch => 
torbrowser-compare-paths.patch} (66%)



branch master updated: gnu: python-mathics-core: Fix license.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

dannym pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
 new 76fd21e0e8 gnu: python-mathics-core: Fix license.
76fd21e0e8 is described below

commit 76fd21e0e8b12e92e8150649335d9d91704ea4a5
Author: Danny Milosavljevic 
AuthorDate: Thu Dec 12 00:05:16 2024 +0100

gnu: python-mathics-core: Fix license.

* gnu/packages/maths.scm (python-mathics-core)[license]: Change to gpl3.

Change-Id: Ic48b004f5fd429ddf99c34d5ba891736f9ffafd6
---
 gnu/packages/maths.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 810af1b18d..d244f1c1e1 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -10574,7 +10574,7 @@ the Wolfram language.")
 (description "This package provides a computer algebra system--an 
alternative
 to Wolfram.")
 (home-page "https://mathics.org/";)
-(license license:gpl3+)))
+(license license:gpl3)))
 
 (define-public python-mathicsscript
   (package



01/02: gnu: python-networkx: Update to 3.4.2.

2024-12-11 Thread guix-commits
dannym pushed a commit to branch master
in repository guix.

commit 942dd1700dcc8bfc45baa1c29357c7977e03c763
Author: Danny Milosavljevic 
AuthorDate: Thu Dec 12 00:28:48 2024 +0100

gnu: python-networkx: Update to 3.4.2.

* gnu/packages/python-xyz.scm (python-networkx-next): New variable.

Change-Id: I59d3883f13ef60b92bd5892edf89b09defdd8845
---
 gnu/packages/python-xyz.scm | 12 
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e91f4156f2..a999748d90 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13520,6 +13520,18 @@ interfaces in an easy and portable manner.")
 of the structure, dynamics, and functions of complex networks.")
 (license license:bsd-3)))
 
+(define-public python-networkx-next
+  (package
+(inherit python-networkx)
+(name "python-networkx")
+(version "3.4.2")
+(source
+ (origin
+   (method url-fetch)
+   (uri (pypi-uri "networkx" version))
+   (sha256
+(base32 "1qaks3c3h5qlw25z949q3plw8iwgm9h152kwnam64lwc89lkcz1h"
+(build-system pyproject-build-system)))
 
 (define-public python-datrie
   (package



branch master updated (76fd21e0e8 -> 8b65fdc182)

2024-12-11 Thread guix-commits
dannym pushed a change to branch master
in repository guix.

from 76fd21e0e8 gnu: python-mathics-core: Fix license.
 new 942dd1700d gnu: python-networkx: Update to 3.4.2.
 new 8b65fdc182 gnu: Add python-mathics-django.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/maths.scm  | 33 +
 gnu/packages/python-xyz.scm | 12 
 2 files changed, 45 insertions(+)



branch core-packages-team updated: squash! gnu: python-numpy: Update to 1.26.4; and build with gcc-14. -- typo

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch core-packages-team
in repository guix.

The following commit(s) were added to refs/heads/core-packages-team by this 
push:
 new f33c68a422 squash! gnu: python-numpy: Update to 1.26.4; and build with 
gcc-14. -- typo
f33c68a422 is described below

commit f33c68a42211fbebf69ff501609fc9ab81439a11
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Dec 12 00:13:40 2024 +0100

squash! gnu: python-numpy: Update to 1.26.4; and build with gcc-14. -- typo

Change-Id: I9cd1c010ff81853f98ab5c3c9d9a205f06e88a95



02/02: gnu: Add python-mathics-django.

2024-12-11 Thread guix-commits
dannym pushed a commit to branch master
in repository guix.

commit 8b65fdc182e7340946be8b1e7b688d03b96c3482
Author: Danny Milosavljevic 
AuthorDate: Thu Dec 12 00:30:09 2024 +0100

gnu: Add python-mathics-django.

* gnu/packages/maths.scm (python-mathics-django): New variable.

Change-Id: I9f928a13e07f4fc680a6d0e3e965a72d45d7d80c
---
 gnu/packages/maths.scm | 33 +
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index d244f1c1e1..60203f82a9 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -125,6 +125,7 @@
   #:use-module (gnu packages datamash)
   #:use-module (gnu packages dbm)
   #:use-module (gnu packages documentation)
+  #:use-module (gnu packages django)
   #:use-module (gnu packages elf)
   #:use-module (gnu packages emacs)
   #:use-module (gnu packages file)
@@ -10609,3 +10610,35 @@ to Wolfram.")
 (description "This package provides a command-line interface to
 Mathics3.")
 (license license:gpl3)))
+
+(define-public python-mathics-django
+  (package
+(name "python-mathics-django")
+(version "7.0.0")
+(source
+ (origin
+   (method url-fetch)
+   (uri (pypi-uri "Mathics-Django" version))
+   (sha256
+(base32 "02ccq0kx9i9b339p48j6xixr5wqj58dp8rhcik07b7vrfvznnxdi"
+(build-system pyproject-build-system)
+(arguments
+ `(#:phases
+   (modify-phases %standard-phases
+ (delete 'check)
+ (add-after 'build 'check
+   (lambda _
+ (setenv "PYTHONPATH" (getcwd))
+ (setenv "DJANGO_SETTINGS_MODULE" "mathics_django.settings")
+ (invoke "django-admin" "test"))
+(native-inputs (list python-pytest))
+(propagated-inputs (list python-django-4.2
+ python-mathics-scanner
+ python-mathics-core
+ python-networkx-next
+ python-pygments
+ python-requests))
+(home-page "https://mathics.org/";)
+(synopsis "A Django front end for Mathics3.")
+(description "This package provides a Django front end for Mathics3.")
+(license license:gpl3)))



branch core-packages-team updated: gnu: talloc: Update to 2.4.2; fixes build with gcc-14.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch core-packages-team
in repository guix.

The following commit(s) were added to refs/heads/core-packages-team by this 
push:
 new 4ff0f20859 gnu: talloc: Update to 2.4.2; fixes build with gcc-14.
4ff0f20859 is described below

commit 4ff0f20859d9d54c74635096390f59494acf6315
Author: Janneke Nieuwenhuizen 
AuthorDate: Thu Dec 12 08:49:02 2024 +0100

gnu: talloc: Update to 2.4.2; fixes build with gcc-14.

* gnu/packages/samba.scm (talloc): Update to 2.4.2.

Change-Id: I63d3f1668c5b7a75161c1dc189c26635092c0b64
---
 gnu/packages/samba.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/samba.scm b/gnu/packages/samba.scm
index 1c139a7671..1fe49da584 100644
--- a/gnu/packages/samba.scm
+++ b/gnu/packages/samba.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2022 Guillaume Le Vaillant 
 ;;; Copyright © 2022 Maxime Devos 
 ;;; Copyright © 2022 Simon Streit 
+;;; Copyright © 2024 Janneke Nieuwenhuizen 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -310,14 +311,14 @@ Desktops into Active Directory environments using the 
winbind daemon.")
 (define-public talloc
   (package
 (name "talloc")
-(version "2.3.4")
+(version "2.4.2")
 (source (origin
   (method url-fetch)
   (uri (string-append "https://www.samba.org/ftp/talloc/talloc-";
   version ".tar.gz"))
   (sha256
(base32
-"01b5pq39z1l26f86dy8jqb37fsjbvsvx5ji65jmy8rsy4sz9x7qp"
+"19nqn6lygdwpfvc5g8jzany20hz126jfjlhajpwrh3z2cpjgkv45"
 (build-system gnu-build-system)
 (arguments
  '(#:phases



02/02: gnu: rust-swc: Fix build.

2024-12-11 Thread guix-commits
dannym pushed a commit to branch master
in repository guix.

commit a28a8661a65470743c47c6303991e19f4e214bad
Author: Danny Milosavljevic 
AuthorDate: Thu Dec 12 06:31:36 2024 +0100

gnu: rust-swc: Fix build.

* gnu/packages/rust-apps.scm (rust-swc): Fix build.

Change-Id: I06106439e7df8112075880081c3b444d84ecccf1
---
 gnu/packages/rust-apps.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 0de04126b4..468468bd3c 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -2302,6 +2302,7 @@ touchscreen devices.")
 ("rust-parking-lot" ,rust-parking-lot-0.7)
 ("rust-parking-lot-core" ,rust-parking-lot-core-0.8)
 ("rust-path-clean" ,rust-path-clean-0.1)
+("rust-pathdiff" ,rust-pathdiff-0.2)
 ("rust-paw" ,rust-paw-1)
 ("rust-petgraph" ,rust-petgraph-0.5)
 ("rust-phf" ,rust-phf-0.8)



branch master updated (8b65fdc182 -> a28a8661a6)

2024-12-11 Thread guix-commits
dannym pushed a change to branch master
in repository guix.

from 8b65fdc182 gnu: Add python-mathics-django.
 new 978305639e gnu: python-mathics-core: Add docs.
 new a28a8661a6 gnu: rust-swc: Fix build.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 gnu/packages/maths.scm | 57 ++
 gnu/packages/plotutils.scm |  4 ++--
 gnu/packages/rust-apps.scm |  1 +
 3 files changed, 56 insertions(+), 6 deletions(-)



01/02: gnu: python-mathics-core: Add docs.

2024-12-11 Thread guix-commits
dannym pushed a commit to branch master
in repository guix.

commit 978305639e3c930a539ddd2018bc061716ed8b55
Author: Danny Milosavljevic 
AuthorDate: Thu Dec 12 00:56:47 2024 +0100

gnu: python-mathics-core: Add docs.

* gnu/packages/plotutils.scm (asymptote): Install files where latex will 
find them.
* gnu/packages/maths.scm (python-mathics-core): Add docs.

Change-Id: Id2dac5f9b4b3bdcfbb751a94263261fb69edb461
---
 gnu/packages/maths.scm | 57 ++
 gnu/packages/plotutils.scm |  4 ++--
 2 files changed, 55 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 60203f82a9..ec2e43c737 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -124,13 +124,14 @@
   #:use-module (gnu packages cpp)
   #:use-module (gnu packages datamash)
   #:use-module (gnu packages dbm)
-  #:use-module (gnu packages documentation)
   #:use-module (gnu packages django)
+  #:use-module (gnu packages documentation)
   #:use-module (gnu packages elf)
   #:use-module (gnu packages emacs)
   #:use-module (gnu packages file)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages fltk)
+  #:use-module (gnu packages fonts)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
@@ -152,6 +153,7 @@
   #:use-module (gnu packages llvm)
   #:use-module (gnu packages logging)
   #:use-module (gnu packages lua)
+  #:use-module (gnu packages plotutils)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages xorg)
@@ -10537,6 +10539,7 @@ the Wolfram language.")
   (sha256
(base32
 "0hhk2qq6swnprf9hliazwi3858sv3b3015g0mnm4ycdk5fsc7y57"
+(outputs '("out" "doc"))
 (arguments
  `(;;  is missing .closed
#:test-flags '("-s")
@@ -10544,6 +10547,11 @@ the Wolfram language.")
(modify-phases %standard-phases
  (add-after 'unpack 'patch-bugs
(lambda _
+ (substitute* "mathics/doc/latex_doc.py"
+  (("^NUMBER_RE = .*")
+   ;; Prevent a match of "-7.0.0" (version number)
+   ; X"NUMBER_RE = re.compile(r\"([ 
-])(\d*(?https://raw.githubusercontent.com/Mathics3/mathics-core/master/README.rst";)
-   (string-append (getcwd) "/README.rst")
+   (string-append (getcwd) "/README.rst")))
+ (substitute* "mathics/docpipeline.py"
+  ;; Undefined.
+  (("test_parameters[.]doc_even_if_error") "False"
+ ;; TODO: make latexdoc ; (cd mathics/doc/latex && $(MAKE) doc)
+ (add-after 'install 'build-docs
+   (lambda* (#:key inputs outputs #:allow-other-keys)
+ ; Would fuck up LOCAL_ROOT_DIR: (add-installed-pythonpath inputs 
outputs)
+ (setenv "PYTHONPATH" (getcwd))
+ (substitute* "mathics/settings.py"
+   (("^(ROOT_DIR = .*)" _ a) (string-append a "\nimport 
sys\nprint('XXROOT_DIR', ROOT_DIR, sys.stderr)\n")))
+ (setenv "HOME" "/tmp")
+ (mkdir-p "/tmp/.local/var/mathics")
+ (setenv "BASH" (which "bash"))
+ (invoke "make" "latexdoc")
+ ;; TODO: The other files.
+ (install-file "mathics/doc/latex/mathics-title.pdf"
+  (string-append (assoc-ref outputs "doc") "/share/doc/mathics"
  (add-before 'check 'prepare-locales
(lambda _
  ;; Otherwise 210 tests fail because the real output would use
  ;; unicode arrow characters.  With this, only 18 (symbolic) tests 
fail.
  (setenv "MATHICS_CHARACTER_ENCODING" "ASCII"))
 (build-system pyproject-build-system)
-(native-inputs (list python-pytest))
-(inputs (list llvm))
+(native-inputs (list python-pytest
+ texlive-xetex
+ font-latin-modern
+ (texlive-updmap.cfg
+  (list asymptote
+texlive-latexmk
+texlive-koma-script
+texlive-gensymb
+texlive-newpx
+texlive-xstring
+texlive-kastrup
+texlive-preprint
+texlive-listings
+texlive-paralist
+texlive-breqn
+texlive-environ
+texlive-colophon
+texlive-minitoc
+texlive-mlmodern
+texlive-palatino
+texlive-mathpazo
+texlive-pagella-otf
+   

branch master updated: gnu: texmacs: Add qtwayland-5.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

dannym pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
 new 1b319a7e30 gnu: texmacs: Add qtwayland-5.
1b319a7e30 is described below

commit 1b319a7e3056de47e5eb5702c73554392b8c474a
Author: Danny Milosavljevic 
AuthorDate: Thu Dec 12 06:39:34 2024 +0100

gnu: texmacs: Add qtwayland-5.

* gnu/packages/text-editors.scm (texmacs)[inputs]: Add qtwayland-5.
(texmacs-guile3)[inputs]: Add qtwayland-5.
(mogan)[inputs]: Add qtwayland-5.

Change-Id: Ia5cebcff38059533c7add3bcc3c764cb5df1816e
---
 gnu/packages/text-editors.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index 683a588495..f356c306dd 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -1098,6 +1098,7 @@ editors.")
python-wrapper
qtbase-5
qtsvg-5
+   qtwayland-5
sqlite))
 (arguments
  (list
@@ -1148,6 +1149,7 @@ Octave.  TeXmacs is completely extensible via Guile.")
python-wrapper
qtbase-5
qtsvg-5
+   qtwayland-5
sqlite
 
 (define-public mogan



branch wip-zig-bootstrap updated: gnu: zig-0.10.0-675: Fix architecture detection on powerpc64le-linux.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch wip-zig-bootstrap
in repository guix.

The following commit(s) were added to refs/heads/wip-zig-bootstrap by this push:
 new 565c932ab8 gnu: zig-0.10.0-675: Fix architecture detection on 
powerpc64le-linux.
565c932ab8 is described below

commit 565c932ab8ed44d5b577e801677e9824260a9d52
Author: Efraim Flashner 
AuthorDate: Thu Dec 12 09:19:24 2024 +0200

gnu: zig-0.10.0-675: Fix architecture detection on powerpc64le-linux.

* gnu/packages/zig.scm (zig-0.10.0-675)[arguments]: When building for
powerpc64le-linux add a phase to help cmake and zig agree on the name of
the architecture.

Change-Id: Ib05050d7e499b4336a01a140c73fb6c8bb450bd6
---
 gnu/packages/zig.scm | 23 ++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/zig.scm b/gnu/packages/zig.scm
index df7dcd3816..06c7d26d3f 100644
--- a/gnu/packages/zig.scm
+++ b/gnu/packages/zig.scm
@@ -2,7 +2,7 @@
 ;;; Copyright © 2021 Liliana Marie Prikler 
 ;;; Copyright © 2021 Sarah Morgensen 
 ;;; Copyright © 2021 Calum Irwin 
-;;; Copyright © 2022, 2023 Efraim Flashner 
+;;; Copyright © 2022-2024 Efraim Flashner 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -439,6 +439,27 @@ toolchain.  Among other features it provides
(substitute-keyword-arguments (package-arguments base)
  ((#:phases phases '%standard-phases)
   #~(modify-phases #$phases
+  #$@(if (target-ppc64le?)
+ ;; CMake and zig disagree about the name of the 
architecture.
+ #~((add-after 'unpack 'fix-cmake-processor-detection
+  (lambda _
+(substitute* "CMakeLists.txt"
+  ;; Starting from 0.10.0-574
+  (("elseif\\(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL 
\"arm64\"\\)" all)
+   (string-append
+ "elseif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL 
\"ppc64le\")\n"
+ "  set(HOST_TARGET_ARCH \"powerpc64le\")\n" 
all))
+  ;; Starting from 0.10.0-1081
+  (("elseif\\(HOST_TARGET_ARCH STREQUAL 
\"arm64\"\\)" all)
+   (string-append
+ "elseif(HOST_TARGET_ARCH STREQUAL 
\"ppc64le\")\n"
+ "  set(HOST_TARGET_ARCH \"powerpc64le\")\n" 
all))
+  ;; Starting from 0.10.0-3937
+  (("elseif\\(ZIG_HOST_TARGET_ARCH STREQUAL 
\"arm64\"\\)" all)
+   (string-append
+ "elseif(ZIG_HOST_TARGET_ARCH STREQUAL 
\"ppc64le\")\n"
+ "  set(ZIG_HOST_TARGET_ARCH 
\"powerpc64le\")\n" all))
+ #~())
   (replace 'prepare-source
 (lambda* (#:key native-inputs inputs #:allow-other-keys)
   (install-file (search-input-file



branch master updated: gnu: texmacs: Make it find qtwayland plugin at runtime.

2024-12-11 Thread guix-commits
This is an automated email from the git hooks/post-receive script.

dannym pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
 new 3d3556ace0 gnu: texmacs: Make it find qtwayland plugin at runtime.
3d3556ace0 is described below

commit 3d3556ace06571f60ff9ffd23c5cf2bf75ca1321
Author: Danny Milosavljevic 
AuthorDate: Thu Dec 12 07:17:22 2024 +0100

gnu: texmacs: Make it find qtwayland plugin at runtime.

* gnu/packages/text-editors.scm (texmacs)[build-system]: Change to 
qt-build-system.
(texmacs-guile3)[build-system]: Change to qt-build-system.

Change-Id: Ic7b2af22d146f757a54c3ee6d56969493a561aab
---
 gnu/packages/text-editors.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm
index f356c306dd..4d53c7a530 100644
--- a/gnu/packages/text-editors.scm
+++ b/gnu/packages/text-editors.scm
@@ -1086,7 +1086,7 @@ editors.")
 (base32 "11l1q5lmsj9g7yil1dn7n1cgsr8iikx59kg9riahpb6xw0p959l7"))
(patches
 (search-patches "texmacs-wayland-hidpi.patch"
-(build-system cmake-build-system)
+(build-system qt-build-system)
 (native-inputs
  (list pkg-config xdg-utils))   ;for xdg-icon-resource
 (inputs