From 00fad32a2c0c28150901505f7d77272cc44fce84 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Mon, 3 Aug 2020 22:46:17 +0200 Subject: gnu: Add kuserfeedback. * 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 ;;; Copyright © 2018 Gábor Boskovits ;;; Copyright © 2019 Nicolas Goaziou -;;; Copyright © 2018, 2019 Hartmut Goebel +;;; Copyright © 2018, 2019, 2020 Hartmut Goebel ;;; Copyright © 2019, 2020 Ludovic Courtès ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2020 Michael Rohleder @@ -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))) -- cgit v1.2.3