GNU bug report logs - #26463
[PATCH 0/7] Add KDE Frameworks Tier 4

Previous Next

Package: guix-patches;

Reported by: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Date: Wed, 12 Apr 2017 10:57:01 UTC

Severity: normal

Tags: patch

Done: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26463 in the body.
You can then email your comments to 26463 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Wed, 12 Apr 2017 10:57: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. (Wed, 12 Apr 2017 10:57:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/7] Add KDE Frameworks Tier 4
Date: Wed, 12 Apr 2017 12:56:13 +0200
Thes series adds KDE Frameworks Tier 4.

Hartmut Goebel (7):
  gnu: Add KDE frameworkintegration.
  gnu: Add kdelibs4support.
  gnu: Add kjs.
  gnu: Add khtml.
  gnu: Add kjsembed.
  gnu: Add kmediaplayer.
  gnu: Add kross.

 gnu/packages/kde-frameworks.scm | 372 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 372 insertions(+)

-- 
2.7.4





Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Wed, 12 Apr 2017 10:59:01 GMT) Full text and rfc822 format available.

Message #8 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 26463 <at> debbugs.gnu.org
Subject: [PATCH 1/7] gnu: Add KDE frameworkintegration.
Date: Wed, 12 Apr 2017 12:58:22 +0200
* gnu/packages/kde-frameworks.scm (frameworkintegration): New variable.
---
 gnu/packages/kde-frameworks.scm | 56 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 78654a1..e4614fc 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2951,3 +2951,59 @@ script engines.")
 
 (define kinit-bootstrap
   ((package-input-rewriting `((,kdbusaddons . ,kdbusaddons-bootstrap))) kinit))
+
+;; Tier 4
+;;
+;; Tier 4 frameworks can be mostly ignored by application programmers; this
+;; tier consists of plugins acting behind the scenes to provide additional
+;; functionality or platform integration to existing frameworks (including
+;; Qt).
+
+(define-public kde-frameworkintegration
+  (package
+    (name "kde-frameworkintegration")
+    (version "5.32.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://kde/stable/frameworks/"
+                    (version-major+minor version) "/"
+                    "frameworkintegration-" version ".tar.xz"))
+              (sha256
+               (base32
+                "022scc4pgl68973wq29l1kc9j9lspvlmpr3bc6zlyg57m8agapwa"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("pkg-config" ,pkg-config)))
+    ;; Optional packages not yet in Guix: packagekitqt5, AppStreamQt
+    (inputs
+     `(("kconfig" ,kconfig)
+       ("kconfigwidgets" ,kconfigwidgets)
+       ("kcoreaddons" ,kcoreaddons)
+       ("ki18n" ,ki18n)
+       ("kiconthemes" ,kiconthemes)
+       ("kitemviews" ,kitemviews)
+       ("knewstuff" ,knewstuff)
+       ("knotificantions" ,knotifications)
+       ("kpackage" ,kpackage)
+       ("kwidgetsaddons" ,kwidgetsaddons)
+       ("qtbase" ,qtbase)
+       ("qtx11extras" ,qtx11extras)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'check-setup
+           (lambda _
+             (setenv "HOME" (getcwd))
+             ;; Make Qt render "offscreen", required for tests
+             (setenv "QT_QPA_PLATFORM" "offscreen")
+             #t)))))
+    (home-page "https://community.kde.org/Frameworks")
+    (synopsis "KDE Frameworks 5 workspace and cross-framework integration plugins")
+    (description "Framework Integration is a set of plugins responsible for
+better integration of Qt applications when running on a KDE Plasma
+workspace.")
+    ;; This package is distributed under either LGPL2 or LGPL3, but some
+    ;; files are explicitly LGPL2+.
+    (license '(lgpl2.0 lgpl3.0 lgpl2.0+))))
-- 
2.7.4





Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Wed, 12 Apr 2017 10:59:02 GMT) Full text and rfc822 format available.

Message #11 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 26463 <at> debbugs.gnu.org
Subject: [PATCH 2/7] gnu: Add kdelibs4support.
Date: Wed, 12 Apr 2017 12:58:23 +0200
* gnu/packages/kde-frameworks.scm (kdelibs4support): New variable.
---
 gnu/packages/kde-frameworks.scm | 105 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 105 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index e4614fc..2716173 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -50,6 +50,7 @@
   #:use-module (gnu packages polkit)
   #:use-module (gnu packages python)
   #:use-module (gnu packages qt)
+  #:use-module (gnu packages tls)
   #:use-module (gnu packages version-control)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xml)
@@ -3007,3 +3008,107 @@ workspace.")
     ;; This package is distributed under either LGPL2 or LGPL3, but some
     ;; files are explicitly LGPL2+.
     (license '(lgpl2.0 lgpl3.0 lgpl2.0+))))
+
+;; Porting Aids
+;;
+;; Porting Aids frameworks provide code and utilities to ease the transition
+;; from kdelibs 4 to KDE Frameworks 5. Code should aim to port away from this
+;; framework, new projects should avoid using these libraries.
+
+(define-public kdelibs4support
+  (package
+    (name "kdelibs4support")
+    (version "5.32.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://kde/stable/frameworks/"
+             (version-major+minor version) "/portingAids/"
+             name "-" version ".tar.xz"))
+       (sha256
+        (base32 "1wan5ad5rhhrwvwjjjd87n790r6d8r118gs2kw49s91pdj3iv9pb"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("dbus" ,dbus)
+       ("docbook-xml" ,docbook-xml-4.4) ; optional
+       ("extra-cmake-modules" ,extra-cmake-modules)
+       ("perl", perl)
+       ("perl-uri" ,perl-uri)
+       ("pkg-config" ,pkg-config)))
+    ;; These are required to be installed along with this package, see
+    ;; lib64/cmake/KF5KDELibs4Support/KF5KDELibs4SupportConfig.cmake
+    (propagated-inputs
+     `(("karchive" ,karchive)
+       ("kauth" ,kauth)
+       ("kconfigwidgets" ,kconfigwidgets)
+       ("kcoreaddons" ,kcoreaddons)
+       ("kcrash" ,kcrash)
+       ("kdbusaddons" ,kdbusaddons)
+       ("kdesignerplugin" ,kdesignerplugin)
+       ("kdoctools" ,kdoctools)
+       ("kemoticons" ,kemoticons)
+       ("kguiaddons" ,kguiaddons)
+       ("kiconthemes" ,kiconthemes)
+       ("kinit" ,kinit)
+       ("kitemmodels" ,kitemmodels)
+       ("knotifications" ,knotifications)
+       ("kparts" ,kparts)
+       ("ktextwidgets" ,ktextwidgets)
+       ("kunitconversion", kunitconversion)
+       ("kwindowsystem" ,kwindowsystem)
+       ("qtbase" ,qtbase)))
+    (inputs
+     `(("kcompletion" ,kcompletion)
+       ("kconfig" ,kconfig)
+       ("kconfigwidgets" ,kconfigwidgets)
+       ("kded" ,kded)
+       ("kdesignerplugin" ,kdesignerplugin)
+       ("kdoctools" ,kdoctools)
+       ("kglobalaccel" ,kglobalaccel)
+       ("kguiaddons" ,kguiaddons)
+       ("ki18n" ,ki18n)
+       ("kio" ,kio)
+       ("kservice" ,kservice)
+       ("kwidgetsaddons" ,kwidgetsaddons)
+       ("kxmlgui" ,kxmlgui)
+       ("libsm", libsm)
+       ("networkmanager-qt", networkmanager-qt)
+       ("openssl", openssl)
+       ("qtsvg" ,qtsvg)
+       ("qttools" ,qttools)
+       ("qtx11extras" ,qtx11extras)))
+    ;; FIXME: Use GuixSD ca-bundle.crt in etc/xdg/ksslcalist and
+    ;; share/kf5/kssl/ca-bundle.crt
+    (arguments
+     `(#:tests? #f ; FIXME: 6/39 tests fail.
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'make-cmake-to-find-docbook
+           (lambda _
+             (substitute* "cmake/FindDocBookXML4.cmake"
+               (("^.*xml/docbook/schema/dtd.*$")
+                "xml/dtd/docbook\n"))
+             #t))
+         (add-before 'check 'check-setup
+           (lambda _
+             (setenv "HOME" (getcwd))
+             ;; Make Qt render "offscreen", required for tests
+             (setenv "QT_QPA_PLATFORM" "offscreen")
+             #t)))))
+    (home-page "https://community.kde.org/Frameworks")
+    (synopsis "KDE Frameworks 5 porting aid from KDELibs4")
+    (description "This framework provides code and utilities to ease the
+transition from kdelibs 4 to KDE Frameworks 5.  This includes CMake macros and
+C++ classes whose functionality has been replaced by code in CMake, Qt and
+other frameworks.
+
+Code should aim to port away from this framework eventually.  The API
+documentation of the classes in this framework and the notes at
+http://community.kde.org/Frameworks/Porting_Notes should help with this.")
+    ;; Most files are distributed under LGPL2+, but the package includes code
+    ;; under a variety of licenses.
+    (license '(license:lgpl2.1+ license:lgpl2.0 license:lgpl2.0+
+               license:gpl2 license:gpl2+
+               license:expat license:bsd-2 license:bsd-3
+               license:public-domain))))
-- 
2.7.4





Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Wed, 12 Apr 2017 10:59:02 GMT) Full text and rfc822 format available.

Message #14 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 26463 <at> debbugs.gnu.org
Subject: [PATCH 3/7] gnu: Add kjs.
Date: Wed, 12 Apr 2017 12:58:24 +0200
* gnu/packages/kde-frameworks.scm (kjs): New variable.
---
 gnu/packages/kde-frameworks.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 2716173..bb4803e 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -45,6 +45,7 @@
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gstreamer)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages pcre)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages polkit)
@@ -3112,3 +3113,35 @@ http://community.kde.org/Frameworks/Porting_Notes should help with this.")
                license:gpl2 license:gpl2+
                license:expat license:bsd-2 license:bsd-3
                license:public-domain))))
+
+(define-public kjs
+  (package
+    (name "kjs")
+    (version "5.32.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://kde/stable/frameworks/"
+             (version-major+minor version) "/portingAids/"
+             name "-" version ".tar.xz"))
+       (sha256
+        (base32 "022n2hl1s5kap3pqaz4y28wn5z5qh6jcypz5kini2ic94xf7ydrg"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("kdoctools" ,kdoctools)
+       ("perl" ,perl)))
+    (inputs
+     `(("pcre" ,pcre)
+       ("qtbase" ,qtbase)))
+    (home-page "https://community.kde.org/Frameworks")
+    (synopsis "KDE Frameworks 5 support for Javascript scripting in Qt
+applications")
+    (description "Add-on library to Qt which adds JavaScript scripting
+support.")
+    ;; Most files are distributed under LGPL2+, but the package also includes
+    ;; code under a variety of licenses.
+    (license '(license:lgpl2.1+
+               license:bsd-2 license:bsd-3
+               (license:non-copyleft "file://src/kjs/dtoa.cpp")))))
-- 
2.7.4





Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Wed, 12 Apr 2017 10:59:03 GMT) Full text and rfc822 format available.

Message #17 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 26463 <at> debbugs.gnu.org
Subject: [PATCH 4/7] gnu: Add khtml.
Date: Wed, 12 Apr 2017 12:58:25 +0200
* gnu/packages/kde-frameworks.scm (khtml): New variable.
---
 gnu/packages/kde-frameworks.scm | 59 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index bb4803e..c4b75ea 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -44,6 +44,7 @@
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gstreamer)
+  #:use-module (gnu packages image)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages perl)
@@ -3114,6 +3115,64 @@ http://community.kde.org/Frameworks/Porting_Notes should help with this.")
                license:expat license:bsd-2 license:bsd-3
                license:public-domain))))
 
+(define-public khtml
+  (package
+    (name "khtml")
+    (version "5.32.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://kde/stable/frameworks/"
+             (version-major+minor version) "/portingAids/"
+             name "-" version ".tar.xz"))
+       (sha256
+        (base32 "1bkxfldw55khycbpcqpwi86rpv6qyqsndvjncfd5a5knnsynwdyf"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("perl", perl)))
+    (inputs
+     `(("giflib" ,giflib)
+       ("karchive" ,karchive)
+       ("kcodecs" ,kcodecs)
+       ("kglobalaccel" ,kglobalaccel)
+       ("ki18n" ,ki18n)
+       ("kiconthemes" ,kiconthemes)
+       ("kio" ,kio)
+       ("kjs" ,kjs)
+       ("knotifications" ,knotifications)
+       ("kparts" ,kparts)
+       ("ktextwidgets" ,ktextwidgets)
+       ("kwallet", kwallet)
+       ("kwidgetsaddons" ,kwidgetsaddons)
+       ("kwindowsystem" ,kwindowsystem)
+       ("kxmlgui" ,kxmlgui)
+       ("libjpeg", libjpeg)
+       ("libpng", libpng)
+       ("openssl", openssl)
+       ("phonon", phonon)
+       ("qtbase" ,qtbase)
+       ("qtx11extras" ,qtx11extras)
+       ("sonnet" ,sonnet)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'check-setup
+           (lambda _
+             ;; Make Qt render "offscreen", required for tests
+             (setenv "QT_QPA_PLATFORM" "offscreen")
+             #t)))))
+    (home-page "https://community.kde.org/Frameworks")
+    (synopsis "KDE Frameworks 5 HTML widget and component")
+    (description "KHTML is a web rendering engine, based on the KParts
+technology and using KJS for JavaScript support.")
+    ;; Most files are distributed under LGPL2+, but the package includes code
+    ;; under a variety of licenses.
+    (license '(license:lgpl2.0+ license:lgpl2.1+
+               license:gpl2  license:gpl3+
+               license:expat license:bsd-2 license:bsd-3))))
+
 (define-public kjs
   (package
     (name "kjs")
-- 
2.7.4





Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Wed, 12 Apr 2017 10:59:03 GMT) Full text and rfc822 format available.

Message #20 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 26463 <at> debbugs.gnu.org
Subject: [PATCH 5/7] gnu: Add kjsembed.
Date: Wed, 12 Apr 2017 12:58:26 +0200
* gnu/packages/kde-frameworks.scm (kjsembed): New variable.
---
 gnu/packages/kde-frameworks.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index c4b75ea..e7345f1 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -3204,3 +3204,32 @@ support.")
     (license '(license:lgpl2.1+
                license:bsd-2 license:bsd-3
                (license:non-copyleft "file://src/kjs/dtoa.cpp")))))
+
+(define-public kjsembed
+  (package
+    (name "kjsembed")
+    (version "5.32.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://kde/stable/frameworks/"
+             (version-major+minor version) "/portingAids/"
+             name "-" version ".tar.xz"))
+       (sha256
+        (base32 "0h0p4mcvmdgvjv2xd8s4x2i554nh08mc258gxhb41bs6vm3yhiz4"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("kdoctools" ,kdoctools)
+       ("qttools" ,qttools)))
+    (inputs
+     `(("ki18n" ,ki18n)
+       ("kjs" ,kjs)
+       ("qtbase" ,qtbase)
+       ("qtsvg" ,qtsvg)))
+    (home-page "https://community.kde.org/Frameworks")
+    (synopsis "KDE Frameworks 5 embedded Javascript engine for Qt")
+    (description "KJSEmbed provides a method of binding Javascript objects to
+QObjects, so you can script your applications.")
+    (license license:lgpl2.1+)))
-- 
2.7.4





Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Wed, 12 Apr 2017 10:59:04 GMT) Full text and rfc822 format available.

