From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: [PATCH 12/31] gnu: kde-frameworks: Add kapidox. Date: Mon, 1 Aug 2016 20:13:23 +0200 Message-ID: <20160801181342.16203-13-david@craven.ch> References: <20160801181342.16203-1-david@craven.ch> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUHjL-0000Jy-6e for guix-devel@gnu.org; Mon, 01 Aug 2016 14:14:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUHjI-00010a-Pn for guix-devel@gnu.org; Mon, 01 Aug 2016 14:14:22 -0400 Received: from so254-10.mailgun.net ([198.61.254.10]:45853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUHjH-0000pG-HC for guix-devel@gnu.org; Mon, 01 Aug 2016 14:14:20 -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 (kapidox): New variable. Co-authored-by: David Craven --- 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 23332cb..0a970be 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -26,6 +26,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)) @@ -154,6 +155,49 @@ It is the default icon theme for the KDE Plasma 5 desktop.") ;; text. (license license:lgpl3+))) +(define-public kapidox + (package + (name "kapidox") + (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 + "19a7alvn71nxflsyi7y3hghx1iw04qqc77qy54mcxcpkiyvpsggf")))) + (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 + `(("qtbase" ,qtbase))) + (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 ;;; TODO qtx11extras isn't found (package -- 2.9.0