From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 30374@debbugs.gnu.org
Subject: [bug#30374] [PATCH] gnu: Add kirigami.
Date: Wed, 7 Feb 2018 00:00:00 +0100 [thread overview]
Message-ID: <20180206230000.28413-1-h.goebel@crazy-compilers.com> (raw)
---
gnu/packages/kde-frameworks.scm | 60 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index ef2a7cb07..946c7511a 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -766,6 +766,66 @@ but also for getting notified upon idle time events, such as custom timeouts,
or user activity.")
(license (list license:gpl2+ license:lgpl2.1+))))
+(define-public kirigami
+ ;; Kirigami is listed as tier 1 framework, but optionally includes
+ ;; plasma-framework which is tier 3.
+ (package
+ (name "kirigami")
+ (version "5.39.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://kde/stable/frameworks/"
+ (version-major+minor version) "/"
+ "kirigami2-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0spgylk4yjy74rs5d5b28qv72qz5ra9j3wfmk6vx2b6cvf1fw517"))))
+ (properties `((upstream-name . "kirigami2")))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)
+ ("qttools" ,qttools)))
+ (inputs
+ `(("kwindowsystem" ,kwindowsystem)
+ ;; TODO: Find a way to activate this optional include without
+ ;; introducing a recursive dependency.
+ ;;("plasma-frameworks" ,plasma-framework) ;; Tier 3!
+ ("qtbase" ,qtbase)
+ ("qtdeclarative" ,qtdeclarative)
+ ("qtquickcontrols2" ,qtquickcontrols2)
+ ("qtsvg" ,qtsvg)
+ ;; Run-time dependency
+ ("qtgraphicaleffects" ,qtgraphicaleffects)))
+ (arguments
+ `(#:tests? #f ;; FIXME: Test suite is broken,
+ ;; see https://bugs.kde.org/show_bug.cgi?id=386456
+ ;; Note for when enabling the tests: The test-suite is meant to be run
+ ;; without prior installation, see
+ ;; https://cgit.kde.org/kirigami.git/commit/?id=24ad2c9
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'check-setup
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; make Qt render "offscreen", required for tests
+ (setenv "QT_QPA_PLATFORM" "offscreen")
+ #t)))))
+ (home-page "https://community.kde.org/Frameworks")
+ (synopsis "QtQuick plugins to build user interfaces based on the KDE UX
+guidelines")
+ (description "Kirigami is a set of QtQuick components at the moment
+targeted for mobile use (in the future desktop as well) targeting both Plasma
+Mobile and Android. It’s not a whole set of components, all the “Primitive”
+ones like buttons and textboxes are a job for QtQuickControls (soon
+QtQuickControls2) but it’s a set of high level components to make the creation
+of applications that look and feel great on mobile as well as desktop devices
+and follow the Kirigami Human Interface Guidelines. The target of those
+components is anybody that wants to do an application using QtQuick as its
+main UI, especially if targeting a mobile platform, without adding many
+dependencies. They work on a variety of platforms, such as Plasma Mobile,
+Desktop Linux, Android and Windows.")
+ (license license:lgpl2.1+)))
+
(define-public kitemmodels
(package
(name "kitemmodels")
--
2.13.6
next reply other threads:[~2018-02-06 23:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-06 23:00 Hartmut Goebel [this message]
2018-02-06 23:05 ` [bug#30374] PATCH] gnu: Add kirigami Hartmut Goebel
2018-02-09 14:04 ` [bug#30374] [PATCH] " Ludovic Courtès
2018-02-10 10:48 ` Hartmut Goebel
2018-02-12 15:27 ` bug#30374: " 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=20180206230000.28413-1-h.goebel@crazy-compilers.com \
--to=h.goebel@crazy-compilers.com \
--cc=30374@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).