Message #23 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 26463 <at> debbugs.gnu.org
Subject: [PATCH 6/7] gnu: Add kmediaplayer.
Date: Wed, 12 Apr 2017 12:58:27 +0200
* gnu/packages/kde-frameworks.scm (kmediaplayer): New variable.
---
 gnu/packages/kde-frameworks.scm | 46 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index e7345f1..29ad0d5 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -3233,3 +3233,49 @@ support.")
     (description "KJSEmbed provides a method of binding Javascript objects to
 QObjects, so you can script your applications.")
     (license license:lgpl2.1+)))
+
+(define-public kmediaplayer
+  (package
+    (name "kmediaplayer")
+    (version "5.32.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://kde/stable/frameworks/"
+             (version-major+minor version) "/portingAids/"
+             name "-" version ".tar.xz"))
+       (sha256
+        (base32 "1s86dfzrqxrmbqmxq4yyyy1p507d9ns6d7sy6z67dhykgahacqf4"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("kdoctools" ,kdoctools)
+       ("qttools" ,qttools)))
+    (inputs
+     `(("kcompletion" ,kcompletion)
+       ("kcoreaddons" ,kcoreaddons)
+       ("ki18n" ,ki18n)
+       ("kiconthemes" ,kiconthemes)
+       ("kio" ,kio)
+       ("kparts" ,kparts)
+       ("kwidgetsaddons" ,kwidgetsaddons)
+       ("kxmlgui" ,kxmlgui)
+       ("qtbase" ,qtbase)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'check-setup
+           (lambda _
+             ;; Make Qt render "offscreen", required for tests
+             (setenv "QT_QPA_PLATFORM" "offscreen")
+             #t)))))
+    (home-page "https://community.kde.org/Frameworks")
+    (synopsis "KDE Frameworks 5 plugin interface for media player features")
+    (description "KMediaPlayer builds on the KParts framework to provide a
+common interface for KParts that can play media files.
+
+This framework is a porting aid.  It is not recommended for new projects, and
+existing projects that use it are advised to port away from it, and use plain
+KParts instead.")
+    (license license:expat)))
-- 
2.7.4





Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Wed, 12 Apr 2017 10:59:04 GMT) Full text and rfc822 format available.

Message #26 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 26463 <at> debbugs.gnu.org
Subject: [PATCH 7/7] gnu: Add kross.
Date: Wed, 12 Apr 2017 12:58:28 +0200
* gnu/packages/kde-frameworks.scm (kross): New variable.
---
 gnu/packages/kde-frameworks.scm | 44 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 29ad0d5..318c9da 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -3279,3 +3279,47 @@ This framework is a porting aid.  It is not recommended for new projects, and
 existing projects that use it are advised to port away from it, and use plain
 KParts instead.")
     (license license:expat)))
+
+(define-public kross
+  (package
+    (name "kross")
+    (version "5.32.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://kde/stable/frameworks/"
+             (version-major+minor version) "/portingAids/"
+             name "-" version ".tar.xz"))
+       (sha256
+        (base32 "0mgicb2rfhzp0hr1zckp1qzqzbdx0zy82mcjibrlsp7spmvynw5a"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("kdoctools" ,kdoctools)
+       ("qttools" ,qttools)))
+    (inputs
+     `(("kcompletion" ,kcompletion)
+       ("kcoreaddons" ,kcoreaddons)
+       ("ki18n" ,ki18n)
+       ("kiconthemes" ,kiconthemes)
+       ("kparts" ,kparts)
+       ("kwidgetsaddons" ,kwidgetsaddons)
+       ("kxmlgui" ,kxmlgui)
+       ("qtbase" ,qtbase)
+       ("qtscript" ,qtscript)))
+    (home-page "https://community.kde.org/Frameworks")
+    (synopsis "KDE Frameworks 5 solution for application scripting")
+    (description "Kross is a scripting bridge for the KDE Development Platform
+used to embed scripting functionality into an application.  It supports
+QtScript as a scripting interpreter backend.
+
+Kross provides an abstract API to provide scripting functionality in a
+interpreter-independent way.  The application that uses Kross should not need
+to know anything about the scripting language being used.  The core of Kross
+provides the framework to deal transparently with interpreter-backends and
+offers abstract functionality to deal with scripts.")
+    ;; Most files are distributed under LGPL2+, but the package includes code
+    ;; under a variety of licenses.
+    (license '(license:lgpl2.0+ license:lgpl2.1+
+               license:lgpl2.0 license:gpl3+))))
-- 
2.7.4





Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Wed, 12 Apr 2017 16:06:02 GMT) Full text and rfc822 format available.

