From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: [WIP v0.1 8/8] gnu: Add kde kconfig Date: Tue, 14 Jun 2016 23:15:10 +0200 Message-ID: <1465938910-15739-9-git-send-email-h.goebel@crazy-compilers.com> References: <1465938910-15739-1-git-send-email-h.goebel@crazy-compilers.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCvgH-0004xG-Et for guix-devel@gnu.org; Tue, 14 Jun 2016 17:15:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCvgE-000353-VG for guix-devel@gnu.org; Tue, 14 Jun 2016 17:15:28 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:44511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCvgE-00034u-KM for guix-devel@gnu.org; Tue, 14 Jun 2016 17:15:26 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3rTj9B1Dj6z3hjQm for ; Tue, 14 Jun 2016 23:15:26 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3rTj9B18hmzvjMk for ; Tue, 14 Jun 2016 23:15:26 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id vdgL7Xge-j_y for ; Tue, 14 Jun 2016 23:15:25 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-133-227.dynamic.mnet-online.de [188.174.133.227]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Tue, 14 Jun 2016 23:15:25 +0200 (CEST) Received: from lenashee.goebel-consult.de (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 9D5A560D9C for ; Tue, 14 Jun 2016 23:15:10 +0200 (CEST) In-Reply-To: <1465938910-15739-1-git-send-email-h.goebel@crazy-compilers.com> 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 * gnu/packages/kde-frameworks.scm (kconfig): New variable. --- gnu/packages/kde-frameworks.scm | 52 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index dca89d7..2355fa9 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -268,6 +268,58 @@ Internet).") license:lgpl2.1 license:lgpl2.1+ license:expat license:lgpl3+ license:mpl1.1)))) +(define-public kconfig + (package + (name "kconfig") + (version kde-frameworks-version) + (source + (origin + (method url-fetch) + (uri (string-append "http://download.kde.org/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "0w5wvy3yhgh64k8jghyv5fkx9jr828yl11jlihg24hfplnmihkxw")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("xorg-server" ,xorg-server))) ; for the tests + (inputs + `(("qt" ,qt))) + (arguments + `(#:tests? #f)) ; TODO: Mosts 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 (package (name "kwindowsystem") -- 2.7.4