lxterminal: init at 0.3.1
This commit is contained in:
parent
c95491cb86
commit
b1d1679d5c
@ -693,6 +693,7 @@
|
|||||||
vbmithr = "Vincent Bernardoff <vb@luminar.eu.org>";
|
vbmithr = "Vincent Bernardoff <vb@luminar.eu.org>";
|
||||||
vcunat = "Vladimír Čunát <vcunat@gmail.com>";
|
vcunat = "Vladimír Čunát <vcunat@gmail.com>";
|
||||||
vdemeester = "Vincent Demeester <vincent@sbr.pm>";
|
vdemeester = "Vincent Demeester <vincent@sbr.pm>";
|
||||||
|
velovix = "Tyler Compton <xaviosx@gmail.com>";
|
||||||
veprbl = "Dmitry Kalinkin <veprbl@gmail.com>";
|
veprbl = "Dmitry Kalinkin <veprbl@gmail.com>";
|
||||||
vidbina = "David Asabina <vid@bina.me>";
|
vidbina = "David Asabina <vid@bina.me>";
|
||||||
vifino = "Adrian Pistol <vifino@tty.sh>";
|
vifino = "Adrian Pistol <vifino@tty.sh>";
|
||||||
|
44
pkgs/applications/misc/lxterminal/default.nix
Normal file
44
pkgs/applications/misc/lxterminal/default.nix
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
{ stdenv, fetchurl, automake, autoconf, intltool, pkgconfig, gtk2, vte
|
||||||
|
, libxslt, docbook_xml_dtd_412, docbook_xml_xslt, libxml2, findXMLCatalogs
|
||||||
|
, buildSingleXMLCatalog
|
||||||
|
}:
|
||||||
|
|
||||||
|
let version = "0.3.1"; in
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "lxterminal-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/lxde/lxterminal/archive/${version}.tar.gz";
|
||||||
|
sha256 = "e91f15c8a726d5c13227263476583137a2639d4799c021ca0726c9805021b54c";
|
||||||
|
};
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--enable-man"
|
||||||
|
"--with-xml-catalog=../catalog.xml" # Generated by buildSingleXMLCatalog
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
automake autoconf intltool pkgconfig gtk2 vte libxslt docbook_xml_dtd_412
|
||||||
|
docbook_xml_xslt libxml2 findXMLCatalogs buildSingleXMLCatalog
|
||||||
|
];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
./autogen.sh
|
||||||
|
'';
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "The standard terminal emulator of LXDE";
|
||||||
|
longDescription = ''
|
||||||
|
LXTerminal is the standard terminal emulator of LXDE. The terminal is a
|
||||||
|
desktop-independent VTE-based terminal emulator for LXDE without any
|
||||||
|
unnecessary dependencies.
|
||||||
|
'';
|
||||||
|
homepage = https://wiki.lxde.org/en/LXTerminal;
|
||||||
|
license = stdenv.lib.licenses.gpl2;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.velovix ];
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
21
pkgs/build-support/setup-hooks/build-single-xml-catalog.sh
Normal file
21
pkgs/build-support/setup-hooks/build-single-xml-catalog.sh
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Creates a single XML catalog that references the catalogs found by
|
||||||
|
# findXMLCatalogs.
|
||||||
|
# Useful for situations where only one catalog is expected.
|
||||||
|
buildSingleXMLCatalog() {
|
||||||
|
echo '<?xml version="1.0"?>' > catalog.xml
|
||||||
|
echo '<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">' >> catalog.xml
|
||||||
|
|
||||||
|
catalogs=$(echo $XML_CATALOG_FILES | tr " " "\n")
|
||||||
|
for x in $catalogs
|
||||||
|
do
|
||||||
|
echo ' <nextCatalog catalog="'$x'" />' >> catalog.xml
|
||||||
|
done
|
||||||
|
|
||||||
|
echo '</catalog>' >> catalog.xml
|
||||||
|
}
|
||||||
|
|
||||||
|
if [ -z "$buildSingleXMLCatalogHookDone" ]; then
|
||||||
|
buildSingleXMLCatalogHookDone=1
|
||||||
|
|
||||||
|
envHooks+=(buildSingleXMLCatalog)
|
||||||
|
fi
|
@ -359,6 +359,10 @@ with pkgs;
|
|||||||
|
|
||||||
findXMLCatalogs = makeSetupHook { } ../build-support/setup-hooks/find-xml-catalogs.sh;
|
findXMLCatalogs = makeSetupHook { } ../build-support/setup-hooks/find-xml-catalogs.sh;
|
||||||
|
|
||||||
|
buildSingleXMLCatalog = makeSetupHook {
|
||||||
|
deps = [ findXMLCatalogs ];
|
||||||
|
} ../build-support/setup-hooks/build-single-xml-catalog.sh;
|
||||||
|
|
||||||
wrapGAppsHook = makeSetupHook {
|
wrapGAppsHook = makeSetupHook {
|
||||||
deps = [ gnome3.dconf.lib gnome3.gtk librsvg makeWrapper ];
|
deps = [ gnome3.dconf.lib gnome3.gtk librsvg makeWrapper ];
|
||||||
} ../build-support/setup-hooks/wrap-gapps-hook.sh;
|
} ../build-support/setup-hooks/wrap-gapps-hook.sh;
|
||||||
@ -17091,6 +17095,10 @@ with pkgs;
|
|||||||
vte = gnome2.vte.override { pythonSupport = true; };
|
vte = gnome2.vte.override { pythonSupport = true; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
lxterminal = callPackage ../applications/misc/lxterminal {
|
||||||
|
vte = gnome2.vte;
|
||||||
|
};
|
||||||
|
|
||||||
deepin-terminal = callPackage ../applications/misc/deepin-terminal {
|
deepin-terminal = callPackage ../applications/misc/deepin-terminal {
|
||||||
inherit (gnome3) libgee vte;
|
inherit (gnome3) libgee vte;
|
||||||
wnck = libwnck3;
|
wnck = libwnck3;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user