Message #29 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
Cc: 26463 <at> debbugs.gnu.org
Subject: Re: bug#26463: [PATCH 1/7] gnu: Add KDE frameworkintegration.
Date: Wed, 12 Apr 2017 12:05:07 -0400
[Message part 1 (text/plain, inline)]
On Wed, Apr 12, 2017 at 12:58:22PM +0200, Hartmut Goebel wrote:
> * gnu/packages/kde-frameworks.scm (frameworkintegration): New variable.

LGTM
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Wed, 12 Apr 2017 16:07:01 GMT) Full text and rfc822 format available.

Message #32 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
Cc: 26463 <at> debbugs.gnu.org
Subject: Re: bug#26463: [PATCH 2/7] gnu: Add kdelibs4support.
Date: Wed, 12 Apr 2017 12:06:49 -0400
On Wed, Apr 12, 2017 at 12:58:23PM +0200, Hartmut Goebel wrote:
> * gnu/packages/kde-frameworks.scm (kdelibs4support): New variable.

> +    (arguments
> +     `(#:tests? #f ; FIXME: 6/39 tests fail.

Assuming these test failures don't indicate some real breakage, LGTM.
Perhaps it would be good to list the failing tests in a comment.




Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Wed, 12 Apr 2017 16:08:02 GMT) Full text and rfc822 format available.

Message #35 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
Cc: 26463 <at> debbugs.gnu.org
Subject: Re: bug#26463: [PATCH 3/7] gnu: Add kjs.
Date: Wed, 12 Apr 2017 12:07:27 -0400
[Message part 1 (text/plain, inline)]
On Wed, Apr 12, 2017 at 12:58:24PM +0200, Hartmut Goebel wrote:
> * gnu/packages/kde-frameworks.scm (kjs): New variable.

LGTM
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Wed, 12 Apr 2017 16:11:01 GMT) Full text and rfc822 format available.

Message #38 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
Cc: 26463 <at> debbugs.gnu.org
Subject: Re: bug#26463: [PATCH 4/7] gnu: Add khtml.
Date: Wed, 12 Apr 2017 12:10:26 -0400
[Message part 1 (text/plain, inline)]
On Wed, Apr 12, 2017 at 12:58:25PM +0200, Hartmut Goebel wrote:
> * gnu/packages/kde-frameworks.scm (khtml): New variable.

LGTM
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Wed, 12 Apr 2017 16:11:02 GMT) Full text and rfc822 format available.

Message #41 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
Cc: 26463 <at> debbugs.gnu.org
Subject: Re: bug#26463: [PATCH 5/7] gnu: Add kjsembed.
Date: Wed, 12 Apr 2017 12:10:51 -0400
[Message part 1 (text/plain, inline)]
On Wed, Apr 12, 2017 at 12:58:26PM +0200, Hartmut Goebel wrote:
> * gnu/packages/kde-frameworks.scm (kjsembed): New variable.

LGTM
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Wed, 12 Apr 2017 16:12:02 GMT) Full text and rfc822 format available.

Message #44 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
Cc: 26463 <at> debbugs.gnu.org
Subject: Re: bug#26463: [PATCH 6/7] gnu: Add kmediaplayer.
Date: Wed, 12 Apr 2017 12:11:16 -0400
[Message part 1 (text/plain, inline)]
On Wed, Apr 12, 2017 at 12:58:27PM +0200, Hartmut Goebel wrote:
> * gnu/packages/kde-frameworks.scm (kmediaplayer): New variable.

LGTM
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Wed, 12 Apr 2017 16:12:02 GMT) Full text and rfc822 format available.

Message #47 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
Cc: 26463 <at> debbugs.gnu.org
Subject: Re: bug#26463: [PATCH 7/7] gnu: Add kross.
Date: Wed, 12 Apr 2017 12:11:30 -0400
[Message part 1 (text/plain, inline)]
On Wed, Apr 12, 2017 at 12:58:28PM +0200, Hartmut Goebel wrote:
> * gnu/packages/kde-frameworks.scm (kross): New variable.

LGTM
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Tue, 18 Apr 2017 15:55:01 GMT) Full text and rfc822 format available.

Message #50 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 26463 <at> debbugs.gnu.org
Subject: Re: bug#26463: [PATCH 2/7] gnu: Add kdelibs4support.
Date: Tue, 18 Apr 2017 17:54:01 +0200
Am 12.04.2017 um 18:06 schrieb Leo Famulari:
> Assuming these test failures don't indicate some real breakage, LGTM.
> Perhaps it would be good to list the failing tests in a comment. 

Thanks for nagging. I'm down to two failing test-cases now and try to
fix the remaining ones, too. This will take some time since I need to
get in contact with the developers.

-- 
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#26463; Package guix-patches. (Sun, 11 Jun 2017 15:35:02 GMT) Full text and rfc822 format available.

Message #53 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 26463 <at> debbugs.gnu.org
Subject: [PATCH v2 0/7] Add KDE Frameworks Tier 4
Date: Sun, 11 Jun 2017 17:34:20 +0200
This is an updated series adding KDE Frameworks Tier 4.

Differences to the first series are:
- All packages are updated to 5.34.0 (to align this the other packages of
  kde-framworks.scm).
- Property "upstream-name" set for kde-frameworkintegration.
- Add more optional packages and TODO-comments (like I did for the other
  packages in kde-frameworks.scm, too.
- kdelibs4support: Make all but two tests pass. I tried hard to get all tests
  pass, but reasons are hard to spot and hard to debug (due to subtle
  differences between the build container and one set-up using "guix
  environment".)

Hartmut Goebel (7):
  gnu: Add kde-frameworkintegration.
  gnu: Add kdelibs4support.
  gnu: Add kjs.
  gnu: Add khtml.
  gnu: Add kjsembed.
  gnu: Add kmediaplayer.
  gnu: Add kross.

 gnu/packages/kde-frameworks.scm | 389 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 389 insertions(+)

-- 
2.7.4





Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Sun, 11 Jun 2017 15:35:02 GMT) Full text and rfc822 format available.

Message #56 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 26463 <at> debbugs.gnu.org
Subject: [PATCH v2 1/7] gnu: Add kde-frameworkintegration.
Date: Sun, 11 Jun 2017 17:34:21 +0200
* gnu/packages/kde-frameworks.scm (kde-frameworkintegration): New variable.
---
 gnu/packages/kde-frameworks.scm | 58 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 8fe71d5..3102709 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -3027,3 +3027,61 @@ script engines.")
 
 (define kinit-bootstrap
   ((package-input-rewriting `((,kdbusaddons . ,kdbusaddons-bootstrap))) kinit))
