From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: [WIP v0.1 5/8] gnu: Add kde kapidox Date: Tue, 14 Jun 2016 23:15:07 +0200 Message-ID: <1465938910-15739-6-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]:53663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCvgG-0004uF-PY for guix-devel@gnu.org; Tue, 14 Jun 2016 17:15:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCvg9-00032a-Mr for guix-devel@gnu.org; Tue, 14 Jun 2016 17:15:27 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:56474) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCvg9-00032J-B6 for guix-devel@gnu.org; Tue, 14 Jun 2016 17:15:21 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3rTj946cdnz3hjYP for ; Tue, 14 Jun 2016 23:15:20 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3rTj946WMhzvjMl for ; Tue, 14 Jun 2016 23:15:20 +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 PbCiI6l1_GrS for ; Tue, 14 Jun 2016 23:15:19 +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:19 +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 6400560BC8 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 (kapidox): New variable. --- gnu/packages/kde-frameworks.scm | 44 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 0a17568..b1e7038 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -25,6 +25,7 @@ #:use-module (guix packages) #:use-module (guix utils) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages python) #:use-module (gnu packages qt) #:use-module (gnu packages xorg)) @@ -155,6 +156,49 @@ It is the default icon theme for the KDE Plasma 5 desktop.") ;; text. (license license:lgpl3+))) +(define-public kapidox + (package + (name "kapidox") + (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 + "0w3jch93d8vdqd0g4yl2fxmamrg9hnx1lypnpgw7615wlsb02qyx")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f)) ; has no test target + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (propagated-inputs + ;; kapidox is a python programm + ;; TODO: check if doxygen has to be installed, the readme does not + ;; mention it. The openSuse .rpm lists doxygen, graphviz, graphviz-gd, + ;; and python-xml. + `(("python" ,python) + ("python-jinja2" ,python-jinja2) + ("python-pyyaml" ,python-pyyaml))) + (inputs + `(("qt" ,qt))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "KDE Doxygen Tools") + + (description "This framework contains scripts and data for building API +documentation (dox) in a standard format and style for KDE. + +For the actual documentation extraction and formatting the Doxygen tool is +used, but this framework provides a wrapper script to make generating the +documentation more convenient (including reading settings from the target +framework or other module) and a standard template for the generated +documentation.") + ;; Most parts are bsd-2, but incuded jquery is expat + ;; This list is taken from http://packaging.neon.kde.org/cgit/ + (license (list license:bsd-2 license:expat)))) + (define-public kwindowsystem (package (name "kwindowsystem") -- 2.7.4