2015-07-24 16:22:15 -04:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
|
2016-02-24 07:34:29 -05:00
|
|
|
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
2016-06-12 14:33:07 -04:00
|
|
|
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
|
|
|
;;; Copyright © 2016 David Craven <david@craven.ch>
|
2015-07-24 16:22:15 -04:00
|
|
|
;;;
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(define-module (gnu packages kde-frameworks)
|
|
|
|
#:use-module (guix build-system cmake)
|
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
#:use-module (guix packages)
|
2015-07-24 17:01:14 -04:00
|
|
|
#:use-module (guix utils)
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
#:use-module (gnu packages qt)
|
|
|
|
#:use-module (gnu packages xorg))
|
2015-07-24 16:22:15 -04:00
|
|
|
|
|
|
|
(define-public extra-cmake-modules
|
|
|
|
(package
|
|
|
|
(name "extra-cmake-modules")
|
2016-06-12 14:33:42 -04:00
|
|
|
(version "5.24.0")
|
2015-07-24 16:22:15 -04:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2016-06-12 14:33:42 -04:00
|
|
|
(uri (string-append "mirror://kde/stable/frameworks/"
|
2015-07-24 16:22:15 -04:00
|
|
|
(version-major+minor version) "/"
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
(sha256
|
2016-02-24 07:34:29 -05:00
|
|
|
(base32
|
2016-06-12 14:33:42 -04:00
|
|
|
"01m12ml529pwr2sal951r5z6yb1rwbpid1y4k14nlk3xqgmdakwa"))))
|
2015-07-24 16:22:15 -04:00
|
|
|
(build-system cmake-build-system)
|
2016-06-12 14:33:42 -04:00
|
|
|
(native-inputs
|
|
|
|
`(("qtbase" ,qtbase))) ; For tests (needs qmake)
|
|
|
|
(arguments
|
|
|
|
`(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
;; install and check phase are swapped to prevent install from failing
|
|
|
|
;; after testsuire has run
|
|
|
|
(add-after 'install 'check-post-install
|
|
|
|
(assoc-ref %standard-phases 'check))
|
|
|
|
(delete 'check))))
|
|
|
|
;; optional dependencies - to save space, we do not add these inputs.
|
|
|
|
;; Sphinx > 1.2:
|
|
|
|
;; Required to build Extra CMake Modules documentation in Qt Help format.
|
|
|
|
;; Qt5LinguistTools , Qt5 linguist tools. , <http://www.qt.io/>
|
|
|
|
;; Required to run tests for the ECMPoQmTools module.
|
|
|
|
;; Qt5Core
|
|
|
|
;; Required to run tests for the ECMQtDeclareLoggingCategory module,
|
|
|
|
;; and for some tests of the KDEInstallDirs module.
|
2015-07-24 16:22:15 -04:00
|
|
|
(home-page "https://community.kde.org/Frameworks")
|
|
|
|
(synopsis "CMake module files for common software used by KDE")
|
|
|
|
(description "The Extra CMake Modules package, or ECM, adds to the
|
|
|
|
modules provided by CMake to find common software. In addition, it provides
|
|
|
|
common build settings used in software produced by the KDE community.")
|
|
|
|
(license license:bsd-3)))
|
2015-07-24 17:01:14 -04:00
|
|
|
|
2016-06-12 14:33:07 -04:00
|
|
|
;; Tier 1
|
|
|
|
;;
|
|
|
|
;; Tier 1 frameworks depend only on Qt (and possibly a small number of other
|
|
|
|
;; third-party libraries), so can easily be used by an Qt-based project.
|
|
|
|
|
|
|
|
(define-public attica
|
|
|
|
(package
|
|
|
|
(name "attica")
|
|
|
|
(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
|
|
|
|
"0d368gmds7m7k5pnn625wqsij38cvxk1gkm4zv24phnk9f67v7cw"))))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)))
|
|
|
|
(inputs
|
|
|
|
`(("qtbase" ,qtbase)))
|
|
|
|
(home-page "https://community.kde.org/Frameworks")
|
|
|
|
(synopsis "Open Collaboration Service client library")
|
|
|
|
(description "Attica is a Qt library that implements the Open
|
|
|
|
Collaboration Services API version 1.6.
|
|
|
|
|
|
|
|
It grants easy access to the services such as querying information about
|
|
|
|
persons and contents. The library is used in KNewStuff3 as content provider.
|
|
|
|
In order to integrate with KDE's Plasma Desktop, a platform plugin exists in
|
|
|
|
kdebase.
|
|
|
|
|
|
|
|
The REST API is defined here:
|
|
|
|
http://freedesktop.org/wiki/Specifications/open-collaboration-services/")
|
|
|
|
(license (list license:lgpl2.1+ license:lgpl3+))))
|
|
|
|
|
2015-07-24 17:01:14 -04:00
|
|
|
(define-public kwindowsystem
|
|
|
|
(package
|
|
|
|
(name "kwindowsystem")
|
2016-08-02 06:49:12 -04:00
|
|
|
(version "5.24.0")
|
2015-07-24 17:01:14 -04:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2016-08-02 06:49:12 -04:00
|
|
|
(uri (string-append "mirror://kde/stable/frameworks/"
|
2015-07-24 17:01:14 -04:00
|
|
|
(version-major+minor version) "/"
|
|
|
|
name "-" version ".tar.xz"))
|
|
|
|
(sha256
|
2016-02-24 07:34:29 -05:00
|
|
|
(base32
|
2016-08-02 06:49:12 -04:00
|
|
|
"0w5ym8msl80v3q65253pdpj9f1fmb658rnndlbkrgpmm1rv1n6dz"))))
|
2015-07-24 17:01:14 -04:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(native-inputs
|
2016-08-02 06:49:12 -04:00
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
("qttools" ,qttools)
|
2016-02-24 07:34:29 -05:00
|
|
|
("xorg-server" ,xorg-server))) ; for the tests
|
2015-07-24 17:01:14 -04:00
|
|
|
(inputs
|
2016-08-02 06:49:12 -04:00
|
|
|
`(("libxrender" ,libxrender)
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
("qtx11extras" ,qtx11extras)
|
2016-02-24 07:34:29 -05:00
|
|
|
("xcb-utils-keysyms" ,xcb-util-keysyms)))
|
2015-07-24 17:01:14 -04:00
|
|
|
(arguments
|
2016-08-02 06:49:12 -04:00
|
|
|
`(#:tests? #f)) ; FIXME: 8/10 tests fail.
|
2015-07-24 17:01:14 -04:00
|
|
|
(home-page "https://community.kde.org/Frameworks")
|
|
|
|
(synopsis "KDE access to the windowing system")
|
|
|
|
(description "KWindowSystem provides information about and allows
|
|
|
|
interaction with the windowing system. It provides a high level API, which
|
|
|
|
is windowing system independent and has platform specific
|
|
|
|
implementations. This API is inspired by X11 and thus not all functionality
|
|
|
|
is available on all windowing systems.
|
|
|
|
|
|
|
|
In addition to the high level API, this framework also provides several
|
|
|
|
lower level classes for interaction with the X Windowing System.")
|
|
|
|
;; Some source files mention lgpl2.0+, but the included license is
|
|
|
|
;; the lgpl2.1. Some source files are under non-copyleft licenses.
|
|
|
|
(license license:lgpl2.1+)))
|
2016-02-24 08:11:47 -05:00
|
|
|
|
|
|
|
(define-public oxygen-icons
|
|
|
|
(package
|
|
|
|
(name "oxygen-icons")
|
2016-08-02 06:54:09 -04:00
|
|
|
(version "5.24.0")
|
2016-02-24 08:11:47 -05:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2016-08-02 06:54:09 -04:00
|
|
|
(uri (string-append "mirror://kde/stable/frameworks/"
|
2016-02-24 08:11:47 -05:00
|
|
|
(version-major+minor version) "/"
|
2016-08-02 06:54:09 -04:00
|
|
|
name "5" "-" version ".tar.xz"))
|
2016-02-24 08:11:47 -05:00
|
|
|
(sha256
|
|
|
|
(base32
|
2016-08-02 06:54:09 -04:00
|
|
|
"1c7spjbzk04725vv0ly7vmyvwa96mfa5ki2pm146ld4888a896wm"))))
|
2016-02-24 08:11:47 -05:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(native-inputs
|
2016-08-02 06:54:09 -04:00
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)))
|
2016-02-24 08:11:47 -05:00
|
|
|
(inputs
|
2016-08-02 06:54:09 -04:00
|
|
|
`(("qtbase" ,qtbase)))
|
2016-02-24 08:11:47 -05:00
|
|
|
(home-page "https://community.kde.org/Frameworks")
|
2016-07-29 04:23:52 -04:00
|
|
|
(synopsis "Oxygen provides the standard icon theme for the KDE desktop")
|
2016-02-24 08:11:47 -05:00
|
|
|
(description "Oxygen icon theme for the KDE desktop")
|
|
|
|
(license license:lgpl3+)))
|