+
+
+;; Tier 4
+;;
+;; Tier 4 frameworks can be mostly ignored by application programmers; this
+;; tier consists of plugins acting behind the scenes to provide additional
+;; functionality or platform integration to existing frameworks (including
+;; Qt).
+
+(define-public kde-frameworkintegration
+  (package
+    (name "kde-frameworkintegration")
+    (version "5.34.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://kde/stable/frameworks/"
+                    (version-major+minor version) "/"
+                    "frameworkintegration-" version ".tar.xz"))
+              (sha256
+               (base32
+                "0hq1r2znjzy0wzm3nsclqmih1aia5300bsf87a2l4919q0ildb20"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("pkg-config" ,pkg-config)))
+    ;; Optional packages not yet in Guix: packagekitqt5, AppStreamQt
+    (inputs
+     `(("kconfig" ,kconfig)
+       ("kconfigwidgets" ,kconfigwidgets)
+       ("kcoreaddons" ,kcoreaddons)
+       ("ki18n" ,ki18n)
+       ("kiconthemes" ,kiconthemes)
+       ("kitemviews" ,kitemviews)
+       ("knewstuff" ,knewstuff)
+       ("knotificantions" ,knotifications)
+       ("kpackage" ,kpackage)
+       ("kwidgetsaddons" ,kwidgetsaddons)
+       ("qtbase" ,qtbase)
+       ("qtx11extras" ,qtx11extras)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'check-setup
+           (lambda _
+             (setenv "HOME" (getcwd))
+             ;; Make Qt render "offscreen", required for tests
+             (setenv "QT_QPA_PLATFORM" "offscreen")
+             #t)))))
+    (home-page "https://community.kde.org/Frameworks")
+    (synopsis "KDE Frameworks 5 workspace and cross-framework integration plugins")
+    (description "Framework Integration is a set of plugins responsible for
+better integration of Qt applications when running on a KDE Plasma
+workspace.")
+    ;; This package is distributed under either LGPL2 or LGPL3, but some
+    ;; files are explicitly LGPL2+.
+    (license '(lgpl2.0 lgpl3.0 lgpl2.0+))
+    (properties `((upstream-name . "frameworkintegration")))))
-- 
2.7.4





Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Sun, 11 Jun 2017 15:35:03 GMT) Full text and rfc822 format available.

