unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 3/3] gnu: vlc: Add inputs.
@ 2016-09-10  3:08 Alex Vong
  2016-09-20 20:09 ` Leo Famulari
  2016-10-10 14:55 ` Ricardo Wurmus
  0 siblings, 2 replies; 5+ messages in thread
From: Alex Vong @ 2016-09-10  3:08 UTC (permalink / raw)
  To: guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0003-gnu-vlc-Add-inputs.patch --]
[-- Type: text/x-diff, Size: 3486 bytes --]

From b9e30604e432586c89c5e33b27ba609852efd399 Mon Sep 17 00:00:00 2001
From: Alex Vong <alexvong1995@gmail.com>
Date: Tue, 30 Aug 2016 02:30:57 +0800
Subject: [PATCH 3/3] gnu: vlc: Add inputs.

* gnu/packages/video.scm (vlc)[inputs]: Add eudev, faad2, fluidsynth,
  gnome-vfs, gst-plugins-base, gtk+-2, jack-2, libass, libavc1394,
  libbluray, libcaca, libdca, libdvdnav, libdvdread, libmpeg2,
  libmodplug, libmtp, libnotify, libraw1394, libshout, librsvg, libupnp,
  libva, libvdpau, samba, taglib, twolame.
---
 gnu/packages/video.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index a041666..e791dbf 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -60,9 +60,13 @@
   #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages guile)
+  #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
+  #:use-module (gnu packages gstreamer)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
+  #:use-module (gnu packages libupnp)
+  #:use-module (gnu packages libusb)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages mp3)
@@ -74,6 +78,7 @@
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages python)
   #:use-module (gnu packages qt)
+  #:use-module (gnu packages samba)
   #:use-module (gnu packages sdl)
   #:use-module (gnu packages ssh)
   #:use-module (gnu packages texinfo)
