Merge pull request #8994 from AndersonTorres/icewm

IceWM: 1.3.8 -> 1.3.10

+29 -37
+1 -16
nixos/modules/services/x11/window-managers/icewm.nix
··· 3 with lib; 4 5 let 6 - 7 cfg = config.services.xserver.windowManager.icewm; 8 - 9 in 10 - 11 { 12 - 13 ###### interface 14 - 15 options = { 16 - 17 - services.xserver.windowManager.icewm.enable = mkOption { 18 - default = false; 19 - description = "Enable the IceWM window manager."; 20 - }; 21 - 22 }; 23 - 24 25 ###### implementation 26 - 27 config = mkIf cfg.enable { 28 - 29 services.xserver.windowManager.session = singleton 30 { name = "icewm"; 31 start = ··· 36 }; 37 38 environment.systemPackages = [ pkgs.icewm ]; 39 - 40 }; 41 - 42 }
··· 3 with lib; 4 5 let 6 cfg = config.services.xserver.windowManager.icewm; 7 in 8 { 9 ###### interface 10 options = { 11 + services.xserver.windowManager.icewm.enable = mkEnableOption "oroborus"; 12 }; 13 14 ###### implementation 15 config = mkIf cfg.enable { 16 services.xserver.windowManager.session = singleton 17 { name = "icewm"; 18 start = ··· 23 }; 24 25 environment.systemPackages = [ pkgs.icewm ]; 26 }; 27 }
+24 -20
pkgs/applications/window-managers/icewm/default.nix
··· 1 - { stdenv, fetchurl, gettext, libjpeg, libtiff, libungif, libpng, freetype 2 - , fontconfig, xlibs, automake, pkgconfig, gdk_pixbuf }: 3 4 stdenv.mkDerivation rec { 5 - name = "icewm-1.3.8"; 6 7 buildInputs = 8 - [ gettext libjpeg libtiff libungif libpng 9 - xlibs.libX11 xlibs.libXft xlibs.libXext xlibs.libXinerama xlibs.libXrandr 10 - xlibs.libICE xlibs.libSM freetype fontconfig 11 - pkgconfig gdk_pixbuf 12 - ]; 13 14 src = fetchurl { 15 - url = "mirror://sourceforge/icewm/${name}.tar.gz"; 16 - sha256 = "066d1mw0vm9ygxnyxksfi6k4vzclvnlkvj04pj3kbcmv1fg8sn0p"; 17 }; 18 19 - NIX_LDFLAGS = "-lfontconfig"; 20 - 21 - # The fuloong2f is not supported by 1.3.6 still 22 - # 23 - # Don't know whether 1.3.7 supports fuloong2f and don't know how to test it 24 - # on x86_64 hardware. So I left this 'cp' -- urkud 25 - 26 preConfigure = '' 27 - cp -v ${automake}/share/automake*/config.{sub,guess} . 28 ''; 29 30 meta = { 31 - description = "A window manager for the X Window System"; 32 homepage = http://www.icewm.org/; 33 - platforms = stdenv.lib.platforms.unix; 34 }; 35 }
··· 1 + { stdenv, fetchurl, cmake, gettext 2 + , libjpeg, libtiff, libungif, libpng, imlib, expat 3 + , freetype, fontconfig, pkgconfig, gdk_pixbuf 4 + , mkfontdir, libX11, libXft, libXext, libXinerama 5 + , libXrandr, libICE, libSM, libXpm, libXdmcp, libxcb 6 + , libpthreadstubs }: 7 8 + with stdenv.lib; 9 stdenv.mkDerivation rec { 10 + name = "icewm-${version}"; 11 + version = "1.3.10"; 12 13 buildInputs = 14 + [ cmake gettext libjpeg libtiff libungif libpng imlib expat 15 + freetype fontconfig pkgconfig gdk_pixbuf mkfontdir libX11 16 + libXft libXext libXinerama libXrandr libICE libSM libXpm 17 + libXdmcp libxcb libpthreadstubs ]; 18 19 src = fetchurl { 20 + url = "https://github.com/bbidulock/icewm/archive/${version}.tar.gz"; 21 + sha256 = "01i7a21gf810spmzjx32dxsmx4527qivs744rhvhaw4gr00amrns"; 22 }; 23 24 preConfigure = '' 25 + export cmakeFlags="-DPREFIX=$out" 26 ''; 27 28 meta = { 29 + description = "A simple, lightweight X window manager"; 30 + longDescription = '' 31 + IceWM is a window manager for the X Window System. The goal of 32 + IceWM is speed, simplicity, and not getting in the user's way. 33 + ''; 34 homepage = http://www.icewm.org/; 35 + license = licenses.lgpl2; 36 + maintainers = [ maintainers.AndersonTorres ]; 37 + platforms = platforms.unix; 38 }; 39 }
+4 -1
pkgs/top-level/all-packages.nix
··· 11668 11669 i810switch = callPackage ../os-specific/linux/i810switch { }; 11670 11671 - icewm = callPackage ../applications/window-managers/icewm { }; 11672 11673 id3v2 = callPackage ../applications/audio/id3v2 { }; 11674
··· 11668 11669 i810switch = callPackage ../os-specific/linux/i810switch { }; 11670 11671 + icewm = callPackage ../applications/window-managers/icewm { 11672 + inherit (xlibs) libX11 libXft libXext libXinerama 11673 + libXrandr libICE libSM; 11674 + }; 11675 11676 id3v2 = callPackage ../applications/audio/id3v2 { }; 11677