* bug#26463: [PATCH 0/7] Add KDE Frameworks Tier 4 @ 2017-04-12 10:56 Hartmut Goebel 2017-04-12 10:58 ` bug#26463: [PATCH 1/7] gnu: Add KDE frameworkintegration Hartmut Goebel 2017-06-11 15:34 ` bug#26463: [PATCH v2 0/7] Add KDE Frameworks Tier 4 Hartmut Goebel 0 siblings, 2 replies; 26+ messages in thread From: Hartmut Goebel @ 2017-04-12 10:56 UTC (permalink / raw) To: 26463 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* bug#26463: [PATCH 1/7] gnu: Add KDE frameworkintegration. 2017-04-12 10:56 bug#26463: [PATCH 0/7] Add KDE Frameworks Tier 4 Hartmut Goebel @ 2017-04-12 10:58 ` Hartmut Goebel 2017-04-12 10:58 ` bug#26463: [PATCH 2/7] gnu: Add kdelibs4support Hartmut Goebel ` (6 more replies) 2017-06-11 15:34 ` bug#26463: [PATCH v2 0/7] Add KDE Frameworks Tier 4 Hartmut Goebel 1 sibling, 7 replies; 26+ messages in thread From: Hartmut Goebel @ 2017-04-12 10:58 UTC (permalink / raw) To: 26463 * 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 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* bug#26463: [PATCH 2/7] gnu: Add kdelibs4support. 2017-04-12 10:58 ` bug#26463: [PATCH 1/7] gnu: Add KDE frameworkintegration Hartmut Goebel @ 2017-04-12 10:58 ` Hartmut Goebel 2017-04-12 16:06 ` Leo Famulari 2017-04-12 10:58 ` bug#26463: [PATCH 3/7] gnu: Add kjs Hartmut Goebel ` (5 subsequent siblings) 6 siblings, 1 reply; 26+ messages in thread From: Hartmut Goebel @ 2017-04-12 10:58 UTC (permalink / raw) To: 26463 * 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 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* bug#26463: [PATCH 2/7] gnu: Add kdelibs4support. 2017-04-12 10:58 ` bug#26463: [PATCH 2/7] gnu: Add kdelibs4support Hartmut Goebel @ 2017-04-12 16:06 ` Leo Famulari 2017-04-18 15:54 ` Hartmut Goebel 0 siblings, 1 reply; 26+ messages in thread From: Leo Famulari @ 2017-04-12 16:06 UTC (permalink / raw) To: Hartmut Goebel; +Cc: 26463 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. ^ permalink raw reply [flat|nested] 26+ messages in thread
* bug#26463: [PATCH 2/7] gnu: Add kdelibs4support. 2017-04-12 16:06 ` Leo Famulari @ 2017-04-18 15:54 ` Hartmut Goebel 0 siblings, 0 replies; 26+ messages in thread From: Hartmut Goebel @ 2017-04-18 15:54 UTC (permalink / raw) To: Leo Famulari; +Cc: 26463 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@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | ^ permalink raw reply [flat|nested] 26+ messages in thread
* bug#26463: [PATCH 3/7] gnu: Add kjs. 2017-04-12 10:58 ` bug#26463: [PATCH 1/7] gnu: Add KDE frameworkintegration Hartmut Goebel 2017-04-12 10:58 ` bug#26463: [PATCH 2/7] gnu: Add kdelibs4support Hartmut Goebel @ 2017-04-12 10:58 ` Hartmut Goebel 2017-04-12 16:07 ` Leo Famulari 2017-04-12 10:58 ` bug#26463: [PATCH 4/7] gnu: Add khtml Hartmut Goebel ` (4 subsequent siblings) 6 siblings, 1 reply; 26+ messages in thread From: Hartmut Goebel @ 2017-04-12 10:58 UTC (permalink / raw) To: 26463 * 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 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* bug#26463: [PATCH 3/7] gnu: Add kjs. 2017-04-12 10:58 ` bug#26463: [PATCH 3/7] gnu: Add kjs Hartmut Goebel @ 2017-04-12 16:07 ` Leo Famulari 0 siblings, 0 replies; 26+ messages in thread From: Leo Famulari @ 2017-04-12 16:07 UTC (permalink / raw) To: Hartmut Goebel; +Cc: 26463 [-- Attachment #1: Type: text/plain, Size: 127 bytes --] On Wed, Apr 12, 2017 at 12:58:24PM +0200, Hartmut Goebel wrote: > * gnu/packages/kde-frameworks.scm (kjs): New variable. LGTM [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* bug#26463: [PATCH 4/7] gnu: Add khtml. 2017-04-12 10:58 ` bug#26463: [PATCH 1/7] gnu: Add KDE frameworkintegration Hartmut Goebel 2017-04-12 10:58 ` bug#26463: [PATCH 2/7] gnu: Add kdelibs4support Hartmut Goebel 2017-04-12 10:58 ` bug#26463: [PATCH 3/7] gnu: Add kjs Hartmut Goebel @ 2017-04-12 10:58 ` Hartmut Goebel 2017-04-12 16:10 ` Leo Famulari 2017-04-12 10:58 ` bug#26463: [PATCH 5/7] gnu: Add kjsembed Hartmut Goebel ` (3 subsequent siblings) 6 siblings, 1 reply; 26+ messages in thread From: Hartmut Goebel @ 2017-04-12 10:58 UTC (permalink / raw) To: 26463 * 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 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* bug#26463: [PATCH 4/7] gnu: Add khtml. 2017-04-12 10:58 ` bug#26463: [PATCH 4/7] gnu: Add khtml Hartmut Goebel @ 2017-04-12 16:10 ` Leo Famulari 0 siblings, 0 replies; 26+ messages in thread From: Leo Famulari @ 2017-04-12 16:10 UTC (permalink / raw) To: Hartmut Goebel; +Cc: 26463 [-- Attachment #1: Type: text/plain, Size: 129 bytes --] On Wed, Apr 12, 2017 at 12:58:25PM +0200, Hartmut Goebel wrote: > * gnu/packages/kde-frameworks.scm (khtml): New variable. LGTM [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* bug#26463: [PATCH 5/7] gnu: Add kjsembed. 2017-04-12 10:58 ` bug#26463: [PATCH 1/7] gnu: Add KDE frameworkintegration Hartmut Goebel ` (2 preceding siblings ...) 2017-04-12 10:58 ` bug#26463: [PATCH 4/7] gnu: Add khtml Hartmut Goebel @ 2017-04-12 10:58 ` Hartmut Goebel 2017-04-12 16:10 ` Leo Famulari 2017-04-12 10:58 ` bug#26463: [PATCH 6/7] gnu: Add kmediaplayer Hartmut Goebel ` (2 subsequent siblings) 6 siblings, 1 reply; 26+ messages in thread From: Hartmut Goebel @ 2017-04-12 10:58 UTC (permalink / raw) To: 26463 * 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 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* bug#26463: [PATCH 5/7] gnu: Add kjsembed. 2017-04-12 10:58 ` bug#26463: [PATCH 5/7] gnu: Add kjsembed Hartmut Goebel @ 2017-04-12 16:10 ` Leo Famulari 0 siblings, 0 replies; 26+ messages in thread From: Leo Famulari @ 2017-04-12 16:10 UTC (permalink / raw) To: Hartmut Goebel; +Cc: 26463 [-- Attachment #1: Type: text/plain, Size: 132 bytes --] On Wed, Apr 12, 2017 at 12:58:26PM +0200, Hartmut Goebel wrote: > * gnu/packages/kde-frameworks.scm (kjsembed): New variable. LGTM [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* bug#26463: [PATCH 6/7] gnu: Add kmediaplayer. 2017-04-12 10:58 ` bug#26463: [PATCH 1/7] gnu: Add KDE frameworkintegration Hartmut Goebel ` (3 preceding siblings ...) 2017-04-12 10:58 ` bug#26463: [PATCH 5/7] gnu: Add kjsembed Hartmut Goebel @ 2017-04-12 10:58 ` Hartmut Goebel 2017-04-12 16:11 ` Leo Famulari 2017-04-12 10:58 ` bug#26463: [PATCH 7/7] gnu: Add kross Hartmut Goebel 2017-04-12 16:05 ` bug#26463: [PATCH 1/7] gnu: Add KDE frameworkintegration Leo Famulari 6 siblings, 1 reply; 26+ messages in thread From: Hartmut Goebel @ 2017-04-12 10:58 UTC (permalink / raw) To: 26463 * 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 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* bug#26463: [PATCH 6/7] gnu: Add kmediaplayer. 2017-04-12 10:58 ` bug#26463: [PATCH 6/7] gnu: Add kmediaplayer Hartmut Goebel @ 2017-04-12 16:11 ` Leo Famulari 0 siblings, 0 replies; 26+ messages in thread From: Leo Famulari @ 2017-04-12 16:11 UTC (permalink / raw) To: Hartmut Goebel; +Cc: 26463 [-- Attachment #1: Type: text/plain, Size: 136 bytes --] On Wed, Apr 12, 2017 at 12:58:27PM +0200, Hartmut Goebel wrote: > * gnu/packages/kde-frameworks.scm (kmediaplayer): New variable. LGTM [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* bug#26463: [PATCH 7/7] gnu: Add kross. 2017-04-12 10:58 ` bug#26463: [PATCH 1/7] gnu: Add KDE frameworkintegration Hartmut Goebel ` (4 preceding siblings ...) 2017-04-12 10:58 ` bug#26463: [PATCH 6/7] gnu: Add kmediaplayer Hartmut Goebel @ 2017-04-12 10:58 ` Hartmut Goebel 2017-04-12 16:11 ` Leo Famulari 2017-04-12 16:05 ` bug#26463: [PATCH 1/7] gnu: Add KDE frameworkintegration Leo Famulari 6 siblings, 1 reply; 26+ messages in thread From: Hartmut Goebel @ 2017-04-12 10:58 UTC (permalink / raw) To: 26463 * 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 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* bug#26463: [PATCH 7/7] gnu: Add kross. 2017-04-12 10:58 ` bug#26463: [PATCH 7/7] gnu: Add kross Hartmut Goebel @ 2017-04-12 16:11 ` Leo Famulari 0 siblings, 0 replies; 26+ messages in thread From: Leo Famulari @ 2017-04-12 16:11 UTC (permalink / raw) To: Hartmut Goebel; +Cc: 26463 [-- Attachment #1: Type: text/plain, Size: 129 bytes --] On Wed, Apr 12, 2017 at 12:58:28PM +0200, Hartmut Goebel wrote: > * gnu/packages/kde-frameworks.scm (kross): New variable. LGTM [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* bug#26463: [PATCH 1/7] gnu: Add KDE frameworkintegration. 2017-04-12 10:58 ` bug#26463: [PATCH 1/7] gnu: Add KDE frameworkintegration Hartmut Goebel ` (5 preceding siblings ...) 2017-04-12 10:58 ` bug#26463: [PATCH 7/7] gnu: Add kross Hartmut Goebel @ 2017-04-12 16:05 ` Leo Famulari 6 siblings, 0 replies; 26+ messages in thread From: Leo Famulari @ 2017-04-12 16:05 UTC (permalink / raw) To: Hartmut Goebel; +Cc: 26463 [-- Attachment #1: Type: text/plain, Size: 144 bytes --] On Wed, Apr 12, 2017 at 12:58:22PM +0200, Hartmut Goebel wrote: > * gnu/packages/kde-frameworks.scm (frameworkintegration): New variable. LGTM [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* bug#26463: [PATCH v2 0/7] Add KDE Frameworks Tier 4 2017-04-12 10:56 bug#26463: [PATCH 0/7] Add KDE Frameworks Tier 4 Hartmut Goebel 2017-04-12 10:58 ` bug#26463: [PATCH 1/7] gnu: Add KDE frameworkintegration Hartmut Goebel @ 2017-06-11 15:34 ` Hartmut Goebel 2017-06-11 15:34 ` bug#26463: [PATCH v2 1/7] gnu: Add kde-frameworkintegration Hartmut Goebel ` (7 more replies) 1 sibling, 8 replies; 26+ messages in thread From: Hartmut Goebel @ 2017-06-11 15:34 UTC (permalink / raw) To: 26463 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 ^ permalink raw reply [flat|nested] 26+ messages in thread
* bug#26463: [PATCH v2 1/7] gnu: Add kde-frameworkintegration. 2017-06-11 15:34 ` bug#26463: [PATCH v2 0/7] Add KDE Frameworks Tier 4 Hartmut Goebel @ 2017-06-11 15:34 ` Hartmut Goebel 2017-06-11 15:34 ` bug#26463: [PATCH v2 2/7] gnu: Add kdelibs4support Hartmut Goebel ` (6 subsequent siblings) 7 siblings, 0 replies; 26+ messages in thread From: Hartmut Goebel @ 2017-06-11 15:34 UTC (permalink / raw) To: 26463 * 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 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* bug#26463: [PATCH v2 2/7] gnu: Add kdelibs4support. 2017-06-11 15:34 ` bug#26463: [PATCH v2 0/7] Add KDE Frameworks Tier 4 Hartmut Goebel 2017-06-11 15:34 ` bug#26463: [PATCH v2 1/7] gnu: Add kde-frameworkintegration Hartmut Goebel @ 2017-06-11 15:34 ` Hartmut Goebel 2017-06-11 15:34 ` bug#26463: [PATCH v2 3/7] gnu: Add kjs Hartmut Goebel ` (5 subsequent siblings) 7 siblings, 0 replies; 26+ messages in thread From: Hartmut Goebel @ 2017-06-11 15:34 UTC (permalink / raw) To: 26463 * 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 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* bug#26463: [PATCH v2 3/7] gnu: Add kjs. 2017-06-11 15:34 ` bug#26463: [PATCH v2 0/7] Add KDE Frameworks Tier 4 Hartmut Goebel 2017-06-11 15:34 ` bug#26463: [PATCH v2 1/7] gnu: Add kde-frameworkintegration Hartmut Goebel 2017-06-11 15:34 ` bug#26463: [PATCH v2 2/7] gnu: Add kdelibs4support Hartmut Goebel @ 2017-06-11 15:34 ` Hartmut Goebel 2017-06-11 15:34 ` bug#26463: [PATCH v2 4/7] gnu: Add khtml Hartmut Goebel ` (4 subsequent siblings) 7 siblings, 0 replies; 26+ messages in thread From: Hartmut Goebel @ 2017-06-11 15:34 UTC (permalink / raw) To: 26463 * 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 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* bug#26463: [PATCH v2 4/7] gnu: Add khtml. 2017-06-11 15:34 ` bug#26463: [PATCH v2 0/7] Add KDE Frameworks Tier 4 Hartmut Goebel ` (2 preceding siblings ...) 2017-06-11 15:34 ` bug#26463: [PATCH v2 3/7] gnu: Add kjs Hartmut Goebel @ 2017-06-11 15:34 ` Hartmut Goebel 2017-06-11 15:34 ` bug#26463: [PATCH v2 5/7] gnu: Add kjsembed Hartmut Goebel ` (3 subsequent siblings) 7 siblings, 0 replies; 26+ messages in thread From: Hartmut Goebel @ 2017-06-11 15:34 UTC (permalink / raw) To: 26463 * 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 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* bug#26463: [PATCH v2 5/7] gnu: Add kjsembed. 2017-06-11 15:34 ` bug#26463: [PATCH v2 0/7] Add KDE Frameworks Tier 4 Hartmut Goebel ` (3 preceding siblings ...) 2017-06-11 15:34 ` bug#26463: [PATCH v2 4/7] gnu: Add khtml Hartmut Goebel @ 2017-06-11 15:34 ` Hartmut Goebel 2017-06-11 15:34 ` bug#26463: [PATCH v2 6/7] gnu: Add kmediaplayer Hartmut Goebel ` (2 subsequent siblings) 7 siblings, 0 replies; 26+ messages in thread From: Hartmut Goebel @ 2017-06-11 15:34 UTC (permalink / raw) To: 26463 * 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 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* bug#26463: [PATCH v2 6/7] gnu: Add kmediaplayer. 2017-06-11 15:34 ` bug#26463: [PATCH v2 0/7] Add KDE Frameworks Tier 4 Hartmut Goebel ` (4 preceding siblings ...) 2017-06-11 15:34 ` bug#26463: [PATCH v2 5/7] gnu: Add kjsembed Hartmut Goebel @ 2017-06-11 15:34 ` Hartmut Goebel 2017-06-11 15:34 ` bug#26463: [PATCH v2 7/7] gnu: Add kross Hartmut Goebel 2017-06-24 18:44 ` [bug#26463] [PATCH v2 0/7] Add KDE Frameworks Tier 4 Leo Famulari 7 siblings, 0 replies; 26+ messages in thread From: Hartmut Goebel @ 2017-06-11 15:34 UTC (permalink / raw) To: 26463 * 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 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* bug#26463: [PATCH v2 7/7] gnu: Add kross. 2017-06-11 15:34 ` bug#26463: [PATCH v2 0/7] Add KDE Frameworks Tier 4 Hartmut Goebel ` (5 preceding siblings ...) 2017-06-11 15:34 ` bug#26463: [PATCH v2 6/7] gnu: Add kmediaplayer Hartmut Goebel @ 2017-06-11 15:34 ` Hartmut Goebel 2017-06-24 18:44 ` [bug#26463] [PATCH v2 0/7] Add KDE Frameworks Tier 4 Leo Famulari 7 siblings, 0 replies; 26+ messages in thread From: Hartmut Goebel @ 2017-06-11 15:34 UTC (permalink / raw) To: 26463 * 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 ^ permalink raw reply related [flat|nested] 26+ messages in thread
* [bug#26463] [PATCH v2 0/7] Add KDE Frameworks Tier 4 2017-06-11 15:34 ` bug#26463: [PATCH v2 0/7] Add KDE Frameworks Tier 4 Hartmut Goebel ` (6 preceding siblings ...) 2017-06-11 15:34 ` bug#26463: [PATCH v2 7/7] gnu: Add kross Hartmut Goebel @ 2017-06-24 18:44 ` Leo Famulari 2017-06-26 9:01 ` bug#26463: " Hartmut Goebel 7 siblings, 1 reply; 26+ messages in thread From: Leo Famulari @ 2017-06-24 18:44 UTC (permalink / raw) To: Hartmut Goebel; +Cc: 26463 [-- Attachment #1: Type: text/plain, Size: 977 bytes --] 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. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* bug#26463: [PATCH v2 0/7] Add KDE Frameworks Tier 4 2017-06-24 18:44 ` [bug#26463] [PATCH v2 0/7] Add KDE Frameworks Tier 4 Leo Famulari @ 2017-06-26 9:01 ` Hartmut Goebel 0 siblings, 0 replies; 26+ messages in thread From: Hartmut Goebel @ 2017-06-26 9:01 UTC (permalink / raw) To: 26463-close Pushed as 346d5d58740e131a9d942298d32e64a306711263 ^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2017-06-26 9:02 UTC | newest] Thread overview: 26+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-04-12 10:56 bug#26463: [PATCH 0/7] Add KDE Frameworks Tier 4 Hartmut Goebel 2017-04-12 10:58 ` bug#26463: [PATCH 1/7] gnu: Add KDE frameworkintegration Hartmut Goebel 2017-04-12 10:58 ` bug#26463: [PATCH 2/7] gnu: Add kdelibs4support Hartmut Goebel 2017-04-12 16:06 ` Leo Famulari 2017-04-18 15:54 ` Hartmut Goebel 2017-04-12 10:58 ` bug#26463: [PATCH 3/7] gnu: Add kjs Hartmut Goebel 2017-04-12 16:07 ` Leo Famulari 2017-04-12 10:58 ` bug#26463: [PATCH 4/7] gnu: Add khtml Hartmut Goebel 2017-04-12 16:10 ` Leo Famulari 2017-04-12 10:58 ` bug#26463: [PATCH 5/7] gnu: Add kjsembed Hartmut Goebel 2017-04-12 16:10 ` Leo Famulari 2017-04-12 10:58 ` bug#26463: [PATCH 6/7] gnu: Add kmediaplayer Hartmut Goebel 2017-04-12 16:11 ` Leo Famulari 2017-04-12 10:58 ` bug#26463: [PATCH 7/7] gnu: Add kross Hartmut Goebel 2017-04-12 16:11 ` Leo Famulari 2017-04-12 16:05 ` bug#26463: [PATCH 1/7] gnu: Add KDE frameworkintegration Leo Famulari 2017-06-11 15:34 ` bug#26463: [PATCH v2 0/7] Add KDE Frameworks Tier 4 Hartmut Goebel 2017-06-11 15:34 ` bug#26463: [PATCH v2 1/7] gnu: Add kde-frameworkintegration Hartmut Goebel 2017-06-11 15:34 ` bug#26463: [PATCH v2 2/7] gnu: Add kdelibs4support Hartmut Goebel 2017-06-11 15:34 ` bug#26463: [PATCH v2 3/7] gnu: Add kjs Hartmut Goebel 2017-06-11 15:34 ` bug#26463: [PATCH v2 4/7] gnu: Add khtml Hartmut Goebel 2017-06-11 15:34 ` bug#26463: [PATCH v2 5/7] gnu: Add kjsembed Hartmut Goebel 2017-06-11 15:34 ` bug#26463: [PATCH v2 6/7] gnu: Add kmediaplayer Hartmut Goebel 2017-06-11 15:34 ` bug#26463: [PATCH v2 7/7] gnu: Add kross Hartmut Goebel 2017-06-24 18:44 ` [bug#26463] [PATCH v2 0/7] Add KDE Frameworks Tier 4 Leo Famulari 2017-06-26 9:01 ` bug#26463: " Hartmut Goebel
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/guix.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.