roxterm: 3.3.2 -> 3.7.5 (#67807)

This commit is contained in:
Dennis Gosnell 2019-09-04 05:45:10 +09:00 committed by Aristid Breitkreuz
parent 42607bb059
commit 15a461d3b8
1 changed files with 27 additions and 42 deletions

View File

@ -1,55 +1,40 @@
{ stdenv, fetchurl, docbook_xsl, dbus, dbus-glib, expat { at-spi2-core, cmake, dbus, dbus-glib, docbook_xsl, epoxy, fetchpatch, fetchFromGitHub
, gsettings-desktop-schemas, gdk-pixbuf, gtk3, hicolor-icon-theme , glib, gtk3, harfbuzz, hicolor-icon-theme, libXdmcp, libXtst, libpthreadstubs
, imagemagick, itstool, librsvg, libtool, libxslt, makeWrapper , libselinux, libsepol, libtasn1, libxkbcommon, libxslt, p11-kit, pcre
, pkgconfig, python, pythonPackages, vte , pkgconfig, stdenv, utillinuxMinimal, vte, wrapGAppsHook, xmlto
, wrapGAppsHook}: }:
# TODO: Still getting following warning. stdenv.mkDerivation rec {
# WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
# Seems related to this:
# https://forums.gentoo.org/viewtopic-t-947210-start-0.html
let version = "3.3.2";
in stdenv.mkDerivation rec {
pname = "roxterm"; pname = "roxterm";
inherit version; version = "3.7.5";
src = fetchurl { src = fetchFromGitHub {
url = "mirror://sourceforge/roxterm/${pname}-${version}.tar.xz"; owner = "realh";
sha256 = "0vjh7k4jm4bd01j88w9bmvq27zqsajjzy131fpi81zkii5lisl1k"; repo = "roxterm";
rev = version;
sha256 = "042hchvgk9jzz035zsgnfhh8105zvspbzz6b78waylsdlgqn0pp1";
}; };
nativeBuildInputs = [ pkgconfig wrapGAppsHook ]; patches = [
# This is the commit directly after v3.7.5. It is needed to get roxterm to
buildInputs = # build correctly. It can be removed when v3.7.6 (or v3.8.0) has been
[ docbook_xsl expat imagemagick itstool librsvg libtool libxslt # released.
makeWrapper python pythonPackages.lockfile dbus dbus-glib (fetchpatch {
gdk-pixbuf gsettings-desktop-schemas gtk3 url = "https://github.com/realh/roxterm/commit/f7c38fd48bd1810e16d82794bdfb61a9760a2fe1.patch";
hicolor-icon-theme vte ]; sha256 = "1v77b7ilgf8zy1npxxcyc06mq6lck6bi6lw4aksnq3mi61n5znmx";
})
NIX_CFLAGS_COMPILE = [ "-I${dbus-glib.dev}/include/dbus-1.0"
"-I${dbus.dev}/include/dbus-1.0"
"-I${dbus.lib}/lib/dbus-1.0/include" ];
# Fix up python path so the lockfile library is on it.
PYTHONPATH = stdenv.lib.makeSearchPathOutput "lib" python.sitePackages [
pythonPackages.lockfile
]; ];
buildPhase = '' nativeBuildInputs = [ cmake pkgconfig wrapGAppsHook libxslt ];
# Fix up the LD_LIBRARY_PATH so that expat is on it
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${expat.out}/lib"
python mscript.py configure --prefix="$out" --disable-nls --disable-translations buildInputs =
python mscript.py build [ gtk3 dbus dbus-glib vte pcre harfbuzz libpthreadstubs libXdmcp
''; utillinuxMinimal glib hicolor-icon-theme docbook_xsl xmlto libselinux
libsepol libxkbcommon epoxy at-spi2-core libXtst libtasn1 p11-kit
installPhase = '' ];
python mscript.py install
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://roxterm.sourceforge.net/; homepage = "https://github.com/realh/roxterm";
license = licenses.gpl3; license = licenses.gpl3;
description = "Tabbed, VTE-based terminal emulator"; description = "Tabbed, VTE-based terminal emulator";
longDescription = '' longDescription = ''