From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5d6Q-0002W0-2d for guix-patches@gnu.org; Fri, 20 Oct 2017 15:37:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5d6M-0001TG-Qe for guix-patches@gnu.org; Fri, 20 Oct 2017 15:37:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:44109) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e5d6M-0001TB-MM for guix-patches@gnu.org; Fri, 20 Oct 2017 15:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e5d6M-0004Hc-Cv for guix-patches@gnu.org; Fri, 20 Oct 2017 15:37:02 -0400 Subject: [bug#28917] gst-transcoder + python-pycanberra + gavl (pitivi dependencies) Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5d54-0002LS-0o for guix-patches@gnu.org; Fri, 20 Oct 2017 15:35:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5d50-0001CB-5A for guix-patches@gnu.org; Fri, 20 Oct 2017 15:35:42 -0400 Received: from aibo.runbox.com ([91.220.196.211]:33180) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e5d4z-0001Bs-MX for guix-patches@gnu.org; Fri, 20 Oct 2017 15:35:38 -0400 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1e5d4x-0001uV-4w for guix-patches@gnu.org; Fri, 20 Oct 2017 21:35:35 +0200 Received: from [146.0.43.126] (helo=localhost) by mailfront11.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1e5d4p-00023d-In for guix-patches@gnu.org; Fri, 20 Oct 2017 21:35:28 +0200 Date: Fri, 20 Oct 2017 19:35:25 +0000 From: ng0 Message-ID: <20171020193525.u6iychdld7rreg33@abyayala> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="s2hrnvhqksce3bzn" Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28917@debbugs.gnu.org --s2hrnvhqksce3bzn Content-Type: multipart/mixed; boundary="gkdlueze4ghb6mcl" Content-Disposition: inline --gkdlueze4ghb6mcl Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This adds gst-transcoder, python-pycanberra and gavl required for pitivi. --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://dist.ng0.infotropique.org/dist/keys/ https://www.infotropique.org https://ng0.infotropique.org --gkdlueze4ghb6mcl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-Add-gst-transcoder.patch" Content-Transfer-Encoding: quoted-printable =46rom 16d6b89abd22f9aff3e15e12649a7658d4ad14fc Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Mon, 16 Oct 2017 05:41:50 +0000 Subject: [PATCH 1/3] gnu: Add gst-transcoder. * gnu/packages/video.scm (gst-transcoder): New variable. --- gnu/packages/video.scm | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index c1856b62f..b7051383c 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -11,7 +11,7 @@ ;;; Copyright =C2=A9 2016 Kei Kebreau ;;; Copyright =C2=A9 2016 Dmitry Nikolaev ;;; Copyright =C2=A9 2016 Andy Patterson -;;; Copyright =C2=A9 2016, 2017 ng0 +;;; Copyright =C2=A9 2016, 2017 ng0 ;;; Copyright =C2=A9 2016 Eric Bavier ;;; Copyright =C2=A9 2016 Jan Nieuwenhuizen ;;; Copyright =C2=A9 2017 Feng Shu @@ -49,6 +49,7 @@ #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system glib-or-gtk) + #:use-module (guix build-system meson) #:use-module (guix build-system python) #:use-module (guix build-system waf) #:use-module (gnu packages) @@ -2385,3 +2386,30 @@ tables") generation of MPEG TS and DVB PSI tables according to standards ISO/IEC 13= 818s and ITU-T H.222.0.") (license license:lgpl2.1))) + +(define-public gst-transcoder + (package + (name "gst-transcoder") + (version "1.12.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/pitivi/gst-transcoder/" + "archive/" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0cnwmrsd321s02ff91m3j27ydj7f8wks0jvmp5admlhka6z7zxm9")))) + (build-system meson-build-system) + (inputs + `(("gobject-introspection" ,gobject-introspection) + ("glib" ,glib) + ("gstreamer" ,gstreamer) + ("gst-plugins-base" ,gst-plugins-base))) + (native-inputs + `(("python" ,python) + ("pkg-config" ,pkg-config))) + (home-page "https://github.com/pitivi/gst-transcoder/") + (synopsis "GStreamer Transcoding API") + (description "GStreamer Transcoding API") + (license license:lgpl2.1))) --=20 2.14.2 --gkdlueze4ghb6mcl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0002-gnu-Add-python-pycanberra.patch" Content-Transfer-Encoding: quoted-printable =46rom 882f2958c2e3c99d6d5d15f038f0261402bea492 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Mon, 16 Oct 2017 15:31:04 +0000 Subject: [PATCH 2/3] gnu: Add python-pycanberra. * gnu/packages/libcanberra.scm (python-pycanberra): New variable. --- gnu/packages/libcanberra.scm | 51 ++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/libcanberra.scm b/gnu/packages/libcanberra.scm index 941d3dcc4..81f20ba6d 100644 --- a/gnu/packages/libcanberra.scm +++ b/gnu/packages/libcanberra.scm @@ -2,6 +2,7 @@ ;;; Copyright =C2=A9 2013 Andreas Enge ;;; Copyright =C2=A9 2014, 2015 Ludovic Court=C3=A8s ;;; Copyright =C2=A9 2016 Fabian Harfert +;;; Copyright =C2=A9 2017 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -24,8 +25,11 @@ #:use-module (gnu packages) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu) + #:use-module (guix build-system python) #:use-module (guix build utils) + #:use-module (guix utils) #:use-module (gnu packages autotools) #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) @@ -33,6 +37,7 @@ #:use-module (gnu packages linux) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) #:use-module (gnu packages xiph)) =20 (define-public libcanberra @@ -126,3 +131,49 @@ sounds for various system events.") (license (list cc-by-sa4.0 cc-by3.0 gpl2 gpl2+)) =20 (home-page "http://www.freedesktop.org/wiki/Specifications/sound-theme= -spec/"))) + +(define-public python-pycanberra + (let ((commit "88c53cd44a626ede3b07dab0b548f8bcfda42867")) + (package + (name "python-pycanberra") + (version (string-append "0.0." (string-take commit 7))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/totdb/pycanberra") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 + "04xv5g599s5bvr1pd273hbb5kq1n194sjwhgj39jgh1l3g5w9k3y")))) + (build-system gnu-build-system) + (arguments + `(#:imported-modules (,@%gnu-build-system-modules + (guix build python-build-system)) + #:tests? #f ;No tests included. + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (lambda* (#:key outputs inputs #:allow-other-keys) + (let* ((python (assoc-ref inputs "python")) + (python-version ((@@ (guix build python-build-system) + get-python-version) + python)) + (out (assoc-ref outputs "out")) + (python-sitedir (string-append out "/lib/python" + python-version + "/site-packages"))) + (install-file "pycanberra.py" python-sitedir)) + #t))))) + (propagated-inputs + `(("libcanberra" ,libcanberra))) + (native-inputs + `(("python" ,python))) + (synopsis "Ctypes wrapper for the libcanberra API") + (description + "Pycanberra is a basic Python wrapper for libcanberra.") + (home-page "https://github.com/totdb/pycanberra") + (license lgpl2.1+)))) --=20 2.14.2 --gkdlueze4ghb6mcl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-gnu-Add-gavl.patch" Content-Transfer-Encoding: quoted-printable =46rom c6e4c4502eb8dbeeeac2ba60aeeede3a7e1242fe Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Fri, 20 Oct 2017 18:32:12 +0000 Subject: [PATCH 3/3] gnu: Add gavl. * gnu/packages/video.scm (gavl): New variable. --- gnu/packages/video.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index b7051383c..ea55ead3d 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -69,6 +69,7 @@ #:use-module (gnu packages databases) #:use-module (gnu packages dejagnu) #:use-module (gnu packages docbook) + #:use-module (gnu packages documentation) #:use-module (gnu packages elf) #:use-module (gnu packages file) #:use-module (gnu packages flex) @@ -2413,3 +2414,36 @@ and ITU-T H.222.0.") (synopsis "GStreamer Transcoding API") (description "GStreamer Transcoding API") (license license:lgpl2.1))) + +(define-public gavl + (package + (name "gavl") + (version "1.4.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/gmerlin/" + name "/" version "/" + name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1kikkn971a14zzm7svi7190ldc14fjai0xyhpbcmp48s750sraji")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config) + ("doxygen" ,doxygen))) + (home-page "http://gmerlin.sourceforge.net") + (synopsis "low level library for multimedia API building") + (description + "Gavl is short for Gmerlin Audio Video Library. It is a low level +library, upon which multimedia APIs can be built. Gavl handles all the +details of audio and video formats like colorspaces, samplerates, +multichannel configurations etc. It provides standardized definitions for +those formats as well as container structures for carrying audio samples or +video images inside an application. + +In addition, it handles the sometimes ugly task to convert between all +these formats and provides some elementary operations (copying, scaling, +alpha blending etc).") + (license license:gpl3))) --=20 2.14.2 --gkdlueze4ghb6mcl-- --s2hrnvhqksce3bzn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlnqT/wACgkQ4i+bv+40 hYgnTRAAlc+ltFSy0YwGL9OQnxENXyuG2+o7skdMtr6VbJ6zON6IR9j9ohWLlgk9 XWV2jcarBAVzRqB4g2p2cBBWHby+Rf+IAzTPjOZMIjR0eNG08Cow8k4IYVrD2ZtR 50OAATPkt8rbgQBS2lxpcAja296jUQ+IcLXezaw+30Mzu+7oWDMd6BQ1DThtpfGh kH0K3b862GDCHjDJOJXOVEdpoPxItu+HKRrp8lS6WchcjKugCRqdJyma6/Fl1age U8VAe1tMdadc1UrHEmBJm4OyHdl/EvR/TnYGUxEWrNzVkfKh/VxYTQc3GoDGL7hP p6/6w7/sSIC09PXPBJVqGxxFmEVvRqTXxrr2gK42/Muua/7tEwRsVM24jbSYAFqX SsETUIWa2YpW9La24ZZCa8CCuMWYEXeIyoWYrTqGMOnYRb7t9LTsJNvggDo42WyX sxPV0E3KFkSQlD1lszis1VSL+gxpXgJ+nIG/9ft4xC8gAdQ8P9NsP3BrxtWZi7qx 15DARifKI4vgowhtn3HyA1qoXF8H1sww/5Q0joAc9ygDLlLKj6+8/Y+hgT3vdMyA lzmQsl/sEojcOJYSTdaJhhNGQusTmGIDt9s5cN2eX/n5QgQ0gQwNGuCOUjhzwZ7z L3/KRc2vUZqJqKjaajIsgdn6Ix8xqQ1LcKK02iav9zYmwVPhxy8= =Pyn9 -----END PGP SIGNATURE----- --s2hrnvhqksce3bzn--