;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016 Fabian Harfert ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2017 ng0 ;;; ;;; 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 (guix build-system glib-or-gtk) #:use-module (gnu packages) #:use-module (gnu packages pkg-config) #:use-module (gnu packages freedesktop) #:use-module (gnu packages libcanberra) #: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 photo) #:use-module (gnu packages python)) (define-public mate-icon-theme (package (name "mate-icon-theme") (version "1.18.2") (source (origin (method url-fetch) (uri (string-append "https://pub.mate-desktop.org/releases/" (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 (base32 "0si3li3kza7s45zhasjvqn5f85zpkn0x8i4kq1dlnqvjjqzkg4ch")))) (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 "3.22.13") (source (origin (method url-fetch) (uri (string-append "https://pub.mate-desktop.org/releases/themes/" (version-major+minor version) "/mate-themes-" version ".tar.xz")) (sha256 (base32 "1p7w63an8qs15hkj79nppy7471glv0rm1b0himn3c4w69q8qdc9i")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool))) (inputs `(("gtk+" ,gtk+) ("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. This package has themes for both gtk+-2 and gtk+-3.") (license (list license:lgpl2.1+ license:cc-by-sa3.0 license:gpl3+ license:gpl2+)))) (define-public mate-desktop (package (name "mate-desktop") (version "1.18.0") (source (origin (method url-fetch) (uri (string-append "https://pub.mate-desktop.org/releases/" (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 (base32 "12iv2y4dan962fs7vkkxbjkp77pbvjnwfa43ggr0zkdsc3ydjbbg")))) (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))) (inputs `(("gtk+" ,gtk+) ("libxrandr" ,libxrandr) ("startup-notification" ,startup-notification))) (propagated-inputs `(("dconf" ,dconf))) ; mate-desktop-2.0.pc (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.18.1") (source (origin (method url-fetch) (uri (string-append "https://pub.mate-desktop.org/releases/" (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 (base32 "0z6vfh42fv9rqjrraqfpf6h9nd9h662bxy3l3r48j19xvxrwmx3a")))) (build-system gnu-build-system) (arguments `(#:configure-flags (list (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) ("gdk-pixbuf" ,gdk-pixbuf) ("gtk+" ,gtk+) ("tzdata" ,tzdata))) (propagated-inputs ;; both of these are requires.private in mateweather.pc `(("libsoup" ,libsoup) ("libxml2" ,libxml2))) (home-page "http://mate-desktop.org/") (synopsis "MATE library for weather information from the Internet") (description "This library provides access to weather information from the internet for the MATE desktop environment.") (license license:lgpl2.1+))) (define-public mate-terminal (package (name "mate-terminal") (version "1.18.1") (source (origin (method url-fetch) (uri (string-append "https://pub.mate-desktop.org/releases/" (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 (base32 "1zihm609d2d9cw53ry385whshjl1dnkifpk41g1ddm9f58hv4da1")))) (build-system glib-or-gtk-build-system) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool) ("libsm" ,libsm))) (inputs `(("gtk+" ,gtk+) ("gdk-pixbuf" ,gdk-pixbuf) ("exempi" ,exempi) ("libnotify" ,libnotify) ("libxml2" ,libxml2) ("libice" ,libice) ("libx11" ,libx11) ("pango" ,pango) ("itstool" ,itstool) ("vte" ,vte) ("yelp-tools" ,yelp-tools) ("gobject-introspection" ,gobject-introspection) ("mate-desktop" ,mate-desktop))) (propagated-inputs `(("dconf" ,dconf))) (home-page "http://mate-desktop.org/") (synopsis "MATE Terminal Emulator") (description "MATE Terminal is a terminal emulation application that you can use to access a shell. With it, you can run any application that is designed to run on VT102, VT220, and xterm terminals. MATE Terminal also has the ability to use multiple terminals in a single window (tabs) and supports management of different configurations (profiles). MATE Terminal is a fork of GNOME Terminal.") (license license:gpl3))) (define-public mate-menus (package (name "mate-menus") (version "1.18.0") (source (origin (method url-fetch) (uri (string-append "https://pub.mate-desktop.org/releases/" (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 (base32 "05kyr37xqv6hm1rlvnqd5ng0x1n883brqynkirkk5drl56axnz7h")))) (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/"))) #t)))))) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool) ("gobject-introspection" ,gobject-introspection))) (inputs `(("glib" ,glib) ("python" ,python-2))) (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 caja (package (name "caja") (version "1.18.3") (source (origin (method url-fetch) (uri (string-append "https://pub.mate-desktop.org/releases/" (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 (base32 "0mljqcx7k8p27854zm7qzzn8ca6hs7hva9p43hp4p507z52caqmm")))) (build-system glib-or-gtk-build-system) (arguments `(#:tests? #f)) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool) ("glib:bin" ,glib "bin") ("gobject-introspection" ,gobject-introspection))) (inputs `(("gtk+" ,gtk+) ("exempi" ,exempi) ("gvfs" ,gvfs) ("libexif" ,libexif) ("libsm" ,libsm) ("libnotify" ,libnotify) ("libxml2" ,libxml2) ("mate-desktop" ,mate-desktop) ("startup-notification" ,startup-notification))) (home-page "http://mate-desktop.org/") (synopsis "File manager for the MATE desktop") (description "Caja is the official file manager for the MATE desktop. It allows for browsing directories, as well as previewing files and launching applications associated with them. Caja is also responsible for handling the icons on the MATE desktop. It works on local and remote filesystems. Caja is a fork of Nautilus.") ;; There is a note about a TRADEMARKS_NOTICE file in COPYING which ;; does not exist. It is safe to assume that this is of no concern ;; for us. (license license:gpl2+))) (define-public marco (package (name "marco") (version "1.18.1") (source (origin (method url-fetch) (uri (string-append "https://pub.mate-desktop.org/releases/" (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 (base32 "0lwbp9wyd66hl5d7g272l8g3k1pb9s4s2p9fb04750a58w87d8k5")))) (build-system glib-or-gtk-build-system) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool) ("itstool" ,itstool) ("glib" ,glib) ("gobject-introspection" ,gobject-introspection))) (inputs `(("gtk+" ,gtk+) ("libgtop" ,libgtop) ("zenity" ,zenity) ("libxcursor" ,libxcursor) ("libsm" ,libsm) ("libxml2" ,libxml2) ("libgtop" ,libgtop) ("gdk-pixbuf" ,gdk-pixbuf) ("libx11" ,libx11) ("libice" ,libice) ("libxcomposite" ,libxcomposite) ("libxdamage" ,libxdamage) ("libxext" ,libxext) ("libxfixes" ,libxfixes) ("libxrandr" ,libxrandr) ("libxrender" ,libxrender) ("libxft" ,libxft) ("pango" ,pango) ("startup-notification" ,startup-notification) ("libxinerama" ,libxinerama) ("xextproto" ,xextproto) ("xproto" ,xproto) ("libcanberra" ,libcanberra) ("mate-desktop" ,mate-desktop))) (home-page "http://mate-desktop.org/") (synopsis "Window manager for the MATE desktop") (description "Marco is a minimal X window manager that uses GTK+ for drawing window frames. It is aimed at non-technical users and is designed to integrate well with the MATE desktop. It lacks some features that may be expected by some users; these users may want to investigate other available window managers for use with MATE or as a standalone window manager.") (license license:gpl2+)))