Message #59 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 26463 <at> debbugs.gnu.org
Subject: [PATCH v2 4/7] gnu: Add khtml.
Date: Sun, 11 Jun 2017 17:34:24 +0200
* gnu/packages/kde-frameworks.scm (khtml): New variable.
---
 gnu/packages/kde-frameworks.scm | 58 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index be31385..e84ed80 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -3207,6 +3207,64 @@ http://community.kde.org/Frameworks/Porting_Notes should help with this.")
                license:expat license:bsd-2 license:bsd-3
                license:public-domain))))
 
+(define-public khtml
+  (package
+    (name "khtml")
+    (version "5.34.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://kde/stable/frameworks/"
+             (version-major+minor version) "/portingAids/"
+             name "-" version ".tar.xz"))
+       (sha256
+        (base32 "0j490jfnz8pbfl1i11wj514nw0skpnxr2fvi9pqpfql9lfhsanxv"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("perl", perl)))
+    (inputs
+     `(("giflib" ,giflib)
+       ("karchive" ,karchive)
+       ("kcodecs" ,kcodecs)
+       ("kglobalaccel" ,kglobalaccel)
+       ("ki18n" ,ki18n)
+       ("kiconthemes" ,kiconthemes)
+       ("kio" ,kio)
+       ("kjs" ,kjs)
+       ("knotifications" ,knotifications)
+       ("kparts" ,kparts)
+       ("ktextwidgets" ,ktextwidgets)
+       ("kwallet", kwallet)
+       ("kwidgetsaddons" ,kwidgetsaddons)
+       ("kwindowsystem" ,kwindowsystem)
+       ("kxmlgui" ,kxmlgui)
+       ("libjpeg", libjpeg)
+       ("libpng", libpng)
+       ("openssl", openssl)
+       ("phonon", phonon)
+       ("qtbase" ,qtbase)
+       ("qtx11extras" ,qtx11extras)
+       ("sonnet" ,sonnet)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'check-setup
+           (lambda _
+             ;; Make Qt render "offscreen", required for tests
+             (setenv "QT_QPA_PLATFORM" "offscreen")
+             #t)))))
+    (home-page "https://community.kde.org/Frameworks")
+    (synopsis "KDE Frameworks 5 HTML widget and component")
+    (description "KHTML is a web rendering engine, based on the KParts
+technology and using KJS for JavaScript support.")
+    ;; Most files are distributed under LGPL2+, but the package includes code
+    ;; under a variety of licenses.
+    (license '(license:lgpl2.0+ license:lgpl2.1+
+               license:gpl2  license:gpl3+
+               license:expat license:bsd-2 license:bsd-3))))
+
 (define-public kjs
   (package
     (name "kjs")
-- 
2.7.4





Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Sun, 11 Jun 2017 15:35:03 GMT) Full text and rfc822 format available.

Message #62 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 26463 <at> debbugs.gnu.org
Subject: [PATCH v2 6/7] gnu: Add kmediaplayer.
Date: Sun, 11 Jun 2017 17:34:26 +0200
* gnu/packages/kde-frameworks.scm (kmediaplayer): New variable.
---
 gnu/packages/kde-frameworks.scm | 46 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 4889653..dd15268 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -3326,3 +3326,49 @@ support.")
     (description "KJSEmbed provides a method of binding Javascript objects to
 QObjects, so you can script your applications.")
     (license license:lgpl2.1+)))
+
+(define-public kmediaplayer
+  (package
+    (name "kmediaplayer")
+    (version "5.34.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://kde/stable/frameworks/"
+             (version-major+minor version) "/portingAids/"
+             name "-" version ".tar.xz"))
+       (sha256
+        (base32 "1mq87qf86sdvwhas4w7rspd221qp4x9kds4nd0lpldiay4483k86"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("kdoctools" ,kdoctools)
+       ("qttools" ,qttools)))
+    (inputs
+     `(("kcompletion" ,kcompletion)
+       ("kcoreaddons" ,kcoreaddons)
+       ("ki18n" ,ki18n)
+       ("kiconthemes" ,kiconthemes)
+       ("kio" ,kio)
+       ("kparts" ,kparts)
+       ("kwidgetsaddons" ,kwidgetsaddons)
+       ("kxmlgui" ,kxmlgui)
+       ("qtbase" ,qtbase)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'check-setup
+           (lambda _
+             ;; Make Qt render "offscreen", required for tests
+             (setenv "QT_QPA_PLATFORM" "offscreen")
+             #t)))))
+    (home-page "https://community.kde.org/Frameworks")
+    (synopsis "KDE Frameworks 5 plugin interface for media player features")
+    (description "KMediaPlayer builds on the KParts framework to provide a
+common interface for KParts that can play media files.
+
+This framework is a porting aid.  It is not recommended for new projects, and
+existing projects that use it are advised to port away from it, and use plain
+KParts instead.")
+    (license license:expat)))
-- 
2.7.4





Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Sun, 11 Jun 2017 15:35:04 GMT) Full text and rfc822 format available.

Message #65 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 26463 <at> debbugs.gnu.org
Subject: [PATCH v2 7/7] gnu: Add kross.
Date: Sun, 11 Jun 2017 17:34:27 +0200
* gnu/packages/kde-frameworks.scm (kross): New variable.
---
 gnu/packages/kde-frameworks.scm | 44 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index dd15268..e6242ea 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -3372,3 +3372,47 @@ This framework is a porting aid.  It is not recommended for new projects, and
 existing projects that use it are advised to port away from it, and use plain
 KParts instead.")
     (license license:expat)))
