GNU bug report logs -
#25932
phonon: install Qt extensions, add gstreamer backend.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 25932 in the body.
You can then email your comments to 25932 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#25932
; Package
guix-patches
.
(Thu, 02 Mar 2017 10:41:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Thomas Danckaert <post <at> thomasdanckaert.be>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Thu, 02 Mar 2017 10:41:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
the first patch installs qt extensions, so qmake projects can use
“CONFIG+=phonon4qt5”. The second patch adds the phonon gstreamer
backend, so phonon can actually play back media :0)
Thomas
[phonon.patch (text/x-patch, inline)]
From ee8c6f45a8bc67910a279e95bfdc0defe18f37db Mon Sep 17 00:00:00 2001
From: Thomas Danckaert <post <at> thomasdanckaert.be>
Date: Thu, 2 Mar 2017 09:33:43 +0100
Subject: [PATCH 1/2] gnu: phonon: Install Qt extensions.
* gnu/packages/kde-frameworks.scm (phonon)[arguments]: Add
-DPHONON-INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT configure flag, and patch the
installation directory.
---
gnu/packages/kde-frameworks.scm | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 36c285156..6ff754b07 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2016 Efraim Flashner <efraim <at> flashner.co.il>
;;; Copyright © 2016 Hartmut Goebel <h.goebel <at> crazy-compilers.com>
;;; Copyright © 2016 David Craven <david <at> craven.ch>
+;;; Copyright © 2017 Thomas Danckaert <post <at> thomasdanckaert.be>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -119,7 +120,18 @@ common build settings used in software produced by the KDE community.")
(arguments
`(#:configure-flags
'("-DCMAKE_CXX_FLAGS=-fPIC"
- "-DPHONON_BUILD_PHONON4QT5=ON")))
+ "-DPHONON_BUILD_PHONON4QT5=ON"
+ "-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON")
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'install 'patch-installdir
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((regex (string-append "(INSTALL DESTINATION \")"
+ (assoc-ref inputs "qtbase"))))
+ (substitute* "cmake_install.cmake"
+ ((regex all dest)
+ (string-append dest (assoc-ref outputs "out")))))
+ #t)))))
(home-page "https://phonon.kde.org")
(synopsis "KDE's multimedia library")
(description "KDE's multimedia library.")
--
2.11.1
From 052b821a937a67b83693e2db35149651552e371c Mon Sep 17 00:00:00 2001
From: Thomas Danckaert <post <at> thomasdanckaert.be>
Date: Thu, 2 Mar 2017 11:20:53 +0100
Subject: [PATCH 2/2] gnu: Add phonon-backend-gstreamer.
* gnu/packages/kde-frameworks.scm (phonon-backend-gstreamer): New variable.
---
gnu/packages/kde-frameworks.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 6ff754b07..778f217e0 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -43,6 +43,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
+ #:use-module (gnu packages gstreamer)
#:use-module (gnu packages linux)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
@@ -137,6 +138,41 @@ common build settings used in software produced by the KDE community.")
(description "KDE's multimedia library.")
(license license:lgpl2.1+)))
+(define-public phonon-backend-gstreamer
+ (package
+ (name "phonon-backend-gstreamer")
+ (version "4.9.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://kde/stable/phonon"
+ name "/" version "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1wc5p1rqglf0n1avp55s50k7fjdzdrhg0gind15k8796w7nfbhyf"))))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("qtbase" ,qtbase)
+ ("phonon" ,phonon)
+ ("qtbase" ,qtbase)
+ ("qtx11extras" ,qtx11extras)
+ ("gstreamer" ,gstreamer)
+ ("gst-plugins-base" ,gst-plugins-base)
+ ("libxml2" ,libxml2)))
+ (arguments
+ `(#:configure-flags
+ '( "-DPHONON_BUILD_PHONON4QT5=ON")))
+ (home-page "https://phonon.kde.org")
+ (synopsis "Phonon backend which uses GStreamer")
+ (description "Phonon makes use of backend libraries to provide sound.
+Phonon-GStreamer is a backend based on the GStreamer multimedia library.")
+ ;; license: source files mention "either version 2.1 or 3"
+ (license license:lgpl2.1 license:lgpl3)))
+
(define-public gpgmepp
(package
(name "gpgmepp")
--
2.11.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#25932
; Package
guix-patches
.
(Thu, 02 Mar 2017 10:53:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 25932 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
From: Thomas Danckaert <post <at> thomasdanckaert.be>
Subject: bug#25932: phonon: install Qt extensions, add gstreamer
backend.
Date: Thu, 02 Mar 2017 11:40:16 +0100 (CET)
> Hi,
>
> the first patch installs qt extensions, so qmake projects can use
> “CONFIG+=phonon4qt5”. The second patch adds the phonon gstreamer
> backend, so phonon can actually play back media :0)
>
> Thomas
Updated patch, please disregard the previous version (I broke it in
the last minute when updating the license field...).
[phonon.patch (text/x-patch, inline)]
From ee8c6f45a8bc67910a279e95bfdc0defe18f37db Mon Sep 17 00:00:00 2001
From: Thomas Danckaert <post <at> thomasdanckaert.be>
Date: Thu, 2 Mar 2017 09:33:43 +0100
Subject: [PATCH 1/2] gnu: phonon: Install Qt extensions.
* gnu/packages/kde-frameworks.scm (phonon)[arguments]: Add
-DPHONON-INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT configure flag, and patch the
installation directory.
---
gnu/packages/kde-frameworks.scm | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 36c285156..6ff754b07 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2016 Efraim Flashner <efraim <at> flashner.co.il>
;;; Copyright © 2016 Hartmut Goebel <h.goebel <at> crazy-compilers.com>
;;; Copyright © 2016 David Craven <david <at> craven.ch>
+;;; Copyright © 2017 Thomas Danckaert <post <at> thomasdanckaert.be>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -119,7 +120,18 @@ common build settings used in software produced by the KDE community.")
(arguments
`(#:configure-flags
'("-DCMAKE_CXX_FLAGS=-fPIC"
- "-DPHONON_BUILD_PHONON4QT5=ON")))
+ "-DPHONON_BUILD_PHONON4QT5=ON"
+ "-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON")
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'install 'patch-installdir
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((regex (string-append "(INSTALL DESTINATION \")"
+ (assoc-ref inputs "qtbase"))))
+ (substitute* "cmake_install.cmake"
+ ((regex all dest)
+ (string-append dest (assoc-ref outputs "out")))))
+ #t)))))
(home-page "https://phonon.kde.org")
(synopsis "KDE's multimedia library")
(description "KDE's multimedia library.")
--
2.11.1
From 052b821a937a67b83693e2db35149651552e371c Mon Sep 17 00:00:00 2001
From: Thomas Danckaert <post <at> thomasdanckaert.be>
Date: Thu, 2 Mar 2017 11:20:53 +0100
Subject: [PATCH 2/2] gnu: Add phonon-backend-gstreamer.
* gnu/packages/kde-frameworks.scm (phonon-backend-gstreamer): New variable.
---
gnu/packages/kde-frameworks.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 6ff754b07..778f217e0 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -43,6 +43,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
+ #:use-module (gnu packages gstreamer)
#:use-module (gnu packages linux)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
@@ -137,6 +138,41 @@ common build settings used in software produced by the KDE community.")
(description "KDE's multimedia library.")
(license license:lgpl2.1+)))
+(define-public phonon-backend-gstreamer
+ (package
+ (name "phonon-backend-gstreamer")
+ (version "4.9.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://kde/stable/phonon"
+ name "/" version "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1wc5p1rqglf0n1avp55s50k7fjdzdrhg0gind15k8796w7nfbhyf"))))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("qtbase" ,qtbase)
+ ("phonon" ,phonon)
+ ("qtbase" ,qtbase)
+ ("qtx11extras" ,qtx11extras)
+ ("gstreamer" ,gstreamer)
+ ("gst-plugins-base" ,gst-plugins-base)
+ ("libxml2" ,libxml2)))
+ (arguments
+ `(#:configure-flags
+ '( "-DPHONON_BUILD_PHONON4QT5=ON")))
+ (home-page "https://phonon.kde.org")
+ (synopsis "Phonon backend which uses GStreamer")
+ (description "Phonon makes use of backend libraries to provide sound.
+Phonon-GStreamer is a backend based on the GStreamer multimedia library.")
+ ;; license: source files mention "either version 2.1 or 3"
+ (license license:lgpl2.1 license:lgpl3)))
+
(define-public gpgmepp
(package
(name "gpgmepp")
--
2.11.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#25932
; Package
guix-patches
.
(Thu, 02 Mar 2017 11:38:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 25932 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
From: Thomas Danckaert <post <at> thomasdanckaert.be>
Subject: bug#25932: phonon: install Qt extensions, add gstreamer backend.
Date: Thu, 02 Mar 2017 11:40:16 +0100 (CET)
> Hi,
>
> the first patch installs qt extensions, so qmake projects can use
> “CONFIG+=phonon4qt5”. The second patch adds the phonon gstreamer
> backend, so phonon can actually play back media :0)
>
> Thomas
Now really with an updated patch, please disregard both previous versions...
[phonon.patch (text/x-patch, inline)]
From ee8c6f45a8bc67910a279e95bfdc0defe18f37db Mon Sep 17 00:00:00 2001
From: Thomas Danckaert <post <at> thomasdanckaert.be>
Date: Thu, 2 Mar 2017 09:33:43 +0100
Subject: [PATCH 1/2] gnu: phonon: Install Qt extensions.
* gnu/packages/kde-frameworks.scm (phonon)[arguments]: Add
-DPHONON-INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT configure flag, and patch the
installation directory.
---
gnu/packages/kde-frameworks.scm | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 36c285156..6ff754b07 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2016 Efraim Flashner <efraim <at> flashner.co.il>
;;; Copyright © 2016 Hartmut Goebel <h.goebel <at> crazy-compilers.com>
;;; Copyright © 2016 David Craven <david <at> craven.ch>
+;;; Copyright © 2017 Thomas Danckaert <post <at> thomasdanckaert.be>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -119,7 +120,18 @@ common build settings used in software produced by the KDE community.")
(arguments
`(#:configure-flags
'("-DCMAKE_CXX_FLAGS=-fPIC"
- "-DPHONON_BUILD_PHONON4QT5=ON")))
+ "-DPHONON_BUILD_PHONON4QT5=ON"
+ "-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON")
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'install 'patch-installdir
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((regex (string-append "(INSTALL DESTINATION \")"
+ (assoc-ref inputs "qtbase"))))
+ (substitute* "cmake_install.cmake"
+ ((regex all dest)
+ (string-append dest (assoc-ref outputs "out")))))
+ #t)))))
(home-page "https://phonon.kde.org")
(synopsis "KDE's multimedia library")
(description "KDE's multimedia library.")
--
2.11.1
From 16a578a24ef27139f59fbaf7a3be3131f57d5327 Mon Sep 17 00:00:00 2001
From: Thomas Danckaert <post <at> thomasdanckaert.be>
Date: Thu, 2 Mar 2017 11:20:53 +0100
Subject: [PATCH 2/2] gnu: Add phonon-backend-gstreamer.
* gnu/packages/kde-frameworks.scm (phonon-backend-gstreamer): New variable.
---
gnu/packages/kde-frameworks.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 6ff754b07..948b9b465 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -43,6 +43,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
+ #:use-module (gnu packages gstreamer)
#:use-module (gnu packages linux)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
@@ -137,6 +138,41 @@ common build settings used in software produced by the KDE community.")
(description "KDE's multimedia library.")
(license license:lgpl2.1+)))
+(define-public phonon-backend-gstreamer
+ (package
+ (name "phonon-backend-gstreamer")
+ (version "4.9.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://kde/stable/phonon"
+ name "/" version "/"
+ name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1wc5p1rqglf0n1avp55s50k7fjdzdrhg0gind15k8796w7nfbhyf"))))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("qtbase" ,qtbase)
+ ("phonon" ,phonon)
+ ("qtbase" ,qtbase)
+ ("qtx11extras" ,qtx11extras)
+ ("gstreamer" ,gstreamer)
+ ("gst-plugins-base" ,gst-plugins-base)
+ ("libxml2" ,libxml2)))
+ (arguments
+ `(#:configure-flags
+ '( "-DPHONON_BUILD_PHONON4QT5=ON")))
+ (home-page "https://phonon.kde.org")
+ (synopsis "Phonon backend which uses GStreamer")
+ (description "Phonon makes use of backend libraries to provide sound.
+Phonon-GStreamer is a backend based on the GStreamer multimedia library.")
+ ;; license: source files mention "either version 2.1 or 3"
+ (license (list license:lgpl2.1 license:lgpl3))))
+
(define-public gpgmepp
(package
(name "gpgmepp")
--
2.11.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#25932
; Package
guix-patches
.
(Sat, 11 Mar 2017 21:16:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 25932 <at> debbugs.gnu.org (full text, mbox):
Hi Thomas,
Thomas Danckaert <post <at> thomasdanckaert.be> skribis:
> From ee8c6f45a8bc67910a279e95bfdc0defe18f37db Mon Sep 17 00:00:00 2001
> From: Thomas Danckaert <post <at> thomasdanckaert.be>
> Date: Thu, 2 Mar 2017 09:33:43 +0100
> Subject: [PATCH 1/2] gnu: phonon: Install Qt extensions.
>
> * gnu/packages/kde-frameworks.scm (phonon)[arguments]: Add
> -DPHONON-INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT configure flag, and patch the
> installation directory.
[...]
> From 16a578a24ef27139f59fbaf7a3be3131f57d5327 Mon Sep 17 00:00:00 2001
> From: Thomas Danckaert <post <at> thomasdanckaert.be>
> Date: Thu, 2 Mar 2017 11:20:53 +0100
> Subject: [PATCH 2/2] gnu: Add phonon-backend-gstreamer.
>
> * gnu/packages/kde-frameworks.scm (phonon-backend-gstreamer): New variable.
Applied both, thanks!
BTW, do you have an account on Savannah? If not, could you create one,
add the OpenPGP key you’d use to sign commits there, and let me know so
I can give you commit access? That should help. :-)
Ludo’.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#25932
; Package
guix-patches
.
(Mon, 13 Mar 2017 08:57:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 25932 <at> debbugs.gnu.org (full text, mbox):
From: ludo <at> gnu.org (Ludovic Courtès)
Subject: Re: bug#25932: phonon: install Qt extensions, add gstreamer backend.
Date: Sat, 11 Mar 2017 22:15:27 +0100
> Applied both, thanks!
thanks!
> BTW, do you have an account on Savannah? If not, could you create one,
> add the OpenPGP key you’d use to sign commits there, and let me know so
> I can give you commit access? That should help. :-)
Thanks again! :) I've created
https://savannah.gnu.org/users/thomasd
Thomas
Information forwarded
to
guix-patches <at> gnu.org
:
bug#25932
; Package
guix-patches
.
(Mon, 13 Mar 2017 09:13:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 25932 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Thomas!
Thomas Danckaert <post <at> thomasdanckaert.be> skribis:
> https://savannah.gnu.org/users/thomasd
Awesome. I’ve added you to the group. Please read ‘HACKING’ and make
sure to set up commit signing appropriately.
To make sure that you control key
1DD1681FE285E07F11DC0C592E15A6BCD77D54FD, could you reply to this
message with a signed message?
Welcome again and happy hacking! :-)
Ludo’.
[signature.asc (application/pgp-signature, inline)]
Added tag(s) fixed.
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Mon, 13 Mar 2017 13:18:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
25932 <at> debbugs.gnu.org and Thomas Danckaert <post <at> thomasdanckaert.be>
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Mon, 13 Mar 2017 13:18:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#25932
; Package
guix-patches
.
(Mon, 13 Mar 2017 18:51:03 GMT)
Full text and
rfc822 format available.
Message #27 received at 25932 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Here it is.
From: ludo <at> gnu.org (Ludovic Courtès)
Subject: Re: bug#25932: phonon: install Qt extensions, add gstreamer backend.
Date: Mon, 13 Mar 2017 10:12:14 +0100
> Hi Thomas!
>
> Thomas Danckaert <post <at> thomasdanckaert.be> skribis:
>
>> https://savannah.gnu.org/users/thomasd
>
> Awesome. I’ve added you to the group. Please read ‘HACKING’ and make
> sure to set up commit signing appropriately.
>
> To make sure that you control key
> 1DD1681FE285E07F11DC0C592E15A6BCD77D54FD, could you reply to this
> message with a signed message?
>
> Welcome again and happy hacking! :-)
>
> Ludo’.
[Message part 2 (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#25932
; Package
guix-patches
.
(Mon, 13 Mar 2017 18:54:02 GMT)
Full text and
rfc822 format available.
Message #30 received at 25932 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thomas Danckaert <post <at> thomasdanckaert.be> writes:
> Here it is.
Yay! Welcome! :)
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 11 Apr 2017 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 74 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.