From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 26463@debbugs.gnu.org
Subject: bug#26463: [PATCH v2 2/7] gnu: Add kdelibs4support.
Date: Sun, 11 Jun 2017 17:34:22 +0200 [thread overview]
Message-ID: <1497195267-22886-3-git-send-email-h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <1497195267-22886-1-git-send-email-h.goebel@crazy-compilers.com>
* 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
next prev parent reply other threads:[~2017-06-11 15:36 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Hartmut Goebel [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1497195267-22886-3-git-send-email-h.goebel@crazy-compilers.com \
--to=h.goebel@crazy-compilers.com \
--cc=26463@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).