+
+(define-public kross
+  (package
+    (name "kross")
+    (version "5.34.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://kde/stable/frameworks/"
+             (version-major+minor version) "/portingAids/"
+             name "-" version ".tar.xz"))
+       (sha256
+        (base32 "092qz8vyiialv9fvk4wvn8mrfhz5i5hnbq0xnz6nvi1pk3db6bxq"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("kdoctools" ,kdoctools)
+       ("qttools" ,qttools)))
+    (inputs
+     `(("kcompletion" ,kcompletion)
+       ("kcoreaddons" ,kcoreaddons)
+       ("ki18n" ,ki18n)
+       ("kiconthemes" ,kiconthemes)
+       ("kparts" ,kparts)
+       ("kwidgetsaddons" ,kwidgetsaddons)
+       ("kxmlgui" ,kxmlgui)
+       ("qtbase" ,qtbase)
+       ("qtscript" ,qtscript)))
+    (home-page "https://community.kde.org/Frameworks")
+    (synopsis "KDE Frameworks 5 solution for application scripting")
+    (description "Kross is a scripting bridge for the KDE Development Platform
+used to embed scripting functionality into an application.  It supports
+QtScript as a scripting interpreter backend.
+
+Kross provides an abstract API to provide scripting functionality in a
+interpreter-independent way.  The application that uses Kross should not need
+to know anything about the scripting language being used.  The core of Kross
+provides the framework to deal transparently with interpreter-backends and
+offers abstract functionality to deal with scripts.")
+    ;; Most files are distributed under LGPL2+, but the package includes code
+    ;; under a variety of licenses.
+    (license '(license:lgpl2.0+ license:lgpl2.1+
+               license:lgpl2.0 license:gpl3+))))
-- 
2.7.4





Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Sun, 11 Jun 2017 15:36:01 GMT) Full text and rfc822 format available.

Message #68 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 26463 <at> debbugs.gnu.org
Subject: [PATCH v2 2/7] gnu: Add kdelibs4support.
Date: Sun, 11 Jun 2017 17:34:22 +0200
* gnu/packages/kde-frameworks.scm (kdelibs4support): New variable.
---
 gnu/packages/kde-frameworks.scm | 122 +++++++++++++++++++++++++++++++++++++++-
 1 file changed, 121 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 3102709..30c120b 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -30,6 +30,7 @@
   #:use-module (gnu packages acl)
   #:use-module (gnu packages admin)
   #:use-module (gnu packages attr)
+  #:use-module (gnu packages base)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages boost)
@@ -57,6 +58,7 @@
   #:use-module (gnu packages python)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages textutils)
+  #:use-module (gnu packages tls)
   #:use-module (gnu packages version-control)
   #:use-module (gnu packages video)
   #:use-module (gnu packages web)
@@ -3053,7 +3055,7 @@ script engines.")
     (native-inputs
      `(("extra-cmake-modules" ,extra-cmake-modules)
        ("pkg-config" ,pkg-config)))
-    ;; Optional packages not yet in Guix: packagekitqt5, AppStreamQt
+    ;; TODO: Optional packages not yet in Guix: packagekitqt5, AppStreamQt
     (inputs
      `(("kconfig" ,kconfig)
        ("kconfigwidgets" ,kconfigwidgets)
@@ -3085,3 +3087,121 @@ workspace.")
     ;; files are explicitly LGPL2+.
     (license '(lgpl2.0 lgpl3.0 lgpl2.0+))
     (properties `((upstream-name . "frameworkintegration")))))
