You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

207 lines
7.4 KiB

  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
  3. ;;;
  4. ;;; This file is part of GNU Guix.
  5. ;;;
  6. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  7. ;;; under the terms of the GNU General Public License as published by
  8. ;;; the Free Software Foundation; either version 3 of the License, or (at
  9. ;;; your option) any later version.
  10. ;;;
  11. ;;; GNU Guix is distributed in the hope that it will be useful, but
  12. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. ;;; GNU General Public License for more details.
  15. ;;;
  16. ;;; You should have received a copy of the GNU General Public License
  17. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  18. (define-module (gnu packages kde)
  19. #:use-module ((guix licenses) #:select (bsd-2 lgpl2.0+ lgpl2.1 lgpl2.1+))
  20. #:use-module (guix packages)
  21. #:use-module (guix download)
  22. #:use-module (guix build-system cmake)
  23. #:use-module (gnu packages compression)
  24. #:use-module (gnu packages doxygen)
  25. #:use-module (gnu packages geeqie)
  26. #:use-module (gnu packages glib)
  27. #:use-module (gnu packages perl)
  28. #:use-module (gnu packages pkg-config)
  29. #:use-module (gnu packages pulseaudio)
  30. #:use-module (gnu packages python)
  31. #:use-module (gnu packages qt)
  32. #:use-module (gnu packages rdf)
  33. #:use-module (gnu packages video)
  34. #:use-module (gnu packages xml)
  35. #:use-module (gnu packages xorg))
  36. (define-public automoc4
  37. (package
  38. (name "automoc4")
  39. (version "0.9.88")
  40. (source (origin
  41. (method url-fetch)
  42. (uri (string-append "http://download.kde.org/stable/" name
  43. "/" version "/" name "-"
  44. version ".tar.bz2"))
  45. (sha256
  46. (base32
  47. "0jackvg0bdjg797qlbbyf9syylm0qjs55mllhn11vqjsq3s1ch93"))))
  48. (build-system cmake-build-system)
  49. (inputs
  50. `(("qt" ,qt-4)))
  51. (arguments
  52. `(#:tests? #f)) ; no check target
  53. (home-page "http://techbase.kde.org/Development/Tools/Automoc4")
  54. (synopsis "build tool for KDE")
  55. (description "KDE desktop environment")
  56. (license bsd-2)))
  57. (define-public phonon
  58. (package
  59. (name "phonon")
  60. (version "4.8.0")
  61. (source (origin
  62. (method url-fetch)
  63. (uri (string-append "http://download.kde.org/stable/" name
  64. "/" version "/"
  65. name "-" version ".tar.xz"))
  66. (sha256
  67. (base32
  68. "096m3v4i7gmn0870l1bifna5bwbii6xrdk29i98s9i9zr1k2mjrv"))))
  69. (build-system cmake-build-system)
  70. ;; FIXME: Add interpreter ruby once available.
  71. ;; Add optional input libqtzeitgeist.
  72. (inputs
  73. `(("automoc4" ,automoc4)
  74. ("glib" ,glib)
  75. ("libx11" ,libx11)
  76. ("pulseaudio" ,pulseaudio)
  77. ("qt" ,qt-4)))
  78. (native-inputs
  79. `(("pkg-config" ,pkg-config)))
  80. (arguments
  81. `(#:tests? #f)) ; no test target
  82. (home-page "http://phonon.kde.org/")
  83. (synopsis "Qt 4 multimedia API")
  84. (description "KDE desktop environment")
  85. (license lgpl2.1+)))
  86. (define-public qjson
  87. (package
  88. (name "qjson")
  89. (version "0.8.1")
  90. (source (origin
  91. (method url-fetch)
  92. (uri (string-append "https://github.com/flavio/qjson/archive/"
  93. version ".tar.gz"))
  94. (sha256
  95. (base32
  96. "163fspi0xc705irv79qw861fmh68pjyla9vx3kqiq6xrdhb9834j"))))
  97. (build-system cmake-build-system)
  98. (inputs
  99. `(("qt" ,qt-4)))
  100. (arguments
  101. `(#:tests? #f)) ; no test target
  102. (home-page "http://qjson.sourceforge.net/")
  103. (synopsis "Qt-based library for handling JSON")
  104. (description "QJson is a Qt-based library that maps JSON data to QVariant
  105. objects and vice versa. JSON arrays are mapped to QVariantList instances,
  106. while JSON objects are mapped to QVariantMap.")
  107. (license lgpl2.1+)))
  108. (define-public libdbusmenu-qt
  109. (package
  110. (name "libdbusmenu-qt")
  111. (version "0.9.2")
  112. (source (origin
  113. (method url-fetch)
  114. (uri (string-append "https://launchpad.net/" name "/trunk/"
  115. version "/+download/"
  116. name "-" version ".tar.bz2"))
  117. (sha256
  118. (base32
  119. "1v0ri5g9xw2z64ik0kx0ra01v8rpjn2kxprrxppkls1wvav1qv5f"))))
  120. (build-system cmake-build-system)
  121. (native-inputs
  122. `(("doxygen" ,doxygen) ; used for static documentation
  123. ("pkg-config" ,pkg-config)
  124. ("qjson", qjson))) ; used for the tests
  125. (inputs
  126. `(("qt" ,qt-4)))
  127. (arguments
  128. `(#:tests? #f)) ; no check target
  129. (home-page "https://launchpad.net/libdbusmenu-qt/")
  130. (synopsis "Qt implementation of the DBusMenu protocol")
  131. (description "The library provides a Qt implementation of the DBusMenu
  132. protocol. The DBusMenu protocol makes it possible for applications to export
  133. and import their menus over DBus.")
  134. (license lgpl2.0+)))
  135. (define-public attica
  136. (package
  137. (name "attica")
  138. (version "0.4.2")
  139. (source (origin
  140. (method url-fetch)
  141. (uri (string-append "http://download.kde.org/stable/"
  142. name "/"
  143. name "-" version ".tar.bz2"))
  144. (sha256
  145. (base32
  146. "1y74gsyzi70dfr9d1f1b08k130rm3jaibsppg8dv5h3211vm771v"))))
  147. (build-system cmake-build-system)
  148. (inputs
  149. `(("qt" ,qt-4)))
  150. (home-page "https://projects.kde.org/projects/kdesupport/attica")
  151. (synopsis "Qt library for the Open Collaboration Services API")
  152. (description "Attica is a Qt library that implements the Open
  153. Collaboration Services API version 1.6. It grants easy access to the
  154. services such as querying information about persons and contents. The
  155. library is used in KNewStuff3 as content provider. In order to integrate
  156. with KDE's Plasma Desktop, a platform plugin exists in kdebase.")
  157. (license lgpl2.1+)))
  158. (define-public strigi
  159. (package
  160. (name "strigi")
  161. (version "0.7.8")
  162. (source (origin
  163. (method url-fetch)
  164. (uri (string-append "http://www.vandenoever.info/software/"
  165. name "/"
  166. name "-" version ".tar.bz2"))
  167. (sha256
  168. (base32
  169. "12grxzqwnvbyqw7q1gnz42lypadxmq89vk2qpxczmpmc4nk63r23"))))
  170. (build-system cmake-build-system)
  171. (native-inputs
  172. `(("pkg-config" ,pkg-config)))
  173. ;; FIXME: Add optional inputs XAttr, FAM, Log4cxx
  174. (inputs
  175. `(("clucene" ,clucene)
  176. ("dbus" ,dbus)
  177. ("exiv2" ,exiv2)
  178. ("ffmpeg" ,ffmpeg)
  179. ("libxml2" ,libxml2)
  180. ("perl" ,perl)
  181. ("python" ,python-wrapper)
  182. ("qt" ,qt-4)
  183. ("zlib" ,zlib)))
  184. (arguments
  185. `(#:tests? #f)) ; FIXME: Test 23/25 ProcessInputStreamTest fails.
  186. (home-page "http://www.vandenoever.info/software/strigi/")
  187. (synopsis "Desktop search daemon")
  188. (description "Strigi is a desktop search daemon with the following
  189. main features:
  190. very fast crawling;
  191. very small memory footprint;
  192. no hammering of the system;
  193. pluggable backend, currently clucene and hyperestraier, sqlite3 and xapian
  194. are in the works;
  195. communication between daemon and search program over an abstract interface,
  196. currently a simple socket;
  197. simple interface for implementing plugins for extracting information;
  198. calculation of sha1 for every file crawled
  199. (allows fast finding of duplicates).")
  200. (license lgpl2.0+)))