2021-03-09 03:18:52 +00:00
|
|
|
|
{ lib
|
|
|
|
|
, stdenv
|
2021-01-05 17:05:55 +00:00
|
|
|
|
, fetchFromGitHub
|
2021-09-18 10:52:07 +00:00
|
|
|
|
, fetchpatch
|
2021-08-05 21:33:18 +00:00
|
|
|
|
, cmake
|
2021-01-05 17:05:55 +00:00
|
|
|
|
, expat
|
2022-10-30 15:09:59 +00:00
|
|
|
|
, flac
|
2021-01-05 17:05:55 +00:00
|
|
|
|
, fontconfig
|
|
|
|
|
, freetype
|
|
|
|
|
, fribidi
|
|
|
|
|
, gdk-pixbuf
|
|
|
|
|
, gdk-pixbuf-xlib
|
|
|
|
|
, gettext
|
2021-08-05 21:33:18 +00:00
|
|
|
|
, giflib
|
2021-01-05 17:05:55 +00:00
|
|
|
|
, glib
|
|
|
|
|
, imlib2
|
|
|
|
|
, libICE
|
|
|
|
|
, libSM
|
|
|
|
|
, libX11
|
|
|
|
|
, libXcomposite
|
|
|
|
|
, libXdamage
|
|
|
|
|
, libXdmcp
|
|
|
|
|
, libXext
|
|
|
|
|
, libXfixes
|
|
|
|
|
, libXft
|
|
|
|
|
, libXinerama
|
|
|
|
|
, libXpm
|
|
|
|
|
, libXrandr
|
|
|
|
|
, libjpeg
|
2022-10-30 15:09:59 +00:00
|
|
|
|
, libogg
|
2021-01-05 17:05:55 +00:00
|
|
|
|
, libpng
|
|
|
|
|
, libpthreadstubs
|
|
|
|
|
, libsndfile
|
|
|
|
|
, libtiff
|
|
|
|
|
, libxcb
|
|
|
|
|
, mkfontdir
|
2022-10-30 15:09:59 +00:00
|
|
|
|
, pcre2
|
2021-03-09 03:18:52 +00:00
|
|
|
|
, perl
|
2021-08-05 21:33:18 +00:00
|
|
|
|
, pkg-config
|
2021-01-05 17:05:55 +00:00
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
2022-10-30 15:09:59 +00:00
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
|
pname = "icewm";
|
2023-04-29 16:46:19 +00:00
|
|
|
|
version = "3.3.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2022-03-30 09:31:56 +00:00
|
|
|
|
owner = "ice-wm";
|
2022-10-30 15:09:59 +00:00
|
|
|
|
repo = "icewm";
|
|
|
|
|
rev = finalAttrs.version;
|
2023-04-29 16:46:19 +00:00
|
|
|
|
hash = "sha256-VcUc1T3uTj8fhSZ+/XWRzgoenjqA/gguxuNsj+PYzB0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
};
|
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
|
nativeBuildInputs = [
|
|
|
|
|
cmake
|
|
|
|
|
perl
|
|
|
|
|
pkg-config
|
|
|
|
|
];
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
|
buildInputs = [
|
2021-01-05 17:05:55 +00:00
|
|
|
|
expat
|
2022-10-30 15:09:59 +00:00
|
|
|
|
flac
|
2021-01-05 17:05:55 +00:00
|
|
|
|
fontconfig
|
|
|
|
|
freetype
|
|
|
|
|
fribidi
|
|
|
|
|
gdk-pixbuf
|
|
|
|
|
gdk-pixbuf-xlib
|
|
|
|
|
gettext
|
2021-08-05 21:33:18 +00:00
|
|
|
|
giflib
|
2021-01-05 17:05:55 +00:00
|
|
|
|
glib
|
|
|
|
|
imlib2
|
|
|
|
|
libICE
|
|
|
|
|
libSM
|
|
|
|
|
libX11
|
|
|
|
|
libXcomposite
|
|
|
|
|
libXdamage
|
|
|
|
|
libXdmcp
|
|
|
|
|
libXext
|
|
|
|
|
libXfixes
|
|
|
|
|
libXft
|
|
|
|
|
libXinerama
|
|
|
|
|
libXpm
|
|
|
|
|
libXrandr
|
|
|
|
|
libjpeg
|
2022-10-30 15:09:59 +00:00
|
|
|
|
libogg
|
2021-01-05 17:05:55 +00:00
|
|
|
|
libpng
|
|
|
|
|
libpthreadstubs
|
|
|
|
|
libsndfile
|
|
|
|
|
libtiff
|
|
|
|
|
libxcb
|
|
|
|
|
mkfontdir
|
2022-10-30 15:09:59 +00:00
|
|
|
|
pcre2
|
2021-01-05 17:05:55 +00:00
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
|
cmakeFlags = [
|
|
|
|
|
"-DPREFIX=$out"
|
|
|
|
|
"-DCFGDIR=/etc/icewm"
|
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|
|
# install legacy themes
|
|
|
|
|
postInstall = ''
|
2022-10-30 15:09:59 +00:00
|
|
|
|
cp -r ../lib/themes/{gtk2,Natural,nice,nice2,warp3,warp4,yellowmotif} \
|
|
|
|
|
$out/share/icewm/themes/
|
2020-04-24 23:36:52 +00:00
|
|
|
|
'';
|
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
|
meta = with lib; {
|
2022-02-10 20:34:41 +00:00
|
|
|
|
homepage = "https://ice-wm.org/";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
description = "A simple, lightweight X window manager";
|
|
|
|
|
longDescription = ''
|
2021-01-05 17:05:55 +00: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
|
2022-03-30 09:31:56 +00:00
|
|
|
|
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.
|
2020-04-24 23:36:52 +00:00
|
|
|
|
'';
|
2021-03-09 03:18:52 +00:00
|
|
|
|
license = licenses.lgpl2Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
|
|
|
|
platforms = platforms.linux;
|
|
|
|
|
};
|
2022-10-30 15:09:59 +00:00
|
|
|
|
})
|