+
+
+;; Porting Aids
+;;
+;; Porting Aids frameworks provide code and utilities to ease the transition
+;; from kdelibs 4 to KDE Frameworks 5. Code should aim to port away from this
+;; framework, new projects should avoid using these libraries.
+
+(define-public kdelibs4support
+  (package
+    (name "kdelibs4support")
+    (version "5.34.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://kde/stable/frameworks/"
+             (version-major+minor version) "/portingAids/"
+             name "-" version ".tar.xz"))
+       (sha256
+        (base32 "0q9jjsjcvc43va4yvfay2xi40vb95lnqhgzavpqcndzjihixwmi0"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("dbus" ,dbus)
+       ("docbook-xml" ,docbook-xml-4.4) ; optional
+       ("extra-cmake-modules" ,extra-cmake-modules)
+       ("perl", perl)
+       ("perl-uri" ,perl-uri)
+       ("pkg-config" ,pkg-config)
+       ("shared-mime-info" ,shared-mime-info)
+       ("kjobwidgets" ,kjobwidgets) ;; required for running the tests
+       ("strace" ,strace)
+       ("tzdata" ,tzdata)))
+    (propagated-inputs
+     ;; These are required to be installed along with this package, see
+     ;; lib64/cmake/KF5KDELibs4Support/KF5KDELibs4SupportConfig.cmake
+     `(("karchive" ,karchive)
+       ("kauth" ,kauth)
+       ("kconfigwidgets" ,kconfigwidgets)
+       ("kcoreaddons" ,kcoreaddons)
+       ("kcrash" ,kcrash)
+       ("kdbusaddons" ,kdbusaddons)
+       ("kdesignerplugin" ,kdesignerplugin)
+       ("kdoctools" ,kdoctools)
+       ("kemoticons" ,kemoticons)
+       ("kguiaddons" ,kguiaddons)
+       ("kiconthemes" ,kiconthemes)
+       ("kinit" ,kinit)
+       ("kitemmodels" ,kitemmodels)
+       ("knotifications" ,knotifications)
+       ("kparts" ,kparts)
+       ("ktextwidgets" ,ktextwidgets)
+       ("kunitconversion", kunitconversion)
+       ("kwindowsystem" ,kwindowsystem)
+       ("qtbase" ,qtbase)))
+    (inputs
+     `(("kcompletion" ,kcompletion)
+       ("kconfig" ,kconfig)
+       ("kconfigwidgets" ,kconfigwidgets)
+       ("kded" ,kded)
+       ("kdesignerplugin" ,kdesignerplugin)
+       ("kdoctools" ,kdoctools)
+       ("kglobalaccel" ,kglobalaccel)
+       ("kguiaddons" ,kguiaddons)
+       ("ki18n" ,ki18n)
+       ("kio" ,kio)
+       ("kservice" ,kservice)
+       ("kwidgetsaddons" ,kwidgetsaddons)
+       ("kxmlgui" ,kxmlgui)
+       ("libsm", libsm)
+       ("networkmanager-qt", networkmanager-qt)
+       ("openssl", openssl)
+       ("qtsvg" ,qtsvg)
+       ("qttools" ,qttools)
+       ("qtx11extras" ,qtx11extras)))
+    ;; FIXME: Use GuixSD ca-bundle.crt in etc/xdg/ksslcalist and
+    ;; share/kf5/kssl/ca-bundle.crt
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'make-cmake-to-find-docbook
+           (lambda _
+             (substitute* "cmake/FindDocBookXML4.cmake"
+               (("^.*xml/docbook/schema/dtd.*$")
+                "xml/dtd/docbook\n"))
+             #t))
+         (delete 'check)
+         (add-after 'install 'check-post-install
+           (lambda* (#:key inputs tests? #:allow-other-keys)
+             (setenv "HOME" (getcwd))
+             (setenv "TZDIR"    ; KDateTimeTestsome needs TZDIR
+                     (string-append (assoc-ref inputs "tzdata")
+                                    "/share/zoneinfo"))
+             ;; Make Qt render "offscreen", required for tests
+             (setenv "QT_QPA_PLATFORM" "offscreen")
+             ;; enable debug output
+             (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; enable debug output
+             (setenv "DBUS_FATAL_WARNINGS" "0")
+             ;; TODO: Make this tests pass (also see
+             ;; https://bugs.kde.org/381098)
+             (zero? (system* "dbus-launch" "ctest" "."
+                             "-E" "kmimetypetest|kstandarddirstest")))))))
+    (home-page "https://community.kde.org/Frameworks")
+    (synopsis "KDE Frameworks 5 porting aid from KDELibs4")
+    (description "This framework provides code and utilities to ease the
+transition from kdelibs 4 to KDE Frameworks 5.  This includes CMake macros and
+C++ classes whose functionality has been replaced by code in CMake, Qt and
+other frameworks.
+
+Code should aim to port away from this framework eventually.  The API
+documentation of the classes in this framework and the notes at
+http://community.kde.org/Frameworks/Porting_Notes should help with this.")
+    ;; Most files are distributed under LGPL2+, but the package includes code
+    ;; under a variety of licenses.
+    (license '(license:lgpl2.1+ license:lgpl2.0 license:lgpl2.0+
+               license:gpl2 license:gpl2+
+               license:expat license:bsd-2 license:bsd-3
+               license:public-domain))))
-- 
2.7.4





Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Sun, 11 Jun 2017 15:36:02 GMT) Full text and rfc822 format available.

