WIP-GNOME

  • Done
  • quality assurance status badge
Details
6 participants
  • ???
  • Leo Prikler
  • Leo Famulari
  • Léo Le Bouter
  • Maxime Devos
  • Raghav Gururajan
Owner
unassigned
Submitted by
Raghav Gururajan
Severity
normal
R
R
Raghav Gururajan wrote on 7 Apr 2021 21:30
(address . guix-patches@gnu.org)
a2ba3972-409b-e74c-0202-ea192625ae40@raghavgururajan.name
Hello Guix!

I am starting this thread for wip-gnome branch.

Regards,
RG.
Attachment: OpenPGP_signature
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 01/22] gnu: gstreamer: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-1-rg@raghavgururajan.name
* gnu/packages/gstreamer.scm (gstreamer)[version]: Update to 1.18.4.
[arguments](glib-or-gtk): New argument.
[propagated-inputs]: Add elfutils, glib-networking and libunwind.
[native-inputs]: Add bash-completion and gettext-minimal.
[inputs]: Add gmp, gsl, gtk+ and libcap.
[synopsis]: Modify.
---
gnu/packages/gstreamer.scm | 41 ++++++++++++++++++++++++++------------
1 file changed, 28 insertions(+), 13 deletions(-)

Toggle diff (94 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 1c7ba98a86..dc9c833036 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -40,6 +40,7 @@
#:use-module (gnu packages audio)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages bison)
#:use-module (gnu packages cdrom)
#:use-module (gnu packages curl)
@@ -62,7 +63,9 @@
#:use-module (gnu packages libunwind)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
+ #:use-module (gnu packages maths)
#:use-module (gnu packages mp3)
+ #:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
#:use-module (gnu packages ocr)
@@ -461,19 +464,20 @@ the GStreamer multimedia framework.")
(define-public gstreamer
(package
(name "gstreamer")
- (version "1.18.2")
+ (version "1.18.4")
(source
(origin
- (method url-fetch)
- (uri (string-append
- "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-"
- version ".tar.xz"))
- (sha256
- (base32
- "0ijlmvr660m8zn09xlmnq1ajrziqsivp2hig5a9mabhcjx7ypkb6"))))
+ (method url-fetch)
+ (uri (string-append
+ "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "1igv9l4hm21kp1jmlwlagzs7ly1vaxv1sbda29q8247372dwkvls"))))
(build-system meson-build-system)
(arguments
- `(#:phases
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:phases
(modify-phases %standard-phases
,@%common-gstreamer-phases
;; FIXME: Since switching to the meson-build-system, two tests
@@ -487,24 +491,35 @@ the GStreamer multimedia framework.")
(("tcase_add_test \\(tc_chain, test_stress_cleanup_unschedule.*")
"")
(("tcase_add_test \\(tc_chain, test_stress_reschedule.*")
- ""))
+ ""))
#t)))
'()))))
- (propagated-inputs `(("glib" ,glib))) ; required by gstreamer-1.0.pc.
+ (propagated-inputs
+ `(("elfutils" ,elfutils)
+ ("glib" ,glib)
+ ("glib-networking" ,glib-networking)
+ ("libunwind" ,libunwind)))
(native-inputs
- `(("bison" ,bison)
+ `(("bash-completion" ,bash-completion)
+ ("bison" ,bison)
("flex" ,flex)
+ ("gettext" ,gettext-minimal)
("glib" ,glib "bin")
("gobject-introspection" ,gobject-introspection)
("perl" ,perl)
("pkg-config" ,pkg-config)
("python-wrapper" ,python-wrapper)))
+ (inputs
+ `(("gmp" ,gmp)
+ ("gsl" ,gsl)
+ ("gtk+" ,gtk+)
+ ("setcap" ,libcap)))
(native-search-paths
(list (search-path-specification
(variable "GST_PLUGIN_SYSTEM_PATH")
(files '("lib/gstreamer-1.0")))))
(home-page "https://gstreamer.freedesktop.org/")
- (synopsis "Multimedia library")
+ (synopsis "Multimedia framework core library")
(description
"GStreamer is a library for constructing graphs of media-handling
components. The applications it supports range from simple Ogg/Vorbis
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 02/22] gnu: gst-plugins-base: Fix indentation.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-2-rg@raghavgururajan.name
* gnu/packages/gstreamer.scm (gst-plugins-base): Fix indentation.
---
gnu/packages/gstreamer.scm | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)

Toggle diff (55 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index dc9c833036..72a03c9e8e 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -539,16 +539,16 @@ This package provides the core library and elements.")
(version "1.18.2")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://gstreamer.freedesktop.org/src/" name "/"
- name "-" version ".tar.xz"))
- (sha256
- (base32
- "1b05kg46azrxxvq42c71071lfsnc34pw4vynnkczdqi6g0gzn16x"))))
+ (method url-fetch)
+ (uri (string-append "https://gstreamer.freedesktop.org/src/" name "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1b05kg46azrxxvq42c71071lfsnc34pw4vynnkczdqi6g0gzn16x"))))
(build-system meson-build-system)
(propagated-inputs
- `(("glib" ,glib) ;required by gstreamer-sdp-1.0.pc
- ("gstreamer" ,gstreamer) ;required by gstreamer-plugins-base-1.0.pc
+ `(("glib" ,glib) ;required by gstreamer-sdp-1.0.pc
+ ("gstreamer" ,gstreamer) ;required by gstreamer-plugins-base-1.0.pc
;; XXX: Do not enable Orc optimizations on ARM systems because
;; it leads to two test failures.
@@ -556,7 +556,7 @@ This package provides the core library and elements.")
,@(if (string-prefix? "arm" (or (%current-target-system)
(%current-system)))
'()
- `(("orc" ,orc))))) ;required by gstreamer-audio-1.0.pc
+ `(("orc" ,orc))))) ;required by gstreamer-audio-1.0.pc
(inputs
`(("cdparanoia" ,cdparanoia)
("pango" ,pango)
@@ -574,10 +574,10 @@ This package provides the core library and elements.")
`(("opus" ,opus))
'())))
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("glib:bin" ,glib "bin")
- ("gobject-introspection" ,gobject-introspection)
- ("python-wrapper" ,python-wrapper)))
+ `(("pkg-config" ,pkg-config)
+ ("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("python-wrapper" ,python-wrapper)))
(arguments
`(#:configure-flags '("-Dgl=disabled")
#:phases
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 04/22] gnu: gst-plugins-base: Add missing inputs to enable more features.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-4-rg@raghavgururajan.name
* gnu/packages/gstreamer.scm (gst-plugins-base)[inputs]: Add gdk-pixbuf+svg,
glu, graphene, gtk+, iso-codes, libgudev, libjpeg-turbo, libvisual,
libxshmfence, mesa, sdl and wayland.
---
gnu/packages/gstreamer.scm | 23 ++++++++++++++++++-----
1 file changed, 18 insertions(+), 5 deletions(-)

Toggle diff (46 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index d6b2013f97..a95d260d08 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -559,21 +559,34 @@ This package provides the core library and elements.")
'()
`(("orc" ,orc))))) ;required by gstreamer-audio-1.0.pc
(inputs
- `(("cdparanoia" ,cdparanoia)
- ("pango" ,pango)
+ `(("alsa-lib" ,alsa-lib)
+ ("cdparanoia" ,cdparanoia)
+ ("gdk-pixbuf" ,gdk-pixbuf+svg)
+ ("glu" ,glu)
+ ("graphene" ,graphene)
+ ("gtk+" ,gtk+)
+ ("iso-codes" ,iso-codes)
+ ("libgudev" ,libgudev)
+ ("libjpeg" ,libjpeg-turbo)
("libogg" ,libogg)
("libtheora" ,libtheora)
+ ("libvisual" ,libvisual)
("libvorbis" ,libvorbis)
("libx11" ,libx11)
- ("zlib" ,zlib)
("libXext" ,libxext)
+ ("libxext" ,libxext)
+ ("libxshm" ,libxshmfence)
("libxv" ,libxv)
- ("alsa-lib" ,alsa-lib)
+ ("mesa" ,mesa)
;; XXX Don't build with opus on 32-bit systems:
;; <https://bugs.gnu.org/32360>
,@(if (target-64bit?)
`(("opus" ,opus))
- '())))
+ '())
+ ("sdl" ,sdl)
+ ("wayland" ,wayland)
+ ("pango" ,pango)
+ ("zlib" ,zlib)))
(native-inputs
`(("gettext" ,gettext-minimal)
("glib:bin" ,glib "bin")
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 03/22] gnu: gst-plugins-base: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-3-rg@raghavgururajan.name
* gnu/packages/gstreamer.scm (gst-plugins-base)[version]: Update to 1.18.4.
[arguments](glib-or-gtk): New argument.
[configure-flags](gl): Remove flag.
[phases](pre-check): New phase.
[native-inputs]: Add gettext-minimal, gsettings-desktop-schemas, perl
and xorg-server-for-tests.
[propagated-inputs]: Add glib-networking.
[synopsis]: Modify.
[description]: Modify.
---
gnu/packages/gstreamer.scm | 36 +++++++++++++++++++++++++++---------
1 file changed, 27 insertions(+), 9 deletions(-)

Toggle diff (78 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 72a03c9e8e..d6b2013f97 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -536,7 +536,7 @@ This package provides the core library and elements.")
(define-public gst-plugins-base
(package
(name "gst-plugins-base")
- (version "1.18.2")
+ (version "1.18.4")
(source
(origin
(method url-fetch)
@@ -544,10 +544,11 @@ This package provides the core library and elements.")
name "-" version ".tar.xz"))
(sha256
(base32
- "1b05kg46azrxxvq42c71071lfsnc34pw4vynnkczdqi6g0gzn16x"))))
+ "08w3ivbc6n4vdds2ap6q7l8zdk9if8417nznyqidf0adm0lk5r99"))))
(build-system meson-build-system)
(propagated-inputs
- `(("glib" ,glib) ;required by gstreamer-sdp-1.0.pc
+ `(("glib" ,glib) ;required by gstreamer-sdp-1.0.pc
+ ("glib-networking" ,glib-networking)
("gstreamer" ,gstreamer) ;required by gstreamer-plugins-base-1.0.pc
;; XXX: Do not enable Orc optimizations on ARM systems because
@@ -574,12 +575,16 @@ This package provides the core library and elements.")
`(("opus" ,opus))
'())))
(native-inputs
- `(("pkg-config" ,pkg-config)
+ `(("gettext" ,gettext-minimal)
("glib:bin" ,glib "bin")
("gobject-introspection" ,gobject-introspection)
- ("python-wrapper" ,python-wrapper)))
+ ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
+ ("perl" ,perl)
+ ("pkg-config" ,pkg-config)
+ ("python-wrapper" ,python-wrapper)
+ ("xorg-server" ,xorg-server-for-tests)))
(arguments
- `(#:configure-flags '("-Dgl=disabled")
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
#:phases
(modify-phases %standard-phases
,@%common-gstreamer-phases
@@ -587,12 +592,25 @@ This package provides the core library and elements.")
(lambda _
(substitute* "tests/check/libs/pbutils.c"
(("/bin/sh") (which "sh")))
+ #t))
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; Tests require a running X server.
+ (system "Xvfb :1 +extension GLX &")
+ (setenv "DISPLAY" ":1")
+ ;; Tests write to $HOME.
+ (setenv "HOME" (getcwd))
+ ;; Tests look for $XDG_RUNTIME_DIR.
+ (setenv "XDG_RUNTIME_DIR" (getcwd))
+ ;; For missing '/etc/machine-id'.
+ (setenv "DBUS_FATAL_WARNINGS" "0")
#t)))))
(home-page "https://gstreamer.freedesktop.org/")
(synopsis
- "Plugins for the GStreamer multimedia library")
- (description "This package provides an essential exemplary set of plug-ins
-for the GStreamer multimedia library.")
+ "GStreamer plugins and helper libraries")
+ (description "Gst-Plugins-Base is a well-groomed and well-maintained
+collection of GStreamer plug-ins and elements, spanning the range of possible
+types of elements one would want to write for GStreamer.")
(license license:lgpl2.0+)))
(define-public gst-plugins-good
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 05/22] gnu: gst-plugins-good: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-5-rg@raghavgururajan.name
* gnu/packages/gstreamer.scm (gst-plugins-good)[version]: Update to 1.18.4.
---
gnu/packages/gstreamer.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index a95d260d08..f1f8278188 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -629,7 +629,7 @@ types of elements one would want to write for GStreamer.")
(define-public gst-plugins-good
(package
(name "gst-plugins-good")
- (version "1.18.2")
+ (version "1.18.4")
(source
(origin
(method url-fetch)
@@ -639,7 +639,7 @@ types of elements one would want to write for GStreamer.")
name "-" version ".tar.xz"))
(patches (search-patches "gst-plugins-good-fix-test.patch"))
(sha256
- (base32 "1929nhjsvbl4bw37nfagnfsnxz737cm2x3ayz9ayrn9lwkfm45zp"))))
+ (base32 "1c1rpq709cy8maaykyn1n0kckj9c6fl3mhvixkk6xmdwkcx0xrdn"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 06/22] gnu: gst-plugins-ugly: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-6-rg@raghavgururajan.name
* gnu/packages/gstreamer.scm (gst-plugins-upgly)[version]: Update to 1.18.4.
---
gnu/packages/gstreamer.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index f1f8278188..7af9c0482a 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -828,7 +828,7 @@ par compared to the rest.")
(define-public gst-plugins-ugly
(package
(name "gst-plugins-ugly")
- (version "1.18.2")
+ (version "1.18.4")
(source
(origin
(method url-fetch)
@@ -836,7 +836,7 @@ par compared to the rest.")
(string-append "https://gstreamer.freedesktop.org/src/"
name "/" name "-" version ".tar.xz"))
(sha256
- (base32 "1nwbcv5yaib3d8icvyja3zf6lyjf5zf1hndbijrhj8j7xlia0dx3"))))
+ (base32 "0g6i4db1883q3j0l2gdv46fcqwiiaw63n6mhvsfcms1i1p7g1391"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 07/22] gnu: ibus: Update to 1.5.24.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-7-rg@raghavgururajan.name
* gnu/packages/ibus.scm (ibus)[version]: Update to 1.5.24.
[inputs]: Add glib, libxkbcommon, libxtst and python-dbus. Move
ucd, unicode-cldr-common and unicode-emoji from ...
[native-inputs]: ... here. Add gnome-common, perl, python-wrapper
and which.
---
gnu/packages/ibus.scm | 35 +++++++++++++++++++++++------------
1 file changed, 23 insertions(+), 12 deletions(-)

Toggle diff (83 lines)
diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index fc59ea1c6b..e566993b08 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -49,18 +49,21 @@
#:use-module (gnu packages gtk)
#:use-module (gnu packages iso-codes)
#:use-module (gnu packages logging)
+ #:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-xyz)
#:use-module (gnu packages serialization)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages textutils)
#:use-module (gnu packages unicode)
- #:use-module (gnu packages xorg))
+ #:use-module (gnu packages xorg)
+ #:use-module (gnu packages xdisorg))
(define-public ibus
(package
(name "ibus")
- (version "1.5.22")
+ (version "1.5.24")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/ibus/ibus/"
@@ -68,7 +71,7 @@
version "/ibus-" version ".tar.gz"))
(sha256
(base32
- "0jmy2w01phpmqnjnfnak7nvfna57mpgfnl87jwc4iai8ijjynw41"))))
+ "07s2ly75xv50bqg37mn37i9akqvcfd45k2mbplxrsqk3a2b3mwxb"))))
(build-system glib-or-gtk-build-system)
(arguments
`(#:tests? #f ; tests fail because there's no connection to dbus
@@ -138,26 +141,34 @@
(inputs
`(("dbus" ,dbus)
("dconf" ,dconf)
+ ("glib" ,glib)
("gtk2" ,gtk+-2)
("gtk+" ,gtk+)
+ ("iso-codes" ,iso-codes)
("json-glib" ,json-glib)
("libnotify" ,libnotify)
("libx11" ,libx11)
+ ("libxkbcommon" ,libxkbcommon)
+ ("libxtst" ,libxtst)
+ ("pygobject" ,python-pygobject)
+ ("python" ,python)
+ ("python-dbus" ,python-dbus)
("setxkbmap" ,setxkbmap)
+ ("ucd" ,ucd)
+ ("unicode-cldr-common" ,unicode-cldr-common)
+ ("unicode-emoji" ,unicode-emoji)
("wayland" ,wayland)
- ("xmodmap" ,xmodmap)
- ("iso-codes" ,iso-codes)
- ("pygobject2" ,python-pygobject)
- ("python" ,python)))
+ ("xmodmap" ,xmodmap)))
(native-inputs
- `(("glib" ,glib "bin") ; for glib-genmarshal
+ `(("glib" ,glib "bin") ; for glib-genmarshal
("gettext" ,gettext-minimal)
+ ("gnome-common" ,gnome-common)
("gobject-introspection" ,gobject-introspection) ; for g-ir-compiler
- ("ucd" ,ucd)
- ("unicode-emoji" ,unicode-emoji)
- ("unicode-cldr-common" ,unicode-cldr-common)
+ ("perl" ,perl)
+ ("pkg-config" ,pkg-config)
+ ("python-wrapper" ,python-wrapper)
("vala" ,vala)
- ("pkg-config" ,pkg-config)))
+ ("which" ,which)))
(native-search-paths
(list (search-path-specification
(variable "IBUS_COMPONENT_PATH")
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 08/22] gnu: ibus: Enable documentation.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-8-rg@raghavgururajan.name
* gnu/packages/ibus.scm (ibus)[outputs](doc): New output.
[configure-flags](enable-gtk-doc): New flag.
[phases](patch-docbook-xml): New phase.
(move-doc): New phase.
[native-inputs]: Add docbook-xml and gtk-doc.
---
gnu/packages/ibus.scm | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)

Toggle diff (72 lines)
diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index e566993b08..b6687239df 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -42,6 +42,7 @@
#:use-module (gnu packages databases)
#:use-module (gnu packages datastructures)
#:use-module (gnu packages dbm)
+ #:use-module (gnu packages docbook)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
@@ -73,10 +74,12 @@
(base32
"07s2ly75xv50bqg37mn37i9akqvcfd45k2mbplxrsqk3a2b3mwxb"))))
(build-system glib-or-gtk-build-system)
+ (outputs '("out" "doc"))
(arguments
`(#:tests? #f ; tests fail because there's no connection to dbus
#:parallel-build? #f ; race condition discovered with emoji support
#:configure-flags (list "--enable-python-library"
+ "--enable-gtk-doc"
(string-append
"--with-unicode-emoji-dir="
(assoc-ref %build-inputs "unicode-emoji")
@@ -91,6 +94,14 @@
"--enable-wayland")
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "docs/reference/ibus"
+ (substitute* "ibus-docs.sgml.in"
+ (("http://www.oasis-open.org/docbook/xml/4.1.2/")
+ (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook/"))))
+ #t))
(add-after 'unpack 'patch-python-target-directories
(lambda* (#:key outputs #:allow-other-keys)
(let ((root (string-append (assoc-ref outputs "out")
@@ -127,6 +138,15 @@
(("\"(setxkbmap|xmodmap)\"" _ prog)
(string-append "\"" (assoc-ref inputs prog) "/bin/" prog "\"")))
#t))
+ (add-after 'install 'move-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (assoc-ref outputs "doc")))
+ (mkdir-p (string-append doc "/share"))
+ (rename-file
+ (string-append out "/share/gtk-doc")
+ (string-append doc "/share/gtk-doc"))
+ #t)))
(add-after 'wrap-program 'wrap-with-additional-paths
(lambda* (#:key outputs #:allow-other-keys)
;; Make sure 'ibus-setup' runs with the correct PYTHONPATH and
@@ -160,10 +180,12 @@
("wayland" ,wayland)
("xmodmap" ,xmodmap)))
(native-inputs
- `(("glib" ,glib "bin") ; for glib-genmarshal
+ `(("docbook-xml" ,docbook-xml-4.1.2)
+ ("glib" ,glib "bin") ; for glib-genmarshal
("gettext" ,gettext-minimal)
("gnome-common" ,gnome-common)
("gobject-introspection" ,gobject-introspection) ; for g-ir-compiler
+ ("gtk-doc" ,gtk-doc)
("perl" ,perl)
("pkg-config" ,pkg-config)
("python-wrapper" ,python-wrapper)
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 09/22] gnu: ibus: Enable memconf.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-9-rg@raghavgururajan.name
* gnu/packages/ibus.scm (ibus)[configure-flags](enable-memconf): New flag.
---
gnu/packages/ibus.scm | 1 +
1 file changed, 1 insertion(+)

Toggle diff (14 lines)
diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index b6687239df..3f151d9cd7 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -80,6 +80,7 @@
#:parallel-build? #f ; race condition discovered with emoji support
#:configure-flags (list "--enable-python-library"
"--enable-gtk-doc"
+ "--enable-memconf"
(string-append
"--with-unicode-emoji-dir="
(assoc-ref %build-inputs "unicode-emoji")
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 10/22] gnu: ibus: Enable tests.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-10-rg@raghavgururajan.name
* gnu/packages/ibus.scm (ibus)[arguments](tests): Remove argument.
(parallel-tests): New argument.
[patches](disable-failing-tests): New phase.
(pre-check): New phase.
[native-inputs]: Add xorg-server-for-tests.
---
gnu/packages/ibus.scm | 30 +++++++++++++++++++++++++++---
1 file changed, 27 insertions(+), 3 deletions(-)

Toggle diff (76 lines)
diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index 3f151d9cd7..7e7d6c64d1 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -76,7 +76,7 @@
(build-system glib-or-gtk-build-system)
(outputs '("out" "doc"))
(arguments
- `(#:tests? #f ; tests fail because there's no connection to dbus
+ `(#:parallel-tests? #f
#:parallel-build? #f ; race condition discovered with emoji support
#:configure-flags (list "--enable-python-library"
"--enable-gtk-doc"
@@ -95,6 +95,14 @@
"--enable-wayland")
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'disable-failing-tests
+ (lambda _
+ ;; These tests require /etc/machine-id.
+ (with-directory-excursion "src/tests"
+ (substitute* '("ibus-share.c" "ibus-compose.c"
+ "ibus-keypress.c")
+ (("[ \t]*return g_test_run \\(\\);") "")))
+ #t))
(add-after 'unpack 'patch-docbook-xml
(lambda* (#:key inputs #:allow-other-keys)
(with-directory-excursion "docs/reference/ibus"
@@ -102,7 +110,7 @@
(("http://www.oasis-open.org/docbook/xml/4.1.2/")
(string-append (assoc-ref inputs "docbook-xml")
"/xml/dtd/docbook/"))))
- #t))
+ #t))
(add-after 'unpack 'patch-python-target-directories
(lambda* (#:key outputs #:allow-other-keys)
(let ((root (string-append (assoc-ref outputs "out")
@@ -139,6 +147,20 @@
(("\"(setxkbmap|xmodmap)\"" _ prog)
(string-append "\"" (assoc-ref inputs prog) "/bin/" prog "\"")))
#t))
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; Tests write to $HOME.
+ (setenv "HOME" (getcwd))
+ ;; Tests look for $XDG_RUNTIME_DIR.
+ (setenv "XDG_RUNTIME_DIR" (getcwd))
+ ;; For missing '/etc/machine-id'.
+ (setenv "DBUS_FATAL_WARNINGS" "0")
+ ;; Tests require a running X server.
+ (system "Xvfb :1 +extension GLX &")
+ (setenv "DISPLAY" ":1")
+ ;; Tests require running iBus daemon.
+ (system "./bus/ibus-daemon --daemonize")
+ #t))
(add-after 'install 'move-doc
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@@ -186,12 +208,14 @@
("gettext" ,gettext-minimal)
("gnome-common" ,gnome-common)
("gobject-introspection" ,gobject-introspection) ; for g-ir-compiler
+ ("gtk+:bin" ,gtk+ "bin")
("gtk-doc" ,gtk-doc)
("perl" ,perl)
("pkg-config" ,pkg-config)
("python-wrapper" ,python-wrapper)
("vala" ,vala)
- ("which" ,which)))
+ ("which" ,which)
+ ("xorg-server" ,xorg-server-for-tests)))
(native-search-paths
(list (search-path-specification
(variable "IBUS_COMPONENT_PATH")
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 11/22] gnu: librsvg: Correct unbound variable.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-11-rg@raghavgururajan.name
* gnu/packages/gnome.scm (librsvg)[phases](gnu-configure): Modify.
---
gnu/packages/gnome.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Toggle diff (15 lines)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index f296fa37d4..0cb3287d6a 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3443,7 +3443,7 @@ for dealing with different structured file formats.")
(list "--disable-static"
"--enable-vala"
(string-append "--with-html-dir="
- (assoc-ref %outputs "doc")
+ (assoc-ref outputs "doc")
"/share/gtk-doc/html")))))
(add-after 'configure 'dont-vendor-self
(lambda* (#:key vendor-dir #:allow-other-keys)
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 12/22] gnu: gst-libav: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-12-rg@raghavgururajan.name
* gnu/packages/gstreamer.scm (gst-libav)[version]: Update to 1.18.4.
---
gnu/packages/gstreamer.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 7af9c0482a..0fa658c19d 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -887,7 +887,7 @@ think twice about shipping them.")
(define-public gst-libav
(package
(name "gst-libav")
- (version "1.18.2")
+ (version "1.18.4")
(source
(origin
(method url-fetch)
@@ -896,7 +896,7 @@ think twice about shipping them.")
"https://gstreamer.freedesktop.org/src/" name "/"
name "-" version ".tar.xz"))
(sha256
- (base32 "0jbzams9ggk3sq9ywv4gsl9rghyn203l2582m6l5c1sz9ka9m5in"))))
+ (base32 "15n3x3vhshqa3icw93g4vqmqd46122anzqvfxwn6q8famlxlcjil"))))
(build-system meson-build-system)
(native-inputs
`(("perl" ,perl)
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 13/22] gnu: iqa: Correct source uri.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-13-rg@raghavgururajan.name
* gnu/packages/image.scm (iqa)[source]: Modify URI.
---
gnu/packages/image.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (17 lines)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 25c121908d..e5817d3082 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -112,8 +112,8 @@
(origin
(method url-fetch)
(uri
- (string-append "https://sourceforge.net/projects/iqa/files/"
- "1.1.2%20Release/iqa_1.1.2_src.tar.gz/download"))
+ (string-append "mirror://sourceforge/iqa/"
+ version " Release" "/iqa_" version "_src.tar.gz"))
(sha256
(base32 "00mgwy031ammab6bwmd1whhvqv3fxy1cs1igabq0n3ag12zhjs77"))))
(build-system gnu-build-system)
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 14/22] gnu: faac: Correct source uri.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-14-rg@raghavgururajan.name
* gnu/packages/audio.scm (faac)[source]: Modify URI.
---
gnu/packages/audio.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (17 lines)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 0cc3393361..9188c76976 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -383,8 +383,8 @@ by MusicIP.")
(origin
(method url-fetch)
(uri
- (string-append "https://sourceforge.net/projects/faac/files/faac-src/"
- "faac-1.30/faac-1_30.tar.gz/download"))
+ (string-append "mirror://sourceforge/faac/faac-src"
+ "/faac-" version "/faac-1_30.tar.gz"))
(sha256
(base32 "1lmj0dib3mjp84jhxc5ddvydkzzhb0gfrdh3ikcidjlcb378ghxd"))))
(build-system gnu-build-system)
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 15/22] gnu: zbar: Update to 0.23.92.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-15-rg@raghavgururajan.name
* gnu/packages/aidc.scm (zbar)[version]: Update to 0.23.92.
[source]: Switch to git repository.
[native-inputs]: Add autoconf, automake, gettext-minimal, libtool
and python-wrapper. Move gobject-introspection to here from ...
[inputs]: ... here. Add dbus and perl. Move gtk+ and qtbase to ...
[propagated-inputs]: ... here. Add glib.
---
gnu/packages/aidc.scm | 36 +++++++++++++++++++++++++-----------
1 file changed, 25 insertions(+), 11 deletions(-)

Toggle diff (76 lines)
diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm
index 6628a8ead3..1b75f06a89 100644
--- a/gnu/packages/aidc.scm
+++ b/gnu/packages/aidc.scm
@@ -30,9 +30,11 @@
#:use-module (gnu packages autotools)
#:use-module (gnu packages check)
#:use-module (gnu packages imagemagick)
+ #:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
+ #:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
@@ -160,16 +162,18 @@ C/C++ programs to use its capabilities without restrictions or overhead.")
(define-public zbar
(package
(name "zbar")
- (version "0.23")
+ (version "0.23.92")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://linuxtv.org/downloads/zbar/zbar-"
- version
- ".tar.bz2"))
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/mchehab/zbar")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0bmd93a15qpgbsq9c9j33qms18rdrgz6gbc48zi6z9w5pvrvi7z9"))))
+ "0k3g0ql2m4dnflppp9r3k804d927g7zslczblzcrbvhp02g6n5an"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags (list "--with-gtk=auto"
@@ -178,17 +182,27 @@ C/C++ programs to use its capabilities without restrictions or overhead.")
(assoc-ref %outputs "out")
"/etc"))))
(native-inputs
- `(("glib" ,glib "bin")
- ("pkg-config" ,pkg-config)))
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("gettext" ,gettext-minimal)
+ ("glib" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("libtool" ,libtool)
+ ("pkg-config" ,pkg-config)
+ ("python-wrapper" ,python-wrapper)))
(inputs
- `(("gobject-introspection" ,gobject-introspection)
- ("gtk+" ,gtk+)
+ `(("dbus" ,dbus)
("imagemagick" ,imagemagick)
("libjpeg" ,libjpeg-turbo)
+ ("perl" ,perl)
("python" ,python)
- ("qtbase" ,qtbase)
("qtx11extras" ,qtx11extras)
("v4l-utils" ,v4l-utils)))
+ (propagated-inputs
+ ;; These are in 'requires' field of .pc files.
+ `(("glib" ,glib)
+ ("gtk+" ,gtk+)
+ ("qtbase" ,qtbase)))
(synopsis "Bar code reader")
(description
"ZBar can read barcodes from various sources, such as video streams,
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 16/22] gnu: transcode: Disable v4l support due to broken API.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-16-rg@raghavgururajan.name
* gnu/packages/video.scm (transcode)[inputs]: Remove v4l-utils.
[configure-flags](enable-libv4l2,enable-v4l): Remove flags.
---
gnu/packages/video.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)

Toggle diff (30 lines)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 6a2de91227..1e48782b10 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -200,10 +200,12 @@
(arguments
`(#:configure-flags
(list
- "--enable-libv4l2"
+ ;; XXX: Broken API.
+ ;; "--enable-libv4l2"
"--enable-libmpeg2"
"--enable-libmpeg2convert"
- "--enable-v4l"
+ ;; XXX: Broken API.
+ ;; "--enable-v4l"
;;; XXX: Not available.
;"--enable-bktr"
;"--enable-sunau"
@@ -265,7 +267,7 @@
("lzo" ,lzo)
("mjepgtools" ,mjpegtools)
("sdl" ,sdl)
- ("v4l-utils" ,v4l-utils)
+ ;; ("v4l-utils" ,v4l-utils)
("x11" ,libx11)
("x264" ,libx264)
("xaw" ,libxaw)
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 18/22] gnu: gst-plugins-bad: Fix indentation.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-18-rg@raghavgururajan.name
* gnu/packages/gstreamer.scm (gst-plugins-bad): Fix indentation.
---
gnu/packages/gstreamer.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Toggle diff (28 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 0fa658c19d..2927856133 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -767,7 +767,7 @@ model to base your own plug-in on, here it is.")
(propagated-inputs
`(("gst-plugins-base" ,gst-plugins-base)))
(native-inputs
- `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
+ `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
("gobject-introspection" ,gobject-introspection)
("gst-plugins-good" ,gst-plugins-good) ;for tests
("pkg-config" ,pkg-config)
@@ -809,9 +809,9 @@ model to base your own plug-in on, here it is.")
("openssl" ,openssl)
("opus" ,opus)
("orc" ,orc)
- ;("qtbase" ,qtbase)
- ;("qtdeclarative" ,qtdeclarative)
- ;("qtx11extras" ,qtx11extras)
+ ;("qtbase" ,qtbase)
+ ;("qtdeclarative" ,qtdeclarative)
+ ;("qtx11extras" ,qtx11extras)
("soundtouch" ,soundtouch)
;; GStreamer is not yet compatible with srt > 1.4.1.
("srt" ,srt-1.4.1)
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 19/22] gnu: gst-plugins-bad: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-19-rg@raghavgururajan.name
* gnu/packages/gstreamer.scm (gst-plugins-bad)[version]: Update to 1.18.4.
[arguments](glib-or-gtk): New argument.
[phases](pre-check): New phase.
[propagated-inputs]: Add gstreamer.
[native-inputs]: Add gettext-minimal, gsettings-desktop-schemas, perl and
xorg-server-for-tests. Replace python with python-wrapper.
[synopsis]: Modify.
[description]: Modify.
---
gnu/packages/gstreamer.scm | 40 ++++++++++++++++++++++++++++----------
1 file changed, 30 insertions(+), 10 deletions(-)

Toggle diff (81 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 2927856133..77b2988bd5 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -720,17 +720,18 @@ model to base your own plug-in on, here it is.")
(define-public gst-plugins-bad
(package
(name "gst-plugins-bad")
- (version "1.18.2")
+ (version "1.18.4")
(source (origin
(method url-fetch)
(uri (string-append "https://gstreamer.freedesktop.org/src/"
name "/" name "-" version ".tar.xz"))
(sha256
(base32
- "06ildd4rl6cynirv3p00d2ddf5is9svj4i7mkahldzhq24pq5mca"))))
+ "0py8k4pbalm9mxkpjbjxis0gp7g74wg5g4yax5q8rccmany0ds3l"))))
(build-system meson-build-system)
(arguments
- `(#:phases
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:phases
(modify-phases %standard-phases
,@%common-gstreamer-phases
,@(if (string-prefix? "arm" (or (%current-target-system)
@@ -763,15 +764,32 @@ model to base your own plug-in on, here it is.")
((".*elements/curlhttpsrc\\.c.*") "")
;; https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1412
((".*elements/dtls\\.c.*") ""))
- #t))))))
+ #t)))
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; Tests require a running X server.
+ (system "Xvfb :1 +extension GLX &")
+ (setenv "DISPLAY" ":1")
+ ;; Tests write to $HOME.
+ (setenv "HOME" (getcwd))
+ ;; Tests look for $XDG_RUNTIME_DIR.
+ (setenv "XDG_RUNTIME_DIR" (getcwd))
+ ;; For missing '/etc/machine-id'.
+ (setenv "DBUS_FATAL_WARNINGS" "0")
+ #t)))))
(propagated-inputs
- `(("gst-plugins-base" ,gst-plugins-base)))
+ `(("gstreamer" ,gstreamer)
+ ("gst-plugins-base" ,gst-plugins-base)))
(native-inputs
- `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
+ `(("gettext" ,gettext-minimal)
+ ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
("gobject-introspection" ,gobject-introspection)
+ ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("gst-plugins-good" ,gst-plugins-good) ;for tests
+ ("perl" ,perl)
("pkg-config" ,pkg-config)
- ("python" ,python)))
+ ("python" ,python-wrapper)
+ ("xorg-server" ,xorg-server-for-tests)))
(inputs
;; XXX: The following dependencies are missing:
;; vo-amrwbenc, vo-aacenc, bs2b, chromaprint, directfb, daala, libdts,
@@ -819,10 +837,12 @@ model to base your own plug-in on, here it is.")
("webrtc-audio-processing" ,webrtc-audio-processing)
("wayland" ,wayland)))
(home-page "https://gstreamer.freedesktop.org/")
- (synopsis "Plugins for the GStreamer multimedia library")
+ (synopsis "GStreamer plugins and helper libraries")
(description
- "GStreamer Bad Plug-ins is a set of plug-ins whose quality aren't up to
-par compared to the rest.")
+ "Gst-Plugins-Bad are Bad with a capital B. They look fine on the outside,
+and might even appear to get the job done, but at the end of the day they're a
+black sheep. Without a golden-haired angel to watch over them, they'll probably
+land in an unmarked grave at the final showdown.")
(license license:lgpl2.0+)))
(define-public gst-plugins-ugly
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 20/22] gnu: gst-plugins-bad: Add missing inputs to enable more features.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-20-rg@raghavgururajan.name
* gnu/packages/gstreamer.scm (gst-plugins-bad)[inputs]: Add bzip2,
cairo, chromaprint, directfb, faac, flite, glib, glib-networking,
glu, gsm, iqa, lcms, libaom, libbs2b, libdc1394, libdca, libde265,
libdrm, libexif, libfdk, libgme, libmfx, libmms, libmpcdec, libnice,
libofa, libopenmpt, libtiff, libva, libx11, libxcb, libxext, libxshm,
lilv, lv2, mjpegtools, nettle, openh264, opensles, pango, rtmpdump, sbc,
sctp, spandsp, srt, svt-hevc, transcode, v4l-utils, vo-aacenc, vo-amrwbenc,
vulkan-headers, vulkan-loader, webrtc-audio-processing, wildmidi,
wpebackend-fdo, zbar and zxing-cpp.
---
gnu/packages/gstreamer.scm | 84 ++++++++++++++++++++++++++++++++------
1 file changed, 72 insertions(+), 12 deletions(-)

Toggle diff (169 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 77b2988bd5..6225dfcbd3 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -37,6 +37,7 @@
#:use-module (guix build-system trivial)
#:use-module (guix utils)
#:use-module (gnu packages)
+ #:use-module (gnu packages aidc)
#:use-module (gnu packages audio)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
@@ -50,6 +51,7 @@
#:use-module (gnu packages flex)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
+ #:use-module (gnu packages ghostscript)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
@@ -58,6 +60,7 @@
#:use-module (gnu packages graphviz)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
+ #:use-module (gnu packages image-processing)
#:use-module (gnu packages iso-codes)
#:use-module (gnu packages java)
#:use-module (gnu packages libunwind)
@@ -66,10 +69,13 @@
#:use-module (gnu packages maths)
#:use-module (gnu packages mp3)
#:use-module (gnu packages multiprecision)
+ #:use-module (gnu packages music)
#:use-module (gnu packages ncurses)
+ #:use-module (gnu packages nettle)
#:use-module (gnu packages networking)
#:use-module (gnu packages ocr)
#:use-module (gnu packages perl)
+ #:use-module (gnu packages photo)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages qt)
#:use-module (gnu packages rdf)
@@ -87,6 +93,8 @@
#:use-module (gnu packages telephony)
#:use-module (gnu packages tls)
#:use-module (gnu packages version-control)
+ #:use-module (gnu packages vulkan)
+ #:use-module (gnu packages webkit)
#:use-module (gnu packages assembly)
#:use-module (gnu packages xml))
@@ -791,51 +799,103 @@ model to base your own plug-in on, here it is.")
("python" ,python-wrapper)
("xorg-server" ,xorg-server-for-tests)))
(inputs
- ;; XXX: The following dependencies are missing:
- ;; vo-amrwbenc, vo-aacenc, bs2b, chromaprint, directfb, daala, libdts,
- ;; faac, flite, libgsm, libde265, libmms, libmimic, mjpegtools,
- ;; mpeg2enc, libofa, opencv, openh264, openni2, libtimemmgr, wildmidi,
- ;; openspc, gme, sbc, schroedinger, zbar, librtmp, spandsp
`(("bluez" ,bluez)
+ ("bzip2" ,bzip2)
+ ("cairo" ,cairo)
+ ;; ("ccextractor" ,ccextractor)
+ ("chromaprint" ,chromaprint)
("curl" ,curl)
+ ("directfb" ,directfb)
+ ;;("dssim" ,dssim)
+ ("faac" ,faac)
("faad2" ,faad2)
+ ("flite" ,flite)
("fluidsynth" ,fluidsynth)
+ ("glib" ,glib)
+ ("glib-networking" ,glib-networking)
+ ("glu" ,glu)
+ ("gsm" ,gsm)
("gtk+" ,gtk+)
+ ("iqa" ,iqa)
("ladspa" ,ladspa)
+ ("lcms" ,lcms)
+ ("libaom" ,libaom)
("libass" ,libass)
+ ("libbs2b" ,libbs2b)
+ ("libdc1394" ,libdc1394)
+ ("libdca" ,libdca)
+ ("libde265" ,libde265)
+ ("libdrm" ,libdrm)
("libdvdnav" ,libdvdnav)
("libdvdread" ,libdvdread)
+ ("libexif" ,libexif)
+ ("libfdk" ,libfdk)
("libgcrypt" ,libgcrypt)
+ ("libgme" ,libgme)
("libgudev" ,libgudev)
("libkate" ,libkate)
+ ("libmfx" ,mediasdk)
+ ("libmms" ,libmms)
("libmodplug" ,libmodplug)
+ ("libmpcdec" ,libmpcdec)
("libnice" ,libnice)
+ ("libofa" ,libofa)
+ ("libopenmpt" ,libopenmpt)
("librsvg" ,librsvg)
("libsndfile" ,libsndfile)
("libsrtp" ,libsrtp)
("libssh2" ,libssh2)
+ ("libtiff" ,libtiff)
("libusb" ,libusb)
+ ("libva" ,libva)
("libvdpau" ,libvdpau)
("libwebp" ,libwebp)
+ ("libx11" ,libx11)
+ ("libxcb" ,libxcb)
+ ("libxext" ,libxext)
+ ("libxkbcommon" ,libxkbcommon)
("libxml2" ,libxml2)
+ ("libxshm" ,libxshmfence)
+ ("lilv" ,lilv)
("lrdf" ,lrdf)
+ ("lv2" ,lv2)
("mesa" ,mesa)
+ ("mjpegtools" ,mjpegtools)
("neon" ,neon)
+ ("nettle" ,nettle)
("openal" ,openal)
+ ;; ("opencv" ,opencv)
("openexr" ,openexr)
+ ("openh264" ,openh264)
("openjpeg" ,openjpeg)
+ ;; ("openni2" ,openni2)
+ ("opensles" ,opensles)
("openssl" ,openssl)
("opus" ,opus)
("orc" ,orc)
- ;("qtbase" ,qtbase)
- ;("qtdeclarative" ,qtdeclarative)
- ;("qtx11extras" ,qtx11extras)
+ ("pango" ,pango)
+ ("rtmp" ,rtmpdump)
+ ("sbc" ,sbc)
+ ("sctp" ,lksctp-tools)
("soundtouch" ,soundtouch)
- ;; GStreamer is not yet compatible with srt > 1.4.1.
- ("srt" ,srt-1.4.1)
+ ("spandsp" ,spandsp)
+ ("srt" ,srt)
+ ("svthevcenc" ,svt-hevc)
+ ("tinyalsa" ,tinyalsa)
+ ("transcode" ,transcode)
+ ("v4l" ,v4l-utils)
+ ("voaacenc", vo-aacenc)
+ ("voamrwbenc" ,vo-amrwbenc)
+ ("vulkan-headers" ,vulkan-headers)
+ ("vulkan-loader" ,vulkan-loader)
("x265" ,x265)
- ("webrtc-audio-processing" ,webrtc-audio-processing)
- ("wayland" ,wayland)))
+ ("wayland" ,wayland)
+ ("webrtcdsp" ,webrtc-audio-processing)
+ ("wildmidi" ,wildmidi)
+ ("wpebackend-fdo" ,wpebackend-fdo)
+ ;; ("wpewebkit" ,wpewebkit)
+ ("zbar" ,zbar)
+ ("zxing" ,zxing-cpp)))
(home-page "https://gstreamer.freedesktop.org/")
(synopsis "GStreamer plugins and helper libraries")
(description
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 17/22] gnu: flite: Update to 2.2.
(address . 47643@debbugs.gnu.org)(name . Tobias Geerinckx-Rice)(address . me@tobias.gr)
20210407204237.3875-17-rg@raghavgururajan.name
From: Tobias Geerinckx-Rice <me@tobias.gr>

* gnu/packages/speech.scm (flite): Update to 2.2.
[source]: Check out this git repository.
---
gnu/packages/speech.scm | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)

Toggle diff (38 lines)
diff --git a/gnu/packages/speech.scm b/gnu/packages/speech.scm
index 687a3c10cf..093f6f957b 100644
--- a/gnu/packages/speech.scm
+++ b/gnu/packages/speech.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2016 David Thompson <davet@gnu.org>
;;; Copyright © 2016, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
-;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2016 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
@@ -55,15 +55,16 @@
(define-public flite
(package
(name "flite")
- (version "2.1")
+ (version "2.2")
(source
(origin
- (method url-fetch)
- (uri
- (string-append "http://www.festvox.org/" name "/packed/" name
- "-" version "/" name "-" version "-release.tar.bz2"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/festvox/flite")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "119b7l7pjb1l5raqq24p8rmhdqni49vjh2mgdryrfr575rm3yg67"))))
+ (base32 "1n0p81jzndzc1rzgm66kw9ls189ricy5v1ps11y0p2fk1p56kbjf"))))
(build-system gnu-build-system)
(arguments
;; XXX:
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 21/22] gnu: gst-plugins-bad: Disable few more failing tests.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-21-rg@raghavgururajan.name
* gnu/packages/gstreamer.scm (gst-plugins-bad)[phases](adjust-tests): Modify.
---
gnu/packages/gstreamer.scm | 4 ++++
1 file changed, 4 insertions(+)

Toggle diff (17 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 6225dfcbd3..c03348e20c 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -764,6 +764,10 @@ model to base your own plug-in on, here it is.")
(string-append "'GST_PLUGIN_SYSTEM_PATH_1_0', '"
gst-plugins-good "/lib/gstreamer-1.0'"))
+ ;; https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1136
+ ((".*elements/msdkh264enc\\.c.*") "")
+ ((".*elements/svthevcenc\\.c.*") "")
+
;; FIXME: Why is this failing.
((".*elements/dash_mpd\\.c.*") "")
--
2.31.1
R
R
Raghav Gururajan wrote on 7 Apr 2021 22:42
[PATCH 22/22] gnu: gst-editing-services: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210407204237.3875-22-rg@raghavgururajan.name
* gnu/packages/gstreamer.scm (gst-editing-services)[version]: Update to 1.18.4.
[arguments](glib-or-gtk): New argument.
[inputs]: Add glib, glib-networking and gtk+. Move gst-plugins-base to ...
[propagated-inputs]: ... here. Add gstreamer.
[native-inputs]: Replace python with python-wrapper.
---
gnu/packages/gstreamer.scm | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)

Toggle diff (48 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index c03348e20c..20a6ebd829 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -1001,7 +1001,7 @@ decoders, muxers, and demuxers provided by FFmpeg.")
(define-public gst-editing-services
(package
(name "gst-editing-services")
- (version "1.18.2")
+ (version "1.18.4")
(source (origin
(method url-fetch)
(uri (string-append
@@ -1009,15 +1009,21 @@ decoders, muxers, and demuxers provided by FFmpeg.")
"gst-editing-services-" version ".tar.xz"))
(sha256
(base32
- "0pv2k8zlpn3vv2sdlspi3m63ixcwzi90pjly2ypbkg59ab97rb15"))))
+ "010xg960qsh5dwmf0y9l1q13h0cymmrgapzla2zsw66ylxqbi1s6"))))
(build-system meson-build-system)
(arguments
;; FIXME: 16/22 failing tests.
`(#:tests? #f
+ #:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
#:phases (modify-phases %standard-phases
,@%common-gstreamer-phases)))
+ (propagated-inputs
+ `(("gstreamer" ,gstreamer)
+ ("gst-plugins-base" ,gst-plugins-base)))
(inputs
- `(("gst-plugins-base" ,gst-plugins-base)
+ `(("glib" ,glib)
+ ("glib-networking" ,glib-networking)
+ ("gtk+" ,gtk+)
("libxml2" ,libxml2)))
(native-inputs
`(("flex" ,flex)
@@ -1027,7 +1033,7 @@ decoders, muxers, and demuxers provided by FFmpeg.")
("gst-plugins-good" ,gst-plugins-good)
("perl" ,perl)
("pkg-config" ,pkg-config)
- ("python" ,python)))
+ ("python" ,python-wrapper)))
(home-page "https://gstreamer.freedesktop.org/")
(synopsis "GStreamer library for non-linear editors")
(description
--
2.31.1
L
L
Leo Famulari wrote on 9 Apr 2021 01:18
Re: [bug#47643] [PATCH 15/22] gnu: zbar: Update to 0.23.92.
(name . Raghav Gururajan via Guix-patches via)(address . guix-patches@gnu.org)
YG+PU/RnhxGTqtsT@jasmine.lan
Thanks for taking on the task of upgrading GStreamer!

On Wed, Apr 07, 2021 at 04:42:30PM -0400, Raghav Gururajan via Guix-patches via wrote:
Toggle quote (7 lines)
> * gnu/packages/aidc.scm (zbar)[version]: Update to 0.23.92.
> [source]: Switch to git repository.
> [native-inputs]: Add autoconf, automake, gettext-minimal, libtool
> and python-wrapper. Move gobject-introspection to here from ...
> [inputs]: ... here. Add dbus and perl. Move gtk+ and qtbase to ...
> [propagated-inputs]: ... here. Add glib.

This release 0.23.92 is a beta / release candidate, so we shouldn't
package it.

Check here, it's marked as "pre-release":


I think this would explain why 0.23.92 is not available on
<linuxtv.org>.

It's common to use versions *.90 through *.99 for beta releases, so it's
a little weird that they marked 0.23.90 as a full release. But we
shouldn't downgrade it now unless there are some bugs.
L
L
Leo Famulari wrote on 9 Apr 2021 01:20
Re: [bug#47643] [PATCH 20/22] gnu: gst-plugins-bad: Add missing inputs to enable more features.
(name . Raghav Gururajan via Guix-patches via)(address . guix-patches@gnu.org)
YG+P1CjsTrxtkEz9@jasmine.lan
On Wed, Apr 07, 2021 at 04:42:35PM -0400, Raghav Gururajan via Guix-patches via wrote:
Toggle quote (10 lines)
> * gnu/packages/gstreamer.scm (gst-plugins-bad)[inputs]: Add bzip2,
> cairo, chromaprint, directfb, faac, flite, glib, glib-networking,
> glu, gsm, iqa, lcms, libaom, libbs2b, libdc1394, libdca, libde265,
> libdrm, libexif, libfdk, libgme, libmfx, libmms, libmpcdec, libnice,
> libofa, libopenmpt, libtiff, libva, libx11, libxcb, libxext, libxshm,
> lilv, lv2, mjpegtools, nettle, openh264, opensles, pango, rtmpdump, sbc,
> sctp, spandsp, srt, svt-hevc, transcode, v4l-utils, vo-aacenc, vo-amrwbenc,
> vulkan-headers, vulkan-loader, webrtc-audio-processing, wildmidi,
> wpebackend-fdo, zbar and zxing-cpp.

Is there pending work that requires these new dependencies?

Otherwise, I would leave them out until they are needed.

Remember, these plugins are considered "bad" from gstreamer's
perspective:

L
L
Leo Famulari wrote on 9 Apr 2021 01:22
Re: [bug#47643] [PATCH 04/22] gnu: gst-plugins-base: Add missing inputs to enable more features.
(name . Raghav Gururajan via Guix-patches via)(address . guix-patches@gnu.org)
YG+QTAeNLPk61TEh@jasmine.lan
On Wed, Apr 07, 2021 at 04:42:19PM -0400, Raghav Gururajan via Guix-patches via wrote:
Toggle quote (4 lines)
> * gnu/packages/gstreamer.scm (gst-plugins-base)[inputs]: Add gdk-pixbuf+svg,
> glu, graphene, gtk+, iso-codes, libgudev, libjpeg-turbo, libvisual,
> libxshmfence, mesa, sdl and wayland.

These plugins are considered by gstreamer to be the best ones:


I still wonder if we should add them just because we can... Or are they
required now?
R
R
Raghav Gururajan wrote on 9 Apr 2021 01:29
Re: [bug#47643] [PATCH 20/22] gnu: gst-plugins-bad: Add missing inputs to enable more features.
(address . 47643@debbugs.gnu.org)
90a1aee5-e26c-af27-c3bb-792619c01ff9@raghavgururajan.name
Toggle quote (2 lines)
> Is there pending work that requires these new dependencies?

Yes.

Toggle quote (2 lines)
> Otherwise, I would leave them out until they are needed.

These inputs enables support for different codecs. Most of these inputs
were not added because it wasn't packaged. I packaged them during
outreachy project.

I think, as a distribution we should provide the package with all its
intended features, as provided my upstream. It is up to the user,
whether to install gst-plugins-bad to their profile.

:)
Attachment: OpenPGP_signature
R
R
Raghav Gururajan wrote on 9 Apr 2021 01:32
Re: [bug#47643] [PATCH 04/22] gnu: gst-plugins-base: Add missing inputs to enable more features.
(address . 47643@debbugs.gnu.org)
fb460350-e1b5-0f5b-9818-c071bbd766e0@raghavgururajan.name
Toggle quote (3 lines)
> I still wonder if we should add them just because we can... Or are they
> required now?

I think, as a distribution we should provide the package with all its
intended features, as provided my upstream. :)
Attachment: OpenPGP_signature
R
R
Raghav Gururajan wrote on 9 Apr 2021 04:21
Re: [bug#47643] [PATCH 15/22] gnu: zbar: Update to 0.23.92.
(address . 47643@debbugs.gnu.org)
d9d76e07-7621-efca-ff35-4837253fcdc6@raghavgururajan.name
Toggle quote (14 lines)
> This release 0.23.92 is a beta / release candidate, so we shouldn't
> package it.
>
> Check here, it's marked as "pre-release":
>
> https://github.com/mchehab/zbar/releases
>
> I think this would explain why 0.23.92 is not available on
> <linuxtv.org>.
>
> It's common to use versions *.90 through *.99 for beta releases, so it's
> a little weird that they marked 0.23.90 as a full release. But we
> shouldn't downgrade it now unless there are some bugs.

Ah. Thanks for the info. I'll try to update to latest non-beta version
instead.
Attachment: OpenPGP_signature
L
L
Leo Prikler wrote on 9 Apr 2021 10:28
Re: [bug#47643] [PATCH 20/22] gnu: gst-plugins-bad: Add missing inputs to enable more features.
(name . Leo Famulari)(address . leo@famulari.name)
a1a202508804b27cb07ac14a0fd0043f7ddb2093.camel@student.tugraz.at
Am Donnerstag, den 08.04.2021, 19:20 -0400 schrieb Leo Famulari:
Toggle quote (24 lines)
> On Wed, Apr 07, 2021 at 04:42:35PM -0400, Raghav Gururajan via Guix-
> patches via wrote:
> > * gnu/packages/gstreamer.scm (gst-plugins-bad)[inputs]: Add bzip2,
> > cairo, chromaprint, directfb, faac, flite, glib, glib-networking,
> > glu, gsm, iqa, lcms, libaom, libbs2b, libdc1394, libdca, libde265,
> > libdrm, libexif, libfdk, libgme, libmfx, libmms, libmpcdec,
> > libnice,
> > libofa, libopenmpt, libtiff, libva, libx11, libxcb, libxext,
> > libxshm,
> > lilv, lv2, mjpegtools, nettle, openh264, opensles, pango, rtmpdump,
> > sbc,
> > sctp, spandsp, srt, svt-hevc, transcode, v4l-utils, vo-aacenc, vo-
> > amrwbenc,
> > vulkan-headers, vulkan-loader, webrtc-audio-processing, wildmidi,
> > wpebackend-fdo, zbar and zxing-cpp.
>
> Is there pending work that requires these new dependencies?
>
> Otherwise, I would leave them out until they are needed.
>
> Remember, these plugins are considered "bad" from gstreamer's
> perspective:
>
> https://gstreamer.freedesktop.org/modules/gst-plugins-bad.html
It is for this reason, that I've packaged gst-plugins/selection.
People, who don't want all of the bad plugins, but just a working
subset, can use that procedure to limit the plugins they want to build.
I don't think raghav's patch added anything that will be built
regardless of configuration.

That said, gst-plugins/selection will still pull those extra inputs.
Once we have parameterized packages, I believe gst-plugins-* will
become a nice playground for those.

Regards,
Leo
L
L
Léo Le Bouter wrote on 9 Apr 2021 12:58
Re: [bug#47643] [PATCH 16/22] gnu: transcode: Disable v4l support due to broken API.
390a7da7c69f52c07b61e788431f79d4dd30a121.camel@zaclys.net
On Wed, 2021-04-07 at 16:42 -0400, Raghav Gururajan via Guix-patches
via wrote:
Toggle quote (35 lines)
> * gnu/packages/video.scm (transcode)[inputs]: Remove v4l-utils.
> [configure-flags](enable-libv4l2,enable-v4l): Remove flags.
> ---
> gnu/packages/video.scm | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
> index 6a2de91227..1e48782b10 100644
> --- a/gnu/packages/video.scm
> +++ b/gnu/packages/video.scm
> @@ -200,10 +200,12 @@
> (arguments
> `(#:configure-flags
> (list
> - "--enable-libv4l2"
> + ;; XXX: Broken API.
> + ;; "--enable-libv4l2"
> "--enable-libmpeg2"
> "--enable-libmpeg2convert"
> - "--enable-v4l"
> + ;; XXX: Broken API.
> + ;; "--enable-v4l"
> ;;; XXX: Not available.
> ;"--enable-bktr"
> ;"--enable-sunau"
> @@ -265,7 +267,7 @@
> ("lzo" ,lzo)
> ("mjepgtools" ,mjpegtools)
> ("sdl" ,sdl)
> - ("v4l-utils" ,v4l-utils)
> + ;; ("v4l-utils" ,v4l-utils)
> ("x11" ,libx11)
> ("x264" ,libx264)
> ("xaw" ,libxaw)

Broken how? Can you elaborate and explain in either comments or commit
message? Thank you!
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEFIvLi9gL+xax3g6RRaix6GvNEKYFAmBwM1cACgkQRaix6GvN
EKamZw/9HVvrJjZnaXidZadGXkcB96VfeJ8Tr/WFDm+oEFo6R8tvyn0wDd2gIAlb
MSSy0fgtWiXbzQ7IuUglil3axdtAl5dD3uBpMpGrOn+uR0p64SO8E1sx/mRruf4+
AAPJmwlMwqtgj3xToBcANPuc2uV0i1ciki/5QriBn1J/xzWV446ahwZvpBHxjrjT
y3QpoycyFsNLvuIgnurw6taJE6WzAIjG3Jgmtv+qeCMWDmP+oswDQiin7NkIC6+c
6jhnFL6opK3NWPay80DDNE03lBLEdJ1e4rIKUVIR7dARU6fymvtzQhME7KRL6ZSA
l28bOPi0aZlPWEc5uwH/DQyet3S29+z5CFQb/OBFHLoOHSyX89IDAe4t7k+5LKkC
EVRb/b67yzEN5Lum776fzHK5qsXl1saEY5eVNkjyeAwAolWs3WFocBt0DMsIq/dG
I/exqKoZYkm0dPa0LqlM+qslWCSWlOpm9ZAGOQkQDCAMB4KNhUNbuWGYNtFsGVh7
4m1JLCQt9WtMrFAQCwqzL3WVr5MbTaNyCwmnvYEwFWVs3kyQ3zRZgshL12+cZqAt
m5l0bcziFB6S8r9AvOCLPh2tE5cmVkvGtker7pY5JXG6OosFIooWTnT85RaB06BV
VVNAQ7T0wDXda0DGwk/jR+Rsmrwygu2G/5U0/sCVA3nElJrw7xc=
=r/C9
-----END PGP SIGNATURE-----


L
L
Leo Prikler wrote on 9 Apr 2021 20:38
[PATCH staging 00/10] Update GStreamer to 1.18.4
(address . 47643@debbugs.gnu.org)
20210409183900.24175-1-leo.prikler@student.tugraz.at
Hi,

I've cleaned up your GStreamer patches a little and rebased them on staging.
The patch set I'm about to send should both apply cleanly and build, but I
haven't yet tested, whether it also runs okay.

Regards,
Leo

Raghav Gururajan (10):
gnu: gstreamer: Update to 1.18.4.
gnu: gst-plugins-base: Update to 1.18.4.
gnu: gst-plugins-base: Add missing inputs to enable more features.
gnu: gst-plugins-good: Update to 1.18.4.
gnu: gst-plugins-ugly: Update to 1.18.4.
gnu: gst-libav: Update to 1.18.4.
gnu: gst-plugins-bad: Update to 1.18.4.
gnu: gst-plugins-bad: Add missing inputs to enable more features.
gnu: gst-plugins-bad: Disable few more failing tests.
gnu: gst-editing-services: Update to 1.18.4.

gnu/packages/gstreamer.scm | 262 ++++++++++++++++++++++++++++---------
1 file changed, 199 insertions(+), 63 deletions(-)

--
2.31.1
L
L
Leo Prikler wrote on 9 Apr 2021 20:38
[PATCH staging 01/10] gnu: gstreamer: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)
20210409183900.24175-2-leo.prikler@student.tugraz.at
From: Raghav Gururajan <rg@raghavgururajan.name>

* gnu/packages/gstreamer.scm (gstreamer)[version]: Update to 1.18.4.
[arguments](glib-or-gtk): New argument.
[propagated-inputs]: Add elfutils, glib-networking and libunwind.
[native-inputs]: Add bash-completion and gettext-minimal.
[inputs]: Add gmp, gsl, gtk+ and libcap.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/gstreamer.scm | 41 ++++++++++++++++++++++++++------------
1 file changed, 28 insertions(+), 13 deletions(-)

Toggle diff (94 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 9ec737beb2..1f0033ef42 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -40,6 +40,7 @@
#:use-module (gnu packages audio)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages bison)
#:use-module (gnu packages cdrom)
#:use-module (gnu packages curl)
@@ -62,7 +63,9 @@
#:use-module (gnu packages libunwind)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
+ #:use-module (gnu packages maths)
#:use-module (gnu packages mp3)
+ #:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
#:use-module (gnu packages ocr)
@@ -461,19 +464,20 @@ the GStreamer multimedia framework.")
(define-public gstreamer
(package
(name "gstreamer")
- (version "1.18.2")
+ (version "1.18.4")
(source
(origin
- (method url-fetch)
- (uri (string-append
- "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-"
- version ".tar.xz"))
- (sha256
- (base32
- "0ijlmvr660m8zn09xlmnq1ajrziqsivp2hig5a9mabhcjx7ypkb6"))))
+ (method url-fetch)
+ (uri (string-append
+ "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "1igv9l4hm21kp1jmlwlagzs7ly1vaxv1sbda29q8247372dwkvls"))))
(build-system meson-build-system)
(arguments
- `(#:phases
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:phases
(modify-phases %standard-phases
,@%common-gstreamer-phases
;; FIXME: Since switching to the meson-build-system, two tests
@@ -487,24 +491,35 @@ the GStreamer multimedia framework.")
(("tcase_add_test \\(tc_chain, test_stress_cleanup_unschedule.*")
"")
(("tcase_add_test \\(tc_chain, test_stress_reschedule.*")
- ""))
+ ""))
#t)))
'()))))
- (propagated-inputs `(("glib" ,glib))) ; required by gstreamer-1.0.pc.
+ (propagated-inputs
+ `(("elfutils" ,elfutils)
+ ("glib" ,glib)
+ ("glib-networking" ,glib-networking)
+ ("libunwind" ,libunwind)))
(native-inputs
- `(("bison" ,bison)
+ `(("bash-completion" ,bash-completion)
+ ("bison" ,bison)
("flex" ,flex)
+ ("gettext" ,gettext-minimal)
("glib" ,glib "bin")
("gobject-introspection" ,gobject-introspection)
("perl" ,perl)
("pkg-config" ,pkg-config)
("python-wrapper" ,python-wrapper)))
+ (inputs
+ `(("gmp" ,gmp)
+ ("gsl" ,gsl)
+ ("gtk+" ,gtk+)
+ ("setcap" ,libcap)))
(native-search-paths
(list (search-path-specification
(variable "GST_PLUGIN_SYSTEM_PATH")
(files '("lib/gstreamer-1.0")))))
(home-page "https://gstreamer.freedesktop.org/")
- (synopsis "Multimedia library")
+ (synopsis "Multimedia framework")
(description
"GStreamer is a library for constructing graphs of media-handling
components. The applications it supports range from simple Ogg/Vorbis
--
2.31.1
L
L
Leo Prikler wrote on 9 Apr 2021 20:38
[PATCH staging 02/10] gnu: gst-plugins-base: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)
20210409183900.24175-3-leo.prikler@student.tugraz.at
From: Raghav Gururajan <rg@raghavgururajan.name>

* gnu/packages/gstreamer.scm (gst-plugins-base)[version]: Update to 1.18.4.
[arguments](glib-or-gtk): New argument.
[configure-flags](gl): Remove flag.
[phases](pre-check): New phase.
[native-inputs]: Add gettext-minimal, gsettings-desktop-schemas, perl
and xorg-server-for-tests.
[propagated-inputs]: Add glib-networking.
[synopsis]: Fix indentation.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/gstreamer.scm | 48 +++++++++++++++++++++++++-------------
1 file changed, 32 insertions(+), 16 deletions(-)

Toggle diff (82 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 1f0033ef42..5764b6d149 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -536,19 +536,20 @@ This package provides the core library and elements.")
(define-public gst-plugins-base
(package
(name "gst-plugins-base")
- (version "1.18.2")
+ (version "1.18.4")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://gstreamer.freedesktop.org/src/" name "/"
- name "-" version ".tar.xz"))
- (sha256
- (base32
- "1b05kg46azrxxvq42c71071lfsnc34pw4vynnkczdqi6g0gzn16x"))))
+ (method url-fetch)
+ (uri (string-append "https://gstreamer.freedesktop.org/src/" name "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "08w3ivbc6n4vdds2ap6q7l8zdk9if8417nznyqidf0adm0lk5r99"))))
(build-system meson-build-system)
(propagated-inputs
- `(("glib" ,glib) ;required by gstreamer-sdp-1.0.pc
- ("gstreamer" ,gstreamer) ;required by gstreamer-plugins-base-1.0.pc
+ `(("glib" ,glib) ; required by gstreamer-sdp-1.0.pc
+ ("glib-networking" ,glib-networking)
+ ("gstreamer" ,gstreamer) ; required by gstreamer-plugins-base-1.0.pc
;; XXX: Do not enable Orc optimizations on ARM systems because
;; it leads to two test failures.
@@ -570,12 +571,16 @@ This package provides the core library and elements.")
("alsa-lib" ,alsa-lib)
("opus" ,opus)))
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("glib:bin" ,glib "bin")
- ("gobject-introspection" ,gobject-introspection)
- ("python-wrapper" ,python-wrapper)))
+ `(("gettext" ,gettext-minimal)
+ ("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
+ ("perl" ,perl)
+ ("pkg-config" ,pkg-config)
+ ("python-wrapper" ,python-wrapper)
+ ("xorg-server" ,xorg-server-for-tests)))
(arguments
- `(#:configure-flags '("-Dgl=disabled")
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
#:phases
(modify-phases %standard-phases
,@%common-gstreamer-phases
@@ -583,10 +588,21 @@ This package provides the core library and elements.")
(lambda _
(substitute* "tests/check/libs/pbutils.c"
(("/bin/sh") (which "sh")))
+ #t))
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; Tests require a running X server.
+ (system "Xvfb :1 +extension GLX &")
+ (setenv "DISPLAY" ":1")
+ ;; Tests write to $HOME.
+ (setenv "HOME" (getcwd))
+ ;; Tests look for $XDG_RUNTIME_DIR.
+ (setenv "XDG_RUNTIME_DIR" (getcwd))
+ ;; For missing '/etc/machine-id'.
+ (setenv "DBUS_FATAL_WARNINGS" "0")
#t)))))
(home-page "https://gstreamer.freedesktop.org/")
- (synopsis
- "Plugins for the GStreamer multimedia library")
+ (synopsis "Plugins for the GStreamer multimedia library")
(description "This package provides an essential exemplary set of plug-ins
for the GStreamer multimedia library.")
(license license:lgpl2.0+)))
--
2.31.1
L
L
Leo Prikler wrote on 9 Apr 2021 20:38
[PATCH staging 04/10] gnu: gst-plugins-good: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)
20210409183900.24175-5-leo.prikler@student.tugraz.at
From: Raghav Gururajan <rg@raghavgururajan.name>

* gnu/packages/gstreamer.scm (gst-plugins-good)[version]: Update to 1.18.4.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/gstreamer.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index b2ad52592f..848196a5c3 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -627,7 +627,7 @@ for the GStreamer multimedia library.")
(define-public gst-plugins-good
(package
(name "gst-plugins-good")
- (version "1.18.2")
+ (version "1.18.4")
(source
(origin
(method url-fetch)
@@ -637,7 +637,7 @@ for the GStreamer multimedia library.")
name "-" version ".tar.xz"))
(patches (search-patches "gst-plugins-good-fix-test.patch"))
(sha256
- (base32 "1929nhjsvbl4bw37nfagnfsnxz737cm2x3ayz9ayrn9lwkfm45zp"))))
+ (base32 "1c1rpq709cy8maaykyn1n0kckj9c6fl3mhvixkk6xmdwkcx0xrdn"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
--
2.31.1
L
L
Leo Prikler wrote on 9 Apr 2021 20:38
[PATCH staging 05/10] gnu: gst-plugins-ugly: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)
20210409183900.24175-6-leo.prikler@student.tugraz.at
From: Raghav Gururajan <rg@raghavgururajan.name>

* gnu/packages/gstreamer.scm (gst-plugins-upgly)[version]: Update to 1.18.4.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/gstreamer.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 848196a5c3..e98fd7b2f8 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -826,7 +826,7 @@ par compared to the rest.")
(define-public gst-plugins-ugly
(package
(name "gst-plugins-ugly")
- (version "1.18.2")
+ (version "1.18.4")
(source
(origin
(method url-fetch)
@@ -834,7 +834,7 @@ par compared to the rest.")
(string-append "https://gstreamer.freedesktop.org/src/"
name "/" name "-" version ".tar.xz"))
(sha256
- (base32 "1nwbcv5yaib3d8icvyja3zf6lyjf5zf1hndbijrhj8j7xlia0dx3"))))
+ (base32 "0g6i4db1883q3j0l2gdv46fcqwiiaw63n6mhvsfcms1i1p7g1391"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
--
2.31.1
L
L
Leo Prikler wrote on 9 Apr 2021 20:38
[PATCH staging 06/10] gnu: gst-libav: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)
20210409183900.24175-7-leo.prikler@student.tugraz.at
From: Raghav Gururajan <rg@raghavgururajan.name>

* gnu/packages/gstreamer.scm (gst-libav)[version]: Update to 1.18.4.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/gstreamer.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index e98fd7b2f8..38b4fdbe63 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -885,7 +885,7 @@ think twice about shipping them.")
(define-public gst-libav
(package
(name "gst-libav")
- (version "1.18.2")
+ (version "1.18.4")
(source
(origin
(method url-fetch)
@@ -894,7 +894,7 @@ think twice about shipping them.")
"https://gstreamer.freedesktop.org/src/" name "/"
name "-" version ".tar.xz"))
(sha256
- (base32 "0jbzams9ggk3sq9ywv4gsl9rghyn203l2582m6l5c1sz9ka9m5in"))))
+ (base32 "15n3x3vhshqa3icw93g4vqmqd46122anzqvfxwn6q8famlxlcjil"))))
(build-system meson-build-system)
(native-inputs
`(("perl" ,perl)
--
2.31.1
L
L
Leo Prikler wrote on 9 Apr 2021 20:38
[PATCH staging 07/10] gnu: gst-plugins-bad: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)
20210409183900.24175-8-leo.prikler@student.tugraz.at
From: Raghav Gururajan <rg@raghavgururajan.name>

* gnu/packages/gstreamer.scm (gst-plugins-bad)[version]: Update to 1.18.4.
[arguments](glib-or-gtk): New argument.
[phases](pre-check): New phase.
[propagated-inputs]: Add gstreamer.
[native-inputs]: Add gettext-minimal, gsettings-desktop-schemas, perl and
xorg-server-for-tests. Replace python with python-wrapper.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/gstreamer.scm | 32 +++++++++++++++++++++++++-------
1 file changed, 25 insertions(+), 7 deletions(-)

Toggle diff (65 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 38b4fdbe63..cc739bd904 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -718,17 +718,18 @@ model to base your own plug-in on, here it is.")
(define-public gst-plugins-bad
(package
(name "gst-plugins-bad")
- (version "1.18.2")
+ (version "1.18.4")
(source (origin
(method url-fetch)
(uri (string-append "https://gstreamer.freedesktop.org/src/"
name "/" name "-" version ".tar.xz"))
(sha256
(base32
- "06ildd4rl6cynirv3p00d2ddf5is9svj4i7mkahldzhq24pq5mca"))))
+ "0py8k4pbalm9mxkpjbjxis0gp7g74wg5g4yax5q8rccmany0ds3l"))))
(build-system meson-build-system)
(arguments
- `(#:phases
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:phases
(modify-phases %standard-phases
,@%common-gstreamer-phases
,@(if (string-prefix? "arm" (or (%current-target-system)
@@ -761,15 +762,32 @@ model to base your own plug-in on, here it is.")
((".*elements/curlhttpsrc\\.c.*") "")
;; https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1412
((".*elements/dtls\\.c.*") ""))
- #t))))))
+ #t)))
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; Tests require a running X server.
+ (system "Xvfb :1 +extension GLX &")
+ (setenv "DISPLAY" ":1")
+ ;; Tests write to $HOME.
+ (setenv "HOME" (getcwd))
+ ;; Tests look for $XDG_RUNTIME_DIR.
+ (setenv "XDG_RUNTIME_DIR" (getcwd))
+ ;; For missing '/etc/machine-id'.
+ (setenv "DBUS_FATAL_WARNINGS" "0")
+ #t)))))
(propagated-inputs
- `(("gst-plugins-base" ,gst-plugins-base)))
+ `(("gstreamer" ,gstreamer)
+ ("gst-plugins-base" ,gst-plugins-base)))
(native-inputs
- `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
+ `(("gettext" ,gettext-minimal)
+ ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
("gobject-introspection" ,gobject-introspection)
+ ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("gst-plugins-good" ,gst-plugins-good) ;for tests
+ ("perl" ,perl)
("pkg-config" ,pkg-config)
- ("python" ,python)))
+ ("python" ,python-wrapper)
+ ("xorg-server" ,xorg-server-for-tests)))
(inputs
;; XXX: The following dependencies are missing:
;; vo-amrwbenc, vo-aacenc, bs2b, chromaprint, directfb, daala, libdts,
--
2.31.1
L
L
Leo Prikler wrote on 9 Apr 2021 20:38
[PATCH staging 08/10] gnu: gst-plugins-bad: Add missing inputs to enable more features.
(address . 47643@debbugs.gnu.org)
20210409183900.24175-9-leo.prikler@student.tugraz.at
From: Raghav Gururajan <rg@raghavgururajan.name>

* gnu/packages/gstreamer.scm (gst-plugins-bad)[inputs]: Add bzip2,
cairo, chromaprint, directfb, faac, flite, glib, glib-networking,
glu, gsm, iqa, lcms, libaom, libbs2b, libdc1394, libdca, libde265,
libdrm, libexif, libfdk, libgme, libmfx, libmms, libmpcdec, libnice,
libofa, libopenmpt, libtiff, libva, libx11, libxcb, libxext, libxshm,
lilv, lv2, mjpegtools, nettle, openh264, opensles, pango, rtmpdump, sbc,
sctp, spandsp, srt, svt-hevc, transcode, v4l-utils, vo-aacenc, vo-amrwbenc,
vulkan-headers, vulkan-loader, webrtc-audio-processing, wildmidi,
wpebackend-fdo, zbar and zxing-cpp.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/gstreamer.scm | 84 ++++++++++++++++++++++++++++++++------
1 file changed, 72 insertions(+), 12 deletions(-)

Toggle diff (169 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index cc739bd904..2dcf853987 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -37,6 +37,7 @@
#:use-module (guix build-system trivial)
#:use-module (guix utils)
#:use-module (gnu packages)
+ #:use-module (gnu packages aidc)
#:use-module (gnu packages audio)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
@@ -50,6 +51,7 @@
#:use-module (gnu packages flex)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
+ #:use-module (gnu packages ghostscript)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
@@ -58,6 +60,7 @@
#:use-module (gnu packages graphviz)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
+ #:use-module (gnu packages image-processing)
#:use-module (gnu packages iso-codes)
#:use-module (gnu packages java)
#:use-module (gnu packages libunwind)
@@ -66,10 +69,13 @@
#:use-module (gnu packages maths)
#:use-module (gnu packages mp3)
#:use-module (gnu packages multiprecision)
+ #:use-module (gnu packages music)
#:use-module (gnu packages ncurses)
+ #:use-module (gnu packages nettle)
#:use-module (gnu packages networking)
#:use-module (gnu packages ocr)
#:use-module (gnu packages perl)
+ #:use-module (gnu packages photo)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages qt)
#:use-module (gnu packages rdf)
@@ -87,6 +93,8 @@
#:use-module (gnu packages telephony)
#:use-module (gnu packages tls)
#:use-module (gnu packages version-control)
+ #:use-module (gnu packages vulkan)
+ #:use-module (gnu packages webkit)
#:use-module (gnu packages assembly)
#:use-module (gnu packages xml))
@@ -789,51 +797,103 @@ model to base your own plug-in on, here it is.")
("python" ,python-wrapper)
("xorg-server" ,xorg-server-for-tests)))
(inputs
- ;; XXX: The following dependencies are missing:
- ;; vo-amrwbenc, vo-aacenc, bs2b, chromaprint, directfb, daala, libdts,
- ;; faac, flite, libgsm, libde265, libmms, libmimic, mjpegtools,
- ;; mpeg2enc, libofa, opencv, openh264, openni2, libtimemmgr, wildmidi,
- ;; openspc, gme, sbc, schroedinger, zbar, librtmp, spandsp
`(("bluez" ,bluez)
+ ("bzip2" ,bzip2)
+ ("cairo" ,cairo)
+ ;; ("ccextractor" ,ccextractor)
+ ("chromaprint" ,chromaprint)
("curl" ,curl)
+ ("directfb" ,directfb)
+ ;;("dssim" ,dssim)
+ ("faac" ,faac)
("faad2" ,faad2)
+ ("flite" ,flite)
("fluidsynth" ,fluidsynth)
+ ("glib" ,glib)
+ ("glib-networking" ,glib-networking)
+ ("glu" ,glu)
+ ("gsm" ,gsm)
("gtk+" ,gtk+)
+ ("iqa" ,iqa)
("ladspa" ,ladspa)
+ ("lcms" ,lcms)
+ ("libaom" ,libaom)
("libass" ,libass)
+ ("libbs2b" ,libbs2b)
+ ("libdc1394" ,libdc1394)
+ ("libdca" ,libdca)
+ ("libde265" ,libde265)
+ ("libdrm" ,libdrm)
("libdvdnav" ,libdvdnav)
("libdvdread" ,libdvdread)
+ ("libexif" ,libexif)
+ ("libfdk" ,libfdk)
("libgcrypt" ,libgcrypt)
+ ("libgme" ,libgme)
("libgudev" ,libgudev)
("libkate" ,libkate)
+ ("libmfx" ,mediasdk)
+ ("libmms" ,libmms)
("libmodplug" ,libmodplug)
+ ("libmpcdec" ,libmpcdec)
("libnice" ,libnice)
+ ("libofa" ,libofa)
+ ("libopenmpt" ,libopenmpt)
("librsvg" ,librsvg)
("libsndfile" ,libsndfile)
("libsrtp" ,libsrtp)
("libssh2" ,libssh2)
+ ("libtiff" ,libtiff)
("libusb" ,libusb)
+ ("libva" ,libva)
("libvdpau" ,libvdpau)
("libwebp" ,libwebp)
+ ("libx11" ,libx11)
+ ("libxcb" ,libxcb)
+ ("libxext" ,libxext)
+ ("libxkbcommon" ,libxkbcommon)
("libxml2" ,libxml2)
+ ("libxshm" ,libxshmfence)
+ ("lilv" ,lilv)
("lrdf" ,lrdf)
+ ("lv2" ,lv2)
("mesa" ,mesa)
+ ("mjpegtools" ,mjpegtools)
("neon" ,neon)
+ ("nettle" ,nettle)
("openal" ,openal)
+ ;; ("opencv" ,opencv)
("openexr" ,openexr)
+ ("openh264" ,openh264)
("openjpeg" ,openjpeg)
+ ;; ("openni2" ,openni2)
+ ("opensles" ,opensles)
("openssl" ,openssl)
("opus" ,opus)
("orc" ,orc)
- ;("qtbase" ,qtbase)
- ;("qtdeclarative" ,qtdeclarative)
- ;("qtx11extras" ,qtx11extras)
+ ("pango" ,pango)
+ ("rtmp" ,rtmpdump)
+ ("sbc" ,sbc)
+ ("sctp" ,lksctp-tools)
("soundtouch" ,soundtouch)
- ;; GStreamer is not yet compatible with srt > 1.4.1.
- ("srt" ,srt-1.4.1)
+ ("spandsp" ,spandsp)
+ ("srt" ,srt)
+ ("svthevcenc" ,svt-hevc)
+ ("tinyalsa" ,tinyalsa)
+ ("transcode" ,transcode)
+ ("v4l" ,v4l-utils)
+ ("voaacenc", vo-aacenc)
+ ("voamrwbenc" ,vo-amrwbenc)
+ ("vulkan-headers" ,vulkan-headers)
+ ("vulkan-loader" ,vulkan-loader)
("x265" ,x265)
- ("webrtc-audio-processing" ,webrtc-audio-processing)
- ("wayland" ,wayland)))
+ ("wayland" ,wayland)
+ ("webrtcdsp" ,webrtc-audio-processing)
+ ("wildmidi" ,wildmidi)
+ ("wpebackend-fdo" ,wpebackend-fdo)
+ ;; ("wpewebkit" ,wpewebkit)
+ ("zbar" ,zbar)
+ ("zxing" ,zxing-cpp)))
(home-page "https://gstreamer.freedesktop.org/")
(synopsis "Plugins for the GStreamer multimedia library")
(description
--
2.31.1
L
L
Leo Prikler wrote on 9 Apr 2021 20:38
[PATCH staging 09/10] gnu: gst-plugins-bad: Disable few more failing tests.
(address . 47643@debbugs.gnu.org)
20210409183900.24175-10-leo.prikler@student.tugraz.at
From: Raghav Gururajan <rg@raghavgururajan.name>

* gnu/packages/gstreamer.scm (gst-plugins-bad)[phases](adjust-tests): Modify.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/gstreamer.scm | 4 ++++
1 file changed, 4 insertions(+)

Toggle diff (17 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 2dcf853987..c2b6bc481b 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -762,6 +762,10 @@ model to base your own plug-in on, here it is.")
(string-append "'GST_PLUGIN_SYSTEM_PATH_1_0', '"
gst-plugins-good "/lib/gstreamer-1.0'"))
+ ;; https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1136
+ ((".*elements/msdkh264enc\\.c.*") "")
+ ((".*elements/svthevcenc\\.c.*") "")
+
;; FIXME: Why is this failing.
((".*elements/dash_mpd\\.c.*") "")
--
2.31.1
L
L
Leo Prikler wrote on 9 Apr 2021 20:38
[PATCH staging 03/10] gnu: gst-plugins-base: Add missing inputs to enable more features.
(address . 47643@debbugs.gnu.org)
20210409183900.24175-4-leo.prikler@student.tugraz.at
From: Raghav Gururajan <rg@raghavgururajan.name>

* gnu/packages/gstreamer.scm (gst-plugins-base)[inputs]: Add gdk-pixbuf+svg,
glu, graphene, gtk+, iso-codes, libgudev, libjpeg-turbo, libvisual,
libxshmfence, mesa, sdl and wayland.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/gstreamer.scm | 27 ++++++++++++++++++++++-----
1 file changed, 22 insertions(+), 5 deletions(-)

Toggle diff (46 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 5764b6d149..b2ad52592f 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -559,17 +559,34 @@ This package provides the core library and elements.")
'()
`(("orc" ,orc))))) ;required by gstreamer-audio-1.0.pc
(inputs
- `(("cdparanoia" ,cdparanoia)
- ("pango" ,pango)
+ `(("alsa-lib" ,alsa-lib)
+ ("cdparanoia" ,cdparanoia)
+ ("gdk-pixbuf" ,gdk-pixbuf+svg)
+ ("glu" ,glu)
+ ("graphene" ,graphene)
+ ("gtk+" ,gtk+)
+ ("iso-codes" ,iso-codes)
+ ("libgudev" ,libgudev)
+ ("libjpeg" ,libjpeg-turbo)
("libogg" ,libogg)
("libtheora" ,libtheora)
+ ("libvisual" ,libvisual)
("libvorbis" ,libvorbis)
("libx11" ,libx11)
- ("zlib" ,zlib)
("libXext" ,libxext)
+ ("libxext" ,libxext)
+ ("libxshm" ,libxshmfence)
("libxv" ,libxv)
- ("alsa-lib" ,alsa-lib)
- ("opus" ,opus)))
+ ("mesa" ,mesa)
+ ;; XXX Don't build with opus on 32-bit systems:
+ ;; <https://bugs.gnu.org/32360>
+ ,@(if (target-64bit?)
+ `(("opus" ,opus))
+ '())
+ ("sdl" ,sdl)
+ ("wayland" ,wayland)
+ ("pango" ,pango)
+ ("zlib" ,zlib)))
(native-inputs
`(("gettext" ,gettext-minimal)
("glib:bin" ,glib "bin")
--
2.31.1
L
L
Leo Prikler wrote on 9 Apr 2021 20:38
[PATCH staging 10/10] gnu: gst-editing-services: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)
20210409183900.24175-11-leo.prikler@student.tugraz.at
From: Raghav Gururajan <rg@raghavgururajan.name>

* gnu/packages/gstreamer.scm (gst-editing-services)[version]: Update to 1.18.4.
[arguments](glib-or-gtk): New argument.
[inputs]: Add glib, glib-networking and gtk+. Move gst-plugins-base to ...
[propagated-inputs]: ... here. Add gstreamer.
[native-inputs]: Replace python with python-wrapper.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/gstreamer.scm | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)

Toggle diff (48 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index c2b6bc481b..e68122590e 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -997,7 +997,7 @@ decoders, muxers, and demuxers provided by FFmpeg.")
(define-public gst-editing-services
(package
(name "gst-editing-services")
- (version "1.18.2")
+ (version "1.18.4")
(source (origin
(method url-fetch)
(uri (string-append
@@ -1005,15 +1005,21 @@ decoders, muxers, and demuxers provided by FFmpeg.")
"gst-editing-services-" version ".tar.xz"))
(sha256
(base32
- "0pv2k8zlpn3vv2sdlspi3m63ixcwzi90pjly2ypbkg59ab97rb15"))))
+ "010xg960qsh5dwmf0y9l1q13h0cymmrgapzla2zsw66ylxqbi1s6"))))
(build-system meson-build-system)
(arguments
;; FIXME: 16/22 failing tests.
`(#:tests? #f
+ #:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
#:phases (modify-phases %standard-phases
,@%common-gstreamer-phases)))
+ (propagated-inputs
+ `(("gstreamer" ,gstreamer)
+ ("gst-plugins-base" ,gst-plugins-base)))
(inputs
- `(("gst-plugins-base" ,gst-plugins-base)
+ `(("glib" ,glib)
+ ("glib-networking" ,glib-networking)
+ ("gtk+" ,gtk+)
("libxml2" ,libxml2)))
(native-inputs
`(("flex" ,flex)
@@ -1023,7 +1029,7 @@ decoders, muxers, and demuxers provided by FFmpeg.")
("gst-plugins-good" ,gst-plugins-good)
("perl" ,perl)
("pkg-config" ,pkg-config)
- ("python" ,python)))
+ ("python" ,python-wrapper)))
(home-page "https://gstreamer.freedesktop.org/")
(synopsis "GStreamer library for non-linear editors")
(description
--
2.31.1
M
M
Maxime Devos wrote on 9 Apr 2021 21:33
Re: [bug#47643] [PATCH staging 07/10] gnu: gst-plugins-bad: Update to 1.18.4.
725add4bac2875c6ee8dc600c2dc8f7a22f9d7ea.camel@telenet.be
On Fri, 2021-04-09 at 20:38 +0200, Leo Prikler wrote:
Toggle quote (47 lines)
> From: Raghav Gururajan <rg@raghavgururajan.name>
>
> * gnu/packages/gstreamer.scm (gst-plugins-bad)[version]: Update to 1.18.4.
> [arguments](glib-or-gtk): New argument.
> [phases](pre-check): New phase.
> [propagated-inputs]: Add gstreamer.
> [native-inputs]: Add gettext-minimal, gsettings-desktop-schemas, perl and
> xorg-server-for-tests. Replace python with python-wrapper.
>
> Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
> ---
> gnu/packages/gstreamer.scm | 32 +++++++++++++++++++++++++-------
> 1 file changed, 25 insertions(+), 7 deletions(-)
>
> diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
> index 38b4fdbe63..cc739bd904 100644
> --- a/gnu/packages/gstreamer.scm
> +++ b/gnu/packages/gstreamer.scm
> @@ -718,17 +718,18 @@ model to base your own plug-in on, here it is.")
> (define-public gst-plugins-bad
> (package
> (name "gst-plugins-bad")
> - (version "1.18.2")
> + (version "1.18.4")
> (source (origin
> (method url-fetch)
> (uri (string-append "https://gstreamer.freedesktop.org/src/"
> name "/" name "-" version ".tar.xz"))
> (sha256
> (base32
> - "06ildd4rl6cynirv3p00d2ddf5is9svj4i7mkahldzhq24pq5mca"))))
> + "0py8k4pbalm9mxkpjbjxis0gp7g74wg5g4yax5q8rccmany0ds3l"))))
> (build-system meson-build-system)
> (arguments
> - `(#:phases
> + `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
> + #:phases
> (modify-phases %standard-phases
> ,@%common-gstreamer-phases
> ,@(if (string-prefix? "arm" (or (%current-target-system)
> @@ -761,15 +762,32 @@ model to base your own plug-in on, here it is.")
> ((".*elements/curlhttpsrc\\.c.*") "")
> ;; https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1412
> ((".*elements/dtls\\.c.*") ""))
> - #t))))))
> + #t)))

Phases do not need to return #t anymore. IIUC, the warning you
get when phases return something else has been removed on core-updates.

Toggle quote (13 lines)
> + (add-before 'check 'pre-check
> + (lambda _
> + ;; Tests require a running X server.
> + (system "Xvfb :1 +extension GLX &")
> + (setenv "DISPLAY" ":1")
> + ;; Tests write to $HOME.
> + (setenv "HOME" (getcwd))
> + ;; Tests look for $XDG_RUNTIME_DIR.
> + (setenv "XDG_RUNTIME_DIR" (getcwd))
> + ;; For missing '/etc/machine-id'.
> + (setenv "DBUS_FATAL_WARNINGS" "0")
> + #t)))))

Likewise. Likewise for the other patches. I don't see any other problems
at the moment (I didn't test though).

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYHCsEBccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7mjMAQDz2eD6YeRdzEJAZ/z5jsHkwwVx
CnKn/aWjzOgO98t92AEAnB9X8KPUf5AbrF05M4eqelXowmObAyzuwYfnwvEMWAw=
=MZTE
-----END PGP SIGNATURE-----


L
L
Leo Prikler wrote on 9 Apr 2021 21:53
bf5d5f2af32d45c13e3b36c0bf3c8f1b8813b373.camel@student.tugraz.at
Am Freitag, den 09.04.2021, 21:33 +0200 schrieb Maxime Devos:
Toggle quote (62 lines)
> On Fri, 2021-04-09 at 20:38 +0200, Leo Prikler wrote:
> > From: Raghav Gururajan <rg@raghavgururajan.name>
> >
> > * gnu/packages/gstreamer.scm (gst-plugins-bad)[version]: Update to
> > 1.18.4.
> > [arguments](glib-or-gtk): New argument.
> > [phases](pre-check): New phase.
> > [propagated-inputs]: Add gstreamer.
> > [native-inputs]: Add gettext-minimal, gsettings-desktop-schemas,
> > perl and
> > xorg-server-for-tests. Replace python with python-wrapper.
> >
> > Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
> > ---
> > gnu/packages/gstreamer.scm | 32 +++++++++++++++++++++++++-------
> > 1 file changed, 25 insertions(+), 7 deletions(-)
> >
> > diff --git a/gnu/packages/gstreamer.scm
> > b/gnu/packages/gstreamer.scm
> > index 38b4fdbe63..cc739bd904 100644
> > --- a/gnu/packages/gstreamer.scm
> > +++ b/gnu/packages/gstreamer.scm
> > @@ -718,17 +718,18 @@ model to base your own plug-in on, here it
> > is.")
> > (define-public gst-plugins-bad
> > (package
> > (name "gst-plugins-bad")
> > - (version "1.18.2")
> > + (version "1.18.4")
> > (source (origin
> > (method url-fetch)
> > (uri (string-append "
> > https://gstreamer.freedesktop.org/src/"
> > name "/" name "-" version
> > ".tar.xz"))
> > (sha256
> > (base32
> > - "06ildd4rl6cynirv3p00d2ddf5is9svj4i7mkahldzhq24pq5
> > mca"))))
> > + "0py8k4pbalm9mxkpjbjxis0gp7g74wg5g4yax5q8rccmany0d
> > s3l"))))
> > (build-system meson-build-system)
> > (arguments
> > - `(#:phases
> > + `(#:glib-or-gtk? #t ; To wrap binaries and/or compile
> > schemas
> > + #:phases
> > (modify-phases %standard-phases
> > ,@%common-gstreamer-phases
> > ,@(if (string-prefix? "arm" (or (%current-target-system)
> > @@ -761,15 +762,32 @@ model to base your own plug-in on, here it
> > is.")
> > ((".*elements/curlhttpsrc\\.c.*") "")
> > ;;
> > https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1412
> > ((".*elements/dtls\\.c.*") ""))
> > - #t))))))
> > + #t)))
>
> Phases do not need to return #t anymore. IIUC, the warning you
> get when phases return something else has been removed on core-
> updates.
True, but since this a patch for staging, I think there remains a time
window between this being merged and core-updates being merged, in
which the warning would still be printed. Plus, even post core-updates
merge, ending in #t is not an "error", it's simply no longer needed.

Toggle quote (16 lines)
> > + (add-before 'check 'pre-check
> > + (lambda _
> > + ;; Tests require a running X server.
> > + (system "Xvfb :1 +extension GLX &")
> > + (setenv "DISPLAY" ":1")
> > + ;; Tests write to $HOME.
> > + (setenv "HOME" (getcwd))
> > + ;; Tests look for $XDG_RUNTIME_DIR.
> > + (setenv "XDG_RUNTIME_DIR" (getcwd))
> > + ;; For missing '/etc/machine-id'.
> > + (setenv "DBUS_FATAL_WARNINGS" "0")
> > + #t)))))
>
> Likewise. Likewise for the other patches. I don't see any other
> problems
> at the moment (I didn't test though).
One note w.r.t. testing: Gstreamer keeps a registry in XDG_CACHE_HOME,
that will still refer to old paths and might potentially cause issues.
That being said, I still haven't tested ^^"

Regards,
Leo
?
Re: bug#47643: WIP-GNOME
(name . Leo Prikler)(address . leo.prikler@student.tugraz.at)
OSZP286MB0664C1ED49DBC28F9064AF60A3729@OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM
Leo Prikler <leo.prikler@student.tugraz.at> writes:

Toggle quote (8 lines)
> From: Raghav Gururajan <rg@raghavgururajan.name>
>
> * gnu/packages/gstreamer.scm (gstreamer)[version]: Update to 1.18.4.
> [arguments](glib-or-gtk): New argument.
> [propagated-inputs]: Add elfutils, glib-networking and libunwind.
> [native-inputs]: Add bash-completion and gettext-minimal.
> [inputs]: Add gmp, gsl, gtk+ and libcap.

Hello, I make some updates:

- Move elfutils and libunwind to inputs, as they are not listed in
pkg-config files, so don't need to be propagated.

- Remove glib-networking and glib-or-gtk?. libgstnet could use it, but
glib-networking is a runtime dependency (needed to be wraped with
GIO_EXTRA_MODULES), I'd like add it later if we find it really useful
(eg: when use gst-launch to play https remote media).

- Remove gtk+, as it only needed by build a not to be installed example
(controller-graph).

- Mention gsl is for tests and the update of synopsis.

Hope it useful, thank you and rg!
From fd5e8e52198d1cc3ca4c9b888a366855a5b84aeb Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <rg@raghavgururajan.name>
Date: Fri, 9 Apr 2021 20:38:50 +0200
Subject: [PATCH] gnu: gstreamer: Update to 1.18.4.

* gnu/packages/gstreamer.scm (gstreamer)[version]: Update to 1.18.4.
[synopsis]: Change to "Multimedia framework".
[native-inputs]: Add bash-completion and gettext-minimal.
[inputs]: Add elfutils, gmp, libcap, libunwind and gsl.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/gstreamer.scm | 37 +++++++++++++++++++++++++------------
1 file changed, 25 insertions(+), 12 deletions(-)

Toggle diff (88 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 9ec737beb2..ef0fd16e5f 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -40,6 +40,7 @@
#:use-module (gnu packages audio)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages bison)
#:use-module (gnu packages cdrom)
#:use-module (gnu packages curl)
@@ -62,7 +63,9 @@
#:use-module (gnu packages libunwind)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
+ #:use-module (gnu packages maths)
#:use-module (gnu packages mp3)
+ #:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
#:use-module (gnu packages ocr)
@@ -461,16 +464,16 @@ the GStreamer multimedia framework.")
(define-public gstreamer
(package
(name "gstreamer")
- (version "1.18.2")
+ (version "1.18.4")
(source
(origin
- (method url-fetch)
- (uri (string-append
- "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-"
- version ".tar.xz"))
- (sha256
- (base32
- "0ijlmvr660m8zn09xlmnq1ajrziqsivp2hig5a9mabhcjx7ypkb6"))))
+ (method url-fetch)
+ (uri (string-append
+ "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "1igv9l4hm21kp1jmlwlagzs7ly1vaxv1sbda29q8247372dwkvls"))))
(build-system meson-build-system)
(arguments
`(#:phases
@@ -487,24 +490,34 @@ the GStreamer multimedia framework.")
(("tcase_add_test \\(tc_chain, test_stress_cleanup_unschedule.*")
"")
(("tcase_add_test \\(tc_chain, test_stress_reschedule.*")
- ""))
+ ""))
#t)))
'()))))
- (propagated-inputs `(("glib" ,glib))) ; required by gstreamer-1.0.pc.
+ (propagated-inputs
+ `(("glib" ,glib))) ; required by gstreamer-1.0.pc.
(native-inputs
- `(("bison" ,bison)
+ `(("bash-completion" ,bash-completion)
+ ("bison" ,bison)
("flex" ,flex)
+ ("gettext" ,gettext-minimal)
("glib" ,glib "bin")
("gobject-introspection" ,gobject-introspection)
("perl" ,perl)
("pkg-config" ,pkg-config)
("python-wrapper" ,python-wrapper)))
+ (inputs
+ `(("elfutils" ,elfutils)
+ ("gmp" ,gmp)
+ ("libcap" ,libcap)
+ ("libunwind" ,libunwind)
+ ;; For tests.
+ ("gsl" ,gsl)))
(native-search-paths
(list (search-path-specification
(variable "GST_PLUGIN_SYSTEM_PATH")
(files '("lib/gstreamer-1.0")))))
(home-page "https://gstreamer.freedesktop.org/")
- (synopsis "Multimedia library")
+ (synopsis "Multimedia framework")
(description
"GStreamer is a library for constructing graphs of media-handling
components. The applications it supports range from simple Ogg/Vorbis
--
2.30.0
M
M
Maxime Devos wrote on 10 Apr 2021 12:13
Re: [bug#47643] [PATCH staging 07/10] gnu: gst-plugins-bad: Update to 1.18.4.
aa877958106e571f04f967232d3841cc264488e1.camel@telenet.be
On Fri, 2021-04-09 at 21:53 +0200, Leo Prikler wrote:
Toggle quote (9 lines)
> Am Freitag, den 09.04.2021, 21:33 +0200 schrieb Maxime Devos:
> > [...]
> > Phases do not need to return #t anymore. IIUC, the warning you
> > get when phases return something else has been removed on core-
> > updates.
> True, but since this a patch for staging, I think there remains a time
> window between this being merged and core-updates being merged, in
> which the warning would still be printed. Plus, even post core-updates
> merge, ending in #t is not an "error", it's simply no longer needed.
Fair enough. I've seen someone else (I don't recall the names anymore)
on the mailing list (other patches) requesting to remove #t though.

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYHF6XBccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7vF/AQDAfYN7K7GEwQs2Zor8Padaueh1
d4vfSxppFCs3h4yfiAD+LMGqHjT9uO/5R4JnmcAL8UKELULX9OZqIeojYB4nEgM=
=Nyd+
-----END PGP SIGNATURE-----


?
Re: bug#47643: WIP-GNOME: gst-plugins-base
(address . rg@raghavgururajan.name)
OSZP286MB0664A9BA47B725DB977D4A50A3729@OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM
Leo Prikler <leo.prikler@student.tugraz.at> writes:

Toggle quote (11 lines)
> From: Raghav Gururajan <rg@raghavgururajan.name>
>
> * gnu/packages/gstreamer.scm (gst-plugins-base)[version]: Update to 1.18.4.
> [arguments](glib-or-gtk): New argument.
> [configure-flags](gl): Remove flag.
> [phases](pre-check): New phase.
> [native-inputs]: Add gettext-minimal, gsettings-desktop-schemas, perl
> and xorg-server-for-tests.
> [propagated-inputs]: Add glib-networking.
> [synopsis]: Fix indentation.

Hello, what 'glib-or-gtk? #t', glib-networking,
gsettings-desktop-schemas and perl are useful for?

Also I think it's better split this into 2 patches, one for update, one
for adding inputs. eg: (I also add some more inputs)
From 31e372eb1a689a94024a8441b825b508aaa2ba37 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <rg@raghavgururajan.name>
Date: Sat, 10 Apr 2021 17:06:22 +0800
Subject: [PATCH] gnu: gst-plugins-base: Update to 1.18.4.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* gnu/packages/gstreamer.scm (gst-plugins-base): Update to 1.18.4.

Signed-off-by: ??? <iyzsong@member.fsf.org>
---
gnu/packages/gstreamer.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index a13e7879dd..cc8b29adcf 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -537,7 +537,7 @@ This package provides the core library and elements.")
(define-public gst-plugins-base
(package
(name "gst-plugins-base")
- (version "1.18.2")
+ (version "1.18.4")
(source
(origin
(method url-fetch)
@@ -545,7 +545,7 @@ This package provides the core library and elements.")
name "-" version ".tar.xz"))
(sha256
(base32
- "1b05kg46azrxxvq42c71071lfsnc34pw4vynnkczdqi6g0gzn16x"))))
+ "08w3ivbc6n4vdds2ap6q7l8zdk9if8417nznyqidf0adm0lk5r99"))))
(build-system meson-build-system)
(propagated-inputs
`(("glib" ,glib) ;required by gstreamer-sdp-1.0.pc
--
2.30.0
From 022de6b475411c1ab52fd63c4c12c4327cf2f4eb Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <rg@raghavgururajan.name>
Date: Sat, 10 Apr 2021 18:17:01 +0800
Subject: [PATCH 2/2] gnu: gst-plugins-base: Enable more features.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* gnu/packages/gstreamer.scm (gst-plugins-base)
[inputs]: Add graphene, iso-codes, libgudev, libjpeg-turbo, libpng,
libvisual, mesa, wayland-protocols, wayland.
[native-inputs]: Add gettext-minimal and xorg-server-for-test.
[arguments]: Remove '-Dgl=disabled' from configure flags. Add pre-check phase.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
Co-authored-by: ??? <iyzsong@member.fsf.org>
---
gnu/packages/gstreamer.scm | 37 ++++++++++++++++++++++++++++++-------
1 file changed, 30 insertions(+), 7 deletions(-)

Toggle diff (65 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 1e9f5444a7..0b5f14342e 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -559,6 +559,7 @@ This package provides the core library and elements.")
'()
`(("orc" ,orc))))) ;required by gstreamer-audio-1.0.pc
(inputs
+ ;; TODO: Add libvorbisidec
`(("cdparanoia" ,cdparanoia)
("pango" ,pango)
("libogg" ,libogg)
@@ -569,21 +570,43 @@ This package provides the core library and elements.")
("libXext" ,libxext)
("libxv" ,libxv)
("alsa-lib" ,alsa-lib)
- ("opus" ,opus)))
+ ("opus" ,opus)
+ ("graphene" ,graphene)
+ ("iso-codes" ,iso-codes)
+ ("libgudev" ,libgudev)
+ ("libjpeg" ,libjpeg-turbo)
+ ("libpng" ,libpng)
+ ("libvisual" ,libvisual)
+ ("mesa" ,mesa)
+ ("wayland-protocols" ,wayland-protocols)
+ ("wayland" ,wayland)))
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("glib:bin" ,glib "bin")
- ("gobject-introspection" ,gobject-introspection)
- ("python-wrapper" ,python-wrapper)))
+ `(("pkg-config" ,pkg-config)
+ ("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("python-wrapper" ,python-wrapper)
+ ("gettext" ,gettext-minimal)
+ ("xorg-server" ,xorg-server-for-tests)))
(arguments
- `(#:configure-flags '("-Dgl=disabled")
- #:phases
+ `(#:phases
(modify-phases %standard-phases
,@%common-gstreamer-phases
(add-before 'configure 'patch
(lambda _
(substitute* "tests/check/libs/pbutils.c"
(("/bin/sh") (which "sh")))
+ #t))
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; Tests require a running X server.
+ (system "Xvfb :1 +extension GLX &")
+ (setenv "DISPLAY" ":1")
+ ;; Tests write to $HOME.
+ (setenv "HOME" (getcwd))
+ ;; Tests look for $XDG_RUNTIME_DIR.
+ (setenv "XDG_RUNTIME_DIR" (getcwd))
+ ;; For missing '/etc/machine-id'.
+ (setenv "DBUS_FATAL_WARNINGS" "0")
#t)))))
(home-page "https://gstreamer.freedesktop.org/")
(synopsis
--
2.30.0
What do you think, thanks!
?
Re: bug#47643: WIP-GNOME: gstreamer
(address . rg@raghavgururajan.name)
OSZP286MB0664660931C394608F08D84BA3729@OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM
??? <iyzsong@outlook.com> writes:

Toggle quote (5 lines)
> Hello, I make some updates:
>
> - Move elfutils and libunwind to inputs, as they are not listed in
> pkg-config files, so don't need to be propagated.
>
Turn out I'm wrong, they're in Requires.private...
From d7bca6928db30246b3e62ec85fd0594c46112472 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <rg@raghavgururajan.name>
Date: Fri, 9 Apr 2021 20:38:50 +0200
Subject: [PATCH] gnu: gstreamer: Update to 1.18.4.

* gnu/packages/gstreamer.scm (gstreamer)[version]: Update to 1.18.4.
[propagated-inputs]: Add elfutils and libunwind.
[synopsis]: Change to "Multimedia framework".
[native-inputs]: Add bash-completion and gettext-minimal.
[inputs]: Add gmp, libcap and gsl.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/gstreamer.scm | 40 ++++++++++++++++++++++++++------------
1 file changed, 28 insertions(+), 12 deletions(-)

Toggle diff (91 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 9ec737beb2..a13e7879dd 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -40,6 +40,7 @@
#:use-module (gnu packages audio)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages bison)
#:use-module (gnu packages cdrom)
#:use-module (gnu packages curl)
@@ -62,7 +63,9 @@
#:use-module (gnu packages libunwind)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
+ #:use-module (gnu packages maths)
#:use-module (gnu packages mp3)
+ #:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
#:use-module (gnu packages ocr)
@@ -461,16 +464,16 @@ the GStreamer multimedia framework.")
(define-public gstreamer
(package
(name "gstreamer")
- (version "1.18.2")
+ (version "1.18.4")
(source
(origin
- (method url-fetch)
- (uri (string-append
- "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-"
- version ".tar.xz"))
- (sha256
- (base32
- "0ijlmvr660m8zn09xlmnq1ajrziqsivp2hig5a9mabhcjx7ypkb6"))))
+ (method url-fetch)
+ (uri (string-append
+ "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "1igv9l4hm21kp1jmlwlagzs7ly1vaxv1sbda29q8247372dwkvls"))))
(build-system meson-build-system)
(arguments
`(#:phases
@@ -487,24 +490,37 @@ the GStreamer multimedia framework.")
(("tcase_add_test \\(tc_chain, test_stress_cleanup_unschedule.*")
"")
(("tcase_add_test \\(tc_chain, test_stress_reschedule.*")
- ""))
+ ""))
#t)))
'()))))
- (propagated-inputs `(("glib" ,glib))) ; required by gstreamer-1.0.pc.
+ (propagated-inputs
+ ;; In gstreamer-1.0.pc:
+ ;; Requires: glib-2.0, gobject-2.0
+ ;; Requires.private: gmodule-no-export-2.0 libunwind libdw
+ `(("elfutils" ,elfutils) ; libdw
+ ("glib" ,glib)
+ ("libunwind" ,libunwind)))
(native-inputs
- `(("bison" ,bison)
+ `(("bash-completion" ,bash-completion)
+ ("bison" ,bison)
("flex" ,flex)
+ ("gettext" ,gettext-minimal)
("glib" ,glib "bin")
("gobject-introspection" ,gobject-introspection)
("perl" ,perl)
("pkg-config" ,pkg-config)
("python-wrapper" ,python-wrapper)))
+ (inputs
+ `(("gmp" ,gmp)
+ ("libcap" ,libcap)
+ ;; For tests.
+ ("gsl" ,gsl)))
(native-search-paths
(list (search-path-specification
(variable "GST_PLUGIN_SYSTEM_PATH")
(files '("lib/gstreamer-1.0")))))
(home-page "https://gstreamer.freedesktop.org/")
- (synopsis "Multimedia library")
+ (synopsis "Multimedia framework")
(description
"GStreamer is a library for constructing graphs of media-handling
components. The applications it supports range from simple Ogg/Vorbis
--
2.30.0
?
Re: bug#47643: WIP-GNOME: gst-plugins-base
(address . rg@raghavgururajan.name)
OSZP286MB0664D09EF1A4AEE6474EB1ADA3729@OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM
Leo Prikler <leo.prikler@student.tugraz.at> writes:

Toggle quote (6 lines)
> From: Raghav Gururajan <rg@raghavgururajan.name>
>
> * gnu/packages/gstreamer.scm (gst-plugins-base)[inputs]: Add gdk-pixbuf+svg,
> glu, graphene, gtk+, iso-codes, libgudev, libjpeg-turbo, libvisual,
> libxshmfence, mesa, sdl and wayland.

Oh, I missed this one, and had sent a 'gst-plugins-base: Enable more
features' patch, which missing the opus 32bit skip part, I found that
was enabled by commit ea73e829d7d, so I think it should fine.

Also we can remove gdk-pixbuf, gtk+ and sdl, as they are only for
examples. And libxshmfence is not needed, since I didn't find it
referenced in the source..

What do you think?
?
Re: bug#47643: WIP-GNOME
(address . rg@raghavgururajan.name)
OSZP286MB0664670ABA3D0807887D3271A3729@OSZP286MB0664.JPNP286.PROD.OUTLOOK.COM
Leo Prikler <leo.prikler@student.tugraz.at> writes:

Toggle quote (6 lines)
> Hi,
>
> I've cleaned up your GStreamer patches a little and rebased them on staging.
> The patch set I'm about to send should both apply cleanly and build, but I
> haven't yet tested, whether it also runs okay.

Thank you!
I have replied my reviews to the patches and here will do a summary.

Toggle quote (2 lines)
> Raghav Gururajan (10):
> gnu: gstreamer: Update to 1.18.4.
gtk+ is only used for an example, so I think we can remove it from inputs.

Toggle quote (2 lines)
> gnu: gst-plugins-base: Update to 1.18.4.
> gnu: gst-plugins-base: Add missing inputs to enable more features.
First patch should only make the update, and I think the second patch
have some uncessary inputs.

Toggle quote (3 lines)
> gnu: gst-plugins-good: Update to 1.18.4.
> gnu: gst-plugins-ugly: Update to 1.18.4.
> gnu: gst-libav: Update to 1.18.4.
Trivial updates are good..

Toggle quote (3 lines)
> gnu: gst-plugins-bad: Update to 1.18.4.
> gnu: gst-plugins-bad: Add missing inputs to enable more features.
> gnu: gst-plugins-bad: Disable few more failing tests.
I think there should be 2 patches, one for update, and one for enable
more features. Disable failing tests should be include into the first
one which broken tests (or 3 patches if tests are already broken).


Toggle quote (1 lines)
> gnu: gst-editing-services: Update to 1.18.4.
Also one for update, one for enable more features if possible.

And I don't think wrap thoes packages with 'glib-or-gtk? t' with inputs
as glib-networking, gsettings-desktop-schema are very useful, maybe I'm
wrong?

Toggle quote (7 lines)
>
> gnu/packages/gstreamer.scm | 262 ++++++++++++++++++++++++++++---------
> 1 file changed, 199 insertions(+), 63 deletions(-)
>
> --
> 2.31.1

In the end, 2 trivial update patches for gstreamer-docs and gst-python:
From 4f62b9c035ca921dcf4b13189e557a841f967903 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@member.fsf.org>
Date: Sat, 10 Apr 2021 19:04:44 +0800
Subject: [PATCH 1/2] gnu: gstreamer-docs: Update 1.18.4.

* gnu/packages/gstreamer.scm (gstreamer-docs): Update to 1.18.4.
---
gnu/packages/gstreamer.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 0b5f14342e..5e2f17faf5 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -401,7 +401,7 @@ arrays of data.")
(define-public gstreamer-docs
(package
(name "gstreamer-docs")
- (version "1.18.2")
+ (version "1.18.4")
(source (origin
(method url-fetch)
(uri (string-append
@@ -409,7 +409,7 @@ arrays of data.")
"/gstreamer-docs-" version ".tar.xz"))
(sha256
(base32
- "07hrgn11ll16yahyyh5684k8ms1j9npsyb8lj0skwbapin4czshm"))))
+ "02mk11095wrci3k9924pp33k7rcj9w48bp3dwz2nriwknbbv56bq"))))
(build-system trivial-build-system)
(arguments
`(#:modules ((guix build utils))
--
2.30.0
From b5fb89d01d5bef5aafc85f518e92f8827d842ec2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@member.fsf.org>
Date: Sat, 10 Apr 2021 19:06:40 +0800
Subject: [PATCH 2/2] gnu: python-gst: Update to 1.18.4.

* gnu/packages/gstreamer.scm (python-gst): Update to 1.18.4.
---
gnu/packages/gstreamer.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 5e2f17faf5..31b6406029 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -972,7 +972,7 @@ given, also pass them to the build system instead of the ones used by PKG."
(define-public python-gst
(package
(name "python-gst")
- (version "1.18.2")
+ (version "1.18.4")
(source (origin
(method url-fetch)
(uri (string-append
@@ -980,7 +980,7 @@ given, also pass them to the build system instead of the ones used by PKG."
"gst-python-" version ".tar.xz"))
(sha256
(base32
- "171qxzndii7ynn9ag3a12h9vyydxzwy1j4ip3cb8hgim1dv0z7g1"))))
+ "13h9qzfz8s1gyj2ar9q2gf5346sgdv6jv8hj7aw0hpl2gs5f0s6b"))))
(build-system meson-build-system)
(arguments
`(#:modules ((guix build meson-build-system)
--
2.30.0
R
R
Raghav Gururajan wrote on 10 Apr 2021 14:06
Re: bug#47643: WIP-GNOME: gst-plugins-base
(name . ???)(address . iyzsong@outlook.com)
73f849e9-a6cd-ae6e-9f16-9a00e5cb0052@raghavgururajan.name
Toggle quote (3 lines)
> Hello, what 'glib-or-gtk? #t', glib-networking,
> gsettings-desktop-schemas and perl are useful for?

glib-or-gtk is to compile glib schemas and wrapping the binaries gi
modules of its inputs.
IIRC, gsettings-desktop-schemas is used during tests.
IIRC, perl used in patch-shebangs phase for test scripts.

Toggle quote (3 lines)
> Also I think it's better split this into 2 patches, one for update, one
> for adding inputs. eg: (I also add some more inputs)

TThese inputs doesn't enable features, so I think it should be fine as a
part of update.

Regards,
RG.
Attachment: OpenPGP_signature
R
R
Raghav Gururajan wrote on 10 Apr 2021 14:09
(name . ???)(address . iyzsong@outlook.com)
383fbeed-a4d5-396e-a059-2e97f2905282@raghavgururajan.name
On 2021-04-10 7:00 a.m., ??? wrote:
Toggle quote (16 lines)
> Leo Prikler <leo.prikler@student.tugraz.at> writes:
>
>> From: Raghav Gururajan <rg@raghavgururajan.name>
>>
>> * gnu/packages/gstreamer.scm (gst-plugins-base)[inputs]: Add gdk-pixbuf+svg,
>> glu, graphene, gtk+, iso-codes, libgudev, libjpeg-turbo, libvisual,
>> libxshmfence, mesa, sdl and wayland.
>
> Oh, I missed this one, and had sent a 'gst-plugins-base: Enable more
> features' patch, which missing the opus 32bit skip part, I found that
> was enabled by commit ea73e829d7d, so I think it should fine.
>
> Also we can remove gdk-pixbuf, gtk+ and sdl, as they are only for
> examples. And libxshmfence is not needed, since I didn't find it
> referenced in the source..

I suspect gdk-pixpuf be used by any of the plugins/codecs during
runtime. Removing other two are OK.

Regards,
RG.
Attachment: OpenPGP_signature
L
L
Leo Prikler wrote on 10 Apr 2021 15:19
Re: bug#47643: WIP-GNOME
6da3be185feabe72da9290926b10a832e8682240.camel@student.tugraz.at
Hi,
Am Samstag, den 10.04.2021, 19:24 +0800 schrieb ???:
Toggle quote (17 lines)
> Leo Prikler <leo.prikler@student.tugraz.at> writes:
>
> > Hi,
> >
> > I've cleaned up your GStreamer patches a little and rebased them on
> > staging.
> > The patch set I'm about to send should both apply cleanly and
> > build, but I
> > haven't yet tested, whether it also runs okay.
>
> Thank you!
> I have replied my reviews to the patches and here will do a summary.
>
> > Raghav Gururajan (10):
> > gnu: gstreamer: Update to 1.18.4.
> gtk+ is only used for an example, so I think we can remove it from
> inputs.
I agree.

Toggle quote (5 lines)
> > gnu: gst-plugins-base: Update to 1.18.4.
> > gnu: gst-plugins-base: Add missing inputs to enable more
> > features.
> First patch should only make the update, and I think the second patch
> have some uncessary inputs.
Indeed, it seems this would build fine if we just did a version bump.
At least it should if we go by version numbers alone.

Toggle quote (12 lines)
> > gnu: gst-plugins-good: Update to 1.18.4.
> > gnu: gst-plugins-ugly: Update to 1.18.4.
> > gnu: gst-libav: Update to 1.18.4.
> Trivial updates are good..
>
> > gnu: gst-plugins-bad: Update to 1.18.4.
> > gnu: gst-plugins-bad: Add missing inputs to enable more features.
> > gnu: gst-plugins-bad: Disable few more failing tests.
> I think there should be 2 patches, one for update, and one for enable
> more features. Disable failing tests should be include into the
> first
> one which broken tests (or 3 patches if tests are already broken).
As far as I know, we already disable some broken tests, but those that
we don't disable should be fine. So we should aim for 2 patches here.

Toggle quote (8 lines)
> > gnu: gst-editing-services: Update to 1.18.4.
> Also one for update, one for enable more features if possible.
>
> And I don't think wrap thoes packages with 'glib-or-gtk? t' with
> inputs
> as glib-networking, gsettings-desktop-schema are very useful, maybe
> I'm
> wrong?
I think you're right, but it might be my bias as someone already
running GNOME. We might want to test, whether gstreamer+gtk works in a
pure environment to make sure, that wrapping it is not required in some
fringe setting. That said, I find it perfectly acceptable for
gstreamer to take these directly from the environment, since it's the
same for the plugins themselves.

Toggle quote (9 lines)
> > gnu/packages/gstreamer.scm | 262 ++++++++++++++++++++++++++++-----
> > ----
> > 1 file changed, 199 insertions(+), 63 deletions(-)
> >
> > --
> > 2.31.1
>
> In the end, 2 trivial update patches for gstreamer-docs and gst-
> python:
Thanks. I'm a bit busy today, so I won't find the time to apply all
the suggested changes. Is anyone else interested in forming a v2?

Regards,
Leo
L
L
Leo Prikler wrote on 12 Apr 2021 11:36
[PATCH staging v2 1/9] gnu: gstreamer: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)
20210412093614.9393-1-leo.prikler@student.tugraz.at
From: Raghav Gururajan <rg@raghavgururajan.name>

* gnu/packages/gstreamer.scm (gstreamer)[version]: Update to 1.18.4.
[propagated-inputs]: Add elfutils and libunwind.
[synopsis]: Change to "Multimedia framework".
[native-inputs]: Add bash-completion and gettext-minimal.
[inputs]: Add gmp, libcap and gsl.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/gstreamer.scm | 40 ++++++++++++++++++++++++++------------
1 file changed, 28 insertions(+), 12 deletions(-)

Toggle diff (91 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 9ec737beb2..a13e7879dd 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -40,6 +40,7 @@
#:use-module (gnu packages audio)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages bison)
#:use-module (gnu packages cdrom)
#:use-module (gnu packages curl)
@@ -62,7 +63,9 @@
#:use-module (gnu packages libunwind)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
+ #:use-module (gnu packages maths)
#:use-module (gnu packages mp3)
+ #:use-module (gnu packages multiprecision)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
#:use-module (gnu packages ocr)
@@ -461,16 +464,16 @@ the GStreamer multimedia framework.")
(define-public gstreamer
(package
(name "gstreamer")
- (version "1.18.2")
+ (version "1.18.4")
(source
(origin
- (method url-fetch)
- (uri (string-append
- "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-"
- version ".tar.xz"))
- (sha256
- (base32
- "0ijlmvr660m8zn09xlmnq1ajrziqsivp2hig5a9mabhcjx7ypkb6"))))
+ (method url-fetch)
+ (uri (string-append
+ "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "1igv9l4hm21kp1jmlwlagzs7ly1vaxv1sbda29q8247372dwkvls"))))
(build-system meson-build-system)
(arguments
`(#:phases
@@ -487,24 +490,37 @@ the GStreamer multimedia framework.")
(("tcase_add_test \\(tc_chain, test_stress_cleanup_unschedule.*")
"")
(("tcase_add_test \\(tc_chain, test_stress_reschedule.*")
- ""))
+ ""))
#t)))
'()))))
- (propagated-inputs `(("glib" ,glib))) ; required by gstreamer-1.0.pc.
+ (propagated-inputs
+ ;; In gstreamer-1.0.pc:
+ ;; Requires: glib-2.0, gobject-2.0
+ ;; Requires.private: gmodule-no-export-2.0 libunwind libdw
+ `(("elfutils" ,elfutils) ; libdw
+ ("glib" ,glib)
+ ("libunwind" ,libunwind)))
(native-inputs
- `(("bison" ,bison)
+ `(("bash-completion" ,bash-completion)
+ ("bison" ,bison)
("flex" ,flex)
+ ("gettext" ,gettext-minimal)
("glib" ,glib "bin")
("gobject-introspection" ,gobject-introspection)
("perl" ,perl)
("pkg-config" ,pkg-config)
("python-wrapper" ,python-wrapper)))
+ (inputs
+ `(("gmp" ,gmp)
+ ("libcap" ,libcap)
+ ;; For tests.
+ ("gsl" ,gsl)))
(native-search-paths
(list (search-path-specification
(variable "GST_PLUGIN_SYSTEM_PATH")
(files '("lib/gstreamer-1.0")))))
(home-page "https://gstreamer.freedesktop.org/")
- (synopsis "Multimedia library")
+ (synopsis "Multimedia framework")
(description
"GStreamer is a library for constructing graphs of media-handling
components. The applications it supports range from simple Ogg/Vorbis
--
2.31.1
L
L
Leo Prikler wrote on 12 Apr 2021 11:36
[PATCH staging v2 3/9] gnu: gst-plugins-base: Enable more features.
(address . 47643@debbugs.gnu.org)
20210412093614.9393-3-leo.prikler@student.tugraz.at
From: Raghav Gururajan <rg@raghavgururajan.name>

* gnu/packages/gstreamer.scm (gst-plugins-base)
[inputs]: Add graphene, iso-codes, libgudev, libjpeg-turbo, libpng,
libvisual, mesa, wayland-protocols, wayland.
[native-inputs]: Add gettext-minimal and xorg-server-for-test.
[arguments]: Remove '-Dgl=disabled' from configure flags. Add pre-check phase.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
Co-authored-by: ??? <iyzsong@member.fsf.org>
---
gnu/packages/gstreamer.scm | 37 ++++++++++++++++++++++++++++++-------
1 file changed, 30 insertions(+), 7 deletions(-)

Toggle diff (65 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index cc8b29adcf..54bc5dfa22 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -559,6 +559,7 @@ This package provides the core library and elements.")
'()
`(("orc" ,orc))))) ;required by gstreamer-audio-1.0.pc
(inputs
+ ;; TODO: Add libvorbisidec
`(("cdparanoia" ,cdparanoia)
("pango" ,pango)
("libogg" ,libogg)
@@ -569,21 +570,43 @@ This package provides the core library and elements.")
("libXext" ,libxext)
("libxv" ,libxv)
("alsa-lib" ,alsa-lib)
- ("opus" ,opus)))
+ ("opus" ,opus)
+ ("graphene" ,graphene)
+ ("iso-codes" ,iso-codes)
+ ("libgudev" ,libgudev)
+ ("libjpeg" ,libjpeg-turbo)
+ ("libpng" ,libpng)
+ ("libvisual" ,libvisual)
+ ("mesa" ,mesa)
+ ("wayland-protocols" ,wayland-protocols)
+ ("wayland" ,wayland)))
(native-inputs
- `(("pkg-config" ,pkg-config)
- ("glib:bin" ,glib "bin")
- ("gobject-introspection" ,gobject-introspection)
- ("python-wrapper" ,python-wrapper)))
+ `(("pkg-config" ,pkg-config)
+ ("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("python-wrapper" ,python-wrapper)
+ ("gettext" ,gettext-minimal)
+ ("xorg-server" ,xorg-server-for-tests)))
(arguments
- `(#:configure-flags '("-Dgl=disabled")
- #:phases
+ `(#:phases
(modify-phases %standard-phases
,@%common-gstreamer-phases
(add-before 'configure 'patch
(lambda _
(substitute* "tests/check/libs/pbutils.c"
(("/bin/sh") (which "sh")))
+ #t))
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; Tests require a running X server.
+ (system "Xvfb :1 +extension GLX &")
+ (setenv "DISPLAY" ":1")
+ ;; Tests write to $HOME.
+ (setenv "HOME" (getcwd))
+ ;; Tests look for $XDG_RUNTIME_DIR.
+ (setenv "XDG_RUNTIME_DIR" (getcwd))
+ ;; For missing '/etc/machine-id'.
+ (setenv "DBUS_FATAL_WARNINGS" "0")
#t)))))
(home-page "https://gstreamer.freedesktop.org/")
(synopsis
--
2.31.1
L
L
Leo Prikler wrote on 12 Apr 2021 11:36
[PATCH staging v2 2/9] gnu: gst-plugins-base: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)
20210412093614.9393-2-leo.prikler@student.tugraz.at
From: Raghav Gururajan <rg@raghavgururajan.name>

* gnu/packages/gstreamer.scm (gst-plugins-base): Update to 1.18.4.

Signed-off-by: ??? <iyzsong@member.fsf.org>
---
gnu/packages/gstreamer.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index a13e7879dd..cc8b29adcf 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -537,7 +537,7 @@ This package provides the core library and elements.")
(define-public gst-plugins-base
(package
(name "gst-plugins-base")
- (version "1.18.2")
+ (version "1.18.4")
(source
(origin
(method url-fetch)
@@ -545,7 +545,7 @@ This package provides the core library and elements.")
name "-" version ".tar.xz"))
(sha256
(base32
- "1b05kg46azrxxvq42c71071lfsnc34pw4vynnkczdqi6g0gzn16x"))))
+ "08w3ivbc6n4vdds2ap6q7l8zdk9if8417nznyqidf0adm0lk5r99"))))
(build-system meson-build-system)
(propagated-inputs
`(("glib" ,glib) ;required by gstreamer-sdp-1.0.pc
--
2.31.1
L
L
Leo Prikler wrote on 12 Apr 2021 11:36
[PATCH staging v2 4/9] gnu: gst-plugins-good: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)
20210412093614.9393-4-leo.prikler@student.tugraz.at
From: Raghav Gururajan <rg@raghavgururajan.name>

* gnu/packages/gstreamer.scm (gst-plugins-good)[version]: Update to 1.18.4.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/gstreamer.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 54bc5dfa22..bc07b664b2 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -618,7 +618,7 @@ for the GStreamer multimedia library.")
(define-public gst-plugins-good
(package
(name "gst-plugins-good")
- (version "1.18.2")
+ (version "1.18.4")
(source
(origin
(method url-fetch)
@@ -628,7 +628,7 @@ for the GStreamer multimedia library.")
name "-" version ".tar.xz"))
(patches (search-patches "gst-plugins-good-fix-test.patch"))
(sha256
- (base32 "1929nhjsvbl4bw37nfagnfsnxz737cm2x3ayz9ayrn9lwkfm45zp"))))
+ (base32 "1c1rpq709cy8maaykyn1n0kckj9c6fl3mhvixkk6xmdwkcx0xrdn"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
--
2.31.1
L
L
Leo Prikler wrote on 12 Apr 2021 11:36
[PATCH staging v2 5/9] gnu: gst-plugins-ugly: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)
20210412093614.9393-5-leo.prikler@student.tugraz.at
From: Raghav Gururajan <rg@raghavgururajan.name>

* gnu/packages/gstreamer.scm (gst-plugins-upgly)[version]: Update to 1.18.4.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/gstreamer.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index bc07b664b2..ab715e0f22 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -817,7 +817,7 @@ par compared to the rest.")
(define-public gst-plugins-ugly
(package
(name "gst-plugins-ugly")
- (version "1.18.2")
+ (version "1.18.4")
(source
(origin
(method url-fetch)
@@ -825,7 +825,7 @@ par compared to the rest.")
(string-append "https://gstreamer.freedesktop.org/src/"
name "/" name "-" version ".tar.xz"))
(sha256
- (base32 "1nwbcv5yaib3d8icvyja3zf6lyjf5zf1hndbijrhj8j7xlia0dx3"))))
+ (base32 "0g6i4db1883q3j0l2gdv46fcqwiiaw63n6mhvsfcms1i1p7g1391"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
--
2.31.1
L
L
Leo Prikler wrote on 12 Apr 2021 11:36
[PATCH staging v2 6/9] gnu: gst-libav: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)
20210412093614.9393-6-leo.prikler@student.tugraz.at
From: Raghav Gururajan <rg@raghavgururajan.name>

* gnu/packages/gstreamer.scm (gst-libav)[version]: Update to 1.18.4.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/gstreamer.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index ab715e0f22..1af9536001 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -876,7 +876,7 @@ think twice about shipping them.")
(define-public gst-libav
(package
(name "gst-libav")
- (version "1.18.2")
+ (version "1.18.4")
(source
(origin
(method url-fetch)
@@ -885,7 +885,7 @@ think twice about shipping them.")
"https://gstreamer.freedesktop.org/src/" name "/"
name "-" version ".tar.xz"))
(sha256
- (base32 "0jbzams9ggk3sq9ywv4gsl9rghyn203l2582m6l5c1sz9ka9m5in"))))
+ (base32 "15n3x3vhshqa3icw93g4vqmqd46122anzqvfxwn6q8famlxlcjil"))))
(build-system meson-build-system)
(native-inputs
`(("perl" ,perl)
--
2.31.1
L
L
Leo Prikler wrote on 12 Apr 2021 11:36
[PATCH staging v2 7/9] gnu: gst-plugins-bad: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)
20210412093614.9393-7-leo.prikler@student.tugraz.at
From: Raghav Gururajan <rg@raghavgururajan.name>

* gnu/packages/gstreamer.scm (gst-plugins-bad)[version]: Update to 1.18.4.
[arguments](glib-or-gtk): New argument.
[phases](adjust-tests): Disable line21.
[phases](pre-check): New phase.
[propagated-inputs]: Add gstreamer.
[native-inputs]: Add gettext-minimal, gsettings-desktop-schemas, perl and
xorg-server-for-tests. Replace python with python-wrapper.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/gstreamer.scm | 33 ++++++++++++++++++++++++++-------
1 file changed, 26 insertions(+), 7 deletions(-)

Toggle diff (72 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 1af9536001..008161abd6 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -709,17 +709,18 @@ model to base your own plug-in on, here it is.")
(define-public gst-plugins-bad
(package
(name "gst-plugins-bad")
- (version "1.18.2")
+ (version "1.18.4")
(source (origin
(method url-fetch)
(uri (string-append "https://gstreamer.freedesktop.org/src/"
name "/" name "-" version ".tar.xz"))
(sha256
(base32
- "06ildd4rl6cynirv3p00d2ddf5is9svj4i7mkahldzhq24pq5mca"))))
+ "0py8k4pbalm9mxkpjbjxis0gp7g74wg5g4yax5q8rccmany0ds3l"))))
(build-system meson-build-system)
(arguments
- `(#:phases
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:phases
(modify-phases %standard-phases
,@%common-gstreamer-phases
,@(if (string-prefix? "arm" (or (%current-target-system)
@@ -746,21 +747,39 @@ model to base your own plug-in on, here it is.")
;; FIXME: Why is this failing.
((".*elements/dash_mpd\\.c.*") "")
+ ((".*elements/line21\\.c.*") "")
;; These tests are flaky and occasionally time out:
;; https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/932
((".*elements/curlhttpsrc\\.c.*") "")
;; https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1412
((".*elements/dtls\\.c.*") ""))
- #t))))))
+ #t)))
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; Tests require a running X server.
+ (system "Xvfb :1 +extension GLX &")
+ (setenv "DISPLAY" ":1")
+ ;; Tests write to $HOME.
+ (setenv "HOME" (getcwd))
+ ;; Tests look for $XDG_RUNTIME_DIR.
+ (setenv "XDG_RUNTIME_DIR" (getcwd))
+ ;; For missing '/etc/machine-id'.
+ (setenv "DBUS_FATAL_WARNINGS" "0")
+ #t)))))
(propagated-inputs
- `(("gst-plugins-base" ,gst-plugins-base)))
+ `(("gstreamer" ,gstreamer)
+ ("gst-plugins-base" ,gst-plugins-base)))
(native-inputs
- `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
+ `(("gettext" ,gettext-minimal)
+ ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
("gobject-introspection" ,gobject-introspection)
+ ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("gst-plugins-good" ,gst-plugins-good) ;for tests
+ ("perl" ,perl)
("pkg-config" ,pkg-config)
- ("python" ,python)))
+ ("python" ,python-wrapper)
+ ("xorg-server" ,xorg-server-for-tests)))
(inputs
;; XXX: The following dependencies are missing:
;; vo-amrwbenc, vo-aacenc, bs2b, chromaprint, directfb, daala, libdts,
--
2.31.1
L
L
Leo Prikler wrote on 12 Apr 2021 11:36
[PATCH staging v2 8/9] gnu: gst-plugins-bad: Add missing inputs to enable more features.
(address . 47643@debbugs.gnu.org)
20210412093614.9393-8-leo.prikler@student.tugraz.at
From: Raghav Gururajan <rg@raghavgururajan.name>

* gnu/packages/gstreamer.scm (gst-plugins-bad)[inputs]: Add bzip2,
cairo, chromaprint, directfb, faac, flite, glib, glib-networking,
glu, gsm, iqa, lcms, libaom, libbs2b, libdc1394, libdca, libde265,
libdrm, libexif, libfdk, libgme, libmfx, libmms, libmpcdec, libnice,
libofa, libopenmpt, libtiff, libva, libx11, libxcb, libxext, libxshm,
lilv, lv2, mjpegtools, nettle, openh264, opensles, pango, rtmpdump, sbc,
sctp, spandsp, srt, svt-hevc, transcode, v4l-utils, vo-aacenc, vo-amrwbenc,
vulkan-headers, vulkan-loader, webrtc-audio-processing, wildmidi,
wpebackend-fdo, zbar and zxing-cpp.
[phases](adjust-tests): Disable msdkh264enc and svthevcenc tests.
Reenable line21.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/gstreamer.scm | 89 ++++++++++++++++++++++++++++++++------
1 file changed, 76 insertions(+), 13 deletions(-)

Toggle diff (183 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 008161abd6..e4d7376cc3 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -37,6 +37,7 @@
#:use-module (guix build-system trivial)
#:use-module (guix utils)
#:use-module (gnu packages)
+ #:use-module (gnu packages aidc)
#:use-module (gnu packages audio)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
@@ -50,6 +51,7 @@
#:use-module (gnu packages flex)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
+ #:use-module (gnu packages ghostscript)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
@@ -58,6 +60,7 @@
#:use-module (gnu packages graphviz)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
+ #:use-module (gnu packages image-processing)
#:use-module (gnu packages iso-codes)
#:use-module (gnu packages java)
#:use-module (gnu packages libunwind)
@@ -66,10 +69,13 @@
#:use-module (gnu packages maths)
#:use-module (gnu packages mp3)
#:use-module (gnu packages multiprecision)
+ #:use-module (gnu packages music)
#:use-module (gnu packages ncurses)
+ #:use-module (gnu packages nettle)
#:use-module (gnu packages networking)
#:use-module (gnu packages ocr)
#:use-module (gnu packages perl)
+ #:use-module (gnu packages photo)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages qt)
#:use-module (gnu packages rdf)
@@ -87,6 +93,8 @@
#:use-module (gnu packages telephony)
#:use-module (gnu packages tls)
#:use-module (gnu packages version-control)
+ #:use-module (gnu packages vulkan)
+ #:use-module (gnu packages webkit)
#:use-module (gnu packages assembly)
#:use-module (gnu packages xml))
@@ -745,9 +753,12 @@ model to base your own plug-in on, here it is.")
(string-append "'GST_PLUGIN_SYSTEM_PATH_1_0', '"
gst-plugins-good "/lib/gstreamer-1.0'"))
+ ;; https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1136
+ ((".*elements/msdkh264enc\\.c.*") "")
+ ((".*elements/svthevcenc\\.c.*") "")
+
;; FIXME: Why is this failing.
((".*elements/dash_mpd\\.c.*") "")
- ((".*elements/line21\\.c.*") "")
;; These tests are flaky and occasionally time out:
;; https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/932
@@ -781,51 +792,103 @@ model to base your own plug-in on, here it is.")
("python" ,python-wrapper)
("xorg-server" ,xorg-server-for-tests)))
(inputs
- ;; XXX: The following dependencies are missing:
- ;; vo-amrwbenc, vo-aacenc, bs2b, chromaprint, directfb, daala, libdts,
- ;; faac, flite, libgsm, libde265, libmms, libmimic, mjpegtools,
- ;; mpeg2enc, libofa, opencv, openh264, openni2, libtimemmgr, wildmidi,
- ;; openspc, gme, sbc, schroedinger, zbar, librtmp, spandsp
`(("bluez" ,bluez)
+ ("bzip2" ,bzip2)
+ ("cairo" ,cairo)
+ ;; ("ccextractor" ,ccextractor)
+ ("chromaprint" ,chromaprint)
("curl" ,curl)
+ ("directfb" ,directfb)
+ ;;("dssim" ,dssim)
+ ("faac" ,faac)
("faad2" ,faad2)
+ ("flite" ,flite)
("fluidsynth" ,fluidsynth)
+ ("glib" ,glib)
+ ("glib-networking" ,glib-networking)
+ ("glu" ,glu)
+ ("gsm" ,gsm)
("gtk+" ,gtk+)
+ ("iqa" ,iqa)
("ladspa" ,ladspa)
+ ("lcms" ,lcms)
+ ("libaom" ,libaom)
("libass" ,libass)
+ ("libbs2b" ,libbs2b)
+ ("libdc1394" ,libdc1394)
+ ("libdca" ,libdca)
+ ("libde265" ,libde265)
+ ("libdrm" ,libdrm)
("libdvdnav" ,libdvdnav)
("libdvdread" ,libdvdread)
+ ("libexif" ,libexif)
+ ("libfdk" ,libfdk)
("libgcrypt" ,libgcrypt)
+ ("libgme" ,libgme)
("libgudev" ,libgudev)
("libkate" ,libkate)
+ ("libmfx" ,mediasdk)
+ ("libmms" ,libmms)
("libmodplug" ,libmodplug)
+ ("libmpcdec" ,libmpcdec)
("libnice" ,libnice)
+ ("libofa" ,libofa)
+ ("libopenmpt" ,libopenmpt)
("librsvg" ,librsvg)
("libsndfile" ,libsndfile)
("libsrtp" ,libsrtp)
("libssh2" ,libssh2)
+ ("libtiff" ,libtiff)
("libusb" ,libusb)
+ ("libva" ,libva)
("libvdpau" ,libvdpau)
("libwebp" ,libwebp)
+ ("libx11" ,libx11)
+ ("libxcb" ,libxcb)
+ ("libxext" ,libxext)
+ ("libxkbcommon" ,libxkbcommon)
("libxml2" ,libxml2)
+ ("libxshm" ,libxshmfence)
+ ("lilv" ,lilv)
("lrdf" ,lrdf)
+ ("lv2" ,lv2)
("mesa" ,mesa)
+ ("mjpegtools" ,mjpegtools)
("neon" ,neon)
+ ("nettle" ,nettle)
("openal" ,openal)
+ ;; ("opencv" ,opencv)
("openexr" ,openexr)
+ ("openh264" ,openh264)
("openjpeg" ,openjpeg)
+ ;; ("openni2" ,openni2)
+ ("opensles" ,opensles)
("openssl" ,openssl)
("opus" ,opus)
("orc" ,orc)
- ;("qtbase" ,qtbase)
- ;("qtdeclarative" ,qtdeclarative)
- ;("qtx11extras" ,qtx11extras)
+ ("pango" ,pango)
+ ("rtmp" ,rtmpdump)
+ ("sbc" ,sbc)
+ ("sctp" ,lksctp-tools)
("soundtouch" ,soundtouch)
- ;; GStreamer is not yet compatible with srt > 1.4.1.
- ("srt" ,srt-1.4.1)
+ ("spandsp" ,spandsp)
+ ("srt" ,srt)
+ ("svthevcenc" ,svt-hevc)
+ ("tinyalsa" ,tinyalsa)
+ ("transcode" ,transcode)
+ ("v4l" ,v4l-utils)
+ ("voaacenc", vo-aacenc)
+ ("voamrwbenc" ,vo-amrwbenc)
+ ("vulkan-headers" ,vulkan-headers)
+ ("vulkan-loader" ,vulkan-loader)
("x265" ,x265)
- ("webrtc-audio-processing" ,webrtc-audio-processing)
- ("wayland" ,wayland)))
+ ("wayland" ,wayland)
+ ("webrtcdsp" ,webrtc-audio-processing)
+ ("wildmidi" ,wildmidi)
+ ("wpebackend-fdo" ,wpebackend-fdo)
+ ;; ("wpewebkit" ,wpewebkit)
+ ("zbar" ,zbar)
+ ("zxing" ,zxing-cpp)))
(home-page "https://gstreamer.freedesktop.org/")
(synopsis "Plugins for the GStreamer multimedia library")
(description
--
2.31.1
L
L
Leo Prikler wrote on 12 Apr 2021 11:36
[PATCH staging v2 9/9] gnu: gst-editing-services: Update to 1.18.4.
(address . 47643@debbugs.gnu.org)
20210412093614.9393-9-leo.prikler@student.tugraz.at
From: Raghav Gururajan <rg@raghavgururajan.name>

* gnu/packages/gstreamer.scm (gst-editing-services)[version]: Update to 1.18.4.
[arguments](glib-or-gtk): New argument.
[inputs]: Add glib, glib-networking and gtk+. Move gst-plugins-base to ...
[propagated-inputs]: ... here. Add gstreamer.
[native-inputs]: Replace python with python-wrapper.

Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/gstreamer.scm | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)

Toggle diff (48 lines)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index e4d7376cc3..6f649238d2 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -988,7 +988,7 @@ decoders, muxers, and demuxers provided by FFmpeg.")
(define-public gst-editing-services
(package
(name "gst-editing-services")
- (version "1.18.2")
+ (version "1.18.4")
(source (origin
(method url-fetch)
(uri (string-append
@@ -996,15 +996,21 @@ decoders, muxers, and demuxers provided by FFmpeg.")
"gst-editing-services-" version ".tar.xz"))
(sha256
(base32
- "0pv2k8zlpn3vv2sdlspi3m63ixcwzi90pjly2ypbkg59ab97rb15"))))
+ "010xg960qsh5dwmf0y9l1q13h0cymmrgapzla2zsw66ylxqbi1s6"))))
(build-system meson-build-system)
(arguments
;; FIXME: 16/22 failing tests.
`(#:tests? #f
+ #:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
#:phases (modify-phases %standard-phases
,@%common-gstreamer-phases)))
+ (propagated-inputs
+ `(("gstreamer" ,gstreamer)
+ ("gst-plugins-base" ,gst-plugins-base)))
(inputs
- `(("gst-plugins-base" ,gst-plugins-base)
+ `(("glib" ,glib)
+ ("glib-networking" ,glib-networking)
+ ("gtk+" ,gtk+)
("libxml2" ,libxml2)))
(native-inputs
`(("flex" ,flex)
@@ -1014,7 +1020,7 @@ decoders, muxers, and demuxers provided by FFmpeg.")
("gst-plugins-good" ,gst-plugins-good)
("perl" ,perl)
("pkg-config" ,pkg-config)
- ("python" ,python)))
+ ("python" ,python-wrapper)))
(home-page "https://gstreamer.freedesktop.org/")
(synopsis "GStreamer library for non-linear editors")
(description
--
2.31.1
M
M
Maxime Devos wrote on 12 Apr 2021 16:57
dd5fbab4effb0b0591cbb1f3492ca30a42bac558.camel@telenet.be
One question.

On Mon, 2021-04-12 at 11:36 +0200, Leo Prikler wrote:
Toggle quote (2 lines)
> ;; FIXME: 16/22 failing tests.

Is the number of failing tests the same after the package update?
If not so, what are the additional failing tests, or what tests
do pass now?

Warning: I didn't test this series, I'm just looking patches.
I'll try reconfiguring from "staging" when things are considered ready.

No other comments.

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYHRfxRccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7sJKAP9sxOCwUwyvO61Hs9eZDQqqqLQB
IxXLUSNcIGIQ5985gAEA1Tjak/XFyYECUmFi7bL0wu/ruC7ZYv8QAGq0FcyMOgc=
=q0P5
-----END PGP SIGNATURE-----


L
L
Leo Prikler wrote on 12 Apr 2021 17:59
3c8bba8257b31054762874d0498cd45b8b318a07.camel@student.tugraz.at
Am Montag, den 12.04.2021, 16:57 +0200 schrieb Maxime Devos:
Toggle quote (8 lines)
> One question.
>
> On Mon, 2021-04-12 at 11:36 +0200, Leo Prikler wrote:
> > ;; FIXME: 16/22 failing tests.
>
> Is the number of failing tests the same after the package update?
> If not so, what are the additional failing tests, or what tests
> do pass now?
A minor correction, it would now be 16/23, but I don't think much
changed in the grand scheme of things.

Toggle quote (3 lines)
> Warning: I didn't test this series, I'm just looking patches.
> I'll try reconfiguring from "staging" when things are considered
> ready.
Don't worry about it, I also look at aesthetics first.

Regards,
Leo
R
R
Raghav Gururajan wrote on 14 Apr 2021 12:57
[PATCH v2 06/18] gnu: ibus: Update to 1.5.24.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210414105755.12702-6-rg@raghavgururajan.name
* gnu/packages/ibus.scm (ibus)[version]: Update to 1.5.24.
[inputs]: Add glib, libxkbcommon, libxtst and python-dbus. Move
ucd, unicode-cldr-common and unicode-emoji from ...
[native-inputs]: ... here. Add gnome-common, perl, python-wrapper
and which.
---
gnu/packages/ibus.scm | 35 +++++++++++++++++++++++------------
1 file changed, 23 insertions(+), 12 deletions(-)

Toggle diff (83 lines)
diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index fc59ea1c6b..e566993b08 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -49,18 +49,21 @@
#:use-module (gnu packages gtk)
#:use-module (gnu packages iso-codes)
#:use-module (gnu packages logging)
+ #:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-xyz)
#:use-module (gnu packages serialization)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages textutils)
#:use-module (gnu packages unicode)
- #:use-module (gnu packages xorg))
+ #:use-module (gnu packages xorg)
+ #:use-module (gnu packages xdisorg))
(define-public ibus
(package
(name "ibus")
- (version "1.5.22")
+ (version "1.5.24")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/ibus/ibus/"
@@ -68,7 +71,7 @@
version "/ibus-" version ".tar.gz"))
(sha256
(base32
- "0jmy2w01phpmqnjnfnak7nvfna57mpgfnl87jwc4iai8ijjynw41"))))
+ "07s2ly75xv50bqg37mn37i9akqvcfd45k2mbplxrsqk3a2b3mwxb"))))
(build-system glib-or-gtk-build-system)
(arguments
`(#:tests? #f ; tests fail because there's no connection to dbus
@@ -138,26 +141,34 @@
(inputs
`(("dbus" ,dbus)
("dconf" ,dconf)
+ ("glib" ,glib)
("gtk2" ,gtk+-2)
("gtk+" ,gtk+)
+ ("iso-codes" ,iso-codes)
("json-glib" ,json-glib)
("libnotify" ,libnotify)
("libx11" ,libx11)
+ ("libxkbcommon" ,libxkbcommon)
+ ("libxtst" ,libxtst)
+ ("pygobject" ,python-pygobject)
+ ("python" ,python)
+ ("python-dbus" ,python-dbus)
("setxkbmap" ,setxkbmap)
+ ("ucd" ,ucd)
+ ("unicode-cldr-common" ,unicode-cldr-common)
+ ("unicode-emoji" ,unicode-emoji)
("wayland" ,wayland)
- ("xmodmap" ,xmodmap)
- ("iso-codes" ,iso-codes)
- ("pygobject2" ,python-pygobject)
- ("python" ,python)))
+ ("xmodmap" ,xmodmap)))
(native-inputs
- `(("glib" ,glib "bin") ; for glib-genmarshal
+ `(("glib" ,glib "bin") ; for glib-genmarshal
("gettext" ,gettext-minimal)
+ ("gnome-common" ,gnome-common)
("gobject-introspection" ,gobject-introspection) ; for g-ir-compiler
- ("ucd" ,ucd)
- ("unicode-emoji" ,unicode-emoji)
- ("unicode-cldr-common" ,unicode-cldr-common)
+ ("perl" ,perl)
+ ("pkg-config" ,pkg-config)
+ ("python-wrapper" ,python-wrapper)
("vala" ,vala)
- ("pkg-config" ,pkg-config)))
+ ("which" ,which)))
(native-search-paths
(list (search-path-specification
(variable "IBUS_COMPONENT_PATH")
--
2.31.1
R
R
Raghav Gururajan wrote on 14 Apr 2021 12:57
[PATCH v2 07/18] gnu: ibus: Enable documentation.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210414105755.12702-7-rg@raghavgururajan.name
* gnu/packages/ibus.scm (ibus)[outputs](doc): New output.
[configure-flags](enable-gtk-doc): New flag.
[phases](patch-docbook-xml): New phase.
(move-doc): New phase.
[native-inputs]: Add docbook-xml and gtk-doc.
---
gnu/packages/ibus.scm | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)

Toggle diff (72 lines)
diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index e566993b08..b6687239df 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -42,6 +42,7 @@
#:use-module (gnu packages databases)
#:use-module (gnu packages datastructures)
#:use-module (gnu packages dbm)
+ #:use-module (gnu packages docbook)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
@@ -73,10 +74,12 @@
(base32
"07s2ly75xv50bqg37mn37i9akqvcfd45k2mbplxrsqk3a2b3mwxb"))))
(build-system glib-or-gtk-build-system)
+ (outputs '("out" "doc"))
(arguments
`(#:tests? #f ; tests fail because there's no connection to dbus
#:parallel-build? #f ; race condition discovered with emoji support
#:configure-flags (list "--enable-python-library"
+ "--enable-gtk-doc"
(string-append
"--with-unicode-emoji-dir="
(assoc-ref %build-inputs "unicode-emoji")
@@ -91,6 +94,14 @@
"--enable-wayland")
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'patch-docbook-xml
+ (lambda* (#:key inputs #:allow-other-keys)
+ (with-directory-excursion "docs/reference/ibus"
+ (substitute* "ibus-docs.sgml.in"
+ (("http://www.oasis-open.org/docbook/xml/4.1.2/")
+ (string-append (assoc-ref inputs "docbook-xml")
+ "/xml/dtd/docbook/"))))
+ #t))
(add-after 'unpack 'patch-python-target-directories
(lambda* (#:key outputs #:allow-other-keys)
(let ((root (string-append (assoc-ref outputs "out")
@@ -127,6 +138,15 @@
(("\"(setxkbmap|xmodmap)\"" _ prog)
(string-append "\"" (assoc-ref inputs prog) "/bin/" prog "\"")))
#t))
+ (add-after 'install 'move-doc
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (assoc-ref outputs "doc")))
+ (mkdir-p (string-append doc "/share"))
+ (rename-file
+ (string-append out "/share/gtk-doc")
+ (string-append doc "/share/gtk-doc"))
+ #t)))
(add-after 'wrap-program 'wrap-with-additional-paths
(lambda* (#:key outputs #:allow-other-keys)
;; Make sure 'ibus-setup' runs with the correct PYTHONPATH and
@@ -160,10 +180,12 @@
("wayland" ,wayland)
("xmodmap" ,xmodmap)))
(native-inputs
- `(("glib" ,glib "bin") ; for glib-genmarshal
+ `(("docbook-xml" ,docbook-xml-4.1.2)
+ ("glib" ,glib "bin") ; for glib-genmarshal
("gettext" ,gettext-minimal)
("gnome-common" ,gnome-common)
("gobject-introspection" ,gobject-introspection) ; for g-ir-compiler
+ ("gtk-doc" ,gtk-doc)
("perl" ,perl)
("pkg-config" ,pkg-config)
("python-wrapper" ,python-wrapper)
--
2.31.1
R
R
Raghav Gururajan wrote on 14 Apr 2021 12:57
[PATCH v2 08/18] gnu: ibus: Enable memconf.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210414105755.12702-8-rg@raghavgururajan.name
* gnu/packages/ibus.scm (ibus)[configure-flags](enable-memconf): New flag.
---
gnu/packages/ibus.scm | 1 +
1 file changed, 1 insertion(+)

Toggle diff (14 lines)
diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index b6687239df..3f151d9cd7 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -80,6 +80,7 @@
#:parallel-build? #f ; race condition discovered with emoji support
#:configure-flags (list "--enable-python-library"
"--enable-gtk-doc"
+ "--enable-memconf"
(string-append
"--with-unicode-emoji-dir="
(assoc-ref %build-inputs "unicode-emoji")
--
2.31.1
R
R
Raghav Gururajan wrote on 14 Apr 2021 12:57
[PATCH v2 09/18] gnu: ibus: Enable tests.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210414105755.12702-9-rg@raghavgururajan.name
* gnu/packages/ibus.scm (ibus)[arguments](tests): Remove argument.
(parallel-tests): New argument.
[patches](disable-failing-tests): New phase.
(pre-check): New phase.
[native-inputs]: Add xorg-server-for-tests.
---
gnu/packages/ibus.scm | 30 +++++++++++++++++++++++++++---
1 file changed, 27 insertions(+), 3 deletions(-)

Toggle diff (76 lines)
diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index 3f151d9cd7..7e7d6c64d1 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -76,7 +76,7 @@
(build-system glib-or-gtk-build-system)
(outputs '("out" "doc"))
(arguments
- `(#:tests? #f ; tests fail because there's no connection to dbus
+ `(#:parallel-tests? #f
#:parallel-build? #f ; race condition discovered with emoji support
#:configure-flags (list "--enable-python-library"
"--enable-gtk-doc"
@@ -95,6 +95,14 @@
"--enable-wayland")
#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'disable-failing-tests
+ (lambda _
+ ;; These tests require /etc/machine-id.
+ (with-directory-excursion "src/tests"
+ (substitute* '("ibus-share.c" "ibus-compose.c"
+ "ibus-keypress.c")
+ (("[ \t]*return g_test_run \\(\\);") "")))
+ #t))
(add-after 'unpack 'patch-docbook-xml
(lambda* (#:key inputs #:allow-other-keys)
(with-directory-excursion "docs/reference/ibus"
@@ -102,7 +110,7 @@
(("http://www.oasis-open.org/docbook/xml/4.1.2/")
(string-append (assoc-ref inputs "docbook-xml")
"/xml/dtd/docbook/"))))
- #t))
+ #t))
(add-after 'unpack 'patch-python-target-directories
(lambda* (#:key outputs #:allow-other-keys)
(let ((root (string-append (assoc-ref outputs "out")
@@ -139,6 +147,20 @@
(("\"(setxkbmap|xmodmap)\"" _ prog)
(string-append "\"" (assoc-ref inputs prog) "/bin/" prog "\"")))
#t))
+ (add-before 'check 'pre-check
+ (lambda _
+ ;; Tests write to $HOME.
+ (setenv "HOME" (getcwd))
+ ;; Tests look for $XDG_RUNTIME_DIR.
+ (setenv "XDG_RUNTIME_DIR" (getcwd))
+ ;; For missing '/etc/machine-id'.
+ (setenv "DBUS_FATAL_WARNINGS" "0")
+ ;; Tests require a running X server.
+ (system "Xvfb :1 +extension GLX &")
+ (setenv "DISPLAY" ":1")
+ ;; Tests require running iBus daemon.
+ (system "./bus/ibus-daemon --daemonize")
+ #t))
(add-after 'install 'move-doc
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@@ -186,12 +208,14 @@
("gettext" ,gettext-minimal)
("gnome-common" ,gnome-common)
("gobject-introspection" ,gobject-introspection) ; for g-ir-compiler
+ ("gtk+:bin" ,gtk+ "bin")
("gtk-doc" ,gtk-doc)
("perl" ,perl)
("pkg-config" ,pkg-config)
("python-wrapper" ,python-wrapper)
("vala" ,vala)
- ("which" ,which)))
+ ("which" ,which)
+ ("xorg-server" ,xorg-server-for-tests)))
(native-search-paths
(list (search-path-specification
(variable "IBUS_COMPONENT_PATH")
--
2.31.1
R
R
Raghav Gururajan wrote on 14 Apr 2021 12:57
[PATCH v2 10/18] gnu: librsvg: Correct unbound variable.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210414105755.12702-10-rg@raghavgururajan.name
* gnu/packages/gnome.scm (librsvg)[phases](gnu-configure): Modify.
---
gnu/packages/gnome.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Toggle diff (15 lines)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index f296fa37d4..0cb3287d6a 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3443,7 +3443,7 @@ for dealing with different structured file formats.")
(list "--disable-static"
"--enable-vala"
(string-append "--with-html-dir="
- (assoc-ref %outputs "doc")
+ (assoc-ref outputs "doc")
"/share/gtk-doc/html")))))
(add-after 'configure 'dont-vendor-self
(lambda* (#:key vendor-dir #:allow-other-keys)
--
2.31.1
R
R
Raghav Gururajan wrote on 14 Apr 2021 12:57
[PATCH v2 12/18] gnu: iqa: Correct source uri.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210414105755.12702-12-rg@raghavgururajan.name
* gnu/packages/image.scm (iqa)[source]: Modify URI.
---
gnu/packages/image.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (17 lines)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 25c121908d..e5817d3082 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -112,8 +112,8 @@
(origin
(method url-fetch)
(uri
- (string-append "https://sourceforge.net/projects/iqa/files/"
- "1.1.2%20Release/iqa_1.1.2_src.tar.gz/download"))
+ (string-append "mirror://sourceforge/iqa/"
+ version " Release" "/iqa_" version "_src.tar.gz"))
(sha256
(base32 "00mgwy031ammab6bwmd1whhvqv3fxy1cs1igabq0n3ag12zhjs77"))))
(build-system gnu-build-system)
--
2.31.1
R
R
Raghav Gururajan wrote on 14 Apr 2021 12:57
[PATCH v2 13/18] gnu: faac: Correct source uri.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210414105755.12702-13-rg@raghavgururajan.name
* gnu/packages/audio.scm (faac)[source]: Modify URI.
---
gnu/packages/audio.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (17 lines)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 0cc3393361..9188c76976 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -383,8 +383,8 @@ by MusicIP.")
(origin
(method url-fetch)
(uri
- (string-append "https://sourceforge.net/projects/faac/files/faac-src/"
- "faac-1.30/faac-1_30.tar.gz/download"))
+ (string-append "mirror://sourceforge/faac/faac-src"
+ "/faac-" version "/faac-1_30.tar.gz"))
(sha256
(base32 "1lmj0dib3mjp84jhxc5ddvydkzzhb0gfrdh3ikcidjlcb378ghxd"))))
(build-system gnu-build-system)
--
2.31.1
R
R
Raghav Gururajan wrote on 14 Apr 2021 12:57
[PATCH v2 14/18] gnu: zbar: Update to 0.23.90.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210414105755.12702-14-rg@raghavgururajan.name
* gnu/packages/aidc.scm (zbar)[version]: Update to 0.23.90.
[source]: Switch to git repository.
[native-inputs]: Add autoconf, automake, gettext-minimal, libtool
and python-wrapper. Move gobject-introspection to here from ...
[inputs]: ... here. Add dbus and perl. Move gtk+ and qtbase to ...
[propagated-inputs]: ... here. Add glib.
---
gnu/packages/aidc.scm | 36 +++++++++++++++++++++++++-----------
1 file changed, 25 insertions(+), 11 deletions(-)

Toggle diff (76 lines)
diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm
index 6628a8ead3..0ab4594816 100644
--- a/gnu/packages/aidc.scm
+++ b/gnu/packages/aidc.scm
@@ -30,9 +30,11 @@
#:use-module (gnu packages autotools)
#:use-module (gnu packages check)
#:use-module (gnu packages imagemagick)
+ #:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
+ #:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
@@ -160,16 +162,18 @@ C/C++ programs to use its capabilities without restrictions or overhead.")
(define-public zbar
(package
(name "zbar")
- (version "0.23")
+ (version "0.23.90")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://linuxtv.org/downloads/zbar/zbar-"
- version
- ".tar.bz2"))
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/mchehab/zbar")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0bmd93a15qpgbsq9c9j33qms18rdrgz6gbc48zi6z9w5pvrvi7z9"))))
+ "0rf3i7lx0fqzxsngird6l4d4dnl612nr32rm8sib699qqx67px8n"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags (list "--with-gtk=auto"
@@ -178,17 +182,27 @@ C/C++ programs to use its capabilities without restrictions or overhead.")
(assoc-ref %outputs "out")
"/etc"))))
(native-inputs
- `(("glib" ,glib "bin")
- ("pkg-config" ,pkg-config)))
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("gettext" ,gettext-minimal)
+ ("glib" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("libtool" ,libtool)
+ ("pkg-config" ,pkg-config)
+ ("python-wrapper" ,python-wrapper)))
(inputs
- `(("gobject-introspection" ,gobject-introspection)
- ("gtk+" ,gtk+)
+ `(("dbus" ,dbus)
("imagemagick" ,imagemagick)
("libjpeg" ,libjpeg-turbo)
+ ("perl" ,perl)
("python" ,python)
- ("qtbase" ,qtbase)
("qtx11extras" ,qtx11extras)
("v4l-utils" ,v4l-utils)))
+ (propagated-inputs
+ ;; These are in 'requires' field of .pc files.
+ `(("glib" ,glib)
+ ("gtk+" ,gtk+)
+ ("qtbase" ,qtbase)))
(synopsis "Bar code reader")
(description
"ZBar can read barcodes from various sources, such as video streams,
--
2.31.1
R
R
Raghav Gururajan wrote on 14 Apr 2021 12:57
[PATCH v2 15/18] gnu: transcode: Disable v4l support due to broken API.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210414105755.12702-15-rg@raghavgururajan.name
* gnu/packages/video.scm (transcode)[inputs]: Remove v4l-utils.
[configure-flags](enable-libv4l2,enable-v4l): Remove flags.
---
gnu/packages/video.scm | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

Toggle diff (32 lines)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 6a2de91227..b04e58fd13 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -200,10 +200,14 @@
(arguments
`(#:configure-flags
(list
- "--enable-libv4l2"
+ ;; XXX: Broken API.
+ ;; Undeclared variables 'sys_nerr' and 'sys_errlist'.
+ ;; "--enable-libv4l2"
"--enable-libmpeg2"
"--enable-libmpeg2convert"
- "--enable-v4l"
+ ;; XXX: Broken API.
+ ;; Undeclared variables 'sys_nerr' and 'sys_errlist'.
+ ;; "--enable-v4l"
;;; XXX: Not available.
;"--enable-bktr"
;"--enable-sunau"
@@ -265,7 +269,7 @@
("lzo" ,lzo)
("mjepgtools" ,mjpegtools)
("sdl" ,sdl)
- ("v4l-utils" ,v4l-utils)
+ ;; ("v4l-utils" ,v4l-utils)
("x11" ,libx11)
("x264" ,libx264)
("xaw" ,libxaw)
--
2.31.1
R
R
Raghav Gururajan wrote on 14 Apr 2021 14:08
[PATCH core-updates 0/5]: Non-topical changes
(address . 47643@debbugs.gnu.org)
f6de239e-d419-c858-d2ea-d6f2d719df79@raghavgururajan.name
Hello Guix!

Please ignore all patches previous to this message, in this bug thread.
I am re-sending the remaining 5 patches in correct order.

Regards,
RG.
Attachment: OpenPGP_signature
R
R
Raghav Gururajan wrote on 14 Apr 2021 14:08
[PATCH core-updates 3/5] gnu: faac: Correct source uri.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210414120817.14624-3-rg@raghavgururajan.name
* gnu/packages/audio.scm (faac)[source]: Modify URI.
---
gnu/packages/audio.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (17 lines)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 0cc3393361..9188c76976 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -383,8 +383,8 @@ by MusicIP.")
(origin
(method url-fetch)
(uri
- (string-append "https://sourceforge.net/projects/faac/files/faac-src/"
- "faac-1.30/faac-1_30.tar.gz/download"))
+ (string-append "mirror://sourceforge/faac/faac-src"
+ "/faac-" version "/faac-1_30.tar.gz"))
(sha256
(base32 "1lmj0dib3mjp84jhxc5ddvydkzzhb0gfrdh3ikcidjlcb378ghxd"))))
(build-system gnu-build-system)
--
2.31.1
R
R
Raghav Gururajan wrote on 14 Apr 2021 14:08
[PATCH core-updates 1/5] gnu: librsvg: Correct unbound variable.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210414120817.14624-1-rg@raghavgururajan.name
* gnu/packages/gnome.scm (librsvg)[phases](gnu-configure): Modify.
---
gnu/packages/gnome.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Toggle diff (15 lines)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index f5a8a4d2bd..53258d062a 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3442,7 +3442,7 @@ for dealing with different structured file formats.")
(list "--disable-static"
"--enable-vala"
(string-append "--with-html-dir="
- (assoc-ref %outputs "doc")
+ (assoc-ref outputs "doc")
"/share/gtk-doc/html")))))
(add-after 'configure 'dont-vendor-self
(lambda* (#:key vendor-dir #:allow-other-keys)
--
2.31.1
R
R
Raghav Gururajan wrote on 14 Apr 2021 14:08
[PATCH core-updates 2/5] gnu: iqa: Correct source uri.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210414120817.14624-2-rg@raghavgururajan.name
* gnu/packages/image.scm (iqa)[source]: Modify URI.
---
gnu/packages/image.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (17 lines)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 25c121908d..e5817d3082 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -112,8 +112,8 @@
(origin
(method url-fetch)
(uri
- (string-append "https://sourceforge.net/projects/iqa/files/"
- "1.1.2%20Release/iqa_1.1.2_src.tar.gz/download"))
+ (string-append "mirror://sourceforge/iqa/"
+ version " Release" "/iqa_" version "_src.tar.gz"))
(sha256
(base32 "00mgwy031ammab6bwmd1whhvqv3fxy1cs1igabq0n3ag12zhjs77"))))
(build-system gnu-build-system)
--
2.31.1
R
R
Raghav Gururajan wrote on 14 Apr 2021 14:08
[PATCH core-updates 4/5] gnu: zbar: Update to 0.23.90.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210414120817.14624-4-rg@raghavgururajan.name
* gnu/packages/aidc.scm (zbar)[version]: Update to 0.23.90.
[source]: Switch to git repository.
[native-inputs]: Add autoconf, automake, gettext-minimal, libtool
and python-wrapper. Move gobject-introspection to here from ...
[inputs]: ... here. Add dbus and perl. Move gtk+ and qtbase to ...
[propagated-inputs]: ... here. Add glib.
---
gnu/packages/aidc.scm | 36 +++++++++++++++++++++++++-----------
1 file changed, 25 insertions(+), 11 deletions(-)

Toggle diff (76 lines)
diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm
index 6628a8ead3..0ab4594816 100644
--- a/gnu/packages/aidc.scm
+++ b/gnu/packages/aidc.scm
@@ -30,9 +30,11 @@
#:use-module (gnu packages autotools)
#:use-module (gnu packages check)
#:use-module (gnu packages imagemagick)
+ #:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
+ #:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
@@ -160,16 +162,18 @@ C/C++ programs to use its capabilities without restrictions or overhead.")
(define-public zbar
(package
(name "zbar")
- (version "0.23")
+ (version "0.23.90")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://linuxtv.org/downloads/zbar/zbar-"
- version
- ".tar.bz2"))
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/mchehab/zbar")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0bmd93a15qpgbsq9c9j33qms18rdrgz6gbc48zi6z9w5pvrvi7z9"))))
+ "0rf3i7lx0fqzxsngird6l4d4dnl612nr32rm8sib699qqx67px8n"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags (list "--with-gtk=auto"
@@ -178,17 +182,27 @@ C/C++ programs to use its capabilities without restrictions or overhead.")
(assoc-ref %outputs "out")
"/etc"))))
(native-inputs
- `(("glib" ,glib "bin")
- ("pkg-config" ,pkg-config)))
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("gettext" ,gettext-minimal)
+ ("glib" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("libtool" ,libtool)
+ ("pkg-config" ,pkg-config)
+ ("python-wrapper" ,python-wrapper)))
(inputs
- `(("gobject-introspection" ,gobject-introspection)
- ("gtk+" ,gtk+)
+ `(("dbus" ,dbus)
("imagemagick" ,imagemagick)
("libjpeg" ,libjpeg-turbo)
+ ("perl" ,perl)
("python" ,python)
- ("qtbase" ,qtbase)
("qtx11extras" ,qtx11extras)
("v4l-utils" ,v4l-utils)))
+ (propagated-inputs
+ ;; These are in 'requires' field of .pc files.
+ `(("glib" ,glib)
+ ("gtk+" ,gtk+)
+ ("qtbase" ,qtbase)))
(synopsis "Bar code reader")
(description
"ZBar can read barcodes from various sources, such as video streams,
--
2.31.1
R
R
Raghav Gururajan wrote on 14 Apr 2021 14:08
[PATCH core-updates 5/5] gnu: transcode: Disable v4l support due to broken API.
(address . 47643@debbugs.gnu.org)(name . Raghav Gururajan)(address . rg@raghavgururajan.name)
20210414120817.14624-5-rg@raghavgururajan.name
* gnu/packages/video.scm (transcode)[inputs]: Remove v4l-utils.
[configure-flags](enable-libv4l2,enable-v4l): Remove flags.
---
gnu/packages/video.scm | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

Toggle diff (32 lines)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 6a2de91227..b04e58fd13 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -200,10 +200,14 @@
(arguments
`(#:configure-flags
(list
- "--enable-libv4l2"
+ ;; XXX: Broken API.
+ ;; Undeclared variables 'sys_nerr' and 'sys_errlist'.
+ ;; "--enable-libv4l2"
"--enable-libmpeg2"
"--enable-libmpeg2convert"
- "--enable-v4l"
+ ;; XXX: Broken API.
+ ;; Undeclared variables 'sys_nerr' and 'sys_errlist'.
+ ;; "--enable-v4l"
;;; XXX: Not available.
;"--enable-bktr"
;"--enable-sunau"
@@ -265,7 +269,7 @@
("lzo" ,lzo)
("mjepgtools" ,mjpegtools)
("sdl" ,sdl)
- ("v4l-utils" ,v4l-utils)
+ ;; ("v4l-utils" ,v4l-utils)
("x11" ,libx11)
("x264" ,libx264)
("xaw" ,libxaw)
--
2.31.1
R
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 47643@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 47643
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch