;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 Fabian Harfert ;;; ;;; 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 . (define-module (gnu packages mate) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (gnu packages) #:use-module (gnu packages pkg-config) #:use-module (gnu packages glib) #:use-module (gnu packages gtk) #:use-module (gnu packages gnome) #:use-module (gnu packages xorg) #:use-module (gnu packages xdisorg) #:use-module (gnu packages base) #:use-module (gnu packages xml) #:use-module (gnu packages python) #:use-module (gnu packages freedesktop) #:use-module (gnu packages polkit) #:use-module (gnu packages iso-codes) #:use-module (gnu packages linux) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages fontutils) #:use-module (gnu packages libcanberra) #:use-module (gnu packages gnuzilla)) (define-public mate-icon-theme (package (name "mate-icon-theme") (version "1.12.0") (source (origin (method url-fetch) (uri (string-append "http://pub.mate-desktop.org/releases/" (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 (base32 "0d91rvl9rw3xl8hmdcbb6xvi880kfmh2ra5chhrjimrjqgl57qkp")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool) ("gtk+" ,gtk+) ("icon-naming-utils" ,icon-naming-utils))) (home-page "http://mate-desktop.org/") (synopsis "The MATE desktop environment icon theme") (description "This package contains the default icon theme used by the MATE desktop.") (license license:lgpl3+))) (define-public mate-themes (package (name "mate-themes") (version "1.12.2") (source (origin (method url-fetch) (uri (string-append "http://pub.mate-desktop.org/releases/" (version-major+minor version) "/" name "-gtk" (version-major+minor (package-version gtk+)) "-" version ".tar.xz")) (sha256 (base32 "0kyrlgs5azzj60gnxx2n9qszcligxn959wr42wr0iqnrpiygk5nf")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool))) (inputs `(("gtk+" ,gtk+-2) ("gdk-pixbuf" ,gdk-pixbuf) ("gtk-engines" ,gtk-engines) ("murrine" ,murrine))) (home-page "http://mate-desktop.org/") (synopsis "Official themes for the MATE desktop") (description "This package includes the standard themes for the MATE desktop, for example Menta, TraditionalOk, GreenLaguna or BlackMate.") (license (list license:lgpl2.1+ license:cc-by-sa3.0 license:gpl3+ license:gpl2+)))) (define-public mate-desktop (package (name "mate-desktop") (version "1.12.1") (source (origin (method url-fetch) (uri (string-append "http://pub.mate-desktop.org/releases/" (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 (base32 "00ssrzm07xyrjra075jhir1f8iy382lla7923fhic29lap26mffr")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool) ("glib:bin" ,glib "bin") ("gobject-introspection" ,gobject-introspection) ("yelp-tools" ,yelp-tools))) ;;("gtk-doc" ,gtk-doc))) ; add back in when gtk-doc builds (inputs `(("libxrandr" ,libxrandr))) (propagated-inputs `(("dconf" ,dconf) ("gtk+" ,gtk+-2) ("startup-notification" ,startup-notification))) (home-page "http://mate-desktop.org/") (synopsis "Library with common API for various MATE modules") (description "This package contains a public API shared by several applications on the desktop and the mate-about program.") (license (list license:gpl2+ license:lgpl2.0+ license:fdl1.1+)))) (define-public libmateweather (package (name "libmateweather") (version "1.12.1") (source (origin (method url-fetch) (uri (string-append "http://pub.mate-desktop.org/releases/" (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 (base32 "0qrq6z6knybixnxmsvkw58hm033m91inf523mbvzgv2r822fpakl")))) (build-system gnu-build-system) (arguments `(#:configure-flags `(,(string-append "--with-zoneinfo-dir=" (assoc-ref %build-inputs "tzdata") "/share/zoneinfo")) #:phases (modify-phases %standard-phases (add-before 'check 'pre-check (lambda* (#:key inputs #:allow-other-keys) (substitute* "data/check-timezones.sh" (("/usr/share/zoneinfo/zone.tab") (string-append (assoc-ref inputs "tzdata") "/share/zoneinfo/zone.tab"))) #t))))) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool) ("glib:bin" ,glib "bin"))) (inputs `(("dconf" ,dconf) ("tzdata" ,tzdata))) (propagated-inputs `(("gtk+" ,gtk+-2) ("gdk-pixbuf" ,gdk-pixbuf) ("libxml2" ,libxml2) ("libsoup" ,libsoup))) (home-page "http://mate-desktop.org/") (synopsis "MATE library for weather information from the Internet") (description "This library provides acess to weather information from the internet for the MATE desktop environment.") (license license:lgpl2.1+))) (define-public mate-menus (package (name "mate-menus") (version "1.12.0") (source (origin (method url-fetch) (uri (string-append "http://pub.mate-desktop.org/releases/" (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 (base32 "1i4m3fj0vd85zyhqhm8x9yr0h5i08aa4l99zqvbk59ncj6z3bdxh")))) (build-system gnu-build-system) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'fix-introspection-install-dir (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) (substitute* '("configure") (("`\\$PKG_CONFIG --variable=girdir gobject-introspection-1.0`") (string-append "\"" out "/share/gir-1.0/\"")) (("\\$\\(\\$PKG_CONFIG --variable=typelibdir gobject-introspection-1.0\\)") (string-append out "/lib/girepository-1.0/"))))))))) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool) ("gobject-introspection" ,gobject-introspection))) (inputs `(("python" ,python-2))) (propagated-inputs `(("glib" ,glib))) (home-page "http://mate-desktop.org/") (synopsis "Freedesktop menu specification implementation for MATE") (description "The package contains an implementation of the freedesktop menu specification, the MATE menu layout configuration files, .directory files and assorted menu related utility programs.") (license (list license:gpl2+ license:lgpl2.0+)))) (define-public mate-polkit (package (name "mate-polkit") (version "1.12.0") (source (origin (method url-fetch) (uri (string-append "http://pub.mate-desktop.org/releases/" (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 (base32 "1fgq3dbncdjndwqjza3rja68x55ngvafi93zsaazq42f7l60m3y3")))) (build-system gnu-build-system) (native-inputs `(("intltool" ,intltool) ("pkg-config" ,pkg-config) ("gobject-introspection" ,gobject-introspection))) (inputs `(("gtk+" ,gtk+-2) ("accountsservice" ,accountsservice))) (propagated-inputs `(("polkit" ,polkit))) (home-page "http://mate-desktop.org/") (synopsis "PolicyKit integration for the MATE desktop") (description "This package contains extensions for PolicyKit used by the MATE desktop environment.") (license license:lgpl2.0+))) (define-public libmatekbd (package (name "libmatekbd") (version "1.12.1") (source (origin (method url-fetch) (uri (string-append "http://pub.mate-desktop.org/releases/" (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 (base32 "18jfnrxpdhpqish8a0fzcgndbqb8a0z5p8vahd3spl1zn97lk82q")))) (build-system gnu-build-system) (native-inputs `(("intltool" ,intltool) ("pkg-config" ,pkg-config) ("glib:bin" ,glib "bin"))) (inputs `(("dconf" ,dconf) ("iso-codes" ,iso-codes))) (propagated-inputs `(("gtk+" ,gtk+-2) ("glib" ,glib) ("libxklavier" ,libxklavier))) (home-page "http://mate-desktop.org/") (synopsis "MATE library to manage keyboard configuration") (description "Libmatekbd offers an API to manage the keyboard in MATE applications and the GUI elements to display its operations.") (license license:lgpl2.0+))) (define-public libmatemixer (package (name "libmatemixer") (version "1.12.1") (source (origin (method url-fetch) (uri (string-append "http://pub.mate-desktop.org/releases/" (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 (base32 "1w0grrhlmwajw6d92cs4gfwck6nq23i30alj50243dygycaxvkfy")))) (build-system gnu-build-system) (native-inputs `(("intltool" ,intltool) ("pkg-config" ,pkg-config))) (inputs `(("alsa-lib" ,alsa-lib) ("pulseaudio" ,pulseaudio))) (propagated-inputs `(("glib" ,glib))) (home-page "http://mate-desktop.org/") (synopsis "Sound mixer library for MATE Desktop") (description "Libmatemixer provides an abstract API allowing access to mixer functionality available in the PulseAudio, ALSA and OSS sound systems.") (license license:lgpl2.0+))) (define-public mate-settings-daemon (package (name "mate-settings-daemon") (version "1.12.1") (source (origin (method url-fetch) (uri (string-append "http://pub.mate-desktop.org/releases/" (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 (base32 "1279f7mz026407bsj6wc46imyr5f3mvnrzryhw750a2qp9aymnd0")))) (build-system gnu-build-system) (native-inputs `(("intltool" ,intltool) ("pkg-config" ,pkg-config) ("glib:bin" ,glib "bin"))) (inputs `(("dbus-glib" ,dbus-glib) ("dconf" ,dconf) ("fontconfig" ,fontconfig) ("gtk+" ,gtk+-2) ("libcanberra-gtk2" ,libcanberra/gtk+-2) ("libmatekbd" ,libmatekbd) ("libmatemixer" ,libmatemixer) ("libnotify" ,libnotify) ("libxt" ,libxt) ("mate-desktop" ,mate-desktop) ("nss" ,nss) ("polkit" ,polkit) ("libxi" ,libxi))) (home-page "http://mate-desktop.org/") (synopsis "Daemon handling the MATE session settings") (description "This package contains the daemon which is responsible for setting the various parameters of a MATE session and the applications that run under it, for example keyboard, mouse or theming.") (license (list license:gpl2+ license:gpl3+ license:lgpl2.0+ license:lgpl2.1+))))