vlada/xfce

Major Xfce refactoring, also adding versions 4.10.*

Signed-off-by: Vladimír Čunát <vcunat@gmail.com>

+1061 -655
+14
pkgs/build-support/fetchurl/mirrors.nix
··· 224 ftp://ftp.nara.wide.ad.jp/pub/X11/GNOME/ 225 ]; 226 227 # X.org. 228 xorg = [ 229 http://xorg.freedesktop.org/releases/
··· 224 ftp://ftp.nara.wide.ad.jp/pub/X11/GNOME/ 225 ]; 226 227 + xfce = [ 228 + http://archive.xfce.org/ 229 + http://mirror.netcologne.de/xfce/ 230 + http://archive.se.xfce.org/xfce/ 231 + http://archive.be.xfce.org/xfce/ 232 + http://mirror.perldude.de/archive.xfce.org/ 233 + http://archive.be2.xfce.org/ 234 + http://ftp.udc.es/xfce/ 235 + http://archive.al-us.xfce.org/ 236 + http://mirror.yongbok.net/X11/xfce-mirror/ 237 + http://mirrors.tummy.com/pub/archive.xfce.org/ 238 + http://xfce.mirror.uber.com.au/ 239 + ]; 240 + 241 # X.org. 242 xorg = [ 243 http://xorg.freedesktop.org/releases/
-22
pkgs/desktops/xfce-4.8/applications/gigolo.nix
··· 1 - { stdenv, fetchurl, python, gettext, intltool, pkgconfig, gtk, gvfs}: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "gigolo-0.4.1"; 5 - 6 - src = fetchurl { 7 - url = "http://archive.xfce.org/src/apps/gigolo/0.4/${name}.tar.bz2"; 8 - sha256 = "1y8p9bbv1a4qgbxl4vn6zbag3gb7gl8qj75cmhgrrw9zrvqbbww2"; 9 - }; 10 - 11 - buildInputs = [ python gettext intltool gtk pkgconfig gvfs]; 12 - 13 - preConfigure = '' 14 - sed -i "waf" -e "1 s^.*/env[ ]*python^#!${python}/bin/python^"; 15 - ''; 16 - 17 - meta = { 18 - homepage = http://goodies.xfce.org/projects/applications/gigolo; 19 - description = "Gigolo is a frontend to easily manage connections to remote filesystems"; 20 - platforms = stdenv.lib.platforms.linux; 21 - }; 22 - }
···
-20
pkgs/desktops/xfce-4.8/applications/mousepad.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, libxfce4util, libxfcegui4, gtk }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "mousepad-0.2.16"; 5 - 6 - src = fetchurl { 7 - url = "http://archive.xfce.org/src/apps/mousepad/0.2/${name}.tar.bz2"; 8 - sha1 = "4e63033e0a71578f3ec9a0d2e6a505efd0424ef9"; 9 - }; 10 - 11 - buildInputs = [ pkgconfig intltool libxfce4util libxfcegui4 gtk ]; 12 - 13 - meta = { 14 - homepage = http://www.xfce.org/projects/mousepad/; 15 - description = "A simple text editor for Xfce"; 16 - license = "GPLv2+"; 17 - platforms = stdenv.lib.platforms.linux; 18 - maintainers = [ stdenv.lib.maintainers.eelco ]; 19 - }; 20 - }
···
-24
pkgs/desktops/xfce-4.8/applications/ristretto.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, libexif, gtk, thunar 2 - , exo, dbus_glib, libxfce4util, libxfce4ui, xfconf }: 3 - 4 - stdenv.mkDerivation rec { 5 - name = "ristretto-0.2.3"; 6 - 7 - src = fetchurl { 8 - url = "http://archive.xfce.org/src/apps/ristretto/0.2/${name}.tar.bz2"; 9 - sha1 = "5a34b865cb9013b67467b0e8d51970f0a1e977d1"; 10 - }; 11 - 12 - buildInputs = 13 - [ pkgconfig intltool libexif gtk dbus_glib libxfce4util 14 - libxfce4ui xfconf 15 - ]; 16 - 17 - meta = { 18 - homepage = http://goodies.xfce.org/projects/applications/ristretto; 19 - description = "A fast and lightweight picture-viewer for the Xfce desktop environment"; 20 - license = "GPLv2+"; 21 - platforms = stdenv.lib.platforms.linux; 22 - maintainers = [ stdenv.lib.maintainers.eelco ]; 23 - }; 24 - }
···
-25
pkgs/desktops/xfce-4.8/applications/terminal.nix
··· 1 - { stdenv, fetchurl 2 - , pkgconfig, ncurses 3 - , intltool, vte 4 - , exo, libxfce4util 5 - , gtk 6 - }: 7 - 8 - stdenv.mkDerivation { 9 - name = "xfce-terminal-0.4.8"; 10 - 11 - src = fetchurl { 12 - url = http://archive.xfce.org/src/apps/xfce4-terminal/0.4/Terminal-0.4.8.tar.bz2; 13 - sha1 = "2f12c3a0fffad18976d47e531d404ee308cb2f05"; 14 - }; 15 - 16 - buildInputs = [ pkgconfig intltool exo gtk vte libxfce4util ncurses ]; 17 - 18 - meta = { 19 - homepage = http://www.xfce.org/projects/terminal; 20 - description = "A modern terminal emulator primarily for the Xfce desktop environment"; 21 - license = "GPLv2+"; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = [ stdenv.lib.maintainers.eelco ]; 24 - }; 25 - }
···
+11 -9
pkgs/desktops/xfce-4.8/applications/xfce4-mixer.nix pkgs/desktops/xfce/applications/xfce4-mixer.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, glib, gstreamer, gst_plugins_base 2 - , gtk, libxfce4util, libxfce4ui, xfce4panel, xfconf }: 3 4 let 5 - 6 # The usual Gstreamer plugins package has a zillion dependencies 7 # that we don't need for a simple mixer, so build a minimal package. 8 gst_plugins_minimal = gst_plugins_base.override { ··· 12 in 13 14 stdenv.mkDerivation rec { 15 - name = "xfce4-mixer-4.8.0"; 16 - 17 src = fetchurl { 18 - url = "http://archive.xfce.org/src/apps/xfce4-mixer/4.8/${name}.tar.bz2"; 19 - sha1 = "24f3401a68f10d2c620e354a6de98e09fe808665"; 20 }; 21 22 buildInputs = 23 [ pkgconfig intltool glib gstreamer gst_plugins_minimal gtk 24 - libxfce4util libxfce4ui xfce4panel xfconf 25 ]; 26 27 postInstall = ··· 31 ''; 32 33 meta = { 34 - homepage = http://www.xfce.org/projects/xfce4-mixer; 35 description = "A volume control application for the Xfce desktop environment"; 36 license = "GPLv2+"; 37 platforms = stdenv.lib.platforms.linux;
··· 1 + { stdenv, fetchurl, pkgconfig, intltool, glib, gstreamer, gst_plugins_base, gtk 2 + , libxfce4util, libxfce4ui, xfce4panel, xfconf, libunique?null }: 3 4 let 5 # The usual Gstreamer plugins package has a zillion dependencies 6 # that we don't need for a simple mixer, so build a minimal package. 7 gst_plugins_minimal = gst_plugins_base.override { ··· 11 in 12 13 stdenv.mkDerivation rec { 14 + p_name = "xfce4-mixer"; 15 + ver_maj = "4.10"; 16 + ver_min = "0"; 17 + 18 src = fetchurl { 19 + url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2"; 20 + sha256 = "1pnsd00583l7p5d80rxbh58brzy3jnccwikbbbm730a33c08kid8"; 21 }; 22 + name = "${p_name}-${ver_maj}.${ver_min}"; 23 24 buildInputs = 25 [ pkgconfig intltool glib gstreamer gst_plugins_minimal gtk 26 + libxfce4util libxfce4ui xfce4panel xfconf libunique 27 ]; 28 29 postInstall = ··· 33 ''; 34 35 meta = { 36 + homepage = http://www.xfce.org/projects/xfce4-mixer; # referenced but inactive 37 description = "A volume control application for the Xfce desktop environment"; 38 license = "GPLv2+"; 39 platforms = stdenv.lib.platforms.linux;
-18
pkgs/desktops/xfce-4.8/applications/xfce4-notifyd.nix
··· 1 - { stdenv, fetchurl, intltool, pkgconfig, gtk, xfce }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "xfce4-notifyd-0.2.2"; 5 - 6 - src = fetchurl { 7 - url = "http://archive.xfce.org/src/apps/xfce4-notifyd/0.2/${name}.tar.bz2"; 8 - sha256 = "0s4ilc36sl5k5mg5727rmqims1l3dy5pwg6dk93wyjqnqbgnhvmn"; 9 - }; 10 - 11 - buildInputs = [ intltool pkgconfig gtk xfce.libxfce4util xfce.libxfce4ui xfce.xfconf ]; 12 - 13 - meta = { 14 - homepage = http://goodies.xfce.org/projects/applications/xfce4-notifyd; 15 - description = "The Xfce Notify Daemon"; 16 - platforms = stdenv.lib.platforms.linux; 17 - }; 18 - }
···
+8 -4
pkgs/desktops/xfce-4.8/applications/xfce4-power-manager.nix pkgs/desktops/xfce/core/xfce4-power-manager.nix
··· 2 , libxfce4ui, libxfce4util, libnotify, xfce4panel }: 3 4 stdenv.mkDerivation rec { 5 - name = "xfce4-power-manager-1.0.10"; 6 - 7 src = fetchurl { 8 - url = "http://archive.xfce.org/src/apps/xfce4-power-manager/1.0/${name}.tar.bz2"; 9 - sha1 = "64dd7a8fae9cd1cbcf6403d2f51f2281f38cca05"; 10 }; 11 12 buildInputs = 13 [ pkgconfig intltool gtk dbus_glib xfconf libxfce4ui libxfce4util 14 libnotify xfce4panel 15 ]; 16 17 meta = { 18 homepage = http://goodies.xfce.org/projects/applications/xfce4-power-manager;
··· 2 , libxfce4ui, libxfce4util, libnotify, xfce4panel }: 3 4 stdenv.mkDerivation rec { 5 + p_name = "xfce4-power-manager"; 6 + ver_maj = "1.0"; 7 + ver_min = "10"; 8 + 9 src = fetchurl { 10 + url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2"; 11 + sha256 = "1w120k1sl4s459ijaxkqkba6g1p2sqrf9paljv05wj0wz12bpr40"; 12 }; 13 + name = "${p_name}-${ver_maj}.${ver_min}"; 14 15 buildInputs = 16 [ pkgconfig intltool gtk dbus_glib xfconf libxfce4ui libxfce4util 17 libnotify xfce4panel 18 ]; 19 + preFixup = "rm $out/share/icons/hicolor/icon-theme.cache"; 20 21 meta = { 22 homepage = http://goodies.xfce.org/projects/applications/xfce4-power-manager;
-18
pkgs/desktops/xfce-4.8/applications/xfce4-taskmanager.nix
··· 1 - { stdenv, fetchurl, intltool, pkgconfig, gtk }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "xfce4-taskmanager-1.0.0"; 5 - 6 - src = fetchurl { 7 - url = "http://archive.xfce.org/src/apps/xfce4-taskmanager/1.0/${name}.tar.bz2"; 8 - sha256 = "1vm9gw7j4ngjlpdhnwdf7ifx6xrrn21011almx2vwidhk2f9zvy0"; 9 - }; 10 - 11 - buildInputs = [ intltool pkgconfig gtk ]; 12 - 13 - meta = { 14 - homepage = http://goodies.xfce.org/projects/applications/xfce4-taskmanager; 15 - description = "Easy to use task manager for XFCE"; 16 - platforms = stdenv.lib.platforms.linux; 17 - }; 18 - }
···
-19
pkgs/desktops/xfce-4.8/art/xfce4-icon-theme.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, gtk }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "xfce4-icon-theme-4.4.3"; 5 - 6 - src = fetchurl { 7 - url = "http://archive.xfce.org/src/art/xfce4-icon-theme/4.4/${name}.tar.bz2"; 8 - sha1 = "0c0d0c45cd4a7f609310db8e9d17c1c4a131a6e7"; 9 - }; 10 - 11 - buildInputs = [ pkgconfig intltool gtk ]; 12 - 13 - meta = { 14 - homepage = http://www.xfce.org/; 15 - description = "Icons for Xfce"; 16 - platforms = stdenv.lib.platforms.linux; 17 - maintainers = [ stdenv.lib.maintainers.eelco ]; 18 - }; 19 - }
···
-19
pkgs/desktops/xfce-4.8/core/exo.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, URI, glib, gtk, libxfce4util }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "exo-0.6.2"; 5 - 6 - src = fetchurl { 7 - url = "http://archive.xfce.org/src/xfce/exo/0.6/${name}.tar.bz2"; 8 - sha1 = "2486f12c814630068665e22cdf417f0f0f05dab1"; 9 - }; 10 - 11 - buildInputs = 12 - [ pkgconfig intltool URI glib gtk libxfce4util ]; 13 - 14 - meta = { 15 - homepage = http://www.xfce.org/projects/exo; 16 - description = "Application library for the Xfce desktop environment"; 17 - license = "GPLv2+"; 18 - }; 19 - }
···
-18
pkgs/desktops/xfce-4.8/core/garcon.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, glib, libxfce4util }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "garcon-0.1.9"; 5 - 6 - src = fetchurl { 7 - url = "http://archive.xfce.org/src/xfce/garcon/0.1/${name}.tar.bz2"; 8 - sha1 = "2eeab19bc10747a40b44afd4598a2f555eb69952"; 9 - }; 10 - 11 - buildInputs = [ pkgconfig intltool glib libxfce4util ]; 12 - 13 - meta = { 14 - homepage = http://www.xfce.org/; 15 - description = "Xfce menu support library"; 16 - license = "GPLv2+"; 17 - }; 18 - }
···
-21
pkgs/desktops/xfce-4.8/core/gtk-xfce-engine.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, gtk }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "gtk-xfce-engine-2.8.1"; 5 - 6 - src = fetchurl { 7 - url = "http://archive.xfce.org/src/xfce/gtk-xfce-engine/2.8/${name}.tar.bz2"; 8 - sha1 = "d7779f07cc76585be063bc25fa91e660e1fd9c97"; 9 - }; 10 - 11 - buildInputs = 12 - [ pkgconfig intltool gtk ]; 13 - 14 - meta = { 15 - homepage = http://www.xfce.org/; 16 - description = "GTK+ theme engine for Xfce"; 17 - license = "GPLv2+"; 18 - platforms = stdenv.lib.platforms.linux; 19 - maintainers = [ stdenv.lib.maintainers.eelco ]; 20 - }; 21 - }
···
-24
pkgs/desktops/xfce-4.8/core/libxfce4ui.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, xfconf 2 - , libstartup_notification }: 3 - 4 - stdenv.mkDerivation rec { 5 - name = "libxfce4ui-4.8.1"; 6 - 7 - src = fetchurl { 8 - url = "http://archive.xfce.org/src/xfce/libxfce4ui/4.8/${name}.tar.bz2"; 9 - sha1 = "408645581e589135aa03d2e9b84f4eede68596b2"; 10 - }; 11 - 12 - buildInputs = 13 - [ pkgconfig intltool gtk libxfce4util xfconf 14 - libstartup_notification 15 - ]; 16 - 17 - enableParallelBuilding = true; 18 - 19 - meta = { 20 - homepage = http://www.xfce.org/; 21 - description = "Basic GUI library for Xfce"; 22 - license = "LGPLv2+"; 23 - }; 24 - }
···
-18
pkgs/desktops/xfce-4.8/core/libxfce4util.nix
··· 1 - { stdenv, fetchurl, pkgconfig, glib, intltool }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "libxfce4util-4.8.2"; 5 - 6 - src = fetchurl { 7 - url = "http://archive.xfce.org/src/xfce/libxfce4util/4.8/${name}.tar.bz2"; 8 - sha1 = "e7498c2e5fca2c89dfef89e0788f10eebbd020c3"; 9 - }; 10 - 11 - buildInputs = [ pkgconfig glib intltool ]; 12 - 13 - meta = { 14 - homepage = http://www.xfce.org/; 15 - description = "Basic utility non-GUI functions for Xfce"; 16 - license = "bsd"; 17 - }; 18 - }
···
+9 -6
pkgs/desktops/xfce-4.8/core/libxfcegui4.nix pkgs/desktops/xfce/core/libxfce4ui.nix
··· 2 , libglade, libstartup_notification }: 3 4 stdenv.mkDerivation rec { 5 - name = "libxfcegui4-4.8.1"; 6 - 7 src = fetchurl { 8 - url = "http://archive.xfce.org/src/xfce/libxfcegui4/4.8/${name}.tar.bz2"; 9 - sha1 = "246fcaa71fc8cf44dae0b4c919411231eedd662f"; 10 }; 11 12 - # By default, libxfcegui4 tries to install into libglade's prefix. 13 # Install into our own prefix instead. 14 preConfigure = 15 '' ··· 17 ''; 18 19 buildInputs = 20 - [ pkgconfig intltool gtk libxfce4util libglade 21 libstartup_notification 22 ]; 23
··· 2 , libglade, libstartup_notification }: 3 4 stdenv.mkDerivation rec { 5 + p_name = "libxfce4ui"; 6 + ver_maj = "4.10"; 7 + ver_min = "0"; 8 + 9 src = fetchurl { 10 + url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2"; 11 + sha256 = "1qm31s6568cz4c8rl9fsfq0xmf7pldxm0ki62gx1cpybihlgmfd2"; 12 }; 13 + name = "${p_name}-${ver_maj}.${ver_min}"; 14 15 + #TODO: gladeui 16 # Install into our own prefix instead. 17 preConfigure = 18 '' ··· 20 ''; 21 22 buildInputs = 23 + [ pkgconfig intltool gtk libxfce4util xfconf libglade 24 libstartup_notification 25 ]; 26
-26
pkgs/desktops/xfce-4.8/core/thunar-volman.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, exo, gtk, libxfce4util, libxfce4ui 2 - , xfconf, udev, libnotify }: 3 - 4 - stdenv.mkDerivation rec { 5 - name = "thunar-volman-0.6.0"; 6 - 7 - src = fetchurl { 8 - url = "http://archive.xfce.org/src/xfce/thunar-volman/0.6/${name}.tar.bz2"; 9 - sha1 = "dcda936948623b342b290a78c294f71c038e832e"; 10 - }; 11 - 12 - buildInputs = 13 - [ pkgconfig intltool exo gtk udev libxfce4ui libxfce4util 14 - xfconf libnotify 15 - ]; 16 - 17 - enableParallelBuilding = true; 18 - 19 - meta = { 20 - homepage = http://thunar.xfce.org/; 21 - description = "Thunar extension for automatic management of removable drives and media"; 22 - license = "GPLv2+"; 23 - platforms = stdenv.lib.platforms.linux; 24 - maintainers = [ stdenv.lib.maintainers.eelco ]; 25 - }; 26 - }
···
-27
pkgs/desktops/xfce-4.8/core/thunar.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, exo, gtk, libxfce4util, libxfce4ui 2 - , dbus_glib, libstartup_notification, xfconf, xfce4panel, udev, libnotify }: 3 - 4 - stdenv.mkDerivation rec { 5 - version = "1.2.3"; 6 - name = "thunar-${version}"; 7 - 8 - src = fetchurl { 9 - url = "http://archive.xfce.org/src/xfce/thunar/1.2/Thunar-${version}.tar.bz2"; 10 - sha1 = "a05d0e14515d70c5ad94cca881822a707d366863"; 11 - }; 12 - 13 - buildInputs = 14 - [ pkgconfig intltool gtk exo libxfce4util libxfce4ui 15 - dbus_glib libstartup_notification xfconf xfce4panel udev libnotify 16 - ]; 17 - 18 - enableParallelBuilding = true; 19 - 20 - meta = { 21 - homepage = http://thunar.xfce.org/; 22 - description = "Xfce file manager"; 23 - license = "GPLv2+"; 24 - platforms = stdenv.lib.platforms.linux; 25 - maintainers = [ stdenv.lib.maintainers.eelco ]; 26 - }; 27 - }
···
-22
pkgs/desktops/xfce-4.8/core/xfce-utils.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, libxfce4ui }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "xfce-utils-4.8.3"; 5 - 6 - src = fetchurl { 7 - url = "http://archive.xfce.org/src/xfce/xfce-utils/4.8/${name}.tar.bz2"; 8 - sha1 = "159d445b689ebbf73462a4b4baf5cce4e04afaab"; 9 - }; 10 - 11 - configureFlags = "--with-xsession-prefix=$(out)/share/xsessions --with-vendor-info=NixOS.org"; 12 - 13 - buildInputs = [ pkgconfig intltool gtk libxfce4util libxfce4ui ]; 14 - 15 - meta = { 16 - homepage = http://www.xfce.org/; 17 - description = "Utilities and scripts for Xfce"; 18 - license = "GPLv2+"; 19 - platforms = stdenv.lib.platforms.linux; 20 - maintainers = [ stdenv.lib.maintainers.eelco ]; 21 - }; 22 - }
···
-24
pkgs/desktops/xfce-4.8/core/xfce4-appfinder.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, glib, gtk, libxfce4util 2 - , libxfce4ui, garcon, xfconf }: 3 - 4 - stdenv.mkDerivation rec { 5 - name = "xfce4-appfinder-4.8.0"; 6 - 7 - src = fetchurl { 8 - url = "http://archive.xfce.org/src/xfce/xfce4-appfinder/4.8/${name}.tar.bz2"; 9 - sha1 = "444bbcbded8d2346f9b9beb57ec7adaf556811c9"; 10 - }; 11 - 12 - buildInputs = 13 - [ pkgconfig intltool glib gtk libxfce4util libxfce4ui garcon xfconf ]; 14 - 15 - enableParallelBuilding = true; 16 - 17 - meta = { 18 - homepage = http://www.xfce.org/; 19 - description = "Xfce application finder, a tool to locate and launch programs on your system"; 20 - license = "GPLv2+"; 21 - platforms = stdenv.lib.platforms.linux; 22 - maintainers = [ stdenv.lib.maintainers.eelco ]; 23 - }; 24 - }
···
pkgs/desktops/xfce-4.8/core/xfce4-panel-datadir.patch pkgs/desktops/xfce/core/xfce4-panel-datadir.patch
-29
pkgs/desktops/xfce-4.8/core/xfce4-panel.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, garcon 2 - , libxfce4ui, xfconf, libwnck, exo }: 3 - 4 - stdenv.mkDerivation rec { 5 - name = "xfce4-panel-4.8.6"; 6 - 7 - src = fetchurl { 8 - url = "http://archive.xfce.org/src/xfce/xfce4-panel/4.8/${name}.tar.bz2"; 9 - sha1 = "332fc968332e6271e1bb65d6de8de2524b0440ec"; 10 - }; 11 - 12 - patches = [ ./xfce4-panel-datadir.patch ]; 13 - patchFlags = "-p1"; 14 - 15 - buildInputs = 16 - [ pkgconfig intltool gtk libxfce4util garcon libxfce4ui xfconf 17 - exo libwnck 18 - ]; 19 - 20 - enableParallelBuilding = true; 21 - 22 - meta = { 23 - homepage = http://www.xfce.org/; 24 - description = "Xfce panel"; 25 - license = "GPLv2+"; 26 - platforms = stdenv.lib.platforms.linux; 27 - maintainers = [ stdenv.lib.maintainers.eelco ]; 28 - }; 29 - }
···
-24
pkgs/desktops/xfce-4.8/core/xfce4-session.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, libxfce4ui 2 - , libwnck, dbus_glib, xfconf, xorg, xfce4panel }: 3 - 4 - stdenv.mkDerivation rec { 5 - name = "xfce4-session-4.8.2"; 6 - 7 - src = fetchurl { 8 - url = "http://archive.xfce.org/src/xfce/xfce4-session/4.8/${name}.tar.bz2"; 9 - sha1 = "636c2983552861a959225e554898675152a4d812"; 10 - }; 11 - 12 - buildInputs = 13 - [ pkgconfig intltool gtk libxfce4util libxfce4ui libwnck dbus_glib 14 - xfconf xorg.iceauth xfce4panel 15 - ]; 16 - 17 - meta = { 18 - homepage = http://www.xfce.org/; 19 - description = "Session manager for Xfce"; 20 - license = "GPLv2+"; 21 - platforms = stdenv.lib.platforms.linux; 22 - maintainers = [ stdenv.lib.maintainers.eelco ]; 23 - }; 24 - }
···
-26
pkgs/desktops/xfce-4.8/core/xfce4-settings.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, exo, gtk, libxfce4util, libxfce4ui 2 - , xfconf, xorg, libnotify, libxklavier }: 3 - 4 - stdenv.mkDerivation rec { 5 - name = "xfce4-settings-4.8.3"; 6 - 7 - src = fetchurl { 8 - url = "http://archive.xfce.org/src/xfce/xfce4-settings/4.8/${name}.tar.bz2"; 9 - sha1 = "98431633ba3ec2a4a10182bc7266904d9256949b"; 10 - }; 11 - 12 - buildInputs = 13 - [ pkgconfig intltool exo gtk libxfce4util libxfce4ui 14 - xfconf libnotify xorg.libXcursor libxklavier 15 - ]; 16 - 17 - configureFlags = "--enable-pluggable-dialogs --enable-sound-settings"; 18 - 19 - meta = { 20 - homepage = http://www.xfce.org/; 21 - description = "Settings manager for Xfce"; 22 - license = "GPLv2+"; 23 - platforms = stdenv.lib.platforms.linux; 24 - maintainers = [ stdenv.lib.maintainers.eelco ]; 25 - }; 26 - }
···
-20
pkgs/desktops/xfce-4.8/core/xfconf.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, glib, libxfce4util, dbus_glib }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "xfconf-4.8.1"; 5 - 6 - src = fetchurl { 7 - url = "http://archive.xfce.org/src/xfce/xfconf/4.8/${name}.tar.bz2"; 8 - sha1 = "aeab124f7c548e387b37a5476e594ef559515533"; 9 - }; 10 - 11 - buildInputs = [ pkgconfig intltool glib libxfce4util ]; 12 - 13 - propagatedBuildInputs = [ dbus_glib ]; 14 - 15 - meta = { 16 - homepage = http://www.xfce.org/; 17 - description = "Simple client-server configuration storage and query system for Xfce"; 18 - license = "GPLv2"; 19 - }; 20 - }
···
-26
pkgs/desktops/xfce-4.8/core/xfdesktop.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, gtk, dbus_glib, libxfce4util 2 - , libxfce4ui, libwnck, xfconf, garcon, libnotify, exo }: 3 - 4 - stdenv.mkDerivation rec { 5 - name = "xfdesktop-4.8.3"; 6 - 7 - src = fetchurl { 8 - url = "http://archive.xfce.org/src/xfce/xfdesktop/4.8/${name}.tar.bz2"; 9 - sha1 = "b3af72a69627f860f22b37d021efd81e4e37eb55"; 10 - }; 11 - 12 - buildInputs = 13 - [ pkgconfig intltool gtk dbus_glib libxfce4util libxfce4ui libwnck xfconf 14 - garcon libnotify exo 15 - ]; 16 - 17 - enableParallelBuilding = true; 18 - 19 - meta = { 20 - homepage = http://www.xfce.org/; 21 - description = "Xfce desktop manager"; 22 - license = "GPLv2+"; 23 - platforms = stdenv.lib.platforms.linux; 24 - maintainers = [ stdenv.lib.maintainers.eelco ]; 25 - }; 26 - }
···
-27
pkgs/desktops/xfce-4.8/core/xfwm4.nix
··· 1 - { stdenv, fetchurl, pkgconfig, gtk, intltool, libxfce4util 2 - , libxfce4ui, xfconf, libwnck, libstartup_notification, xorg }: 3 - 4 - stdenv.mkDerivation rec { 5 - name = "xfwm4-4.8.3"; 6 - 7 - src = fetchurl { 8 - url = "http://archive.xfce.org/src/xfce/xfwm4/4.8/${name}.tar.bz2"; 9 - sha1 = "6d27deca383e0c2fba0cede0bbe0e9aee18e9257"; 10 - }; 11 - 12 - buildInputs = 13 - [ pkgconfig intltool gtk libxfce4util libxfce4ui xfconf 14 - libwnck libstartup_notification 15 - xorg.libXcomposite xorg.libXfixes xorg.libXdamage 16 - ]; 17 - 18 - enableParallelBuilding = true; 19 - 20 - meta = { 21 - homepage = http://www.xfce.org/; 22 - description = "Window manager for Xfce"; 23 - license = "GPLv2+"; 24 - platforms = stdenv.lib.platforms.linux; 25 - maintainers = [ stdenv.lib.maintainers.eelco ]; 26 - }; 27 - }
···
-94
pkgs/desktops/xfce-4.8/default.nix
··· 1 - { callPackage, pkgs }: 2 - 3 - rec { 4 - inherit (pkgs) gtk glib; 5 - 6 - #### SUPPORT 7 - 8 - # The useful bits from ‘gnome-disk-utility’. 9 - libgdu = callPackage ./support/libgdu.nix { }; 10 - 11 - # Gvfs is required by Thunar for the trash feature and for volume 12 - # mounting. Should use the one from Gnome, but I don't want to mess 13 - # with the Gnome packages (or pull in a zillion Gnome dependencies). 14 - gvfs = callPackage ./support/gvfs.nix { }; 15 - 16 - 17 - #### CORE 18 - 19 - libxfce4util = callPackage ./core/libxfce4util.nix { }; 20 - 21 - exo = callPackage ./core/exo.nix { 22 - inherit (pkgs.perlPackages) URI; 23 - }; 24 - 25 - xfconf = callPackage ./core/xfconf.nix { }; 26 - 27 - libxfcegui4 = callPackage ./core/libxfcegui4.nix { 28 - inherit (pkgs.gnome) libglade; 29 - }; 30 - 31 - libxfce4ui = callPackage ./core/libxfce4ui.nix { }; 32 - 33 - xfwm4 = callPackage ./core/xfwm4.nix { 34 - inherit (pkgs.gnome) libwnck; 35 - }; 36 - 37 - xfceutils = callPackage ./core/xfce-utils.nix { }; 38 - 39 - garcon = callPackage ./core/garcon.nix { }; 40 - 41 - xfce4panel = callPackage ./core/xfce4-panel.nix { 42 - inherit (pkgs.gnome) libwnck; 43 - }; 44 - 45 - xfce4session = callPackage ./core/xfce4-session.nix { 46 - inherit (pkgs.gnome) libwnck; 47 - }; 48 - 49 - xfce4settings = callPackage ./core/xfce4-settings.nix { }; 50 - 51 - xfdesktop = callPackage ./core/xfdesktop.nix { 52 - inherit (pkgs.gnome) libwnck; 53 - }; 54 - 55 - thunar = callPackage ./core/thunar.nix { }; 56 - 57 - thunar_volman = callPackage ./core/thunar-volman.nix { }; 58 - 59 - gtk_xfce_engine = callPackage ./core/gtk-xfce-engine.nix { }; 60 - 61 - xfce4_appfinder = callPackage ./core/xfce4-appfinder.nix { }; 62 - 63 - 64 - #### APPLICATIONS 65 - 66 - terminal = callPackage ./applications/terminal.nix { 67 - inherit (pkgs.gnome) vte; 68 - }; 69 - 70 - gigolo = callPackage ./applications/gigolo.nix { }; 71 - 72 - mousepad = callPackage ./applications/mousepad.nix { }; 73 - 74 - ristretto = callPackage ./applications/ristretto.nix { }; 75 - 76 - xfce4_notifyd = callPackage ./applications/xfce4-notifyd.nix { }; 77 - 78 - xfce4_power_manager = callPackage ./applications/xfce4-power-manager.nix { }; 79 - 80 - xfce4mixer = callPackage ./applications/xfce4-mixer.nix { }; 81 - 82 - xfce4_taskmanager = callPackage ./applications/xfce4-taskmanager.nix { }; 83 - 84 - 85 - #### ART 86 - 87 - xfce4icontheme = callPackage ./art/xfce4-icon-theme.nix { }; 88 - 89 - #### PANEL PLUGINS 90 - 91 - xfce4_systemload_plugin = callPackage ./panel-plugins/xfce4-systemload-plugin.nix {}; 92 - xfce4_cpufreq_plugin = callPackage ./panel-plugins/xfce4-cpufreq-plugin.nix {}; 93 - 94 - }
···
-18
pkgs/desktops/xfce-4.8/panel-plugins/xfce4-cpufreq-plugin.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4panel, libxfce4ui, libxfcegui4, xfconf, gtk}: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "xfce4-cpufreq-plugin-1.0.0"; 5 - 6 - src = fetchurl { 7 - url = "http://archive.xfce.org/src/panel-plugins/xfce4-cpufreq-plugin/1.0/${name}.tar.bz2"; 8 - sha256 = "0q2lj8a25iq9w3dynh6qvsmh19y1v7i82g46yza6gvw7fjcrmcz1"; 9 - }; 10 - 11 - buildInputs = [ pkgconfig intltool libxfce4util libxfce4ui xfce4panel libxfcegui4 xfconf gtk ]; 12 - 13 - meta = { 14 - homepage = http://www.xfce.org/; 15 - description = "CPU Freq load panel plugin for Xfce"; 16 - platforms = stdenv.lib.platforms.linux; 17 - }; 18 - }
···
-18
pkgs/desktops/xfce-4.8/panel-plugins/xfce4-systemload-plugin.nix
··· 1 - { stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4panel, libxfce4ui, gtk}: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "xfce4-systemload-plugin-1.1.1"; 5 - 6 - src = fetchurl { 7 - url = "http://archive.xfce.org/src/panel-plugins/xfce4-systemload-plugin/1.1/${name}.tar.bz2"; 8 - sha256 = "1bnrr30h6kgb37ixcq7frx2gvj2p99bpa1jyzppwjxp5x7xkxh8s"; 9 - }; 10 - 11 - buildInputs = [ pkgconfig intltool libxfce4util libxfce4ui xfce4panel gtk ]; 12 - 13 - meta = { 14 - homepage = http://www.xfce.org/; 15 - description = "System load panel plugin for Xfce"; 16 - platforms = stdenv.lib.platforms.linux; 17 - }; 18 - }
···
+2 -2
pkgs/desktops/xfce-4.8/support/gvfs.nix pkgs/desktops/xfce/support/gvfs.nix
··· 2 , libxml2, libxslt, docbook_xsl, libgphoto2, libtool }: 3 4 stdenv.mkDerivation rec { 5 - name = "gvfs-1.14.1"; 6 7 src = fetchurl { 8 url = "mirror://gnome/sources/gvfs/1.14/${name}.tar.xz"; 9 - sha256 = "0af86cd7ee7b6daca144776bdf12f2f30d3e18fdd70b4da58e1a68cea4f6716a"; 10 }; 11 12 buildInputs =
··· 2 , libxml2, libxslt, docbook_xsl, libgphoto2, libtool }: 3 4 stdenv.mkDerivation rec { 5 + name = "gvfs-1.14.2"; 6 7 src = fetchurl { 8 url = "mirror://gnome/sources/gvfs/1.14/${name}.tar.xz"; 9 + sha256 = "1g4ghyf45jg2ajdkv2d972hbckyjh3d9jdrppai85pl9pk2dmfy3"; 10 }; 11 12 buildInputs =
pkgs/desktops/xfce-4.8/support/libgdu-only.patch pkgs/desktops/xfce/support/libgdu-only.patch
pkgs/desktops/xfce-4.8/support/libgdu.nix pkgs/desktops/xfce/support/libgdu.nix
+25
pkgs/desktops/xfce/applications/gigolo.nix
···
··· 1 + { stdenv, fetchurl, python, gettext, intltool, pkgconfig, gtk, gvfs }: 2 + 3 + stdenv.mkDerivation rec { 4 + p_name = "gigolo"; 5 + ver_maj = "0.4"; 6 + ver_min = "1"; 7 + 8 + src = fetchurl { 9 + url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2"; 10 + sha256 = "1y8p9bbv1a4qgbxl4vn6zbag3gb7gl8qj75cmhgrrw9zrvqbbww2"; 11 + }; 12 + name = "${p_name}-${ver_maj}.${ver_min}"; 13 + 14 + buildInputs = [ python gettext intltool gtk pkgconfig gvfs]; 15 + 16 + preConfigure = '' 17 + sed -i "waf" -e "1 s^.*/env[ ]*python^#!${python}/bin/python^"; 18 + ''; 19 + 20 + meta = { 21 + homepage = "http://goodies.xfce.org/projects/applications/${p_name}"; 22 + description = "A frontend to easily manage connections to remote filesystems"; 23 + platforms = stdenv.lib.platforms.linux; 24 + }; 25 + }
+25
pkgs/desktops/xfce/applications/mousepad.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, intltool, libxfce4util, libxfcegui4 2 + , gtk, gtksourceview, dbus, dbus_glib }: 3 + 4 + stdenv.mkDerivation rec { 5 + p_name = "mousepad"; 6 + ver_maj = "0.3"; 7 + ver_min = "0"; 8 + 9 + src = fetchurl { 10 + url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2"; 11 + sha256 = "0v84zwhjv2xynvisn5vmp7dbxfj4l4258m82ks7hn3adk437bwhh"; 12 + }; 13 + name = "${p_name}-${ver_maj}.${ver_min}"; 14 + 15 + buildInputs = [ 16 + pkgconfig intltool libxfce4util libxfcegui4 17 + gtk gtksourceview dbus dbus_glib 18 + ]; 19 + 20 + meta = { 21 + homepage = http://www.xfce.org/; 22 + description = "A simple text editor for Xfce"; 23 + license = "GPLv2+"; 24 + }; 25 + }
+28
pkgs/desktops/xfce/applications/ristretto.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, intltool, libexif, gtk 2 + , exo, dbus_glib, libxfce4util, libxfce4ui, xfconf }: 3 + 4 + stdenv.mkDerivation rec { 5 + p_name = "ristretto"; 6 + ver_maj = "0.6"; 7 + ver_min = "3"; 8 + 9 + src = fetchurl { 10 + url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2"; 11 + sha256 = "0y9d8w1plwp4vmxs44y8k8x15i0k0xln89k6jndhv6lf57g1cs1b"; 12 + }; 13 + name = "${p_name}-${ver_maj}.${ver_min}"; 14 + 15 + buildInputs = 16 + [ pkgconfig intltool libexif gtk dbus_glib exo libxfce4util 17 + libxfce4ui xfconf 18 + ]; 19 + preFixup = "rm $out/share/icons/hicolor/icon-theme.cache"; 20 + 21 + meta = { 22 + homepage = "http://goodies.xfce.org/projects/applications/${p_name}"; 23 + description = "A fast and lightweight picture-viewer for the Xfce desktop environment"; 24 + license = "GPLv2+"; 25 + platforms = stdenv.lib.platforms.linux; 26 + maintainers = [ stdenv.lib.maintainers.eelco ]; 27 + }; 28 + }
+23
pkgs/desktops/xfce/applications/terminal.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, intltool, ncurses, gtk, vte, dbus_glib 2 + , exo, libxfce4util, libxfce4ui 3 + }: 4 + 5 + stdenv.mkDerivation rec { 6 + p_name = "xfce4-terminal"; 7 + ver_maj = "0.6"; 8 + ver_min = "1"; 9 + 10 + src = fetchurl { 11 + url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2"; 12 + sha256 = "1j6lpkq952mrl5p24y88f89wn9g0namvywhma639xxsswlkn8d31"; 13 + }; 14 + name = "${p_name}-${ver_maj}.${ver_min}"; 15 + 16 + buildInputs = [ pkgconfig intltool exo gtk vte libxfce4util ncurses dbus_glib libxfce4ui ]; 17 + 18 + meta = { 19 + homepage = http://www.xfce.org/projects/terminal; 20 + description = "A modern terminal emulator primarily for the Xfce desktop environment"; 21 + license = "GPLv2+"; 22 + }; 23 + }
+28
pkgs/desktops/xfce/applications/xfce4-notifyd.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, intltool 2 + , gtk , libxfce4util, libxfce4ui, xfconf }: 3 + 4 + stdenv.mkDerivation rec { 5 + p_name = "xfce4-notifyd"; 6 + ver_maj = "0.2"; 7 + ver_min = "2"; 8 + 9 + src = fetchurl { 10 + url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2"; 11 + sha256 = "0s4ilc36sl5k5mg5727rmqims1l3dy5pwg6dk93wyjqnqbgnhvmn"; 12 + }; 13 + name = "${p_name}-${ver_maj}.${ver_min}"; 14 + 15 + buildInputs = [ pkgconfig intltool gtk libxfce4util libxfce4ui xfconf ]; 16 + 17 + preFixup = '' 18 + rm $out/share/icons/hicolor/icon-theme.cache 19 + # to be able to run the daemon we need it in PATH 20 + cp -l $out/lib/xfce4/notifyd/xfce4-notifyd $out/bin 21 + ''; 22 + 23 + meta = { 24 + homepage = "http://goodies.xfce.org/projects/applications/${p_name}"; 25 + description = "Notification daemon for Xfce"; 26 + license = "GPLv2+"; 27 + }; 28 + }
+21
pkgs/desktops/xfce/applications/xfce4-taskmanager.nix
···
··· 1 + { stdenv, fetchurl, intltool, pkgconfig, gtk, libwnck }: 2 + 3 + stdenv.mkDerivation rec { 4 + p_name = "xfce4-taskmanager"; 5 + ver_maj = "1.0"; 6 + ver_min = "0"; 7 + 8 + src = fetchurl { 9 + url = "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2"; 10 + sha256 = "1vm9gw7j4ngjlpdhnwdf7ifx6xrrn21011almx2vwidhk2f9zvy0"; 11 + }; 12 + name = "${p_name}-${ver_maj}.${ver_min}"; 13 + 14 + buildInputs = [ intltool pkgconfig gtk libwnck ]; 15 + 16 + meta = { 17 + homepage = "http://goodies.xfce.org/projects/applications/${p_name}"; 18 + description = "Easy to use task manager for Xfce"; 19 + platforms = stdenv.lib.platforms.linux; 20 + }; 21 + }
+22
pkgs/desktops/xfce/art/xfce4-icon-theme.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, intltool, gtk }: 2 + 3 + stdenv.mkDerivation rec { 4 + p_name = "xfce4-icon-theme"; 5 + ver_maj = "4.4"; 6 + ver_min = "3"; 7 + 8 + src = fetchurl { 9 + url = "mirror://xfce/src/art/${p_name}/${ver_maj}/${name}.tar.bz2"; 10 + sha256 = "1yk6rx3zr9grm4jwpjvqdkl13pisy7qn1wm5cqzmd2kbsn96cy6l"; 11 + }; 12 + name = "${p_name}-${ver_maj}.${ver_min}"; 13 + 14 + buildInputs = [ pkgconfig intltool gtk ]; 15 + 16 + meta = { 17 + homepage = http://www.xfce.org/; 18 + description = "Icons for Xfce"; 19 + platforms = stdenv.lib.platforms.linux; 20 + maintainers = [ stdenv.lib.maintainers.eelco ]; 21 + }; 22 + }
+23
pkgs/desktops/xfce/core/exo.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, intltool, URI, glib, gtk, libxfce4ui, libxfce4util }: 2 + 3 + stdenv.mkDerivation rec { 4 + p_name = "exo"; 5 + ver_maj = "0.10"; 6 + ver_min = "2"; 7 + 8 + src = fetchurl { 9 + url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2"; 10 + sha256 = "1kknxiz703q4snmry65ajm26jwjslbgpzdal6bd090m3z25q51dk"; 11 + }; 12 + name = "${p_name}-${ver_maj}.${ver_min}"; 13 + 14 + buildInputs = [ pkgconfig intltool URI glib gtk libxfce4ui libxfce4util ]; 15 + 16 + preFixup = "rm $out/share/icons/hicolor/icon-theme.cache"; 17 + 18 + meta = { 19 + homepage = "http://www.xfce.org/projects/${p_name}"; 20 + description = "Application library for the Xfce desktop environment"; 21 + license = "GPLv2+"; 22 + }; 23 + }
+21
pkgs/desktops/xfce/core/garcon.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, intltool, glib, libxfce4util }: 2 + 3 + stdenv.mkDerivation rec { 4 + p_name = "garcon"; 5 + ver_maj = "0.2"; 6 + ver_min = "0"; 7 + 8 + src = fetchurl { 9 + url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2"; 10 + sha256 = "0v7pkvxcayi86z4f173z5l7w270f3g369sa88z59w0y0p7ns7ph2"; 11 + }; 12 + name = "${p_name}-${ver_maj}.${ver_min}"; 13 + 14 + buildInputs = [ pkgconfig intltool glib libxfce4util ]; 15 + 16 + meta = { 17 + homepage = http://www.xfce.org/; 18 + description = "Xfce menu support library"; 19 + license = "GPLv2+"; 20 + }; 21 + }
+24
pkgs/desktops/xfce/core/gtk-xfce-engine.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, intltool, gtk }: 2 + 3 + stdenv.mkDerivation rec { 4 + p_name = "gtk-xfce-engine"; 5 + ver_maj = "3.0"; 6 + ver_min = "1"; 7 + 8 + src = fetchurl { 9 + url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2"; 10 + sha256 = "0vd0ly81540f9133abza56mlqqx1swp0j70ll8kf948sva0wy0zb"; 11 + }; 12 + name = "${p_name}-${ver_maj}.${ver_min}"; 13 + 14 + #TODO: gtk3 15 + buildInputs = [ pkgconfig intltool gtk ]; 16 + 17 + meta = { 18 + homepage = http://www.xfce.org/; 19 + description = "GTK+ theme engine for Xfce"; 20 + license = "GPLv2+"; 21 + platforms = stdenv.lib.platforms.linux; 22 + maintainers = [ stdenv.lib.maintainers.eelco ]; 23 + }; 24 + }
+21
pkgs/desktops/xfce/core/libxfce4util.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, glib, intltool }: 2 + 3 + stdenv.mkDerivation rec { 4 + p_name = "libxfce4util"; 5 + ver_maj = "4.10"; 6 + ver_min = "0"; 7 + 8 + src = fetchurl { 9 + url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2"; 10 + sha256 = "13k0wwbbqvdmbj4xmk4nxdlgvrdgr5y6r3dk380mzfw053hzwy89"; 11 + }; 12 + name = "${p_name}-${ver_maj}.${ver_min}"; 13 + 14 + buildInputs = [ pkgconfig glib intltool ]; 15 + 16 + meta = { 17 + homepage = http://www.xfce.org/; 18 + description = "Basic utility non-GUI functions for Xfce"; 19 + license = "bsd"; 20 + }; 21 + }
+35
pkgs/desktops/xfce/core/libxfcegui4.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, intltool, gtk 2 + , libxfce4util, xfconf, libglade, libstartup_notification }: 3 + 4 + stdenv.mkDerivation rec { 5 + p_name = "libxfcegui4"; 6 + ver_maj = "4.10"; 7 + ver_min = "0"; 8 + 9 + src = fetchurl { 10 + url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2"; 11 + sha256 = "0cs5im0ib0cmr1lhr5765yliqjfyxvk4kwy8h1l8bn3mj6bzk0ib"; 12 + }; 13 + name = "${p_name}-${ver_maj}.${ver_min}"; 14 + 15 + #TODO: gladeui 16 + # By default, libxfcegui4 tries to install into libglade's prefix. 17 + # Install into our own prefix instead. 18 + preConfigure = 19 + '' 20 + configureFlags="--with-libglade-module-path=$out/lib/libglade/2.0" 21 + ''; 22 + #NOTE: missing keyboard library support is OK according to the mailing-list 23 + 24 + buildInputs = 25 + [ pkgconfig intltool gtk libxfce4util xfconf libglade 26 + libstartup_notification 27 + ]; 28 + preFixup = "rm $out/share/icons/hicolor/icon-theme.cache"; 29 + 30 + meta = { 31 + homepage = http://www.xfce.org/; 32 + description = "Basic GUI library for Xfce"; 33 + license = "LGPLv2+"; 34 + }; 35 + }
+30
pkgs/desktops/xfce/core/thunar-volman.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, intltool, exo, gtk, libxfce4util, libxfce4ui 2 + , xfconf, udev, libnotify }: 3 + 4 + stdenv.mkDerivation rec { 5 + p_name = "thunar-volman"; 6 + ver_maj = "0.8"; 7 + ver_min = "0"; 8 + 9 + src = fetchurl { 10 + url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2"; 11 + sha256 = "1sxw09fwyn5sr6ipxk7r8gqjyf41c2v7vkgl0l6mhy5mcb48f27z"; 12 + }; 13 + name = "${p_name}-${ver_maj}.${ver_min}"; 14 + 15 + buildInputs = 16 + [ pkgconfig intltool exo gtk udev libxfce4ui libxfce4util 17 + xfconf libnotify 18 + ]; 19 + preFixup = "rm $out/share/icons/hicolor/icon-theme.cache"; 20 + 21 + enableParallelBuilding = true; 22 + 23 + meta = { 24 + homepage = http://goodies.xfce.org/projects/thunar-plugins/thunar-volman; 25 + description = "Thunar extension for automatic management of removable drives and media"; 26 + license = "GPLv2+"; 27 + platforms = stdenv.lib.platforms.linux; 28 + maintainers = [ stdenv.lib.maintainers.eelco ]; 29 + }; 30 + }
+35
pkgs/desktops/xfce/core/thunar.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, intltool 2 + , gtk, dbus_glib, libstartup_notification, libnotify, libexif, pcre, udev 3 + , exo, libxfce4util, xfconf, xfce4panel 4 + }: 5 + 6 + stdenv.mkDerivation rec { 7 + p_name = "thunar"; 8 + ver_maj = "1.6"; 9 + ver_min = "2"; 10 + 11 + src = fetchurl { 12 + url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/Thunar-${ver_maj}.${ver_min}.tar.bz2"; 13 + sha256 = "11dx38rvkfbp91pxrprymxhimsm90gvizp277x9s5rwnwcm1ggbx"; 14 + }; 15 + name = "${p_name}-${ver_maj}.${ver_min}"; 16 + 17 + buildInputs = [ 18 + pkgconfig intltool 19 + gtk dbus_glib libstartup_notification libnotify libexif pcre udev 20 + exo libxfce4util xfconf xfce4panel 21 + ]; 22 + # TODO: optionality? 23 + 24 + enableParallelBuilding = true; 25 + 26 + preFixup = "rm $out/share/icons/hicolor/icon-theme.cache"; 27 + 28 + meta = { 29 + homepage = http://thunar.xfce.org/; 30 + description = "Xfce file manager"; 31 + license = "GPLv2+"; 32 + platforms = stdenv.lib.platforms.linux; 33 + maintainers = [ stdenv.lib.maintainers.eelco ]; 34 + }; 35 + }
+21
pkgs/desktops/xfce/core/tumbler.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, intltool, dbus_glib, gdk_pixbuf }: 2 + 3 + stdenv.mkDerivation rec { 4 + p_name = "tumbler"; 5 + ver_maj = "0.1"; 6 + ver_min = "27"; 7 + 8 + src = fetchurl { 9 + url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2"; 10 + sha256 = "0s9qj99b81asmlqa823nzykq8g6p9azcp2niak67y9bp52wv6q2c"; 11 + }; 12 + name = "${p_name}-${ver_maj}.${ver_min}"; 13 + 14 + buildInputs = [ pkgconfig intltool dbus_glib gdk_pixbuf ]; 15 + 16 + meta = { 17 + homepage = http://git.xfce.org/xfce/tumbler/; 18 + description = "A D-Bus thumbnailer service"; 19 + license = "GPLv2"; 20 + }; 21 + }
+20
pkgs/desktops/xfce/core/xfce-utils.nix
···
··· 1 + { v, h, stdenv, fetchXfce, pkgconfig, intltool, gtk, libxfce4util, libxfce4ui, dbus_glib }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "xfce-utils-${v}"; 5 + src = fetchXfce.core name h; 6 + 7 + configureFlags = "--with-xsession-prefix=$(out)/share/xsessions --with-vendor-info=NixOS.org"; 8 + 9 + buildInputs = [ pkgconfig intltool gtk libxfce4util libxfce4ui dbus_glib ]; 10 + 11 + preFixup = "rm $out/share/icons/hicolor/icon-theme.cache"; 12 + 13 + meta = { 14 + homepage = http://www.xfce.org/projects/xfce-utils; 15 + description = "Utilities and scripts for Xfce"; 16 + license = "GPLv2+"; 17 + platforms = stdenv.lib.platforms.linux; 18 + maintainers = [ stdenv.lib.maintainers.eelco ]; 19 + }; 20 + }
+27
pkgs/desktops/xfce/core/xfce4-appfinder.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, intltool, glib, gtk, libxfce4util 2 + , libxfce4ui, garcon, xfconf }: 3 + 4 + stdenv.mkDerivation rec { 5 + p_name = "xfce4-appfinder"; 6 + ver_maj = "4.9"; # no 4.10 (stable) release yet 7 + ver_min = "4"; 8 + 9 + src = fetchurl { 10 + url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2"; 11 + sha256 = "12lgrbd1n50w9n8xkpai98s2aw8vmjasrgypc57sp0x0qafsqaxq"; 12 + }; 13 + name = "${p_name}-${ver_maj}.${ver_min}"; 14 + 15 + buildInputs = 16 + [ pkgconfig intltool glib gtk libxfce4util libxfce4ui garcon xfconf ]; 17 + 18 + enableParallelBuilding = true; 19 + 20 + meta = { 21 + homepage = http://docs.xfce.org/xfce/xfce4-appfinder/; 22 + description = "Xfce application finder, a tool to locate and launch programs on your system"; 23 + license = "GPLv2+"; 24 + platforms = stdenv.lib.platforms.linux; 25 + maintainers = [ stdenv.lib.maintainers.eelco ]; 26 + }; 27 + }
+35
pkgs/desktops/xfce/core/xfce4-panel.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, libxfce4ui 2 + , libwnck, exo, garcon, xfconf, libstartup_notification }: 3 + 4 + stdenv.mkDerivation rec { 5 + p_name = "xfce4-panel"; 6 + ver_maj = "4.10"; 7 + ver_min = "0"; 8 + 9 + src = fetchurl { 10 + url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2"; 11 + sha256 = "1f8903nx6ivzircl8d8s9zna4vjgfy0qhjk5d2x19g9bmycgj89k"; 12 + }; 13 + name = "${p_name}-${ver_maj}.${ver_min}"; 14 + 15 + patches = [ ./xfce4-panel-datadir.patch ]; 16 + patchFlags = "-p1"; 17 + 18 + buildInputs = 19 + [ pkgconfig intltool gtk libxfce4util exo libwnck 20 + garcon xfconf libstartup_notification 21 + ]; 22 + propagatedBuildInputs = [ libxfce4ui ]; 23 + 24 + preFixup = "rm $out/share/icons/hicolor/icon-theme.cache"; 25 + 26 + enableParallelBuilding = true; 27 + 28 + meta = { 29 + homepage = http://www.xfce.org/projects/xfce4-panel; 30 + description = "Xfce panel"; 31 + license = "GPLv2+"; 32 + platforms = stdenv.lib.platforms.linux; 33 + maintainers = [ stdenv.lib.maintainers.eelco ]; 34 + }; 35 + }
+33
pkgs/desktops/xfce/core/xfce4-session.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, libxfce4ui, xfce4panel 2 + , libwnck, dbus_glib, xfconf, libglade, xorg }: 3 + 4 + #TODO: gnome stuff: gconf (assistive?), keyring 5 + 6 + stdenv.mkDerivation rec { 7 + p_name = "xfce4-session"; 8 + ver_maj = "4.10"; 9 + ver_min = "0"; 10 + 11 + src = fetchurl { 12 + url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2"; 13 + sha256 = "1kj65jkjhd0ysf0yxsf88wzpyv6n8i8qgd3gb502hf1x9jksk2mv"; 14 + }; 15 + name = "${p_name}-${ver_maj}.${ver_min}"; 16 + 17 + buildInputs = 18 + [ pkgconfig intltool gtk libxfce4util libxfce4ui libwnck dbus_glib 19 + xfconf xfce4panel libglade xorg.iceauth 20 + ]; 21 + 22 + configureFlags = [ "--with-xsession-prefix=$$out" ]; 23 + 24 + preFixup = "rm $out/share/icons/hicolor/icon-theme.cache"; 25 + 26 + meta = { 27 + homepage = http://www.xfce.org/projects/xfce4-session; 28 + description = "Session manager for Xfce"; 29 + license = "GPLv2+"; 30 + platforms = stdenv.lib.platforms.linux; 31 + maintainers = [ stdenv.lib.maintainers.eelco ]; 32 + }; 33 + }
+31
pkgs/desktops/xfce/core/xfce4-settings.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, intltool, exo, gtk, libxfce4util, libxfce4ui 2 + , libglade, xfconf, xorg, libwnck, libnotify, libxklavier, garcon }: 3 + 4 + #TODO: optional packages 5 + stdenv.mkDerivation rec { 6 + p_name = "xfce4-settings"; 7 + ver_maj = "4.10"; 8 + ver_min = "0"; 9 + 10 + src = fetchurl { 11 + url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2"; 12 + sha256 = "0zppq747z9lrxyv5zrrvpalq7hb3gfhy9p7qbldisgv7m6dz0hq8"; 13 + }; 14 + name = "${p_name}-${ver_maj}.${ver_min}"; 15 + 16 + buildInputs = 17 + [ pkgconfig intltool exo gtk libxfce4util libxfce4ui libglade 18 + xfconf xorg.libXi xorg.libXcursor libwnck libnotify libxklavier garcon 19 + #gtk libxfce4util libxfcegui4 libwnck dbus_glib 20 + #xfconf libglade xorg.iceauth 21 + ]; 22 + configureFlags = "--enable-pluggable-dialogs --enable-sound-settings"; 23 + 24 + meta = { 25 + homepage = http://www.xfce.org/projects/xfce4-settings; 26 + description = "Settings manager for Xfce"; 27 + license = "GPLv2+"; 28 + platforms = stdenv.lib.platforms.linux; 29 + maintainers = [ stdenv.lib.maintainers.eelco ]; 30 + }; 31 + }
+23
pkgs/desktops/xfce/core/xfconf.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, intltool, glib, libxfce4util, dbus_glib }: 2 + 3 + stdenv.mkDerivation rec { 4 + p_name = "xfconf"; 5 + ver_maj = "4.10"; 6 + ver_min = "0"; 7 + 8 + src = fetchurl { 9 + url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2"; 10 + sha256 = "0xh520z0qh0ib0ijgnyrgii9h5d4pc53n6mx1chhyzfc86j1jlhp"; 11 + }; 12 + name = "${p_name}-${ver_maj}.${ver_min}"; 13 + 14 + #TODO: no perl bingings yet (ExtUtils::Depends, ExtUtils::PkgConfig, Glib) 15 + buildInputs = [ pkgconfig intltool glib libxfce4util ]; 16 + propagatedBuildInputs = [ dbus_glib ]; 17 + 18 + meta = { 19 + homepage = http://docs.xfce.org/xfce/xfconf/start; 20 + description = "Simple client-server configuration storage and query system for Xfce"; 21 + license = "GPLv2"; 22 + }; 23 + }
+30
pkgs/desktops/xfce/core/xfdesktop.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, libxfce4ui 2 + , libwnck, xfconf, libglade, xfce4panel, thunar, exo, garcon, libnotify }: 3 + 4 + stdenv.mkDerivation rec { 5 + p_name = "xfdesktop"; 6 + ver_maj = "4.10"; 7 + ver_min = "0"; 8 + 9 + src = fetchurl { 10 + url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2"; 11 + sha256 = "0yrddj1lgk3xn4w340y89z7x2isks72ia36pka08kk2x8gpfcyl9"; 12 + }; 13 + name = "${p_name}-${ver_maj}.${ver_min}"; 14 + 15 + buildInputs = 16 + [ pkgconfig intltool gtk libxfce4util libxfce4ui libwnck xfconf 17 + libglade xfce4panel thunar exo garcon libnotify 18 + ]; 19 + preFixup = "rm $out/share/icons/hicolor/icon-theme.cache"; 20 + 21 + enableParallelBuilding = true; 22 + 23 + meta = { 24 + homepage = http://www.xfce.org/projects/xfdesktop; 25 + description = "Xfce desktop manager"; 26 + license = "GPLv2+"; 27 + platforms = stdenv.lib.platforms.linux; 28 + maintainers = [ stdenv.lib.maintainers.eelco ]; 29 + }; 30 + }
+31
pkgs/desktops/xfce/core/xfwm4.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, gtk, intltool, libglade, libxfce4util 2 + , libxfce4ui, xfconf, libwnck, libstartup_notification, xorg }: 3 + 4 + stdenv.mkDerivation rec { 5 + p_name = "xfwm4"; 6 + ver_maj = "4.10"; 7 + ver_min = "0"; 8 + 9 + src = fetchurl { 10 + url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2"; 11 + sha256 = "170zzs7adj47srsi2cl723w9pl8k8awd7w1bpzxby7hj92zmf8s9"; 12 + }; 13 + name = "${p_name}-${ver_maj}.${ver_min}"; 14 + 15 + #TODO: kde systray, docs 16 + buildInputs = 17 + [ pkgconfig intltool gtk libglade libxfce4util libxfce4ui xfconf 18 + libwnck libstartup_notification 19 + xorg.libXcomposite xorg.libXfixes xorg.libXdamage 20 + ]; 21 + 22 + enableParallelBuilding = true; 23 + 24 + meta = { 25 + homepage = http://www.xfce.org/projects/xfwm4; 26 + description = "Window manager for Xfce"; 27 + license = "GPLv2+"; 28 + platforms = stdenv.lib.platforms.linux; 29 + maintainers = [ stdenv.lib.maintainers.eelco ]; 30 + }; 31 + }
+71
pkgs/desktops/xfce/default.nix
···
··· 1 + { pkgs, newScope }: let 2 + 3 + callPackage = newScope (deps // xfce_self); 4 + 5 + deps = rec { # xfce-global dependency overrides should be here 6 + inherit (pkgs.gnome) libglade libwnck vte gtksourceview; 7 + inherit (pkgs.perlPackages) URI; 8 + 9 + # The useful bits from ‘gnome-disk-utility’. 10 + libgdu = callPackage ./support/libgdu.nix { }; 11 + 12 + # Gvfs is required by Thunar for the trash feature and for volume 13 + # mounting. Should use the one from Gnome, but I don't want to mess 14 + # with the Gnome packages (or pull in a zillion Gnome dependencies). 15 + gvfs = callPackage ./support/gvfs.nix { }; 16 + }; 17 + 18 + xfce_self = rec { # the lines are very long but it seems better than the even-odd line approach 19 + 20 + #### CORE from "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2" 21 + 22 + exo = callPackage ./core/exo.nix { }; 23 + garcon = callPackage ./core/garcon.nix { }; 24 + gtk_xfce_engine = callPackage ./core/gtk-xfce-engine.nix { }; # ToDo: when should be used? 25 + libxfce4ui = callPackage ./core/libxfce4ui.nix { }; 26 + libxfce4util = callPackage ./core/libxfce4util.nix { }; 27 + libxfcegui4 = callPackage ./core/libxfcegui4.nix { }; 28 + thunar = callPackage ./core/thunar.nix { }; 29 + thunar_volman = callPackage ./core/thunar-volman.nix { }; # ToDo: probably inside Thunar now 30 + tumbler = callPackage ./core/tumbler.nix { }; # ToDo: segfaults after some work 31 + xfce4panel = callPackage ./core/xfce4-panel.nix { }; # ToDo: impure plugins from /run/current-system/sw/lib/xfce4 32 + xfce4session = callPackage ./core/xfce4-session.nix { }; 33 + xfce4settings = callPackage ./core/xfce4-settings.nix { }; 34 + xfce4_power_manager = callPackage ./core/xfce4-power-manager.nix { }; 35 + xfceutils = null; # removed in 4.10 36 + xfconf = callPackage ./core/xfconf.nix { }; 37 + xfdesktop = callPackage ./core/xfdesktop.nix { }; 38 + xfwm4 = callPackage ./core/xfwm4.nix { }; 39 + 40 + xfce4_appfinder = callPackage ./core/xfce4-appfinder.nix { }; 41 + 42 + 43 + #### APPLICATIONS from "mirror://xfce/src/apps/${p_name}/${ver_maj}/${name}.tar.bz2" 44 + 45 + gigolo = callPackage ./applications/gigolo.nix { }; 46 + mousepad = callPackage ./applications/mousepad.nix { }; 47 + ristretto = callPackage ./applications/ristretto.nix { }; 48 + terminal = xfce4terminal; # it has changed its name 49 + xfce4mixer = callPackage ./applications/xfce4-mixer.nix { }; 50 + xfce4notifyd = callPackage ./applications/xfce4-notifyd.nix { }; 51 + xfce4taskmanager= callPackage ./applications/xfce4-taskmanager.nix { }; 52 + xfce4terminal = callPackage ./applications/terminal.nix { }; 53 + 54 + 55 + #### ART from "mirror://xfce/src/art/${p_name}/${ver_maj}/${name}.tar.bz2" 56 + 57 + xfce4icontheme = callPackage ./art/xfce4-icon-theme.nix { }; 58 + 59 + 60 + #### PANEL PLUGINS from "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2" 61 + 62 + xfce4_systemload_plugin = callPackage ./panel-plugins/xfce4-systemload-plugin.nix { }; 63 + xfce4_cpufreq_plugin = callPackage ./panel-plugins/xfce4-cpufreq-plugin.nix { }; 64 + 65 + }; # xfce_self 66 + 67 + in xfce_self 68 + 69 + 70 + 71 +
+22
pkgs/desktops/xfce/panel-plugins/xfce4-cpufreq-plugin.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4panel, libxfce4ui, libxfcegui4, xfconf, gtk}: 2 + 3 + stdenv.mkDerivation rec { 4 + p_name = "xfce4-cpufreq-plugin"; 5 + ver_maj = "1.0"; 6 + ver_min = "0"; 7 + 8 + src = fetchurl { 9 + url = "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2"; 10 + sha256 = "0q2lj8a25iq9w3dynh6qvsmh19y1v7i82g46yza6gvw7fjcrmcz1"; 11 + }; 12 + name = "${p_name}-${ver_maj}.${ver_min}"; 13 + 14 + buildInputs = [ pkgconfig intltool libxfce4util libxfce4ui xfce4panel libxfcegui4 xfconf gtk ]; 15 + preFixup = "rm $out/share/icons/hicolor/icon-theme.cache"; 16 + 17 + meta = { 18 + homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}"; 19 + description = "CPU Freq load plugin for Xfce panel"; 20 + platforms = stdenv.lib.platforms.linux; 21 + }; 22 + }
+21
pkgs/desktops/xfce/panel-plugins/xfce4-systemload-plugin.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, intltool, libxfce4util, xfce4panel, libxfce4ui, gtk}: 2 + 3 + stdenv.mkDerivation rec { 4 + p_name = "xfce4-systemload-plugin"; 5 + ver_maj = "1.1"; 6 + ver_min = "1"; 7 + 8 + src = fetchurl { 9 + url = "mirror://xfce/src/panel-plugins/${p_name}/${ver_maj}/${name}.tar.bz2"; 10 + sha256 = "1bnrr30h6kgb37ixcq7frx2gvj2p99bpa1jyzppwjxp5x7xkxh8s"; 11 + }; 12 + name = "${p_name}-${ver_maj}.${ver_min}"; 13 + 14 + buildInputs = [ pkgconfig intltool libxfce4util libxfce4ui xfce4panel gtk ]; 15 + 16 + meta = { 17 + homepage = "http://goodies.xfce.org/projects/panel-plugins/${p_name}"; 18 + description = "System load plugin for Xfce panel"; 19 + platforms = stdenv.lib.platforms.linux; 20 + }; 21 + }
+143
pkgs/development/libraries/libunique/1.1.6-G_CONST_RETURN.patch
···
··· 1 + From 557b0e5045c9eadb556ce11e16965cf0d0787438 Mon Sep 17 00:00:00 2001 2 + From: Stef Walter <stefw@collabora.co.uk> 3 + Date: Tue, 14 Jun 2011 12:33:45 +0100 4 + Subject: [PATCH] Remove G_CONST_RETURN usage, now that its gone in glib. 5 + 6 + https://bugzilla.gnome.org/show_bug.cgi?id=652545 7 + 8 + [Alexandre Rostovtsev <tetromino@gmail.com>: backported to unique-1.1] 9 + --- 10 + unique/uniqueapp.c | 4 ++-- 11 + unique/uniquebackend.c | 4 ++-- 12 + unique/uniquebackend.h | 4 ++-- 13 + unique/uniqueinternals.h | 4 ++-- 14 + unique/uniquemessage.c | 4 ++-- 15 + unique/uniquemessage.h | 4 ++-- 16 + 6 files changed, 12 insertions(+), 12 deletions(-) 17 + 18 + diff --git a/unique/uniqueapp.c b/unique/uniqueapp.c 19 + index b40a86c..e8edc94 100644 20 + --- a/unique/uniqueapp.c 21 + +++ b/unique/uniqueapp.c 22 + @@ -781,7 +781,7 @@ unique_app_watch_window (UniqueApp *app, 23 + } 24 + 25 + 26 + -G_CONST_RETURN gchar * 27 + +const gchar * 28 + unique_command_to_string (UniqueApp *app, 29 + gint command) 30 + { 31 + @@ -863,7 +863,7 @@ unique_command_from_string (UniqueApp *app, 32 + return retval; 33 + } 34 + 35 + -G_CONST_RETURN gchar * 36 + +const gchar * 37 + unique_response_to_string (UniqueResponse response) 38 + { 39 + GEnumClass *enum_class; 40 + diff --git a/unique/uniquebackend.c b/unique/uniquebackend.c 41 + index a76e42e..68e2735 100644 42 + --- a/unique/uniquebackend.c 43 + +++ b/unique/uniquebackend.c 44 + @@ -111,7 +111,7 @@ unique_backend_set_name (UniqueBackend *backend, 45 + * 46 + * Return value: FIXME 47 + */ 48 + -G_CONST_RETURN gchar * 49 + +const gchar * 50 + unique_backend_get_name (UniqueBackend *backend) 51 + { 52 + g_return_val_if_fail (UNIQUE_IS_BACKEND (backend), NULL); 53 + @@ -154,7 +154,7 @@ unique_backend_set_startup_id (UniqueBackend *backend, 54 + * 55 + * Return value: FIXME 56 + */ 57 + -G_CONST_RETURN gchar * 58 + +const gchar * 59 + unique_backend_get_startup_id (UniqueBackend *backend) 60 + { 61 + g_return_val_if_fail (UNIQUE_IS_BACKEND (backend), NULL); 62 + diff --git a/unique/uniquebackend.h b/unique/uniquebackend.h 63 + index a50ce4e..b19ad3e 100644 64 + --- a/unique/uniquebackend.h 65 + +++ b/unique/uniquebackend.h 66 + @@ -94,10 +94,10 @@ GType unique_backend_get_type (void) G_GNUC_CONST; 67 + 68 + UniqueBackend * unique_backend_create (void); 69 + 70 + -G_CONST_RETURN gchar *unique_backend_get_name (UniqueBackend *backend); 71 + +const gchar * unique_backend_get_name (UniqueBackend *backend); 72 + void unique_backend_set_name (UniqueBackend *backend, 73 + const gchar *name); 74 + -G_CONST_RETURN gchar *unique_backend_get_startup_id (UniqueBackend *backend); 75 + +const gchar * unique_backend_get_startup_id (UniqueBackend *backend); 76 + void unique_backend_set_startup_id (UniqueBackend *backend, 77 + const gchar *startup_id); 78 + GdkScreen * unique_backend_get_screen (UniqueBackend *backend); 79 + diff --git a/unique/uniqueinternals.h b/unique/uniqueinternals.h 80 + index 3cec152..ccae0cd 100644 81 + --- a/unique/uniqueinternals.h 82 + +++ b/unique/uniqueinternals.h 83 + @@ -44,11 +44,11 @@ UniqueResponse unique_app_emit_message_received (UniqueApp *app, 84 + * and then back into an id 85 + */ 86 + UniqueResponse unique_response_from_string (const gchar *response); 87 + -G_CONST_RETURN gchar *unique_response_to_string (UniqueResponse response); 88 + +const gchar * unique_response_to_string (UniqueResponse response); 89 + 90 + gint unique_command_from_string (UniqueApp *app, 91 + const gchar *command); 92 + -G_CONST_RETURN gchar *unique_command_to_string (UniqueApp *app, 93 + +const gchar * unique_command_to_string (UniqueApp *app, 94 + gint command); 95 + 96 + G_END_DECLS 97 + diff --git a/unique/uniquemessage.c b/unique/uniquemessage.c 98 + index c74392d..2b2a9fc 100644 99 + --- a/unique/uniquemessage.c 100 + +++ b/unique/uniquemessage.c 101 + @@ -185,7 +185,7 @@ unique_message_data_set (UniqueMessageData *message_data, 102 + * 103 + * Since: 1.0.2 104 + */ 105 + -G_CONST_RETURN guchar * 106 + +const guchar * 107 + unique_message_data_get (UniqueMessageData *message_data, 108 + gsize *length) 109 + { 110 + @@ -525,7 +525,7 @@ unique_message_data_get_screen (UniqueMessageData *message_data) 111 + * owned by the #UniqueMessageData structure and should not be 112 + * modified or freed 113 + */ 114 + -G_CONST_RETURN gchar * 115 + +const gchar * 116 + unique_message_data_get_startup_id (UniqueMessageData *message_data) 117 + { 118 + g_return_val_if_fail (message_data != NULL, NULL); 119 + diff --git a/unique/uniquemessage.h b/unique/uniquemessage.h 120 + index d3e9c3c..93eee21 100644 121 + --- a/unique/uniquemessage.h 122 + +++ b/unique/uniquemessage.h 123 + @@ -48,7 +48,7 @@ void unique_message_data_free (UniqueMessageData *me 124 + void unique_message_data_set (UniqueMessageData *message_data, 125 + const guchar *data, 126 + gsize length); 127 + -G_CONST_RETURN guchar *unique_message_data_get (UniqueMessageData *message_data, 128 + +const guchar * unique_message_data_get (UniqueMessageData *message_data, 129 + gsize *length); 130 + 131 + gboolean unique_message_data_set_text (UniqueMessageData *message_data, 132 + @@ -63,7 +63,7 @@ void unique_message_data_set_filename (UniqueMessageData *me 133 + gchar * unique_message_data_get_filename (UniqueMessageData *message_data); 134 + 135 + GdkScreen * unique_message_data_get_screen (UniqueMessageData *message_data); 136 + -G_CONST_RETURN gchar * unique_message_data_get_startup_id (UniqueMessageData *message_data); 137 + +const gchar * unique_message_data_get_startup_id (UniqueMessageData *message_data); 138 + guint unique_message_data_get_workspace (UniqueMessageData *message_data); 139 + 140 + G_END_DECLS 141 + -- 142 + 1.7.6 143 +
+50
pkgs/development/libraries/libunique/1.1.6-compiler-warnings.patch
···
··· 1 + From 9df132a70d54b768a8e1d0335d24b85ac9b3fb76 Mon Sep 17 00:00:00 2001 2 + From: Emmanuele Bassi <ebassi@linux.intel.com> 3 + Date: Sun, 27 Mar 2011 08:42:22 +0000 4 + Subject: Remove compiler warnings 5 + 6 + (cherry picked from commit f791ed16b19dddc7fbaf90d8f797520e67883021) 7 + 8 + Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com> 9 + --- 10 + diff --git a/unique/dbus/uniquebackend-dbus.c b/unique/dbus/uniquebackend-dbus.c 11 + index 3ae1bed..69faa00 100644 12 + --- a/unique/dbus/uniquebackend-dbus.c 13 + +++ b/unique/dbus/uniquebackend-dbus.c 14 + @@ -84,7 +84,6 @@ unique_backend_dbus_register_proxy (UniqueBackendDBus *backend_dbus) 15 + static gboolean 16 + unique_backend_dbus_request_name (UniqueBackend *backend) 17 + { 18 + - UniqueBackendDBus *backend_dbus; 19 + const gchar *name; 20 + DBusGConnection *connection; 21 + DBusGProxy *proxy; 22 + @@ -97,8 +96,6 @@ unique_backend_dbus_request_name (UniqueBackend *backend) 23 + if (!connection) 24 + return FALSE; 25 + 26 + - backend_dbus = UNIQUE_BACKEND_DBUS (backend); 27 + - 28 + retval = TRUE; 29 + name = unique_backend_get_name (backend); 30 + g_assert (name != NULL); 31 + @@ -207,10 +204,14 @@ unique_backend_dbus_send_message (UniqueBackend *backend, 32 + cmd, data, time_, 33 + &resp, 34 + &error); 35 + - if (error) 36 + + if (!res) 37 + { 38 + - g_warning ("Error while sending message: %s", error->message); 39 + - g_error_free (error); 40 + + if (error) 41 + + { 42 + + g_warning ("Error while sending message: %s", error->message); 43 + + g_error_free (error); 44 + + } 45 + + 46 + g_free (cmd); 47 + 48 + return UNIQUE_RESPONSE_INVALID; 49 + -- 50 + cgit v0.9
+26
pkgs/development/libraries/libunique/1.1.6-fix-test.patch
···
··· 1 + From caf736f4b84808393b0d7030ae6128a3322a71e2 Mon Sep 17 00:00:00 2001 2 + From: Tobias Mueller <tobiasmue@gnome.org> 3 + Date: Mon, 12 Apr 2010 13:01:42 +0000 4 + Subject: test-unique: Resolve format string issues 5 + 6 + Provide a proper literal format string to not expose potential vulnerabilites. 7 + Fixes bug 615522. 8 + --- 9 + diff --git a/tests/test-unique.c b/tests/test-unique.c 10 + index b7cde45..c9958c9 100644 11 + --- a/tests/test-unique.c 12 + +++ b/tests/test-unique.c 13 + @@ -82,9 +82,11 @@ app_message_cb (UniqueApp *app, 14 + GTK_DIALOG_DESTROY_WITH_PARENT, 15 + GTK_MESSAGE_INFO, 16 + GTK_BUTTONS_CLOSE, 17 + + "%s", 18 + title); 19 + if (message) 20 + gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), 21 + + "%s", 22 + message); 23 + 24 + gtk_window_set_urgency_hint (GTK_WINDOW (dialog), TRUE); 25 + -- 26 + cgit v0.9
+37
pkgs/development/libraries/libunique/1.1.6-include-terminator.patch
···
··· 1 + From 30ca2903a8ed4eed974ea744e4b9bd96198c425d Mon Sep 17 00:00:00 2001 2 + From: Rodney Lorrimar <r.lorrimar@fugro-fsi.com.au> 3 + Date: Mon, 21 Dec 2009 02:07:46 +0000 4 + Subject: Include NUL terminator in unique_message_data_get_filename() 5 + 6 + https://bugzilla.gnome.org/show_bug.cgi?id=605104 7 + 8 + Signed-off-by: Emmanuele Bassi <ebassi@gnome.org> 9 + --- 10 + diff --git a/unique/uniqueinternals.h b/unique/uniqueinternals.h 11 + index ace40ed..3cec152 100644 12 + --- a/unique/uniqueinternals.h 13 + +++ b/unique/uniqueinternals.h 14 + @@ -13,7 +13,7 @@ G_BEGIN_DECLS 15 + struct _UniqueMessageData 16 + { 17 + guchar *data; 18 + - gint length; 19 + + gint length; /* length of data not including NUL terminator */ 20 + 21 + GdkScreen *screen; 22 + gchar *startup_id; 23 + diff --git a/unique/uniquemessage.c b/unique/uniquemessage.c 24 + index 10f6df5..c74392d 100644 25 + --- a/unique/uniquemessage.c 26 + +++ b/unique/uniquemessage.c 27 + @@ -493,7 +493,7 @@ unique_message_data_get_filename (UniqueMessageData *message_data) 28 + { 29 + g_return_val_if_fail (message_data != NULL, NULL); 30 + 31 + - return g_memdup (message_data->data, message_data->length); 32 + + return g_memdup (message_data->data, message_data->length + 1); 33 + } 34 + 35 + /** 36 + -- 37 + cgit v0.9
+31
pkgs/development/libraries/libunique/default.nix
···
··· 1 + { stdenv, fetchurl, pkgconfig, glib, gtk, dbus_glib }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "libunique-1.1.6"; 5 + src = fetchurl { 6 + url = "mirror://gnome/sources/libunique/1.1/${name}.tar.bz2"; 7 + sha256 = "1fsgvmncd9caw552lyfg8swmsd6bh4ijjsph69bwacwfxwf09j75"; 8 + }; 9 + 10 + # patches from Gentoo portage 11 + patches = [ 12 + ./1.1.6-compiler-warnings.patch 13 + ./1.1.6-fix-test.patch 14 + ./1.1.6-G_CONST_RETURN.patch 15 + ./1.1.6-include-terminator.patch 16 + ]; 17 + 18 + buildInputs = [ pkgconfig glib gtk dbus_glib ]; 19 + 20 + # don't make deprecated usages hard errors 21 + preBuildPhases = "preBuild"; 22 + preBuild = ''substituteInPlace unique/dbus/Makefile --replace -Werror ""''; 23 + 24 + doCheck = true; 25 + 26 + meta = { 27 + homepage = http://live.gnome.org/LibUnique; 28 + description = "A library for writing single instance applications"; 29 + license = "LGPLv2.1"; 30 + }; 31 + }
+4 -6
pkgs/top-level/all-packages.nix
··· 4491 4492 libungif = callPackage ../development/libraries/giflib/libungif.nix { }; 4493 4494 libusb = callPackage ../development/libraries/libusb { }; 4495 4496 libusb1 = callPackage ../development/libraries/libusb1 { }; ··· 8591 8592 oxygen_gtk = callPackage ../misc/themes/gtk2/oxygen-gtk { }; 8593 8594 - xfce = xfce48; 8595 - 8596 - xfce48 = recurseIntoAttrs 8597 - (let callPackage = newScope pkgs.xfce48; in 8598 - import ../desktops/xfce-4.8 { inherit callPackage pkgs; }); 8599 - 8600 8601 ### SCIENCE 8602
··· 4491 4492 libungif = callPackage ../development/libraries/giflib/libungif.nix { }; 4493 4494 + libunique = callPackage ../development/libraries/libunique/default.nix { }; 4495 + 4496 libusb = callPackage ../development/libraries/libusb { }; 4497 4498 libusb1 = callPackage ../development/libraries/libusb1 { }; ··· 8593 8594 oxygen_gtk = callPackage ../misc/themes/gtk2/oxygen-gtk { }; 8595 8596 + xfce = xfce4_10; 8597 + xfce4_10 = recurseIntoAttrs (import ../desktops/xfce { inherit pkgs newScope; }); 8598 8599 ### SCIENCE 8600
-1
pkgs/top-level/release.nix
··· 457 xfce4panel = linux; 458 xfce4session = linux; 459 xfce4settings = linux; 460 - xfceutils = linux; 461 xfdesktop = linux; 462 xfwm4 = linux; 463 };
··· 457 xfce4panel = linux; 458 xfce4session = linux; 459 xfce4settings = linux; 460 xfdesktop = linux; 461 xfwm4 = linux; 462 };