2021-03-04 02:25:18 +00:00
|
|
|
|
{ lib
|
|
|
|
|
, stdenv
|
2021-01-05 03:54:04 +00:00
|
|
|
|
, fetchFromGitHub
|
2021-09-05 16:25:02 +01:00
|
|
|
|
, fetchpatch
|
2021-01-05 03:54:04 +00:00
|
|
|
|
, asciidoc
|
2021-08-02 20:03:56 +01:00
|
|
|
|
, cmake
|
2021-01-05 03:54:04 +00:00
|
|
|
|
, expat
|
|
|
|
|
, fontconfig
|
|
|
|
|
, freetype
|
|
|
|
|
, fribidi
|
|
|
|
|
, gdk-pixbuf
|
|
|
|
|
, gdk-pixbuf-xlib
|
|
|
|
|
, gettext
|
2021-08-02 20:03:56 +01:00
|
|
|
|
, giflib
|
2021-01-05 03:54:04 +00:00
|
|
|
|
, glib
|
|
|
|
|
, imlib2
|
|
|
|
|
, libICE
|
|
|
|
|
, libSM
|
|
|
|
|
, libX11
|
|
|
|
|
, libXcomposite
|
|
|
|
|
, libXdamage
|
|
|
|
|
, libXdmcp
|
|
|
|
|
, libXext
|
|
|
|
|
, libXfixes
|
|
|
|
|
, libXft
|
|
|
|
|
, libXinerama
|
|
|
|
|
, libXpm
|
|
|
|
|
, libXrandr
|
|
|
|
|
, libjpeg
|
|
|
|
|
, libpng
|
|
|
|
|
, libpthreadstubs
|
|
|
|
|
, libsndfile
|
|
|
|
|
, libtiff
|
|
|
|
|
, libxcb
|
|
|
|
|
, mkfontdir
|
|
|
|
|
, pcre
|
2021-03-04 02:25:18 +00:00
|
|
|
|
, perl
|
2021-08-02 20:03:56 +01:00
|
|
|
|
, pkg-config
|
2021-01-05 03:54:04 +00:00
|
|
|
|
}:
|
2009-10-28 14:06:56 +00:00
|
|
|
|
|
2010-01-05 22:48:10 +00:00
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
|
pname = "icewm";
|
2021-08-02 20:03:56 +01:00
|
|
|
|
version = "2.6.0";
|
2007-10-24 03:01:54 +01:00
|
|
|
|
|
2019-09-03 22:51:52 +01:00
|
|
|
|
src = fetchFromGitHub {
|
2021-05-11 13:39:22 +01:00
|
|
|
|
owner = "ice-wm";
|
2020-10-10 05:59:09 +01:00
|
|
|
|
repo = pname;
|
|
|
|
|
rev = version;
|
2021-08-02 20:03:56 +01:00
|
|
|
|
hash = "sha256-R06tiWS9z6K5Nbi+vvk7DyozpcFdrHleMeh7Iq/FfHQ=";
|
2007-10-24 03:01:54 +01:00
|
|
|
|
};
|
|
|
|
|
|
2021-09-05 16:25:02 +01:00
|
|
|
|
patches = [
|
|
|
|
|
# https://github.com/ice-wm/icewm/pull/57
|
|
|
|
|
# Fix trailing -I that leads to "to generate dependencies you must specify either '-M' or '-MM'"
|
|
|
|
|
(fetchpatch {
|
|
|
|
|
url = "https://github.com/ice-wm/icewm/pull/57/commits/ebd2c45341cc31755758a423392a0f78a64d2d37.patch";
|
|
|
|
|
sha256 = "16m9znd3ijcfl7la3l27ac3clx8l9qng3fprkpxqcifd89ny1ml5";
|
|
|
|
|
})
|
|
|
|
|
];
|
|
|
|
|
|
2021-03-04 02:25:18 +00:00
|
|
|
|
nativeBuildInputs = [
|
|
|
|
|
asciidoc
|
|
|
|
|
cmake
|
|
|
|
|
perl
|
|
|
|
|
pkg-config
|
|
|
|
|
];
|
2019-09-03 22:51:52 +01:00
|
|
|
|
buildInputs = [
|
2021-01-05 03:54:04 +00:00
|
|
|
|
expat
|
|
|
|
|
fontconfig
|
|
|
|
|
freetype
|
|
|
|
|
fribidi
|
|
|
|
|
gdk-pixbuf
|
|
|
|
|
gdk-pixbuf-xlib
|
|
|
|
|
gettext
|
2021-08-02 20:03:56 +01:00
|
|
|
|
giflib
|
2021-01-05 03:54:04 +00:00
|
|
|
|
glib
|
|
|
|
|
imlib2
|
|
|
|
|
libICE
|
|
|
|
|
libSM
|
|
|
|
|
libX11
|
|
|
|
|
libXcomposite
|
|
|
|
|
libXdamage
|
|
|
|
|
libXdmcp
|
|
|
|
|
libXext
|
|
|
|
|
libXfixes
|
|
|
|
|
libXft
|
|
|
|
|
libXinerama
|
|
|
|
|
libXpm
|
|
|
|
|
libXrandr
|
|
|
|
|
libjpeg
|
|
|
|
|
libpng
|
|
|
|
|
libpthreadstubs
|
|
|
|
|
libsndfile
|
|
|
|
|
libtiff
|
|
|
|
|
libxcb
|
|
|
|
|
mkfontdir
|
|
|
|
|
pcre
|
|
|
|
|
];
|
2019-09-03 22:51:52 +01:00
|
|
|
|
|
2021-08-02 20:03:56 +01:00
|
|
|
|
cmakeFlags = [
|
|
|
|
|
"-DPREFIX=$out"
|
|
|
|
|
"-DCFGDIR=/etc/icewm"
|
|
|
|
|
];
|
2018-03-28 03:16:33 +01:00
|
|
|
|
|
2019-09-03 22:51:52 +01:00
|
|
|
|
# install legacy themes
|
|
|
|
|
postInstall = ''
|
|
|
|
|
cp -r ../lib/themes/{gtk2,Natural,nice,nice2,warp3,warp4,yellowmotif} $out/share/icewm/themes/
|
|
|
|
|
'';
|
2018-03-28 03:16:33 +01:00
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
|
meta = with lib; {
|
2021-03-04 02:25:18 +00:00
|
|
|
|
homepage = "https://www.ice-wm.org/";
|
2015-07-26 05:08:05 +01:00
|
|
|
|
description = "A simple, lightweight X window manager";
|
|
|
|
|
longDescription = ''
|
2021-01-05 03:54:04 +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
|
|
|
|
|
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 05:08:05 +01:00
|
|
|
|
'';
|
2021-03-04 02:25:18 +00:00
|
|
|
|
license = licenses.lgpl2Only;
|
2015-07-26 05:08:05 +01:00
|
|
|
|
maintainers = [ maintainers.AndersonTorres ];
|
2018-03-19 21:22:25 +00:00
|
|
|
|
platforms = platforms.linux;
|
2007-10-24 03:01:54 +01:00
|
|
|
|
};
|
|
|
|
|
}
|