vte, vte_290, vte-ng: rename frome gnome3.vte*

This commit is contained in:
worldofpeace
2018-12-25 18:15:46 -05:00
parent 0b14f7896d
commit 2c76519900
14 changed files with 38 additions and 51 deletions

View File

@@ -0,0 +1,41 @@
{ stdenv, fetchurl, intltool, pkgconfig, gnome3, glib, gtk3, ncurses, gobject-introspection }:
stdenv.mkDerivation rec {
versionMajor = "0.36";
versionMinor = "3";
moduleName = "vte";
name = "${moduleName}-${versionMajor}.${versionMinor}";
src = fetchurl {
url = "mirror://gnome/sources/${moduleName}/${versionMajor}/${name}.tar.xz";
sha256 = "54e5b07be3c0f7b158302f54ee79d4de1cb002f4259b6642b79b1e0e314a959c";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gobject-introspection intltool glib gtk3 ncurses ];
configureFlags = [ "--enable-introspection" ];
enableParallelBuilding = true;
postInstall = ''
substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses.out}/lib -lncurses"
'';
meta = with stdenv.lib; {
homepage = https://www.gnome.org/;
description = "A library implementing a terminal emulator widget for GTK+";
longDescription = ''
VTE is a library (libvte) implementing a terminal emulator widget for
GTK+, and a minimal sample application (vte) using that. Vte is
mainly used in gnome-terminal, but can also be used to embed a
console/terminal in games, editors, IDEs, etc. VTE supports Unicode and
character set conversion, as well as emulating any terminal known to
the system's terminfo database.
'';
license = licenses.lgpl2;
maintainers = with maintainers; [ astsmtl antono lethalman ];
platforms = platforms.linux;
};
}

View File

@@ -0,0 +1,51 @@
{ stdenv, fetchurl, intltool, pkgconfig
, gnome3, glib, gtk3, ncurses, gobject-introspection, vala, libxml2, gnutls
, gperf, pcre2
}:
stdenv.mkDerivation rec {
pname = "vte";
version = "0.54.3";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1zgb8jgi6sr4km58zfml8zkm24qipbngl2h7s5razhi5a0a84dk9";
};
passthru = {
updateScript = gnome3.updateScript { packageName = pname; };
};
nativeBuildInputs = [ gobject-introspection intltool pkgconfig vala gperf libxml2 ];
buildInputs = [ glib gtk3 ncurses ];
propagatedBuildInputs = [
# Required by vte-2.91.pc.
gtk3
gnutls
pcre2
];
preConfigure = "patchShebangs .";
configureFlags = [ "--enable-introspection" "--disable-Bsymbolic" ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = https://www.gnome.org/;
description = "A library implementing a terminal emulator widget for GTK+";
longDescription = ''
VTE is a library (libvte) implementing a terminal emulator widget for
GTK+, and a minimal sample application (vte) using that. Vte is
mainly used in gnome-terminal, but can also be used to embed a
console/terminal in games, editors, IDEs, etc. VTE supports Unicode and
character set conversion, as well as emulating any terminal known to
the system's terminfo database.
'';
license = licenses.lgpl2;
maintainers = with maintainers; [ astsmtl antono lethalman ];
platforms = platforms.linux ++ platforms.darwin;
};
}

View File

@@ -0,0 +1,18 @@
{ vte, fetchFromGitHub, autoconf, automake, gtk-doc, gettext, libtool, gperf }:
vte.overrideAttrs (oldAttrs: rec {
name = "vte-ng-${version}";
version = "0.50.2.a";
src = fetchFromGitHub {
owner = "thestinger";
repo = "vte-ng";
rev = version;
sha256 = "0i6hfzw9sq8521kz0l7lld2km56r0bfp1hw6kxq3j1msb8z8svcf";
};
preConfigure = oldAttrs.preConfigure + "; NOCONFIGURE=1 ./autogen.sh";
nativeBuildInputs = oldAttrs.nativeBuildInputs or []
++ [ gtk-doc autoconf automake gettext libtool gperf ];
})