unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#70289] [PATCH 0/3] Use Phonon-VLC backend for juk and dragon.
@ 2024-04-08 19:18 Sughosha via Guix-patches via
  2024-04-08 19:18 ` [bug#70288] [PATCH 1/3] gnu: Add phonon-backend-vlc Sughosha via Guix-patches via
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Sughosha via Guix-patches via @ 2024-04-08 19:18 UTC (permalink / raw)
  To: 70289; +Cc: Sughosha

KDE recommends only VLC backend for Phonon:
https://community.kde.org/Distributions/Packaging_Recommendations#Non-Plasma_packages.
As stated by KDE, Phonon-GStreamer is unmaintained since 2013 and
should not be shipped by default.

This patch series add phonon-plugin-vlc package and switch JuK and
Dragon players from using phonon-plugin-gstreamer to using it.

Sughosha (3):
  gnu: Add phonon-backend-vlc.
  gnu: dragon: Switch to Phonon-VLC backend.
  gnu: juk: Switch to Phonon-VLC backend.

 gnu/packages/kde-frameworks.scm | 27 +++++++++++++++++++++++++++
 gnu/packages/kde-multimedia.scm | 16 ++--------------
 2 files changed, 29 insertions(+), 14 deletions(-)


base-commit: 49f82fca4130ffcfb16aa0cf89750ab56fb99ad7
-- 
2.41.0





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

* [bug#70288] [PATCH 1/3] gnu: Add phonon-backend-vlc.
  2024-04-08 19:18 [bug#70289] [PATCH 0/3] Use Phonon-VLC backend for juk and dragon Sughosha via Guix-patches via
@ 2024-04-08 19:18 ` Sughosha via Guix-patches via
  2024-04-30 16:30   ` bug#70288: " Z572
  2024-04-08 19:18 ` [bug#70290] [PATCH 2/3] gnu: dragon: Switch to Phonon-VLC backend Sughosha via Guix-patches via
  2024-04-08 19:18 ` [bug#70291] [PATCH 3/3] gnu: juk: " Sughosha via Guix-patches via
  2 siblings, 1 reply; 5+ messages in thread
From: Sughosha via Guix-patches via @ 2024-04-08 19:18 UTC (permalink / raw)
  To: 70288; +Cc: Sughosha

* gnu/packages/kde-frameworks.scm (phonon-plugin-vlc): New variable.

Change-Id: I5a680d55782cbfcd6349efc64cce36457f456377
---
 gnu/packages/kde-frameworks.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index f487ac9a30..8135cfa544 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -288,6 +288,33 @@ (define-public phonon-backend-gstreamer
     ;; license: source files mention "either version 2.1 or 3"
     (license (list license:lgpl2.1 license:lgpl3))))
 
+(define-public phonon-backend-vlc
+  (package
+    (name "phonon-backend-vlc")
+    (version "0.12.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://kde/stable/phonon/"
+                    name "/" version "/"
+                    name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "19f9wzff4nr36ryq18i6qvsq5kqxfkpqsmsvrarr8jqy8pf7k11k"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:configure-flags
+           #~(list "-DPHONON_BUILD_QT6=OFF")))
+    (native-inputs
+     (list extra-cmake-modules qttools-5))
+    (inputs
+     (list phonon qtbase-5 vlc))
+    (home-page "https://community.kde.org/Phonon")
+    (synopsis "Phonon backend which uses VLC")
+    (description "Phonon makes use of backend libraries to provide sound.
+Phonon-VLC is a backend based on the VLC multimedia library.")
+    (license license:lgpl2.1)))
+
 
 ;; Tier 1
 ;;
-- 
2.41.0





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

* [bug#70290] [PATCH 2/3] gnu: dragon: Switch to Phonon-VLC backend.
  2024-04-08 19:18 [bug#70289] [PATCH 0/3] Use Phonon-VLC backend for juk and dragon Sughosha via Guix-patches via
  2024-04-08 19:18 ` [bug#70288] [PATCH 1/3] gnu: Add phonon-backend-vlc Sughosha via Guix-patches via
@ 2024-04-08 19:18 ` Sughosha via Guix-patches via
  2024-04-08 19:18 ` [bug#70291] [PATCH 3/3] gnu: juk: " Sughosha via Guix-patches via
  2 siblings, 0 replies; 5+ messages in thread
From: Sughosha via Guix-patches via @ 2024-04-08 19:18 UTC (permalink / raw)
  To: 70290; +Cc: Sughosha

* gnu/packages/kde-multimedia.scm (dragon):
Delete [arguments].
[inputs]: Remove phonon-plugin-gstreamer, gst-plugins-base and
gst-plugins-good. Add phonon-plugin-vlc.

Change-Id: I162717269085cfc025b03a3cc24b5f99346ce0be
---
 gnu/packages/kde-multimedia.scm | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/gnu/packages/kde-multimedia.scm b/gnu/packages/kde-multimedia.scm
index 655ae39277..77cafb6090 100644
--- a/gnu/packages/kde-multimedia.scm
+++ b/gnu/packages/kde-multimedia.scm
@@ -126,21 +126,9 @@ (define-public dragon
            kxmlgui
            breeze-icons ; default icon set
            phonon
-           phonon-backend-gstreamer
-           gst-plugins-base
-           gst-plugins-good
+           phonon-backend-vlc
            qtbase-5
            solid))
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-after 'qt-wrap 'gst-wrap
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (let ((out             (assoc-ref outputs "out"))
-                   (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
-               (wrap-program (string-append out "/bin/dragon")
-                 `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path)))
-               #t))))))
     (home-page "https://apps.kde.org/dragonplayer/")
     (synopsis "Simple video player")
     (description "Dragon Player is a multimedia player where the focus is on
-- 
2.41.0





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

* [bug#70291] [PATCH 3/3] gnu: juk: Switch to Phonon-VLC backend.
  2024-04-08 19:18 [bug#70289] [PATCH 0/3] Use Phonon-VLC backend for juk and dragon Sughosha via Guix-patches via
  2024-04-08 19:18 ` [bug#70288] [PATCH 1/3] gnu: Add phonon-backend-vlc Sughosha via Guix-patches via
  2024-04-08 19:18 ` [bug#70290] [PATCH 2/3] gnu: dragon: Switch to Phonon-VLC backend Sughosha via Guix-patches via
@ 2024-04-08 19:18 ` Sughosha via Guix-patches via
  2 siblings, 0 replies; 5+ messages in thread
From: Sughosha via Guix-patches via @ 2024-04-08 19:18 UTC (permalink / raw)
  To: 70291; +Cc: Sughosha

* gnu/packages/kde-multimedia.scm (juk)[inputs]: Remove
phonon-backend-gstreamer. Add phonon-backend-vlc.

Change-Id: I2bca0b91e10efdb5c30ce0b9059b8372256bf44c
---
 gnu/packages/kde-multimedia.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/kde-multimedia.scm b/gnu/packages/kde-multimedia.scm
index 77cafb6090..44b7344aab 100644
--- a/gnu/packages/kde-multimedia.scm
+++ b/gnu/packages/kde-multimedia.scm
@@ -273,7 +273,7 @@ (define-public juk
            kxmlgui
            breeze-icons ; default icon set
            phonon
-           phonon-backend-gstreamer
+           phonon-backend-vlc
            qtbase-5
            qtsvg-5
            taglib))
-- 
2.41.0





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

* bug#70288: [PATCH 1/3] gnu: Add phonon-backend-vlc.
  2024-04-08 19:18 ` [bug#70288] [PATCH 1/3] gnu: Add phonon-backend-vlc Sughosha via Guix-patches via
@ 2024-04-30 16:30   ` Z572
  0 siblings, 0 replies; 5+ messages in thread
From: Z572 @ 2024-04-30 16:30 UTC (permalink / raw)
  To: Sughosha via Guix-patches via; +Cc: 70288-done, Sughosha

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

Sughosha via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/kde-frameworks.scm (phonon-plugin-vlc): New variable.
>
> Change-Id: I5a680d55782cbfcd6349efc64cce36457f456377
> ---
>  gnu/packages/kde-frameworks.scm | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>
> diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
> index f487ac9a30..8135cfa544 100644
> --- a/gnu/packages/kde-frameworks.scm
> +++ b/gnu/packages/kde-frameworks.scm
> @@ -288,6 +288,33 @@ (define-public phonon-backend-gstreamer
>      ;; license: source files mention "either version 2.1 or 3"
>      (license (list license:lgpl2.1 license:lgpl3))))
>  
> +(define-public phonon-backend-vlc
> +  (package
> +    (name "phonon-backend-vlc")
> +    (version "0.12.0")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "mirror://kde/stable/phonon/"
> +                    name "/" version "/"
> +                    name "-" version ".tar.xz"))
> +              (sha256
> +               (base32
> +                "19f9wzff4nr36ryq18i6qvsq5kqxfkpqsmsvrarr8jqy8pf7k11k"))))
> +    (build-system cmake-build-system)
> +    (arguments
> +     (list #:configure-flags
> +           #~(list "-DPHONON_BUILD_QT6=OFF")))
> +    (native-inputs
> +     (list extra-cmake-modules qttools-5))
> +    (inputs
> +     (list phonon qtbase-5 vlc))
> +    (home-page "https://community.kde.org/Phonon")
> +    (synopsis "Phonon backend which uses VLC")
> +    (description "Phonon makes use of backend libraries to provide sound.
> +Phonon-VLC is a backend based on the VLC multimedia library.")
> +    (license license:lgpl2.1)))
> +
>  
>  ;; Tier 1
>  ;;

apply, see

https://git.savannah.gnu.org/cgit/guix.git/commit/?id=40cf627160f14b7077094e1999de189309e41058
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=418a75b15733affac92254f03b9e74a0ba271fd9
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=29987db3809bbda16762ecb349142be6cf71a0af

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

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

end of thread, other threads:[~2024-04-30 16:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-08 19:18 [bug#70289] [PATCH 0/3] Use Phonon-VLC backend for juk and dragon Sughosha via Guix-patches via
2024-04-08 19:18 ` [bug#70288] [PATCH 1/3] gnu: Add phonon-backend-vlc Sughosha via Guix-patches via
2024-04-30 16:30   ` bug#70288: " Z572
2024-04-08 19:18 ` [bug#70290] [PATCH 2/3] gnu: dragon: Switch to Phonon-VLC backend Sughosha via Guix-patches via
2024-04-08 19:18 ` [bug#70291] [PATCH 3/3] gnu: juk: " Sughosha via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).