Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2e285a3e6cf2
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0880ec7033c2
Choose a head ref

Commits on Jan 9, 2018

  1. Copy the full SHA
    1bacb88 View commit details
  2. Copy the full SHA
    bf5702e View commit details
  3. mate-session-manager: remove explicitly dependence on gsettings_deskt…

    …op_schemas
    
    Now it is propagated by gtk3.
    romildo authored and dezgeg committed Jan 9, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    492ffae View commit details
  4. mate-user-guide: init at 1.18.0

    romildo authored and dezgeg committed Jan 9, 2018
    Copy the full SHA
    5953691 View commit details
  5. mate-polkit: init at 1.18.2

    romildo authored and dezgeg committed Jan 9, 2018
    Copy the full SHA
    7110c14 View commit details
  6. mate-backgrounds: init at 1.18.0

    romildo authored and dezgeg committed Jan 9, 2018
    Copy the full SHA
    557fab2 View commit details
  7. mate-screensaver: init at 1.18.2

    romildo authored and dezgeg committed Jan 9, 2018
    Copy the full SHA
    d8dfb57 View commit details
  8. mate-calc: init at 1.18.1

    romildo authored and dezgeg committed Jan 9, 2018
    Copy the full SHA
    88f34e3 View commit details
  9. mate-system-monitor: init at 1.18.1

    romildo authored and dezgeg committed Jan 9, 2018
    Copy the full SHA
    00846e6 View commit details
  10. Copy the full SHA
    dd6856a View commit details
  11. mate-netbook: init at 1.18.2

    romildo authored and dezgeg committed Jan 9, 2018
    Copy the full SHA
    07b3624 View commit details
  12. mate-utils: init at 1.18.3

    romildo authored and dezgeg committed Jan 9, 2018
    Copy the full SHA
    a513a6c View commit details
  13. mate-applets: init at 1.18.2

    romildo authored and dezgeg committed Jan 9, 2018
    Copy the full SHA
    5930d87 View commit details
  14. mate-indicator-applet: init at 1.18.1

    romildo authored and dezgeg committed Jan 9, 2018
    Copy the full SHA
    ea3582a View commit details
  15. mate-sensors-applet: init at 1.18.3

    romildo authored and dezgeg committed Jan 9, 2018
    Copy the full SHA
    002fcfc View commit details
  16. mate-control-center: add gsettings schemas path to XDG vars

    mate-control-center depends on mate-settings-daemon, but the later needs
    gsettings schemas  provided by the former. To fix this the gsettings schema
    path from mate-control-center is added to XDG_DATA_DIRS at session
    startup.
    romildo authored and dezgeg committed Jan 9, 2018
    Copy the full SHA
    ca27392 View commit details
  17. Copy the full SHA
    598c6c1 View commit details
  18. eom: list hicolor_icon_theme after gtk

    There is a bug on the glib hooker that prevents running its pre fixup
    phase if it is listed before hicolor_icon_theme in the dependencies of a
    derivation.
    romildo authored and dezgeg committed Jan 9, 2018
    Copy the full SHA
    019636c View commit details
  19. mate-user-share: init at 1.18.0

    romildo authored and dezgeg committed Jan 9, 2018
    Copy the full SHA
    fe7292d View commit details
  20. mozo: init at 1.18.0

    romildo authored and dezgeg committed Jan 9, 2018
    Copy the full SHA
    b1cc3eb View commit details
  21. caja-dropbox: init at 1.18.0

    romildo authored and dezgeg committed Jan 9, 2018
    Copy the full SHA
    800dbc2 View commit details
  22. python-caja: init at 1.18.1

    romildo authored and dezgeg committed Jan 9, 2018
    Copy the full SHA
    d0a8844 View commit details
  23. Copy the full SHA
    8b41645 View commit details
  24. mate: remove cajaWithExtensions

    romildo authored and dezgeg committed Jan 9, 2018
    Copy the full SHA
    b81e646 View commit details
  25. Copy the full SHA
    17efcaa View commit details
  26. mate-panel: 1.18.6 -> 1.18.7

    romildo authored and dezgeg committed Jan 9, 2018
    Copy the full SHA
    bf4c391 View commit details
  27. atril: enable caja

    romildo authored and dezgeg committed Jan 9, 2018
    Copy the full SHA
    0880ec7 View commit details
