From unknown Mon Aug 18 11:33:13 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#28733] Mate Desktop Resent-From: ng0 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Oct 2017 16:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28733 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 28733@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.150739335618582 (code B ref -1); Sat, 07 Oct 2017 16:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Oct 2017 16:22:36 +0000 Received: from localhost ([127.0.0.1]:54882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0rrv-0004pV-SH for submit@debbugs.gnu.org; Sat, 07 Oct 2017 12:22:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0rrn-0004pC-Iy for submit@debbugs.gnu.org; Sat, 07 Oct 2017 12:22:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0rrc-0008CX-T9 for submit@debbugs.gnu.org; Sat, 07 Oct 2017 12:22:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.5 required=5.0 tests=BAYES_50,URIBL_BLACK autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33408) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e0rrc-0008CD-Jx for submit@debbugs.gnu.org; Sat, 07 Oct 2017 12:22:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0rrW-0004ji-TJ for guix-patches@gnu.org; Sat, 07 Oct 2017 12:22:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0rrR-00082m-1L for guix-patches@gnu.org; Sat, 07 Oct 2017 12:22:02 -0400 Received: from aibo.runbox.com ([91.220.196.211]:37082) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e0rrQ-00081u-1J for guix-patches@gnu.org; Sat, 07 Oct 2017 12:21:56 -0400 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1e0rrN-0002pj-O8 for guix-patches@gnu.org; Sat, 07 Oct 2017 18:21:53 +0200 Received: from strasbourg.tor-exit-node.mxmla.de ([167.114.251.167] helo=localhost) by mailfront11.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1e0rr8-00039k-Cu for guix-patches@gnu.org; Sat, 07 Oct 2017 18:21:47 +0200 Date: Sat, 7 Oct 2017 16:21:34 +0000 From: ng0 Message-ID: <20171007162134.mgk6yj7f7ho7ogf3@abyayala> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3eb4cak4ue4t5qcz" Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.3 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The appended patch series appended for review adds an almost feature-complete Mate Desktop, including a mate-desktop-service. There are persistent problems with mate-screensaver, if you use the locking function you will be locked out and can't log back in. I'm happy for any help with this, I think it's a worthy addition to have. I had some elogind specific changes in the package but it didn't help, even when the right binary in libexec was setuid'ed. [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist [URIs: autogen.sh] --3eb4cak4ue4t5qcz Content-Type: multipart/mixed; boundary="wknejrifm3x34htk" Content-Disposition: inline --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable The appended patch series appended for review adds an almost feature-complete Mate Desktop, including a mate-desktop-service. There are persistent problems with mate-screensaver, if you use the locking function you will be locked out and can't log back in. I'm happy for any help with this, I think it's a worthy addition to have. I had some elogind specific changes in the package but it didn't help, even when the right binary in libexec was setuid'ed. I've been using these patches since the first Mate patches were merged into our master. The only change I didn't test was the removal of the screensaver from the desktop service, but it should just work (updates are building here right now). I should probably add the two links to upstream wishlist-bugs that I filed. --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://krosos.org/dist/keys/ https://www.infotropique.org https://krosos.org --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-mate.scm-Order-imported-modules-alphabetically.patch" Content-Transfer-Encoding: quoted-printable =46rom 643759c30c2699605d2ae50226507078f17f4e71 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Thu, 14 Sep 2017 17:30:40 +0000 Subject: [PATCH 01/21] gnu: mate.scm: Order imported modules alphabetically. * gnu/packages/mate.scm: Order imported modules alphabetically. --- gnu/packages/mate.scm | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 91489ba91..ea4c8aecc 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -27,28 +27,28 @@ #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system trivial) #:use-module (gnu packages) - #:use-module (gnu packages pkg-config) - #:use-module (gnu packages freedesktop) - #:use-module (gnu packages fontutils) + #:use-module (gnu packages base) + #:use-module (gnu packages docbook) + #:use-module (gnu packages documentation) #:use-module (gnu packages fonts) - #:use-module (gnu packages libcanberra) - #:use-module (gnu packages linux) - #:use-module (gnu packages glib) - #:use-module (gnu packages gtk) + #:use-module (gnu packages fontutils) + #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) + #:use-module (gnu packages glib) #:use-module (gnu packages gnome) - #:use-module (gnu packages docbook) #:use-module (gnu packages gnupg) #:use-module (gnu packages gnuzilla) - #:use-module (gnu packages xorg) - #:use-module (gnu packages documentation) - #:use-module (gnu packages xdisorg) - #:use-module (gnu packages base) - #:use-module (gnu packages xml) + #:use-module (gnu packages gtk) + #:use-module (gnu packages libcanberra) + #:use-module (gnu packages linux) + #:use-module (gnu packages pkg-config) #:use-module (gnu packages photo) #:use-module (gnu packages polkit) #:use-module (gnu packages pulseaudio) - #:use-module (gnu packages python)) + #:use-module (gnu packages python) + #:use-module (gnu packages xdisorg) + #:use-module (gnu packages xml) + #:use-module (gnu packages xorg)) =20 (define-public mate-icon-theme (package --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0002-gnu-Add-mate-user-guide.patch" Content-Transfer-Encoding: quoted-printable =46rom 6888a2d36cc962bcd7799499306be402559dfa81 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 09:55:16 +0000 Subject: [PATCH 02/21] gnu: Add mate-user-guide. * gnu/packages/mate.scm (mate-user-guide): New variable. --- gnu/packages/mate.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index ea4c8aecc..eeb5eb161 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -754,6 +754,46 @@ 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+))) =20 +(define-public mate-user-guide + (package + (name "mate-user-guide") + (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 + "0f3b46r9a3cywm7rpj08xlkfnlfr9db58xfcpix8i33qp50fxqmb")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'adjust-desktop-file + (lambda* (#:key inputs #:allow-other-keys) + (let* ((yelp (assoc-ref inputs "yelp"))) + (substitute* "mate-user-guide.desktop.in.in" + (("yelp") + (string-append yelp "/bin/yelp")))) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("intltool" ,intltool) + ("gettext" ,gettext-minimal) + ("yelp-tools" ,yelp-tools) + ("yelp-xsl" ,yelp-xsl))) + (inputs + `(("yelp" ,yelp))) + (home-page "https://mate-desktop.org/") + (synopsis "User Documentation for Mate software") + (description + "MATE User Guide is a collection of documentation which details +general use of the MATE Desktop environment. Topics covered include +sessions, panels, menus, file management, and preferences.") + (license (list license:fdl1.1+ license:gpl2+)))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-gnu-mate-session-manager-Configure-with-with-elogind.patch" Content-Transfer-Encoding: quoted-printable =46rom 0461a8b00eb2bc1a59949e269ef9c2194b979b27 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 30 Sep 2017 21:44:52 +0000 Subject: [PATCH 03/21] gnu: mate-session-manager: Configure with with elogi= nd support. * gnu/packages/mate.scm (mate-session-manager)[arguments]: Add '--enable-el= ogind' to configure-flags. (phases): Add 'pre-configure' phase. --- gnu/packages/mate.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index eeb5eb161..409ca570f 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -235,6 +235,29 @@ configurations (profiles).") (base32 "0i0xq6041x2qmb26x9bawx0qpfkgjn6x9w3phnm9s7rc4s0z20ll")))) (build-system glib-or-gtk-build-system) + (arguments + `(#:configure-flags (list "--enable-elogind" + "--disable-schemas-compile") + #:phases + (modify-phases %standard-phases + (add-before 'configure 'pre-configure + (lambda* (#:key outputs #:allow-other-keys) + ;; Use elogind instead of systemd. + (substitute* "configure" + (("libsystemd-login") + "libelogind") + (("systemd") "elogind")) + (substitute* "mate-session/gsm-systemd.c" + (("#include ") + "#include ")) + ;; Remove uses of the systemd journal. + (substitute* "mate-session/main.c" + (("#ifdef HAVE_SYSTEMD") "#if 0")) + (substitute* "mate-session/gsm-manager.c" + (("#ifdef HAVE_SYSTEMD") "#if 0")) + (substitute* "mate-session/gsm-autostart-app.c" + (("#ifdef HAVE_SYSTEMD") "#if 0")) + #t))))) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool) @@ -243,6 +266,7 @@ configurations (profiles).") (inputs `(("gtk+" ,gtk+) ("dbus-glib" ,dbus-glib) + ("elogind" ,elogind) ("libsm" ,libsm) ("mate-desktop" ,mate-desktop))) (home-page "https://mate-desktop.org/") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0004-gnu-Add-caja-extensions.patch" Content-Transfer-Encoding: quoted-printable =46rom 1f6589fdab13e7c72da09c08032d4ca8a3090ffc Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Fri, 15 Sep 2017 12:05:08 +0000 Subject: [PATCH 04/21] gnu: Add caja-extensions. * gnu/packages/mate.scm (caja-extensions): New variable. --- gnu/packages/mate.scm | 58 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 58 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 409ca570f..1199b405a 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -27,6 +27,7 @@ #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system trivial) #:use-module (gnu packages) + #:use-module (gnu packages attr) #:use-module (gnu packages base) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) @@ -39,8 +40,10 @@ #:use-module (gnu packages gnupg) #:use-module (gnu packages gnuzilla) #:use-module (gnu packages gtk) + #:use-module (gnu packages imagemagick) #:use-module (gnu packages libcanberra) #:use-module (gnu packages linux) + #:use-module (gnu packages messaging) #:use-module (gnu packages pkg-config) #:use-module (gnu packages photo) #:use-module (gnu packages polkit) @@ -662,6 +665,61 @@ icons on the MATE desktop. It works on local and remo= te filesystems.") ;; for us. (license license:gpl2+))) =20 +(define-public caja-extensions + (package + (name "caja-extensions") + (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 + "0hgala7zkfsa60jflq3s4n9yd11dhfdcla40l83cmgc3r1az7cmw")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:configure-flags (list "--enable-sendto" + ;; TODO: package "gupnp" to enable 'upnp', = package + ;; "gksu" to enable 'gksu'. + (string-append "--with-sendto-plugins=3Drem= ovable-devices," + "caja-burn,emailclient,pidgi= n,gajim") + "--enable-image-converter" + "--enable-open-terminal" "--enable-share" + "--enable-wallpaper" "--enable-xattr-tags" + (string-append "--with-cajadir=3D" + (assoc-ref %outputs "out") + "/lib/caja/extensions-2.0/")= ))) + (native-inputs + `(("intltool" ,intltool) + ("gettext" ,gettext-minimal) + ("glib:bin" ,glib "bin") + ("gobject-introspection" ,gobject-introspection) + ("gtk-doc" ,gtk-doc) + ("pkg-config" ,pkg-config))) + (inputs + `(("attr" ,attr) + ("brasero" ,brasero) + ("caja" ,caja) + ("dbus" ,dbus) + ("dbus-glib" ,dbus-glib) + ("gajim" ,gajim) ;runtime only? + ("gtk+" ,gtk+) + ("imagemagick" ,imagemagick) + ("graphicsmagick" ,graphicsmagick) + ("mate-desktop" ,mate-desktop) + ("pidgin" ,pidgin) ;runtime only? + ("startup-notification" ,startup-notification))) + (home-page "https://mate-desktop.org/") + (synopsis "Extensions for the File manager Caja") + (description + "Caja is the official file manager for the MATE desktop. +It allows for browsing directories, as well as previewing files and launch= ing +applications associated with them. Caja is also responsible for handling = the +icons on the MATE desktop. It works on local and remote filesystems.") + (license license:gpl2+))) + (define-public mate-control-center (package (name "mate-control-center") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0005-gnu-caja-Add-native-search-paths.patch" Content-Transfer-Encoding: quoted-printable =46rom bbc1a9ab4377c41ff519468bb03b2f80f2a43e9f Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Fri, 15 Sep 2017 12:07:21 +0000 Subject: [PATCH 05/21] gnu: caja: Add native-search-paths. * gnu/packages/mate.scm (caja)[native-search-paths]: Add it. --- gnu/packages/mate.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 1199b405a..274fe17e4 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -653,6 +653,10 @@ infamous 'Wanda the Fish'.") ("libxml2" ,libxml2) ("mate-desktop" ,mate-desktop) ("startup-notification" ,startup-notification))) + (native-search-paths + (list (search-path-specification + (variable "CAJA_EXTENSIONDIR") + (files (list "lib/caja/extensions-2.0/**"))))) (home-page "https://mate-desktop.org/") (synopsis "File manager for the MATE desktop") (description --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0006-gnu-Add-atril.patch" Content-Transfer-Encoding: quoted-printable =46rom 8d2b3c6241b8dd1b83da4e8678f15a154c1d8b7f Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Thu, 14 Sep 2017 19:28:15 +0000 Subject: [PATCH 06/21] gnu: Add atril. * gnu/packages/mate.scm (atril): New variable. --- gnu/packages/mate.scm | 115 ++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 115 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 274fe17e4..f25eb8dd9 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -28,27 +28,37 @@ #:use-module (guix build-system trivial) #:use-module (gnu packages) #:use-module (gnu packages attr) + #:use-module (gnu packages backup) #:use-module (gnu packages base) + #:use-module (gnu packages compression) + #:use-module (gnu packages djvu) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) + #:use-module (gnu packages ghostscript) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gnupg) #:use-module (gnu packages gnuzilla) #:use-module (gnu packages gtk) + #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) + #:use-module (gnu packages javascript) #:use-module (gnu packages libcanberra) #:use-module (gnu packages linux) #:use-module (gnu packages messaging) + #:use-module (gnu packages nettle) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages pdf) #:use-module (gnu packages photo) #:use-module (gnu packages polkit) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) + #:use-module (gnu packages tex) + #:use-module (gnu packages webkit) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg)) @@ -610,6 +620,111 @@ the Window List, the Window Selector, the Notificatio= n Area, the Clock and the infamous 'Wanda the Fish'.") (license (list license:gpl2+ license:lgpl2.0+)))) =20 +(define-public atril + (package + (name "atril") + (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 + "1wl332v80c0nzz7nw36d1pfmbiibvl3l0i4d25ihg6mg9wbc0145")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:configure-flags (list (string-append "--with-openjpeg=3D" + (assoc-ref %build-inputs "op= enjpeg")) + "--enable-introspection" + "--with-gtk=3D3.0" + "--disable-schemas-compile" + ;; FIXME: Enable build of Caja extensions. + "--disable-caja") + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-mathjax-path + (lambda _ + (let* ((mathjax (assoc-ref %build-inputs "js-mathjax")) + (mathjax-path (string-append mathjax + "/share/javascript/mathja= x"))) + (substitute* "backend/epub/epub-document.c" + (("/usr/share/javascript/mathjax") + mathjax-path))) + #t)) + (add-after 'unpack 'fix-introspection-install-dir + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* '("configure") + (("\\$\\(\\$PKG_CONFIG --variable=3Dgirdir gobject-intros= pection-1.0\\)") + (string-append "\"" out "/share/gir-1.0/\"")) + (("\\$\\(\\$PKG_CONFIG --variable=3Dtypelibdir gobject-in= trospection-1.0\\)") + (string-append out "/lib/girepository-1.0/"))) + #t))) + (add-before 'install 'skip-gtk-update-icon-cache + ;; Don't create 'icon-theme.cache'. + (lambda _ + (substitute* "data/Makefile" + (("gtk-update-icon-cache") "true")) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("intltool" ,intltool) + ("itstool" ,itstool) + ("yelp-tools" ,yelp-tools) + ("glib:bin" ,glib "bin") + ("gobject-introspection" ,gobject-introspection) + ("gtk-doc" ,gtk-doc) + ("xmllint" ,libxml2) + ("zlib" ,zlib))) + (inputs + `(("atk" ,atk) + ("cairo" ,cairo) + ("caja" ,caja) + ("dconf" ,dconf) + ("dbus" ,dbus) + ("dbus-glib" ,dbus-glib) + ("djvulibre" ,djvulibre) + ("fontconfig" ,fontconfig) + ("freetype" ,freetype) + ("ghostscript" ,ghostscript) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("js-mathjax" ,js-mathjax) + ("libcanberra" ,libcanberra) + ("libsecret" ,libsecret) + ("libspectre" ,libspectre) + ("libtiff" ,libtiff) + ("libx11" ,libx11) + ("libice" ,libice) + ("libsm" ,libsm) + ("libgxps" ,libgxps) + ("libjpeg" ,libjpeg) + ("libxml2" ,libxml2) + ("dogtail" ,python2-dogtail) + ("shared-mime-info" ,shared-mime-info) + ("gdk-pixbuf" ,gdk-pixbuf) + ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) + ("libgnome-keyring" ,libgnome-keyring) + ("libarchive" ,libarchive) + ("marco" ,marco) + ("nettle" ,nettle) + ("openjpeg" ,openjpeg-1) + ("pango" ,pango) + ;;("texlive" ,texlive) + ;; TODO: + ;; Build libkpathsea as a shared library for DVI support. + ;; ("libkpathsea" ,texlive-bin) + ("poppler" ,poppler) + ("webkitgtk" ,webkitgtk))) + (home-page "https://mate-desktop.org") + (synopsis "Document viewer for Mate") + (description + "Document viewer for Mate") + (license license:gpl2))) + (define-public caja (package (name "caja") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0007-gnu-Add-mate-calc.patch" Content-Transfer-Encoding: quoted-printable =46rom 178f5ca698e76a0565e303db54820d1713b69a54 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 11:05:02 +0000 Subject: [PATCH 07/21] gnu: Add mate-calc. * gnu/packages/mate.scm (mate-calc): New variable. --- gnu/packages/mate.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index f25eb8dd9..484fd373d 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -995,6 +995,38 @@ general use of the MATE Desktop environment. Topics c= overed include sessions, panels, menus, file management, and preferences.") (license (list license:fdl1.1+ license:gpl2+)))) =20 +(define-public mate-calc + (package + (name "mate-calc") + (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 + "0qfs6kx2nymbn6j3mnzgvk8p54ghc78jslsf4wjqsdq021qyl0ly")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("gettext" ,gettext-minimal) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("yelp-tools" ,yelp-tools))) + (inputs + `(("atk" ,atk) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("libxml2" ,libxml2) + ("libcanberra" ,libcanberra) + ("pango" ,pango))) + (home-page "https://mate-desktop.org/") + (synopsis "Calculator for MATE") + (description + "Mate Calc is the GTK+ calculator application for the MATE Desktop.") + (license license:gpl2+))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0008-gnu-Add-mate-backgrounds.patch" Content-Transfer-Encoding: quoted-printable =46rom ba1a136818cc954107ea9551d51b2114d765874c Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 11:13:27 +0000 Subject: [PATCH 08/21] gnu: Add mate-backgrounds. * gnu/packages/mate.scm (mate-backgrounds): New variable. --- gnu/packages/mate.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 484fd373d..3c65c8614 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1027,6 +1027,29 @@ sessions, panels, menus, file management, and prefer= ences.") "Mate Calc is the GTK+ calculator application for the MATE Desktop.") (license license:gpl2+))) =20 +(define-public mate-backgrounds + (package + (name "mate-backgrounds") + (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 + "06q8ksjisijps2wn959arywsimhzd3j35mqkr048c26ck24d60zi")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("intltool" ,intltool))) + (home-page "https://mate-desktop.org/") + (synopsis "Calculator for MATE") + (description + "MATE backgrounds package contains a collection of graphics files whi= ch +can be used as backgrounds in the MATE Desktop environment.") + (license license:gpl2+))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0009-gnu-Add-mate-common.patch" Content-Transfer-Encoding: quoted-printable =46rom 121f284fcdabca9d1bdd1a1bed69d9b4528288a8 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 11:36:30 +0000 Subject: [PATCH 09/21] gnu: Add mate-common. * gnu/packages/mate.scm (mate-common): New variable. --- gnu/packages/mate.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 3c65c8614..55b072b19 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -63,6 +63,27 @@ #:use-module (gnu packages xml) #:use-module (gnu packages xorg)) =20 +(define-public mate-common + (package + (name "mate-common") + (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 + "1005laf3z1h8qczm7pmwr40r842665cv6ykhjg7r93vldra48z6p")))) + (build-system gnu-build-system) + (home-page "https://mate-desktop.org/") + (synopsis "Common files for development of MATE packages") + (description + "Mate Common includes common files and macros used by +MATE applications.") + (license license:gpl3+))) + (define-public mate-icon-theme (package (name "mate-icon-theme") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0010-gnu-Add-mate-icon-theme-faenza.patch" Content-Transfer-Encoding: quoted-printable =46rom e6880df5c4f2c3a966d510f2d2ded988d91b898d Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 11:55:03 +0000 Subject: [PATCH 10/21] gnu: Add mate-icon-theme-faenza. * gnu/packages/mate.scm (mate-icon-theme-faenza): New variable. --- gnu/packages/mate.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 55b072b19..de0102b9b 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -28,6 +28,7 @@ #:use-module (guix build-system trivial) #:use-module (gnu packages) #:use-module (gnu packages attr) + #:use-module (gnu packages autotools) #:use-module (gnu packages backup) #:use-module (gnu packages base) #:use-module (gnu packages compression) @@ -107,6 +108,44 @@ MATE applications.") "This package contains the default icon theme used by the MATE deskto= p.") (license license:lgpl3+))) =20 +(define-public mate-icon-theme-faenza + (package + (name "mate-icon-theme-faenza") + (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 + "0vc3wg9l5yrxm0xmligz4lw2g3nqj1dz8fwv90xvym8pbjds2849")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'autoconf + (lambda _ + (setenv "SHELL" (which "sh")) + (setenv "CONFIG_SHELL" (which "sh")) + (zero? (system* "sh" "autogen.sh"))))))) + (native-inputs + `(("autoconf" ,(autoconf-wrapper)) + ("automake" ,automake) + ("intltool" ,intltool) + ("icon-naming-utils" ,icon-naming-utils) + ("libtool" ,libtool) + ("mate-common" ,mate-common) + ("pkg-config" ,pkg-config) + ("which" ,which))) + (home-page "https://mate-desktop.org/") + (synopsis "MATE desktop environment icon theme faenza") + (description + "Icon theme using Faenza and Faience icon themes and some +customized icons for MATE. Furthermore it includes some icons +from Mint-X-F and Faenza-Fresh icon packs.") + (license license:gpl2+))) + (define-public mate-themes (package (name "mate-themes") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0011-gnu-Add-libfakekey.patch" Content-Transfer-Encoding: quoted-printable =46rom 0ac4d151c507ecd4e9879a4774c40ad37a70b459 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 12:45:07 +0000 Subject: [PATCH 11/21] gnu: Add libfakekey. * gnu/packages/xdisorg.scm (libfakekey): New variable. --- gnu/packages/xdisorg.scm | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 7ca4986a0..b62bafb62 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -17,7 +17,7 @@ ;;; Copyright =C2=A9 2016, 2017 Marius Bakke ;;; Copyright =C2=A9 2016 Petter ;;; Copyright =C2=A9 2017 Mekeor Melire -;;; Copyright =C2=A9 2017 ng0 +;;; Copyright =C2=A9 2017 ng0 ;;; Copyright =C2=A9 2017 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. @@ -187,6 +187,33 @@ X11 (yet).") (license (license:x11-style "file://COPYING" "See 'COPYING' in the distribution.")))) =20 +(define-public libfakekey + (package + (name "libfakekey") + (version "0.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://downloads.yoctoproject.org/releases" + "/matchbox/libfakekey/" version "/libfakekey-" + version ".tar.bz2")) + (sha256 + (base32 + "1501l0bflcrhqbf12n7a7cqilvr0w4xawxw0vw75p2940nkl4464")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list "AM_LDFLAGS=3D-lX11"))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("libxtst" ,libxtst) + ("libx11" ,libx11))) + (home-page "https://www.yoctoproject.org/tools-resources/projects/matc= hbox") + (synopsis "X virtual keyboard library") + (description + "Libfakekey is a virtual keyboard library for X.") + (license license:gpl2))) + (define-public xdotool (package (name "xdotool") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0012-gnu-Add-mate-netbook.patch" Content-Transfer-Encoding: quoted-printable =46rom 00b1760c77404917ce4b60b48dd7f17ea6497819 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 12:47:56 +0000 Subject: [PATCH 12/21] gnu: Add mate-netbook. * gnu/packages/mate.scm (mate-netbook): New variable. --- gnu/packages/mate.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index de0102b9b..0cb24fd5f 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -62,6 +62,7 @@ #:use-module (gnu packages webkit) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) + #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg)) =20 (define-public mate-common @@ -1110,6 +1111,48 @@ sessions, panels, menus, file management, and prefer= ences.") can be used as backgrounds in the MATE Desktop environment.") (license license:gpl2+))) =20 +(define-public mate-netbook + (package + (name "mate-netbook") + (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 + "0zj4x9qis8dw0irxzb4va1189k8bqbvymxq3h7phnjwvr1m983gf")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("gettext" ,gettext-minimal) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config))) + (inputs + `(("cairo" ,cairo) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("libfakekey" ,libfakekey) + ("libwnck" ,libwnck) + ("libxtst" ,libxtst) + ("libx11" ,libx11) + ("mate-panel" ,mate-panel) + ("xproto" ,xproto))) + (home-page "https://mate-desktop.org/") + (synopsis "Tool for MATE on Netbooks") + (description + "Mate Netbook is a simple window management tool which: + +@enumerate +@item Allows you to set basic rules for a window type, such as maximise|un= decorate +@item Allows exceptions to the rules, based on string matching for window = name +and window class. +@item Allows 'reversing' of rules when the user manually changes something: +Re-decorates windows on un-maximise. +@end enumerate\n") + (license license:gpl3+))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0013-gnu-Add-mate-screensaver.patch" Content-Transfer-Encoding: quoted-printable =46rom 6304b6225bb51ee3de07244fc514a316a4a1d8bb Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 14:48:17 +0000 Subject: [PATCH 13/21] gnu: Add mate-screensaver. * gnu/packages/mate.scm (mate-screensaver): New variable. --- gnu/packages/mate.scm | 77 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 77 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 0cb24fd5f..e413ee33e 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1153,6 +1153,83 @@ Re-decorates windows on un-maximise. @end enumerate\n") (license license:gpl3+))) =20 +(define-public mate-screensaver + (package + (name "mate-screensaver") + (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 + "0dfi10faf1fnvrm7c7wnfqg35ygq09ws1vjyv8394jlf0nn39g9j")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:configure-flags + ;; FIXME: There is a permissions problem with screen locking + ;; which effectively locks you out completely. Enable locking + ;; once this has been fixed. + (list "--enable-locking" "--with-kbd-layout-indicator" + "--with-xf86gamma-ext" "--enable-pam" + "--disable-schemas-compile" "--without-console-kit") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'autoconf + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (dbus-dir (string-append out "/share/dbus-1/services")= )) + (setenv "SHELL" (which "sh")) + (setenv "CONFIG_SHELL" (which "sh")) + (substitute* "configure" + (("dbus-1") "")))))))) + (native-inputs + `(("automake" ,automake) + ("autoconf" ,(autoconf-wrapper)) + ("gettext" ,gettext-minimal) + ("intltool" ,intltool) + ("kbproto" ,kbproto) + ("mate-common" ,mate-common) + ("pkg-config" ,pkg-config) + ("randrproto" ,randrproto) + ("renderproto" ,renderproto) + ("scrnsaverproto" ,scrnsaverproto) + ("which" ,which) + ("xextpro" ,xextproto) + ("xproto" ,xproto))) + (inputs + `(("cairo" ,cairo) + ("dconf" ,dconf) + ("dbus" ,dbus) + ("dbus-glib" ,dbus-glib) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf+svg) + ("libcanberra" ,libcanberra) + ("libglade" ,libglade) + ("libmatekbd" ,libmatekbd) + ("libnotify" ,libnotify) + ("libx11" ,libx11) + ("libxext" ,libxext) + ("libxklavier" ,libxklavier) + ("libxrandr" ,libxrandr) + ("libxrender" ,libxrender) + ("libxscrnsaver" ,libxscrnsaver) + ("libxxf86vm" ,libxxf86vm) + ("linux-pam" ,linux-pam) + ("mate-desktop" ,mate-desktop) + ("mate-menus" ,mate-menus) + ("pango" ,pango) + ("startup-notification" ,startup-notification))) + (home-page "https://mate-desktop.org/") + (synopsis "Screensaver for MATE") + (description + "MATE backgrounds package contains a collection of graphics files whi= ch +can be used as backgrounds in the MATE Desktop environment.") + (license license:gpl2+))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0014-gnu-Add-mate-utils.patch" Content-Transfer-Encoding: quoted-printable =46rom 31dfcc094e01a8c77b9f74635801fba27458cc91 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sun, 17 Sep 2017 16:58:06 +0000 Subject: [PATCH 14/21] gnu: Add mate-utils. * gnu/packages/mate.scm (mate-utils): New variable. --- gnu/packages/mate.scm | 54 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index e413ee33e..23e326d83 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1230,6 +1230,60 @@ Re-decorates windows on un-maximise. can be used as backgrounds in the MATE Desktop environment.") (license license:gpl2+))) =20 +(define-public mate-utils + (package + (name "mate-utils") + (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 + "0wr395dqfigj19ps0d76ycgwfljl9xxgs1a1g5wx6kcz5mvhzn5v")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("gettext" ,gettext-minimal) + ("gtk-doc" ,gtk-doc) + ("intltool" ,intltool) + ("libice" ,libice) + ("libsm" ,libsm) + ("pkg-config" ,pkg-config) + ("scrollkeeper" ,scrollkeeper) + ("xextpro" ,xextproto) + ("xproto" ,xproto) + ("yelp-tools" ,yelp-tools))) + (inputs + `(("atk" ,atk) + ("cairo" ,cairo) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf+svg) + ("libcanberra" ,libcanberra) + ("libgtop" ,libgtop) + ("libx11" ,libx11) + ("libxext" ,libxext) + ("mate-panel" ,mate-panel) + ("pango" ,pango) + ("zlib" ,zlib))) + (home-page "https://mate-desktop.org/") + (synopsis "Utilities for the MATE Desktop") + (description + "Mate Utilities for the MATE Desktop containing: + +@enumerate +@item mate-system-log +@item mate-search-tool +@item mate-dictionary +@item mate-screenshot +@item mate-disk-usage-analyzer +@end enumerate\n") + (license (list license:gpl2 + license:fdl1.1+ + license:lgpl2.1)))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0015-gnu-Add-eom.patch" Content-Transfer-Encoding: quoted-printable =46rom 2002d2d8c0f378241564f0bc7047c8f78b404992 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sun, 17 Sep 2017 19:10:22 +0000 Subject: [PATCH 15/21] gnu: Add eom. * gnu/packages/mate.scm (eom): New variable. --- gnu/packages/mate.scm | 51 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 23e326d83..082c5a0d5 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1284,6 +1284,57 @@ can be used as backgrounds in the MATE Desktop envir= onment.") license:fdl1.1+ license:lgpl2.1)))) =20 +(define-public eom + (package + (name "eom") + (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 + "00ns7g7qykakc89lijrw2vwy9x9ijqiyvmnd4sw0j6py90zs8m87")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("gettext" ,gettext-minimal) + ("gtk-doc" ,gtk-doc) + ("gobject-introspection" ,gobject-introspection) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("yelp-tools" ,yelp-tools))) + (inputs + `(("atk" ,atk) + ("cairo" ,cairo) + ("dconf" ,dconf) + ("dbus" ,dbus) + ("dbus-glib" ,dbus-glib) + ("exempi" ,exempi) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf+svg) + ("libcanberra" ,libcanberra) + ("libx11" ,libx11) + ("libxext" ,libxext) + ("libpeas" ,libpeas) + ("libxml2" ,libxml2) + ("libexif" ,libexif) + ("libjpeg" ,libjpeg) + ("librsvg" ,librsvg) + ("lcms" ,lcms) + ("mate-desktop" ,mate-desktop) + ("pango" ,pango) + ("shared-mime-info" ,shared-mime-info) + ("startup-notification" ,startup-notification) + ("zlib" ,zlib))) + (home-page "https://mate-desktop.org/") + (synopsis "Eye of MATE") + (description + "Eye of MATE is the Image viewer for the MATE Desktop.") + (license (list license:gpl2)))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0016-gnu-Add-engrampa.patch" Content-Transfer-Encoding: quoted-printable =46rom 5c7c3f08212c6816f3ef9575147f35fd424ed825 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sun, 17 Sep 2017 20:03:14 +0000 Subject: [PATCH 16/21] gnu: Add engrampa. * gnu/packages/mate.scm (engrampa): New variable. --- gnu/packages/mate.scm | 55 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 082c5a0d5..77ffe414f 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -35,6 +35,7 @@ #:use-module (gnu packages djvu) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) + #:use-module (gnu packages file) #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) @@ -1335,6 +1336,60 @@ can be used as backgrounds in the MATE Desktop envir= onment.") "Eye of MATE is the Image viewer for the MATE Desktop.") (license (list license:gpl2)))) =20 +(define-public engrampa + (package + (name "engrampa") + (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 + "0d98zhqqc7qdnxcf0195kd04xmhijc0w2qrn6q61zd0daiswnv98")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:configure-flags (list "--disable-schemas-compile" + "--disable-run-in-place" + "--enable-magic" + "--enable-packagekit" + (string-append "--with-cajadir=3D" + (assoc-ref %outputs "out") + "/lib/caja/extensions-2.0/")) + #:phases + (modify-phases %standard-phases + (add-before 'install 'skip-gtk-update-icon-cache + ;; Don't create 'icon-theme.cache'. + (lambda _ + (substitute* "data/Makefile" + (("gtk-update-icon-cache") "true")) + #t))))) + (native-inputs + `(("gettext" ,gettext-minimal) + ("gtk-doc" ,gtk-doc) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("yelp-tools" ,yelp-tools))) + (inputs + `(("caja" ,caja) + ("file" ,file) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf+svg) + ("json-glib" ,json-glib) + ("libcanberra" ,libcanberra) + ("libx11" ,libx11) + ("libsm" ,libsm) + ("packagekit" ,packagekit) + ("pango" ,pango))) + (home-page "https://mate-desktop.org/") + (synopsis "Archive Manager for MATE") + (description + "Engrampa is the archive manager for the MATE Desktop.") + (license license:gpl2))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0017-gnu-Add-pluma.patch" Content-Transfer-Encoding: quoted-printable =46rom 1f64bb45a0a5e57e03f1439774ff28cceef14d6c Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sun, 17 Sep 2017 20:27:04 +0000 Subject: [PATCH 17/21] gnu: Add pluma. * gnu/packages/mate.scm (pluma): New variable. --- gnu/packages/mate.scm | 53 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 77ffe414f..5d4f51c91 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -35,6 +35,7 @@ #:use-module (gnu packages djvu) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) + #:use-module (gnu packages enchant) #:use-module (gnu packages file) #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) @@ -48,6 +49,7 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) + #:use-module (gnu packages iso-codes) #:use-module (gnu packages javascript) #:use-module (gnu packages libcanberra) #:use-module (gnu packages linux) @@ -1390,6 +1392,57 @@ can be used as backgrounds in the MATE Desktop envir= onment.") "Engrampa is the archive manager for the MATE Desktop.") (license license:gpl2))) =20 +(define-public pluma + (package + (name "pluma") + (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 + "1z0938yiygxipj2a77n9dv8v4253snrc5gbbnarcnim9xba2j3zz")))) + (build-system glib-or-gtk-build-system) + (arguments + `(; Tests can not succeed. + ;; https://github.com/mate-desktop/mate-text-editor/issues/33 + #:tests? #f)) + (native-inputs + `(("gettext" ,gettext-minimal) + ("gtk-doc" ,gtk-doc) + ("gobject-introspection" ,gobject-introspection) + ("intltool" ,intltool) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config) + ("yelp-tools" ,yelp-tools))) + (inputs + `(("atk" ,atk) + ("cairo" ,cairo) + ("enchant" ,enchant) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("gtksourceview" ,gtksourceview) + ("gdk-pixbuf" ,gdk-pixbuf) + ("iso-codes" ,iso-codes) + ("libcanberra" ,libcanberra) + ("libx11" ,libx11) + ("libsm" ,libsm) + ("libpeas" ,libpeas) + ("libxml2" ,libxml2) + ("libice" ,libice) + ("packagekit" ,packagekit) + ("pango" ,pango) + ("python-2" ,python-2) + ("scrollkeeper" ,scrollkeeper))) + (home-page "https://mate-desktop.org/") + (synopsis "Text Editor for MATE") + (description + "Pluma is the text editor for the MATE Desktop.") + (license license:gpl2))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0018-gnu-Add-mate-system-monitor.patch" Content-Transfer-Encoding: quoted-printable =46rom 589dbe17fbf30e3e095ac1a58beb272baed6c928 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sun, 17 Sep 2017 20:41:00 +0000 Subject: [PATCH 18/21] gnu: Add mate-system-monitor. * gnu/packages/mate.scm (mate-system-monitor): New variable. --- gnu/packages/mate.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 5d4f51c91..e21b76351 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1443,6 +1443,47 @@ can be used as backgrounds in the MATE Desktop envir= onment.") "Pluma is the text editor for the MATE Desktop.") (license license:gpl2))) =20 +(define-public mate-system-monitor + (package + (name "mate-system-monitor") + (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 + "1wcvrl4lfnjkhywb311p29prf1qiab6iynb6q1fgfsl6za8hsz48")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("gettext" ,gettext-minimal) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("yelp-tools" ,yelp-tools))) + (inputs + `(("cairo" ,cairo) + ("glib" ,glib) + ("glibmm" ,glibmm) + ("gtkmm" ,gtkmm) + ("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf) + ("libsigc++" ,libsigc++) + ("libcanberra" ,libcanberra) + ("libxml2" ,libxml2) + ("libwnck" ,libwnck) + ("libgtop" ,libgtop) + ("librsvg" ,librsvg) + ("polkit" ,polkit))) + (home-page "https://mate-desktop.org/") + (synopsis "System Monitor for MATE") + (description + "Mate System Monitor provides a tool for for the +MATE Desktop to monitor your system resources and usage.") + (license license:gpl2))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0019-gnu-Add-mate-polkit.patch" Content-Transfer-Encoding: quoted-printable =46rom a1155209568168170c635471779e0fc2410be5b4 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sun, 17 Sep 2017 20:53:10 +0000 Subject: [PATCH 19/21] gnu: Add mate-polkit. * gnu/packages/mate.scm (mate-polkit): New variable. --- gnu/packages/mate.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index e21b76351..36b2d3f05 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1484,6 +1484,40 @@ can be used as backgrounds in the MATE Desktop envir= onment.") MATE Desktop to monitor your system resources and usage.") (license license:gpl2))) =20 +(define-public mate-polkit + (package + (name "mate-polkit") + (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 + "15vf2hnyjg8zsw3iiwjwi497yygkmvpnn6w1hik7dfw4a621w0gc")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("gettext" ,gettext-minimal) + ("gtk-doc" ,gtk-doc) + ("intltool" ,intltool) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (inputs + `(("accountsservice" ,accountsservice) + ("glib" ,glib) + ("gobject-introspection" ,gobject-introspection) + ("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf) + ("polkit" ,polkit))) + (home-page "https://mate-desktop.org/") + (synopsis "DBus specific service for MATE") + (description + "MATE Polkit is a MATE specific DBUS service that is +used to bring up authentication dialogs.") + (license license:lgpl2.1))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0020-gnu-mate-Add-more-packages.patch" Content-Transfer-Encoding: quoted-printable =46rom 9d3119d8824a72503f886884037f3cb7f58bb941 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 15:08:37 +0000 Subject: [PATCH 20/21] gnu: mate: Add more packages. * gnu/packages/mate.scm (mate)[inputs]: Add "mate-user-guide", "mate-calc",= "mate-backgrounds", "mate-netbook", "hicolor-icon-theme", "mate-utils", "engrampa", "eom", "mat= e-polkit", "mate-system-monitor", "mate-utils", "pluma", "atril". --- gnu/packages/mate.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 36b2d3f05..fde8459f8 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1537,14 +1537,18 @@ used to bring up authentication dialogs.") (inputs ;; TODO: Add more packages `(("at-spi2-core" ,at-spi2-core) + ("atril" ,atril) ("caja" ,caja) ("dbus" ,dbus) ("dconf" ,dconf) ("desktop-file-utils" ,desktop-file-utils) + ("engrampa" ,engrampa) + ("eom" ,eom) ("font-cantarell" ,font-cantarell) ("glib-networking" ,glib-networking) ("gnome-keyring" ,gnome-keyring) ("gvfs" ,gvfs) + ("hicolor-icon-theme" ,hicolor-icon-theme) ("libmatekbd" ,libmatekbd) ("libmateweather" ,libmateweather) ("libmatemixer" ,libmatemixer) @@ -1560,6 +1564,15 @@ used to bring up authentication dialogs.") ("mate-control-center" ,mate-control-center) ("mate-media" ,mate-media) ("mate-applets" ,mate-applets) + ("mate-user-guide" ,mate-user-guide) + ("mate-calc" ,mate-calc) + ("mate-backgrounds" ,mate-backgrounds) + ("mate-netbook" ,mate-netbook) + ("mate-utils" ,mate-utils) + ("mate-polkit" ,mate-polkit) + ("mate-system-monitor" ,mate-system-monitor) + ("mate-utils" ,mate-utils) + ("pluma" ,pluma) ("pinentry-gnome3" ,pinentry-gnome3) ("pulseaudio" ,pulseaudio) ("shared-mime-info" ,shared-mime-info) --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0021-gnu-services-Add-MATE-desktop-service.patch" Content-Transfer-Encoding: quoted-printable =46rom 620e32643468da6318dde6491b0a2ff74608d435 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Fri, 29 Sep 2017 10:06:51 +0000 Subject: [PATCH 21/21] gnu: services: Add MATE desktop service. * gnu/services/desktop.scm (, mate-desktop-service-type): New variable. (mate-desktop-service): New public variable. * doc/guix.texi (Desktop Services): Document the service. --- doc/guix.texi | 26 +++++++++++++++++++------- gnu/services/desktop.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 7 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index c10fc649d..56187d1bc 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -26,7 +26,7 @@ Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} 2016 Chris Marusich@* Copyright @copyright{} 2016, 2017 Efraim Flashner@* Copyright @copyright{} 2016 John Darrington@* -Copyright @copyright{} 2016 ng0@* +Copyright @copyright{} 2016, 2017 ng0@* Copyright @copyright{} 2016, 2017 Jan Nieuwenhuizen@* Copyright @copyright{} 2016 Julien Lepiller@* Copyright @copyright{} 2016 Alex ter Weele@* @@ -11781,7 +11781,7 @@ The @code{(gnu services desktop)} module provides s= ervices that are usually useful in the context of a ``desktop'' setup---that is, on a machine running a graphical display server, possibly with graphical user interfaces, etc. It also defines services that provide specific desktop -environments like GNOME and XFCE. +environments like GNOME, XFCE or MATE. =20 To simplify things, the module defines a variable containing the set of services that users typically expect on a machine with a graphical @@ -11806,9 +11806,10 @@ The @var{%desktop-services} variable can be used a= s the @code{services} field of an @code{operating-system} declaration (@pxref{operating-system Reference, @code{services}}). =20 -Additionally, the @code{gnome-desktop-service} and -@code{xfce-desktop-service} procedures can add GNOME and/or XFCE to a -system. To ``add GNOME'' means that system-level services like the +Additionally, the @code{gnome-desktop-service}, +@code{xfce-desktop-service} and @code{mate-desktop-service} +procedures can add GNOME, XFCE and/or MATE to a system. +To ``add GNOME'' means that system-level services like the backlight adjustment helpers and the power management utilities are added to the system, extending @code{polkit} and @code{dbus} appropriately, allowing GNOME to operate with elevated privileges on a @@ -11819,6 +11820,11 @@ not only adds the @code{xfce} metapackage to the s= ystem profile, but it also gives the Thunar file manager the ability to open a ``root-mode'' file management window, if the user authenticates using the administrator's password via the standard polkit graphical interface. +To ``add MATE'' means that @code{polkit} and @code{dbus} are extended +appropriately, allowing MATE to operate with elevated privileges on a +limited number of special-purpose system interfaces. Additionally, +adding a service made by @code{mate-desktop-service} adds the MATE +metapackage to the system profile. =20 @deffn {Scheme Procedure} gnome-desktop-service Return a service that adds the @code{gnome} package to the system @@ -11833,9 +11839,15 @@ file system as root from within a user session, af= ter the user has authenticated with the administrator's password. @end deffn =20 -Because the GNOME and XFCE desktop services pull in so many packages, +@deffn {Scheme Procedure} mate-desktop-service +Return a service that adds the @code{mate} package to the system +profile, and extends polkit with the actions from +@code{mate-settings-daemon}. +@end deffn + +Because the GNOME, XFCE and MATE desktop services pull in so many packages, the default @code{%desktop-services} variable doesn't include either of -them by default. To add GNOME or XFCE, just @code{cons} them onto +them by default. To add GNOME, XFCE orMATE, just @code{cons} them onto @code{%desktop-services} in the @code{services} field of your @code{operating-system}: =20 diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 527a3101c..3c6a18125 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -4,6 +4,7 @@ ;;; Copyright =C2=A9 2015 Mark H Weaver ;;; Copyright =C2=A9 2016 Sou Bunnbu ;;; Copyright =C2=A9 2017 Maxim Cournoyer +;;; Copyright =C2=A9 2017 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -42,6 +43,7 @@ #:use-module (gnu packages suckless) #:use-module (gnu packages linux) #:use-module (gnu packages libusb) + #:use-module (gnu packages mate) #:use-module (guix records) #:use-module (guix packages) #:use-module (guix store) @@ -82,6 +84,11 @@ gnome-desktop-service gnome-desktop-service-type =20 + mate-desktop-configuration + mate-desktop-configuration? + mate-desktop-service + mate-desktop-service-type + xfce-desktop-configuration xfce-desktop-configuration? xfce-desktop-service @@ -798,6 +805,44 @@ accountsservice web site} for more information." and extends polkit with the actions from @code{gnome-settings-daemon}." (service gnome-desktop-service-type config)) =20 +;; MATE Desktop service. + +(define-record-type* mate-desktop-configurati= on + make-mate-desktop-configuration + mate-desktop-configuration + (mate-package mate-package (default mate)) + (screensaver-package screensaver-package (default mate-screensaver))) + +(define %mate-desktop-pam-services + (list (unix-pam-service "mate-screensaver"))) + +(define mate-desktop-setuid-programs + (match-lambda + (($ screensaver-package) + (list (file-append screensaver-package "/libexec/mate-screensaver-dia= log"))))) + +(define mate-desktop-service-type + (service-type + (name 'mate-desktop) + (extensions + (list (service-extension polkit-service-type + (compose list + (package-direct-input-selector + "mate-settings-daemon") + mate-package)) + (service-extension pam-root-service-type + (const %mate-desktop-pam-services)) + (service-extension setuid-program-service-type + mate-desktop-setuid-programs) + (service-extension profile-service-type + (compose list + mate-package)))))) + +(define* (mate-desktop-service #:key (config (mate-desktop-configuration))) + "Return a service that adds the @code{mate} package to the system profil= e, +and extends polkit with the actions from @code{mate-settings-daemon}." + (service mate-desktop-service-type config)) + =0C ;;; ;;; XFCE desktop service. --=20 2.14.2 --wknejrifm3x34htk-- --3eb4cak4ue4t5qcz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlnY/w4ACgkQ4i+bv+40 hYiwhBAAgWvKmSnBQLxn4GlGv54GA5zYFcDZSf3YEn7veQt6q3tNbBqXJT1N3xPf sU/ryWgzlE6el2ki6DSyvZHj3dMGYvpoor0JQPQ7d6UgVFe0SENzdrZu6sEsq/EN H/+WMg+6+jJCbVACGtx4x7cVRWNlkXE6UkC0Topoq0ps33uP/vkeGWwC9g/fhOBW /3kbLUmF3YNlWAT8EYEp/UnUOAB4uyIBJszfh5C0azJq6oefNepkLEPdPBZn4nmI av19G/ruIngjm9wFwZWebqcfs21pqyN9DAMRS+2MAe0MrwFICDrAl3G2B52C5DU4 xqa+Pnlf5520dgJYPsIgMlunhcKkhFZ2/hAZ7qiQFgEkXP+tGKu3PkkTwoXetxMr lc6tWEzWDWOASAd7rMOMVWVTk7ka5Yvl4/MM+xHTG/wCxLzLCDMF9uFJKueJyDuG ESZl2EOTOG6aKOChbKahVcProBbZSV5h1xWkWu8Zc9i3Y/wyDA+/rcbR6xlB3wmd zqqCIfMCHjdUJHUB3QlHKtdRYVNIsFFI3Okc/7OgycUl/HrPaM74T6yYqxfR6dxk uZKaSvVp2/73dI0TiFBsyESg8jdVLqqe0UFGjZZzyOl9ueRRdOLkApNx7PFx3AKO rpjWpLw4VTrNBkOzRohtbLUfWybw3ttwuDfmNWvcHBP/srwp9GA= =HGT/ -----END PGP SIGNATURE----- --3eb4cak4ue4t5qcz-- From unknown Mon Aug 18 11:33:13 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#28733] Mate Desktop Resent-From: ng0 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Oct 2017 23:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28733 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 28733@debbugs.gnu.org Received: via spool by 28733-submit@debbugs.gnu.org id=B28733.15074178657555 (code B ref 28733); Sat, 07 Oct 2017 23:12:02 +0000 Received: (at 28733) by debbugs.gnu.org; 7 Oct 2017 23:11:05 +0000 Received: from localhost ([127.0.0.1]:55204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0yFE-0001xI-LQ for submit@debbugs.gnu.org; Sat, 07 Oct 2017 19:11:05 -0400 Received: from aibo.runbox.com ([91.220.196.211]:32962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0yF8-0001x6-Ac for 28733@debbugs.gnu.org; Sat, 07 Oct 2017 19:10:54 -0400 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1e0yF5-000696-Th for 28733@debbugs.gnu.org; Sun, 08 Oct 2017 01:10:48 +0200 Received: from [158.255.7.61] (helo=localhost) by mailfront12.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1e0yEw-0007UO-3c for 28733@debbugs.gnu.org; Sun, 08 Oct 2017 01:10:40 +0200 Date: Sat, 7 Oct 2017 23:10:35 +0000 From: ng0 Message-ID: <20171007231035.tdcqhmkjnrviuvmw@abyayala> References: <20171007162134.mgk6yj7f7ho7ogf3@abyayala> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="satfidk3mmvnmv4v" Content-Disposition: inline In-Reply-To: <20171007162134.mgk6yj7f7ho7ogf3@abyayala> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I forgot to add the changes to gnu/services/desktop.scm, they are now included in this version. -- ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://krosos.org/dist/keys/ https://www.infotropique.org https://krosos.org [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist [URIs: autogen.sh] --satfidk3mmvnmv4v Content-Type: multipart/mixed; boundary="jxe5xgefb4k5mxvl" Content-Disposition: inline --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I forgot to add the changes to gnu/services/desktop.scm, they are now included in this version. --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://krosos.org/dist/keys/ https://www.infotropique.org https://krosos.org --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-mate.scm-Order-imported-modules-alphabetically.patch" Content-Transfer-Encoding: quoted-printable =46rom ec8c6733be6de7b4ff93876066780edbd417651a Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Thu, 14 Sep 2017 17:30:40 +0000 Subject: [PATCH 01/21] gnu: mate.scm: Order imported modules alphabetically. * gnu/packages/mate.scm: Order imported modules alphabetically. --- gnu/packages/mate.scm | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 91489ba91..ea4c8aecc 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -27,28 +27,28 @@ #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system trivial) #:use-module (gnu packages) - #:use-module (gnu packages pkg-config) - #:use-module (gnu packages freedesktop) - #:use-module (gnu packages fontutils) + #:use-module (gnu packages base) + #:use-module (gnu packages docbook) + #:use-module (gnu packages documentation) #:use-module (gnu packages fonts) - #:use-module (gnu packages libcanberra) - #:use-module (gnu packages linux) - #:use-module (gnu packages glib) - #:use-module (gnu packages gtk) + #:use-module (gnu packages fontutils) + #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) + #:use-module (gnu packages glib) #:use-module (gnu packages gnome) - #:use-module (gnu packages docbook) #:use-module (gnu packages gnupg) #:use-module (gnu packages gnuzilla) - #:use-module (gnu packages xorg) - #:use-module (gnu packages documentation) - #:use-module (gnu packages xdisorg) - #:use-module (gnu packages base) - #:use-module (gnu packages xml) + #:use-module (gnu packages gtk) + #:use-module (gnu packages libcanberra) + #:use-module (gnu packages linux) + #:use-module (gnu packages pkg-config) #:use-module (gnu packages photo) #:use-module (gnu packages polkit) #:use-module (gnu packages pulseaudio) - #:use-module (gnu packages python)) + #:use-module (gnu packages python) + #:use-module (gnu packages xdisorg) + #:use-module (gnu packages xml) + #:use-module (gnu packages xorg)) =20 (define-public mate-icon-theme (package --=20 2.14.2 --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0002-gnu-Add-mate-user-guide.patch" Content-Transfer-Encoding: quoted-printable =46rom 707b379cde30b4f3e31dfc6ed941c628d69ae887 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 09:55:16 +0000 Subject: [PATCH 02/21] gnu: Add mate-user-guide. * gnu/packages/mate.scm (mate-user-guide): New variable. --- gnu/packages/mate.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index ea4c8aecc..eeb5eb161 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -754,6 +754,46 @@ 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+))) =20 +(define-public mate-user-guide + (package + (name "mate-user-guide") + (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 + "0f3b46r9a3cywm7rpj08xlkfnlfr9db58xfcpix8i33qp50fxqmb")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'adjust-desktop-file + (lambda* (#:key inputs #:allow-other-keys) + (let* ((yelp (assoc-ref inputs "yelp"))) + (substitute* "mate-user-guide.desktop.in.in" + (("yelp") + (string-append yelp "/bin/yelp")))) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("intltool" ,intltool) + ("gettext" ,gettext-minimal) + ("yelp-tools" ,yelp-tools) + ("yelp-xsl" ,yelp-xsl))) + (inputs + `(("yelp" ,yelp))) + (home-page "https://mate-desktop.org/") + (synopsis "User Documentation for Mate software") + (description + "MATE User Guide is a collection of documentation which details +general use of the MATE Desktop environment. Topics covered include +sessions, panels, menus, file management, and preferences.") + (license (list license:fdl1.1+ license:gpl2+)))) + (define-public mate (package (name "mate") --=20 2.14.2 --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-gnu-mate-session-manager-Configure-with-with-elogind.patch" Content-Transfer-Encoding: quoted-printable =46rom d2378d5ed187457baeed71be1f2d50a99e4ff418 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 30 Sep 2017 21:44:52 +0000 Subject: [PATCH 03/21] gnu: mate-session-manager: Configure with with elogi= nd support. * gnu/packages/mate.scm (mate-session-manager)[arguments]: Add '--enable-el= ogind' to configure-flags. (phases): Add 'pre-configure' phase. --- gnu/packages/mate.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index eeb5eb161..409ca570f 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -235,6 +235,29 @@ configurations (profiles).") (base32 "0i0xq6041x2qmb26x9bawx0qpfkgjn6x9w3phnm9s7rc4s0z20ll")))) (build-system glib-or-gtk-build-system) + (arguments + `(#:configure-flags (list "--enable-elogind" + "--disable-schemas-compile") + #:phases + (modify-phases %standard-phases + (add-before 'configure 'pre-configure + (lambda* (#:key outputs #:allow-other-keys) + ;; Use elogind instead of systemd. + (substitute* "configure" + (("libsystemd-login") + "libelogind") + (("systemd") "elogind")) + (substitute* "mate-session/gsm-systemd.c" + (("#include ") + "#include ")) + ;; Remove uses of the systemd journal. + (substitute* "mate-session/main.c" + (("#ifdef HAVE_SYSTEMD") "#if 0")) + (substitute* "mate-session/gsm-manager.c" + (("#ifdef HAVE_SYSTEMD") "#if 0")) + (substitute* "mate-session/gsm-autostart-app.c" + (("#ifdef HAVE_SYSTEMD") "#if 0")) + #t))))) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool) @@ -243,6 +266,7 @@ configurations (profiles).") (inputs `(("gtk+" ,gtk+) ("dbus-glib" ,dbus-glib) + ("elogind" ,elogind) ("libsm" ,libsm) ("mate-desktop" ,mate-desktop))) (home-page "https://mate-desktop.org/") --=20 2.14.2 --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0004-gnu-Add-caja-extensions.patch" Content-Transfer-Encoding: quoted-printable =46rom 89f944b27e17fef857f284dcdfff2e793c59ba82 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Fri, 15 Sep 2017 12:05:08 +0000 Subject: [PATCH 04/21] gnu: Add caja-extensions. * gnu/packages/mate.scm (caja-extensions): New variable. --- gnu/packages/mate.scm | 58 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 58 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 409ca570f..1199b405a 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -27,6 +27,7 @@ #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system trivial) #:use-module (gnu packages) + #:use-module (gnu packages attr) #:use-module (gnu packages base) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) @@ -39,8 +40,10 @@ #:use-module (gnu packages gnupg) #:use-module (gnu packages gnuzilla) #:use-module (gnu packages gtk) + #:use-module (gnu packages imagemagick) #:use-module (gnu packages libcanberra) #:use-module (gnu packages linux) + #:use-module (gnu packages messaging) #:use-module (gnu packages pkg-config) #:use-module (gnu packages photo) #:use-module (gnu packages polkit) @@ -662,6 +665,61 @@ icons on the MATE desktop. It works on local and remo= te filesystems.") ;; for us. (license license:gpl2+))) =20 +(define-public caja-extensions + (package + (name "caja-extensions") + (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 + "0hgala7zkfsa60jflq3s4n9yd11dhfdcla40l83cmgc3r1az7cmw")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:configure-flags (list "--enable-sendto" + ;; TODO: package "gupnp" to enable 'upnp', = package + ;; "gksu" to enable 'gksu'. + (string-append "--with-sendto-plugins=3Drem= ovable-devices," + "caja-burn,emailclient,pidgi= n,gajim") + "--enable-image-converter" + "--enable-open-terminal" "--enable-share" + "--enable-wallpaper" "--enable-xattr-tags" + (string-append "--with-cajadir=3D" + (assoc-ref %outputs "out") + "/lib/caja/extensions-2.0/")= ))) + (native-inputs + `(("intltool" ,intltool) + ("gettext" ,gettext-minimal) + ("glib:bin" ,glib "bin") + ("gobject-introspection" ,gobject-introspection) + ("gtk-doc" ,gtk-doc) + ("pkg-config" ,pkg-config))) + (inputs + `(("attr" ,attr) + ("brasero" ,brasero) + ("caja" ,caja) + ("dbus" ,dbus) + ("dbus-glib" ,dbus-glib) + ("gajim" ,gajim) ;runtime only? + ("gtk+" ,gtk+) + ("imagemagick" ,imagemagick) + ("graphicsmagick" ,graphicsmagick) + ("mate-desktop" ,mate-desktop) + ("pidgin" ,pidgin) ;runtime only? + ("startup-notification" ,startup-notification))) + (home-page "https://mate-desktop.org/") + (synopsis "Extensions for the File manager Caja") + (description + "Caja is the official file manager for the MATE desktop. +It allows for browsing directories, as well as previewing files and launch= ing +applications associated with them. Caja is also responsible for handling = the +icons on the MATE desktop. It works on local and remote filesystems.") + (license license:gpl2+))) + (define-public mate-control-center (package (name "mate-control-center") --=20 2.14.2 --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0005-gnu-caja-Add-native-search-paths.patch" Content-Transfer-Encoding: quoted-printable =46rom 318272f1eefb74d12d93cc12ff4ee65e9ee353c9 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Fri, 15 Sep 2017 12:07:21 +0000 Subject: [PATCH 05/21] gnu: caja: Add native-search-paths. * gnu/packages/mate.scm (caja)[native-search-paths]: Add it. --- gnu/packages/mate.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 1199b405a..274fe17e4 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -653,6 +653,10 @@ infamous 'Wanda the Fish'.") ("libxml2" ,libxml2) ("mate-desktop" ,mate-desktop) ("startup-notification" ,startup-notification))) + (native-search-paths + (list (search-path-specification + (variable "CAJA_EXTENSIONDIR") + (files (list "lib/caja/extensions-2.0/**"))))) (home-page "https://mate-desktop.org/") (synopsis "File manager for the MATE desktop") (description --=20 2.14.2 --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0006-gnu-Add-atril.patch" Content-Transfer-Encoding: quoted-printable =46rom 375db019a3f3498cfca84652fce0e23569a28b83 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Thu, 14 Sep 2017 19:28:15 +0000 Subject: [PATCH 06/21] gnu: Add atril. * gnu/packages/mate.scm (atril): New variable. --- gnu/packages/mate.scm | 115 ++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 115 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 274fe17e4..f25eb8dd9 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -28,27 +28,37 @@ #:use-module (guix build-system trivial) #:use-module (gnu packages) #:use-module (gnu packages attr) + #:use-module (gnu packages backup) #:use-module (gnu packages base) + #:use-module (gnu packages compression) + #:use-module (gnu packages djvu) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) + #:use-module (gnu packages ghostscript) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gnupg) #:use-module (gnu packages gnuzilla) #:use-module (gnu packages gtk) + #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) + #:use-module (gnu packages javascript) #:use-module (gnu packages libcanberra) #:use-module (gnu packages linux) #:use-module (gnu packages messaging) + #:use-module (gnu packages nettle) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages pdf) #:use-module (gnu packages photo) #:use-module (gnu packages polkit) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) + #:use-module (gnu packages tex) + #:use-module (gnu packages webkit) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg)) @@ -610,6 +620,111 @@ the Window List, the Window Selector, the Notificatio= n Area, the Clock and the infamous 'Wanda the Fish'.") (license (list license:gpl2+ license:lgpl2.0+)))) =20 +(define-public atril + (package + (name "atril") + (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 + "1wl332v80c0nzz7nw36d1pfmbiibvl3l0i4d25ihg6mg9wbc0145")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:configure-flags (list (string-append "--with-openjpeg=3D" + (assoc-ref %build-inputs "op= enjpeg")) + "--enable-introspection" + "--with-gtk=3D3.0" + "--disable-schemas-compile" + ;; FIXME: Enable build of Caja extensions. + "--disable-caja") + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-mathjax-path + (lambda _ + (let* ((mathjax (assoc-ref %build-inputs "js-mathjax")) + (mathjax-path (string-append mathjax + "/share/javascript/mathja= x"))) + (substitute* "backend/epub/epub-document.c" + (("/usr/share/javascript/mathjax") + mathjax-path))) + #t)) + (add-after 'unpack 'fix-introspection-install-dir + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* '("configure") + (("\\$\\(\\$PKG_CONFIG --variable=3Dgirdir gobject-intros= pection-1.0\\)") + (string-append "\"" out "/share/gir-1.0/\"")) + (("\\$\\(\\$PKG_CONFIG --variable=3Dtypelibdir gobject-in= trospection-1.0\\)") + (string-append out "/lib/girepository-1.0/"))) + #t))) + (add-before 'install 'skip-gtk-update-icon-cache + ;; Don't create 'icon-theme.cache'. + (lambda _ + (substitute* "data/Makefile" + (("gtk-update-icon-cache") "true")) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("intltool" ,intltool) + ("itstool" ,itstool) + ("yelp-tools" ,yelp-tools) + ("glib:bin" ,glib "bin") + ("gobject-introspection" ,gobject-introspection) + ("gtk-doc" ,gtk-doc) + ("xmllint" ,libxml2) + ("zlib" ,zlib))) + (inputs + `(("atk" ,atk) + ("cairo" ,cairo) + ("caja" ,caja) + ("dconf" ,dconf) + ("dbus" ,dbus) + ("dbus-glib" ,dbus-glib) + ("djvulibre" ,djvulibre) + ("fontconfig" ,fontconfig) + ("freetype" ,freetype) + ("ghostscript" ,ghostscript) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("js-mathjax" ,js-mathjax) + ("libcanberra" ,libcanberra) + ("libsecret" ,libsecret) + ("libspectre" ,libspectre) + ("libtiff" ,libtiff) + ("libx11" ,libx11) + ("libice" ,libice) + ("libsm" ,libsm) + ("libgxps" ,libgxps) + ("libjpeg" ,libjpeg) + ("libxml2" ,libxml2) + ("dogtail" ,python2-dogtail) + ("shared-mime-info" ,shared-mime-info) + ("gdk-pixbuf" ,gdk-pixbuf) + ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) + ("libgnome-keyring" ,libgnome-keyring) + ("libarchive" ,libarchive) + ("marco" ,marco) + ("nettle" ,nettle) + ("openjpeg" ,openjpeg-1) + ("pango" ,pango) + ;;("texlive" ,texlive) + ;; TODO: + ;; Build libkpathsea as a shared library for DVI support. + ;; ("libkpathsea" ,texlive-bin) + ("poppler" ,poppler) + ("webkitgtk" ,webkitgtk))) + (home-page "https://mate-desktop.org") + (synopsis "Document viewer for Mate") + (description + "Document viewer for Mate") + (license license:gpl2))) + (define-public caja (package (name "caja") --=20 2.14.2 --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0007-gnu-Add-mate-calc.patch" Content-Transfer-Encoding: quoted-printable =46rom 51598ef81d7fbd6657b02aeb04d7e68b306e21ad Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 11:05:02 +0000 Subject: [PATCH 07/21] gnu: Add mate-calc. * gnu/packages/mate.scm (mate-calc): New variable. --- gnu/packages/mate.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index f25eb8dd9..484fd373d 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -995,6 +995,38 @@ general use of the MATE Desktop environment. Topics c= overed include sessions, panels, menus, file management, and preferences.") (license (list license:fdl1.1+ license:gpl2+)))) =20 +(define-public mate-calc + (package + (name "mate-calc") + (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 + "0qfs6kx2nymbn6j3mnzgvk8p54ghc78jslsf4wjqsdq021qyl0ly")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("gettext" ,gettext-minimal) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("yelp-tools" ,yelp-tools))) + (inputs + `(("atk" ,atk) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("libxml2" ,libxml2) + ("libcanberra" ,libcanberra) + ("pango" ,pango))) + (home-page "https://mate-desktop.org/") + (synopsis "Calculator for MATE") + (description + "Mate Calc is the GTK+ calculator application for the MATE Desktop.") + (license license:gpl2+))) + (define-public mate (package (name "mate") --=20 2.14.2 --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0008-gnu-Add-mate-backgrounds.patch" Content-Transfer-Encoding: quoted-printable =46rom af39a2c36dd69190f0e0c4adf8df2cdb9cfddd1c Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 11:13:27 +0000 Subject: [PATCH 08/21] gnu: Add mate-backgrounds. * gnu/packages/mate.scm (mate-backgrounds): New variable. --- gnu/packages/mate.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 484fd373d..3c65c8614 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1027,6 +1027,29 @@ sessions, panels, menus, file management, and prefer= ences.") "Mate Calc is the GTK+ calculator application for the MATE Desktop.") (license license:gpl2+))) =20 +(define-public mate-backgrounds + (package + (name "mate-backgrounds") + (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 + "06q8ksjisijps2wn959arywsimhzd3j35mqkr048c26ck24d60zi")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("intltool" ,intltool))) + (home-page "https://mate-desktop.org/") + (synopsis "Calculator for MATE") + (description + "MATE backgrounds package contains a collection of graphics files whi= ch +can be used as backgrounds in the MATE Desktop environment.") + (license license:gpl2+))) + (define-public mate (package (name "mate") --=20 2.14.2 --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0009-gnu-Add-mate-common.patch" Content-Transfer-Encoding: quoted-printable =46rom c80c03c0a38d6ad0869f850e6be74822949e0bbb Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 11:36:30 +0000 Subject: [PATCH 09/21] gnu: Add mate-common. * gnu/packages/mate.scm (mate-common): New variable. --- gnu/packages/mate.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 3c65c8614..55b072b19 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -63,6 +63,27 @@ #:use-module (gnu packages xml) #:use-module (gnu packages xorg)) =20 +(define-public mate-common + (package + (name "mate-common") + (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 + "1005laf3z1h8qczm7pmwr40r842665cv6ykhjg7r93vldra48z6p")))) + (build-system gnu-build-system) + (home-page "https://mate-desktop.org/") + (synopsis "Common files for development of MATE packages") + (description + "Mate Common includes common files and macros used by +MATE applications.") + (license license:gpl3+))) + (define-public mate-icon-theme (package (name "mate-icon-theme") --=20 2.14.2 --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0010-gnu-Add-mate-icon-theme-faenza.patch" Content-Transfer-Encoding: quoted-printable =46rom 1bbb86ede8895b536691972cb18b68e24463f8cc Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 11:55:03 +0000 Subject: [PATCH 10/21] gnu: Add mate-icon-theme-faenza. * gnu/packages/mate.scm (mate-icon-theme-faenza): New variable. --- gnu/packages/mate.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 55b072b19..de0102b9b 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -28,6 +28,7 @@ #:use-module (guix build-system trivial) #:use-module (gnu packages) #:use-module (gnu packages attr) + #:use-module (gnu packages autotools) #:use-module (gnu packages backup) #:use-module (gnu packages base) #:use-module (gnu packages compression) @@ -107,6 +108,44 @@ MATE applications.") "This package contains the default icon theme used by the MATE deskto= p.") (license license:lgpl3+))) =20 +(define-public mate-icon-theme-faenza + (package + (name "mate-icon-theme-faenza") + (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 + "0vc3wg9l5yrxm0xmligz4lw2g3nqj1dz8fwv90xvym8pbjds2849")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'autoconf + (lambda _ + (setenv "SHELL" (which "sh")) + (setenv "CONFIG_SHELL" (which "sh")) + (zero? (system* "sh" "autogen.sh"))))))) + (native-inputs + `(("autoconf" ,(autoconf-wrapper)) + ("automake" ,automake) + ("intltool" ,intltool) + ("icon-naming-utils" ,icon-naming-utils) + ("libtool" ,libtool) + ("mate-common" ,mate-common) + ("pkg-config" ,pkg-config) + ("which" ,which))) + (home-page "https://mate-desktop.org/") + (synopsis "MATE desktop environment icon theme faenza") + (description + "Icon theme using Faenza and Faience icon themes and some +customized icons for MATE. Furthermore it includes some icons +from Mint-X-F and Faenza-Fresh icon packs.") + (license license:gpl2+))) + (define-public mate-themes (package (name "mate-themes") --=20 2.14.2 --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0011-gnu-Add-libfakekey.patch" Content-Transfer-Encoding: quoted-printable =46rom 8cdf3081ba32806924222e590cefb61c9290dfa2 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 12:45:07 +0000 Subject: [PATCH 11/21] gnu: Add libfakekey. * gnu/packages/xdisorg.scm (libfakekey): New variable. --- gnu/packages/xdisorg.scm | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 7ca4986a0..b62bafb62 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -17,7 +17,7 @@ ;;; Copyright =C2=A9 2016, 2017 Marius Bakke ;;; Copyright =C2=A9 2016 Petter ;;; Copyright =C2=A9 2017 Mekeor Melire -;;; Copyright =C2=A9 2017 ng0 +;;; Copyright =C2=A9 2017 ng0 ;;; Copyright =C2=A9 2017 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. @@ -187,6 +187,33 @@ X11 (yet).") (license (license:x11-style "file://COPYING" "See 'COPYING' in the distribution.")))) =20 +(define-public libfakekey + (package + (name "libfakekey") + (version "0.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://downloads.yoctoproject.org/releases" + "/matchbox/libfakekey/" version "/libfakekey-" + version ".tar.bz2")) + (sha256 + (base32 + "1501l0bflcrhqbf12n7a7cqilvr0w4xawxw0vw75p2940nkl4464")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list "AM_LDFLAGS=3D-lX11"))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("libxtst" ,libxtst) + ("libx11" ,libx11))) + (home-page "https://www.yoctoproject.org/tools-resources/projects/matc= hbox") + (synopsis "X virtual keyboard library") + (description + "Libfakekey is a virtual keyboard library for X.") + (license license:gpl2))) + (define-public xdotool (package (name "xdotool") --=20 2.14.2 --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0012-gnu-Add-mate-netbook.patch" Content-Transfer-Encoding: quoted-printable =46rom e79119f36d88995d8410ee9e0331a0d7b62c011e Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 12:47:56 +0000 Subject: [PATCH 12/21] gnu: Add mate-netbook. * gnu/packages/mate.scm (mate-netbook): New variable. --- gnu/packages/mate.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index de0102b9b..0cb24fd5f 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -62,6 +62,7 @@ #:use-module (gnu packages webkit) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) + #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg)) =20 (define-public mate-common @@ -1110,6 +1111,48 @@ sessions, panels, menus, file management, and prefer= ences.") can be used as backgrounds in the MATE Desktop environment.") (license license:gpl2+))) =20 +(define-public mate-netbook + (package + (name "mate-netbook") + (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 + "0zj4x9qis8dw0irxzb4va1189k8bqbvymxq3h7phnjwvr1m983gf")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("gettext" ,gettext-minimal) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config))) + (inputs + `(("cairo" ,cairo) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("libfakekey" ,libfakekey) + ("libwnck" ,libwnck) + ("libxtst" ,libxtst) + ("libx11" ,libx11) + ("mate-panel" ,mate-panel) + ("xproto" ,xproto))) + (home-page "https://mate-desktop.org/") + (synopsis "Tool for MATE on Netbooks") + (description + "Mate Netbook is a simple window management tool which: + +@enumerate +@item Allows you to set basic rules for a window type, such as maximise|un= decorate +@item Allows exceptions to the rules, based on string matching for window = name +and window class. +@item Allows 'reversing' of rules when the user manually changes something: +Re-decorates windows on un-maximise. +@end enumerate\n") + (license license:gpl3+))) + (define-public mate (package (name "mate") --=20 2.14.2 --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0013-gnu-Add-mate-screensaver.patch" Content-Transfer-Encoding: quoted-printable =46rom 7ef9184a3e114f7cf8b4c66129c86a97daeaf237 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 14:48:17 +0000 Subject: [PATCH 13/21] gnu: Add mate-screensaver. * gnu/packages/mate.scm (mate-screensaver): New variable. --- gnu/packages/mate.scm | 77 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 77 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 0cb24fd5f..e413ee33e 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1153,6 +1153,83 @@ Re-decorates windows on un-maximise. @end enumerate\n") (license license:gpl3+))) =20 +(define-public mate-screensaver + (package + (name "mate-screensaver") + (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 + "0dfi10faf1fnvrm7c7wnfqg35ygq09ws1vjyv8394jlf0nn39g9j")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:configure-flags + ;; FIXME: There is a permissions problem with screen locking + ;; which effectively locks you out completely. Enable locking + ;; once this has been fixed. + (list "--enable-locking" "--with-kbd-layout-indicator" + "--with-xf86gamma-ext" "--enable-pam" + "--disable-schemas-compile" "--without-console-kit") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'autoconf + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (dbus-dir (string-append out "/share/dbus-1/services")= )) + (setenv "SHELL" (which "sh")) + (setenv "CONFIG_SHELL" (which "sh")) + (substitute* "configure" + (("dbus-1") "")))))))) + (native-inputs + `(("automake" ,automake) + ("autoconf" ,(autoconf-wrapper)) + ("gettext" ,gettext-minimal) + ("intltool" ,intltool) + ("kbproto" ,kbproto) + ("mate-common" ,mate-common) + ("pkg-config" ,pkg-config) + ("randrproto" ,randrproto) + ("renderproto" ,renderproto) + ("scrnsaverproto" ,scrnsaverproto) + ("which" ,which) + ("xextpro" ,xextproto) + ("xproto" ,xproto))) + (inputs + `(("cairo" ,cairo) + ("dconf" ,dconf) + ("dbus" ,dbus) + ("dbus-glib" ,dbus-glib) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf+svg) + ("libcanberra" ,libcanberra) + ("libglade" ,libglade) + ("libmatekbd" ,libmatekbd) + ("libnotify" ,libnotify) + ("libx11" ,libx11) + ("libxext" ,libxext) + ("libxklavier" ,libxklavier) + ("libxrandr" ,libxrandr) + ("libxrender" ,libxrender) + ("libxscrnsaver" ,libxscrnsaver) + ("libxxf86vm" ,libxxf86vm) + ("linux-pam" ,linux-pam) + ("mate-desktop" ,mate-desktop) + ("mate-menus" ,mate-menus) + ("pango" ,pango) + ("startup-notification" ,startup-notification))) + (home-page "https://mate-desktop.org/") + (synopsis "Screensaver for MATE") + (description + "MATE backgrounds package contains a collection of graphics files whi= ch +can be used as backgrounds in the MATE Desktop environment.") + (license license:gpl2+))) + (define-public mate (package (name "mate") --=20 2.14.2 --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0014-gnu-Add-mate-utils.patch" Content-Transfer-Encoding: quoted-printable =46rom 978154bc2fe3e5ceb8a6a9246257d4ce5ceda7c1 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sun, 17 Sep 2017 16:58:06 +0000 Subject: [PATCH 14/21] gnu: Add mate-utils. * gnu/packages/mate.scm (mate-utils): New variable. --- gnu/packages/mate.scm | 54 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index e413ee33e..23e326d83 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1230,6 +1230,60 @@ Re-decorates windows on un-maximise. can be used as backgrounds in the MATE Desktop environment.") (license license:gpl2+))) =20 +(define-public mate-utils + (package + (name "mate-utils") + (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 + "0wr395dqfigj19ps0d76ycgwfljl9xxgs1a1g5wx6kcz5mvhzn5v")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("gettext" ,gettext-minimal) + ("gtk-doc" ,gtk-doc) + ("intltool" ,intltool) + ("libice" ,libice) + ("libsm" ,libsm) + ("pkg-config" ,pkg-config) + ("scrollkeeper" ,scrollkeeper) + ("xextpro" ,xextproto) + ("xproto" ,xproto) + ("yelp-tools" ,yelp-tools))) + (inputs + `(("atk" ,atk) + ("cairo" ,cairo) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf+svg) + ("libcanberra" ,libcanberra) + ("libgtop" ,libgtop) + ("libx11" ,libx11) + ("libxext" ,libxext) + ("mate-panel" ,mate-panel) + ("pango" ,pango) + ("zlib" ,zlib))) + (home-page "https://mate-desktop.org/") + (synopsis "Utilities for the MATE Desktop") + (description + "Mate Utilities for the MATE Desktop containing: + +@enumerate +@item mate-system-log +@item mate-search-tool +@item mate-dictionary +@item mate-screenshot +@item mate-disk-usage-analyzer +@end enumerate\n") + (license (list license:gpl2 + license:fdl1.1+ + license:lgpl2.1)))) + (define-public mate (package (name "mate") --=20 2.14.2 --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0015-gnu-Add-eom.patch" Content-Transfer-Encoding: quoted-printable =46rom 18574e3d906f10ab8be0ce5a80162a1ce593ef33 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sun, 17 Sep 2017 19:10:22 +0000 Subject: [PATCH 15/21] gnu: Add eom. * gnu/packages/mate.scm (eom): New variable. --- gnu/packages/mate.scm | 51 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 23e326d83..082c5a0d5 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1284,6 +1284,57 @@ can be used as backgrounds in the MATE Desktop envir= onment.") license:fdl1.1+ license:lgpl2.1)))) =20 +(define-public eom + (package + (name "eom") + (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 + "00ns7g7qykakc89lijrw2vwy9x9ijqiyvmnd4sw0j6py90zs8m87")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("gettext" ,gettext-minimal) + ("gtk-doc" ,gtk-doc) + ("gobject-introspection" ,gobject-introspection) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("yelp-tools" ,yelp-tools))) + (inputs + `(("atk" ,atk) + ("cairo" ,cairo) + ("dconf" ,dconf) + ("dbus" ,dbus) + ("dbus-glib" ,dbus-glib) + ("exempi" ,exempi) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf+svg) + ("libcanberra" ,libcanberra) + ("libx11" ,libx11) + ("libxext" ,libxext) + ("libpeas" ,libpeas) + ("libxml2" ,libxml2) + ("libexif" ,libexif) + ("libjpeg" ,libjpeg) + ("librsvg" ,librsvg) + ("lcms" ,lcms) + ("mate-desktop" ,mate-desktop) + ("pango" ,pango) + ("shared-mime-info" ,shared-mime-info) + ("startup-notification" ,startup-notification) + ("zlib" ,zlib))) + (home-page "https://mate-desktop.org/") + (synopsis "Eye of MATE") + (description + "Eye of MATE is the Image viewer for the MATE Desktop.") + (license (list license:gpl2)))) + (define-public mate (package (name "mate") --=20 2.14.2 --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0016-gnu-Add-engrampa.patch" Content-Transfer-Encoding: quoted-printable =46rom 59a99e008ed4e80dd4f006c101e57598632b865a Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sun, 17 Sep 2017 20:03:14 +0000 Subject: [PATCH 16/21] gnu: Add engrampa. * gnu/packages/mate.scm (engrampa): New variable. --- gnu/packages/mate.scm | 55 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 082c5a0d5..77ffe414f 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -35,6 +35,7 @@ #:use-module (gnu packages djvu) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) + #:use-module (gnu packages file) #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) @@ -1335,6 +1336,60 @@ can be used as backgrounds in the MATE Desktop envir= onment.") "Eye of MATE is the Image viewer for the MATE Desktop.") (license (list license:gpl2)))) =20 +(define-public engrampa + (package + (name "engrampa") + (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 + "0d98zhqqc7qdnxcf0195kd04xmhijc0w2qrn6q61zd0daiswnv98")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:configure-flags (list "--disable-schemas-compile" + "--disable-run-in-place" + "--enable-magic" + "--enable-packagekit" + (string-append "--with-cajadir=3D" + (assoc-ref %outputs "out") + "/lib/caja/extensions-2.0/")) + #:phases + (modify-phases %standard-phases + (add-before 'install 'skip-gtk-update-icon-cache + ;; Don't create 'icon-theme.cache'. + (lambda _ + (substitute* "data/Makefile" + (("gtk-update-icon-cache") "true")) + #t))))) + (native-inputs + `(("gettext" ,gettext-minimal) + ("gtk-doc" ,gtk-doc) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("yelp-tools" ,yelp-tools))) + (inputs + `(("caja" ,caja) + ("file" ,file) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf+svg) + ("json-glib" ,json-glib) + ("libcanberra" ,libcanberra) + ("libx11" ,libx11) + ("libsm" ,libsm) + ("packagekit" ,packagekit) + ("pango" ,pango))) + (home-page "https://mate-desktop.org/") + (synopsis "Archive Manager for MATE") + (description + "Engrampa is the archive manager for the MATE Desktop.") + (license license:gpl2))) + (define-public mate (package (name "mate") --=20 2.14.2 --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0017-gnu-Add-pluma.patch" Content-Transfer-Encoding: quoted-printable =46rom 8fc87e539642d80e97fb0052f0a8504b6abc9b52 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sun, 17 Sep 2017 20:27:04 +0000 Subject: [PATCH 17/21] gnu: Add pluma. * gnu/packages/mate.scm (pluma): New variable. --- gnu/packages/mate.scm | 53 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 77ffe414f..5d4f51c91 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -35,6 +35,7 @@ #:use-module (gnu packages djvu) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) + #:use-module (gnu packages enchant) #:use-module (gnu packages file) #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) @@ -48,6 +49,7 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) + #:use-module (gnu packages iso-codes) #:use-module (gnu packages javascript) #:use-module (gnu packages libcanberra) #:use-module (gnu packages linux) @@ -1390,6 +1392,57 @@ can be used as backgrounds in the MATE Desktop envir= onment.") "Engrampa is the archive manager for the MATE Desktop.") (license license:gpl2))) =20 +(define-public pluma + (package + (name "pluma") + (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 + "1z0938yiygxipj2a77n9dv8v4253snrc5gbbnarcnim9xba2j3zz")))) + (build-system glib-or-gtk-build-system) + (arguments + `(; Tests can not succeed. + ;; https://github.com/mate-desktop/mate-text-editor/issues/33 + #:tests? #f)) + (native-inputs + `(("gettext" ,gettext-minimal) + ("gtk-doc" ,gtk-doc) + ("gobject-introspection" ,gobject-introspection) + ("intltool" ,intltool) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config) + ("yelp-tools" ,yelp-tools))) + (inputs + `(("atk" ,atk) + ("cairo" ,cairo) + ("enchant" ,enchant) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("gtksourceview" ,gtksourceview) + ("gdk-pixbuf" ,gdk-pixbuf) + ("iso-codes" ,iso-codes) + ("libcanberra" ,libcanberra) + ("libx11" ,libx11) + ("libsm" ,libsm) + ("libpeas" ,libpeas) + ("libxml2" ,libxml2) + ("libice" ,libice) + ("packagekit" ,packagekit) + ("pango" ,pango) + ("python-2" ,python-2) + ("scrollkeeper" ,scrollkeeper))) + (home-page "https://mate-desktop.org/") + (synopsis "Text Editor for MATE") + (description + "Pluma is the text editor for the MATE Desktop.") + (license license:gpl2))) + (define-public mate (package (name "mate") --=20 2.14.2 --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0018-gnu-Add-mate-system-monitor.patch" Content-Transfer-Encoding: quoted-printable =46rom c19e629e92998881f58939af8a27bee95c6bde4e Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sun, 17 Sep 2017 20:41:00 +0000 Subject: [PATCH 18/21] gnu: Add mate-system-monitor. * gnu/packages/mate.scm (mate-system-monitor): New variable. --- gnu/packages/mate.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 5d4f51c91..e21b76351 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1443,6 +1443,47 @@ can be used as backgrounds in the MATE Desktop envir= onment.") "Pluma is the text editor for the MATE Desktop.") (license license:gpl2))) =20 +(define-public mate-system-monitor + (package + (name "mate-system-monitor") + (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 + "1wcvrl4lfnjkhywb311p29prf1qiab6iynb6q1fgfsl6za8hsz48")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("gettext" ,gettext-minimal) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("yelp-tools" ,yelp-tools))) + (inputs + `(("cairo" ,cairo) + ("glib" ,glib) + ("glibmm" ,glibmm) + ("gtkmm" ,gtkmm) + ("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf) + ("libsigc++" ,libsigc++) + ("libcanberra" ,libcanberra) + ("libxml2" ,libxml2) + ("libwnck" ,libwnck) + ("libgtop" ,libgtop) + ("librsvg" ,librsvg) + ("polkit" ,polkit))) + (home-page "https://mate-desktop.org/") + (synopsis "System Monitor for MATE") + (description + "Mate System Monitor provides a tool for for the +MATE Desktop to monitor your system resources and usage.") + (license license:gpl2))) + (define-public mate (package (name "mate") --=20 2.14.2 --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0019-gnu-Add-mate-polkit.patch" Content-Transfer-Encoding: quoted-printable =46rom c0c256e1cce42ddc0e72c0a3dc5bf8dcf97fca5c Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sun, 17 Sep 2017 20:53:10 +0000 Subject: [PATCH 19/21] gnu: Add mate-polkit. * gnu/packages/mate.scm (mate-polkit): New variable. --- gnu/packages/mate.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index e21b76351..36b2d3f05 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1484,6 +1484,40 @@ can be used as backgrounds in the MATE Desktop envir= onment.") MATE Desktop to monitor your system resources and usage.") (license license:gpl2))) =20 +(define-public mate-polkit + (package + (name "mate-polkit") + (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 + "15vf2hnyjg8zsw3iiwjwi497yygkmvpnn6w1hik7dfw4a621w0gc")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("gettext" ,gettext-minimal) + ("gtk-doc" ,gtk-doc) + ("intltool" ,intltool) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (inputs + `(("accountsservice" ,accountsservice) + ("glib" ,glib) + ("gobject-introspection" ,gobject-introspection) + ("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf) + ("polkit" ,polkit))) + (home-page "https://mate-desktop.org/") + (synopsis "DBus specific service for MATE") + (description + "MATE Polkit is a MATE specific DBUS service that is +used to bring up authentication dialogs.") + (license license:lgpl2.1))) + (define-public mate (package (name "mate") --=20 2.14.2 --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0020-gnu-mate-Add-more-packages.patch" Content-Transfer-Encoding: quoted-printable =46rom a44f48f33231304d0fbc79b888f25341f3ebf30b Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 15:08:37 +0000 Subject: [PATCH 20/21] gnu: mate: Add more packages. * gnu/packages/mate.scm (mate)[inputs]: Add "mate-user-guide", "mate-calc",= "mate-backgrounds", "mate-netbook", "hicolor-icon-theme", "mate-utils", "engrampa", "eom", "mat= e-polkit", "mate-system-monitor", "mate-utils", "pluma", "atril". --- gnu/packages/mate.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 36b2d3f05..fde8459f8 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1537,14 +1537,18 @@ used to bring up authentication dialogs.") (inputs ;; TODO: Add more packages `(("at-spi2-core" ,at-spi2-core) + ("atril" ,atril) ("caja" ,caja) ("dbus" ,dbus) ("dconf" ,dconf) ("desktop-file-utils" ,desktop-file-utils) + ("engrampa" ,engrampa) + ("eom" ,eom) ("font-cantarell" ,font-cantarell) ("glib-networking" ,glib-networking) ("gnome-keyring" ,gnome-keyring) ("gvfs" ,gvfs) + ("hicolor-icon-theme" ,hicolor-icon-theme) ("libmatekbd" ,libmatekbd) ("libmateweather" ,libmateweather) ("libmatemixer" ,libmatemixer) @@ -1560,6 +1564,15 @@ used to bring up authentication dialogs.") ("mate-control-center" ,mate-control-center) ("mate-media" ,mate-media) ("mate-applets" ,mate-applets) + ("mate-user-guide" ,mate-user-guide) + ("mate-calc" ,mate-calc) + ("mate-backgrounds" ,mate-backgrounds) + ("mate-netbook" ,mate-netbook) + ("mate-utils" ,mate-utils) + ("mate-polkit" ,mate-polkit) + ("mate-system-monitor" ,mate-system-monitor) + ("mate-utils" ,mate-utils) + ("pluma" ,pluma) ("pinentry-gnome3" ,pinentry-gnome3) ("pulseaudio" ,pulseaudio) ("shared-mime-info" ,shared-mime-info) --=20 2.14.2 --jxe5xgefb4k5mxvl Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0021-gnu-services-Add-MATE-desktop-service.patch" Content-Transfer-Encoding: quoted-printable =46rom 34df014a462b92f1426b759e1397ceb3feae3719 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Fri, 29 Sep 2017 10:06:51 +0000 Subject: [PATCH 21/21] gnu: services: Add MATE desktop service. * gnu/services/desktop.scm (, mate-desktop-service-type): New variable. (mate-desktop-service): New public variable. * doc/guix.texi (Desktop Services): Document the service. --- doc/guix.texi | 26 +++++++++++++++++++------- gnu/services/desktop.scm | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 7 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 7b5b71179..62dca565a 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -26,7 +26,7 @@ Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} 2016 Chris Marusich@* Copyright @copyright{} 2016, 2017 Efraim Flashner@* Copyright @copyright{} 2016 John Darrington@* -Copyright @copyright{} 2016 ng0@* +Copyright @copyright{} 2016, 2017 ng0@* Copyright @copyright{} 2016, 2017 Jan Nieuwenhuizen@* Copyright @copyright{} 2016 Julien Lepiller@* Copyright @copyright{} 2016 Alex ter Weele@* @@ -11783,7 +11783,7 @@ The @code{(gnu services desktop)} module provides s= ervices that are usually useful in the context of a ``desktop'' setup---that is, on a machine running a graphical display server, possibly with graphical user interfaces, etc. It also defines services that provide specific desktop -environments like GNOME and XFCE. +environments like GNOME, XFCE or MATE. =20 To simplify things, the module defines a variable containing the set of services that users typically expect on a machine with a graphical @@ -11808,9 +11808,10 @@ The @var{%desktop-services} variable can be used a= s the @code{services} field of an @code{operating-system} declaration (@pxref{operating-system Reference, @code{services}}). =20 -Additionally, the @code{gnome-desktop-service} and -@code{xfce-desktop-service} procedures can add GNOME and/or XFCE to a -system. To ``add GNOME'' means that system-level services like the +Additionally, the @code{gnome-desktop-service}, +@code{xfce-desktop-service} and @code{mate-desktop-service} +procedures can add GNOME, XFCE and/or MATE to a system. +To ``add GNOME'' means that system-level services like the backlight adjustment helpers and the power management utilities are added to the system, extending @code{polkit} and @code{dbus} appropriately, allowing GNOME to operate with elevated privileges on a @@ -11821,6 +11822,11 @@ not only adds the @code{xfce} metapackage to the s= ystem profile, but it also gives the Thunar file manager the ability to open a ``root-mode'' file management window, if the user authenticates using the administrator's password via the standard polkit graphical interface. +To ``add MATE'' means that @code{polkit} and @code{dbus} are extended +appropriately, allowing MATE to operate with elevated privileges on a +limited number of special-purpose system interfaces. Additionally, +adding a service made by @code{mate-desktop-service} adds the MATE +metapackage to the system profile. =20 @deffn {Scheme Procedure} gnome-desktop-service Return a service that adds the @code{gnome} package to the system @@ -11835,9 +11841,15 @@ file system as root from within a user session, af= ter the user has authenticated with the administrator's password. @end deffn =20 -Because the GNOME and XFCE desktop services pull in so many packages, +@deffn {Scheme Procedure} mate-desktop-service +Return a service that adds the @code{mate} package to the system +profile, and extends polkit with the actions from +@code{mate-settings-daemon}. +@end deffn + +Because the GNOME, XFCE and MATE desktop services pull in so many packages, the default @code{%desktop-services} variable doesn't include either of -them by default. To add GNOME or XFCE, just @code{cons} them onto +them by default. To add GNOME, XFCE orMATE, just @code{cons} them onto @code{%desktop-services} in the @code{services} field of your @code{operating-system}: =20 diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 527a3101c..ff72d1841 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -4,6 +4,7 @@ ;;; Copyright =C2=A9 2015 Mark H Weaver ;;; Copyright =C2=A9 2016 Sou Bunnbu ;;; Copyright =C2=A9 2017 Maxim Cournoyer +;;; Copyright =C2=A9 2017 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -42,6 +43,7 @@ #:use-module (gnu packages suckless) #:use-module (gnu packages linux) #:use-module (gnu packages libusb) + #:use-module (gnu packages mate) #:use-module (guix records) #:use-module (guix packages) #:use-module (guix store) @@ -82,6 +84,11 @@ gnome-desktop-service gnome-desktop-service-type =20 + mate-desktop-configuration + mate-desktop-configuration? + mate-desktop-service + mate-desktop-service-type + xfce-desktop-configuration xfce-desktop-configuration? xfce-desktop-service @@ -798,6 +805,32 @@ accountsservice web site} for more information." and extends polkit with the actions from @code{gnome-settings-daemon}." (service gnome-desktop-service-type config)) =20 +;; MATE Desktop service. +;; TODO: Add mate-screensaver. + +(define-record-type* mate-desktop-configurati= on + make-mate-desktop-configuration + mate-desktop-configuration + (mate-package mate-package (default mate))) + +(define mate-desktop-service-type + (service-type + (name 'mate-desktop) + (extensions + (list (service-extension polkit-service-type + (compose list + (package-direct-input-selector + "mate-settings-daemon") + mate-package)) + (service-extension profile-service-type + (compose list + mate-package)))))) + +(define* (mate-desktop-service #:key (config (mate-desktop-configuration))) + "Return a service that adds the @code{mate} package to the system profil= e, +and extends polkit with the actions from @code{mate-settings-daemon}." + (service mate-desktop-service-type config)) + =0C ;;; ;;; XFCE desktop service. --=20 2.14.2 --jxe5xgefb4k5mxvl-- --satfidk3mmvnmv4v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlnZXusACgkQ4i+bv+40 hYg6ZRAAjM0uPCEdnhHbRvU6oh86OwqzmmqWGKk4uKj1zlP/3IagZsmRi2XeiSXD LafZbUD0OsrY04/1ORmGAQw5aOZBdpco32xZSpBUwYsf1ZVhheStjBdIM2AyeFiy NvBswdwq+ZSH4hRpurnQdQLCJNMHi4fT55AEjEwuJpynbegHllRgRkeWhHzFoww9 HtjzaqRjIt3YYq7Riq0cJXNzhfSxHnKV0QWooXcgrbqSTP4eGaalpvaGCF3y1ONM l+utTgVh1e9O6BasZW5wfbCS+2cirOqxTNQ7Iwzwhu4WmM5CA2P4cs1gPrcmqm0o 5xR4FxzTEK4KtKS1M14Syy5IjjUAtWygSbRo9WCTOw9WRCWXrA8c7EjbiQNYPOiw gEs1I2Gq1MyFlCv3cqwVIt+iMPMFhXJW71SnJRuqPsTDXNMD7jx+ZS6VIQSWgB04 pqvMhCIon+g9V+KHFHjR5/Vx0u6Wx67xkmXnn6lQ9qVOw4HgFmwjgS6g9ol3nFrr IEpyWoKjJI+7Fh+Y6MzrYuOyKWc/xN0VwglwmjrlucxN2LnVH95Qh8sdg69L7rq3 F6AXm5pp8QofmYBMFxBdIgqa7GD58Q0FjbYQUZK42l0cbe7QpFyJAv0JV8XHo7m8 tCtf8vUOKGC5cQykh0UAwR9vQeQyVUDV9ZQI1eXSQvE0qhDGNFc= =0RES -----END PGP SIGNATURE----- --satfidk3mmvnmv4v-- From unknown Mon Aug 18 11:33:13 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#28733] Mate Desktop Resent-From: ng0 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 02 Nov 2017 19:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28733 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 28733@debbugs.gnu.org Received: via spool by 28733-submit@debbugs.gnu.org id=B28733.150965014220540 (code B ref 28733); Thu, 02 Nov 2017 19:16:02 +0000 Received: (at 28733) by debbugs.gnu.org; 2 Nov 2017 19:15:42 +0000 Received: from localhost ([127.0.0.1]:48266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eAKxq-0005LE-FY for submit@debbugs.gnu.org; Thu, 02 Nov 2017 15:15:42 -0400 Received: from aibo.runbox.com ([91.220.196.211]:53134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eAKxo-0005L6-W0 for 28733@debbugs.gnu.org; Thu, 02 Nov 2017 15:15:41 -0400 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1eAKxm-0007p5-SM for 28733@debbugs.gnu.org; Thu, 02 Nov 2017 20:15:38 +0100 Received: from [109.236.90.209] (helo=localhost) by mailfront10.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1eAKx8-0003TG-TT for 28733@debbugs.gnu.org; Thu, 02 Nov 2017 20:14:59 +0100 Date: Thu, 2 Nov 2017 19:14:57 +0000 From: ng0 Message-ID: <20171102191457.h5frtd63yvafccfk@abyayala> References: <20171007162134.mgk6yj7f7ho7ogf3@abyayala> <20171007231035.tdcqhmkjnrviuvmw@abyayala> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ica4qzcajb6on2ow" Content-Disposition: inline In-Reply-To: <20171007231035.tdcqhmkjnrviuvmw@abyayala> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --ica4qzcajb6on2ow Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable ng0 transcribed 60K bytes: > I forgot to add the changes to gnu/services/desktop.scm, > they are now included in this version. A comment on this series: All the "applications" work. The service works, but I need some fresh eyes on debugging the screensaver package (it would be super nice to have screenlocking without locking users out (disabled for now)). Furthermore I have no experience with our systemd replacement and how it is supposed to be integrated into applications, given that I get messages in the syslog about my attempt and its failed configuration, I need help: Nov 2 07:35:40 localhost mate-session[546]: WARNING: Could not connect to = ConsoleKit: Could not get owner of name 'org.freedesktop.ConsoleKit': no su= ch name=20 Nov 2 07:35:40 localhost last message repeated 3 times Nov 2 07:40:58 localhost mate-session[546]: WARNING: Could not connect to = ConsoleKit: Could not get owner of name 'org.freedesktop.ConsoleKit': no su= ch name=20 Nov 2 07:41:22 localhost mate-session[546]: WARNING: Could not connect to = ConsoleKit: Could not get owner of name 'org.freedesktop.ConsoleKit': no su= ch name=20 Yep, I know it's not ConsoleKit, I modified their canonical "--enable-syste= md" to "--enable-elogind". --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://dist.ng0.infotropique.org/dist/keys/ https://www.infotropique.org https://ng0.infotropique.org --ica4qzcajb6on2ow Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAln7brEACgkQ4i+bv+40 hYggdw/+Prh5O3zE4tuwBloie37snwWVmQB7MAfJoCESUjXJD2P+dN0bqcWW6HFu pGMOqObWaIUBlqyX0n+B0Tp6lTOrKd9AxSa6pGge0iRFn0LqunOVX4FmEVR1QgO6 MjYQdws/Qj1BPWGwnzIS2HeJG7YCrv1Lmdly/6I4ATELP7FmBYW3dsj/YTQxBKMe DreD4tqwxIj77ulNgG2n3n3UnTX9dGRJWRRAUUghd52YG3xw78o8XHeD+KevdQX5 2f03HuEGhZ+P70IJGuuhCdc7y9/6ppxFQMR1TAYViI3d7gDD+z9uquLKZLahiA78 +NH44JzURKNH/Nv/zktPiHHYpHwm0dCrj+ypiSQXRVWsnoREAYuoZgV2wd0zaZlJ fPPfqOaA2IPivt8BIOtXC4H0uZMC7EsAOZVA58lpDGTAMMTrdY9ZNslTJLUdmTrV s7MIBx/DEriBZnLjfQSshg+XDQmkizB/ZOgaW8vyI5XvyS7uBcy26ntx94D9bhse 70r7hH3XljBgi4My5KKoaaBKkR6PeB6X6zhF5IfmIRd8x9y1To0raiLfN5shoCOR JnOuovTCVJVPNRvpzd3eyJCLrfcw783rQfwFNaMNeEGyFAXSC5DXl9v83vvUQEwM Nsq64lC3NxOLzRqexuONeyHSHnQkeQ8MzOvytVa3AH38VpoPORE= =gbZY -----END PGP SIGNATURE----- --ica4qzcajb6on2ow-- From unknown Mon Aug 18 11:33:13 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#28733] Mate Desktop Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 30 Dec 2017 22:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28733 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: ng0 Cc: 28733@debbugs.gnu.org Received: via spool by 28733-submit@debbugs.gnu.org id=B28733.15146712324125 (code B ref 28733); Sat, 30 Dec 2017 22:01:01 +0000 Received: (at 28733) by debbugs.gnu.org; 30 Dec 2017 22:00:32 +0000 Received: from localhost ([127.0.0.1]:58195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eVPBA-00014S-CJ for submit@debbugs.gnu.org; Sat, 30 Dec 2017 17:00:32 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:55864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eVPB8-00014J-6Y for 28733@debbugs.gnu.org; Sat, 30 Dec 2017 17:00:30 -0500 Received: from localhost (178.113.228.174.wireless.dyn.drei.com [178.113.228.174]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 587473360172; Sat, 30 Dec 2017 23:00:28 +0100 (CET) Date: Sat, 30 Dec 2017 23:00:25 +0100 From: Danny Milosavljevic Message-ID: <20171230230025.560791db@scratchpost.org> In-Reply-To: <20171102191457.h5frtd63yvafccfk@abyayala> References: <20171007162134.mgk6yj7f7ho7ogf3@abyayala> <20171007231035.tdcqhmkjnrviuvmw@abyayala> <20171102191457.h5frtd63yvafccfk@abyayala> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi ng0, thanks for the patches. I've applied them to master. I'm keeping this report open for the screensaver package fixes. It would be possible to package ConsoleKit and use it - but I don't think that it's maintained anymore. From unknown Mon Aug 18 11:33:13 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: ng0 Subject: bug#28733: closed (Re: [bug#28733] Mate Desktop) Message-ID: References: <20180305083549.zpht4i6vghzgn2xs@abyayala> <20171007162134.mgk6yj7f7ho7ogf3@abyayala> X-Gnu-PR-Message: they-closed 28733 X-Gnu-PR-Package: guix-patches Reply-To: 28733@debbugs.gnu.org Date: Mon, 05 Mar 2018 08:36:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1520238962-26856-1" This is a multi-part message in MIME format... ------------=_1520238962-26856-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #28733: Mate Desktop which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 28733@debbugs.gnu.org. --=20 28733: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D28733 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1520238962-26856-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 28733-done) by debbugs.gnu.org; 5 Mar 2018 08:35:49 +0000 Received: from localhost ([127.0.0.1]:45046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eslb3-0006yk-Ay for submit@debbugs.gnu.org; Mon, 05 Mar 2018 03:35:49 -0500 Received: from aibo.runbox.com ([91.220.196.211]:34602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eslaz-0006ya-Ae for 28733-done@debbugs.gnu.org; Mon, 05 Mar 2018 03:35:46 -0500 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1eslax-00070H-Ms; Mon, 05 Mar 2018 09:35:43 +0100 Received: from dslb-088-078-083-007.088.078.pools.vodafone-ip.de ([88.78.83.7] helo=localhost) by mailfront10.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1eslar-0003GY-DK; Mon, 05 Mar 2018 09:35:37 +0100 Date: Mon, 5 Mar 2018 08:35:49 +0000 From: ng0 To: Danny Milosavljevic Subject: Re: [bug#28733] Mate Desktop Message-ID: <20180305083549.zpht4i6vghzgn2xs@abyayala> References: <20171007162134.mgk6yj7f7ho7ogf3@abyayala> <20171007231035.tdcqhmkjnrviuvmw@abyayala> <20171102191457.h5frtd63yvafccfk@abyayala> <20171230230025.560791db@scratchpost.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5gej3cliumptpduu" Content-Disposition: inline In-Reply-To: <20171230230025.560791db@scratchpost.org> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 28733-done Cc: 28733-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --5gej3cliumptpduu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Danny Milosavljevic transcribed 237 bytes: > Hi ng0, >=20 > thanks for the patches. I've applied them to master. >=20 > I'm keeping this report open for the screensaver package fixes. >=20 > It would be possible to package ConsoleKit and use it - but I don't think= that it's maintained anymore. >=20 >=20 >=20 >=20 I think it's better to close this bug. The screensaver locker feature is no= t enabled at the moment and there are a couple more features in other packages which = need to be integrated. Bug closed. --=20 A88C8ADD129828D7EAC02E52E22F9BBFEE348588 https://n0.is/~ng0 --5gej3cliumptpduu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlqdAWUACgkQ4i+bv+40 hYi5eQ//Yxml58h1M3zlIjbKN07gMlYqLqvSAThECqtW2LK31UPTYVqz14CzJ6+l 9HOTxHmgkZ8wZyhE/M20sDA+XPNgiweeC7rU/7bqltLy6QC2pUPWomQYCPz0h41x IhX+A4J5GHseQSBaPaatVewdlVqOPVRx+idZub5xDJrObkseSKJtt8BqCnj4SkGv obOqOur4dbPat2Tn8svZDEobzkvLTYS8DaNAt+rFAoiGY8/IeJpHafCbSyi9iWPQ dUxkxour4saq/o1tyqvkM8cVPjrbU7VgOgdR0ZBnRzevrFGSeDxIGMowPhEXkp+Y PDD5xPfXFMAICgopwEoL8yU3JNIQ9A4zGqHpp8Td7sCIrQ+L6RYrhdTSuskRwcvk APhcA5OMOrBX4tqv2WcsHIO+HDexZZycgvzB0Wlsp1jhaQUAeUPdJjw+vlkKyw0X 8axeCytzFXC3bccdPvy0VjvmdoW5+qo7XjU3bzSa+FkMVABijeb+oWV87BTc7gjQ lw+sshjtl6WTeQSoJ6dZTA+JXw+8EG7qIo3b7gPv5XffPR9ubSUEr4rULBgtYVdy EKMLfUi4m5EjzD++ydh79gKpuVYy3J/D5fOHQ3fl4J0KHgmfVZHvsJm8/iZGZHL1 p2AezroIE5YK9APNWpN+UeFQSFdSBXA0HDv5WrEXZnVY+ocJoQM= =0int -----END PGP SIGNATURE----- --5gej3cliumptpduu-- ------------=_1520238962-26856-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Oct 2017 16:22:36 +0000 Received: from localhost ([127.0.0.1]:54882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0rrv-0004pV-SH for submit@debbugs.gnu.org; Sat, 07 Oct 2017 12:22:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0rrn-0004pC-Iy for submit@debbugs.gnu.org; Sat, 07 Oct 2017 12:22:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0rrc-0008CX-T9 for submit@debbugs.gnu.org; Sat, 07 Oct 2017 12:22:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.5 required=5.0 tests=BAYES_50,URIBL_BLACK autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33408) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e0rrc-0008CD-Jx for submit@debbugs.gnu.org; Sat, 07 Oct 2017 12:22:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0rrW-0004ji-TJ for guix-patches@gnu.org; Sat, 07 Oct 2017 12:22:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0rrR-00082m-1L for guix-patches@gnu.org; Sat, 07 Oct 2017 12:22:02 -0400 Received: from aibo.runbox.com ([91.220.196.211]:37082) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e0rrQ-00081u-1J for guix-patches@gnu.org; Sat, 07 Oct 2017 12:21:56 -0400 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1e0rrN-0002pj-O8 for guix-patches@gnu.org; Sat, 07 Oct 2017 18:21:53 +0200 Received: from strasbourg.tor-exit-node.mxmla.de ([167.114.251.167] helo=localhost) by mailfront11.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1e0rr8-00039k-Cu for guix-patches@gnu.org; Sat, 07 Oct 2017 18:21:47 +0200 Date: Sat, 7 Oct 2017 16:21:34 +0000 From: ng0 To: guix-patches@gnu.org Subject: Mate Desktop Message-ID: <20171007162134.mgk6yj7f7ho7ogf3@abyayala> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3eb4cak4ue4t5qcz" Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The appended patch series appended for review adds an almost feature-complete Mate Desktop, including a mate-desktop-service. There are persistent problems with mate-screensaver, if you use the locking function you will be locked out and can't log back in. I'm happy for any help with this, I think it's a worthy addition to have. I had some elogind specific changes in the package but it didn't help, even when the right binary in libexec was setuid'ed. [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist [URIs: autogen.sh] --3eb4cak4ue4t5qcz Content-Type: multipart/mixed; boundary="wknejrifm3x34htk" Content-Disposition: inline --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable The appended patch series appended for review adds an almost feature-complete Mate Desktop, including a mate-desktop-service. There are persistent problems with mate-screensaver, if you use the locking function you will be locked out and can't log back in. I'm happy for any help with this, I think it's a worthy addition to have. I had some elogind specific changes in the package but it didn't help, even when the right binary in libexec was setuid'ed. I've been using these patches since the first Mate patches were merged into our master. The only change I didn't test was the removal of the screensaver from the desktop service, but it should just work (updates are building here right now). I should probably add the two links to upstream wishlist-bugs that I filed. --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://krosos.org/dist/keys/ https://www.infotropique.org https://krosos.org --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-mate.scm-Order-imported-modules-alphabetically.patch" Content-Transfer-Encoding: quoted-printable =46rom 643759c30c2699605d2ae50226507078f17f4e71 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Thu, 14 Sep 2017 17:30:40 +0000 Subject: [PATCH 01/21] gnu: mate.scm: Order imported modules alphabetically. * gnu/packages/mate.scm: Order imported modules alphabetically. --- gnu/packages/mate.scm | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 91489ba91..ea4c8aecc 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -27,28 +27,28 @@ #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system trivial) #:use-module (gnu packages) - #:use-module (gnu packages pkg-config) - #:use-module (gnu packages freedesktop) - #:use-module (gnu packages fontutils) + #:use-module (gnu packages base) + #:use-module (gnu packages docbook) + #:use-module (gnu packages documentation) #:use-module (gnu packages fonts) - #:use-module (gnu packages libcanberra) - #:use-module (gnu packages linux) - #:use-module (gnu packages glib) - #:use-module (gnu packages gtk) + #:use-module (gnu packages fontutils) + #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) + #:use-module (gnu packages glib) #:use-module (gnu packages gnome) - #:use-module (gnu packages docbook) #:use-module (gnu packages gnupg) #:use-module (gnu packages gnuzilla) - #:use-module (gnu packages xorg) - #:use-module (gnu packages documentation) - #:use-module (gnu packages xdisorg) - #:use-module (gnu packages base) - #:use-module (gnu packages xml) + #:use-module (gnu packages gtk) + #:use-module (gnu packages libcanberra) + #:use-module (gnu packages linux) + #:use-module (gnu packages pkg-config) #:use-module (gnu packages photo) #:use-module (gnu packages polkit) #:use-module (gnu packages pulseaudio) - #:use-module (gnu packages python)) + #:use-module (gnu packages python) + #:use-module (gnu packages xdisorg) + #:use-module (gnu packages xml) + #:use-module (gnu packages xorg)) =20 (define-public mate-icon-theme (package --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0002-gnu-Add-mate-user-guide.patch" Content-Transfer-Encoding: quoted-printable =46rom 6888a2d36cc962bcd7799499306be402559dfa81 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 09:55:16 +0000 Subject: [PATCH 02/21] gnu: Add mate-user-guide. * gnu/packages/mate.scm (mate-user-guide): New variable. --- gnu/packages/mate.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index ea4c8aecc..eeb5eb161 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -754,6 +754,46 @@ 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+))) =20 +(define-public mate-user-guide + (package + (name "mate-user-guide") + (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 + "0f3b46r9a3cywm7rpj08xlkfnlfr9db58xfcpix8i33qp50fxqmb")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'adjust-desktop-file + (lambda* (#:key inputs #:allow-other-keys) + (let* ((yelp (assoc-ref inputs "yelp"))) + (substitute* "mate-user-guide.desktop.in.in" + (("yelp") + (string-append yelp "/bin/yelp")))) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("intltool" ,intltool) + ("gettext" ,gettext-minimal) + ("yelp-tools" ,yelp-tools) + ("yelp-xsl" ,yelp-xsl))) + (inputs + `(("yelp" ,yelp))) + (home-page "https://mate-desktop.org/") + (synopsis "User Documentation for Mate software") + (description + "MATE User Guide is a collection of documentation which details +general use of the MATE Desktop environment. Topics covered include +sessions, panels, menus, file management, and preferences.") + (license (list license:fdl1.1+ license:gpl2+)))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0003-gnu-mate-session-manager-Configure-with-with-elogind.patch" Content-Transfer-Encoding: quoted-printable =46rom 0461a8b00eb2bc1a59949e269ef9c2194b979b27 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 30 Sep 2017 21:44:52 +0000 Subject: [PATCH 03/21] gnu: mate-session-manager: Configure with with elogi= nd support. * gnu/packages/mate.scm (mate-session-manager)[arguments]: Add '--enable-el= ogind' to configure-flags. (phases): Add 'pre-configure' phase. --- gnu/packages/mate.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index eeb5eb161..409ca570f 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -235,6 +235,29 @@ configurations (profiles).") (base32 "0i0xq6041x2qmb26x9bawx0qpfkgjn6x9w3phnm9s7rc4s0z20ll")))) (build-system glib-or-gtk-build-system) + (arguments + `(#:configure-flags (list "--enable-elogind" + "--disable-schemas-compile") + #:phases + (modify-phases %standard-phases + (add-before 'configure 'pre-configure + (lambda* (#:key outputs #:allow-other-keys) + ;; Use elogind instead of systemd. + (substitute* "configure" + (("libsystemd-login") + "libelogind") + (("systemd") "elogind")) + (substitute* "mate-session/gsm-systemd.c" + (("#include ") + "#include ")) + ;; Remove uses of the systemd journal. + (substitute* "mate-session/main.c" + (("#ifdef HAVE_SYSTEMD") "#if 0")) + (substitute* "mate-session/gsm-manager.c" + (("#ifdef HAVE_SYSTEMD") "#if 0")) + (substitute* "mate-session/gsm-autostart-app.c" + (("#ifdef HAVE_SYSTEMD") "#if 0")) + #t))))) (native-inputs `(("pkg-config" ,pkg-config) ("intltool" ,intltool) @@ -243,6 +266,7 @@ configurations (profiles).") (inputs `(("gtk+" ,gtk+) ("dbus-glib" ,dbus-glib) + ("elogind" ,elogind) ("libsm" ,libsm) ("mate-desktop" ,mate-desktop))) (home-page "https://mate-desktop.org/") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0004-gnu-Add-caja-extensions.patch" Content-Transfer-Encoding: quoted-printable =46rom 1f6589fdab13e7c72da09c08032d4ca8a3090ffc Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Fri, 15 Sep 2017 12:05:08 +0000 Subject: [PATCH 04/21] gnu: Add caja-extensions. * gnu/packages/mate.scm (caja-extensions): New variable. --- gnu/packages/mate.scm | 58 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 58 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 409ca570f..1199b405a 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -27,6 +27,7 @@ #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system trivial) #:use-module (gnu packages) + #:use-module (gnu packages attr) #:use-module (gnu packages base) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) @@ -39,8 +40,10 @@ #:use-module (gnu packages gnupg) #:use-module (gnu packages gnuzilla) #:use-module (gnu packages gtk) + #:use-module (gnu packages imagemagick) #:use-module (gnu packages libcanberra) #:use-module (gnu packages linux) + #:use-module (gnu packages messaging) #:use-module (gnu packages pkg-config) #:use-module (gnu packages photo) #:use-module (gnu packages polkit) @@ -662,6 +665,61 @@ icons on the MATE desktop. It works on local and remo= te filesystems.") ;; for us. (license license:gpl2+))) =20 +(define-public caja-extensions + (package + (name "caja-extensions") + (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 + "0hgala7zkfsa60jflq3s4n9yd11dhfdcla40l83cmgc3r1az7cmw")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:configure-flags (list "--enable-sendto" + ;; TODO: package "gupnp" to enable 'upnp', = package + ;; "gksu" to enable 'gksu'. + (string-append "--with-sendto-plugins=3Drem= ovable-devices," + "caja-burn,emailclient,pidgi= n,gajim") + "--enable-image-converter" + "--enable-open-terminal" "--enable-share" + "--enable-wallpaper" "--enable-xattr-tags" + (string-append "--with-cajadir=3D" + (assoc-ref %outputs "out") + "/lib/caja/extensions-2.0/")= ))) + (native-inputs + `(("intltool" ,intltool) + ("gettext" ,gettext-minimal) + ("glib:bin" ,glib "bin") + ("gobject-introspection" ,gobject-introspection) + ("gtk-doc" ,gtk-doc) + ("pkg-config" ,pkg-config))) + (inputs + `(("attr" ,attr) + ("brasero" ,brasero) + ("caja" ,caja) + ("dbus" ,dbus) + ("dbus-glib" ,dbus-glib) + ("gajim" ,gajim) ;runtime only? + ("gtk+" ,gtk+) + ("imagemagick" ,imagemagick) + ("graphicsmagick" ,graphicsmagick) + ("mate-desktop" ,mate-desktop) + ("pidgin" ,pidgin) ;runtime only? + ("startup-notification" ,startup-notification))) + (home-page "https://mate-desktop.org/") + (synopsis "Extensions for the File manager Caja") + (description + "Caja is the official file manager for the MATE desktop. +It allows for browsing directories, as well as previewing files and launch= ing +applications associated with them. Caja is also responsible for handling = the +icons on the MATE desktop. It works on local and remote filesystems.") + (license license:gpl2+))) + (define-public mate-control-center (package (name "mate-control-center") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0005-gnu-caja-Add-native-search-paths.patch" Content-Transfer-Encoding: quoted-printable =46rom bbc1a9ab4377c41ff519468bb03b2f80f2a43e9f Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Fri, 15 Sep 2017 12:07:21 +0000 Subject: [PATCH 05/21] gnu: caja: Add native-search-paths. * gnu/packages/mate.scm (caja)[native-search-paths]: Add it. --- gnu/packages/mate.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 1199b405a..274fe17e4 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -653,6 +653,10 @@ infamous 'Wanda the Fish'.") ("libxml2" ,libxml2) ("mate-desktop" ,mate-desktop) ("startup-notification" ,startup-notification))) + (native-search-paths + (list (search-path-specification + (variable "CAJA_EXTENSIONDIR") + (files (list "lib/caja/extensions-2.0/**"))))) (home-page "https://mate-desktop.org/") (synopsis "File manager for the MATE desktop") (description --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0006-gnu-Add-atril.patch" Content-Transfer-Encoding: quoted-printable =46rom 8d2b3c6241b8dd1b83da4e8678f15a154c1d8b7f Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Thu, 14 Sep 2017 19:28:15 +0000 Subject: [PATCH 06/21] gnu: Add atril. * gnu/packages/mate.scm (atril): New variable. --- gnu/packages/mate.scm | 115 ++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 115 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 274fe17e4..f25eb8dd9 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -28,27 +28,37 @@ #:use-module (guix build-system trivial) #:use-module (gnu packages) #:use-module (gnu packages attr) + #:use-module (gnu packages backup) #:use-module (gnu packages base) + #:use-module (gnu packages compression) + #:use-module (gnu packages djvu) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gettext) + #:use-module (gnu packages ghostscript) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gnupg) #:use-module (gnu packages gnuzilla) #:use-module (gnu packages gtk) + #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) + #:use-module (gnu packages javascript) #:use-module (gnu packages libcanberra) #:use-module (gnu packages linux) #:use-module (gnu packages messaging) + #:use-module (gnu packages nettle) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages pdf) #:use-module (gnu packages photo) #:use-module (gnu packages polkit) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) + #:use-module (gnu packages tex) + #:use-module (gnu packages webkit) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg)) @@ -610,6 +620,111 @@ the Window List, the Window Selector, the Notificatio= n Area, the Clock and the infamous 'Wanda the Fish'.") (license (list license:gpl2+ license:lgpl2.0+)))) =20 +(define-public atril + (package + (name "atril") + (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 + "1wl332v80c0nzz7nw36d1pfmbiibvl3l0i4d25ihg6mg9wbc0145")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:configure-flags (list (string-append "--with-openjpeg=3D" + (assoc-ref %build-inputs "op= enjpeg")) + "--enable-introspection" + "--with-gtk=3D3.0" + "--disable-schemas-compile" + ;; FIXME: Enable build of Caja extensions. + "--disable-caja") + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-mathjax-path + (lambda _ + (let* ((mathjax (assoc-ref %build-inputs "js-mathjax")) + (mathjax-path (string-append mathjax + "/share/javascript/mathja= x"))) + (substitute* "backend/epub/epub-document.c" + (("/usr/share/javascript/mathjax") + mathjax-path))) + #t)) + (add-after 'unpack 'fix-introspection-install-dir + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* '("configure") + (("\\$\\(\\$PKG_CONFIG --variable=3Dgirdir gobject-intros= pection-1.0\\)") + (string-append "\"" out "/share/gir-1.0/\"")) + (("\\$\\(\\$PKG_CONFIG --variable=3Dtypelibdir gobject-in= trospection-1.0\\)") + (string-append out "/lib/girepository-1.0/"))) + #t))) + (add-before 'install 'skip-gtk-update-icon-cache + ;; Don't create 'icon-theme.cache'. + (lambda _ + (substitute* "data/Makefile" + (("gtk-update-icon-cache") "true")) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("intltool" ,intltool) + ("itstool" ,itstool) + ("yelp-tools" ,yelp-tools) + ("glib:bin" ,glib "bin") + ("gobject-introspection" ,gobject-introspection) + ("gtk-doc" ,gtk-doc) + ("xmllint" ,libxml2) + ("zlib" ,zlib))) + (inputs + `(("atk" ,atk) + ("cairo" ,cairo) + ("caja" ,caja) + ("dconf" ,dconf) + ("dbus" ,dbus) + ("dbus-glib" ,dbus-glib) + ("djvulibre" ,djvulibre) + ("fontconfig" ,fontconfig) + ("freetype" ,freetype) + ("ghostscript" ,ghostscript) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("js-mathjax" ,js-mathjax) + ("libcanberra" ,libcanberra) + ("libsecret" ,libsecret) + ("libspectre" ,libspectre) + ("libtiff" ,libtiff) + ("libx11" ,libx11) + ("libice" ,libice) + ("libsm" ,libsm) + ("libgxps" ,libgxps) + ("libjpeg" ,libjpeg) + ("libxml2" ,libxml2) + ("dogtail" ,python2-dogtail) + ("shared-mime-info" ,shared-mime-info) + ("gdk-pixbuf" ,gdk-pixbuf) + ("gsettings-desktop-schemas" ,gsettings-desktop-schemas) + ("libgnome-keyring" ,libgnome-keyring) + ("libarchive" ,libarchive) + ("marco" ,marco) + ("nettle" ,nettle) + ("openjpeg" ,openjpeg-1) + ("pango" ,pango) + ;;("texlive" ,texlive) + ;; TODO: + ;; Build libkpathsea as a shared library for DVI support. + ;; ("libkpathsea" ,texlive-bin) + ("poppler" ,poppler) + ("webkitgtk" ,webkitgtk))) + (home-page "https://mate-desktop.org") + (synopsis "Document viewer for Mate") + (description + "Document viewer for Mate") + (license license:gpl2))) + (define-public caja (package (name "caja") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0007-gnu-Add-mate-calc.patch" Content-Transfer-Encoding: quoted-printable =46rom 178f5ca698e76a0565e303db54820d1713b69a54 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 11:05:02 +0000 Subject: [PATCH 07/21] gnu: Add mate-calc. * gnu/packages/mate.scm (mate-calc): New variable. --- gnu/packages/mate.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index f25eb8dd9..484fd373d 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -995,6 +995,38 @@ general use of the MATE Desktop environment. Topics c= overed include sessions, panels, menus, file management, and preferences.") (license (list license:fdl1.1+ license:gpl2+)))) =20 +(define-public mate-calc + (package + (name "mate-calc") + (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 + "0qfs6kx2nymbn6j3mnzgvk8p54ghc78jslsf4wjqsdq021qyl0ly")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("gettext" ,gettext-minimal) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("yelp-tools" ,yelp-tools))) + (inputs + `(("atk" ,atk) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("libxml2" ,libxml2) + ("libcanberra" ,libcanberra) + ("pango" ,pango))) + (home-page "https://mate-desktop.org/") + (synopsis "Calculator for MATE") + (description + "Mate Calc is the GTK+ calculator application for the MATE Desktop.") + (license license:gpl2+))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0008-gnu-Add-mate-backgrounds.patch" Content-Transfer-Encoding: quoted-printable =46rom ba1a136818cc954107ea9551d51b2114d765874c Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 11:13:27 +0000 Subject: [PATCH 08/21] gnu: Add mate-backgrounds. * gnu/packages/mate.scm (mate-backgrounds): New variable. --- gnu/packages/mate.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 484fd373d..3c65c8614 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1027,6 +1027,29 @@ sessions, panels, menus, file management, and prefer= ences.") "Mate Calc is the GTK+ calculator application for the MATE Desktop.") (license license:gpl2+))) =20 +(define-public mate-backgrounds + (package + (name "mate-backgrounds") + (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 + "06q8ksjisijps2wn959arywsimhzd3j35mqkr048c26ck24d60zi")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("intltool" ,intltool))) + (home-page "https://mate-desktop.org/") + (synopsis "Calculator for MATE") + (description + "MATE backgrounds package contains a collection of graphics files whi= ch +can be used as backgrounds in the MATE Desktop environment.") + (license license:gpl2+))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0009-gnu-Add-mate-common.patch" Content-Transfer-Encoding: quoted-printable =46rom 121f284fcdabca9d1bdd1a1bed69d9b4528288a8 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 11:36:30 +0000 Subject: [PATCH 09/21] gnu: Add mate-common. * gnu/packages/mate.scm (mate-common): New variable. --- gnu/packages/mate.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 3c65c8614..55b072b19 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -63,6 +63,27 @@ #:use-module (gnu packages xml) #:use-module (gnu packages xorg)) =20 +(define-public mate-common + (package + (name "mate-common") + (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 + "1005laf3z1h8qczm7pmwr40r842665cv6ykhjg7r93vldra48z6p")))) + (build-system gnu-build-system) + (home-page "https://mate-desktop.org/") + (synopsis "Common files for development of MATE packages") + (description + "Mate Common includes common files and macros used by +MATE applications.") + (license license:gpl3+))) + (define-public mate-icon-theme (package (name "mate-icon-theme") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0010-gnu-Add-mate-icon-theme-faenza.patch" Content-Transfer-Encoding: quoted-printable =46rom e6880df5c4f2c3a966d510f2d2ded988d91b898d Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 11:55:03 +0000 Subject: [PATCH 10/21] gnu: Add mate-icon-theme-faenza. * gnu/packages/mate.scm (mate-icon-theme-faenza): New variable. --- gnu/packages/mate.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 55b072b19..de0102b9b 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -28,6 +28,7 @@ #:use-module (guix build-system trivial) #:use-module (gnu packages) #:use-module (gnu packages attr) + #:use-module (gnu packages autotools) #:use-module (gnu packages backup) #:use-module (gnu packages base) #:use-module (gnu packages compression) @@ -107,6 +108,44 @@ MATE applications.") "This package contains the default icon theme used by the MATE deskto= p.") (license license:lgpl3+))) =20 +(define-public mate-icon-theme-faenza + (package + (name "mate-icon-theme-faenza") + (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 + "0vc3wg9l5yrxm0xmligz4lw2g3nqj1dz8fwv90xvym8pbjds2849")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'autoconf + (lambda _ + (setenv "SHELL" (which "sh")) + (setenv "CONFIG_SHELL" (which "sh")) + (zero? (system* "sh" "autogen.sh"))))))) + (native-inputs + `(("autoconf" ,(autoconf-wrapper)) + ("automake" ,automake) + ("intltool" ,intltool) + ("icon-naming-utils" ,icon-naming-utils) + ("libtool" ,libtool) + ("mate-common" ,mate-common) + ("pkg-config" ,pkg-config) + ("which" ,which))) + (home-page "https://mate-desktop.org/") + (synopsis "MATE desktop environment icon theme faenza") + (description + "Icon theme using Faenza and Faience icon themes and some +customized icons for MATE. Furthermore it includes some icons +from Mint-X-F and Faenza-Fresh icon packs.") + (license license:gpl2+))) + (define-public mate-themes (package (name "mate-themes") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0011-gnu-Add-libfakekey.patch" Content-Transfer-Encoding: quoted-printable =46rom 0ac4d151c507ecd4e9879a4774c40ad37a70b459 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 12:45:07 +0000 Subject: [PATCH 11/21] gnu: Add libfakekey. * gnu/packages/xdisorg.scm (libfakekey): New variable. --- gnu/packages/xdisorg.scm | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 7ca4986a0..b62bafb62 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -17,7 +17,7 @@ ;;; Copyright =C2=A9 2016, 2017 Marius Bakke ;;; Copyright =C2=A9 2016 Petter ;;; Copyright =C2=A9 2017 Mekeor Melire -;;; Copyright =C2=A9 2017 ng0 +;;; Copyright =C2=A9 2017 ng0 ;;; Copyright =C2=A9 2017 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. @@ -187,6 +187,33 @@ X11 (yet).") (license (license:x11-style "file://COPYING" "See 'COPYING' in the distribution.")))) =20 +(define-public libfakekey + (package + (name "libfakekey") + (version "0.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://downloads.yoctoproject.org/releases" + "/matchbox/libfakekey/" version "/libfakekey-" + version ".tar.bz2")) + (sha256 + (base32 + "1501l0bflcrhqbf12n7a7cqilvr0w4xawxw0vw75p2940nkl4464")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list "AM_LDFLAGS=3D-lX11"))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("libxtst" ,libxtst) + ("libx11" ,libx11))) + (home-page "https://www.yoctoproject.org/tools-resources/projects/matc= hbox") + (synopsis "X virtual keyboard library") + (description + "Libfakekey is a virtual keyboard library for X.") + (license license:gpl2))) + (define-public xdotool (package (name "xdotool") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0012-gnu-Add-mate-netbook.patch" Content-Transfer-Encoding: quoted-printable =46rom 00b1760c77404917ce4b60b48dd7f17ea6497819 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 12:47:56 +0000 Subject: [PATCH 12/21] gnu: Add mate-netbook. * gnu/packages/mate.scm (mate-netbook): New variable. --- gnu/packages/mate.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index de0102b9b..0cb24fd5f 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -62,6 +62,7 @@ #:use-module (gnu packages webkit) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) + #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg)) =20 (define-public mate-common @@ -1110,6 +1111,48 @@ sessions, panels, menus, file management, and prefer= ences.") can be used as backgrounds in the MATE Desktop environment.") (license license:gpl2+))) =20 +(define-public mate-netbook + (package + (name "mate-netbook") + (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 + "0zj4x9qis8dw0irxzb4va1189k8bqbvymxq3h7phnjwvr1m983gf")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("gettext" ,gettext-minimal) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config))) + (inputs + `(("cairo" ,cairo) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("libfakekey" ,libfakekey) + ("libwnck" ,libwnck) + ("libxtst" ,libxtst) + ("libx11" ,libx11) + ("mate-panel" ,mate-panel) + ("xproto" ,xproto))) + (home-page "https://mate-desktop.org/") + (synopsis "Tool for MATE on Netbooks") + (description + "Mate Netbook is a simple window management tool which: + +@enumerate +@item Allows you to set basic rules for a window type, such as maximise|un= decorate +@item Allows exceptions to the rules, based on string matching for window = name +and window class. +@item Allows 'reversing' of rules when the user manually changes something: +Re-decorates windows on un-maximise. +@end enumerate\n") + (license license:gpl3+))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0013-gnu-Add-mate-screensaver.patch" Content-Transfer-Encoding: quoted-printable =46rom 6304b6225bb51ee3de07244fc514a316a4a1d8bb Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 14:48:17 +0000 Subject: [PATCH 13/21] gnu: Add mate-screensaver. * gnu/packages/mate.scm (mate-screensaver): New variable. --- gnu/packages/mate.scm | 77 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 77 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 0cb24fd5f..e413ee33e 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1153,6 +1153,83 @@ Re-decorates windows on un-maximise. @end enumerate\n") (license license:gpl3+))) =20 +(define-public mate-screensaver + (package + (name "mate-screensaver") + (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 + "0dfi10faf1fnvrm7c7wnfqg35ygq09ws1vjyv8394jlf0nn39g9j")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:configure-flags + ;; FIXME: There is a permissions problem with screen locking + ;; which effectively locks you out completely. Enable locking + ;; once this has been fixed. + (list "--enable-locking" "--with-kbd-layout-indicator" + "--with-xf86gamma-ext" "--enable-pam" + "--disable-schemas-compile" "--without-console-kit") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'autoconf + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (dbus-dir (string-append out "/share/dbus-1/services")= )) + (setenv "SHELL" (which "sh")) + (setenv "CONFIG_SHELL" (which "sh")) + (substitute* "configure" + (("dbus-1") "")))))))) + (native-inputs + `(("automake" ,automake) + ("autoconf" ,(autoconf-wrapper)) + ("gettext" ,gettext-minimal) + ("intltool" ,intltool) + ("kbproto" ,kbproto) + ("mate-common" ,mate-common) + ("pkg-config" ,pkg-config) + ("randrproto" ,randrproto) + ("renderproto" ,renderproto) + ("scrnsaverproto" ,scrnsaverproto) + ("which" ,which) + ("xextpro" ,xextproto) + ("xproto" ,xproto))) + (inputs + `(("cairo" ,cairo) + ("dconf" ,dconf) + ("dbus" ,dbus) + ("dbus-glib" ,dbus-glib) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf+svg) + ("libcanberra" ,libcanberra) + ("libglade" ,libglade) + ("libmatekbd" ,libmatekbd) + ("libnotify" ,libnotify) + ("libx11" ,libx11) + ("libxext" ,libxext) + ("libxklavier" ,libxklavier) + ("libxrandr" ,libxrandr) + ("libxrender" ,libxrender) + ("libxscrnsaver" ,libxscrnsaver) + ("libxxf86vm" ,libxxf86vm) + ("linux-pam" ,linux-pam) + ("mate-desktop" ,mate-desktop) + ("mate-menus" ,mate-menus) + ("pango" ,pango) + ("startup-notification" ,startup-notification))) + (home-page "https://mate-desktop.org/") + (synopsis "Screensaver for MATE") + (description + "MATE backgrounds package contains a collection of graphics files whi= ch +can be used as backgrounds in the MATE Desktop environment.") + (license license:gpl2+))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0014-gnu-Add-mate-utils.patch" Content-Transfer-Encoding: quoted-printable =46rom 31dfcc094e01a8c77b9f74635801fba27458cc91 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sun, 17 Sep 2017 16:58:06 +0000 Subject: [PATCH 14/21] gnu: Add mate-utils. * gnu/packages/mate.scm (mate-utils): New variable. --- gnu/packages/mate.scm | 54 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index e413ee33e..23e326d83 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1230,6 +1230,60 @@ Re-decorates windows on un-maximise. can be used as backgrounds in the MATE Desktop environment.") (license license:gpl2+))) =20 +(define-public mate-utils + (package + (name "mate-utils") + (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 + "0wr395dqfigj19ps0d76ycgwfljl9xxgs1a1g5wx6kcz5mvhzn5v")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("gettext" ,gettext-minimal) + ("gtk-doc" ,gtk-doc) + ("intltool" ,intltool) + ("libice" ,libice) + ("libsm" ,libsm) + ("pkg-config" ,pkg-config) + ("scrollkeeper" ,scrollkeeper) + ("xextpro" ,xextproto) + ("xproto" ,xproto) + ("yelp-tools" ,yelp-tools))) + (inputs + `(("atk" ,atk) + ("cairo" ,cairo) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf+svg) + ("libcanberra" ,libcanberra) + ("libgtop" ,libgtop) + ("libx11" ,libx11) + ("libxext" ,libxext) + ("mate-panel" ,mate-panel) + ("pango" ,pango) + ("zlib" ,zlib))) + (home-page "https://mate-desktop.org/") + (synopsis "Utilities for the MATE Desktop") + (description + "Mate Utilities for the MATE Desktop containing: + +@enumerate +@item mate-system-log +@item mate-search-tool +@item mate-dictionary +@item mate-screenshot +@item mate-disk-usage-analyzer +@end enumerate\n") + (license (list license:gpl2 + license:fdl1.1+ + license:lgpl2.1)))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0015-gnu-Add-eom.patch" Content-Transfer-Encoding: quoted-printable =46rom 2002d2d8c0f378241564f0bc7047c8f78b404992 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sun, 17 Sep 2017 19:10:22 +0000 Subject: [PATCH 15/21] gnu: Add eom. * gnu/packages/mate.scm (eom): New variable. --- gnu/packages/mate.scm | 51 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 51 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 23e326d83..082c5a0d5 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1284,6 +1284,57 @@ can be used as backgrounds in the MATE Desktop envir= onment.") license:fdl1.1+ license:lgpl2.1)))) =20 +(define-public eom + (package + (name "eom") + (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 + "00ns7g7qykakc89lijrw2vwy9x9ijqiyvmnd4sw0j6py90zs8m87")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("gettext" ,gettext-minimal) + ("gtk-doc" ,gtk-doc) + ("gobject-introspection" ,gobject-introspection) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("yelp-tools" ,yelp-tools))) + (inputs + `(("atk" ,atk) + ("cairo" ,cairo) + ("dconf" ,dconf) + ("dbus" ,dbus) + ("dbus-glib" ,dbus-glib) + ("exempi" ,exempi) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf+svg) + ("libcanberra" ,libcanberra) + ("libx11" ,libx11) + ("libxext" ,libxext) + ("libpeas" ,libpeas) + ("libxml2" ,libxml2) + ("libexif" ,libexif) + ("libjpeg" ,libjpeg) + ("librsvg" ,librsvg) + ("lcms" ,lcms) + ("mate-desktop" ,mate-desktop) + ("pango" ,pango) + ("shared-mime-info" ,shared-mime-info) + ("startup-notification" ,startup-notification) + ("zlib" ,zlib))) + (home-page "https://mate-desktop.org/") + (synopsis "Eye of MATE") + (description + "Eye of MATE is the Image viewer for the MATE Desktop.") + (license (list license:gpl2)))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0016-gnu-Add-engrampa.patch" Content-Transfer-Encoding: quoted-printable =46rom 5c7c3f08212c6816f3ef9575147f35fd424ed825 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sun, 17 Sep 2017 20:03:14 +0000 Subject: [PATCH 16/21] gnu: Add engrampa. * gnu/packages/mate.scm (engrampa): New variable. --- gnu/packages/mate.scm | 55 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 082c5a0d5..77ffe414f 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -35,6 +35,7 @@ #:use-module (gnu packages djvu) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) + #:use-module (gnu packages file) #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) @@ -1335,6 +1336,60 @@ can be used as backgrounds in the MATE Desktop envir= onment.") "Eye of MATE is the Image viewer for the MATE Desktop.") (license (list license:gpl2)))) =20 +(define-public engrampa + (package + (name "engrampa") + (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 + "0d98zhqqc7qdnxcf0195kd04xmhijc0w2qrn6q61zd0daiswnv98")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:configure-flags (list "--disable-schemas-compile" + "--disable-run-in-place" + "--enable-magic" + "--enable-packagekit" + (string-append "--with-cajadir=3D" + (assoc-ref %outputs "out") + "/lib/caja/extensions-2.0/")) + #:phases + (modify-phases %standard-phases + (add-before 'install 'skip-gtk-update-icon-cache + ;; Don't create 'icon-theme.cache'. + (lambda _ + (substitute* "data/Makefile" + (("gtk-update-icon-cache") "true")) + #t))))) + (native-inputs + `(("gettext" ,gettext-minimal) + ("gtk-doc" ,gtk-doc) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("yelp-tools" ,yelp-tools))) + (inputs + `(("caja" ,caja) + ("file" ,file) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf+svg) + ("json-glib" ,json-glib) + ("libcanberra" ,libcanberra) + ("libx11" ,libx11) + ("libsm" ,libsm) + ("packagekit" ,packagekit) + ("pango" ,pango))) + (home-page "https://mate-desktop.org/") + (synopsis "Archive Manager for MATE") + (description + "Engrampa is the archive manager for the MATE Desktop.") + (license license:gpl2))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0017-gnu-Add-pluma.patch" Content-Transfer-Encoding: quoted-printable =46rom 1f64bb45a0a5e57e03f1439774ff28cceef14d6c Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sun, 17 Sep 2017 20:27:04 +0000 Subject: [PATCH 17/21] gnu: Add pluma. * gnu/packages/mate.scm (pluma): New variable. --- gnu/packages/mate.scm | 53 +++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 77ffe414f..5d4f51c91 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -35,6 +35,7 @@ #:use-module (gnu packages djvu) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) + #:use-module (gnu packages enchant) #:use-module (gnu packages file) #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) @@ -48,6 +49,7 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) + #:use-module (gnu packages iso-codes) #:use-module (gnu packages javascript) #:use-module (gnu packages libcanberra) #:use-module (gnu packages linux) @@ -1390,6 +1392,57 @@ can be used as backgrounds in the MATE Desktop envir= onment.") "Engrampa is the archive manager for the MATE Desktop.") (license license:gpl2))) =20 +(define-public pluma + (package + (name "pluma") + (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 + "1z0938yiygxipj2a77n9dv8v4253snrc5gbbnarcnim9xba2j3zz")))) + (build-system glib-or-gtk-build-system) + (arguments + `(; Tests can not succeed. + ;; https://github.com/mate-desktop/mate-text-editor/issues/33 + #:tests? #f)) + (native-inputs + `(("gettext" ,gettext-minimal) + ("gtk-doc" ,gtk-doc) + ("gobject-introspection" ,gobject-introspection) + ("intltool" ,intltool) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config) + ("yelp-tools" ,yelp-tools))) + (inputs + `(("atk" ,atk) + ("cairo" ,cairo) + ("enchant" ,enchant) + ("glib" ,glib) + ("gtk+" ,gtk+) + ("gtksourceview" ,gtksourceview) + ("gdk-pixbuf" ,gdk-pixbuf) + ("iso-codes" ,iso-codes) + ("libcanberra" ,libcanberra) + ("libx11" ,libx11) + ("libsm" ,libsm) + ("libpeas" ,libpeas) + ("libxml2" ,libxml2) + ("libice" ,libice) + ("packagekit" ,packagekit) + ("pango" ,pango) + ("python-2" ,python-2) + ("scrollkeeper" ,scrollkeeper))) + (home-page "https://mate-desktop.org/") + (synopsis "Text Editor for MATE") + (description + "Pluma is the text editor for the MATE Desktop.") + (license license:gpl2))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0018-gnu-Add-mate-system-monitor.patch" Content-Transfer-Encoding: quoted-printable =46rom 589dbe17fbf30e3e095ac1a58beb272baed6c928 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sun, 17 Sep 2017 20:41:00 +0000 Subject: [PATCH 18/21] gnu: Add mate-system-monitor. * gnu/packages/mate.scm (mate-system-monitor): New variable. --- gnu/packages/mate.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 5d4f51c91..e21b76351 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1443,6 +1443,47 @@ can be used as backgrounds in the MATE Desktop envir= onment.") "Pluma is the text editor for the MATE Desktop.") (license license:gpl2))) =20 +(define-public mate-system-monitor + (package + (name "mate-system-monitor") + (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 + "1wcvrl4lfnjkhywb311p29prf1qiab6iynb6q1fgfsl6za8hsz48")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("gettext" ,gettext-minimal) + ("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("yelp-tools" ,yelp-tools))) + (inputs + `(("cairo" ,cairo) + ("glib" ,glib) + ("glibmm" ,glibmm) + ("gtkmm" ,gtkmm) + ("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf) + ("libsigc++" ,libsigc++) + ("libcanberra" ,libcanberra) + ("libxml2" ,libxml2) + ("libwnck" ,libwnck) + ("libgtop" ,libgtop) + ("librsvg" ,librsvg) + ("polkit" ,polkit))) + (home-page "https://mate-desktop.org/") + (synopsis "System Monitor for MATE") + (description + "Mate System Monitor provides a tool for for the +MATE Desktop to monitor your system resources and usage.") + (license license:gpl2))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0019-gnu-Add-mate-polkit.patch" Content-Transfer-Encoding: quoted-printable =46rom a1155209568168170c635471779e0fc2410be5b4 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sun, 17 Sep 2017 20:53:10 +0000 Subject: [PATCH 19/21] gnu: Add mate-polkit. * gnu/packages/mate.scm (mate-polkit): New variable. --- gnu/packages/mate.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index e21b76351..36b2d3f05 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1484,6 +1484,40 @@ can be used as backgrounds in the MATE Desktop envir= onment.") MATE Desktop to monitor your system resources and usage.") (license license:gpl2))) =20 +(define-public mate-polkit + (package + (name "mate-polkit") + (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 + "15vf2hnyjg8zsw3iiwjwi497yygkmvpnn6w1hik7dfw4a621w0gc")))) + (build-system glib-or-gtk-build-system) + (native-inputs + `(("gettext" ,gettext-minimal) + ("gtk-doc" ,gtk-doc) + ("intltool" ,intltool) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (inputs + `(("accountsservice" ,accountsservice) + ("glib" ,glib) + ("gobject-introspection" ,gobject-introspection) + ("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf) + ("polkit" ,polkit))) + (home-page "https://mate-desktop.org/") + (synopsis "DBus specific service for MATE") + (description + "MATE Polkit is a MATE specific DBUS service that is +used to bring up authentication dialogs.") + (license license:lgpl2.1))) + (define-public mate (package (name "mate") --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0020-gnu-mate-Add-more-packages.patch" Content-Transfer-Encoding: quoted-printable =46rom 9d3119d8824a72503f886884037f3cb7f58bb941 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Sat, 16 Sep 2017 15:08:37 +0000 Subject: [PATCH 20/21] gnu: mate: Add more packages. * gnu/packages/mate.scm (mate)[inputs]: Add "mate-user-guide", "mate-calc",= "mate-backgrounds", "mate-netbook", "hicolor-icon-theme", "mate-utils", "engrampa", "eom", "mat= e-polkit", "mate-system-monitor", "mate-utils", "pluma", "atril". --- gnu/packages/mate.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu/packages/mate.scm b/gnu/packages/mate.scm index 36b2d3f05..fde8459f8 100644 --- a/gnu/packages/mate.scm +++ b/gnu/packages/mate.scm @@ -1537,14 +1537,18 @@ used to bring up authentication dialogs.") (inputs ;; TODO: Add more packages `(("at-spi2-core" ,at-spi2-core) + ("atril" ,atril) ("caja" ,caja) ("dbus" ,dbus) ("dconf" ,dconf) ("desktop-file-utils" ,desktop-file-utils) + ("engrampa" ,engrampa) + ("eom" ,eom) ("font-cantarell" ,font-cantarell) ("glib-networking" ,glib-networking) ("gnome-keyring" ,gnome-keyring) ("gvfs" ,gvfs) + ("hicolor-icon-theme" ,hicolor-icon-theme) ("libmatekbd" ,libmatekbd) ("libmateweather" ,libmateweather) ("libmatemixer" ,libmatemixer) @@ -1560,6 +1564,15 @@ used to bring up authentication dialogs.") ("mate-control-center" ,mate-control-center) ("mate-media" ,mate-media) ("mate-applets" ,mate-applets) + ("mate-user-guide" ,mate-user-guide) + ("mate-calc" ,mate-calc) + ("mate-backgrounds" ,mate-backgrounds) + ("mate-netbook" ,mate-netbook) + ("mate-utils" ,mate-utils) + ("mate-polkit" ,mate-polkit) + ("mate-system-monitor" ,mate-system-monitor) + ("mate-utils" ,mate-utils) + ("pluma" ,pluma) ("pinentry-gnome3" ,pinentry-gnome3) ("pulseaudio" ,pulseaudio) ("shared-mime-info" ,shared-mime-info) --=20 2.14.2 --wknejrifm3x34htk Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0021-gnu-services-Add-MATE-desktop-service.patch" Content-Transfer-Encoding: quoted-printable =46rom 620e32643468da6318dde6491b0a2ff74608d435 Mon Sep 17 00:00:00 2001 =46rom: ng0 Date: Fri, 29 Sep 2017 10:06:51 +0000 Subject: [PATCH 21/21] gnu: services: Add MATE desktop service. * gnu/services/desktop.scm (, mate-desktop-service-type): New variable. (mate-desktop-service): New public variable. * doc/guix.texi (Desktop Services): Document the service. --- doc/guix.texi | 26 +++++++++++++++++++------- gnu/services/desktop.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+), 7 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index c10fc649d..56187d1bc 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -26,7 +26,7 @@ Copyright @copyright{} 2016 Ben Woodcroft@* Copyright @copyright{} 2016 Chris Marusich@* Copyright @copyright{} 2016, 2017 Efraim Flashner@* Copyright @copyright{} 2016 John Darrington@* -Copyright @copyright{} 2016 ng0@* +Copyright @copyright{} 2016, 2017 ng0@* Copyright @copyright{} 2016, 2017 Jan Nieuwenhuizen@* Copyright @copyright{} 2016 Julien Lepiller@* Copyright @copyright{} 2016 Alex ter Weele@* @@ -11781,7 +11781,7 @@ The @code{(gnu services desktop)} module provides s= ervices that are usually useful in the context of a ``desktop'' setup---that is, on a machine running a graphical display server, possibly with graphical user interfaces, etc. It also defines services that provide specific desktop -environments like GNOME and XFCE. +environments like GNOME, XFCE or MATE. =20 To simplify things, the module defines a variable containing the set of services that users typically expect on a machine with a graphical @@ -11806,9 +11806,10 @@ The @var{%desktop-services} variable can be used a= s the @code{services} field of an @code{operating-system} declaration (@pxref{operating-system Reference, @code{services}}). =20 -Additionally, the @code{gnome-desktop-service} and -@code{xfce-desktop-service} procedures can add GNOME and/or XFCE to a -system. To ``add GNOME'' means that system-level services like the +Additionally, the @code{gnome-desktop-service}, +@code{xfce-desktop-service} and @code{mate-desktop-service} +procedures can add GNOME, XFCE and/or MATE to a system. +To ``add GNOME'' means that system-level services like the backlight adjustment helpers and the power management utilities are added to the system, extending @code{polkit} and @code{dbus} appropriately, allowing GNOME to operate with elevated privileges on a @@ -11819,6 +11820,11 @@ not only adds the @code{xfce} metapackage to the s= ystem profile, but it also gives the Thunar file manager the ability to open a ``root-mode'' file management window, if the user authenticates using the administrator's password via the standard polkit graphical interface. +To ``add MATE'' means that @code{polkit} and @code{dbus} are extended +appropriately, allowing MATE to operate with elevated privileges on a +limited number of special-purpose system interfaces. Additionally, +adding a service made by @code{mate-desktop-service} adds the MATE +metapackage to the system profile. =20 @deffn {Scheme Procedure} gnome-desktop-service Return a service that adds the @code{gnome} package to the system @@ -11833,9 +11839,15 @@ file system as root from within a user session, af= ter the user has authenticated with the administrator's password. @end deffn =20 -Because the GNOME and XFCE desktop services pull in so many packages, +@deffn {Scheme Procedure} mate-desktop-service +Return a service that adds the @code{mate} package to the system +profile, and extends polkit with the actions from +@code{mate-settings-daemon}. +@end deffn + +Because the GNOME, XFCE and MATE desktop services pull in so many packages, the default @code{%desktop-services} variable doesn't include either of -them by default. To add GNOME or XFCE, just @code{cons} them onto +them by default. To add GNOME, XFCE orMATE, just @code{cons} them onto @code{%desktop-services} in the @code{services} field of your @code{operating-system}: =20 diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 527a3101c..3c6a18125 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -4,6 +4,7 @@ ;;; Copyright =C2=A9 2015 Mark H Weaver ;;; Copyright =C2=A9 2016 Sou Bunnbu ;;; Copyright =C2=A9 2017 Maxim Cournoyer +;;; Copyright =C2=A9 2017 ng0 ;;; ;;; This file is part of GNU Guix. ;;; @@ -42,6 +43,7 @@ #:use-module (gnu packages suckless) #:use-module (gnu packages linux) #:use-module (gnu packages libusb) + #:use-module (gnu packages mate) #:use-module (guix records) #:use-module (guix packages) #:use-module (guix store) @@ -82,6 +84,11 @@ gnome-desktop-service gnome-desktop-service-type =20 + mate-desktop-configuration + mate-desktop-configuration? + mate-desktop-service + mate-desktop-service-type + xfce-desktop-configuration xfce-desktop-configuration? xfce-desktop-service @@ -798,6 +805,44 @@ accountsservice web site} for more information." and extends polkit with the actions from @code{gnome-settings-daemon}." (service gnome-desktop-service-type config)) =20 +;; MATE Desktop service. + +(define-record-type* mate-desktop-configurati= on + make-mate-desktop-configuration + mate-desktop-configuration + (mate-package mate-package (default mate)) + (screensaver-package screensaver-package (default mate-screensaver))) + +(define %mate-desktop-pam-services + (list (unix-pam-service "mate-screensaver"))) + +(define mate-desktop-setuid-programs + (match-lambda + (($ screensaver-package) + (list (file-append screensaver-package "/libexec/mate-screensaver-dia= log"))))) + +(define mate-desktop-service-type + (service-type + (name 'mate-desktop) + (extensions + (list (service-extension polkit-service-type + (compose list + (package-direct-input-selector + "mate-settings-daemon") + mate-package)) + (service-extension pam-root-service-type + (const %mate-desktop-pam-services)) + (service-extension setuid-program-service-type + mate-desktop-setuid-programs) + (service-extension profile-service-type + (compose list + mate-package)))))) + +(define* (mate-desktop-service #:key (config (mate-desktop-configuration))) + "Return a service that adds the @code{mate} package to the system profil= e, +and extends polkit with the actions from @code{mate-settings-daemon}." + (service mate-desktop-service-type config)) + =0C ;;; ;;; XFCE desktop service. --=20 2.14.2 --wknejrifm3x34htk-- --3eb4cak4ue4t5qcz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAlnY/w4ACgkQ4i+bv+40 hYiwhBAAgWvKmSnBQLxn4GlGv54GA5zYFcDZSf3YEn7veQt6q3tNbBqXJT1N3xPf sU/ryWgzlE6el2ki6DSyvZHj3dMGYvpoor0JQPQ7d6UgVFe0SENzdrZu6sEsq/EN H/+WMg+6+jJCbVACGtx4x7cVRWNlkXE6UkC0Topoq0ps33uP/vkeGWwC9g/fhOBW /3kbLUmF3YNlWAT8EYEp/UnUOAB4uyIBJszfh5C0azJq6oefNepkLEPdPBZn4nmI av19G/ruIngjm9wFwZWebqcfs21pqyN9DAMRS+2MAe0MrwFICDrAl3G2B52C5DU4 xqa+Pnlf5520dgJYPsIgMlunhcKkhFZ2/hAZ7qiQFgEkXP+tGKu3PkkTwoXetxMr lc6tWEzWDWOASAd7rMOMVWVTk7ka5Yvl4/MM+xHTG/wCxLzLCDMF9uFJKueJyDuG ESZl2EOTOG6aKOChbKahVcProBbZSV5h1xWkWu8Zc9i3Y/wyDA+/rcbR6xlB3wmd zqqCIfMCHjdUJHUB3QlHKtdRYVNIsFFI3Okc/7OgycUl/HrPaM74T6yYqxfR6dxk uZKaSvVp2/73dI0TiFBsyESg8jdVLqqe0UFGjZZzyOl9ueRRdOLkApNx7PFx3AKO rpjWpLw4VTrNBkOzRohtbLUfWybw3ttwuDfmNWvcHBP/srwp9GA= =HGT/ -----END PGP SIGNATURE----- --3eb4cak4ue4t5qcz-- ------------=_1520238962-26856-1--