commit
b39e38f096
@ -1,11 +1,11 @@
|
|||||||
{ stdenv, fetchurl, xorg, ncurses, freetype, fontconfig, pkgconfig }:
|
{ stdenv, fetchurl, xorg, ncurses, freetype, fontconfig, pkgconfig }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "xterm-320";
|
name = "xterm-325";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://invisible-island.net/xterm/${name}.tgz";
|
url = "ftp://invisible-island.net/xterm/${name}.tgz";
|
||||||
sha256 = "19r4rs5pjq944m7aiqligazf6wgmv4f023x3bx183h1l8dbvn3d6";
|
sha256 = "06sz66z4hvjjkvm3r5a5z442iis8lz8yjfzc629pwhj01ixb0c9v";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
@ -13,9 +13,15 @@ stdenv.mkDerivation rec {
|
|||||||
ncurses freetype fontconfig pkgconfig xorg.libXft xorg.luit
|
ncurses freetype fontconfig pkgconfig xorg.libXft xorg.luit
|
||||||
];
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
./sixel-256.support.patch
|
||||||
|
];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-wide-chars"
|
"--enable-wide-chars"
|
||||||
"--enable-256-color"
|
"--enable-256-color"
|
||||||
|
"--enable-sixel-graphics"
|
||||||
|
"--enable-regis-graphics"
|
||||||
"--enable-load-vt-fonts"
|
"--enable-load-vt-fonts"
|
||||||
"--enable-i18n"
|
"--enable-i18n"
|
||||||
"--enable-doublechars"
|
"--enable-doublechars"
|
||||||
@ -39,7 +45,7 @@ stdenv.mkDerivation rec {
|
|||||||
meta = {
|
meta = {
|
||||||
homepage = http://invisible-island.net/xterm;
|
homepage = http://invisible-island.net/xterm;
|
||||||
license = "BSD";
|
license = "BSD";
|
||||||
maintainers = with stdenv.lib.maintainers; [viric];
|
maintainers = with stdenv.lib.maintainers; [viric vrthra];
|
||||||
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
11
pkgs/applications/misc/xterm/sixel-256.support.patch
Normal file
11
pkgs/applications/misc/xterm/sixel-256.support.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- xterm-325/graphics.c 2016-05-17 03:04:40.000000000 -0700
|
||||||
|
+++ xterm-325/graphics.c 2016-06-11 16:37:29.552584281 -0700
|
||||||
|
@@ -667,7 +667,7 @@
|
||||||
|
case 330:
|
||||||
|
return 4U;
|
||||||
|
case 340:
|
||||||
|
- return 16U;
|
||||||
|
+ return 256U;
|
||||||
|
case 382:
|
||||||
|
return 2U;
|
||||||
|
default:
|
Loading…
Reference in New Issue
Block a user