From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejCEb-00005N-QZ for guix-patches@gnu.org; Tue, 06 Feb 2018 18:01:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ejCEY-0006we-NW for guix-patches@gnu.org; Tue, 06 Feb 2018 18:01:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:52778) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ejCEY-0006wa-KL for guix-patches@gnu.org; Tue, 06 Feb 2018 18:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ejCEY-0006zY-AV for guix-patches@gnu.org; Tue, 06 Feb 2018 18:01:02 -0500 Subject: [bug#30374] [PATCH] gnu: Add kirigami. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejCDg-000883-K4 for guix-patches@gnu.org; Tue, 06 Feb 2018 18:00:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ejCDd-00066x-JZ for guix-patches@gnu.org; Tue, 06 Feb 2018 18:00:08 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:49544) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ejCDd-00063r-AE for guix-patches@gnu.org; Tue, 06 Feb 2018 18:00:05 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3zbg025Mspz1qtdJ for ; Wed, 7 Feb 2018 00:00:02 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3zbg025Hqmz1qqkC for ; Wed, 7 Feb 2018 00:00:02 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id syAJj-Ke_a57 for ; Wed, 7 Feb 2018 00:00:01 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-93-104-174-233.dynamic.mnet-online.de [93.104.174.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Wed, 7 Feb 2018 00:00:01 +0100 (CET) Received: from lenashee.goebel-consult.de (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id E256360952 for ; Wed, 7 Feb 2018 00:00:01 +0100 (CET) From: Hartmut Goebel Date: Wed, 7 Feb 2018 00:00:00 +0100 Message-Id: <20180206230000.28413-1-h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30374@debbugs.gnu.org --- gnu/packages/kde-frameworks.scm | 60 +++++++++++++++++++++++++++++++++++= ++++++ 1 file changed, 60 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-framework= s.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+)))) =20 +(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=3D386456 + ;; Note for when enabling the tests: The test-suite is meant to b= e run + ;; without prior installation, see + ;; https://cgit.kde.org/kirigami.git/commit/?id=3D24ad2c9 + #: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 P= lasma +Mobile and Android. It=E2=80=99s not a whole set of components, all the= =E2=80=9CPrimitive=E2=80=9D +ones like buttons and textboxes are a job for QtQuickControls (soon +QtQuickControls2) but it=E2=80=99s a set of high level components to mak= e the creation +of applications that look and feel great on mobile as well as desktop de= vices +and follow the Kirigami Human Interface Guidelines. The target of those +components is anybody that wants to do an application using QtQuick as i= ts +main UI, especially if targeting a mobile platform, without adding many +dependencies. They work on a variety of platforms, such as Plasma Mobil= e, +Desktop Linux, Android and Windows.") + (license license:lgpl2.1+))) + (define-public kitemmodels (package (name "kitemmodels") --=20 2.13.6