2015-07-24 20:22:15 +00:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
|
2016-02-24 12:34:29 +00:00
|
|
|
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
2015-07-24 20:22:15 +00: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 21:01:14 +00:00
|
|
|
#:use-module (guix utils)
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
#:use-module (gnu packages qt)
|
|
|
|
#:use-module (gnu packages xorg))
|
2015-07-24 20:22:15 +00:00
|
|
|
|
2016-04-27 16:06:59 +00:00
|
|
|
(define kde-frameworks-version "5.21.0")
|
2015-07-24 20:22:15 +00:00
|
|
|
|
|
|
|
(define-public extra-cmake-modules
|
|
|
|
(package
|
|
|
|
(name "extra-cmake-modules")
|
|
|
|
(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
|
2016-02-24 12:34:29 +00:00
|
|
|
(base32
|
2016-04-27 16:06:59 +00:00
|
|
|
"1kbc5fkcbz9vkg0jpz10vsfgwajlrsmbl0vrbls5qvrdgbgrwlm3"))))
|
2015-07-24 20:22:15 +00:00
|
|
|
;; The package looks for Qt5LinguistTools provided by Qt, but apparently
|
|
|
|
;; compiles without it; it might be needed for building the
|
|
|
|
;; documentation, which requires the additional Sphinx package.
|
|
|
|
;; To save space, we do not add these inputs.
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(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 21:01:14 +00:00
|
|
|
|
|
|
|
(define-public kwindowsystem
|
|
|
|
(package
|
|
|
|
(name "kwindowsystem")
|
|
|
|
(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
|
2016-02-24 12:34:29 +00:00
|
|
|
(base32
|
2016-04-27 16:06:59 +00:00
|
|
|
"13lfwpw5a4in0mp5y8d15jg6xhhrka2qmw73wrdzcvj22n6ldzzi"))))
|
2015-07-24 21:01:14 +00:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(native-inputs
|
2016-02-24 12:34:29 +00:00
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
("xorg-server" ,xorg-server))) ; for the tests
|
2015-07-24 21:01:14 +00:00
|
|
|
(inputs
|
2016-02-24 12:34:29 +00:00
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
("libxrender" ,libxrender)
|
|
|
|
("qt" ,qt)
|
|
|
|
("xcb-utils-keysyms" ,xcb-util-keysyms)))
|
2015-07-24 21:01:14 +00:00
|
|
|
(arguments
|
2016-02-24 12:34:29 +00:00
|
|
|
`(#:tests? #f)) ; FIXME: The first seven tests fail with "Exception".
|
2015-07-24 21:01:14 +00: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 13:11:47 +00:00
|
|
|
|
|
|
|
(define-public oxygen-icons
|
|
|
|
(package
|
|
|
|
(name "oxygen-icons")
|
|
|
|
(version kde-frameworks-version)
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://download.kde.org/stable/frameworks/"
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
name "5-"version ".tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2016-04-27 16:06:59 +00:00
|
|
|
"00qh1h3xx392hh73zdlknc1j9i2sck9ys74a9ffkf6an4rl0hws5"))))
|
2016-02-24 13:11:47 +00:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
("qt" ,qt)))
|
|
|
|
(home-page "https://community.kde.org/Frameworks")
|
|
|
|
(synopsis "Oxygen provides the standard icon theme for the KDE desktop.")
|
|
|
|
(description "Oxygen icon theme for the KDE desktop")
|
|
|
|
(license license:lgpl3+)))
|