GNU bug report logs -
#44215
[PATCH 0/4] Some smaller KDE changes.
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 44215 in the body.
You can then email your comments to 44215 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#44215
; Package
guix-patches
.
(Sun, 25 Oct 2020 21:06:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Hartmut Goebel <h.goebel <at> crazy-compilers.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 25 Oct 2020 21:06:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hartmut Goebel (4):
gnu: plasma-framework: Fix build errors in dependent packages.
gnu: kpackage: Fix build errors in dependent packages.
gnu: Add kuserfeedback.
gnu: kscreenlocker: Use qt-build-system.
gnu/packages/kde-frameworks.scm | 6 ++-
gnu/packages/kde-plasma.scm | 7 ++-
gnu/packages/kde.scm | 48 ++++++++++++++++++-
.../kpackage-fix-KF5PackageMacros.cmake.patch | 25 ++++++++++
...-framework-fix-KF5PlasmaMacros.cmake.patch | 25 ++++++++++
5 files changed, 104 insertions(+), 7 deletions(-)
create mode 100644 gnu/packages/patches/kpackage-fix-KF5PackageMacros.cmake.patch
create mode 100644 gnu/packages/patches/plasma-framework-fix-KF5PlasmaMacros.cmake.patch
--
2.21.3
Information forwarded
to
guix-patches <at> gnu.org
:
bug#44215
; Package
guix-patches
.
(Sun, 25 Oct 2020 21:10:01 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
Fix build errors in dependent packages if PREFIX is different from ECM's
PREFIX - which is the case in Guix. See <https://bugs.kde.org/424483> for
details.
* gnu/packages/patches/plasma-framework-fix-KF5PlasmaMacros.cmake.patch: New
file.
* packages/kde-frameworks.scm (plasma-framework)[source]: Use this patch.
---
gnu/packages/kde-frameworks.scm | 3 ++-
...-framework-fix-KF5PlasmaMacros.cmake.patch | 25 +++++++++++++++++++
2 files changed, 27 insertions(+), 1 deletion(-)
create mode 100644 gnu/packages/patches/plasma-framework-fix-KF5PlasmaMacros.cmake.patch
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index c4479de995..cbcb8ff076 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -3449,7 +3449,8 @@ setUrl, setUserAgent and call.")
name "-" version ".tar.xz"))
(sha256
(base32
- "06cxajsxj62g3c37ssrrcaxb9a12zbyp2kvrjqym329k5vd89272"))))
+ "06cxajsxj62g3c37ssrrcaxb9a12zbyp2kvrjqym329k5vd89272"))
+ (patches (search-patches "plasma-framework-fix-KF5PlasmaMacros.cmake.patch"))))
(build-system cmake-build-system)
(propagated-inputs
`(("kpackage" ,kpackage)
diff --git a/gnu/packages/patches/plasma-framework-fix-KF5PlasmaMacros.cmake.patch b/gnu/packages/patches/plasma-framework-fix-KF5PlasmaMacros.cmake.patch
new file mode 100644
index 0000000000..bd55d512cf
--- /dev/null
+++ b/gnu/packages/patches/plasma-framework-fix-KF5PlasmaMacros.cmake.patch
@@ -0,0 +1,25 @@
+From ff5ed26f21d304e867ab57781878069567deb23d Mon Sep 17 00:00:00 2001
+From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
+Date: Mon, 3 Aug 2020 19:49:58 +0000
+Subject: [PATCH] Fix build errors if PREFIX is different from ECM's PREFIX.
+
+See <https://bugs.kde.org/424483> for details
+---
+ KF5PlasmaMacros.cmake | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/KF5PlasmaMacros.cmake b/KF5PlasmaMacros.cmake
+index 494b42d56..80b3fd8dd 100644
+--- a/KF5PlasmaMacros.cmake
++++ b/KF5PlasmaMacros.cmake
+@@ -1,6 +1,5 @@
+
+-find_package(ECM 1.6.0 CONFIG REQUIRED)
+-include(${ECM_KDE_MODULE_DIR}/KDEInstallDirs.cmake)
++include(KDEInstallDirs)
+
+ set(PLASMA_RELATIVE_DATA_INSTALL_DIR "plasma")
+ set(PLASMA_DATA_INSTALL_DIR "${KDE_INSTALL_DATADIR}/${PLASMA_RELATIVE_DATA_INSTALL_DIR}")
+--
+GitLab
+
--
2.21.3
Information forwarded
to
guix-patches <at> gnu.org
:
bug#44215
; Package
guix-patches
.
(Sun, 25 Oct 2020 21:10:02 GMT)
Full text and
rfc822 format available.
Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):
Fix build errors in dependent packages if PREFIX is different from ECM's
PREFIX - which is the case in Guix. See <https://bugs.kde.org/424483> for
details.
* gnu/packages/patches/plasma-framework-fix-KF5PackageMacros.cmake.patch: New
file.
* packages/kde-frameworks.scm (package)[source]: Use this patch.
---
gnu/packages/kde-frameworks.scm | 3 ++-
.../kpackage-fix-KF5PackageMacros.cmake.patch | 25 +++++++++++++++++++
2 files changed, 27 insertions(+), 1 deletion(-)
create mode 100644 gnu/packages/patches/kpackage-fix-KF5PackageMacros.cmake.patch
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index cbcb8ff076..febdb1f4f0 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -1963,7 +1963,8 @@ covers feedback and persistent events.")
"03rp7p7i8ihz5wg58gjs638jk7xbszknfiy2j3r979snc57g95mv"))
;; Default to: external paths/symlinks can be followed by a
;; package
- (patches (search-patches "kpackage-allow-external-paths.patch"))))
+ (patches (search-patches "kpackage-allow-external-paths.patch"
+ "kpackage-fix-KF5PackageMacros.cmake.patch"))))
(build-system cmake-build-system)
(native-inputs
`(("extra-cmake-modules" ,extra-cmake-modules)))
diff --git a/gnu/packages/patches/kpackage-fix-KF5PackageMacros.cmake.patch b/gnu/packages/patches/kpackage-fix-KF5PackageMacros.cmake.patch
new file mode 100644
index 0000000000..d677f19a70
--- /dev/null
+++ b/gnu/packages/patches/kpackage-fix-KF5PackageMacros.cmake.patch
@@ -0,0 +1,25 @@
+From 668010ebc9fd84d9dc60f90b9a4ebf3c7054977f Mon Sep 17 00:00:00 2001
+From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
+Date: Sun, 25 Oct 2020 20:11:13 +0000
+Subject: [PATCH] Fix build errors if PREFIX is different from ECM's PREFIX.
+
+See <https://bugs.kde.org/424483> for details.
+---
+ KF5PackageMacros.cmake | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/KF5PackageMacros.cmake b/KF5PackageMacros.cmake
+index f4c1d1d..acd3798 100644
+--- a/KF5PackageMacros.cmake
++++ b/KF5PackageMacros.cmake
+@@ -1,6 +1,5 @@
+
+-find_package(ECM 1.6.0 CONFIG REQUIRED)
+-include(${ECM_KDE_MODULE_DIR}/KDEInstallDirs.cmake)
++include(KDEInstallDirs)
+
+ set(KPACKAGE_RELATIVE_DATA_INSTALL_DIR "kpackage")
+
+--
+GitLab
+
--
2.21.3
Information forwarded
to
guix-patches <at> gnu.org
:
bug#44215
; Package
guix-patches
.
(Sun, 25 Oct 2020 21:10:02 GMT)
Full text and
rfc822 format available.
Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/kde.scm (kuserfeedback): New variable.
---
gnu/packages/kde.scm | 48 +++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 47 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index f38f64253b..2751e6d04d 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me <at> tobias.gr>
;;; Copyright © 2018 Gábor Boskovits <boskovits <at> gmail.com>
;;; Copyright © 2019 Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
-;;; Copyright © 2018, 2019 Hartmut Goebel <h.goebel <at> crazy-compilers.com>
+;;; Copyright © 2018, 2019, 2020 Hartmut Goebel <h.goebel <at> crazy-compilers.com>
;;; Copyright © 2019, 2020 Ludovic Courtès <ludo <at> gnu.org>
;;; Copyright © 2020 Marius Bakke <marius <at> gnu.org>
;;; Copyright © 2020 Michael Rohleder <mike <at> rohleder.de>
@@ -40,12 +40,14 @@
#:use-module (gnu packages algebra)
#:use-module (gnu packages apr)
#:use-module (gnu packages audio)
+ #:use-module (gnu packages bison)
#:use-module (gnu packages boost)
#:use-module (gnu packages code)
#:use-module (gnu packages cpp)
#:use-module (gnu packages compression)
#:use-module (gnu packages curl)
#:use-module (gnu packages documentation)
+ #:use-module (gnu packages flex)
#:use-module (gnu packages gettext)
#:use-module (gnu packages ghostscript)
#:use-module (gnu packages gl)
@@ -790,3 +792,47 @@ services such as printers which advertise themselves with DNSSD (called Avahi
or Bonjour by other projects).")
(license ;; GPL for programs, LGPL for libraries, FDL for documentation
(list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
+
+
+(define-public kuserfeedback
+ ;; FIXME: Try to reduce data collection and ensure transmission i disabled by default.
+ ;; FIXME: Check https://www.reddit.com/r/kde/comments/f7ojg9 for insights
+ (package
+ (name "kuserfeedback")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/kuserfeedback/"
+ "/kuserfeedback-" version ".tar.xz"))
+ (sha256
+ (base32 "1dwx9fscnfp3zsxdir774skn8xvad2dvscnaaw3ji6mrnkmm6bss"))))
+ (build-system qt-build-system)
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)
+ ("qttools" ,qttools)
+ ;; For optional component "Survey target expression parser"
+ ("bison" ,bison)
+ ("flex" ,flex)
+ ;; For syntax checking and unit tests of PHP server code
+ ;;("php" ,php)
+ ;;("phpunit" ,phpunit)
+ ))
+ (inputs
+ `(("qtbase" ,qtbase)
+ ("qtcharts" ,qtcharts)
+ ("qtdeclarative" ,qtdeclarative)
+ ("qtsvg" ,qtsvg)))
+ (arguments
+ `(#:tests? #f)) ;; 4/17 fail
+ (home-page "https://api.kde.org/frameworks/kuserfeedback/html/")
+ (synopsis "Framework for collecting feedback from application users via
+telemetry and targeted surveys")
+ (description "This framework consists of the following components:
+@itermize
+@item Libraries for use in applications.
+@item QML bindings for the above.
+@item A server application.
+@item A management and analytics application.
+@end itemize")
+ (license license:expat)))
--
2.21.3
Information forwarded
to
guix-patches <at> gnu.org
:
bug#44215
; Package
guix-patches
.
(Sun, 25 Oct 2020 21:10:02 GMT)
Full text and
rfc822 format available.
Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/kde-plasma.scm (kscreeenlocker)[buoild-system]: Change to
qt-build-system. [arguments]{phases}<check> Remove unsued code; Actually
disable running the tests.
---
gnu/packages/kde-plasma.scm | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index ce6abb3a65..6e6213161c 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -70,7 +70,7 @@ manager which re-parents a Client window to a window decoration frame.")
(sha256
(base32
"1lhq9rxafbbxwpwzq8m25xi9hgcdfdfwl8hafqhygzp14z89q9ml"))))
- (build-system cmake-build-system)
+ (build-system qt-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
@@ -84,12 +84,11 @@ manager which re-parents a Client window to a window decoration frame.")
;; Tests use the installed library and require a DBus session.
(add-after 'install 'check
(lambda _
- (setenv "CTEST_OUTPUT_ON_FAILURE" "1")
- (invoke "dbus-launch" "ctest" "."))))))
+ ;;(invoke "dbus-launch" "ctest" ".") ;; FIXME: try to make this pass
+ #t)))))
(native-inputs
`(("extra-cmake-modules" ,extra-cmake-modules)
("pkg-config" ,pkg-config)
-
;; For tests.
("dbus" ,dbus)
("xorg-server" ,xorg-server-for-tests)))
--
2.21.3
Information forwarded
to
guix-patches <at> gnu.org
:
bug#44215
; Package
guix-patches
.
(Sun, 25 Oct 2020 21:10:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#44215
; Package
guix-patches
.
(Sun, 25 Oct 2020 21:10:03 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#44215
; Package
guix-patches
.
(Sun, 25 Oct 2020 21:10:04 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#44215
; Package
guix-patches
.
(Sun, 25 Oct 2020 21:10:04 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#44215
; Package
guix-patches
.
(Tue, 27 Oct 2020 08:55:02 GMT)
Full text and
rfc822 format available.
Message #32 received at 44215 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sun, Oct 25, 2020 at 10:09:19PM +0100, Hartmut Goebel wrote:
> Fix build errors in dependent packages if PREFIX is different from ECM's
> PREFIX - which is the case in Guix. See <https://bugs.kde.org/424483> for
> details.
>
> * gnu/packages/patches/plasma-framework-fix-KF5PlasmaMacros.cmake.patch: New
> file.
> * packages/kde-frameworks.scm (plasma-framework)[source]: Use this patch.
> ---
> gnu/packages/kde-frameworks.scm | 3 ++-
> ...-framework-fix-KF5PlasmaMacros.cmake.patch | 25 +++++++++++++++++++
> 2 files changed, 27 insertions(+), 1 deletion(-)
>
Don't forget to register the patch in gnu/local.mk
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#44215
; Package
guix-patches
.
(Tue, 27 Oct 2020 08:56:01 GMT)
Full text and
rfc822 format available.
Message #35 received at 44215 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Same here about registering the patch
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#44215
; Package
guix-patches
.
(Tue, 27 Oct 2020 08:59:02 GMT)
Full text and
rfc822 format available.
Message #38 received at 44215 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
How about gating the tests behind the tests? flag?
On Sun, Oct 25, 2020 at 10:09:22PM +0100, Hartmut Goebel wrote:
> * gnu/packages/kde-plasma.scm (kscreeenlocker)[buoild-system]: Change to
> qt-build-system. [arguments]{phases}<check> Remove unsued code; Actually
> disable running the tests.
> ---
> gnu/packages/kde-plasma.scm | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
> index ce6abb3a65..6e6213161c 100644
> --- a/gnu/packages/kde-plasma.scm
> +++ b/gnu/packages/kde-plasma.scm
> @@ -70,7 +70,7 @@ manager which re-parents a Client window to a window decoration frame.")
> (sha256
> (base32
> "1lhq9rxafbbxwpwzq8m25xi9hgcdfdfwl8hafqhygzp14z89q9ml"))))
> - (build-system cmake-build-system)
> + (build-system qt-build-system)
> (arguments
> `(#:phases
`(#:tests? #f
#:phases
> (modify-phases %standard-phases
> @@ -84,12 +84,11 @@ manager which re-parents a Client window to a window decoration frame.")
> ;; Tests use the installed library and require a DBus session.
> (add-after 'install 'check
> (lambda _
> - (setenv "CTEST_OUTPUT_ON_FAILURE" "1")
> - (invoke "dbus-launch" "ctest" "."))))))
> + ;;(invoke "dbus-launch" "ctest" ".") ;; FIXME: try to make this pass
> + #t)))))
(lambda* (#:key tests? #:allow-other-keys)
(setenv "CTEST_OUTPUT_ON_FAILURE" "1")
(if tests?
(invoke "dbus-launch" "ctest" ".")
#t))
> (native-inputs
> `(("extra-cmake-modules" ,extra-cmake-modules)
> ("pkg-config" ,pkg-config)
> -
> ;; For tests.
> ("dbus" ,dbus)
> ("xorg-server" ,xorg-server-for-tests)))
> --
> 2.21.3
>
>
>
>
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Hartmut Goebel <h.goebel <at> crazy-compilers.com>
:
You have taken responsibility.
(Tue, 27 Oct 2020 19:18:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Hartmut Goebel <h.goebel <at> crazy-compilers.com>
:
bug acknowledged by developer.
(Tue, 27 Oct 2020 19:18:02 GMT)
Full text and
rfc822 format available.
Message #43 received at 44215-close <at> debbugs.gnu.org (full text, mbox):
Thanks for the quick response. I fixed the issues and pushed as
0f4c320c2c831aa1ce38fc908c86a8dc79316811
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel <at> crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
Information forwarded
to
guix-patches <at> gnu.org
:
bug#44215
; Package
guix-patches
.
(Wed, 28 Oct 2020 06:43:02 GMT)
Full text and
rfc822 format available.
Message #46 received at 44215-close <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Tue, Oct 27, 2020 at 08:17:11PM +0100, Hartmut Goebel wrote:
> Thanks for the quick response. I fixed the issues and pushed as
> 0f4c320c2c831aa1ce38fc908c86a8dc79316811
>
You actually have a one-armed if statement now. Invoke will return #t if
it works, else it returns undefined and the phase returns true. It still
works though :).
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[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
.
(Wed, 25 Nov 2020 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 267 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.