diff --git a/nixos/doc/manual/release-notes/rl-2003.xml b/nixos/doc/manual/release-notes/rl-2003.xml
index f57974da6ef..7812f4dee42 100644
--- a/nixos/doc/manual/release-notes/rl-2003.xml
+++ b/nixos/doc/manual/release-notes/rl-2003.xml
@@ -148,6 +148,14 @@
You should now use the different build tools coming with the languages with sandbox mode disabled.
+
+
+ There is now only one Xfce package-set and module. This means attributes, xfce4-14
+ xfce4-12, and xfceUnstable all now point to the latest Xfce 4.14
+ packages. And in future NixOS releases will be the latest released version of Xfce available at the
+ time during the releases development (if viable).
+
+
diff --git a/nixos/modules/services/desktops/tumbler.nix b/nixos/modules/services/desktops/tumbler.nix
index d18088d4634..a833e99ff8c 100644
--- a/nixos/modules/services/desktops/tumbler.nix
+++ b/nixos/modules/services/desktops/tumbler.nix
@@ -7,12 +7,17 @@ with lib;
let
cfg = config.services.tumbler;
- tumbler = cfg.package;
in
{
+ imports = [
+ (mkRemovedOptionModule
+ [ "services" "tumbler" "package" ]
+ "")
+ ];
+
###### interface
options = {
@@ -21,13 +26,6 @@ in
enable = mkEnableOption "Tumbler, A D-Bus thumbnailer service";
- package = mkOption {
- type = types.package;
- default = pkgs.xfce4-14.tumbler;
- description = "Which tumbler package to use";
- example = pkgs.xfce4-12.tumbler;
- };
-
};
};
@@ -37,11 +35,11 @@ in
config = mkIf cfg.enable {
- environment.systemPackages = [
+ environment.systemPackages = with pkgs.xfce; [
tumbler
];
- services.dbus.packages = [
+ services.dbus.packages = with pkgs.xfce; [
tumbler
];
diff --git a/nixos/modules/services/x11/desktop-managers/default.nix b/nixos/modules/services/x11/desktop-managers/default.nix
index dfb84113e13..671a959cdde 100644
--- a/nixos/modules/services/x11/desktop-managers/default.nix
+++ b/nixos/modules/services/x11/desktop-managers/default.nix
@@ -18,7 +18,7 @@ in
# determines the default: later modules (if enabled) are preferred.
# E.g., if Plasma 5 is enabled, it supersedes xterm.
imports = [
- ./none.nix ./xterm.nix ./xfce.nix ./xfce4-14.nix ./plasma5.nix ./lumina.nix
+ ./none.nix ./xterm.nix ./xfce.nix ./plasma5.nix ./lumina.nix
./lxqt.nix ./enlightenment.nix ./gnome3.nix ./kodi.nix ./maxx.nix
./mate.nix ./pantheon.nix ./surf-display.nix
];
diff --git a/nixos/modules/services/x11/desktop-managers/xfce.nix b/nixos/modules/services/x11/desktop-managers/xfce.nix
index 6965c6d2646..0b70ad5f29c 100644
--- a/nixos/modules/services/x11/desktop-managers/xfce.nix
+++ b/nixos/modules/services/x11/desktop-managers/xfce.nix
@@ -7,6 +7,32 @@ let
in
{
+
+ imports = [
+ # added 2019-08-18
+ # needed to preserve some semblance of UI familarity
+ # with original XFCE module
+ (mkRenamedOptionModule
+ [ "services" "xserver" "desktopManager" "xfce4-14" "extraSessionCommands" ]
+ [ "services" "xserver" "displayManager" "sessionCommands" ])
+
+ # added 2019-11-04
+ # xfce4-14 module removed and promoted to xfce.
+ # Needed for configs that used xfce4-14 module to migrate to this one.
+ (mkRenamedOptionModule
+ [ "services" "xserver" "desktopManager" "xfce4-14" "enable" ]
+ [ "services" "xserver" "desktopManager" "xfce" "enable" ])
+ (mkRenamedOptionModule
+ [ "services" "xserver" "desktopManager" "xfce4-14" "noDesktop" ]
+ [ "services" "xserver" "desktopManager" "xfce" "noDesktop" ])
+ (mkRenamedOptionModule
+ [ "services" "xserver" "desktopManager" "xfce4-14" "enableXfwm" ]
+ [ "services" "xserver" "desktopManager" "xfce" "enableXfwm" ])
+ (mkRenamedOptionModule
+ [ "services" "xserver" "desktopManager" "xfce" "extraSessionCommands" ]
+ [ "services" "xserver" "displayManager" "sessionCommands" ])
+ ];
+
options = {
services.xserver.desktopManager.xfce = {
enable = mkOption {
@@ -30,14 +56,6 @@ in
description = "Don't install XFCE desktop components (xfdesktop, panel and notification daemon).";
};
- extraSessionCommands = mkOption {
- default = "";
- type = types.lines;
- description = ''
- Shell commands executed just before XFCE is started.
- '';
- };
-
enableXfwm = mkOption {
type = types.bool;
default = true;
@@ -48,76 +66,101 @@ in
config = mkIf cfg.enable {
environment.systemPackages = with pkgs.xfce // pkgs; [
- # Get GTK themes and gtk-update-icon-cache
- gtk2.out
+ glib # for gsettings
+ gtk3.out # gtk-update-icon-cache
- # Supplies some abstract icons such as:
- # utilities-terminal, accessories-text-editor
+ gnome3.gnome-themes-extra
gnome3.adwaita-icon-theme
-
hicolor-icon-theme
tango-icon-theme
xfce4-icon-theme
+ desktop-file-utils
+ shared-mime-info # for update-mime-database
+
+ # For a polkit authentication agent
+ polkit_gnome
+
# Needed by Xfce's xinitrc script
- # TODO: replace with command -v
- which
+ xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/
exo
garcon
- gtk-xfce-engine
libxfce4ui
- tumbler
xfconf
mousepad
+ parole
ristretto
xfce4-appfinder
xfce4-screenshooter
xfce4-session
xfce4-settings
+ xfce4-taskmanager
xfce4-terminal
(thunar.override { thunarPlugins = cfg.thunarPlugins; })
- thunar-volman # TODO: drop
- ] ++ (if config.hardware.pulseaudio.enable
- then [ xfce4-mixer-pulse xfce4-volumed-pulse ]
- else [ xfce4-mixer xfce4-volumed ])
- # TODO: NetworkManager doesn't belong here
- ++ optionals config.networking.networkmanager.enable [ networkmanagerapplet ]
- ++ optionals config.powerManagement.enable [ xfce4-power-manager ]
- ++ optionals cfg.enableXfwm [ xfwm4 ]
- ++ optionals (!cfg.noDesktop) [
- xfce4-panel
+ ] # TODO: NetworkManager doesn't belong here
+ ++ optional config.networking.networkmanager.enable networkmanagerapplet
+ ++ optional config.powerManagement.enable xfce4-power-manager
+ ++ optionals config.hardware.pulseaudio.enable [
+ pavucontrol
+ # volume up/down keys support:
+ # xfce4-pulseaudio-plugin includes all the functionalities of xfce4-volumed-pulse
+ # but can only be used with xfce4-panel, so for no-desktop usage we still include
+ # xfce4-volumed-pulse
+ (if cfg.noDesktop then xfce4-volumed-pulse else xfce4-pulseaudio-plugin)
+ ] ++ optionals cfg.enableXfwm [
+ xfwm4
+ xfwm4-themes
+ ] ++ optionals (!cfg.noDesktop) [
xfce4-notifyd
+ xfce4-panel
xfdesktop
];
environment.pathsToLink = [
"/share/xfce4"
- "/share/themes"
- "/share/gtksourceview-2.0"
+ "/lib/xfce4"
+ "/share/gtksourceview-3.0"
+ "/share/gtksourceview-4.0"
];
- services.xserver.gdk-pixbuf.modulePackages = [ pkgs.librsvg ];
-
services.xserver.desktopManager.session = [{
name = "xfce";
bgSupport = true;
start = ''
- ${cfg.extraSessionCommands}
-
- ${pkgs.runtimeShell} ${pkgs.xfce.xinitrc} &
+ ${pkgs.runtimeShell} ${pkgs.xfce.xfce4-session.xinitrc} &
waitPID=$!
'';
}];
services.xserver.updateDbusEnvironment = true;
+ services.xserver.gdk-pixbuf.modulePackages = [ pkgs.librsvg ];
# Enable helpful DBus services.
services.udisks2.enable = true;
+ security.polkit.enable = true;
+ services.accounts-daemon.enable = true;
services.upower.enable = config.powerManagement.enable;
+ services.gnome3.glib-networking.enable = true;
services.gvfs.enable = true;
services.gvfs.package = pkgs.xfce.gvfs;
+ services.tumbler.enable = true;
+ services.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true));
+ services.xserver.libinput.enable = mkDefault true; # used in xfce4-settings-manager
+
+ # Enable default programs
+ programs.dconf.enable = true;
+
+ # Shell integration for VTE terminals
+ programs.bash.vteIntegration = mkDefault true;
+ programs.zsh.vteIntegration = mkDefault true;
+
+ # Systemd services
+ systemd.packages = with pkgs.xfce; [
+ (thunar.override { thunarPlugins = cfg.thunarPlugins; })
+ ] ++ optional (!cfg.noDesktop) xfce4-notifyd;
+
};
}
diff --git a/nixos/modules/services/x11/desktop-managers/xfce4-14.nix b/nixos/modules/services/x11/desktop-managers/xfce4-14.nix
deleted file mode 100644
index ffc99172e79..00000000000
--- a/nixos/modules/services/x11/desktop-managers/xfce4-14.nix
+++ /dev/null
@@ -1,152 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-let
- cfg = config.services.xserver.desktopManager.xfce4-14;
-in
-
-{
- # added 2019-08-18
- # needed to preserve some semblance of UI familarity
- # with original XFCE module
- imports = [
- (mkRenamedOptionModule
- [ "services" "xserver" "desktopManager" "xfce4-14" "extraSessionCommands" ]
- [ "services" "xserver" "displayManager" "sessionCommands" ])
- ];
-
- options = {
- services.xserver.desktopManager.xfce4-14 = {
- enable = mkOption {
- type = types.bool;
- default = false;
- description = "Enable the Xfce desktop environment.";
- };
-
- # TODO: support thunar plugins
- # thunarPlugins = mkOption {
- # default = [];
- # type = types.listOf types.package;
- # example = literalExample "[ pkgs.xfce4-14.thunar-archive-plugin ]";
- # description = ''
- # A list of plugin that should be installed with Thunar.
- # '';
- # };
-
- noDesktop = mkOption {
- type = types.bool;
- default = false;
- description = "Don't install XFCE desktop components (xfdesktop, panel and notification daemon).";
- };
-
- enableXfwm = mkOption {
- type = types.bool;
- default = true;
- description = "Enable the XFWM (default) window manager.";
- };
- };
- };
-
- config = mkIf cfg.enable {
- environment.systemPackages = with pkgs.xfce4-14 // pkgs; [
- glib # for gsettings
- gtk3.out # gtk-update-icon-cache
-
- gnome3.gnome-themes-extra
- gnome3.adwaita-icon-theme
- hicolor-icon-theme
- tango-icon-theme
- xfce4-icon-theme
-
- desktop-file-utils
- shared-mime-info # for update-mime-database
-
- # For a polkit authentication agent
- polkit_gnome
-
- # Needed by Xfce's xinitrc script
- xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/
-
- exo
- garcon
- libxfce4ui
- xfconf
-
- mousepad
- parole
- ristretto
- xfce4-appfinder
- xfce4-screenshooter
- xfce4-session
- xfce4-settings
- xfce4-taskmanager
- xfce4-terminal
-
- # TODO: resync patch for plugins
- #(thunar.override { thunarPlugins = cfg.thunarPlugins; })
- thunar
- ] # TODO: NetworkManager doesn't belong here
- ++ optional config.networking.networkmanager.enable networkmanagerapplet
- ++ optional config.powerManagement.enable xfce4-power-manager
- ++ optionals config.hardware.pulseaudio.enable [
- pavucontrol
- # volume up/down keys support:
- # xfce4-pulseaudio-plugin includes all the functionalities of xfce4-volumed-pulse
- # but can only be used with xfce4-panel, so for no-desktop usage we still include
- # xfce4-volumed-pulse
- (if cfg.noDesktop then xfce4-volumed-pulse else xfce4-pulseaudio-plugin)
- ] ++ optionals cfg.enableXfwm [
- xfwm4
- xfwm4-themes
- ] ++ optionals (!cfg.noDesktop) [
- xfce4-notifyd
- xfce4-panel
- xfdesktop
- ];
-
- environment.pathsToLink = [
- "/share/xfce4"
- "/lib/xfce4"
- "/share/gtksourceview-3.0"
- "/share/gtksourceview-4.0"
- ];
-
- services.xserver.desktopManager.session = [{
- name = "xfce4-14";
- bgSupport = true;
- start = ''
- ${pkgs.runtimeShell} ${pkgs.xfce4-14.xinitrc} &
- waitPID=$!
- '';
- }];
-
- services.xserver.updateDbusEnvironment = true;
- services.xserver.gdk-pixbuf.modulePackages = [ pkgs.librsvg ];
-
- # Enable helpful DBus services.
- services.udisks2.enable = true;
- security.polkit.enable = true;
- services.accounts-daemon.enable = true;
- services.upower.enable = config.powerManagement.enable;
- services.gnome3.glib-networking.enable = true;
- services.gvfs.enable = true;
- services.gvfs.package = pkgs.xfce.gvfs;
- services.tumbler.enable = true;
- services.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true));
- services.xserver.libinput.enable = mkDefault true; # used in xfce4-settings-manager
-
- # Enable default programs
- programs.dconf.enable = true;
-
- # Shell integration for VTE terminals
- programs.bash.vteIntegration = mkDefault true;
- programs.zsh.vteIntegration = mkDefault true;
-
- # Systemd services
- systemd.packages = with pkgs.xfce4-14; [
- thunar
- ] ++ optional (!cfg.noDesktop) xfce4-notifyd;
-
- };
-}
diff --git a/nixos/release-combined.nix b/nixos/release-combined.nix
index 1bcab5cab09..689f881cbea 100644
--- a/nixos/release-combined.nix
+++ b/nixos/release-combined.nix
@@ -136,7 +136,6 @@ in rec {
(all nixos.tests.switchTest)
(all nixos.tests.udisks2)
(all nixos.tests.xfce)
- (all nixos.tests.xfce4-14)
nixpkgs.tarball
(all allSupportedNixpkgs.emacs)
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix
index 78bf7ea962a..fc1f91c3a0d 100644
--- a/nixos/tests/all-tests.nix
+++ b/nixos/tests/all-tests.nix
@@ -284,7 +284,6 @@ in
wordpress = handleTest ./wordpress.nix {};
xautolock = handleTest ./xautolock.nix {};
xfce = handleTest ./xfce.nix {};
- xfce4-14 = handleTest ./xfce4-14.nix {};
xmonad = handleTest ./xmonad.nix {};
xrdp = handleTest ./xrdp.nix {};
xss-lock = handleTest ./xss-lock.nix {};
diff --git a/nixos/tests/xfce.nix b/nixos/tests/xfce.nix
index 7ff623062d9..98d355c12c8 100644
--- a/nixos/tests/xfce.nix
+++ b/nixos/tests/xfce.nix
@@ -1,8 +1,5 @@
import ./make-test.nix ({ pkgs, ...} : {
name = "xfce";
- meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco shlevy ];
- };
machine =
{ pkgs, ... }:
@@ -16,8 +13,6 @@ import ./make-test.nix ({ pkgs, ...} : {
services.xserver.desktopManager.xfce.enable = true;
- environment.systemPackages = [ pkgs.xorg.xmessage ];
-
hardware.pulseaudio.enable = true; # needed for the factl test, /dev/snd/* exists without them but udev doesn't care then
virtualisation.memorySize = 1024;
@@ -38,9 +33,5 @@ import ./make-test.nix ({ pkgs, ...} : {
$machine->waitForWindow(qr/Terminal/);
$machine->sleep(10);
$machine->screenshot("screen");
-
- # Ensure that the X server does proper access control.
- $machine->mustFail("su - bob -c 'DISPLAY=:0.0 xmessage Foo'");
- $machine->mustFail("su - bob -c 'DISPLAY=:0 xmessage Foo'");
'';
})
diff --git a/nixos/tests/xfce4-14.nix b/nixos/tests/xfce4-14.nix
deleted file mode 100644
index d9b87b08437..00000000000
--- a/nixos/tests/xfce4-14.nix
+++ /dev/null
@@ -1,37 +0,0 @@
-import ./make-test.nix ({ pkgs, ...} : {
- name = "xfce4-14";
-
- machine =
- { pkgs, ... }:
-
- { imports = [ ./common/user-account.nix ];
-
- services.xserver.enable = true;
-
- services.xserver.displayManager.auto.enable = true;
- services.xserver.displayManager.auto.user = "alice";
-
- services.xserver.desktopManager.xfce4-14.enable = true;
-
- hardware.pulseaudio.enable = true; # needed for the factl test, /dev/snd/* exists without them but udev doesn't care then
-
- virtualisation.memorySize = 1024;
- };
-
- testScript =
- ''
- $machine->waitForX;
- $machine->waitForFile("/home/alice/.Xauthority");
- $machine->succeed("xauth merge ~alice/.Xauthority");
- $machine->waitForWindow(qr/xfce4-panel/);
- $machine->sleep(10);
-
- # Check that logging in has given the user ownership of devices.
- $machine->succeed("getfacl -p /dev/snd/timer | grep -q alice");
-
- $machine->succeed("su - alice -c 'DISPLAY=:0.0 xfce4-terminal &'");
- $machine->waitForWindow(qr/Terminal/);
- $machine->sleep(10);
- $machine->screenshot("screen");
- '';
-})
diff --git a/pkgs/desktops/xfce/applications/gigolo.nix b/pkgs/desktops/xfce/applications/gigolo.nix
deleted file mode 100644
index d0fc55e77e8..00000000000
--- a/pkgs/desktops/xfce/applications/gigolo.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-{ stdenv, fetchurl, python, gettext, intltool, pkgconfig, gtk, gvfs }:
-
-stdenv.mkDerivation rec {
- p_name = "gigolo";
- ver_maj = "0.4";
- ver_min = "2";
-
- src = fetchurl {
- url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "0r4ij0mlnp0bqq44pyrdcpz18r1zwsksw6w5yc0jzgg7wj7wfgsm";
- };
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ python gettext intltool gtk gvfs];
-
- meta = {
- homepage = "https://goodies.xfce.org/projects/applications/${p_name}";
- description = "A frontend to easily manage connections to remote filesystems";
- platforms = stdenv.lib.platforms.linux;
- };
-}
diff --git a/pkgs/desktops/xfce4-14/gigolo/default.nix b/pkgs/desktops/xfce/applications/gigolo/default.nix
similarity index 72%
rename from pkgs/desktops/xfce4-14/gigolo/default.nix
rename to pkgs/desktops/xfce/applications/gigolo/default.nix
index 5b25e474af2..32486aab981 100644
--- a/pkgs/desktops/xfce4-14/gigolo/default.nix
+++ b/pkgs/desktops/xfce/applications/gigolo/default.nix
@@ -9,4 +9,8 @@ mkXfceDerivation {
nativeBuildInputs = [ exo ];
buildInputs = [ gtk3 glib gvfs ];
+
+ meta = {
+ description = "A frontend to easily manage connections to remote filesystems";
+ };
}
diff --git a/pkgs/desktops/xfce/applications/mousepad-12134.patch b/pkgs/desktops/xfce/applications/mousepad-12134.patch
deleted file mode 100644
index 74a28ecf61a..00000000000
--- a/pkgs/desktops/xfce/applications/mousepad-12134.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-diff -urNZ a/mousepad/mousepad-action-group.c b/mousepad/mousepad-action-group.c
---- a/mousepad/mousepad-action-group.c 2014-09-01 20:50:07.000000000 +0000
-+++ b/mousepad/mousepad-action-group.c 2017-12-18 16:57:46.836538403 +0000
-@@ -302,11 +302,6 @@
- gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), TRUE);
- self->locked = FALSE;
-
-- /* update the setting when the active action is changed */
-- self->locked = TRUE;
-- MOUSEPAD_SETTING_SET_STRING (COLOR_SCHEME, gtk_source_style_scheme_get_id (scheme));
-- self->locked = FALSE;
--
- g_object_notify (G_OBJECT (self), "active-style-scheme");
- }
-
-@@ -473,6 +468,8 @@
- mousepad_action_group_style_scheme_action_activate (MousepadActionGroup *self,
- MousepadStyleSchemeAction *action)
- {
-+ const gchar *scheme_name = NULL;
-+
- /* only update the active action if we're not already in the process of
- * setting it and the sender action is actually active */
- if (! self->locked &&
-@@ -481,7 +478,14 @@
- GtkSourceStyleScheme *scheme;
-
- scheme = mousepad_style_scheme_action_get_style_scheme (action);
-- mousepad_action_group_set_active_style_scheme (self, scheme);
-+
-+ /* update the setting when the active action is changed */
-+ if (scheme != NULL)
-+ scheme_name = gtk_source_style_scheme_get_id(scheme);
-+
-+ self->locked = TRUE;
-+ MOUSEPAD_SETTING_SET_STRING (COLOR_SCHEME, scheme_name);
-+ self->locked = FALSE;
- }
- }
-
-diff -urNZ a/mousepad/mousepad-window.c b/mousepad/mousepad-window.c
---- a/mousepad/mousepad-window.c 2014-09-01 20:58:02.000000000 +0000
-+++ b/mousepad/mousepad-window.c 2017-12-18 17:07:51.099321408 +0000
-@@ -712,32 +712,6 @@
-
-
- static void
--mousepad_window_action_group_style_scheme_changed (MousepadWindow *window,
-- GParamSpec *pspec,
-- MousepadActionGroup *group)
--{
-- GtkSourceStyleScheme *scheme;
-- const gchar *scheme_id;
-- gint npages, i;
--
-- /* get the new active language */
-- scheme = mousepad_action_group_get_active_style_scheme (group);
-- scheme_id = gtk_source_style_scheme_get_id (scheme);
--
-- /* update the color scheme on all the documents */
-- npages = gtk_notebook_get_n_pages (GTK_NOTEBOOK (window->notebook));
-- for (i = 0; i < npages; i++)
-- {
-- MousepadDocument *document;
--
-- document = MOUSEPAD_DOCUMENT (gtk_notebook_get_nth_page (GTK_NOTEBOOK (window->notebook), i));
-- mousepad_view_set_color_scheme (document->textview, scheme_id);
-- }
--}
--
--
--
--static void
- mousepad_window_create_style_schemes_menu (MousepadWindow *window)
- {
- GtkWidget *menu, *item;
-@@ -751,13 +725,6 @@
- gtk_menu_item_set_submenu (GTK_MENU_ITEM (item), menu);
- gtk_widget_show_all (menu);
- gtk_widget_show (item);
--
-- /* watch for activations of the style schemes actions */
-- g_signal_connect_object (window->action_group,
-- "notify::active-style-scheme",
-- G_CALLBACK (mousepad_window_action_group_style_scheme_changed),
-- window,
-- G_CONNECT_SWAPPED);
- }
-
-
diff --git a/pkgs/desktops/xfce/applications/mousepad.nix b/pkgs/desktops/xfce/applications/mousepad.nix
deleted file mode 100644
index 2dca1fa29b0..00000000000
--- a/pkgs/desktops/xfce/applications/mousepad.nix
+++ /dev/null
@@ -1,38 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util
-, gtk, gtksourceview, dbus, dbus-glib, makeWrapper
-, dconf }:
-
-stdenv.mkDerivation rec {
- p_name = "mousepad";
- ver_maj = "0.4";
- ver_min = "0";
-
- src = fetchurl {
- url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "60114431eac8db6bb6ce18bd38f1630cccb684375b97a445a1b6fd619848d132";
- };
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- patches = [ ./mousepad-12134.patch ];
-
- buildInputs =
- [ pkgconfig intltool libxfce4util
- gtk gtksourceview dbus dbus-glib makeWrapper
- dconf
- ];
-
- configureFlags = [ "--enable-keyfile-settings" ];
-
- preFixup = ''
- wrapProgram "$out/bin/mousepad" \
- --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:${gtksourceview}/share" \
- --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules"
- '';
-
- meta = {
- homepage = https://www.xfce.org/;
- description = "A simple text editor for Xfce";
- license = stdenv.lib.licenses.gpl2Plus;
- platforms = stdenv.lib.platforms.linux;
- };
-}
diff --git a/pkgs/desktops/xfce4-14/mousepad/default.nix b/pkgs/desktops/xfce/applications/mousepad/default.nix
similarity index 86%
rename from pkgs/desktops/xfce4-14/mousepad/default.nix
rename to pkgs/desktops/xfce/applications/mousepad/default.nix
index 77559aaf329..6f841958c79 100644
--- a/pkgs/desktops/xfce4-14/mousepad/default.nix
+++ b/pkgs/desktops/xfce/applications/mousepad/default.nix
@@ -12,4 +12,8 @@ mkXfceDerivation {
# See https://github.com/NixOS/nixpkgs/issues/36468
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
+
+ meta = {
+ description = "A simple text editor for Xfce";
+ };
}
diff --git a/pkgs/desktops/xfce/applications/orage.nix b/pkgs/desktops/xfce/applications/orage.nix
deleted file mode 100644
index 19bd560cbae..00000000000
--- a/pkgs/desktops/xfce/applications/orage.nix
+++ /dev/null
@@ -1,44 +0,0 @@
-{ stdenv, fetchurl, fetchpatch, pkgconfig, bison, flex, intltool, gtk, libical, dbus-glib, tzdata
-, libnotify, popt, xfce }:
-
-stdenv.mkDerivation rec {
- name = "${p_name}-${ver_maj}.${ver_min}";
- p_name = "orage";
- ver_maj = "4.12";
- ver_min = "1";
-
- src = fetchurl {
- url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "0qlhvnl2m33vfxqlbkic2nmfpwyd4mq230jzhs48cg78392amy9w";
- };
-
- patches = [
- # Fix build with libical 3.0
- (fetchpatch {
- name = "fix-libical3.patch";
- url = https://git.archlinux.org/svntogit/packages.git/plain/trunk/libical3.patch?h=packages/orage&id=7b1b06c42dda034d538977b9f3550b28e370057f;
- sha256 = "1l8s106mcidmbx2p8c2pi8v9ngbv2x3fsgv36j8qk8wyd4qd1jbf";
- })
- ];
-
- postPatch = ''
- substituteInPlace src/parameters.c --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
- substituteInPlace src/tz_zoneinfo_read.c --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
- substituteInPlace tz_convert/tz_convert.c --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
- '';
-
- postConfigure = "rm -rf libical"; # ensure pkgs.libical is used instead of one included in the orage sources
-
- nativeBuildInputs = [ pkgconfig intltool bison flex ];
-
- buildInputs = [ gtk libical dbus-glib libnotify popt xfce.libxfce4util
- xfce.xfce4-panel ];
-
- meta = {
- homepage = https://www.xfce.org/projects/;
- description = "A simple calendar application with reminders";
- license = stdenv.lib.licenses.gpl2;
- platforms = stdenv.lib.platforms.linux;
- maintainers = [ stdenv.lib.maintainers.romildo ];
- };
-}
diff --git a/pkgs/desktops/xfce4-14/orage/default.nix b/pkgs/desktops/xfce/applications/orage/default.nix
similarity index 93%
rename from pkgs/desktops/xfce4-14/orage/default.nix
rename to pkgs/desktops/xfce/applications/orage/default.nix
index 7bb10c2fd94..4a48cc83dda 100644
--- a/pkgs/desktops/xfce4-14/orage/default.nix
+++ b/pkgs/desktops/xfce/applications/orage/default.nix
@@ -32,4 +32,8 @@ mkXfceDerivation {
sha256 = "1l8s106mcidmbx2p8c2pi8v9ngbv2x3fsgv36j8qk8wyd4qd1jbf";
})
];
+
+ meta = {
+ description = "A simple calendar application with reminders";
+ };
}
diff --git a/pkgs/desktops/xfce/applications/parole.nix b/pkgs/desktops/xfce/applications/parole.nix
deleted file mode 100644
index ac0180c20fe..00000000000
--- a/pkgs/desktops/xfce/applications/parole.nix
+++ /dev/null
@@ -1,38 +0,0 @@
-{ stdenv, fetchurl, makeWrapper, pkgconfig, intltool, gst_all_1
-, gtk, dbus-glib, libxfce4ui, libxfce4util, xfconf
-, taglib, libnotify, hicolor-icon-theme
-, withGstPlugins ? true
-}:
-
-stdenv.mkDerivation rec {
- p_name = "parole";
- ver_maj = "0.5";
- ver_min = "4";
-
- src = fetchurl {
- url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "1hxzqg9dfghrhvmnnccwwa4278fh2awkcqy89sla05m08mxvvx60";
- };
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- nativeBuildInputs = [ pkgconfig intltool ];
-
- buildInputs = [
- makeWrapper hicolor-icon-theme
- gtk dbus-glib libxfce4ui libxfce4util xfconf
- taglib libnotify
- ] ++ (with gst_all_1; [ gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav]);
-
- configureFlags = [ "--with-gstreamer=1.0" ];
-
- postInstall = stdenv.lib.optionalString withGstPlugins ''
- wrapProgram "$out/bin/parole" --prefix \
- GST_PLUGIN_SYSTEM_PATH_1_0 ":" "$GST_PLUGIN_SYSTEM_PATH_1_0"
- '';
-
- meta = {
- homepage = "https://goodies.xfce.org/projects/applications/${p_name}";
- description = "Modern simple media player";
- platforms = stdenv.lib.platforms.linux;
- };
-}
diff --git a/pkgs/desktops/xfce4-14/parole/default.nix b/pkgs/desktops/xfce/applications/parole/default.nix
similarity index 79%
rename from pkgs/desktops/xfce4-14/parole/default.nix
rename to pkgs/desktops/xfce/applications/parole/default.nix
index ed3979072ed..20b899165f0 100644
--- a/pkgs/desktops/xfce4-14/parole/default.nix
+++ b/pkgs/desktops/xfce/applications/parole/default.nix
@@ -1,6 +1,5 @@
{ mkXfceDerivation, dbus, dbus-glib
-, gst-plugins-bad, gst-plugins-base, gst-plugins-good
-, gst-plugins-ugly, gtk3, libnotify, libxfce4ui, libxfce4util
+, gst_all_1, gtk3, libnotify, libxfce4ui, libxfce4util
, taglib, xfconf }:
# Doesn't seem to find H.264 codec even though built with gst-plugins-bad.
@@ -17,7 +16,7 @@ mkXfceDerivation {
--replace GST_BASE_CFLAGS GST_VIDEO_CFLAGS
'';
- buildInputs = [
+ buildInputs = with gst_all_1; [
dbus
dbus-glib
gst-plugins-bad
@@ -31,4 +30,8 @@ mkXfceDerivation {
taglib
xfconf
];
+
+ meta = {
+ description = "Modern simple media player";
+ };
}
diff --git a/pkgs/desktops/xfce/applications/ristretto.nix b/pkgs/desktops/xfce/applications/ristretto.nix
deleted file mode 100644
index 3c0e8040c3b..00000000000
--- a/pkgs/desktops/xfce/applications/ristretto.nix
+++ /dev/null
@@ -1,34 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, libexif, gtk
-, exo, dbus-glib, libxfce4util, libxfce4ui, xfconf
-, hicolor-icon-theme, makeWrapper
-}:
-
-stdenv.mkDerivation rec {
- p_name = "ristretto";
- ver_maj = "0.6";
- ver_min = "3";
-
- src = fetchurl {
- url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "0y9d8w1plwp4vmxs44y8k8x15i0k0xln89k6jndhv6lf57g1cs1b";
- };
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- buildInputs =
- [ pkgconfig intltool libexif gtk dbus-glib exo libxfce4util
- libxfce4ui xfconf hicolor-icon-theme makeWrapper
- ];
-
- postInstall = ''
- wrapProgram "$out/bin/ristretto" \
- --prefix XDG_DATA_DIRS : "${hicolor-icon-theme}/share"
- '';
-
- meta = {
- homepage = "https://goodies.xfce.org/projects/applications/${p_name}";
- description = "A fast and lightweight picture-viewer for the Xfce desktop environment";
- license = stdenv.lib.licenses.gpl2Plus;
- platforms = stdenv.lib.platforms.linux;
- maintainers = [ stdenv.lib.maintainers.eelco ];
- };
-}
diff --git a/pkgs/desktops/xfce4-14/ristretto/default.nix b/pkgs/desktops/xfce/applications/ristretto/default.nix
similarity index 76%
rename from pkgs/desktops/xfce4-14/ristretto/default.nix
rename to pkgs/desktops/xfce/applications/ristretto/default.nix
index 4a24bf90532..8766bd302ab 100644
--- a/pkgs/desktops/xfce4-14/ristretto/default.nix
+++ b/pkgs/desktops/xfce/applications/ristretto/default.nix
@@ -10,4 +10,8 @@ mkXfceDerivation {
nativeBuildInputs = [ exo ];
buildInputs = [ glib gtk3 libexif libxfce4ui libxfce4util xfconf ];
+
+ meta = {
+ description = "A fast and lightweight picture-viewer for the Xfce desktop environment";
+ };
}
diff --git a/pkgs/desktops/xfce/applications/terminal.nix b/pkgs/desktops/xfce/applications/terminal.nix
deleted file mode 100644
index 31e851a469d..00000000000
--- a/pkgs/desktops/xfce/applications/terminal.nix
+++ /dev/null
@@ -1,25 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, ncurses, gtk, vte, dbus-glib
-, exo, libxfce4util, libxfce4ui
-}:
-
-stdenv.mkDerivation rec {
- p_name = "xfce4-terminal";
- ver_maj = "0.6";
- ver_min = "3";
-
- src = fetchurl {
- url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "023y0lkfijifh05yz8grimxadqpi98mrivr00sl18nirq8b4fbwi";
- };
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ intltool exo gtk vte libxfce4util ncurses dbus-glib libxfce4ui ];
-
- meta = {
- homepage = https://www.xfce.org/projects/terminal;
- description = "A modern terminal emulator primarily for the Xfce desktop environment";
- license = stdenv.lib.licenses.gpl2Plus;
- platforms = stdenv.lib.platforms.linux;
- };
-}
diff --git a/pkgs/desktops/xfce/applications/xfburn/default.nix b/pkgs/desktops/xfce/applications/xfburn/default.nix
new file mode 100644
index 00000000000..08f2bd511a8
--- /dev/null
+++ b/pkgs/desktops/xfce/applications/xfburn/default.nix
@@ -0,0 +1,12 @@
+{ mkXfceDerivation, docbook_xsl, exo, gtk3, libburn, libisofs, libxfce4ui, libxslt }:
+
+mkXfceDerivation {
+ category = "apps";
+ pname = "xfburn";
+ version = "0.6.1";
+
+ sha256 = "0a1ly79x7j5pgr3vbsabb4i0jd5rryaigj9z8iqzr8p9miypx20v";
+
+ nativeBuildInputs = [ libxslt docbook_xsl ];
+ buildInputs = [ exo gtk3 libburn libisofs libxfce4ui ];
+}
diff --git a/pkgs/desktops/xfce4-14/xfce4-dict/configure-gio.patch b/pkgs/desktops/xfce/applications/xfce4-dict/configure-gio.patch
similarity index 100%
rename from pkgs/desktops/xfce4-14/xfce4-dict/configure-gio.patch
rename to pkgs/desktops/xfce/applications/xfce4-dict/configure-gio.patch
diff --git a/pkgs/desktops/xfce4-14/xfce4-dict/default.nix b/pkgs/desktops/xfce/applications/xfce4-dict/default.nix
similarity index 84%
rename from pkgs/desktops/xfce4-14/xfce4-dict/default.nix
rename to pkgs/desktops/xfce/applications/xfce4-dict/default.nix
index 66ca7affa48..b2682080216 100644
--- a/pkgs/desktops/xfce4-14/xfce4-dict/default.nix
+++ b/pkgs/desktops/xfce/applications/xfce4-dict/default.nix
@@ -16,4 +16,8 @@ mkXfceDerivation {
'';
buildInputs = [ gtk3 libxfce4ui libxfce4util xfce4-panel ];
+
+ meta = {
+ description = "A Dictionary Client for the Xfce desktop environment";
+ };
}
diff --git a/pkgs/desktops/xfce/applications/xfce4-mixer.nix b/pkgs/desktops/xfce/applications/xfce4-mixer.nix
deleted file mode 100644
index e1646d93a61..00000000000
--- a/pkgs/desktops/xfce/applications/xfce4-mixer.nix
+++ /dev/null
@@ -1,51 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, makeWrapper
-, glib, gstreamer, gst-plugins-base, gtk
-, libxfce4util, libxfce4ui, xfce4-panel, xfconf, libunique ? null
-, pulseaudioSupport ? false, gst-plugins-good
-}:
-
-let
- # The usual Gstreamer plugins package has a zillion dependencies
- # that we don't need for a simple mixer, so build a minimal package.
- gst_plugins_minimal = gst-plugins-base.override {
- minimalDeps = true;
- };
- gst_plugins_pulse = gst-plugins-good.override {
- minimalDeps = true;
- };
- gst_plugins = [ gst_plugins_minimal ] ++ stdenv.lib.optional pulseaudioSupport gst_plugins_pulse;
-
-in
-
-stdenv.mkDerivation rec {
- p_name = "xfce4-mixer";
- ver_maj = "4.10";
- ver_min = "0";
-
- src = fetchurl {
- url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "1pnsd00583l7p5d80rxbh58brzy3jnccwikbbbm730a33c08kid8";
- };
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- buildInputs =
- [ pkgconfig intltool glib gstreamer gtk
- libxfce4util libxfce4ui xfce4-panel xfconf libunique makeWrapper
- ] ++ gst_plugins;
-
- postInstall =
- ''
- wrapProgram "$out/bin/xfce4-mixer" \
- --prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH"
- '';
-
- passthru = { inherit gst_plugins; };
-
- meta = {
- homepage = https://www.xfce.org/projects/xfce4-mixer; # referenced but inactive
- description = "A volume control application for the Xfce desktop environment";
- license = stdenv.lib.licenses.gpl2Plus;
- platforms = stdenv.lib.platforms.linux;
- maintainers = [ stdenv.lib.maintainers.eelco ];
- };
-}
diff --git a/pkgs/desktops/xfce/applications/xfce4-notifyd.nix b/pkgs/desktops/xfce/applications/xfce4-notifyd.nix
deleted file mode 100644
index 19ecff29093..00000000000
--- a/pkgs/desktops/xfce/applications/xfce4-notifyd.nix
+++ /dev/null
@@ -1,32 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, libnotify
-, gtk , libxfce4util, libxfce4ui, xfconf, hicolor-icon-theme }:
-
-stdenv.mkDerivation rec {
- p_name = "xfce4-notifyd";
- ver_maj = "0.2";
- ver_min = "4";
-
- src = fetchurl {
- url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "1l6fpfk0fkizdx7vwbyjdyzzj5i2ng8pf7r8j49nv0cnjhpxczlc";
- };
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ intltool libnotify gtk libxfce4util libxfce4ui xfconf hicolor-icon-theme ];
-
- preFixup = ''
- # to be able to run the daemon we need it in PATH
- ln -rs $out/lib/xfce4/notifyd/xfce4-notifyd $out/bin
- '';
-
- doCheck = true;
-
- meta = {
- homepage = "http://goodies.xfce.org/projects/applications/${p_name}";
- description = "Notification daemon for Xfce";
- license = stdenv.lib.licenses.gpl2Plus;
- platforms = stdenv.lib.platforms.linux;
- maintainers = [ stdenv.lib.maintainers.eelco ];
- };
-}
diff --git a/pkgs/desktops/xfce4-14/xfce4-notifyd/default.nix b/pkgs/desktops/xfce/applications/xfce4-notifyd/default.nix
similarity index 82%
rename from pkgs/desktops/xfce4-14/xfce4-notifyd/default.nix
rename to pkgs/desktops/xfce/applications/xfce4-notifyd/default.nix
index e468fea637e..a991e8c8180 100644
--- a/pkgs/desktops/xfce4-14/xfce4-notifyd/default.nix
+++ b/pkgs/desktops/xfce/applications/xfce4-notifyd/default.nix
@@ -9,4 +9,8 @@ mkXfceDerivation {
sha256 = "1lmm9h3ych8dz9jpjkxg91f9ln14xs527nxjxsryks00kmqk4kai";
buildInputs = [ exo gtk3 glib libnotify libxfce4ui libxfce4util xfce4-panel xfconf ];
+
+ meta = {
+ description = "Simple notification daemon for Xfce";
+ };
}
diff --git a/pkgs/desktops/xfce/applications/xfce4-screenshooter.nix b/pkgs/desktops/xfce/applications/xfce4-screenshooter.nix
deleted file mode 100644
index 085cfd7b8f9..00000000000
--- a/pkgs/desktops/xfce/applications/xfce4-screenshooter.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, xfce4-panel, libxfce4util, gtk, libsoup
-, glib-networking, exo, hicolor-icon-theme, wrapGAppsHook }:
-
-stdenv.mkDerivation rec {
- p_name = "xfce4-screenshooter";
- ver_maj = "1.8";
- ver_min = "2";
-
- src = fetchurl {
- url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "9dce2ddfaa87f703e870e29bae13f3fc82a1b3f06b44f8386640e45a135f5f69";
- };
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- nativeBuildInputs = [
- pkgconfig intltool wrapGAppsHook
- ];
-
- buildInputs = [
- xfce4-panel libxfce4util gtk libsoup exo hicolor-icon-theme glib-networking
- ];
-
- meta = {
- homepage = https://goodies.xfce.org/projects/applications/xfce4-screenshooter;
- description = "Xfce screenshooter";
- license = stdenv.lib.licenses.gpl2Plus;
- platforms = stdenv.lib.platforms.linux;
- };
-}
diff --git a/pkgs/desktops/xfce4-14/xfce4-screenshooter/default.nix b/pkgs/desktops/xfce/applications/xfce4-screenshooter/default.nix
similarity index 81%
rename from pkgs/desktops/xfce4-14/xfce4-screenshooter/default.nix
rename to pkgs/desktops/xfce/applications/xfce4-screenshooter/default.nix
index f13a8fba6d0..012486baac9 100644
--- a/pkgs/desktops/xfce4-14/xfce4-screenshooter/default.nix
+++ b/pkgs/desktops/xfce/applications/xfce4-screenshooter/default.nix
@@ -8,4 +8,8 @@ mkXfceDerivation {
sha256 = "1h14sywvk9l06p3z1cpb79911j8w2wqbk03ldknjkia2rfymjk06";
buildInputs = [ exo gtk3 libsoup libxfce4ui libxfce4util xfce4-panel glib-networking ];
+
+ meta = {
+ description = "Screenshot utility for the Xfce desktop";
+ };
}
diff --git a/pkgs/desktops/xfce/applications/xfce4-taskmanager.nix b/pkgs/desktops/xfce/applications/xfce4-taskmanager.nix
deleted file mode 100644
index 96f71e004a8..00000000000
--- a/pkgs/desktops/xfce/applications/xfce4-taskmanager.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-{ stdenv, fetchurl, intltool, pkgconfig, gtk, libwnck }:
-
-stdenv.mkDerivation rec {
- p_name = "xfce4-taskmanager";
- ver_maj = "1.1";
- ver_min = "0";
-
- src = fetchurl {
- url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "1jwywmkkkmz7406m1jq40w6apiav25cznafhigbgpjv6z5hv27if";
- };
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ intltool gtk libwnck ];
-
- meta = {
- homepage = "https://goodies.xfce.org/projects/applications/${p_name}";
- description = "Easy to use task manager for Xfce";
- platforms = stdenv.lib.platforms.linux;
- };
-}
diff --git a/pkgs/desktops/xfce4-14/xfce4-taskmanager/default.nix b/pkgs/desktops/xfce/applications/xfce4-taskmanager/default.nix
similarity index 80%
rename from pkgs/desktops/xfce4-14/xfce4-taskmanager/default.nix
rename to pkgs/desktops/xfce/applications/xfce4-taskmanager/default.nix
index 776b3797f76..e3d8b4b87d9 100644
--- a/pkgs/desktops/xfce4-14/xfce4-taskmanager/default.nix
+++ b/pkgs/desktops/xfce/applications/xfce4-taskmanager/default.nix
@@ -9,4 +9,8 @@ mkXfceDerivation {
nativeBuildInputs = [ exo ];
buildInputs = [ gtk3 libwnck3 libXmu ];
+
+ meta = {
+ description = "Easy to use task manager for Xfce";
+ };
}
diff --git a/pkgs/desktops/xfce4-14/xfce4-terminal/default.nix b/pkgs/desktops/xfce/applications/xfce4-terminal/default.nix
similarity index 100%
rename from pkgs/desktops/xfce4-14/xfce4-terminal/default.nix
rename to pkgs/desktops/xfce/applications/xfce4-terminal/default.nix
diff --git a/pkgs/desktops/xfce/applications/xfce4-volumed-pulse.nix b/pkgs/desktops/xfce/applications/xfce4-volumed-pulse.nix
deleted file mode 100644
index 4344d34f13f..00000000000
--- a/pkgs/desktops/xfce/applications/xfce4-volumed-pulse.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, libpulseaudio
-, gtk2, libnotify
-, keybinder, xfconf
-}:
-
-stdenv.mkDerivation rec {
- p_name = "xfce4-volumed-pulse";
- ver_maj = "0.2";
- ver_min = "2";
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- src = fetchurl {
- url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "0xjcs1b6ix6rwj9xgr9n89h315r3yhdm8wh5bkincd4lhz6ibhqf";
- };
-
- buildInputs =
- [ libpulseaudio gtk2
- keybinder xfconf libnotify
- ];
-
- nativeBuildInputs = [ pkgconfig ];
-
- meta = with stdenv.lib; {
- homepage = https://launchpad.net/xfce4-volumed-pulse;
- description = "A volume keys control daemon for the Xfce desktop environment (Xubuntu fork)";
- license = licenses.gpl3;
- platforms = platforms.linux;
- maintainers = [ maintainers.abbradar ];
- };
-}
diff --git a/pkgs/desktops/xfce4-14/xfce4-volumed-pulse/default.nix b/pkgs/desktops/xfce/applications/xfce4-volumed-pulse/default.nix
similarity index 75%
rename from pkgs/desktops/xfce4-14/xfce4-volumed-pulse/default.nix
rename to pkgs/desktops/xfce/applications/xfce4-volumed-pulse/default.nix
index 97a00e9b67f..413c04a84cc 100644
--- a/pkgs/desktops/xfce4-14/xfce4-volumed-pulse/default.nix
+++ b/pkgs/desktops/xfce/applications/xfce4-volumed-pulse/default.nix
@@ -10,6 +10,8 @@ mkXfceDerivation {
buildInputs = [ gtk3 libnotify libpulseaudio keybinder3 xfconf ];
meta = with lib; {
+ description = "A volume keys control daemon for Xfce using pulseaudio";
license = licenses.gpl3Plus;
+ maintainers = [ maintainers.abbradar ];
};
}
diff --git a/pkgs/desktops/xfce/applications/xfce4-volumed.nix b/pkgs/desktops/xfce/applications/xfce4-volumed/default.nix
similarity index 100%
rename from pkgs/desktops/xfce/applications/xfce4-volumed.nix
rename to pkgs/desktops/xfce/applications/xfce4-volumed/default.nix
diff --git a/pkgs/desktops/xfce4-14/xfdashboard/default.nix b/pkgs/desktops/xfce/applications/xfdashboard/default.nix
similarity index 100%
rename from pkgs/desktops/xfce4-14/xfdashboard/default.nix
rename to pkgs/desktops/xfce/applications/xfdashboard/default.nix
diff --git a/pkgs/desktops/xfce4-14/automakeAddFlags.sh b/pkgs/desktops/xfce/automakeAddFlags.sh
similarity index 100%
rename from pkgs/desktops/xfce4-14/automakeAddFlags.sh
rename to pkgs/desktops/xfce/automakeAddFlags.sh
diff --git a/pkgs/desktops/xfce/core/exo.nix b/pkgs/desktops/xfce/core/exo.nix
deleted file mode 100644
index 1a7cdd39d10..00000000000
--- a/pkgs/desktops/xfce/core/exo.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, URI, glib, gtk, libxfce4ui, libxfce4util
-, hicolor-icon-theme }:
-
-stdenv.mkDerivation rec {
- p_name = "exo";
- ver_maj = "0.10";
- ver_min = "7";
-
- src = fetchurl {
- url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "521581481128af93e815f9690020998181f947ac9e9c2b232b1f144d76b1b35c";
- };
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- outputs = [ "out" "dev" "devdoc" ];
- # lib/xfce4/exo-1/exo-compose-mail-1 is a perl script :-/
-
- nativeBuildInputs = [ pkgconfig intltool ];
- buildInputs = [ URI glib gtk libxfce4ui libxfce4util hicolor-icon-theme ];
-
- meta = with stdenv.lib; {
- homepage = "https://docs.xfce.org/xfce/${p_name}/start";
- description = "Application library for the Xfce desktop environment";
- license = licenses.gpl2Plus;
- platforms = platforms.linux;
- };
-}
diff --git a/pkgs/desktops/xfce4-14/exo/default.nix b/pkgs/desktops/xfce/core/exo/default.nix
similarity index 100%
rename from pkgs/desktops/xfce4-14/exo/default.nix
rename to pkgs/desktops/xfce/core/exo/default.nix
diff --git a/pkgs/desktops/xfce/core/garcon-10967.patch b/pkgs/desktops/xfce/core/garcon-10967.patch
deleted file mode 100644
index aea12325547..00000000000
--- a/pkgs/desktops/xfce/core/garcon-10967.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -urNZ a/garcon-gtk/garcon-gtk-menu.c b/garcon-gtk/garcon-gtk-menu.c
---- a/garcon-gtk/garcon-gtk-menu.c 2017-11-16 19:22:33.551926068 +0000
-+++ b/garcon-gtk/garcon-gtk-menu.c 2017-11-16 19:23:33.055497211 +0000
-@@ -676,6 +676,9 @@
- G_CALLBACK (garcon_gtk_menu_deactivate), menu);
- gtk_widget_show (mi);
-
-+ /* submenu are child items, too. */
-+ has_children = TRUE;
-+
- if (menu->priv->show_menu_icons)
- {
- icon_name = garcon_menu_element_get_icon_name (li->data);
-Binary files a/.git/index and b/.git/index differ
diff --git a/pkgs/desktops/xfce/core/garcon-12700.patch b/pkgs/desktops/xfce/core/garcon-12700.patch
deleted file mode 100644
index b95a65cc219..00000000000
--- a/pkgs/desktops/xfce/core/garcon-12700.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 222080e6d5fce85eb2a8a5c33df671bd9f21add8 Mon Sep 17 00:00:00 2001
-From: Yegor Timoshenko
-Date: Thu, 14 Dec 2017 22:04:04 +0000
-Subject: [PATCH] Decrement allocation counter on item unref (#12700)
-
----
- garcon/garcon-menu-item-pool.c | 7 ++++++-
- garcon/garcon-menu-item.c | 2 ++
- 2 files changed, 8 insertions(+), 1 deletion(-)
-
-diff --git a/garcon/garcon-menu-item-pool.c b/garcon/garcon-menu-item-pool.c
-index 2017180..355e520 100644
---- a/garcon/garcon-menu-item-pool.c
-+++ b/garcon/garcon-menu-item-pool.c
-@@ -191,7 +191,12 @@ garcon_menu_item_pool_filter_exclude (const gchar *desktop_id,
- g_return_val_if_fail (GARCON_IS_MENU_ITEM (item), FALSE);
- g_return_val_if_fail (node != NULL, FALSE);
-
-- return garcon_menu_node_tree_rule_matches (node, item);
-+ gboolean matches = garcon_menu_node_tree_rule_matches (node, item);
-+
-+ if (matches)
-+ garcon_menu_item_increment_allocated (item);
-+
-+ return matches;
- }
-
-
-diff --git a/garcon/garcon-menu-item.c b/garcon/garcon-menu-item.c
-index 66a86bf..d61c88f 100644
---- a/garcon/garcon-menu-item.c
-+++ b/garcon/garcon-menu-item.c
-@@ -1516,6 +1516,8 @@ garcon_menu_item_unref (GarconMenuItem *item)
- {
- g_return_if_fail (GARCON_IS_MENU_ITEM (item));
-
-+ garcon_menu_item_decrement_allocated (item);
-+
- /* Decrement the reference counter */
- g_object_unref (G_OBJECT (item));
- }
---
-2.15.1
-
diff --git a/pkgs/desktops/xfce/core/garcon.nix b/pkgs/desktops/xfce/core/garcon.nix
deleted file mode 100644
index 41d98f17516..00000000000
--- a/pkgs/desktops/xfce/core/garcon.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, glib, libxfce4util, libxfce4ui, gtk }:
-let
- p_name = "garcon";
- ver_maj = "0.4";
- ver_min = "0";
-in
-stdenv.mkDerivation rec {
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- src = fetchurl {
- url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "0wm9pjbwq53s3n3nwvsyf0q8lbmhiy2ln3bn5ncihr9vf5cwhzbq";
- };
-
- outputs = [ "out" "dev" ];
- patches = [ ./garcon-10967.patch ./garcon-12700.patch ];
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ intltool glib libxfce4util gtk libxfce4ui ];
-
- meta = with stdenv.lib; {
- homepage = https://www.xfce.org/;
- description = "Xfce menu support library";
- license = licenses.gpl2Plus;
- platforms = platforms.linux;
- };
-}
diff --git a/pkgs/desktops/xfce4-14/garcon/default.nix b/pkgs/desktops/xfce/core/garcon/default.nix
similarity index 80%
rename from pkgs/desktops/xfce4-14/garcon/default.nix
rename to pkgs/desktops/xfce/core/garcon/default.nix
index 0d6cb8c410e..69184f2afa8 100644
--- a/pkgs/desktops/xfce4-14/garcon/default.nix
+++ b/pkgs/desktops/xfce/core/garcon/default.nix
@@ -8,4 +8,8 @@ mkXfceDerivation {
sha256 = "0pamhp1wffiw638s66nws2mpzmwkhvhb6iwccfy8b0kyr57wipjv";
buildInputs = [ gtk3 libxfce4ui libxfce4util ];
+
+ meta = {
+ description = "Xfce menu support library";
+ };
}
diff --git a/pkgs/desktops/xfce/core/gtk-xfce-engine.nix b/pkgs/desktops/xfce/core/gtk-xfce-engine.nix
deleted file mode 100644
index 567d3b80387..00000000000
--- a/pkgs/desktops/xfce/core/gtk-xfce-engine.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, gtk2, withGtk3 ? false, gtk3 ? null }:
-
-assert withGtk3 -> (gtk3 != null);
-
-stdenv.mkDerivation rec {
- p_name = "gtk-xfce-engine";
- ver_maj = "3.2";
- ver_min = "0";
-
- src = fetchurl {
- url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "1va71f3gpl8gikfkmqsd5ikgp7qj8b64jii2l98g1ylnv8xrqp47";
- };
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ intltool gtk2 ] ++ stdenv.lib.optional withGtk3 gtk3;
-
- # `glib-mkenums' is unhappy that some source files are not valid UTF-8
- postPatch = ''find . -type f -name '*.[ch]' -exec sed -r -i 's/\xD6/O/g' {} +'';
-
- configureFlags = stdenv.lib.optional withGtk3 "--enable-gtk3";
-
- meta = {
- homepage = https://www.xfce.org/;
- description = "GTK theme engine for Xfce";
- license = stdenv.lib.licenses.gpl2Plus;
- platforms = stdenv.lib.platforms.linux;
- maintainers = [ stdenv.lib.maintainers.eelco ];
- };
-}
diff --git a/pkgs/desktops/xfce/core/libxfce4ui.nix b/pkgs/desktops/xfce/core/libxfce4ui.nix
deleted file mode 100644
index 797b51de8e4..00000000000
--- a/pkgs/desktops/xfce/core/libxfce4ui.nix
+++ /dev/null
@@ -1,41 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, xorg, gtk, libxfce4util, xfconf
-, libglade, libstartup_notification, hicolor-icon-theme
-, withGtk3 ? false, gtk3
-}:
-let
- p_name = "libxfce4ui";
- ver_maj = "4.12";
- ver_min = "1";
- inherit (stdenv.lib) optional;
-in
-stdenv.mkDerivation rec {
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- src = fetchurl {
- url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "3d619811bfbe7478bb984c16543d980cadd08586365a7bc25e59e3ca6384ff43";
- };
-
- outputs = [ "out" "dev" "devdoc" ];
-
- nativeBuildInputs = [ pkgconfig intltool ];
-
- buildInputs =
- [ gtk libxfce4util xfconf libglade
- libstartup_notification hicolor-icon-theme
- ] ++ optional withGtk3 gtk3;
-
- propagatedBuildInputs = [ xorg.libICE xorg.libSM ];
-
- #TODO: glade?
- configureFlags = optional withGtk3 "--enable-gtk3";
-
- enableParallelBuilding = true;
-
- meta = with stdenv.lib; {
- homepage = https://www.xfce.org/;
- description = "Basic GUI library for Xfce";
- license = licenses.lgpl2Plus;
- platforms = platforms.linux;
- };
-}
diff --git a/pkgs/desktops/xfce4-14/libxfce4ui/default.nix b/pkgs/desktops/xfce/core/libxfce4ui/default.nix
similarity index 100%
rename from pkgs/desktops/xfce4-14/libxfce4ui/default.nix
rename to pkgs/desktops/xfce/core/libxfce4ui/default.nix
diff --git a/pkgs/desktops/xfce/core/libxfce4util.nix b/pkgs/desktops/xfce/core/libxfce4util.nix
deleted file mode 100644
index b68b7059f8d..00000000000
--- a/pkgs/desktops/xfce/core/libxfce4util.nix
+++ /dev/null
@@ -1,26 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, glib, intltool }:
-let
- p_name = "libxfce4util";
- ver_maj = "4.12";
- ver_min = "1";
-in
-stdenv.mkDerivation rec {
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- src = fetchurl {
- url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "07c8r3xwx5is298zk77m3r784gmr5y4mh8bbca5zdjqk5vxdwsw7";
- };
-
- outputs = [ "out" "dev" "devdoc" ];
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ glib intltool ];
-
- meta = {
- homepage = https://www.xfce.org/;
- description = "Basic utility non-GUI functions for Xfce";
- license = "bsd";
- platforms = stdenv.lib.platforms.linux;
- };
-}
diff --git a/pkgs/desktops/xfce4-14/libxfce4util/default.nix b/pkgs/desktops/xfce/core/libxfce4util/default.nix
similarity index 100%
rename from pkgs/desktops/xfce4-14/libxfce4util/default.nix
rename to pkgs/desktops/xfce/core/libxfce4util/default.nix
diff --git a/pkgs/desktops/xfce/core/libxfcegui4.nix b/pkgs/desktops/xfce/core/libxfcegui4.nix
deleted file mode 100644
index 5c61c16cbcc..00000000000
--- a/pkgs/desktops/xfce/core/libxfcegui4.nix
+++ /dev/null
@@ -1,37 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, gtk
-, libxfce4util, xfconf, libglade, libstartup_notification, hicolor-icon-theme }:
-let
- p_name = "libxfcegui4";
- ver_maj = "4.10";
- ver_min = "0";
-in
-stdenv.mkDerivation rec {
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- src = fetchurl {
- url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "0cs5im0ib0cmr1lhr5765yliqjfyxvk4kwy8h1l8bn3mj6bzk0ib";
- };
-
- outputs = [ "out" "dev" "devdoc" ];
-
- #TODO: gladeui
- # By default, libxfcegui4 tries to install into libglade's prefix.
- # Install into our own prefix instead.
- configureFlags = [
- "--with-libglade-module-path=$(out)/lib/libglade/2.0"
- ];
- #NOTE: missing keyboard library support is OK according to the mailing-list
-
- buildInputs =
- [ pkgconfig intltool gtk libxfce4util xfconf libglade
- libstartup_notification hicolor-icon-theme
- ];
-
- meta = {
- homepage = https://www.xfce.org/;
- description = "Basic GUI library for Xfce";
- license = stdenv.lib.licenses.lgpl2Plus;
- platforms = stdenv.lib.platforms.linux;
- };
-}
diff --git a/pkgs/desktops/xfce/core/thunar-build.nix b/pkgs/desktops/xfce/core/thunar-build.nix
deleted file mode 100644
index 0b606ee5fdd..00000000000
--- a/pkgs/desktops/xfce/core/thunar-build.nix
+++ /dev/null
@@ -1,42 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool
-, gtk, dbus-glib, libstartup_notification, libnotify, libexif, pcre, udev
-, exo, libxfce4util, xfconf, xfce4-panel, hicolor-icon-theme, wrapGAppsHook
-}:
-
-stdenv.mkDerivation rec {
- p_name = "thunar";
- ver_maj = "1.6";
- ver_min = "10";
-
- src = fetchurl {
- url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/Thunar-${ver_maj}.${ver_min}.tar.bz2";
- sha256 = "7e9d24067268900e5e44d3325e60a1a2b2f8f556ec238ec12574fbea15fdee8a";
- };
-
- name = "${p_name}-build-${ver_maj}.${ver_min}";
-
- patches = [ ./thunarx_plugins_directory.patch ];
-
- postPatch = ''
- sed -i -e 's|thunar_dialogs_show_insecure_program (parent, _(".*"), file, exec)|1|' thunar/thunar-file.c
- '';
-
- nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
- buildInputs = [
- intltool
- gtk dbus-glib libstartup_notification libnotify libexif pcre udev
- exo libxfce4util xfconf xfce4-panel
- hicolor-icon-theme
- ];
- # TODO: optionality?
-
- enableParallelBuilding = true;
-
- meta = {
- homepage = http://thunar.xfce.org/;
- description = "Xfce file manager";
- license = stdenv.lib.licenses.gpl2Plus;
- platforms = stdenv.lib.platforms.linux;
- maintainers = [ stdenv.lib.maintainers.eelco ];
- };
-}
diff --git a/pkgs/desktops/xfce/core/thunar-volman.nix b/pkgs/desktops/xfce/core/thunar-volman.nix
deleted file mode 100644
index eda3aab070a..00000000000
--- a/pkgs/desktops/xfce/core/thunar-volman.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, exo, gtk, libxfce4util, libxfce4ui
-, xfconf, udev, libgudev, libnotify, hicolor-icon-theme }:
-
-stdenv.mkDerivation rec {
- p_name = "thunar-volman";
- ver_maj = "0.8";
- ver_min = "1";
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- src = fetchurl {
- url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "1gf259n1v3y23n1zlkhyr6r0i8j59rnl1cmxvxj6la9cwdfbn22s";
- };
-
-
- buildInputs =
- [ pkgconfig intltool exo gtk udev libgudev libxfce4ui libxfce4util
- xfconf libnotify hicolor-icon-theme
- ];
-
- enableParallelBuilding = true;
-
- meta = {
- homepage = https://goodies.xfce.org/projects/thunar-plugins/thunar-volman;
- description = "Thunar extension for automatic management of removable drives and media";
- license = stdenv.lib.licenses.gpl2Plus;
- platforms = stdenv.lib.platforms.linux;
- maintainers = [ stdenv.lib.maintainers.eelco ];
- };
-}
diff --git a/pkgs/desktops/xfce4-14/thunar-volman/default.nix b/pkgs/desktops/xfce/core/thunar-volman/default.nix
similarity index 73%
rename from pkgs/desktops/xfce4-14/thunar-volman/default.nix
rename to pkgs/desktops/xfce/core/thunar-volman/default.nix
index 11b29c64b33..fc6db0fcce4 100644
--- a/pkgs/desktops/xfce4-14/thunar-volman/default.nix
+++ b/pkgs/desktops/xfce/core/thunar-volman/default.nix
@@ -8,4 +8,8 @@ mkXfceDerivation {
buildInputs = [ exo gtk3 libgudev libxfce4ui libxfce4util xfconf ];
sha256 = "1qrlpn0q5g9psd41l6y80r3bvbg8jaic92m6r400zzwcvivf95z0";
+
+ meta = {
+ description = "Thunar extension for automatic management of removable drives and media";
+ };
}
diff --git a/pkgs/desktops/xfce/core/thunar.nix b/pkgs/desktops/xfce/core/thunar.nix
deleted file mode 100644
index 83e3a2879d7..00000000000
--- a/pkgs/desktops/xfce/core/thunar.nix
+++ /dev/null
@@ -1,68 +0,0 @@
-{ stdenv, buildEnv, runCommand, makeWrapper, lndir, thunar-bare
-, thunarPlugins ? []
-}:
-
-with stdenv.lib;
-
-let
-
- build = thunar-bare;
-
- replaceLnExeListWithWrapped = exeDir: exeNameList: mkWrapArgs: ''
- exeDir="${exeDir}"
- oriDir=`realpath -e "$exeDir"`
- unlink "$exeDir"
- mkdir -p "$exeDir"
- lndir "$oriDir" "$exeDir"
-
- exeList="${concatStrings (intersperse " " (map (x: "${exeDir}/${x}") exeNameList))}"
-
- for exe in $exeList; do
- oriExe=`realpath -e "$exe"`
- rm -f "$exe"
- makeWrapper "$oriExe" "$exe" ${concatStrings (intersperse " " mkWrapArgs)}
- done
- '';
-
- name = "${build.p_name}-${build.ver_maj}.${build.ver_min}";
-
- meta = {
- inherit (build.meta) homepage license platforms;
-
- description = build.meta.description + optionalString
- (0 != length thunarPlugins)
- " (with plugins: ${concatStrings (intersperse ", " (map (x: x.name) thunarPlugins))})";
- maintainers = build.meta.maintainers /*++ [ jraygauthier ]*/;
- };
-
-in
-
-# TODO: To be replaced with `buildEnv` awaiting missing features.
-runCommand name {
- inherit build;
- inherit meta;
-
- nativeBuildInputs = [ makeWrapper lndir ];
-
- dontPatchELF = true;
- dontStrip = true;
-
-}
-(let
- buildWithPlugins = buildEnv {
- name = "thunar-bare-with-plugins";
- paths = [ build ] ++ thunarPlugins;
- };
-
-in ''
- mkdir -p $out
- pushd ${buildWithPlugins} > /dev/null
- for d in `find . -maxdepth 1 -name "*" -printf "%f\n" | tail -n+2`; do
- ln -s "${buildWithPlugins}/$d" "$out/$d"
- done
- popd > /dev/null
-
- ${replaceLnExeListWithWrapped "$out/bin" [ "thunar" "thunar-settings" ] [
- "--set THUNARX_MODULE_DIR \"${buildWithPlugins}/lib/thunarx-2\""
- ]}
-'')
diff --git a/pkgs/desktops/xfce/core/thunar/default.nix b/pkgs/desktops/xfce/core/thunar/default.nix
new file mode 100644
index 00000000000..11220141d2a
--- /dev/null
+++ b/pkgs/desktops/xfce/core/thunar/default.nix
@@ -0,0 +1,70 @@
+{ mkXfceDerivation
+, lib
+, docbook_xsl
+, exo
+, gdk-pixbuf
+, gtk3
+, libgudev
+, libnotify
+, libX11
+, libxfce4ui
+, libxfce4util
+, libxslt
+, xfconf
+, gobject-introspection
+, gvfs
+, makeWrapper
+, symlinkJoin
+, thunarPlugins ? []
+}:
+
+let unwrapped = mkXfceDerivation {
+ category = "xfce";
+ pname = "thunar";
+ version = "1.8.9";
+
+ sha256 = "01w60csbs2nq1bhb8n1bnmjmx48fm0va3qbnq84z0h2dxpr80b1w";
+
+ nativeBuildInputs = [
+ docbook_xsl
+ gobject-introspection
+ libxslt
+ ];
+
+ buildInputs = [
+ exo
+ gdk-pixbuf
+ gtk3
+ gvfs
+ libX11
+ libgudev
+ libnotify
+ libxfce4ui
+ libxfce4util
+ xfconf
+ ];
+
+ patches = [
+ ./thunarx_plugins_directory.patch
+ ];
+
+ # the desktop file … is in an insecure location»
+ # which pops up when invoking desktop files that are
+ # symlinks to the /nix/store
+ #
+ # this error was added by this commit:
+ # https://github.com/xfce-mirror/thunar/commit/1ec8ff89ec5a3314fcd6a57f1475654ddecc9875
+ postPatch = ''
+ sed -i -e 's|thunar_dialogs_show_insecure_program (parent, _(".*"), file, exec)|1|' thunar/thunar-file.c
+ '';
+
+ meta = {
+ description = "Xfce file manager";
+ };
+};
+
+in if thunarPlugins == [] then unwrapped
+ else import ./wrapper.nix {
+ inherit makeWrapper symlinkJoin thunarPlugins lib;
+ thunar = unwrapped;
+ }
diff --git a/pkgs/desktops/xfce/core/thunarx_plugins_directory.patch b/pkgs/desktops/xfce/core/thunar/thunarx_plugins_directory.patch
similarity index 94%
rename from pkgs/desktops/xfce/core/thunarx_plugins_directory.patch
rename to pkgs/desktops/xfce/core/thunar/thunarx_plugins_directory.patch
index e1431d86b14..594a81c829e 100644
--- a/pkgs/desktops/xfce/core/thunarx_plugins_directory.patch
+++ b/pkgs/desktops/xfce/core/thunar/thunarx_plugins_directory.patch
@@ -1,8 +1,8 @@
diff --git a/thunarx/thunarx-provider-factory.c b/thunarx/thunarx-provider-factory.c
-index 31b8835..a3e7f4e 100644
+index 94b11545..1f66c982 100644
--- a/thunarx/thunarx-provider-factory.c
+++ b/thunarx/thunarx-provider-factory.c
-@@ -141,12 +141,19 @@ static GList*
+@@ -150,12 +150,19 @@ static GList*
thunarx_provider_factory_load_modules (ThunarxProviderFactory *factory)
{
ThunarxProviderModule *module;
@@ -24,7 +24,7 @@ index 31b8835..a3e7f4e 100644
{
/* determine the types for all existing plugins */
diff --git a/thunarx/thunarx-provider-module.c b/thunarx/thunarx-provider-module.c
-index 023ad2a..6c21997 100644
+index 023ad2ae..b1d1be8f 100644
--- a/thunarx/thunarx-provider-module.c
+++ b/thunarx/thunarx-provider-module.c
@@ -174,10 +174,17 @@ static gboolean
@@ -33,13 +33,13 @@ index 023ad2a..6c21997 100644
ThunarxProviderModule *module = THUNARX_PROVIDER_MODULE (type_module);
+ const gchar *thunar_dir;
gchar *path;
-+
+
+ thunar_dir = g_getenv("THUNARX_MODULE_DIR");
+ if (NULL == thunar_dir)
+ {
+ thunar_dir = THUNARX_DIRECTORY;
+ }
-
++
/* load the module using the runtime link editor */
- path = g_build_filename (THUNARX_DIRECTORY, type_module->name, NULL);
+ path = g_build_filename (thunar_dir, type_module->name, NULL);
diff --git a/pkgs/desktops/xfce/core/thunar/wrapper.nix b/pkgs/desktops/xfce/core/thunar/wrapper.nix
new file mode 100644
index 00000000000..cc44e662457
--- /dev/null
+++ b/pkgs/desktops/xfce/core/thunar/wrapper.nix
@@ -0,0 +1,34 @@
+{ makeWrapper, symlinkJoin, thunar, thunarPlugins, lib }:
+
+symlinkJoin {
+ name = "thunar-with-plugins-${thunar.version}";
+
+ paths = [ thunar ] ++ thunarPlugins;
+
+ buildInputs = [ makeWrapper ];
+
+ postBuild = ''
+ wrapProgram "$out/bin/thunar" \
+ --set "THUNARX_MODULE_DIR" "$out/lib/thunarx-3"
+
+ wrapProgram "$out/bin/thunar-settings" \
+ --set "THUNARX_MODULE_DIR" "$out/lib/thunarx-3"
+
+ for file in "lib/systemd/user/thunar.service" "share/dbus-1/services/org.xfce.FileManager.service" \
+ "share/dbus-1/services/org.xfce.Thunar.FileManager1.service" \
+ "share/dbus-1/services/org.xfce.Thunar.service"
+ do
+ rm -f "$out/$file"
+ substitute "${thunar}/$file" "$out/$file" \
+ --replace "${thunar}" "$out"
+ done
+ '';
+
+ meta = with lib; {
+ inherit (thunar.meta) homepage license platforms maintainers;
+
+ description = thunar.meta.description + optionalString
+ (0 != length thunarPlugins)
+ " (with plugins: ${concatStrings (intersperse ", " (map (x: x.name) thunarPlugins))})";
+ };
+}
diff --git a/pkgs/desktops/xfce/core/tumbler.nix b/pkgs/desktops/xfce/core/tumbler.nix
deleted file mode 100644
index 9087d3a0255..00000000000
--- a/pkgs/desktops/xfce/core/tumbler.nix
+++ /dev/null
@@ -1,42 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, dbus-glib, gdk-pixbuf, curl, freetype
-, libgsf, poppler, bzip2 }:
-let
- p_name = "tumbler";
- ver_maj = "0.1";
- ver_min = "31";
-in
-stdenv.mkDerivation rec {
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- src = fetchurl {
- url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "0wvip28gm2w061hn84zp2q4dv947ihylrppahn4cjspzff935zfh";
- };
-
- outputs = [ "out" "dev" "devdoc" ];
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [
- intltool dbus-glib gdk-pixbuf curl freetype
- poppler libgsf bzip2
- ];
-
- configureFlags = [
- # Needs gst-tag
- # "--enable-gstreamer-thumbnailer"
-
- # Needs libffmpegthumbnailer
- # "--enable-ffmpeg-thumbnailer"
-
- "--enable-odf-thumbnailer"
- "--enable-poppler-thumbnailer"
- ];
-
- meta = with stdenv.lib; {
- homepage = http://git.xfce.org/xfce/tumbler/;
- description = "A D-Bus thumbnailer service";
- platforms = platforms.linux;
- license = licenses.gpl2;
- };
-}
-
diff --git a/pkgs/desktops/xfce4-14/tumbler/default.nix b/pkgs/desktops/xfce/core/tumbler/default.nix
similarity index 90%
rename from pkgs/desktops/xfce4-14/tumbler/default.nix
rename to pkgs/desktops/xfce/core/tumbler/default.nix
index e99551bd8d2..b795007ca7c 100644
--- a/pkgs/desktops/xfce4-14/tumbler/default.nix
+++ b/pkgs/desktops/xfce/core/tumbler/default.nix
@@ -32,4 +32,8 @@ mkXfceDerivation {
postFixup = ''
wrapProgram $out/lib/tumbler-1/tumblerd "''${gappsWrapperArgs[@]}"
'';
+
+ meta = {
+ description = "A D-Bus thumbnailer service";
+ };
}
diff --git a/pkgs/desktops/xfce/core/xfce4-appfinder.nix b/pkgs/desktops/xfce/core/xfce4-appfinder.nix
deleted file mode 100644
index d39708dd523..00000000000
--- a/pkgs/desktops/xfce/core/xfce4-appfinder.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, glib, gtk, libxfce4util
-, libxfce4ui, garcon, xfconf }:
-let
- p_name = "xfce4-appfinder";
- ver_maj = "4.12";
- ver_min = "0";
-in
-stdenv.mkDerivation rec {
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- src = fetchurl {
- url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "0ry5hin8xhgnkmm9vs7jq8blk1cnbyr0s18nm1j6nsm7360abm1a";
- };
-
- buildInputs =
- [ pkgconfig intltool glib gtk libxfce4util libxfce4ui garcon xfconf ];
-
- enableParallelBuilding = true;
-
- meta = with stdenv.lib; {
- homepage = http://docs.xfce.org/xfce/xfce4-appfinder/;
- description = "Xfce application finder, a tool to locate and launch programs on your system";
- license = licenses.gpl2Plus;
- platforms = platforms.linux;
- maintainers = [ maintainers.eelco ];
- };
-}
-
diff --git a/pkgs/desktops/xfce4-14/xfce4-appfinder/default.nix b/pkgs/desktops/xfce/core/xfce4-appfinder/default.nix
similarity index 80%
rename from pkgs/desktops/xfce4-14/xfce4-appfinder/default.nix
rename to pkgs/desktops/xfce/core/xfce4-appfinder/default.nix
index 6c4af66c866..cbb444c6c76 100644
--- a/pkgs/desktops/xfce4-14/xfce4-appfinder/default.nix
+++ b/pkgs/desktops/xfce/core/xfce4-appfinder/default.nix
@@ -9,4 +9,8 @@ mkXfceDerivation {
nativeBuildInputs = [ exo ];
buildInputs = [ garcon gtk3 libxfce4ui libxfce4util xfconf ];
+
+ meta = {
+ description = "Appfinder for the Xfce4 Desktop Environment";
+ };
}
diff --git a/pkgs/desktops/xfce/core/xfce4-dev-tools.nix b/pkgs/desktops/xfce/core/xfce4-dev-tools.nix
deleted file mode 100644
index 109c22f1e58..00000000000
--- a/pkgs/desktops/xfce/core/xfce4-dev-tools.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, glib, autoconf, automake, libtool, intltool }:
-let
- p_name = "xfce4-dev-tools";
- ver_maj = "4.12";
- ver_min = "0";
-in
-stdenv.mkDerivation rec {
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- src = fetchurl {
- url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "1jxmyp80pwbfgmqmwpjxs7z5dmm6pyf3qj62z20xy44izraadqz2";
- };
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ glib ];
-
- # not needed to build it but to use it
- propagatedBuildInputs = [ autoconf automake libtool intltool ];
-
- meta = {
- homepage = http://foo-projects.org/~benny/projects/xfce4-dev-tools/;
- description = "Tools and M4 macros for Xfce4 developers";
- license = stdenv.lib.licenses.gpl2Plus;
- platforms = stdenv.lib.platforms.linux;
- };
-}
-
diff --git a/pkgs/desktops/xfce4-14/xfce4-dev-tools/default.nix b/pkgs/desktops/xfce/core/xfce4-dev-tools/default.nix
similarity index 100%
rename from pkgs/desktops/xfce4-14/xfce4-dev-tools/default.nix
rename to pkgs/desktops/xfce/core/xfce4-dev-tools/default.nix
diff --git a/pkgs/desktops/xfce4-14/xfce4-dev-tools/setup-hook.sh b/pkgs/desktops/xfce/core/xfce4-dev-tools/setup-hook.sh
similarity index 100%
rename from pkgs/desktops/xfce4-14/xfce4-dev-tools/setup-hook.sh
rename to pkgs/desktops/xfce/core/xfce4-dev-tools/setup-hook.sh
diff --git a/pkgs/desktops/xfce/core/xfce4-light-locker.patch b/pkgs/desktops/xfce/core/xfce4-light-locker.patch
deleted file mode 100644
index 0fabdffd7ed..00000000000
--- a/pkgs/desktops/xfce/core/xfce4-light-locker.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- ./scripts/xflock4.orig 2017-08-06 23:05:53.807688995 +0100
-+++ ./scripts/xflock4 2017-08-06 23:09:06.171789989 +0100
-@@ -24,12 +24,19 @
- PATH=/bin:/usr/bin
- export PATH
-
--# Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
-+# First test for the command set in the session's xfconf channel
-+LOCK_CMD=$(xfconf-query -c xfce4-session -p /general/LockCommand)
-+
-+# Lock by xscreensaver, gnome-screensaver, or light-locker, if a respective daemon is running
- for lock_cmd in \
-+ "$LOCK_CMD" \
- "xscreensaver-command -lock" \
-- "gnome-screensaver-command --lock"
-+ "gnome-screensaver-command --lock" \
-+ "light-locker-command -l"
- do
-- $lock_cmd >/dev/null 2>&1 && exit
-+ if [ ! -z "$lock_cmd" ]; then
-+ $lock_cmd >/dev/null 2>&1 && exit
-+ fi
- done
-
- # else run another access locking utility, if installed
diff --git a/pkgs/desktops/xfce/core/xfce4-panel.nix b/pkgs/desktops/xfce/core/xfce4-panel.nix
deleted file mode 100644
index b8ecae7e4e6..00000000000
--- a/pkgs/desktops/xfce/core/xfce4-panel.nix
+++ /dev/null
@@ -1,59 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, libxfce4ui
-, libxfce4ui_gtk3, libwnck, exo, garcon, xfconf, libstartup_notification
-, makeWrapper, xfce4-mixer, hicolor-icon-theme, tzdata
-, withGtk3 ? false, gtk3, gettext, glib-networking
-}:
-let
- inherit (stdenv.lib) optional;
- p_name = "xfce4-panel";
- ver_maj = "4.12";
- ver_min = "2";
-in
-stdenv.mkDerivation rec {
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- src = fetchurl {
- url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "1s8cvsrgmkmmm84g6mghpj2k4777gm22g5lrsf8pdy5qh6xql1a2";
- };
-
- patches = [ ./xfce4-panel-datadir.patch ];
- patchFlags = "-p1";
-
- postPatch = ''
- for f in $(find . -name \*.sh); do
- substituteInPlace $f --replace gettext ${gettext}/bin/gettext
- done
- substituteInPlace plugins/clock/clock.c \
- --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo" \
- --replace "if (!g_file_test (filename, G_FILE_TEST_IS_SYMLINK))" ""
- '';
-
- outputs = [ "out" "dev" "devdoc" ];
-
- buildInputs =
- [ pkgconfig intltool gtk libxfce4util exo libwnck
- garcon xfconf libstartup_notification makeWrapper hicolor-icon-theme
- ] ++ xfce4-mixer.gst_plugins
- ++ optional withGtk3 gtk3;
-
- propagatedBuildInputs = [ (if withGtk3 then libxfce4ui_gtk3 else libxfce4ui) ];
-
- configureFlags = optional withGtk3 "--enable-gtk3";
-
- postInstall = ''
- wrapProgram "$out/bin/xfce4-panel" \
- --prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH" \
- --prefix GIO_EXTRA_MODULES : "${glib-networking}/lib/gio/modules"
- '';
-
- enableParallelBuilding = true;
-
- meta = with stdenv.lib; {
- homepage = https://www.xfce.org/projects/xfce4-panel;
- description = "Xfce panel";
- license = licenses.gpl2Plus;
- platforms = platforms.linux;
- maintainers = [ maintainers.eelco ];
- };
-}
diff --git a/pkgs/desktops/xfce4-14/xfce4-panel/default.nix b/pkgs/desktops/xfce/core/xfce4-panel/default.nix
similarity index 93%
rename from pkgs/desktops/xfce4-14/xfce4-panel/default.nix
rename to pkgs/desktops/xfce/core/xfce4-panel/default.nix
index c571666e5c4..f7e500bdf54 100644
--- a/pkgs/desktops/xfce4-14/xfce4-panel/default.nix
+++ b/pkgs/desktops/xfce/core/xfce4-panel/default.nix
@@ -10,7 +10,7 @@ mkXfceDerivation {
nativeBuildInputs = [ gobject-introspection ];
buildInputs = [ exo garcon gtk2 gtk3 glib glib-networking libxfce4ui libxfce4util libwnck3 xfconf ];
- patches = [ ../../xfce/core/xfce4-panel-datadir.patch ];
+ patches = [ ./xfce4-panel-datadir.patch ];
patchFlags = "-p1";
postPatch = ''
diff --git a/pkgs/desktops/xfce/core/xfce4-panel-datadir.patch b/pkgs/desktops/xfce/core/xfce4-panel/xfce4-panel-datadir.patch
similarity index 100%
rename from pkgs/desktops/xfce/core/xfce4-panel-datadir.patch
rename to pkgs/desktops/xfce/core/xfce4-panel/xfce4-panel-datadir.patch
diff --git a/pkgs/desktops/xfce/core/xfce4-power-manager.nix b/pkgs/desktops/xfce/core/xfce4-power-manager.nix
deleted file mode 100644
index 266f3064507..00000000000
--- a/pkgs/desktops/xfce/core/xfce4-power-manager.nix
+++ /dev/null
@@ -1,44 +0,0 @@
-{ stdenv, lib, fetchurl, pkgconfig, intltool, glib, gtk, dbus-glib, upower, xfconf
-, libxfce4ui, libxfce4util, libnotify, xfce4-panel, hicolor-icon-theme
-, withGtk3 ? false, gtk3, libxfce4ui_gtk3, xfce4panel_gtk3 }:
-let
- p_name = "xfce4-power-manager";
- ver_maj = if withGtk3 then "1.6" else "1.4";
- ver_min = if withGtk3 then "0" else "4";
-in
-stdenv.mkDerivation rec {
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- src = fetchurl {
- url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 =
- if withGtk3
- then "0avzhllpimcn7a6z9aa4jn0zg5ahxr9ks5ldchizycdb0rz1bqxx"
- else "01rvqy1cif4s8lkidb7hhmsz7d9f2fwcwvc51xycaj3qgsmch3n5";
- };
-
- buildInputs =
- [ pkgconfig intltool glib dbus-glib upower xfconf libxfce4util
- libnotify hicolor-icon-theme
- ] ++
- (if withGtk3
- then [ gtk3 libxfce4ui_gtk3 xfce4panel_gtk3 ]
- else [ gtk libxfce4ui xfce4-panel ]);
-
- postPatch = lib.optionalString withGtk3 ''
- substituteInPlace configure --replace gio-2.0 gio-unix-2.0
- '';
-
- postConfigure = lib.optionalString withGtk3 ''
- substituteInPlace src/Makefile --replace "xfce4_power_manager_CFLAGS = " "xfce4_power_manager_CFLAGS = \$(GIO_CFLAGS) "
- substituteInPlace settings/Makefile --replace "xfce4_power_manager_settings_CFLAGS = " "xfce4_power_manager_settings_CFLAGS = \$(GIO_CFLAGS) "
- '';
-
- meta = with stdenv.lib; {
- homepage = https://goodies.xfce.org/projects/applications/xfce4-power-manager;
- description = "A power manager for the Xfce Desktop Environment";
- license = licenses.gpl2Plus;
- platforms = platforms.linux;
- maintainers = [ maintainers.eelco ];
- };
-}
diff --git a/pkgs/desktops/xfce4-14/xfce4-power-manager/default.nix b/pkgs/desktops/xfce/core/xfce4-power-manager/default.nix
similarity index 88%
rename from pkgs/desktops/xfce4-14/xfce4-power-manager/default.nix
rename to pkgs/desktops/xfce/core/xfce4-power-manager/default.nix
index 985146c8257..fb3f05b3664 100644
--- a/pkgs/desktops/xfce4-14/xfce4-power-manager/default.nix
+++ b/pkgs/desktops/xfce/core/xfce4-power-manager/default.nix
@@ -16,4 +16,8 @@ mkXfceDerivation {
automakeAddFlags src/Makefile.am xfce4_power_manager_CFLAGS GIO_CFLAGS
automakeAddFlags settings/Makefile.am xfce4_power_manager_settings_CFLAGS GIO_CFLAGS
'';
+
+ meta = {
+ description = "A power manager for the Xfce Desktop Environment";
+ };
}
diff --git a/pkgs/desktops/xfce/core/xfce4-session.nix b/pkgs/desktops/xfce/core/xfce4-session.nix
deleted file mode 100644
index b57dd252033..00000000000
--- a/pkgs/desktops/xfce/core/xfce4-session.nix
+++ /dev/null
@@ -1,44 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, gtk, polkit
-, libxfce4util, libxfce4ui, xfce4-panel, libwnck, dbus-glib, xfconf, libglade, xorg
-, hicolor-icon-theme
-}:
-
-let
- p_name = "xfce4-session";
- ver_maj = "4.12";
- ver_min = "1";
-in
-stdenv.mkDerivation rec {
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- src = fetchurl {
- url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "97d7f2a2d0af7f3623b68d1f04091e02913b28f9555dab8b0d26c8a1299d08fd";
- };
-
- patches = [
- # Fix "lock screen" not working for light-locker
- ./xfce4-light-locker.patch
- ];
-
- buildInputs =
- [ pkgconfig intltool gtk libxfce4util libxfce4ui libwnck dbus-glib
- xfconf xfce4-panel libglade xorg.iceauth xorg.libSM
- polkit hicolor-icon-theme
- ]; #TODO: upower-glib, gconf (assistive?), gnome keyring
-
- preBuild = ''
- sed '/^PATH=/d' -i scripts/xflock4
- sed '/^export PATH$/d' -i scripts/xflock4
- '';
-
- configureFlags = [ "--with-xsession-prefix=$(out)" ];
-
- meta = with stdenv.lib; {
- homepage = https://www.xfce.org/projects/xfce4-session;
- description = "Session manager for Xfce";
- license = licenses.gpl2Plus;
- platforms = platforms.linux;
- maintainers = [ maintainers.eelco ];
- };
-}
diff --git a/pkgs/desktops/xfce4-14/xfce4-session/default.nix b/pkgs/desktops/xfce/core/xfce4-session/default.nix
similarity index 82%
rename from pkgs/desktops/xfce4-14/xfce4-session/default.nix
rename to pkgs/desktops/xfce/core/xfce4-session/default.nix
index d44cd8b0dd7..0ab362aa21d 100644
--- a/pkgs/desktops/xfce4-14/xfce4-session/default.nix
+++ b/pkgs/desktops/xfce/core/xfce4-session/default.nix
@@ -1,4 +1,4 @@
-{ mkXfceDerivation, polkit, exo, libxfce4util, libxfce4ui, xfconf, iceauth, gtk3, glib, libwnck3, xorg }:
+{ mkXfceDerivation, polkit, exo, libxfce4util, libxfce4ui, xfconf, iceauth, gtk3, glib, libwnck3, xorg, xfce4-session }:
mkXfceDerivation {
category = "xfce";
@@ -14,6 +14,8 @@ mkXfceDerivation {
# See https://github.com/NixOS/nixpkgs/issues/36468
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
+ passthru.xinitrc = "${xfce4-session}/etc/xdg/xfce4/xinitrc";
+
meta = {
description = "Session manager for Xfce";
};
diff --git a/pkgs/desktops/xfce/core/xfce4-settings-default-icon-theme.patch b/pkgs/desktops/xfce/core/xfce4-settings-default-icon-theme.patch
deleted file mode 100644
index 2683b3c3dfd..00000000000
--- a/pkgs/desktops/xfce/core/xfce4-settings-default-icon-theme.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/xfsettingsd/xsettings.xml 2015-02-28 22:32:02.681796319 +0100
-+++ b/xfsettingsd/xsettings.xml 2015-02-28 22:32:27.881214735 +0100
-@@ -7,7 +7,7 @@
-
-
-
--
-+
-
-
-
\ No newline at end of file
diff --git a/pkgs/desktops/xfce/core/xfce4-settings.nix b/pkgs/desktops/xfce/core/xfce4-settings.nix
deleted file mode 100644
index 584055c8ddf..00000000000
--- a/pkgs/desktops/xfce/core/xfce4-settings.nix
+++ /dev/null
@@ -1,54 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, exo, gtk, garcon, libxfce4util
-, libxfce4ui, xfconf, libXi, upower ? null, libnotify ? null
-, libXcursor ? null, xf86inputlibinput ? null, libxklavier ? null }:
-
-let
- p_name = "xfce4-settings";
- ver_maj = "4.12";
- ver_min = "1";
-in
-stdenv.mkDerivation rec {
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- src = fetchurl {
- url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "0x35i1cvkqp0hib1knwa58mckdwrfbhaisz4bsx6bbbx385llj7n";
- };
-
- patches = [ ./xfce4-settings-default-icon-theme.patch ];
-
- postPatch = ''
- for f in $(find . -name \*.c); do
- substituteInPlace $f --replace \"libinput-properties.h\" ''
- done
- '';
-
- nativeBuildInputs = [ pkgconfig intltool ];
-
- buildInputs = [
- exo
- gtk
- garcon
- libxfce4util
- libxfce4ui
- xfconf
- libXi
- upower
- libnotify
- libXcursor
- xf86inputlibinput
- libxklavier
- ];
-
- configureFlags = [ "--enable-pluggable-dialogs" "--enable-sound-settings" ];
-
- enableParallelBuilding = true;
-
- meta = with stdenv.lib; {
- homepage = https://www.xfce.org/projects/xfce4-settings;
- description = "Settings manager for Xfce";
- license = licenses.gpl2Plus;
- platforms = platforms.linux;
- maintainers = [ maintainers.eelco ];
- };
-}
diff --git a/pkgs/desktops/xfce4-14/xfce4-settings/default.nix b/pkgs/desktops/xfce/core/xfce4-settings/default.nix
similarity index 91%
rename from pkgs/desktops/xfce4-14/xfce4-settings/default.nix
rename to pkgs/desktops/xfce/core/xfce4-settings/default.nix
index 8cda66359e3..74ab96ed1bc 100644
--- a/pkgs/desktops/xfce4-14/xfce4-settings/default.nix
+++ b/pkgs/desktops/xfce/core/xfce4-settings/default.nix
@@ -33,4 +33,8 @@ mkXfceDerivation {
"--enable-pluggable-dialogs"
"--enable-sound-settings"
];
+
+ meta = {
+ description = "Settings manager for Xfce";
+ };
}
diff --git a/pkgs/desktops/xfce/core/xfconf.nix b/pkgs/desktops/xfce/core/xfconf.nix
deleted file mode 100644
index 9af365c6f14..00000000000
--- a/pkgs/desktops/xfce/core/xfconf.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, glib, libxfce4util, dbus-glib }:
-let
- p_name = "xfconf";
- ver_maj = "4.12";
- ver_min = "1";
-in
-stdenv.mkDerivation rec {
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- src = fetchurl {
- url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "0dns190bwb615wy9ma2654sw4vz1d0rcv061zmaalkv9wmj8bx1m";
- };
-
- outputs = [ "out" "dev" "devdoc" ];
-
- #TODO: no perl bingings yet (ExtUtils::Depends, ExtUtils::PkgConfig, Glib)
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ intltool glib libxfce4util ];
- propagatedBuildInputs = [ dbus-glib ];
-
- doCheck = false; # requires dbus daemon
-
- meta = with stdenv.lib; {
- homepage = http://docs.xfce.org/xfce/xfconf/start;
- description = "Simple client-server configuration storage and query system for Xfce";
- license = licenses.gpl2;
- platforms = platforms.linux;
- };
-}
diff --git a/pkgs/desktops/xfce4-14/xfconf/default.nix b/pkgs/desktops/xfce/core/xfconf/default.nix
similarity index 67%
rename from pkgs/desktops/xfce4-14/xfconf/default.nix
rename to pkgs/desktops/xfce/core/xfconf/default.nix
index a9d6ceaf469..a0923f0fda1 100644
--- a/pkgs/desktops/xfce4-14/xfconf/default.nix
+++ b/pkgs/desktops/xfce/core/xfconf/default.nix
@@ -8,4 +8,8 @@ mkXfceDerivation {
sha256 = "1mbqc1463xgn7gafbh2fyshshdxin33iwk96y4nw2gl48nhx4sgs";
buildInputs = [ libxfce4util ];
+
+ meta = {
+ description = "Simple client-server configuration storage and query system for Xfce";
+ };
}
diff --git a/pkgs/desktops/xfce/core/xfdesktop.nix b/pkgs/desktops/xfce/core/xfdesktop.nix
deleted file mode 100644
index 091dd03c0bc..00000000000
--- a/pkgs/desktops/xfce/core/xfdesktop.nix
+++ /dev/null
@@ -1,36 +0,0 @@
-{ stdenv, fetchurl, fetchpatch, pkgconfig, intltool, gtk, libxfce4util, libxfce4ui
-, libwnck, xfconf, libglade, xfce4-panel, thunar, exo, garcon, libnotify
-, hicolor-icon-theme }:
-let
- p_name = "xfdesktop";
- ver_maj = "4.12";
- ver_min = "3";
-in
-stdenv.mkDerivation rec {
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- src = fetchurl {
- url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "a8a8d93744d842ca6ac1f9bd2c8789ee178937bca7e170e5239cbdbef30520ac";
- };
-
- buildInputs = [
- pkgconfig intltool gtk libxfce4util libxfce4ui libwnck xfconf
- libglade xfce4-panel thunar exo garcon libnotify hicolor-icon-theme
- ];
-
- patches = [(fetchpatch {
- url = https://git.xfce.org/xfce/xfdesktop/patch?id=157f5b55cfc3629d595ef38984278de5915aac27;
- sha256 = "0ki7hnyfpz7bdmsxqnm9qvyk040iyv1fawnhzfbyyzrh4nc5jd3x";
- })];
-
- enableParallelBuilding = true;
-
- meta = with stdenv.lib; {
- homepage = https://www.xfce.org/projects/xfdesktop;
- description = "Xfce desktop manager";
- license = licenses.gpl2Plus;
- platforms = platforms.linux;
- maintainers = [ maintainers.eelco ];
- };
-}
diff --git a/pkgs/desktops/xfce4-14/xfdesktop/default.nix b/pkgs/desktops/xfce/core/xfdesktop/default.nix
similarity index 100%
rename from pkgs/desktops/xfce4-14/xfdesktop/default.nix
rename to pkgs/desktops/xfce/core/xfdesktop/default.nix
diff --git a/pkgs/desktops/xfce/core/xfwm4.nix b/pkgs/desktops/xfce/core/xfwm4.nix
deleted file mode 100644
index d26649ee6ce..00000000000
--- a/pkgs/desktops/xfce/core/xfwm4.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, gtk, intltool, libglade, libxfce4util
-, libxfce4ui, xfconf, libwnck, libstartup_notification, xorg }:
-let
- p_name = "xfwm4";
- ver_maj = "4.12";
- ver_min = "4";
-in
-stdenv.mkDerivation rec {
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- src = fetchurl {
- url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "0dpvdrd5lclkcrzmdpva38gfsgvdf3xkqfknvy96x6k4fn508x7s";
- };
-
- buildInputs =
- [ pkgconfig intltool gtk libglade libxfce4util libxfce4ui xfconf
- libwnck libstartup_notification
- xorg.libXcomposite xorg.libXfixes xorg.libXdamage
- ];
-
- enableParallelBuilding = true;
-
- meta = with stdenv.lib; {
- homepage = https://www.xfce.org/projects/xfwm4;
- description = "Window manager for Xfce";
- license = licenses.gpl2Plus;
- platforms = platforms.linux;
- maintainers = [ maintainers.eelco ];
- };
-}
diff --git a/pkgs/desktops/xfce4-14/xfwm4/default.nix b/pkgs/desktops/xfce/core/xfwm4/default.nix
similarity index 89%
rename from pkgs/desktops/xfce4-14/xfwm4/default.nix
rename to pkgs/desktops/xfce/core/xfwm4/default.nix
index 358e99c893f..2dff3302617 100644
--- a/pkgs/desktops/xfce4-14/xfwm4/default.nix
+++ b/pkgs/desktops/xfce/core/xfwm4/default.nix
@@ -23,4 +23,8 @@ mkXfceDerivation {
libXpresent
xfconf
];
+
+ meta = {
+ description = "Window manager for Xfce";
+ };
}
diff --git a/pkgs/desktops/xfce/default.nix b/pkgs/desktops/xfce/default.nix
index 20d5175fed6..07773523b3e 100644
--- a/pkgs/desktops/xfce/default.nix
+++ b/pkgs/desktops/xfce/default.nix
@@ -3,91 +3,91 @@
lib.makeScope pkgs.newScope (self: with self; {
#### NixOS support
- inherit (pkgs.gnome2) libglade vte gtksourceview;
inherit (pkgs.gnome3) dconf;
- inherit (pkgs.perlPackages) URI;
- gtk = pkgs.gtk2;
+ mkXfceDerivation = callPackage ./mkXfceDerivation.nix { };
+
+ automakeAddFlags = pkgs.makeSetupHook { } ./automakeAddFlags.sh;
# Samba is a rather heavy dependency
gvfs = pkgs.gvfs.override { samba = null; };
- xinitrc = "${xfce4-session}/etc/xdg/xfce4/xinitrc";
-
#### CORE
- exo = callPackage ./core/exo.nix { };
+ exo = callPackage ./core/exo { };
- garcon = callPackage ./core/garcon.nix { };
+ garcon = callPackage ./core/garcon { };
- # When built with GTK 3, it was breaking GTK 3 app layout
- gtk-xfce-engine = callPackage ./core/gtk-xfce-engine.nix { withGtk3 = false; };
+ libxfce4ui = callPackage ./core/libxfce4ui { };
- libxfce4ui = callPackage ./core/libxfce4ui.nix { };
+ libxfce4util = callPackage ./core/libxfce4util { };
- libxfce4util = callPackage ./core/libxfce4util.nix { };
+ thunar = callPackage ./core/thunar {
+ thunarPlugins = [];
+ };
- libxfcegui4 = callPackage ./core/libxfcegui4.nix { };
-
- thunar-bare = callPackage ./core/thunar-build.nix { };
-
- thunar = callPackage ./core/thunar.nix { };
-
- # NB: thunar already has it
- thunar-volman = callPackage ./core/thunar-volman.nix { };
+ thunar-volman = callPackage ./core/thunar-volman { };
thunar-archive-plugin = callPackage ./thunar-plugins/archive { };
thunar-dropbox-plugin = callPackage ./thunar-plugins/dropbox { };
- tumbler = callPackage ./core/tumbler.nix { };
+ tumbler = callPackage ./core/tumbler { };
- # TODO: impure plugins from /run/current-system/sw/lib/xfce4
- xfce4-panel = callPackage ./core/xfce4-panel.nix { };
+ xfce4-panel = callPackage ./core/xfce4-panel { };
- xfce4-session = callPackage ./core/xfce4-session.nix { };
+ xfce4-session = callPackage ./core/xfce4-session { };
- xfce4-settings = callPackage ./core/xfce4-settings.nix { };
+ xfce4-settings = callPackage ./core/xfce4-settings { };
- xfce4-power-manager = callPackage ./core/xfce4-power-manager.nix { };
+ xfce4-power-manager = callPackage ./core/xfce4-power-manager { };
- xfconf = callPackage ./core/xfconf.nix { };
+ xfconf = callPackage ./core/xfconf { };
- xfdesktop = callPackage ./core/xfdesktop.nix { };
+ xfdesktop = callPackage ./core/xfdesktop { };
- xfwm4 = callPackage ./core/xfwm4.nix { };
+ xfwm4 = callPackage ./core/xfwm4 { };
- xfce4-appfinder = callPackage ./core/xfce4-appfinder.nix { };
+ xfce4-appfinder = callPackage ./core/xfce4-appfinder { };
- xfce4-dev-tools = callPackage ./core/xfce4-dev-tools.nix { };
+ xfce4-dev-tools = callPackage ./core/xfce4-dev-tools {
+ mkXfceDerivation = mkXfceDerivation.override {
+ xfce4-dev-tools = null;
+ };
+ };
#### APPLICATIONS
- gigolo = callPackage ./applications/gigolo.nix { };
+ gigolo = callPackage ./applications/gigolo { };
- mousepad = callPackage ./applications/mousepad.nix { };
+ mousepad = callPackage ./applications/mousepad { };
- orage = callPackage ./applications/orage.nix { };
+ orage = callPackage ./applications/orage { };
- parole = callPackage ./applications/parole.nix { };
+ parole = callPackage ./applications/parole { };
- ristretto = callPackage ./applications/ristretto.nix { };
+ ristretto = callPackage ./applications/ristretto { };
- xfce4-mixer = callPackage ./applications/xfce4-mixer.nix { };
+ xfce4-taskmanager = callPackage ./applications/xfce4-taskmanager { };
- xfce4-mixer-pulse = callPackage ./applications/xfce4-mixer.nix { pulseaudioSupport = true; };
+ xfce4-dict = callPackage ./applications/xfce4-dict { };
- xfce4-notifyd = callPackage ./applications/xfce4-notifyd.nix { };
+ xfce4-terminal = callPackage ./applications/xfce4-terminal { };
- xfce4-taskmanager = callPackage ./applications/xfce4-taskmanager.nix { };
+ xfce4-screenshooter = callPackage ./applications/xfce4-screenshooter {
+ inherit (pkgs.gnome3) libsoup;
+ };
- xfce4-terminal = callPackage ./applications/terminal.nix { };
+ xfdashbooard = callPackage ./applications/xfdashboard {};
- xfce4-screenshooter = callPackage ./applications/xfce4-screenshooter.nix { };
+ # TODO: this repo is inactive for many years. Remove?
+ xfce4-volumed = callPackage ./applications/xfce4-volumed { };
- xfce4-volumed = callPackage ./applications/xfce4-volumed.nix { };
+ xfce4-volumed-pulse = callPackage ./applications/xfce4-volumed-pulse { };
- xfce4-volumed-pulse = callPackage ./applications/xfce4-volumed-pulse.nix { };
+ xfce4-notifyd = callPackage ./applications/xfce4-notifyd { };
+
+ xfburn = callPackage ./applications/xfburn { };
#### ART
@@ -99,15 +99,15 @@ lib.makeScope pkgs.newScope (self: with self; {
xfce4-vala-panel-appmenu-plugin = callPackage ./panel-plugins/xfce4-vala-panel-appmenu-plugin { };
- xfce4-battery-plugin = callPackage ./panel-plugins/xfce4-battery-plugin.nix { };
+ xfce4-battery-plugin = callPackage ./panel-plugins/xfce4-battery-plugin { };
- xfce4-clipman-plugin = callPackage ./panel-plugins/xfce4-clipman-plugin.nix { };
+ xfce4-clipman-plugin = callPackage ./panel-plugins/xfce4-clipman-plugin { };
- xfce4-cpufreq-plugin = callPackage ./panel-plugins/xfce4-cpufreq-plugin.nix { };
+ xfce4-cpufreq-plugin = callPackage ./panel-plugins/xfce4-cpufreq-plugin { };
xfce4-cpugraph-plugin = callPackage ./panel-plugins/xfce4-cpugraph-plugin.nix { };
- xfce4-datetime-plugin = callPackage ./panel-plugins/xfce4-datetime-plugin.nix { };
+ xfce4-datetime-plugin = callPackage ./panel-plugins/xfce4-datetime-plugin { };
xfce4-dict-plugin = callPackage ./panel-plugins/xfce4-dict-plugin.nix { };
@@ -125,7 +125,7 @@ lib.makeScope pkgs.newScope (self: with self; {
xfce4-namebar-plugin = callPackage ./panel-plugins/xfce4-namebar-plugin.nix { };
- xfce4-netload-plugin = callPackage ./panel-plugins/xfce4-netload-plugin.nix { };
+ xfce4-netload-plugin = callPackage ./panel-plugins/xfce4-netload-plugin { };
xfce4-notes-plugin = callPackage ./panel-plugins/xfce4-notes-plugin.nix { };
@@ -141,23 +141,15 @@ lib.makeScope pkgs.newScope (self: with self; {
xfce4-verve-plugin = callPackage ./panel-plugins/xfce4-verve-plugin.nix { };
- xfce4-xkb-plugin = callPackage ./panel-plugins/xfce4-xkb-plugin.nix { };
+ xfce4-xkb-plugin = callPackage ./panel-plugins/xfce4-xkb-plugin { };
xfce4-weather-plugin = callPackage ./panel-plugins/xfce4-weather-plugin.nix { };
- xfce4-whiskermenu-plugin = callPackage ./panel-plugins/xfce4-whiskermenu-plugin.nix { };
+ xfce4-whiskermenu-plugin = callPackage ./panel-plugins/xfce4-whiskermenu-plugin { };
xfce4-windowck-plugin = callPackage ./panel-plugins/xfce4-windowck-plugin.nix { };
- xfce4-pulseaudio-plugin = callPackage ./panel-plugins/xfce4-pulseaudio-plugin.nix { };
-
- #### GTK3 (deprecated, see NixOS/nixpkgs#32763)
-
- libxfce4ui_gtk3 = libxfce4ui.override { withGtk3 = true; };
-
- xfce4panel_gtk3 = xfce4-panel.override { withGtk3 = true; };
-
- xfce4_power_manager_gtk3 = xfce4-power-manager.override { withGtk3 = true; };
+ xfce4-pulseaudio-plugin = callPackage ./panel-plugins/xfce4-pulseaudio-plugin { };
} // lib.optionalAttrs (config.allowAliases or true) {
#### ALIASES - added 2018-01
@@ -208,4 +200,21 @@ lib.makeScope pkgs.newScope (self: with self; {
xfce4_whiskermenu_plugin = xfce4-whiskermenu-plugin;
xfce4_windowck_plugin = xfce4-windowck-plugin;
xfce4_pulseaudio_plugin = xfce4-pulseaudio-plugin;
+
+ xfce4-mixer = throw "deprecated 2019-08-18: obsoleted by xfce4-pulseaudio-plugin"; # added 2019-08-18
+ gtk-xfce-engine = throw "deprecated 2019-09-17: Xfce 4.14 deprecated gtk-xfce-engine"; # added 2019-09-17
+
+ # added 2019-11-04
+ libxfce4ui_gtk3 = libxfce4ui;
+ xfce4panel_gtk3 = xfce4-panel;
+ xfce4_power_manager_gtk3 = xfce4-power-manager;
+ gtk = pkgs.gtk2;
+ libxfcegui4 = throw "libxfcegui4 is the deprecated Xfce GUI library. It has been superseded by the libxfce4ui library";
+ xinitrc = xfce4-session.xinitrc;
+ inherit (pkgs.gnome2) libglade;
+ inherit (pkgs.gnome3) vte gtksourceview;
+ xfce4-mixer-pulse = xfce4-mixer;
+ thunar-bare = thunar.override {
+ thunarPlugins = [];
+ };
})
diff --git a/pkgs/desktops/xfce4-14/mkXfceDerivation.nix b/pkgs/desktops/xfce/mkXfceDerivation.nix
similarity index 100%
rename from pkgs/desktops/xfce4-14/mkXfceDerivation.nix
rename to pkgs/desktops/xfce/mkXfceDerivation.nix
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-battery-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-battery-plugin.nix
deleted file mode 100644
index 6399aa3cc20..00000000000
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-battery-plugin.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, libxfcegui4, xfconf, gtk, hicolor-icon-theme }:
-
-with stdenv.lib;
-stdenv.mkDerivation rec {
- p_name = "xfce4-battery-plugin";
- ver_maj = "1.0";
- ver_min = "5";
-
- src = fetchurl {
- url = "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "04gbplcj8z4vg5xbks8cc2jjf62mmf9sdymg90scjwmb82pv2ngn";
- };
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel libxfcegui4 xfconf gtk hicolor-icon-theme ];
-
- meta = {
- homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
- description = "Battery plugin for Xfce panel";
- platforms = platforms.linux;
- maintainers = [ maintainers.AndersonTorres ];
- };
-}
diff --git a/pkgs/desktops/xfce4-14/xfce4-battery-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-battery-plugin/default.nix
similarity index 83%
rename from pkgs/desktops/xfce4-14/xfce4-battery-plugin/default.nix
rename to pkgs/desktops/xfce/panel-plugins/xfce4-battery-plugin/default.nix
index 376551b09c0..3966e256b16 100644
--- a/pkgs/desktops/xfce4-14/xfce4-battery-plugin/default.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-battery-plugin/default.nix
@@ -8,4 +8,8 @@ mkXfceDerivation rec {
sha256 = "0329miiclc8da6j0sz495p99hyrf9fjhvpmdl0556fphybz5agc0";
buildInputs = [ gtk3 libxfce4ui libxfce4util xfce4-panel xfconf ];
+
+ meta = {
+ description = "Battery plugin for Xfce panel";
+ };
}
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-clipman-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-clipman-plugin.nix
deleted file mode 100644
index 280f39f8d99..00000000000
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-clipman-plugin.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, glib, exo, libXtst, xorgproto, libxfce4util, xfce4-panel, libxfce4ui, libxfcegui4, xfconf, gtk, hicolor-icon-theme }:
-
-with stdenv.lib;
-stdenv.mkDerivation rec {
- p_name = "xfce4-clipman-plugin";
- ver_maj = "1.2";
- ver_min = "6";
-
- src = fetchurl {
- url = "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "19a8gwcqc0r5qqi8w28dc8arqip34m8yxdb87lgps9g5qfcky113";
- };
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ intltool glib exo libXtst xorgproto libxfce4util libxfce4ui xfce4-panel libxfcegui4 xfconf gtk hicolor-icon-theme ];
-
- meta = {
- homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
- description = "Clipboard manager for Xfce panel";
- platforms = platforms.linux;
- maintainers = [ maintainers.AndersonTorres ];
- };
-}
diff --git a/pkgs/desktops/xfce4-14/xfce4-clipman-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-clipman-plugin/default.nix
similarity index 83%
rename from pkgs/desktops/xfce4-14/xfce4-clipman-plugin/default.nix
rename to pkgs/desktops/xfce/panel-plugins/xfce4-clipman-plugin/default.nix
index 74628a325d4..bd1a3b5e5e3 100644
--- a/pkgs/desktops/xfce4-14/xfce4-clipman-plugin/default.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-clipman-plugin/default.nix
@@ -8,4 +8,8 @@ mkXfceDerivation rec {
sha256 = "1xk79xh1zk0x4r1z9m1dakp79pip0zh3naviybvl1dnpwwfc03gq";
buildInputs = [ exo gtk3 libXtst libxfce4ui libxfce4util xfce4-panel xfconf ];
+
+ meta = {
+ description = "Clipboard manager for Xfce panel";
+ };
}
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-cpufreq-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-cpufreq-plugin.nix
deleted file mode 100644
index 07838f8fe7c..00000000000
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-cpufreq-plugin.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, libxfcegui4, xfconf, gtk, hicolor-icon-theme }:
-
-with stdenv.lib;
-stdenv.mkDerivation rec {
- p_name = "xfce4-cpufreq-plugin";
- ver_maj = "1.1";
- ver_min = "3";
-
- src = fetchurl {
- url = "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "0crd21l5cw0xgm6w7s049xa36k203yx7l56ssnah9nq1w73n58bl";
- };
-
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- nativeBuildInputs = [ pkgconfig intltool ];
-
- buildInputs = [ libxfce4util libxfce4ui xfce4-panel libxfcegui4 xfconf gtk hicolor-icon-theme ];
-
- enableParallelBuilding = true;
-
- meta = {
- homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
- description = "CPU Freq load plugin for Xfce panel";
- license = [ licenses.gpl2Plus ];
- platforms = platforms.linux;
- maintainers = [ maintainers.AndersonTorres ];
- };
-}
diff --git a/pkgs/desktops/xfce4-14/xfce4-cpufreq-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-cpufreq-plugin/default.nix
similarity index 81%
rename from pkgs/desktops/xfce4-14/xfce4-cpufreq-plugin/default.nix
rename to pkgs/desktops/xfce/panel-plugins/xfce4-cpufreq-plugin/default.nix
index 22793963df3..3798edbf89d 100644
--- a/pkgs/desktops/xfce4-14/xfce4-cpufreq-plugin/default.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-cpufreq-plugin/default.nix
@@ -7,4 +7,8 @@ mkXfceDerivation {
sha256 = "1p7c4g3yfc19ksdckxpzq1q35jvplh5g55299cvv0afhdb5l8zhv";
buildInputs = [ gtk3 libxfce4ui libxfce4util xfce4-panel xfconf ];
+
+ meta = {
+ description = "CPU Freq load plugin for Xfce panel";
+ };
}
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-cpugraph-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-cpugraph-plugin.nix
index e088e74cfb1..ef7f7e58020 100644
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-cpugraph-plugin.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-cpugraph-plugin.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, intltool, glib, exo, libXtst, xorgproto, libxfce4util, xfce4-panel, libxfce4ui, xfconf, gtk, hicolor-icon-theme }:
+{ stdenv, fetchurl, pkgconfig, intltool, glib, exo, libXtst, xorgproto, libxfce4util, xfce4-panel, libxfce4ui, xfconf, gtk2, hicolor-icon-theme }:
with stdenv.lib;
stdenv.mkDerivation rec {
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
name = "${p_name}-${ver_maj}.${ver_min}";
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ intltool glib exo libXtst xorgproto libxfce4util libxfce4ui xfce4-panel xfconf gtk hicolor-icon-theme ];
+ buildInputs = [ intltool glib exo libXtst xorgproto libxfce4util libxfce4ui xfce4-panel xfconf gtk2 hicolor-icon-theme ];
meta = {
homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-datetime-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-datetime-plugin.nix
deleted file mode 100644
index c6317010031..00000000000
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-datetime-plugin.nix
+++ /dev/null
@@ -1,26 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, libxfcegui4, xfce4-panel
-, gtk }:
-
-with stdenv.lib;
-stdenv.mkDerivation rec {
- p_name = "xfce4-datetime-plugin";
- ver_maj = "0.6";
- ver_min = "2";
-
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- src = fetchurl {
- url = "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "0b4yril07qgkmywjym1qp12r4g35bnh96879zbjps7cd3rkxld4p";
- };
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ intltool libxfce4util libxfcegui4 xfce4-panel gtk ];
-
- meta = {
- homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
- description = "Shows the date and time in the panel, and a calendar appears when you left-click on it";
- platforms = platforms.linux;
- maintainers = [ maintainers.AndersonTorres ];
- };
-}
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-datetime-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-datetime-plugin/default.nix
new file mode 100644
index 00000000000..3cfb010b12d
--- /dev/null
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-datetime-plugin/default.nix
@@ -0,0 +1,34 @@
+{ mkXfceDerivation
+, stdenv
+, intltool
+, libxfce4ui
+, xfce4-panel
+, gtk3
+, gettext
+}:
+
+mkXfceDerivation rec {
+ category = "panel-plugins";
+ pname = "xfce4-datetime-plugin";
+ version = "0.8.0";
+
+ rev = "datetime-${version}";
+
+ sha256 = "12drh7y70d70r93lpv43fkj5cbyl0vciz4a41nxrknrfbhxrvyah";
+
+ nativeBuildInputs = [
+ gettext
+ intltool
+ ];
+
+ buildInputs = [
+ gtk3
+ libxfce4ui
+ xfce4-panel
+ ];
+
+ meta = with stdenv.lib; {
+ description = "Shows the date and time in the panel, and a calendar appears when you left-click on it";
+ maintainers = [ maintainers.AndersonTorres ];
+ };
+}
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-dict-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-dict-plugin.nix
index 8210fc62ccb..0b31bac8d54 100644
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-dict-plugin.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-dict-plugin.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, libxfcegui4, xfconf, gtk}:
+{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, xfconf, gtk2}:
with stdenv.lib;
stdenv.mkDerivation rec {
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
name = "${p_name}-${ver_maj}.${ver_min}";
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel libxfcegui4 xfconf gtk ];
+ buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf gtk2 ];
meta = {
homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin.nix
index 3a79f67068c..03e5a222967 100644
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, libxfcegui4, xfconf, gtk}:
+{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, xfconf, gtk2}:
with stdenv.lib;
stdenv.mkDerivation rec {
@@ -13,12 +13,13 @@ stdenv.mkDerivation rec {
name = "${p_name}-${ver_maj}.${ver_min}";
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel libxfcegui4 xfconf gtk ];
+ buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf gtk2 ];
meta = {
homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
description = "Eyes following you!";
platforms = platforms.linux;
maintainers = [ maintainers.AndersonTorres ];
+ broken = true;
};
}
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-fsguard-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-fsguard-plugin.nix
index 6d0f8ee73a4..ee663aa71ca 100644
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-fsguard-plugin.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-fsguard-plugin.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, libxfcegui4, xfconf, gtk}:
+{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, xfconf, gtk2}:
with stdenv.lib;
stdenv.mkDerivation rec {
@@ -13,12 +13,13 @@ stdenv.mkDerivation rec {
name = "${p_name}-${ver_maj}.${ver_min}";
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel libxfcegui4 xfconf gtk ];
+ buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf gtk2 ];
meta = {
homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
description = "Filesystem monitor";
platforms = platforms.linux;
maintainers = [ maintainers.AndersonTorres ];
+ broken = true;
};
}
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-genmon-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-genmon-plugin.nix
index 039ac144094..193d27af98a 100644
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-genmon-plugin.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-genmon-plugin.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, libxfcegui4, xfconf, gtk}:
+{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, xfconf, gtk2}:
with stdenv.lib;
stdenv.mkDerivation rec {
@@ -13,12 +13,13 @@ stdenv.mkDerivation rec {
name = "${p_name}-${ver_maj}.${ver_min}";
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel libxfcegui4 xfconf gtk ];
+ buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf gtk2 ];
meta = {
homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
description = "Cyclically spawns a command and captures its output";
platforms = platforms.linux;
maintainers = [ maintainers.AndersonTorres ];
+ broken = true;
};
}
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin.nix
index 541b30ec1b3..e9d2eb590be 100644
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui,
-libxfcegui4, xfconf, gtk, exo, gnutls, libgcrypt }:
+ xfconf, gtk2, exo, gnutls, libgcrypt }:
with stdenv.lib;
stdenv.mkDerivation rec {
@@ -15,12 +15,13 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel
- libxfcegui4 xfconf gtk exo gnutls libgcrypt ];
+ xfconf gtk2 exo gnutls libgcrypt ];
meta = {
homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
description = "Mailwatch plugin for Xfce panel";
platforms = platforms.linux;
maintainers = [ ];
+ broken = true;
};
}
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-mpc-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-mpc-plugin.nix
index 5331c29a454..b909540144a 100644
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-mpc-plugin.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-mpc-plugin.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui,
-libxfcegui4, xfconf, gtk, exo }:
+ xfconf, gtk2, exo }:
with stdenv.lib;
stdenv.mkDerivation rec {
@@ -15,12 +15,13 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel
- libxfcegui4 xfconf gtk exo ];
+ xfconf gtk2 exo ];
meta = {
homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
description = "MPD plugin for Xfce panel";
platforms = platforms.linux;
maintainers = [ ];
+ broken = true;
};
}
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-netload-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-netload-plugin.nix
deleted file mode 100644
index e82669cc1a3..00000000000
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-netload-plugin.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, libxfcegui4, xfconf, gtk, hicolor-icon-theme }:
-
-with stdenv.lib;
-stdenv.mkDerivation rec {
- p_name = "xfce4-netload-plugin";
- ver_maj = "1.2";
- ver_min = "4";
-
- src = fetchurl {
- url = "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "1lrhhzxmybcfl52hnadr2dvasis9wmk6a48pcy02s09ch8cfkb7z";
- };
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel libxfcegui4 xfconf gtk hicolor-icon-theme ];
-
- meta = {
- homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
- description = "Battery plugin for Xfce panel";
- platforms = platforms.linux;
- maintainers = [ maintainers.AndersonTorres ];
- };
-}
diff --git a/pkgs/desktops/xfce4-14/xfce4-netload-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-netload-plugin/default.nix
similarity index 83%
rename from pkgs/desktops/xfce4-14/xfce4-netload-plugin/default.nix
rename to pkgs/desktops/xfce/panel-plugins/xfce4-netload-plugin/default.nix
index d9f517981d3..d774649b536 100644
--- a/pkgs/desktops/xfce4-14/xfce4-netload-plugin/default.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-netload-plugin/default.nix
@@ -8,4 +8,8 @@ mkXfceDerivation rec {
sha256 = "0nm8advafw4jpc9p1qszyfqa56194sz51z216rdh4c6ilcrrpy1h";
buildInputs = [ gtk3 libxfce4ui libxfce4util xfce4-panel xfconf ];
+
+ meta = {
+ description = "Battery plugin for Xfce panel";
+ };
}
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin.nix
index d61dae6bdd5..2876c1b1f7d 100644
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, libxfcegui4, xfconf, gtk, libunique }:
+{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, xfconf, gtk2, libunique }:
with stdenv.lib;
stdenv.mkDerivation rec {
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
name = "${p_name}-${ver_maj}.${ver_min}";
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel libxfcegui4 xfconf gtk libunique ];
+ buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf gtk2 libunique ];
meta = {
homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-pulseaudio-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-pulseaudio-plugin.nix
deleted file mode 100644
index 6f6f5699b6e..00000000000
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-pulseaudio-plugin.nix
+++ /dev/null
@@ -1,34 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4panel_gtk3, xfconf
-, gtk3, libpulseaudio, hicolor-icon-theme
-, withKeybinder ? true, keybinder3
-, withLibnotify ? true, libnotify
-}:
-
-assert withKeybinder -> keybinder3 != null;
-assert withLibnotify -> libnotify != null;
-
-with stdenv.lib;
-
-stdenv.mkDerivation rec {
- p_name = "xfce4-pulseaudio-plugin";
- ver_maj = "0.2";
- ver_min = "3";
-
- src = fetchurl {
- url = "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "e82836bc8cf7d905b4e60d43dc630ba8e32dea785989700c71d4aeee9f583b33";
- };
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- nativeBuildInputs = [ pkgconfig intltool ];
- buildInputs = [ libxfce4util xfce4panel_gtk3 xfconf gtk3 libpulseaudio hicolor-icon-theme ]
- ++ optional withKeybinder keybinder3
- ++ optional withLibnotify libnotify;
-
- meta = {
- homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
- description = "Adjust the audio volume of the PulseAudio sound system";
- platforms = platforms.linux;
- maintainers = [ ];
- };
-}
diff --git a/pkgs/desktops/xfce4-14/xfce4-pulseaudio-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-pulseaudio-plugin/default.nix
similarity index 87%
rename from pkgs/desktops/xfce4-14/xfce4-pulseaudio-plugin/default.nix
rename to pkgs/desktops/xfce/panel-plugins/xfce4-pulseaudio-plugin/default.nix
index 6fca6069d1e..59f282d7411 100644
--- a/pkgs/desktops/xfce4-14/xfce4-pulseaudio-plugin/default.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-pulseaudio-plugin/default.nix
@@ -16,4 +16,8 @@ mkXfceDerivation {
'';
buildInputs = [ gtk3 libnotify libpulseaudio libxfce4ui libxfce4util xfce4-panel xfconf ];
+
+ meta = {
+ description = "Adjust the audio volume of the PulseAudio sound system";
+ };
}
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin.nix
index 5a4dfee76fc..2e7233e6cdb 100644
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, intltool, gnome2, libxfce4ui,
+{ stdenv, fetchurl, pkgconfig, intltool, gtk2, libxfce4ui,
libxfce4util, xfce4-panel, libnotify, lm_sensors, hddtemp, netcat-gnu
}:
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
- gnome2.gtk
+ gtk2
libxfce4ui
libxfce4util
xfce4-panel
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-systemload-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-systemload-plugin.nix
index 698d4aae532..5575962ab77 100644
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-systemload-plugin.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-systemload-plugin.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, gtk}:
+{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel, libxfce4ui, gtk2}:
with stdenv.lib;
stdenv.mkDerivation rec {
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
name = "${p_name}-${ver_maj}.${ver_min}";
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel gtk ];
+ buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel gtk2 ];
meta = {
homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-timer-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-timer-plugin.nix
index 57cd48c6f27..4eddfe8df57 100644
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-timer-plugin.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-timer-plugin.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4-panel
-, libxfce4ui, libxfcegui4, xfconf, gtk, hicolor-icon-theme }:
+, libxfce4ui, xfconf, gtk2, hicolor-icon-theme }:
with stdenv.lib;
stdenv.mkDerivation rec {
@@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
};
name = "${p_name}-${ver_maj}.${ver_min}";
- buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel libxfcegui4 xfconf
- gtk hicolor-icon-theme ];
+ buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel xfconf
+ gtk2 hicolor-icon-theme ];
nativeBuildInputs = [ pkgconfig ];
@@ -26,5 +26,6 @@ stdenv.mkDerivation rec {
platforms = platforms.linux;
license = licenses.gpl2;
maintainers = [ ];
+ broken = true;
};
}
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-verve-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-verve-plugin.nix
index 96ef08cbeb7..c9e5c8befbb 100644
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-verve-plugin.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-verve-plugin.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, intltool, glib, exo, pcre
-, libxfce4util, xfce4-panel, libxfce4ui, xfconf, gtk }:
+, libxfce4util, xfce4-panel, libxfce4ui, xfconf, gtk2 }:
with stdenv.lib;
stdenv.mkDerivation rec {
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
name = "${p_name}-${ver_maj}.${ver_min}";
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ intltool glib exo pcre libxfce4util libxfce4ui xfce4-panel xfconf gtk ];
+ buildInputs = [ intltool glib exo pcre libxfce4util libxfce4ui xfce4-panel xfconf gtk2 ];
hardeningDisable = [ "format" ];
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-weather-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-weather-plugin.nix
index 15cd526d6de..5ab311ef16f 100644
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-weather-plugin.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-weather-plugin.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, intltool, gtk, libxml2, libsoup, upower,
+{ stdenv, fetchurl, pkgconfig, intltool, gtk2, libxml2, libsoup, upower,
libxfce4ui, libxfce4util, xfce4-panel, hicolor-icon-theme }:
stdenv.mkDerivation rec {
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig intltool ];
- buildInputs = [ gtk libxml2 libsoup upower libxfce4ui libxfce4util
+ buildInputs = [ gtk2 libxml2 libsoup upower libxfce4ui libxfce4util
xfce4-panel hicolor-icon-theme ];
enableParallelBuilding = true;
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-whiskermenu-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-whiskermenu-plugin.nix
deleted file mode 100644
index c29758452ae..00000000000
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-whiskermenu-plugin.nix
+++ /dev/null
@@ -1,36 +0,0 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig, intltool, libxfce4util, libxfcegui4
-, xfce4-panel, gtk, exo, garcon }:
-
-with stdenv.lib;
-stdenv.mkDerivation rec {
- p_name = "xfce4-whiskermenu-plugin";
- version = "1.7.2";
-
- name = "${p_name}-${version}";
-
- src = fetchFromGitHub {
- owner = "gottcode";
- repo = "xfce4-whiskermenu-plugin";
- rev = "v${version}";
- sha256 = "1rpazgnjp443abc31bgi6gp9q3sgbg13v7v74nn7vf6kl4v725ah";
- };
-
- nativeBuildInputs = [ cmake pkgconfig intltool ];
-
- buildInputs = [ libxfce4util libxfcegui4 xfce4-panel gtk exo garcon ];
-
- enableParallelBuilding = true;
-
- preFixup = ''
- substituteInPlace $out/bin/xfce4-popup-whiskermenu \
- --replace $out/bin/xfce4-panel ${xfce4-panel.out}/bin/xfce4-panel
- '';
-
- meta = {
- homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
- description = "Alternate application launcher for Xfce";
- license = licenses.gpl2Plus;
- platforms = platforms.linux;
- maintainers = [ maintainers.pjbarnoy ];
- };
-}
diff --git a/pkgs/desktops/xfce4-14/xfce4-whiskermenu-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-whiskermenu-plugin/default.nix
similarity index 88%
rename from pkgs/desktops/xfce4-14/xfce4-whiskermenu-plugin/default.nix
rename to pkgs/desktops/xfce/panel-plugins/xfce4-whiskermenu-plugin/default.nix
index f943f2ab333..ef47d37e5ef 100644
--- a/pkgs/desktops/xfce4-14/xfce4-whiskermenu-plugin/default.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-whiskermenu-plugin/default.nix
@@ -15,4 +15,8 @@ mkXfceDerivation rec {
substituteInPlace $out/bin/xfce4-popup-whiskermenu \
--replace $out/bin/xfce4-panel ${xfce4-panel.out}/bin/xfce4-panel
'';
+
+ meta = {
+ description = "Alternate application launcher for Xfce";
+ };
}
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-xkb-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-xkb-plugin.nix
deleted file mode 100644
index 307d2e81bf2..00000000000
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-xkb-plugin.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, libxfce4util, libxfce4ui, xfce4-panel
-, garcon, gtk, libxklavier, librsvg, libwnck
-}:
-
-with stdenv.lib;
-stdenv.mkDerivation rec {
- p_name = "xfce4-xkb-plugin";
- ver_maj = "0.7";
- ver_min = "1";
-
- name = "${p_name}-${ver_maj}.${ver_min}";
-
- src = fetchurl {
- url = "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2";
- sha256 = "10g65j5ia389ahhn3b9hr52ghpp0817fk0m60rfrv4wrzqrjxzk1";
- };
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ intltool libxfce4util libxfce4ui xfce4-panel garcon
- gtk libxklavier librsvg libwnck ];
-
- meta = {
- homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}";
- description = "Allows you to setup and use multiple keyboard layouts";
- platforms = platforms.linux;
- maintainers = [ maintainers.AndersonTorres ];
- };
-}
diff --git a/pkgs/desktops/xfce4-14/xfce4-xkb-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-xkb-plugin/default.nix
similarity index 52%
rename from pkgs/desktops/xfce4-14/xfce4-xkb-plugin/default.nix
rename to pkgs/desktops/xfce/panel-plugins/xfce4-xkb-plugin/default.nix
index a024d3a88ba..4497a7b0e36 100644
--- a/pkgs/desktops/xfce4-14/xfce4-xkb-plugin/default.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-xkb-plugin/default.nix
@@ -1,4 +1,4 @@
-{ mkXfceDerivation, gtk3, librsvg, libwnck3, libxklavier, garcon, libxfce4ui, libxfce4util, xfce4-panel, xfconf }:
+{ lib, mkXfceDerivation, gtk3, librsvg, libwnck3, libxklavier, garcon, libxfce4ui, libxfce4util, xfce4-panel, xfconf }:
mkXfceDerivation rec {
category = "panel-plugins";
@@ -8,4 +8,9 @@ mkXfceDerivation rec {
sha256 = "1gyky4raynp2ggdnq0g96c6646fjm679fzipcsmf1q0aymr8d5ky";
buildInputs = [ garcon gtk3 librsvg libxfce4ui libxfce4util libxklavier libwnck3 xfce4-panel xfconf ];
+
+ meta = with lib; {
+ description = "Allows you to setup and use multiple keyboard layouts";
+ maintainers = [ maintainers.AndersonTorres ];
+ };
}
diff --git a/pkgs/desktops/xfce/thunar-plugins/archive/default.nix b/pkgs/desktops/xfce/thunar-plugins/archive/default.nix
index ea3a0f08443..e3c72d3b50e 100644
--- a/pkgs/desktops/xfce/thunar-plugins/archive/default.nix
+++ b/pkgs/desktops/xfce/thunar-plugins/archive/default.nix
@@ -1,57 +1,38 @@
-{ stdenv, fetchFromGitHub, pkgconfig, xfce4-dev-tools
-, gtk
-, thunar-bare
-, exo, libxfce4util, libxfce4ui
-, xfconf, udev, libnotify, hicolor-icon-theme
+{ stdenv
+, mkXfceDerivation
+, fetchFromGitHub
+, gtk3
+, thunar
+, exo
+, libxfce4util
+, intltool
+, gettext
}:
-stdenv.mkDerivation rec {
- p_name = "thunar-archive-plugin";
- ver_maj = "0.3";
- ver_min = "1";
- name = "${p_name}-${ver_maj}.${ver_min}";
+mkXfceDerivation rec {
+ category = "thunar-plugins";
+ pname = "thunar-archive-plugin";
+ version = "0.4.0";
- src = fetchFromGitHub {
- owner = "xfce-mirror";
- repo = p_name;
- rev = "72b23eefc348bee31e06a04f968e430bc7dfa51e";
- sha256 = "0l8715x23qmk0jkywiza3qx0xxmafxi4grp7p82kkc5df5ccs8kx";
- };
+ sha256 = "1793zicm00fail4iknliwy2b668j239ndxhc9hy6jarvdyp08h38";
+
+ nativeBuildInputs = [
+ intltool
+ gettext
+ ];
- nativeBuildInputs = [ pkgconfig ];
buildInputs = [
- xfce4-dev-tools
- thunar-bare
- exo gtk libxfce4util libxfce4ui
- xfconf udev libnotify hicolor-icon-theme
+ thunar
+ exo
+ gtk3
+ libxfce4util
];
preConfigure = ''
./autogen.sh
'';
- /*
- File roller `*.desktop` situation
- ---------------------------------
-
- For some odd reason, in nix os, gnome file-roller's desktop file has the non-standard name
- `org.gnome.FileRoller.desktop`. In order to be compatible with this odd context, create
- a `*.tap` file of the same name.
-
- IMPORTANT: Adapt or remove the symbolic link if the situation changes.
- */
- preFixup = ''
- pushd $out/libexec/thunar-archive-plugin > /dev/null
- ln -s ./file-roller.tap org.gnome.FileRoller.tap
- popd > /dev/null
- '';
-
- enableParallelBuilding = true;
-
meta = with stdenv.lib; {
- homepage = http://foo-projects.org/~benny/projects/thunar-archive-plugin/;
description = "Thunar plugin providing file context menus for archives";
- license = licenses.gpl2Plus;
- platforms = platforms.linux;
};
}
diff --git a/pkgs/desktops/xfce/thunar-plugins/dropbox/default.nix b/pkgs/desktops/xfce/thunar-plugins/dropbox/default.nix
index 217cecf85a8..8674c586552 100644
--- a/pkgs/desktops/xfce/thunar-plugins/dropbox/default.nix
+++ b/pkgs/desktops/xfce/thunar-plugins/dropbox/default.nix
@@ -1,31 +1,39 @@
-{ stdenv, fetchurl, pkgconfig
-, gtk
-, thunar-bare, python2, hicolor-icon-theme
-, wafHook
+{ stdenv
+, fetchFromGitHub
+, pkgconfig
+, gtk3
+, thunar
+, cmake
+, ninja
}:
stdenv.mkDerivation rec {
- p_name = "thunar-dropbox-plugin";
- ver_maj = "0.2";
- ver_min = "1";
- name = "${p_name}-${ver_maj}.${ver_min}";
+ pname = "thunar-dropbox";
+ version = "0.3.1";
- src = fetchurl {
- url = "http://softwarebakery.com/maato/files/thunar-dropbox/thunar-dropbox-${ver_maj}.${ver_min}.tar.bz2";
- sha256 = "08vhzzzwshyz371yl7fzfylmhvchhv3s5kml3dva4v39jhvrpnkf";
+ src = fetchFromGitHub {
+ owner = "Jeinzi";
+ repo = "thunar-dropbox";
+ rev = version;
+ sha256 = "1fshjvh542ffa8npfxv3cassgn6jclb2ix9ir997y4k0abzp1fxb";
};
- nativeBuildInputs = [ pkgconfig wafHook ];
+ nativeBuildInputs = [
+ pkgconfig
+ cmake
+ ninja
+ ];
+
buildInputs = [
- gtk
- thunar-bare python2 hicolor-icon-theme
+ thunar
+ gtk3
];
enableParallelBuilding = true;
meta = with stdenv.lib; {
- homepage = http://softwarebakery.com/maato/thunar-dropbox.html;
- description = "A plugin for thunar that adds context-menu items from dropbox";
+ homepage = "https://github.com/Jeinzi/thunar-dropbox";
+ description = "A plugin that adds context-menu items for Dropbox to Thunar";
license = licenses.gpl3;
platforms = platforms.linux;
};
diff --git a/pkgs/desktops/xfce4-14/default.nix b/pkgs/desktops/xfce4-14/default.nix
deleted file mode 100644
index 0e2c8c1696b..00000000000
--- a/pkgs/desktops/xfce4-14/default.nix
+++ /dev/null
@@ -1,116 +0,0 @@
-{ lib, makeSetupHook, newScope, gnome3, gst_all_1 }:
-
-let
- inherit (lib) makeScope;
-in
-
-makeScope newScope (self: with self; {
- mkXfceDerivation = callPackage ./mkXfceDerivation.nix { };
-
- automakeAddFlags = makeSetupHook { } ./automakeAddFlags.sh;
-
- exo = callPackage ./exo { };
-
- garcon = callPackage ./garcon { };
-
- gigolo = callPackage ./gigolo { };
-
- libxfce4util = callPackage ./libxfce4util { };
-
- libxfce4ui = callPackage ./libxfce4ui { };
-
- mousepad = callPackage ./mousepad { };
-
- orage = callPackage ./orage { };
-
- parole = callPackage ./parole {
- inherit (gst_all_1) gst-plugins-bad gst-plugins-base gst-plugins-good;
- gst-plugins-ugly = null;
- };
-
- ristretto = callPackage ./ristretto { };
-
- thunar = callPackage ./thunar { };
-
- thunar-volman = callPackage ./thunar-volman { };
-
- tumbler = callPackage ./tumbler { };
-
- xfburn = callPackage ./xfburn { };
-
- xfconf = callPackage ./xfconf { };
-
- xfdesktop = callPackage ./xfdesktop { };
-
- xfce4-appfinder = callPackage ./xfce4-appfinder { };
-
- xfce4-battery-plugin = callPackage ./xfce4-battery-plugin { };
-
- xfce4-cpufreq-plugin = callPackage ./xfce4-cpufreq-plugin { };
-
- xfce4-clipman-plugin = callPackage ./xfce4-clipman-plugin { };
-
- xfce4-dev-tools = callPackage ./xfce4-dev-tools {
- mkXfceDerivation = mkXfceDerivation.override {
- xfce4-dev-tools = null;
- };
- };
-
- xfce4-dict = callPackage ./xfce4-dict { };
-
- xfce4-netload-plugin = callPackage ./xfce4-netload-plugin { };
-
- xfce4-notifyd = callPackage ./xfce4-notifyd { };
-
- xfce4-panel = callPackage ./xfce4-panel { };
-
- xfce4-power-manager = callPackage ./xfce4-power-manager { };
-
- xfce4-pulseaudio-plugin = callPackage ./xfce4-pulseaudio-plugin { };
-
- xfce4-screenshooter = callPackage ./xfce4-screenshooter {
- inherit (gnome3) libsoup;
- };
-
- xfce4-session = callPackage ./xfce4-session { };
- xinitrc = "${xfce4-session}/etc/xdg/xfce4/xinitrc";
-
- xfce4-settings = callPackage ./xfce4-settings { };
-
- xfce4-taskmanager = callPackage ./xfce4-taskmanager { };
-
- xfce4-terminal = callPackage ./xfce4-terminal { };
-
- xfdashboard = callPackage ./xfdashboard { };
-
- xfce4-volumed-pulse = callPackage ./xfce4-volumed-pulse { };
-
- xfce4-whiskermenu-plugin = callPackage ./xfce4-whiskermenu-plugin { };
-
- xfce4-xkb-plugin = callPackage ./xfce4-xkb-plugin { };
-
- xfwm4 = callPackage ./xfwm4 { };
-
- ## COMMON PARTS WITH XFCE 4.12
-
- xfce4-icon-theme = callPackage ../xfce/art/xfce4-icon-theme.nix { };
-
- xfwm4-themes = callPackage ../xfce/art/xfwm4-themes.nix { };
-
- xfce4-embed-plugin = callPackage ../xfce/panel-plugins/xfce4-embed-plugin.nix { };
-
- xfce4-hardware-monitor-plugin = callPackage ../xfce/panel-plugins/xfce4-hardware-monitor-plugin.nix { };
-
- ## THIRD PARTY PLIGINS
-
- xfce4-dockbarx-plugin = callPackage ../xfce/panel-plugins/xfce4-dockbarx-plugin.nix { };
-
- xfce4-namebar-plugin = callPackage ../xfce/panel-plugins/xfce4-namebar-plugin.nix { };
-
- xfce4-windowck-plugin = callPackage ../xfce/panel-plugins/xfce4-windowck-plugin.nix { };
-
-
- ## ALIASES
- xfce4-mixer = throw "deprecated 2019-08-18: obsoleted by xfce4-pulseaudio-plugin"; # added 2019-08-18
- gtk-xfce-engine = throw "deprecated 2019-09-17: Xfce 4.14 deprecated gtk-xfce-engine"; # added 2019-09-17
-})
diff --git a/pkgs/desktops/xfce4-14/thunar/default.nix b/pkgs/desktops/xfce4-14/thunar/default.nix
deleted file mode 100644
index 12a1a62991a..00000000000
--- a/pkgs/desktops/xfce4-14/thunar/default.nix
+++ /dev/null
@@ -1,25 +0,0 @@
-{ mkXfceDerivation, docbook_xsl, exo, gdk-pixbuf, gtk3, libgudev
-, libnotify, libX11, libxfce4ui, libxfce4util, libxslt, xfconf, gobject-introspection, gvfs }:
-
-mkXfceDerivation {
- category = "xfce";
- pname = "thunar";
- version = "1.8.9";
-
- sha256 = "01w60csbs2nq1bhb8n1bnmjmx48fm0va3qbnq84z0h2dxpr80b1w";
-
- nativeBuildInputs = [ libxslt docbook_xsl gobject-introspection ];
-
- buildInputs = [
- exo
- gdk-pixbuf
- gtk3
- libgudev
- libnotify
- libX11
- libxfce4ui
- libxfce4util
- xfconf
- gvfs
- ];
-}
diff --git a/pkgs/desktops/xfce4-14/xfburn/default.nix b/pkgs/desktops/xfce4-14/xfburn/default.nix
deleted file mode 100644
index dd3a9af1680..00000000000
--- a/pkgs/desktops/xfce4-14/xfburn/default.nix
+++ /dev/null
@@ -1,13 +0,0 @@
-{ mkXfceDerivation, docbook_xsl, exo, gtk2, libburn, libisofs, libxfce4ui, libxslt }:
-
-mkXfceDerivation {
- category = "apps";
- pname = "xfburn";
- version = "0.5.5";
-
- sha256 = "1lmv48vqrlap1a2ha72g16vqly18zvcwj8y3f3f00l10pmn52bkp";
-
- nativeBuildInputs = [ libxslt docbook_xsl ];
- buildInputs = [ exo gtk2 libburn libisofs libxfce4ui ];
- meta.broken = true;
-}
diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix
index 840d02c51fc..90ce0d2bb2c 100644
--- a/pkgs/top-level/aliases.nix
+++ b/pkgs/top-level/aliases.nix
@@ -418,6 +418,8 @@ mapAliases ({
wireguard = wireguard-tools; # added 2018-05-19
morituri = whipper; # added 2018-09-13
xfceUnstable = xfce4-14; # added 2019-09-17
+ xfce4-14 = xfce;
+ xfce4-12 = xfce;
x11 = xlibsWrapper; # added 2015-09
xbmc = kodi; # added 2018-04-25
xbmcPlain = kodiPlain; # added 2018-04-25
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 37ab33a0159..06a01805ceb 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -23408,10 +23408,7 @@ in
solarc-gtk-theme = callPackage ../misc/themes/solarc { };
- xfce = xfce4-12;
-
- xfce4-12 = recurseIntoAttrs (callPackage ../desktops/xfce { });
- xfce4-14 = recurseIntoAttrs (callPackage ../desktops/xfce4-14 { });
+ xfce = recurseIntoAttrs (callPackage ../desktops/xfce { });
xrandr-invert-colors = callPackage ../applications/misc/xrandr-invert-colors { };