44 changes: 39 additions & 5 deletions nixos/modules/services/x11/desktop-managers/mate.nix
Original file line number Diff line number Diff line change
@@ -12,6 +12,17 @@ let
in
filter (x: !(builtins.elem (pkgName x) ysNames)) xs;

addToXDGDirs = p: ''
if [ -d "${p}/share/gsettings-schemas/${p.name}" ]; then
export XDG_DATA_DIRS=$XDG_DATA_DIRS''${XDG_DATA_DIRS:+:}${p}/share/gsettings-schemas/${p.name}
fi
if [ -d "${p}/lib/girepository-1.0" ]; then
export GI_TYPELIB_PATH=$GI_TYPELIB_PATH''${GI_TYPELIB_PATH:+:}${p}/lib/girepository-1.0
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}${p}/lib
fi
'';

xcfg = config.services.xserver;
cfg = xcfg.desktopManager.mate;

@@ -20,10 +31,14 @@ in
{
options = {

services.xserver.desktopManager.mate.enable = mkOption {
type = types.bool;
default = false;
description = "Enable the MATE desktop environment";
services.xserver.desktopManager.mate = {
enable = mkOption {
type = types.bool;
default = false;
description = "Enable the MATE desktop environment";
};

debug = mkEnableOption "mate-session debug messages";
};

environment.mate.excludePackages = mkOption {
@@ -52,10 +67,29 @@ in
# Find the mouse
export XCURSOR_PATH=~/.icons:${config.system.path}/share/icons
# Let caja find extensions
export CAJA_EXTENSION_DIRS=$CAJA_EXTENSION_DIRS''${CAJA_EXTENSION_DIRS:+:}${config.system.path}/lib/caja/extensions-2.0
# Let caja extensions find gsettings schemas
${concatMapStrings (p: ''
if [ -d "${p}/lib/caja/extensions-2.0" ]; then
${addToXDGDirs p}
fi
'')
config.environment.systemPackages
}
# Let mate-panel find applets
export MATE_PANEL_APPLETS_DIR=$MATE_PANEL_APPLETS_DIR''${MATE_PANEL_APPLETS_DIR:+:}${config.system.path}/share/mate-panel/applets
export MATE_PANEL_EXTRA_MODULES=$MATE_PANEL_EXTRA_MODULES''${MATE_PANEL_EXTRA_MODULES:+:}${config.system.path}/lib/mate-panel/applets
# Add mate-control-center paths to some XDG variables because its schemas are needed by mate-settings-daemon, and mate-settings-daemon is a dependency for mate-control-center (that is, they are mutually recursive)
${addToXDGDirs pkgs.mate.mate-control-center}
# Update user dirs as described in http://freedesktop.org/wiki/Software/xdg-user-dirs/
${pkgs.xdg-user-dirs}/bin/xdg-user-dirs-update
${pkgs.mate.mate-session-manager}/bin/mate-session &
${pkgs.mate.mate-session-manager}/bin/mate-session ${optionalString cfg.debug "--debug"} &
waitPID=$!
'';
};
9 changes: 5 additions & 4 deletions pkgs/desktops/mate/atril/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libxml2, libsecret, poppler, itstool, mate, hicolor_icon_theme, wrapGAppsHook }:
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libxml2, libsecret, poppler, itstool, caja, mate-desktop, hicolor_icon_theme, wrapGAppsHook }:

stdenv.mkDerivation rec {
name = "atril-${version}";
@@ -23,12 +23,13 @@ stdenv.mkDerivation rec {
libsecret
libxml2
poppler
caja
mate-desktop
hicolor_icon_theme
mate.mate-desktop
];

configureFlags = [ "--disable-caja" ];

makeFlags = [ "cajaextensiondir=$$out/lib/caja/extensions-2.0" ];

meta = {
description = "A simple multi-page document viewer for the MATE desktop";
homepage = http://mate-desktop.org;
35 changes: 35 additions & 0 deletions pkgs/desktops/mate/caja-dropbox/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{ stdenv, fetchurl, pkgconfig, gtk3, caja, pythonPackages }:

stdenv.mkDerivation rec {
name = "caja-dropbox-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "0";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "18wd8abjaxa68n1yjmvh9az1m8lqa2wing73xdymz0d5gmxmk25g";
};

nativeBuildInputs = [
pkgconfig
];

buildInputs = [
gtk3
caja
pythonPackages.python
pythonPackages.pygtk
pythonPackages.docutils
];

configureFlags = [ "--with-caja-extension-dir=$$out/lib/caja/extensions-2.0" ];

meta = with stdenv.lib; {
description = "Dropbox extension for Caja file manager";
homepage = https://github.com/mate-desktop/caja-dropbox;
license = with licenses; [ gpl3 cc-by-nd-30 ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}
7 changes: 4 additions & 3 deletions pkgs/desktops/mate/caja-extensions/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, dbus_glib, gupnp, mate, imagemagick }:
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, dbus_glib, gupnp, caja, mate-desktop, imagemagick, wrapGAppsHook }:

stdenv.mkDerivation rec {
name = "caja-extensions-${version}";
@@ -14,14 +14,15 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
pkgconfig
intltool
wrapGAppsHook
];

buildInputs = [
gtk3
dbus_glib
gupnp
mate.caja
mate.mate-desktop
caja
mate-desktop
imagemagick
];

11 changes: 0 additions & 11 deletions pkgs/desktops/mate/caja/cajaWithExtensions.nix

This file was deleted.

3 changes: 2 additions & 1 deletion pkgs/desktops/mate/caja/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libnotify, libxml2, libexif, exempi, mate, wrapGAppsHook }:
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libnotify, libxml2, libexif, exempi, mate, hicolor_icon_theme, wrapGAppsHook }:

