From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: [PATCH 15/31] gnu: kde-frameworks: Add kconfig. Date: Mon, 1 Aug 2016 20:13:26 +0200 Message-ID: <20160801181342.16203-16-david@craven.ch> References: <20160801181342.16203-1-david@craven.ch> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUHjP-0000Oc-0W for guix-devel@gnu.org; Mon, 01 Aug 2016 14:14:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUHjN-00013z-P0 for guix-devel@gnu.org; Mon, 01 Aug 2016 14:14:26 -0400 Received: from so254-10.mailgun.net ([198.61.254.10]:41736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUHjM-0000oY-I2 for guix-devel@gnu.org; Mon, 01 Aug 2016 14:14:25 -0400 In-Reply-To: <20160801181342.16203-1-david@craven.ch> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org From: Hartmut Goebel * gnu/packages/kde-frameworks.scm (kconfig): New variable. Co-authored-by: David Craven --- gnu/packages/kde-frameworks.scm | 53 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 7ecee1d..1a9c514 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -268,6 +268,59 @@ Internet).") license:lgpl2.1 license:lgpl2.1+ license:expat license:lgpl3+ license:mpl1.1)))) +(define-public kconfig + (package + (name "kconfig") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1dc2i6icyigw1j6qxgdza6j2g8afh390qmxsa2a54mwl84fkfmxv")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("qttools" ,qttools) + ("xorg-server" ,xorg-server))) ; for the tests + (inputs + `(("qtbase" ,qtbase))) + (arguments + `(#:tests? #f)) ; FIXME: 28/34 tests fail. + (home-page "https://community.kde.org/Frameworks") + (synopsis "Kconfiguration settings framework for Qt") + (description "KConfig provides an advanced configuration system. +It is made of two parts: KConfigCore and KConfigGui. + +KConfigCore provides access to the configuration files themselves. +It features: + +@itemize +@item Code generation: describe your configuration in an XML file, and use +`kconfig_compiler to generate classes that read and write configuration +entries. + +@item Cascading configuration files (global settings overridden by local +settings). + +@item Optional shell expansion support (see docs/options.md). + +@item The ability to lock down configuration options (see docs/options.md). +@end itemize + +KConfigGui provides a way to hook widgets to the configuration so that they +are automatically initialized from the configuration and automatically +propagate their changes to their respective configuration files.") + ;; The included licenses is are gpl2 and lgpl2.1, but the sources are + ;; under a variety of licenses. + ;; This list is taken from http://packaging.neon.kde.org/cgit/ + (license (list license:lgpl2.1 license:lgpl2.1+ license:expat + license:lgpl3+ license:gpl1 ; licende:mit-olif + license:bsd-2 license:bsd-3)))) + (define-public kwindowsystem ;;; TODO qtx11extras isn't found (package -- 2.9.0