1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2017 ng0 <ng0@infotropique.org>
4 ;;; This file is part of GNU Guix.
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.
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.
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/>.
19 (define-module (gnu packages cinnamon)
20 #:use-module ((guix licenses) #:prefix license:)
21 #:use-module (guix packages)
22 #:use-module (guix download)
23 #:use-module (guix utils)
24 #:use-module (guix build-system gnu)
25 #:use-module (gnu packages)
26 #:use-module (gnu packages autotools)
27 #:use-module (gnu packages freedesktop)
28 #:use-module (gnu packages gettext)
29 #:use-module (gnu packages glib)
30 #:use-module (gnu packages gtk)
31 #:use-module (gnu packages gnome)
32 #:use-module (gnu packages pkg-config)
33 #:use-module (gnu packages pulseaudio)
34 #:use-module (gnu packages python)
35 #:use-module (gnu packages xorg))
37 (define-public cinnamon-desktop
39 (name "cinnamon-desktop")
43 (uri (string-append "https://github.com/linuxmint/cinnamon-desktop/"
44 "archive/" version ".tar.gz"))
45 (file-name (string-append name "-" version ".tar.gz"))
48 "1jf24csrbfi9aiza1g70jpvsbjiqwphk0i5wilxq9kpjjsl99maq"))))
49 (build-system gnu-build-system)
52 (modify-phases %standard-phases
53 (add-after 'unpack 'autoconf
57 (and (system* "glib-gettextize" "--force" "--copy")
58 (system* "intltoolize" "--force" "--copy" "--automake")
59 (system* "autoreconf" "--verbose" "--force" "--install"))))))))
60 ;; TODO: package 'libgsystem'.
62 `(("accountsservice" ,accountsservice)
65 ("gobject-introspection" ,gobject-introspection)
66 ("gnome-common" ,gnome-common)
67 ("libxkbfile" ,libxkbfile)
68 ("libxrandr" ,libxrandr)
69 ("python-2" ,python-2)
70 ("pulseaudio" ,pulseaudio)
71 ("xkeyboard-config" ,xkeyboard-config)))
73 `(("autoconf" ,autoconf)
74 ("automake" ,automake)
75 ("gettext" ,gettext-minimal)
76 ("glib" ,glib "bin") ; glib-gettextize
77 ("intltool" ,intltool)
79 ("pkg-config" ,pkg-config)))
80 (home-page "https://github.com/linuxmint/cinnamon-desktop/")
81 (synopsis "Library for the Cinnamon Desktop")
83 "The cinnamon-desktop package contains the libcinnamon-desktop library,
84 as well as some desktop-wide documents.")
85 (license (list license:gpl2+ license:lgpl2.0+
86 license:expat)))) ;display-name.c , edid-parse.c