stdenv.mkDerivation rec {
name = "caja-${version}";
@@ -24,6 +24,7 @@ stdenv.mkDerivation rec {
libexif
exempi
mate.mate-desktop
hicolor_icon_theme
];

patches = [
33 changes: 29 additions & 4 deletions pkgs/desktops/mate/default.nix
Original file line number Diff line number Diff line change
@@ -7,31 +7,43 @@ let

atril = callPackage ./atril { };
caja = callPackage ./caja { };
caja-dropbox = callPackage ./caja-dropbox { };
caja-extensions = callPackage ./caja-extensions { };
cajaWithExtensions = callPackage ./caja/cajaWithExtensions.nix {
extensions = [ caja-extensions ];
};
engrampa = callPackage ./engrampa { };
eom = callPackage ./eom { };
libmatekbd = callPackage ./libmatekbd { };
libmatemixer = callPackage ./libmatemixer { };
libmateweather = callPackage ./libmateweather { };
marco = callPackage ./marco { };
mate-applets = callPackage ./mate-applets { };
mate-backgrounds = callPackage ./mate-backgrounds { };
mate-calc = callPackage ./mate-calc { };
mate-common = callPackage ./mate-common { };
mate-control-center = callPackage ./mate-control-center { };
mate-desktop = callPackage ./mate-desktop { };
mate-icon-theme = callPackage ./mate-icon-theme { };
mate-icon-theme-faenza = callPackage ./mate-icon-theme-faenza { };
mate-indicator-applet = callPackage ./mate-indicator-applet { };
mate-media = callPackage ./mate-media { };
mate-menus = callPackage ./mate-menus { };
mate-netbook = callPackage ./mate-netbook { };
mate-notification-daemon = callPackage ./mate-notification-daemon { };
mate-panel = callPackage ./mate-panel { };
mate-polkit = callPackage ./mate-polkit { };
mate-power-manager = callPackage ./mate-power-manager { };
mate-sensors-applet = callPackage ./mate-sensors-applet { };
mate-session-manager = callPackage ./mate-session-manager { };
mate-settings-daemon = callPackage ./mate-settings-daemon { };
mate-screensaver = callPackage ./mate-screensaver { };
mate-system-monitor = callPackage ./mate-system-monitor { };
mate-terminal = callPackage ./mate-terminal { };
mate-themes = callPackage ./mate-themes { };
mate-user-guide = callPackage ./mate-user-guide { };
mate-user-share = callPackage ./mate-user-share { };
mate-utils = callPackage ./mate-utils { };
mozo = callPackage ./mozo { };
pluma = callPackage ./pluma { };
python-caja = callPackage ./python-caja { };

basePackages = [
caja
@@ -46,20 +58,33 @@ let
mate-menus
mate-notification-daemon
mate-panel
mate-polkit
mate-session-manager
mate-settings-daemon
mate-themes
];

extraPackages = [
atril
cajaWithExtensions
caja-extensions
engrampa
eom
mate-applets
mate-backgrounds
mate-calc
mate-icon-theme-faenza
mate-indicator-applet
mate-media
mate-netbook
mate-power-manager
mate-screensaver
mate-sensors-applet
mate-system-monitor
mate-terminal
mate-user-guide
#mate-user-share
mate-utils
mozo
pluma
];

2 changes: 1 addition & 1 deletion pkgs/desktops/mate/eom/default.nix
Original file line number Diff line number Diff line change
@@ -15,7 +15,6 @@ stdenv.mkDerivation rec {
pkgconfig
intltool
itstool
hicolor_icon_theme
wrapGAppsHook
];

@@ -31,6 +30,7 @@ stdenv.mkDerivation rec {
gnome3.gtk
gnome3.libpeas
mate.mate-desktop
hicolor_icon_theme
];

meta = {
51 changes: 51 additions & 0 deletions pkgs/desktops/mate/mate-applets/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, gnome3, libwnck3, libgtop, libxml2, libnotify, dbus_glib, polkit, upower, wirelesstools, libmateweather, mate-panel, pythonPackages, hicolor_icon_theme, wrapGAppsHook }:

stdenv.mkDerivation rec {
name = "mate-applets-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "2";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "045cl62nnfsl14vnfydwqjssdakgdrahh5h0xiz5afmdcbq6cqgw";
};

nativeBuildInputs = [
pkgconfig
intltool
itstool
wrapGAppsHook
];

buildInputs = [
gnome3.gtk
gnome3.gtksourceview
gnome3.gucharmap
libwnck3
libgtop
libxml2
libnotify
dbus_glib
polkit
upower
wirelesstools
libmateweather
mate-panel
pythonPackages.python
pythonPackages.pygobject3
hicolor_icon_theme
];

configureFlags = [ "--enable-suid=no" ];

NIX_CFLAGS_COMPILE = "-I${gnome3.glib.dev}/include/gio-unix-2.0";

meta = with stdenv.lib; {
description = "Applets for use with the MATE panel";
homepage = http://mate-desktop.org;
license = with licenses; [ gpl2Plus lgpl2Plus ];
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}
23 changes: 23 additions & 0 deletions pkgs/desktops/mate/mate-backgrounds/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{ stdenv, fetchurl, intltool }:

stdenv.mkDerivation rec {
name = "mate-backgrounds-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "0";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "06q8ksjisijps2wn959arywsimhzd3j35mqkr048c26ck24d60zi";
};

nativeBuildInputs = [ intltool ];

meta = with stdenv.lib; {
description = "Background images and data for MATE";
homepage = http://mate-desktop.org;
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}
33 changes: 33 additions & 0 deletions pkgs/desktops/mate/mate-calc/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, gtk3, libxml2, wrapGAppsHook }:

stdenv.mkDerivation rec {
name = "mate-calc-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "1";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "1h6kr9qb1kaw8jvfm7xmqm1wqnxsw2iwha5vl38b986x4zm2b712";
};

nativeBuildInputs = [
pkgconfig
intltool
itstool
wrapGAppsHook
];

buildInputs = [
gtk3
libxml2
];

meta = with stdenv.lib; {
description = "Calculator for the MATE desktop";
homepage = http://mate-desktop.org;
license = [ licenses.gpl2Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}
45 changes: 45 additions & 0 deletions pkgs/desktops/mate/mate-indicator-applet/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libindicator-gtk3, mate-panel, hicolor_icon_theme, wrapGAppsHook }:

stdenv.mkDerivation rec {
name = "mate-indicator-applet-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "1";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "1h77f1gbz1a8l9xyq5fk75bs58mcwx6pbk6db33v0v1mwq6cidiv";
};

nativeBuildInputs = [
pkgconfig
intltool
wrapGAppsHook
];

buildInputs = [
gtk3
libindicator-gtk3
mate-panel
hicolor_icon_theme
];

meta = with stdenv.lib; {
homepage = https://github.com/mate-desktop/mate-indicator-applet;
description = "MATE panel indicator applet";
longDescription = ''
A small applet to display information from various applications
consistently in the panel.
The indicator applet exposes Ayatana Indicators in the MATE Panel.
Ayatana Indicators are an initiative by Canonical to provide crisp and
clean system and application status indication. They take the form of
an icon and associated menu, displayed (usually) in the desktop panel.
Existing indicators include the Message Menu, Battery Menu and Sound
menu.
'';
license = with licenses; [ gpl3Plus lgpl2Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}
42 changes: 42 additions & 0 deletions pkgs/desktops/mate/mate-netbook/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libwnck3, libfakekey, libXtst, mate-panel, wrapGAppsHook }:

stdenv.mkDerivation rec {
name = "mate-netbook-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "2";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "0xy5mhkg0xfgyr7gnnjrfzqhmdnhyqscrl2h496p06cflknm17vb";
};

nativeBuildInputs = [
pkgconfig
intltool
wrapGAppsHook
];

buildInputs = [
gtk3
libwnck3
libfakekey
libXtst
mate-panel
];

meta = with stdenv.lib; {
description = "MATE utilities for netbooks";
longDescription = ''
MATE utilities for netbooks are an applet and a daemon to maximize
windows and move their titles on the panel.
Installing these utilities is recommended for netbooks and similar
devices with low resolution displays.
'';
homepage = http://mate-desktop.org;
license = with licenses; [ gpl3 lgpl2Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}
6 changes: 3 additions & 3 deletions pkgs/desktops/mate/mate-panel/default.nix
Original file line number Diff line number Diff line change
@@ -4,11 +4,11 @@ stdenv.mkDerivation rec {
name = "mate-panel-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "6";
minor-ver = "7";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "0cyfqq7i3qilw6qfxay4j9rl9y03s611nrqy5bh7lkdx1y0l16kx";
sha256 = "1m0fxyzbvg239dddmz3ksd8871lhkd7n3fxvdgdf4hv9rlvm1klv";
};

nativeBuildInputs = [
@@ -24,12 +24,12 @@ stdenv.mkDerivation rec {
libwnck3
librsvg
libxml2
hicolor_icon_theme
gnome3.gtk
gnome3.dconf
mate.libmateweather
mate.mate-desktop
mate.mate-menus
hicolor_icon_theme
];

NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
33 changes: 33 additions & 0 deletions pkgs/desktops/mate/mate-polkit/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libappindicator-gtk3, libindicator-gtk3, polkit }:

stdenv.mkDerivation rec {
name = "mate-polkit-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "2";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "01mxl7wj1501d3clrwlwa54970vpkahp5968xpaxwfb2zbnqgjbd";
};

nativeBuildInputs = [
pkgconfig
intltool
];

buildInputs = [
gtk3
libappindicator-gtk3
libindicator-gtk3
polkit
];

meta = with stdenv.lib; {
description = "Integrates polkit authentication for MATE desktop";
homepage = http://mate-desktop.org;
license = [ licenses.gpl2Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}
42 changes: 42 additions & 0 deletions pkgs/desktops/mate/mate-screensaver/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, dbus_glib, libXScrnSaver, libnotify, pam, systemd, mate-desktop, mate-menus, wrapGAppsHook }:

stdenv.mkDerivation rec {
name = "mate-screensaver-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "2";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "03za7ssww095i49braaq0di5ir9g6wxh1n5hfgy6b3w9nb0j1y2p";
};

nativeBuildInputs = [
pkgconfig
intltool
wrapGAppsHook
];

buildInputs = [
gtk3
dbus_glib
libXScrnSaver
libnotify
pam
systemd
mate-desktop
mate-menus
];

configureFlags = "--without-console-kit";

makeFlags = "DBUS_SESSION_SERVICE_DIR=$(out)/etc";

meta = with stdenv.lib; {
description = "Screen saver and locker for the MATE desktop";
homepage = http://mate-desktop.org;
license = with licenses; [ gpl2Plus lgpl2Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}
41 changes: 41 additions & 0 deletions pkgs/desktops/mate/mate-sensors-applet/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, gtk3, libxml2, libxslt, libatasmart, libnotify, dbus_glib, lm_sensors, mate-panel, hicolor_icon_theme, wrapGAppsHook }:

stdenv.mkDerivation rec {
name = "mate-sensors-applet-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "3";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "1nm68rhp73kgvs7wwsgs5zbvq3lzaanl5s5nnn28saiknjbz1mcx";
};

nativeBuildInputs = [
pkgconfig
intltool
itstool
wrapGAppsHook
];

# maybe add nvidia-settings later on
buildInputs = [
gtk3
libxml2
libxslt
libatasmart
libnotify
dbus_glib
lm_sensors
mate-panel
hicolor_icon_theme
];

meta = with stdenv.lib; {
homepage = https://github.com/mate-desktop/mate-sensors-applet;
description = "MATE panel applet for hardware sensors";
license = with licenses; [ gpl2Plus ];
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}
15 changes: 9 additions & 6 deletions pkgs/desktops/mate/mate-session-manager/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, dbus_glib, systemd, xtrans, xorg, gnome3, mate, hicolor_icon_theme, wrapGAppsHook }:
{ stdenv, fetchurl, pkgconfig, intltool, xtrans, dbus_glib, systemd,
libSM, libXtst, gtk3, mate-desktop, hicolor_icon_theme,
wrapGAppsHook
}:

stdenv.mkDerivation rec {
name = "mate-session-manager-${version}";
@@ -14,18 +17,18 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
pkgconfig
intltool
xtrans
wrapGAppsHook
];

buildInputs = [
dbus_glib
systemd
xtrans
libSM
libXtst
gtk3
mate-desktop
hicolor_icon_theme
xorg.libSM
gnome3.gtk3
gnome3.gsettings_desktop_schemas
mate.mate-desktop
];

meta = with stdenv.lib; {
39 changes: 39 additions & 0 deletions pkgs/desktops/mate/mate-system-monitor/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, gtkmm3, libxml2, libgtop, libwnck3, librsvg, systemd, wrapGAppsHook }:

stdenv.mkDerivation rec {
name = "mate-system-monitor-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "1";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "1xhz7d9045xfh431rn27kh1sd1clbzkfrw1zkjgfnpad6v3aaaks";
};

nativeBuildInputs = [
pkgconfig
intltool
itstool
wrapGAppsHook
];

buildInputs = [
gtkmm3
libxml2
libgtop
libwnck3
librsvg
systemd
];

configureFlags = "--enable-systemd";

meta = with stdenv.lib; {
description = "System monitor for the MATE desktop";
homepage = http://mate-desktop.org;
license = [ licenses.gpl2Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}
25 changes: 25 additions & 0 deletions pkgs/desktops/mate/mate-user-guide/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{ stdenv, fetchurl, intltool, itstool, libxml2, yelp }:

stdenv.mkDerivation rec {
name = "mate-user-guide-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "0";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "0f3b46r9a3cywm7rpj08xlkfnlfr9db58xfcpix8i33qp50fxqmb";
};

nativeBuildInputs = [ itstool intltool libxml2 ];

buildInputs = [ yelp ];

meta = with stdenv.lib; {
description = "MATE User Guide";
homepage = http://mate-desktop.org;
license = with licenses; [ gpl2Plus fdl12 ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}
54 changes: 54 additions & 0 deletions pkgs/desktops/mate/mate-user-share/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, gtk3, dbus_glib, libnotify, libxml2, libcanberra_gtk3, caja, mod_dnssd, apacheHttpd, hicolor_icon_theme, wrapGAppsHook }:

stdenv.mkDerivation rec {
name = "mate-user-share-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "0";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "0w7r7jmm12n41hcxj1pfk3f0xy69cddx7ga490x191rdpcb3ry1n";
};

nativeBuildInputs = [
pkgconfig
intltool
itstool
wrapGAppsHook
];

buildInputs = [
gtk3
dbus_glib
libnotify
libcanberra_gtk3
libxml2
caja
hicolor_icon_theme
# Should mod_dnssd and apacheHttpd be runtime dependencies?
# In gnome-user-share they are not.
#mod_dnssd
#apacheHttpd
];

preConfigure = ''
sed -e 's,^LoadModule dnssd_module.\+,LoadModule dnssd_module ${mod_dnssd}/modules/mod_dnssd.so,' \
-e 's,''${HTTP_MODULES_PATH},${apacheHttpd}/modules,' \
-i data/dav_user_2.4.conf
'';

configureFlags = [
"--with-httpd=${apacheHttpd.out}/bin/httpd"
"--with-modules-path=${apacheHttpd.dev}/modules"
"--with-cajadir=$(out)/lib/caja/extensions-2.0"
];

meta = with stdenv.lib; {
description = "User level public file sharing for the MATE desktop";
homepage = https://github.com/mate-desktop/mate-user-share;
license = with licenses; [ gpl2Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}
37 changes: 37 additions & 0 deletions pkgs/desktops/mate/mate-utils/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, gtk3, libxml2, libgtop, libcanberra_gtk3, mate-panel, hicolor_icon_theme, wrapGAppsHook }:

stdenv.mkDerivation rec {
name = "mate-utils-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "3";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "1nw8rcq3x67v73cmy44zz6r2ikz46wsx834qzkbq4i2ac96kdkfz";
};

nativeBuildInputs = [
pkgconfig
intltool
itstool
wrapGAppsHook
];

buildInputs = [
gtk3
libgtop
libcanberra_gtk3
libxml2
mate-panel
hicolor_icon_theme
];

meta = with stdenv.lib; {
description = "Utilities for the MATE desktop";
homepage = http://mate-desktop.org;
license = with licenses; [ gpl2Plus lgpl2Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}
29 changes: 29 additions & 0 deletions pkgs/desktops/mate/mozo/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ stdenv, fetchurl, pkgconfig, intltool, mate-menus, pythonPackages }:

stdenv.mkDerivation rec {
name = "mozo-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "0";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "04yn9bw64q5a5kvpmkb7rb3mlp11pmnvkbphficsgb0368fj895b";
};

pythonPath = [ mate-menus pythonPackages.pygobject3 ];

nativeBuildInputs = [ pkgconfig intltool pythonPackages.wrapPython ];

buildInputs = [ pythonPackages.python ] ++ pythonPath;

preFixup = "wrapPythonPrograms";

meta = with stdenv.lib; {
description = "MATE Desktop menu editor";
homepage = https://github.com/mate-desktop/mozo;
license = with licenses; [ lgpl2Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}
36 changes: 36 additions & 0 deletions pkgs/desktops/mate/python-caja/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, caja, pythonPackages }:

stdenv.mkDerivation rec {
name = "python-caja-${version}";
version = "${major-ver}.${minor-ver}";
major-ver = "1.18";
minor-ver = "1";

src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${major-ver}/${name}.tar.xz";
sha256 = "0n43cvvv29gq31hgrsf9al184cr87c3hzskrh2593rid52kwyz44";
};

nativeBuildInputs = [
pkgconfig
intltool
pythonPackages.wrapPython
];

buildInputs = [
gtk3
caja
pythonPackages.python
pythonPackages.pygobject3
];

configureFlags = [ "--with-cajadir=$$out/lib/caja/extensions-2.0" ];

meta = with stdenv.lib; {
description = "Python binding for Caja components";
homepage = https://github.com/mate-desktop/python-caja;
license = [ licenses.gpl2Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}