gnu: mate-desktop: Add 'gtk-doc' back to native-inputs.
[jackhill/guix/guix.git] / gnu / packages / mate.scm
CommitLineData
bb2fe79e
FH
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2016 Fabian Harfert <fhmgufs@web.de>
68d2eea0 3;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
833b7e0a 4;;; Copyright © 2017 ng0 <ng0@infotropique.org>
bb2fe79e
FH
5;;;
6;;; This file is part of GNU Guix.
7;;;
8;;; GNU Guix is free software; you can redistribute it and/or modify it
9;;; under the terms of the GNU General Public License as published by
10;;; the Free Software Foundation; either version 3 of the License, or (at
11;;; your option) any later version.
12;;;
13;;; GNU Guix is distributed in the hope that it will be useful, but
14;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16;;; GNU General Public License for more details.
17;;;
18;;; You should have received a copy of the GNU General Public License
19;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20
21(define-module (gnu packages mate)
22 #:use-module ((guix licenses) #:prefix license:)
23 #:use-module (guix packages)
24 #:use-module (guix download)
25 #:use-module (guix utils)
26 #:use-module (guix build-system gnu)
27 #:use-module (gnu packages)
28 #:use-module (gnu packages pkg-config)
29 #:use-module (gnu packages glib)
30 #:use-module (gnu packages gtk)
4b48a9fe
FH
31 #:use-module (gnu packages gnome)
32 #:use-module (gnu packages xorg)
f2c7369a
FH
33 #:use-module (gnu packages xdisorg)
34 #:use-module (gnu packages base)
7af1ca29
FH
35 #:use-module (gnu packages xml)
36 #:use-module (gnu packages python))
bb2fe79e
FH
37
38(define-public mate-icon-theme
39 (package
40 (name "mate-icon-theme")
d84f7182 41 (version "1.18.2")
bb2fe79e
FH
42 (source (origin
43 (method url-fetch)
833b7e0a 44 (uri (string-append "https://pub.mate-desktop.org/releases/"
bb2fe79e
FH
45 (version-major+minor version) "/"
46 name "-" version ".tar.xz"))
47 (sha256
48 (base32
d84f7182 49 "0si3li3kza7s45zhasjvqn5f85zpkn0x8i4kq1dlnqvjjqzkg4ch"))))
bb2fe79e
FH
50 (build-system gnu-build-system)
51 (native-inputs
52 `(("pkg-config" ,pkg-config)
53 ("intltool" ,intltool)
bb2fe79e 54 ("icon-naming-utils" ,icon-naming-utils)))
833b7e0a 55 (home-page "https://mate-desktop.org/")
bb2fe79e
FH
56 (synopsis "The MATE desktop environment icon theme")
57 (description
58 "This package contains the default icon theme used by the MATE desktop.")
59 (license license:lgpl3+)))
cbfe494d
FH
60
61(define-public mate-themes
62 (package
63 (name "mate-themes")
60692df2 64 (version "3.22.13")
cbfe494d
FH
65 (source (origin
66 (method url-fetch)
833b7e0a 67 (uri (string-append "https://pub.mate-desktop.org/releases/themes/"
4e85f8d9
KK
68 (version-major+minor version) "/mate-themes-"
69 version ".tar.xz"))
cbfe494d
FH
70 (sha256
71 (base32
60692df2 72 "1p7w63an8qs15hkj79nppy7471glv0rm1b0himn3c4w69q8qdc9i"))))
cbfe494d
FH
73 (build-system gnu-build-system)
74 (native-inputs
75 `(("pkg-config" ,pkg-config)
68d2eea0 76 ("intltool" ,intltool)
77 ("gdk-pixbuf" ,gdk-pixbuf) ; gdk-pixbuf+svg isn't needed
78 ("gtk" ,gtk+-2)))
833b7e0a 79 (home-page "https://mate-desktop.org/")
cbfe494d
FH
80 (synopsis
81 "Official themes for the MATE desktop")
82 (description
83 "This package includes the standard themes for the MATE desktop, for
e3ec6c80
EF
84example Menta, TraditionalOk, GreenLaguna or BlackMate. This package has
85themes for both gtk+-2 and gtk+-3.")
cbfe494d
FH
86 (license (list license:lgpl2.1+ license:cc-by-sa3.0 license:gpl3+
87 license:gpl2+))))
4b48a9fe
FH
88
89(define-public mate-desktop
90 (package
91 (name "mate-desktop")
3bbdf641 92 (version "1.18.0")
4b48a9fe
FH
93 (source (origin
94 (method url-fetch)
833b7e0a 95 (uri (string-append "https://pub.mate-desktop.org/releases/"
4b48a9fe
FH
96 (version-major+minor version) "/"
97 name "-" version ".tar.xz"))
98 (sha256
99 (base32
3bbdf641 100 "12iv2y4dan962fs7vkkxbjkp77pbvjnwfa43ggr0zkdsc3ydjbbg"))))
4b48a9fe
FH
101 (build-system gnu-build-system)
102 (native-inputs
103 `(("pkg-config" ,pkg-config)
104 ("intltool" ,intltool)
105 ("glib:bin" ,glib "bin")
106 ("gobject-introspection" ,gobject-introspection)
6a548c56 107 ("yelp-tools" ,yelp-tools)
108 ("gtk-doc" ,gtk-doc)))
4b48a9fe 109 (inputs
9927943c
EF
110 `(("gtk+" ,gtk+)
111 ("libxrandr" ,libxrandr)
4b48a9fe 112 ("startup-notification" ,startup-notification)))
9927943c
EF
113 (propagated-inputs
114 `(("dconf" ,dconf))) ; mate-desktop-2.0.pc
833b7e0a 115 (home-page "https://mate-desktop.org/")
4b48a9fe
FH
116 (synopsis "Library with common API for various MATE modules")
117 (description
118 "This package contains a public API shared by several applications on the
119desktop and the mate-about program.")
120 (license (list license:gpl2+ license:lgpl2.0+ license:fdl1.1+))))
f2c7369a
FH
121
122(define-public libmateweather
123 (package
124 (name "libmateweather")
d954e569 125 (version "1.18.1")
f2c7369a
FH
126 (source (origin
127 (method url-fetch)
833b7e0a 128 (uri (string-append "https://pub.mate-desktop.org/releases/"
f2c7369a
FH
129 (version-major+minor version) "/"
130 name "-" version ".tar.xz"))
131 (sha256
132 (base32
d954e569 133 "0z6vfh42fv9rqjrraqfpf6h9nd9h662bxy3l3r48j19xvxrwmx3a"))))
f2c7369a
FH
134 (build-system gnu-build-system)
135 (arguments
136 `(#:configure-flags
d954e569
KK
137 (list (string-append "--with-zoneinfo-dir="
138 (assoc-ref %build-inputs "tzdata")
139 "/share/zoneinfo"))
f2c7369a
FH
140 #:phases
141 (modify-phases %standard-phases
142 (add-before
143 'check 'pre-check
144 (lambda* (#:key inputs #:allow-other-keys)
145 (substitute* "data/check-timezones.sh"
146 (("/usr/share/zoneinfo/zone.tab")
147 (string-append (assoc-ref inputs "tzdata")
148 "/share/zoneinfo/zone.tab")))
149 #t)))))
150 (native-inputs
151 `(("pkg-config" ,pkg-config)
152 ("intltool" ,intltool)
153 ("glib:bin" ,glib "bin")))
154 (inputs
155 `(("dconf" ,dconf)
06599980
EF
156 ("gdk-pixbuf" ,gdk-pixbuf)
157 ("gtk+" ,gtk+)
f2c7369a
FH
158 ("tzdata" ,tzdata)))
159 (propagated-inputs
06599980
EF
160 ;; both of these are requires.private in mateweather.pc
161 `(("libsoup" ,libsoup)
162 ("libxml2" ,libxml2)))
833b7e0a 163 (home-page "https://mate-desktop.org/")
f2c7369a
FH
164 (synopsis "MATE library for weather information from the Internet")
165 (description
06599980 166 "This library provides access to weather information from the internet for
f2c7369a
FH
167the MATE desktop environment.")
168 (license license:lgpl2.1+)))
7af1ca29
FH
169
170(define-public mate-menus
171 (package
172 (name "mate-menus")
78a52051 173 (version "1.18.0")
7af1ca29
FH
174 (source (origin
175 (method url-fetch)
833b7e0a 176 (uri (string-append "https://pub.mate-desktop.org/releases/"
7af1ca29
FH
177 (version-major+minor version) "/"
178 name "-" version ".tar.xz"))
179 (sha256
180 (base32
78a52051 181 "05kyr37xqv6hm1rlvnqd5ng0x1n883brqynkirkk5drl56axnz7h"))))
7af1ca29
FH
182 (build-system gnu-build-system)
183 (arguments
184 `(#:phases
185 (modify-phases %standard-phases
186 (add-after
187 'unpack 'fix-introspection-install-dir
188 (lambda* (#:key outputs #:allow-other-keys)
189 (let ((out (assoc-ref outputs "out")))
190 (substitute* '("configure")
191 (("`\\$PKG_CONFIG --variable=girdir gobject-introspection-1.0`")
192 (string-append "\"" out "/share/gir-1.0/\""))
193 (("\\$\\(\\$PKG_CONFIG --variable=typelibdir gobject-introspection-1.0\\)")
27caff1b
EF
194 (string-append out "/lib/girepository-1.0/")))
195 #t))))))
7af1ca29
FH
196 (native-inputs
197 `(("pkg-config" ,pkg-config)
198 ("intltool" ,intltool)
199 ("gobject-introspection" ,gobject-introspection)))
200 (inputs
27caff1b
EF
201 `(("glib" ,glib)
202 ("python" ,python-2)))
833b7e0a 203 (home-page "https://mate-desktop.org/")
7af1ca29
FH
204 (synopsis "Freedesktop menu specification implementation for MATE")
205 (description
206 "The package contains an implementation of the freedesktop menu
207specification, the MATE menu layout configuration files, .directory files and
208assorted menu related utility programs.")
209 (license (list license:gpl2+ license:lgpl2.0+))))