2021-01-11 08:54:33 +01:00
|
|
|
|
{ lib, stdenv
|
2021-01-05 04:54:04 +01:00
|
|
|
|
, fetchFromGitHub
|
|
|
|
|
, cmake
|
|
|
|
|
, pkg-config
|
|
|
|
|
, perl
|
|
|
|
|
, asciidoc
|
|
|
|
|
, expat
|
|
|
|
|
, fontconfig
|
|
|
|
|
, freetype
|
|
|
|
|
, fribidi
|
|
|
|
|
, gdk-pixbuf
|
|
|
|
|
, gdk-pixbuf-xlib
|
|
|
|
|
, gettext
|
|
|
|
|
, glib
|
|
|
|
|
, imlib2
|
|
|
|
|
, libICE
|
|
|
|
|
, libSM
|
|
|
|
|
, libX11
|
|
|
|
|
, libXcomposite
|
|
|
|
|
, libXdamage
|
|
|
|
|
, libXdmcp
|
|
|
|
|
, libXext
|
|
|
|
|
, libXfixes
|
|
|
|
|
, libXft
|
|
|
|
|
, libXinerama
|
|
|
|
|
, libXpm
|
|
|
|
|
, libXrandr
|
|
|
|
|
, libjpeg
|
|
|
|
|
, libpng
|
|
|
|
|
, libpthreadstubs
|
|
|
|
|
, libsndfile
|
|
|
|
|
, libtiff
|
|
|
|
|
, libungif
|
|
|
|
|
, libxcb
|
|
|
|
|
, mkfontdir
|
|
|
|
|
, pcre
|
|
|
|
|
}:
|
2009-10-28 15:06:56 +01:00
|
|
|
|
|
2010-01-05 23:48:10 +01:00
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
|
pname = "icewm";
|
2021-01-05 04:54:04 +01:00
|
|
|
|
version = "2.0.0";
|
2007-10-24 04:01:54 +02:00
|
|
|
|
|
2019-09-03 23:51:52 +02:00
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
|
owner = "bbidulock";
|
2020-10-10 06:59:09 +02:00
|
|
|
|
repo = pname;
|
|
|
|
|
rev = version;
|
2021-01-05 04:54:04 +01:00
|
|
|
|
sha256 = "sha256-WdRAWAQEf9c66MVrLAs5VgBDK5r4JKM2GrjAV4cuGfA=";
|
2007-10-24 04:01:54 +02:00
|
|
|
|
};
|
|
|
|
|
|
2021-01-05 04:54:04 +01:00
|
|
|
|
nativeBuildInputs = [ cmake pkg-config perl asciidoc ];
|
2010-09-01 10:36:46 +02:00
|
|
|
|
|
2019-09-03 23:51:52 +02:00
|
|
|
|
buildInputs = [
|
2021-01-05 04:54:04 +01:00
|
|
|
|
expat
|
|
|
|
|
fontconfig
|
|
|
|
|
freetype
|
|
|
|
|
fribidi
|
|
|
|
|
gdk-pixbuf
|
|
|
|
|
gdk-pixbuf-xlib
|
|
|
|
|
gettext
|
|
|
|
|
glib
|
|
|
|
|
imlib2
|
|
|
|
|
libICE
|
|
|
|
|
libSM
|
|
|
|
|
libX11
|
|
|
|
|
libXcomposite
|
|
|
|
|
libXdamage
|
|
|
|
|
libXdmcp
|
|
|
|
|
libXext
|
|
|
|
|
libXfixes
|
|
|
|
|
libXft
|
|
|
|
|
libXinerama
|
|
|
|
|
libXpm
|
|
|
|
|
libXrandr
|
|
|
|
|
libjpeg
|
|
|
|
|
libpng
|
|
|
|
|
libpthreadstubs
|
|
|
|
|
libsndfile
|
|
|
|
|
libtiff
|
|
|
|
|
libungif
|
|
|
|
|
libxcb
|
|
|
|
|
mkfontdir
|
|
|
|
|
pcre
|
|
|
|
|
];
|
2019-09-03 23:51:52 +02:00
|
|
|
|
|
|
|
|
|
cmakeFlags = [ "-DPREFIX=$out" "-DCFGDIR=/etc/icewm" ];
|
2018-03-28 04:16:33 +02:00
|
|
|
|
|
2019-09-03 23:51:52 +02:00
|
|
|
|
# install legacy themes
|
|
|
|
|
postInstall = ''
|
|
|
|
|
cp -r ../lib/themes/{gtk2,Natural,nice,nice2,warp3,warp4,yellowmotif} $out/share/icewm/themes/
|
|
|
|
|
'';
|
2018-03-28 04:16:33 +02:00
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
|
meta = with lib; {
|
2015-07-26 06:08:05 +02:00
|
|
|
|
description = "A simple, lightweight X window manager";
|
|
|
|
|
longDescription = ''
|
2021-01-05 04:54:04 +01:00
|
|
|
|
IceWM is a window manager for the X Window System. The goal of IceWM is
|
|
|
|
|
speed, simplicity, and not getting in the user’s way. It comes with a
|
|
|
|
|
taskbar with pager, global and per-window keybindings and a dynamic menu
|
|
|
|
|
system. Application windows can be managed by keyboard and mouse. Windows
|
|
|
|
|
can be iconified to the taskbar, to the tray, to the desktop or be made
|
|
|
|
|
hidden. They are controllable by a quick switch window (Alt+Tab) and in a
|
|
|
|
|
window list. A handful of configurable focus models are
|
|
|
|
|
menu-selectable. Setups with multiple monitors are supported by RandR and
|
|
|
|
|
Xinerama. IceWM is very configurable, themeable and well documented. It
|
|
|
|
|
includes an optional external background wallpaper manager with
|
|
|
|
|
transparency support, a simple session manager and a system tray.
|
2015-07-26 06:08:05 +02:00
|
|
|
|
'';
|
2020-04-07 00:53:55 +02:00
|
|
|
|
homepage = "https://www.ice-wm.org/";
|
2015-07-26 06:08:05 +02:00
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
2018-03-19 22:22:25 +01:00
|
|
|
|
platforms = platforms.linux;
|
2007-10-24 04:01:54 +02:00
|
|
|
|
};
|
|
|
|
|
}
|