* [bug#57931] [PATCH v1 2/6] gnu: gst-plugins-bad: Build with librsvg-for-system.
2022-09-19 10:56 ` [bug#57931] [PATCH v1 1/6] gnu: directfb: Build with librsvg-for-system Denis 'GNUtoo' Carikli
@ 2022-09-19 10:56 ` Denis 'GNUtoo' Carikli
2022-09-19 10:56 ` [bug#57931] [PATCH v1 3/6] gnu: openexr: apply guix style Denis 'GNUtoo' Carikli
` (3 subsequent siblings)
4 siblings, 0 replies; 11+ messages in thread
From: Denis 'GNUtoo' Carikli @ 2022-09-19 10:56 UTC (permalink / raw)
To: 57931; +Cc: Denis 'GNUtoo' Carikli
* gnu/packages/gstreamer.scm (gst-plugins-bad)[inputs]:
Replace librsvg with librsvg-for-system.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
---
gnu/packages/gstreamer.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index a1503602ad..70e3d6b764 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -10,6 +10,7 @@
;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020 Liliana Marie Prikler <liliana.prikler@gmail.com>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
+;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -850,7 +851,7 @@ (define-public gst-plugins-bad
("libnice" ,libnice)
("libofa" ,libofa)
("libopenmpt" ,libopenmpt)
- ("librsvg" ,librsvg)
+ ("librsvg" ,(librsvg-for-system))
("libsndfile" ,libsndfile)
("libsrtp" ,libsrtp)
("libssh2" ,libssh2)
--
2.37.3
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#57931] [PATCH v1 3/6] gnu: openexr: apply guix style.
2022-09-19 10:56 ` [bug#57931] [PATCH v1 1/6] gnu: directfb: Build with librsvg-for-system Denis 'GNUtoo' Carikli
2022-09-19 10:56 ` [bug#57931] [PATCH v1 2/6] gnu: gst-plugins-bad: " Denis 'GNUtoo' Carikli
@ 2022-09-19 10:56 ` Denis 'GNUtoo' Carikli
2022-09-19 10:56 ` [bug#57931] [PATCH v1 4/6] gnu: openexr: Skip failing tests on i686 Denis 'GNUtoo' Carikli
` (2 subsequent siblings)
4 siblings, 0 replies; 11+ messages in thread
From: Denis 'GNUtoo' Carikli @ 2022-09-19 10:56 UTC (permalink / raw)
To: 57931; +Cc: Denis 'GNUtoo' Carikli
* gnu/packages/graphics.scm (openexr): apply guix style.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
---
gnu/packages/graphics.scm | 42 +++++++++++++++++++--------------------
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index f968a3f558..54ee3994e8 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -1119,29 +1119,29 @@ (define-public openexr
(package
(name "openexr")
(version "3.1.3")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/AcademySoftwareFoundation/openexr")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0c9vla0kbsbbhkk42jlbf94nzfb1anqh7dy9b0b3nna1qr6v4bh6"))))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
+ "https://github.com/AcademySoftwareFoundation/openexr")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0c9vla0kbsbbhkk42jlbf94nzfb1anqh7dy9b0b3nna1qr6v4bh6"))))
(build-system cmake-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- ;; /var/tmp does not exist in the Guix build environment
- (add-after 'unpack 'patch-test-directory
- (lambda _
- (substitute* '("src/test/OpenEXRUtilTest/tmpDir.h"
- "src/test/OpenEXRFuzzTest/tmpDir.h"
- "src/test/OpenEXRTest/tmpDir.h"
- "src/test/OpenEXRCoreTest/main.cpp")
- (("/var/tmp") "/tmp")))))))
- (inputs
- (list imath zlib))
+ '(#:phases (modify-phases %standard-phases
+ ;; /var/tmp does not exist in the Guix build environment
+ (add-after 'unpack 'patch-test-directory
+ (lambda _
+ (substitute* '("src/test/OpenEXRUtilTest/tmpDir.h"
+ "src/test/OpenEXRFuzzTest/tmpDir.h"
+ "src/test/OpenEXRTest/tmpDir.h"
+ "src/test/OpenEXRCoreTest/main.cpp")
+ (("/var/tmp")
+ "/tmp")))))))
+ (inputs (list imath zlib))
(home-page "https://www.openexr.com/")
(synopsis "High-dynamic-range file format library")
(description
--
2.37.3
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#57931] [PATCH v1 4/6] gnu: openexr: Skip failing tests on i686.
2022-09-19 10:56 ` [bug#57931] [PATCH v1 1/6] gnu: directfb: Build with librsvg-for-system Denis 'GNUtoo' Carikli
2022-09-19 10:56 ` [bug#57931] [PATCH v1 2/6] gnu: gst-plugins-bad: " Denis 'GNUtoo' Carikli
2022-09-19 10:56 ` [bug#57931] [PATCH v1 3/6] gnu: openexr: apply guix style Denis 'GNUtoo' Carikli
@ 2022-09-19 10:56 ` Denis 'GNUtoo' Carikli
2022-09-19 10:56 ` [bug#57931] [PATCH v1 5/6] gnu: gtk: Use librsvg-2.40 for non-x86_64 Denis 'GNUtoo' Carikli
2022-09-19 10:56 ` [bug#57931] [PATCH v1 6/6] gnu: gst-plugins-bad: remove svt-hevc for i686 Denis 'GNUtoo' Carikli
4 siblings, 0 replies; 11+ messages in thread
From: Denis 'GNUtoo' Carikli @ 2022-09-19 10:56 UTC (permalink / raw)
To: 57931; +Cc: Denis 'GNUtoo' Carikli
* gnu/packages/graphics.scm (openexr)[arguments]:
Add phase to disable failing tests on i686.
---
gnu/packages/graphics.scm | 45 ++++++++++++++++++++++++++++++---------
1 file changed, 35 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 54ee3994e8..4ac7440976 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -1131,16 +1131,41 @@ (define-public openexr
"0c9vla0kbsbbhkk42jlbf94nzfb1anqh7dy9b0b3nna1qr6v4bh6"))))
(build-system cmake-build-system)
(arguments
- '(#:phases (modify-phases %standard-phases
- ;; /var/tmp does not exist in the Guix build environment
- (add-after 'unpack 'patch-test-directory
- (lambda _
- (substitute* '("src/test/OpenEXRUtilTest/tmpDir.h"
- "src/test/OpenEXRFuzzTest/tmpDir.h"
- "src/test/OpenEXRTest/tmpDir.h"
- "src/test/OpenEXRCoreTest/main.cpp")
- (("/var/tmp")
- "/tmp")))))))
+ (list #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-test-directory
+ (lambda _
+ (substitute* (list
+ "src/test/OpenEXRUtilTest/tmpDir.h"
+ "src/test/OpenEXRFuzzTest/tmpDir.h"
+ "src/test/OpenEXRTest/tmpDir.h"
+ "src/test/OpenEXRCoreTest/main.cpp")
+ (("/var/tmp")
+ "/tmp"))))
+ #$@(if (not (target-64bit?))
+ (list #~(add-after 'patch-test-directory
+ 'disable-broken-tests
+ (lambda _
+ (substitute*
+ (list
+ "src/test/OpenEXRCoreTest/main.cpp"
+ "src/test/OpenEXRTest/main.cpp")
+ (("TEST \\(testCompression, \"basic\"\\);")
+ "")
+ (("TEST\\( testNoCompression, \"core_compression\" \\);")
+ "")
+ (("TEST\\( testRLECompression, \"core_compression\" \\);")
+ "")
+ (("TEST\\( testZIPCompression, \"core_compression\" \\);")
+ "")
+ (("TEST\\( testZIPSCompression, \"core_compression\" \\);")
+ "")
+ (("TEST\\( testB44Compression, \"core_compression\" \\);")
+ "")
+ (("TEST\\( testB44ACompression, \"core_compression\" \\);")
+ "")
+ (("TEST \\(testOptimizedInterleavePatterns, \"basic\"\\);")
+ "")))))
+ (list)))))
(inputs (list imath zlib))
(home-page "https://www.openexr.com/")
(synopsis "High-dynamic-range file format library")
--
2.37.3
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#57931] [PATCH v1 5/6] gnu: gtk: Use librsvg-2.40 for non-x86_64.
2022-09-19 10:56 ` [bug#57931] [PATCH v1 1/6] gnu: directfb: Build with librsvg-for-system Denis 'GNUtoo' Carikli
` (2 preceding siblings ...)
2022-09-19 10:56 ` [bug#57931] [PATCH v1 4/6] gnu: openexr: Skip failing tests on i686 Denis 'GNUtoo' Carikli
@ 2022-09-19 10:56 ` Denis 'GNUtoo' Carikli
2022-09-19 10:56 ` [bug#57931] [PATCH v1 6/6] gnu: gst-plugins-bad: remove svt-hevc for i686 Denis 'GNUtoo' Carikli
4 siblings, 0 replies; 11+ messages in thread
From: Denis 'GNUtoo' Carikli @ 2022-09-19 10:56 UTC (permalink / raw)
To: 57931; +Cc: Denis 'GNUtoo' Carikli
* gnu/packages/gtk.scm (gtk)[propagated-inputs]:
Use librsvg-2.40 for non-x86_64.
---
gnu/packages/gtk.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 4cdc8d090a..8c35696aaf 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -31,6 +31,7 @@
;;; Copyright © 2021 Wamm K. D. <jaft.r@outlook.com>
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
;;; Copyright © 2022 Benjamin Slade <slade@lambda-y.net>
+;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1340,7 +1341,9 @@ (define-public gtk
;; Following dependencies are referenced in .pc files.
(list cairo
fontconfig
- librsvg-bootstrap
+ (if (target-x86-64?)
+ librsvg-bootstrap
+ librsvg-2.40)
glib
graphene
libepoxy
--
2.37.3
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#57931] [PATCH v1 6/6] gnu: gst-plugins-bad: remove svt-hevc for i686.
2022-09-19 10:56 ` [bug#57931] [PATCH v1 1/6] gnu: directfb: Build with librsvg-for-system Denis 'GNUtoo' Carikli
` (3 preceding siblings ...)
2022-09-19 10:56 ` [bug#57931] [PATCH v1 5/6] gnu: gtk: Use librsvg-2.40 for non-x86_64 Denis 'GNUtoo' Carikli
@ 2022-09-19 10:56 ` Denis 'GNUtoo' Carikli
4 siblings, 0 replies; 11+ messages in thread
From: Denis 'GNUtoo' Carikli @ 2022-09-19 10:56 UTC (permalink / raw)
To: 57931; +Cc: Denis 'GNUtoo' Carikli
* gnu/packages/gstreamer.scm(gst-plugins-bad)[inputs]:
remove svt-hevc to avoid compilation failure.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
---
gnu/packages/gstreamer.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 70e3d6b764..4e8ddd0b92 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -890,7 +890,7 @@ (define-public gst-plugins-bad
("soundtouch" ,soundtouch)
("spandsp" ,spandsp)
("srt" ,srt)
- ,@(if (target-x86?)
+ ,@(if (target-x86-64?)
`(("svthevcenc" ,svt-hevc))
'())
("tinyalsa" ,tinyalsa)
--
2.37.3
^ permalink raw reply related [flat|nested] 11+ messages in thread