unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: ng0 <ng0@infotropique.org>
To: Kei Kebreau <kkebreau@posteo.net>
Cc: 28917@debbugs.gnu.org
Subject: [bug#28917] gst-transcoder + python-pycanberra + gavl (pitivi dependencies)
Date: Thu, 26 Oct 2017 20:07:19 +0000	[thread overview]
Message-ID: <20171026200719.co6jwzhakd6ie2os@abyayala> (raw)
In-Reply-To: <87h8unozyk.fsf@posteo.net>


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

Kei Kebreau transcribed 3.2K bytes:
> ng0 <ng0@infotropique.org> writes:
> 
> > ng0 transcribed 1.4K bytes:
> >> ng0 transcribed 10K bytes:
> >> > This adds gst-transcoder, python-pycanberra and gavl
> >> > required for pitivi.
> >> 
> >> Yarg. I've sent the wrong python-pycanberra. Correction incoming.
> >
> > Correction appended.
> >
> > -- 
> > ng0
> > GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
> > GnuPG: https://dist.ng0.infotropique.org/dist/keys/
> > https://www.infotropique.org https://ng0.infotropique.org
> >
> >
> >
> > From b97a66068be69bc53d654d6204cdb1df5c889dd6 Mon Sep 17 00:00:00 2001
> > From: ng0 <ng0@infotropique.org>
> > 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 baebe6404..7294c5bf2 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)
> > @@ -2499,3 +2500,36 @@ tools for styling them, including a built-in real-time video preview.")
> >      (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,
> 
> "samplerates" should be two words.
> 
> > +multichannel configurations etc.  It provides standardized definitions for
>                               ^
>                a comma after "configurations" would be nice.
> > +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
> 
> Instead of "ugly task to convert..." perhaps we can say "ugly task of
> converting..."
> 
> > +these formats and provides some elementary operations (copying, scaling,
> > +alpha blending etc).")
> > +    (license license:gpl3)))
> 
> I suppose the changes to gavl's description could be forwarded upstream,
> seeing as this is the same description as the one
> gmerlin.sourceforge.net uses.

Maybe… Besides having the correct text it requires writing
the email etc. If I don't forget it, I'll get to it eventually
at some point… this year.

> Everything else LGTM. Thanks for working on this!
> 
Thanks for the review.

Updated patches appended.
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://dist.ng0.infotropique.org/dist/keys/
https://www.infotropique.org https://ng0.infotropique.org

[-- Attachment #1.2: 0001-gnu-Add-gst-transcoder.patch --]
[-- Type: text/plain, Size: 2560 bytes --]

From 9cebc1dff4d4bf3165de0f6d1d1c521496e032fe Mon Sep 17 00:00:00 2001
From: ng0 <ng0@infotropique.org>
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 | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index d73e21a31..3983c6053 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -11,7 +11,7 @@
 ;;; Copyright © 2016 Kei Kebreau <kkebreau@posteo.net>
 ;;; Copyright © 2016 Dmitry Nikolaev <cameltheman@gmail.com>
 ;;; Copyright © 2016 Andy Patterson <ajpatter@uwaterloo.ca>
-;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>
+;;; Copyright © 2016, 2017 ng0 <ng0@infotropique.org>
 ;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
 ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
 ;;; Copyright © 2017 Feng Shu <tumashu@163.com>
@@ -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)
@@ -2472,3 +2473,29 @@ tools for styling them, including a built-in real-time video preview.")
    ; by upstream). See https://github.com/Aegisub/Aegisub/blob/master/LICENCE
    ; src/MatroskaParser.(c|h) is under bsd-3 with permission from the author
 
+(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)))
-- 
2.14.3


[-- Attachment #1.3: 0002-gnu-Add-python-pycanberra.patch --]
[-- Type: text/plain, Size: 2556 bytes --]

From a86ff27522101c6cc3dfe1f9c4b2ded1a1c95d0c Mon Sep 17 00:00:00 2001
From: ng0 <ng0@infotropique.org>
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 | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/libcanberra.scm b/gnu/packages/libcanberra.scm
index 941d3dcc4..9af6b40ff 100644
--- a/gnu/packages/libcanberra.scm
+++ b/gnu/packages/libcanberra.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2016 Fabian Harfert <fhmgufs@web.de>
+;;; Copyright © 2017 ng0 <ng0@infotropique.org>
 ;;;
 ;;; 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))
 
 (define-public libcanberra
@@ -126,3 +131,26 @@ sounds for various system events.")
     (license (list cc-by-sa4.0 cc-by3.0 gpl2 gpl2+))
 
     (home-page "http://www.freedesktop.org/wiki/Specifications/sound-theme-spec/")))
+
+(define-public python-pycanberra
+  (package
+    (name "python-pycanberra")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://dist.ng0.infotropique.org/releases/"
+                           "pycanberra/pycanberra-" version ".tar.xz"))
+       (sha256
+        (base32
+         "16jjf8fcgaprmz6jacsxrh17l1ad891fns38bxv49lg3s3mn1nj2"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)) ;No tests included.
+    (propagated-inputs
+     `(("libcanberra" ,libcanberra)))
+    (synopsis "Ctypes wrapper for the libcanberra API")
+    (description
+     "Pycanberra is a basic Python wrapper for libcanberra.")
+    (home-page "https://git.ng0.infotropique.org/pycanberra/")
+    (license lgpl2.1+)))
-- 
2.14.3


[-- Attachment #1.4: 0003-gnu-Add-gavl.patch --]
[-- Type: text/plain, Size: 2391 bytes --]

From 939166948d5b278c47536276b0aa09229f6ecaa7 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@infotropique.org>
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 3983c6053..be22a84fe 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)
@@ -2499,3 +2500,36 @@ tools for styling them, including a built-in real-time video preview.")
     (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, sample rates,
+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 of converting between all
+these formats and provides some elementary operations (copying, scaling,
+alpha blending etc).")
+    (license license:gpl3)))
-- 
2.14.3


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2017-10-26 20:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-20 19:35 [bug#28917] gst-transcoder + python-pycanberra + gavl (pitivi dependencies) ng0
2017-10-21 21:29 ` ng0
2017-10-21 21:32   ` ng0
2017-10-25 14:24     ` Kei Kebreau
2017-10-26 20:07       ` ng0 [this message]
2017-10-27 12:28         ` Kei Kebreau
2017-11-28 19:04           ` bug#28917: " ng0

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=20171026200719.co6jwzhakd6ie2os@abyayala \
    --to=ng0@infotropique.org \
    --cc=28917@debbugs.gnu.org \
    --cc=kkebreau@posteo.net \
    /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 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).