From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: [wip] Add python-gst. (Needs help!) Date: Tue, 23 Feb 2016 12:38:07 -0800 Message-ID: <878u2b88nk.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYJil-0001HR-DF for guix-devel@gnu.org; Tue, 23 Feb 2016 15:38:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYJij-0000qM-U4 for guix-devel@gnu.org; Tue, 23 Feb 2016 15:38:11 -0500 Received: from dustycloud.org ([2600:3c02::f03c:91ff:feae:cb51]:57344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYJij-0000qI-Lw for guix-devel@gnu.org; Tue, 23 Feb 2016 15:38:09 -0500 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 5C89E2661D for ; Tue, 23 Feb 2016 15:38:08 -0500 (EST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-wip-Add-python-gst.patch Content-Transfer-Encoding: quoted-printable >From b324b6771de4255343a954d436d8f60ed56fec85 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber 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 =C2=A9 2014 John Darrington ;;; Copyright =C2=A9 2015 Sou Bunnbu ;;; Copyright =C2=A9 2015 Mark H Weaver +;;; Copyright =C2=A9 2016 Christopher Allan Webber ;;; ;;; 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. du= e 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.htm= l") + (synopsis "GStreamer Python bindings supplement") + (description "GStreamer Python overrides for the gobject-introspecti= on-based +pygst bindings.") + (license lgpl2.0+))) --=20 2.6.3 --=-=-=--