all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Allan Webber <cwebber@dustycloud.org>
To: guix-devel@gnu.org
Subject: [wip] Add python-gst. (Needs help!)
Date: Tue, 23 Feb 2016 12:38:07 -0800	[thread overview]
Message-ID: <878u2b88nk.fsf@dustycloud.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1726 bytes --]

This is the last piece of the puzzle to get all tests passing with
MediaGoblin and its Python dependencies, I believe.

Unfortunately, I can't get the package quite right.  Here's where it
fails:

Making install in overrides
make[2]: Entering directory '/tmp/guix-build-gst-python-1.6.1.drv-0/gst-python-1.6.1/gi/overrides'
make[3]: Entering directory '/tmp/guix-build-gst-python-1.6.1.drv-0/gst-python-1.6.1/gi/overrides'
 /gnu/store/nl4g5nzfdy6fad6i1zgxp1gin5c73b47-coreutils-8.24/bin/mkdir -p '/gnu/store/612jc932fk766brficmv11ddvgck6qgc-python-pygobject-3.18.0/lib/python3.4/site-packages/gi/overrides'
 /gnu/store/x8dmdlrn5qn0wrbcnngj55y3ab73h0pp-bash-4.3.42/bin/bash ../../libtool   --mode=install /gnu/store/nl4g5nzfdy6fad6i1zgxp1gin5c73b47-coreutils-8.24/bin/install -c   _gi_gst.la '/gnu/store/612jc932fk766brficmv11ddvgck6qgc-python-pygobject-3.18.0/lib/python3.4/site-packages/gi/overrides'
libtool: install: /gnu/store/nl4g5nzfdy6fad6i1zgxp1gin5c73b47-coreutils-8.24/bin/install -c .libs/_gi_gst.cpython-34m.so /gnu/store/612jc932fk766brficmv11ddvgck6qgc-python-pygobject-3.18.0/lib/python3.4/site-packages/gi/overrides/_gi_gst.cpython-34m.so
/gnu/store/nl4g5nzfdy6fad6i1zgxp1gin5c73b47-coreutils-8.24/bin/install: cannot create regular file '/gnu/store/612jc932fk766brficmv11ddvgck6qgc-python-pygobject-3.18.0/lib/python3.4/site-packages/gi/overrides/_gi_gst.cpython-34m.so': Permission denied
Makefile:428: recipe for target 'install-pygioverridesexecLTLIBRARIES' failed

So, no surprise that this fails... it's trying to install to another
package in the store.

There must be another way we do this for other gobject introspect using
packages?  Could someone help me out please?  I'd appreciate it!

 - Chris


[-- Attachment #2: 0001-wip-Add-python-gst.patch --]
[-- Type: text/x-patch, Size: 2381 bytes --]

From b324b6771de4255343a954d436d8f60ed56fec85 Mon Sep 17 00:00:00 2001
From: Christopher Allan Webber <cwebber@dustycloud.org>
Date: Tue, 23 Feb 2016 12:34:56 -0800
Subject: [PATCH] [wip] Add python-gst

---
 gnu/packages/gstreamer.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index f1dbc46..b061f46 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2014 John Darrington <jmd@gnu.org>
 ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
 ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
+;;; Copyright © 2016 Christopher Allan Webber <cwebber@dustycloud.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -35,6 +36,7 @@
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages libffi)
   #:use-module (gnu packages mp3)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pulseaudio)
@@ -316,3 +318,31 @@ distribution problems in some jurisdictions, e.g. due to patent threats.")
      "This GStreamer plugin supports a large number of audio and video
 compression formats through the use of the libav library.")
     (license gpl2+)))
+
+(define-public python-gst
+  (package
+    (name "python-gst")
+    (version "1.6.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://gstreamer.freedesktop.org/src/" name "/"
+                    name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1w84pmvzki8fza10b6bx5zf1xb3r9x0nrsgfvlisybpx30p37giw"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("python" ,python)
+       ("gstreamer" ,gstreamer)
+       ("libffi" ,libffi)
+       ("gobject-introspection" ,gobject-introspection)))
+    (propagated-inputs
+     `(("python-pygobject" ,python-pygobject)))
+    (home-page "https://gstreamer.freedesktop.org/modules/gst-python.html")
+    (synopsis "GStreamer Python bindings supplement")
+    (description "GStreamer Python overrides for the gobject-introspection-based
+pygst bindings.")
+    (license lgpl2.0+)))
-- 
2.6.3


             reply	other threads:[~2016-02-23 20:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-23 20:38 Christopher Allan Webber [this message]
2016-02-24 19:43 ` [wip] Add python-gst. (Needs help!) Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878u2b88nk.fsf@dustycloud.org \
    --to=cwebber@dustycloud.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.