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