unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#29545] [PATCH] gnu: Add gst123.
@ 2017-12-03 10:37 Ricardo Wurmus
  2017-12-03 17:37 ` bug#29545: " Ricardo Wurmus
  0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2017-12-03 10:37 UTC (permalink / raw)
  To: 29545; +Cc: Ricardo Wurmus

* gnu/packages/gstreamer.scm (gst123): New variable.
---
 gnu/packages/gstreamer.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index a57676fdf..3333ca87f 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -45,6 +46,7 @@
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages mp3)
+  #:use-module (gnu packages ncurses)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages qt)
@@ -469,3 +471,31 @@ be used by Python applications using GStreamer.")
     (propagated-inputs
      `(("gst-plugins-base" ,gst-plugins-base)
        ("python-pygobject" ,python2-pygobject)))))
+
+(define-public gst123
+  (package
+    (name "gst123")
+    (version "0.3.5")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://space.twc.de/~stefan/gst123/gst123-"
+                                  version ".tar.bz2"))
+              (sha256
+               (base32
+                "0zaa117n4wkya9p903vkj8hj58lmdb66pxsdx5wwcv7nffbp5d67"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("gtk+" ,gtk+-2)
+       ("ncurses" ,ncurses)
+       ("gstreamer" ,gstreamer)
+       ("gst-plugins-base" ,gst-plugins-base)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "http://space.twc.de/~stefan/gst123.php")
+    (synopsis "Flexible command line media player based on gstreamer")
+    (description "The program gst123 is designed to be a more flexible command
+line player in the spirit of ogg123 and mpg123, based on the gstreamer media
+framework.  It plays all file formats gstreamer supports, so if you have a
+music collection which contains different file formats, like flac, ogg and
+mp3, you can use gst123 to play all your music files.")
+    (license license:lgpl2.0+)))
-- 
2.15.0

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

* bug#29545: [PATCH] gnu: Add gst123.
  2017-12-03 10:37 [bug#29545] [PATCH] gnu: Add gst123 Ricardo Wurmus
@ 2017-12-03 17:37 ` Ricardo Wurmus
  2017-12-08 11:29   ` [bug#29545] " Danny Milosavljevic
  0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2017-12-03 17:37 UTC (permalink / raw)
  To: 29545-done

Pushed to master with commit 518957128f8c473fe762c1f41b254d6b7968eea1.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

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

* [bug#29545] [PATCH] gnu: Add gst123.
  2017-12-03 17:37 ` bug#29545: " Ricardo Wurmus
@ 2017-12-08 11:29   ` Danny Milosavljevic
  2017-12-08 12:14     ` Ricardo Wurmus
  0 siblings, 1 reply; 4+ messages in thread
From: Danny Milosavljevic @ 2017-12-08 11:29 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 29545

Hi Ricardo,

this doesn't actually work for me.

I get these messages:

gst123: Relink `/gnu/store/x999chw1v0qz0z8k61k51q44jn5srqg6-libpng-1.6.29/lib/libpng16.so.16' with `/gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libpthread.so.0' for IFUNC symbol `longjmp'

(gst123:8413): GStreamer-CRITICAL **: gst_element_get_bus: assertion 'GST_IS_ELEMENT (element)' failed

(gst123:8413): GStreamer-CRITICAL **: gst_bus_set_sync_handler: assertion 'GST_IS_BUS (bus)' failed

Playing file:///home/dannym/Music/Hoppipolla2.mp3

(gst123:8413): GStreamer-CRITICAL **: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed
...

and then it doesn't play anything.

It might be that I have to install stuff into my profile, but the description doesn't say that...

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

* [bug#29545] [PATCH] gnu: Add gst123.
  2017-12-08 11:29   ` [bug#29545] " Danny Milosavljevic
@ 2017-12-08 12:14     ` Ricardo Wurmus
  0 siblings, 0 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2017-12-08 12:14 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 29545


Hi Danny,

> (gst123:8413): GStreamer-CRITICAL **: gst_element_get_bus: assertion 'GST_IS_ELEMENT (element)' failed
>
> (gst123:8413): GStreamer-CRITICAL **: gst_bus_set_sync_handler: assertion 'GST_IS_BUS (bus)' failed
>
> Playing file:///home/dannym/Music/Hoppipolla2.mp3
>
> (gst123:8413): GStreamer-CRITICAL **: gst_element_set_state: assertion 'GST_IS_ELEMENT (element)' failed
> ...
>
> and then it doesn't play anything.
>
> It might be that I have to install stuff into my profile, but the description doesn't say that...

It’s gstreamer-based, so what it supports depends on the gstreamer
plugins you have installed.  What plugins do you have?

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

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

end of thread, other threads:[~2017-12-08 12:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-03 10:37 [bug#29545] [PATCH] gnu: Add gst123 Ricardo Wurmus
2017-12-03 17:37 ` bug#29545: " Ricardo Wurmus
2017-12-08 11:29   ` [bug#29545] " Danny Milosavljevic
2017-12-08 12:14     ` Ricardo Wurmus

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).