unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [Patch] gst-plugins-base
@ 2016-03-30 15:38 Efraim Flashner
  2016-03-30 21:53 ` Mark H Weaver
  0 siblings, 1 reply; 6+ messages in thread
From: Efraim Flashner @ 2016-03-30 15:38 UTC (permalink / raw)
  To: guix-devel


[-- Attachment #1.1: Type: text/plain, Size: 708 bytes --]

Currently on both mips64 and on armhf gst-plugins-base doesn't build, and I'm
not sure if it has any time recently. On arm, the orc related tests fail, and
on mips orc fails to build entirely. Orc is a nice addition to
gst-plugins-base, but it will build without it. This patch would have arm and
mips go without it. Currently gst-plugins-base is the only program that
directly depends on orc, so the other ~50 programs that depend on
gst-plugins-base will have a chance of building now.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-gst-plugins-base-Don-t-build-with-orc-on-arm-mip.patch --]
[-- Type: text/x-patch, Size: 1512 bytes --]

From c7a03250b130928a9d0c00e8861218abb08c22b5 Mon Sep 17 00:00:00 2001
From: Efraim Flashner <efraim@flashner.co.il>
Date: Wed, 30 Mar 2016 18:03:53 +0300
Subject: [PATCH] gnu: gst-plugins-base: Don't build with orc on arm/mips
 architectures.

* gnu/packages/gstreamer.scm (gst-plugins-base)[inputs]: Only use orc as
an input on armhf or mips architectures.
---
 gnu/packages/gstreamer.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 5cf59cd..c44cbec 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -160,7 +160,6 @@ This package provides the core library and elements.")
      `(("gstreamer" ,gstreamer))) ; required by gstreamer-plugins-base-1.0.pc
     (inputs
      `(("cdparanoia" ,cdparanoia)
-       ("orc" ,orc)
        ("pango" ,pango)
        ("libogg" ,libogg)
        ("libtheora" ,libtheora)
@@ -169,7 +168,12 @@ This package provides the core library and elements.")
        ("zlib" ,zlib)
        ("libXext" ,libxext)
        ("libxv" ,libxv)
-       ("alsa-lib" ,alsa-lib)))
+       ("alsa-lib" ,alsa-lib)
+       ,@(if (not (string-prefix? (or "armhf" "mips")
+                                  (or (%current-target-system)
+                                      (%current-system))))
+           `(("orc" ,orc))
+           '())))
     (native-inputs
       `(("pkg-config" ,pkg-config)
         ("glib" ,glib "bin")
-- 
2.8.0.rc3


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-03-31 18:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-30 15:38 [Patch] gst-plugins-base Efraim Flashner
2016-03-30 21:53 ` Mark H Weaver
2016-03-30 21:57   ` Mark H Weaver
2016-03-31  7:22     ` Efraim Flashner
2016-03-31 17:17       ` Mark H Weaver
2016-03-31 18:11         ` Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).