@@ -611,20 +616,44 @@ audio/video codec library.")
      `(("alsa-lib" ,alsa-lib)
        ("avahi" ,avahi)
        ("dbus" ,dbus)
+       ("eudev" ,eudev)
+       ("faad2" ,faad2)
        ("flac" ,flac)
        ("ffmpeg" ,ffmpeg-2.8)               ;fails to build against ffmpeg 3.0
+       ("fluidsynth" ,fluidsynth)
        ("fontconfig" ,fontconfig)
        ("freetype" ,freetype)
+       ("gnome-vfs" ,gnome-vfs) ; FIXME: the build system cannot detect it
        ("gnutls" ,gnutls)
+       ("gst-plugins-base" ,gst-plugins-base)
+       ("gtk+" ,gtk+-2)
+       ("jack" ,jack-2)
        ("liba52" ,liba52)
+       ("libass" ,libass)
+       ("libavc1394" ,libavc1394)
+       ("libbluray" ,libbluray)
+       ("libcaca" ,libcaca)
+       ("libdca" ,libdca)
        ("libcddb" ,libcddb)
+       ("libdvdnav" ,libdvdnav)
+       ("libdvdread" ,libdvdread)
        ("libgcrypt" ,libgcrypt)
        ("libkate" ,libkate)
        ("libmad" ,libmad)
+       ("libmpeg2" ,libmpeg2)
+       ("libmodplug" ,libmodplug)
+       ("libmtp" ,libmtp)
+       ("libnotify" ,libnotify)
        ("libogg" ,libogg)
        ("libpng" ,libpng)
+       ("libraw1394" ,libraw1394)
        ("libsamplerate" ,libsamplerate)
+       ("libshout" ,libshout)
        ("libssh2" ,libssh2)
+       ("librsvg" ,librsvg)
+       ("libupnp" ,libupnp)
+       ("libva" ,libva)
+       ("libvdpau" ,libvdpau)
        ("libvorbis" ,libvorbis)
        ("libtheora" ,libtheora)
        ("libxext" ,libxext)
@@ -641,9 +670,12 @@ audio/video codec library.")
        ("qt" ,qt) ; FIXME: reenable modular qt after update - requires building
        ;("qtbase" ,qtbase) with -std=gnu++11.
        ;("qtx11extras" ,qtx11extras)
+       ("samba" ,samba)
        ("sdl" ,sdl)
        ("sdl-image" ,sdl-image)
        ("speex" ,speex)
+       ("taglib" ,taglib)
+       ("twolame" ,twolame)
        ("xcb-util-keysyms" ,xcb-util-keysyms)))
     (arguments
      `(#:configure-flags
-- 
2.10.0

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

* Re: [PATCH 3/3] gnu: vlc: Add inputs.
  2016-09-10  3:08 [PATCH 3/3] gnu: vlc: Add inputs Alex Vong
@ 2016-09-20 20:09 ` Leo Famulari
  2016-10-10 10:38   ` Alex Vong
  2016-10-10 14:55 ` Ricardo Wurmus
  1 sibling, 1 reply; 5+ messages in thread
From: Leo Famulari @ 2016-09-20 20:09 UTC (permalink / raw)
  To: Alex Vong; +Cc: guix-devel

On Sat, Sep 10, 2016 at 11:08:18AM +0800, Alex Vong wrote:
> From b9e30604e432586c89c5e33b27ba609852efd399 Mon Sep 17 00:00:00 2001
> From: Alex Vong <alexvong1995@gmail.com>
> Date: Tue, 30 Aug 2016 02:30:57 +0800
> Subject: [PATCH 3/3] gnu: vlc: Add inputs.
> 
> * gnu/packages/video.scm (vlc)[inputs]: Add eudev, faad2, fluidsynth,
>   gnome-vfs, gst-plugins-base, gtk+-2, jack-2, libass, libavc1394,
>   libbluray, libcaca, libdca, libdvdnav, libdvdread, libmpeg2,
>   libmodplug, libmtp, libnotify, libraw1394, libshout, librsvg, libupnp,
>   libva, libvdpau, samba, taglib, twolame.

My question is similar to the one for the last patch. Can you check on
<https://hydra.gnu.org> if these packages build for all our supported
architectures? If so, okay for me.

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

* Re: [PATCH 3/3] gnu: vlc: Add inputs.
  2016-09-20 20:09 ` Leo Famulari
@ 2016-10-10 10:38   ` Alex Vong
  0 siblings, 0 replies; 5+ messages in thread
From: Alex Vong @ 2016-10-10 10:38 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel


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

Hello,

Thanks for the review. I check on hydra just now and indeed some inputs
does not build on all supported architectures, namely fluidsynth,
gst-plugins-base, libmpeg2 and samba. So I comment them out (in case
they are available in the future). Here is the new patch:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-vlc-Add-inputs.patch --]
[-- Type: text/x-diff, Size: 3312 bytes --]

From f73bc602a3c14cb7563df731b18b506423e27046 Mon Sep 17 00:00:00 2001
From: Alex Vong <alexvong1995@gmail.com>
Date: Tue, 30 Aug 2016 02:30:57 +0800
Subject: [PATCH] gnu: vlc: Add inputs.

* gnu/packages/video.scm (vlc)[inputs]: Add eudev, faad2, gtk+-2,
  jack-1, libass, libavc1394, libbluray, libcaca, libdca, libdvdnav,
  libdvdread, libmodplug, libmtp, libnotify, libraw1394, libshout,
  librsvg, libupnp, libva, libvdpau, taglib, twolame.
---
 gnu/packages/video.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 5e1bdf1..75a4f60 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -63,9 +63,12 @@
   #:use-module (gnu packages gl)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages guile)
+  #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
+  #:use-module (gnu packages libupnp)
+  #:use-module (gnu packages libusb)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages lua)
   #:use-module (gnu packages mp3)
@@ -614,20 +617,44 @@ audio/video codec library.")
      `(("alsa-lib" ,alsa-lib)
        ("avahi" ,avahi)
        ("dbus" ,dbus)
+       ("eudev" ,eudev)
+       ("faad2" ,faad2)
        ("flac" ,flac)
        ("ffmpeg" ,ffmpeg-2.8)               ;fails to build against ffmpeg 3.0
+       ;; ("fluidsynth" ,fluidsynth) ; unavailable on armhf
        ("fontconfig" ,fontconfig)
        ("freetype" ,freetype)
+       ;; ("gnome-vfs" ,gnome-vfs) ; cannot be detected by configure
        ("gnutls" ,gnutls)
+       ;;("gst-plugins-base" ,gst-plugins-base) ;unavailable on armhf, mips64el
+       ("gtk+" ,gtk+-2)
+       ("jack" ,jack-1)
        ("liba52" ,liba52)
+       ("libass" ,libass)
+       ("libavc1394" ,libavc1394)
+       ("libbluray" ,libbluray)
+       ("libcaca" ,libcaca)
+       ("libdca" ,libdca)
        ("libcddb" ,libcddb)
+       ("libdvdnav" ,libdvdnav)
+       ("libdvdread" ,libdvdread)
        ("libgcrypt" ,libgcrypt)
        ("libkate" ,libkate)
        ("libmad" ,libmad)
+       ;; ("libmpeg2" ,libmpeg2) ; unavailable on armhf, mips64el
+       ("libmodplug" ,libmodplug)
+       ("libmtp" ,libmtp)
+       ("libnotify" ,libnotify)
        ("libogg" ,libogg)
        ("libpng" ,libpng)
+       ("libraw1394" ,libraw1394)
        ("libsamplerate" ,libsamplerate)
+       ("libshout" ,libshout)
        ("libssh2" ,libssh2)
+       ("librsvg" ,librsvg)
+       ("libupnp" ,libupnp)
+       ("libva" ,libva)
+       ("libvdpau" ,libvdpau)
        ("libvorbis" ,libvorbis)
        ("libtheora" ,libtheora)
        ("libxext" ,libxext)
@@ -644,9 +671,12 @@ audio/video codec library.")
        ("qt" ,qt) ; FIXME: reenable modular qt after update - requires building
        ;("qtbase" ,qtbase) with -std=gnu++11.
        ;("qtx11extras" ,qtx11extras)
+       ;; ("samba" ,samba) ; unavailable on mips64el
        ("sdl" ,sdl)
        ("sdl-image" ,sdl-image)
        ("speex" ,speex)
+       ("taglib" ,taglib)
+       ("twolame" ,twolame)
        ("xcb-util-keysyms" ,xcb-util-keysyms)))
     (arguments
      `(#:configure-flags
-- 
2.10.1


[-- Attachment #1.3: Type: text/plain, Size: 863 bytes --]


Cheers,
Alex

Leo Famulari <leo@famulari.name> writes:

> On Sat, Sep 10, 2016 at 11:08:18AM +0800, Alex Vong wrote:
>> From b9e30604e432586c89c5e33b27ba609852efd399 Mon Sep 17 00:00:00 2001
>> From: Alex Vong <alexvong1995@gmail.com>
>> Date: Tue, 30 Aug 2016 02:30:57 +0800
>> Subject: [PATCH 3/3] gnu: vlc: Add inputs.
>> 
>> * gnu/packages/video.scm (vlc)[inputs]: Add eudev, faad2, fluidsynth,
>>   gnome-vfs, gst-plugins-base, gtk+-2, jack-2, libass, libavc1394,
>>   libbluray, libcaca, libdca, libdvdnav, libdvdread, libmpeg2,
>>   libmodplug, libmtp, libnotify, libraw1394, libshout, librsvg, libupnp,
>>   libva, libvdpau, samba, taglib, twolame.
>
> My question is similar to the one for the last patch. Can you check on
> <https://hydra.gnu.org> if these packages build for all our supported
> architectures? If so, okay for me.

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

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

* Re: [PATCH 3/3] gnu: vlc: Add inputs.
  2016-09-10  3:08 [PATCH 3/3] gnu: vlc: Add inputs Alex Vong
  2016-09-20 20:09 ` Leo Famulari
@ 2016-10-10 14:55 ` Ricardo Wurmus
  2016-10-10 15:37   ` Alex Vong
  1 sibling, 1 reply; 5+ messages in thread
From: Ricardo Wurmus @ 2016-10-10 14:55 UTC (permalink / raw)
  To: Alex Vong; +Cc: guix-devel


Alex Vong <alexvong1995@gmail.com> writes:


> * gnu/packages/video.scm (vlc)[inputs]: Add eudev, faad2, fluidsynth,
>   gnome-vfs, gst-plugins-base, gtk+-2, jack-2, libass, libavc1394,
>   libbluray, libcaca, libdca, libdvdnav, libdvdread, libmpeg2,
>   libmodplug, libmtp, libnotify, libraw1394, libshout, librsvg, libupnp,
>   libva, libvdpau, samba, taglib, twolame.

Please use “jack-1” instead of “jack-2”.  They both work but we use
“jack-1” everywhere.

“jack-2” offers DBUS activation — if a user wants to have this they can
install “jack-2” into their profile and it will work just fine with
applications that were linked with “jack-1”.

In short: “jack-2” is only there for users who want DBUS support in
their JACK server, “jack-1” is for everyone and everything else.

~~ Ricardo

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

* Re: [PATCH 3/3] gnu: vlc: Add inputs.
  2016-10-10 14:55 ` Ricardo Wurmus
@ 2016-10-10 15:37   ` Alex Vong
  0 siblings, 0 replies; 5+ messages in thread
From: Alex Vong @ 2016-10-10 15:37 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

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

Hello,

Ricardo Wurmus <rekado@elephly.net> writes:

> Alex Vong <alexvong1995@gmail.com> writes:
>
>
>> * gnu/packages/video.scm (vlc)[inputs]: Add eudev, faad2, fluidsynth,
>>   gnome-vfs, gst-plugins-base, gtk+-2, jack-2, libass, libavc1394,
>>   libbluray, libcaca, libdca, libdvdnav, libdvdread, libmpeg2,
>>   libmodplug, libmtp, libnotify, libraw1394, libshout, librsvg, libupnp,
>>   libva, libvdpau, samba, taglib, twolame.
>
> Please use “jack-1” instead of “jack-2”.  They both work but we use
> “jack-1” everywhere.
>
> “jack-2” offers DBUS activation — if a user wants to have this they can
> install “jack-2” into their profile and it will work just fine with
> applications that were linked with “jack-1”.
>
> In short: “jack-2” is only there for users who want DBUS support in
> their JACK server, “jack-1” is for everyone and everything else.
>
> ~~ Ricardo

I think the new patch I send today uses jack-1 instead of jack-2. I must
have forgotten to mention I make the switch.

Cheers,
Alex

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

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

end of thread, other threads:[~2016-10-10 15:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-10  3:08 [PATCH 3/3] gnu: vlc: Add inputs Alex Vong
2016-09-20 20:09 ` Leo Famulari
2016-10-10 10:38   ` Alex Vong
2016-10-10 14:55 ` Ricardo Wurmus
2016-10-10 15:37   ` Alex Vong

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