Message #71 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 26463 <at> debbugs.gnu.org
Subject: [PATCH v2 3/7] gnu: Add kjs.
Date: Sun, 11 Jun 2017 17:34:23 +0200
* gnu/packages/kde-frameworks.scm (kjs): New variable.
---
 gnu/packages/kde-frameworks.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 30c120b..be31385 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -52,6 +52,7 @@
   #:use-module (gnu packages linux)
   #:use-module (gnu packages mp3)
   #:use-module (gnu packages pdf)
+  #:use-module (gnu packages pcre)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages polkit)
@@ -3205,3 +3206,36 @@ http://community.kde.org/Frameworks/Porting_Notes should help with this.")
                license:gpl2 license:gpl2+
                license:expat license:bsd-2 license:bsd-3
                license:public-domain))))
+
+(define-public kjs
+  (package
+    (name "kjs")
+    (version "5.34.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://kde/stable/frameworks/"
+             (version-major+minor version) "/portingAids/"
+             name "-" version ".tar.xz"))
+       (sha256
+        (base32 "18b7k1hi73iqn06c1ryy9lcmvscr9d08q7n1wwkrn0l2xmy05xsq"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("kdoctools" ,kdoctools)
+       ("perl" ,perl)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("pcre" ,pcre)
+       ("qtbase" ,qtbase)))
+    (home-page "https://community.kde.org/Frameworks")
+    (synopsis "KDE Frameworks 5 support for Javascript scripting in Qt
+applications")
+    (description "Add-on library to Qt which adds JavaScript scripting
+support.")
+    ;; Most files are distributed under LGPL2+, but the package also includes
+    ;; code under a variety of licenses.
+    (license '(license:lgpl2.1+
+               license:bsd-2 license:bsd-3
+               (license:non-copyleft "file://src/kjs/dtoa.cpp")))))
-- 
2.7.4





Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Sun, 11 Jun 2017 15:36:02 GMT) Full text and rfc822 format available.

Message #74 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 26463 <at> debbugs.gnu.org
Subject: [PATCH v2 5/7] gnu: Add kjsembed.
Date: Sun, 11 Jun 2017 17:34:25 +0200
* gnu/packages/kde-frameworks.scm (kjsembed): New variable.
---
 gnu/packages/kde-frameworks.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index e84ed80..4889653 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -3297,3 +3297,32 @@ support.")
     (license '(license:lgpl2.1+
                license:bsd-2 license:bsd-3
                (license:non-copyleft "file://src/kjs/dtoa.cpp")))))
+
+(define-public kjsembed
+  (package
+    (name "kjsembed")
+    (version "5.34.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://kde/stable/frameworks/"
+             (version-major+minor version) "/portingAids/"
+             name "-" version ".tar.xz"))
+       (sha256
+        (base32 "17w8i370pqks1fj3pcziz7j014chnc6yi7md7w2p4xprw54pbmbk"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("kdoctools" ,kdoctools)
+       ("qttools" ,qttools)))
+    (inputs
+     `(("ki18n" ,ki18n)
+       ("kjs" ,kjs)
+       ("qtbase" ,qtbase)
+       ("qtsvg" ,qtsvg)))
+    (home-page "https://community.kde.org/Frameworks")
+    (synopsis "KDE Frameworks 5 embedded Javascript engine for Qt")
+    (description "KJSEmbed provides a method of binding Javascript objects to
+QObjects, so you can script your applications.")
+    (license license:lgpl2.1+)))
-- 
2.7.4





Information forwarded to guix-patches <at> gnu.org:
bug#26463; Package guix-patches. (Sat, 24 Jun 2017 18:45:02 GMT) Full text and rfc822 format available.

Message #77 received at 26463 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
Cc: 26463 <at> debbugs.gnu.org
Subject: Re: bug#26463: [PATCH v2 0/7] Add KDE Frameworks Tier 4
Date: Sat, 24 Jun 2017 14:44:39 -0400
[Message part 1 (text/plain, inline)]
On Sun, Jun 11, 2017 at 05:34:20PM +0200, Hartmut Goebel wrote:
> This is an updated series adding KDE Frameworks Tier 4.
> 
> Differences to the first series are:
> - All packages are updated to 5.34.0 (to align this the other packages of
>   kde-framworks.scm).
> - Property "upstream-name" set for kde-frameworkintegration.
> - Add more optional packages and TODO-comments (like I did for the other
>   packages in kde-frameworks.scm, too.
> - kdelibs4support: Make all but two tests pass. I tried hard to get all tests
>   pass, but reasons are hard to spot and hard to debug (due to subtle
>   differences between the build container and one set-up using "guix
>   environment".)
> 
> Hartmut Goebel (7):
>   gnu: Add kde-frameworkintegration.
>   gnu: Add kdelibs4support.
>   gnu: Add kjs.
>   gnu: Add khtml.
>   gnu: Add kjsembed.
>   gnu: Add kmediaplayer.
>   gnu: Add kross.

Great! If these work for you, I think you can go ahead and push.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Hartmut Goebel <h.goebel <at> crazy-compilers.com>:
You have taken responsibility. (Mon, 26 Jun 2017 09:02:02 GMT) Full text and rfc822 format available.

Notification sent to Hartmut Goebel <h.goebel <at> crazy-compilers.com>:
bug acknowledged by developer. (Mon, 26 Jun 2017 09:02:02 GMT) Full text and rfc822 format available.

Message #82 received at 26463-close <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 26463-close <at> debbugs.gnu.org
Cc: Leo Famulari <leo <at> famulari.name>
Subject: Re: bug#26463: [PATCH v2 0/7] Add KDE Frameworks Tier 4
Date: Mon, 26 Jun 2017 11:01:35 +0200
Pushed as 346d5d58740e131a9d942298d32e64a306711263





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 24 Jul 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 270 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.