From 311c93143c80dc363f6e2dac3b9f5fa9834db015 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 7 Dec 2020 00:17:33 +0100 Subject: tv rox-filer: cleanup --- tv/5pkgs/simple/rox-filer.nix | 35 ++++++++--------------------------- 1 file changed, 8 insertions(+), 27 deletions(-) (limited to 'tv/5pkgs/simple') diff --git a/tv/5pkgs/simple/rox-filer.nix b/tv/5pkgs/simple/rox-filer.nix index 71cb9ca03..bce89cacd 100644 --- a/tv/5pkgs/simple/rox-filer.nix +++ b/tv/5pkgs/simple/rox-filer.nix @@ -1,23 +1,11 @@ -{ autoconf, stdenv, fetchFromGitLab, pkgconfig, libxml2, libSM -, shared-mime-info - -# Even though imported, this causes: -# (rox:32319): Gtk-WARNING **: 20:16:03.163: Could not find the icon 'text-x-log'. The 'hicolor' theme -# was not found either, perhaps you need to install it. -# You can get a copy from: -# http://icon-theme.freedesktop.org/releases -# -# XXX can we use propagatedBuildInputs instead? -, hicolor-icon-theme - +{ autoconf, stdenv, fetchFromGitLab, pkgconfig, libxml2, libSM, shared-mime-info , libxslt, docbook_xml_dtd_412, docbook_xsl -, gtk ? gtk2, gtk2 # This is normally in top-level/all-packages.nix +, gtk ? gtk2, gtk2 }: -let - version = "2.11"; -in stdenv.mkDerivation rec { - name = "rox-filer-${version}-tv"; +stdenv.mkDerivation { + pname = "rox-filer"; + version = "2.11-tv"; src = fetchFromGitLab { owner = "seirios"; @@ -29,22 +17,15 @@ in stdenv.mkDerivation rec { nativeBuildInputs = [ autoconf docbook_xsl - pkgconfig libxslt + pkgconfig ]; - buildInputs = [ libxml2 gtk shared-mime-info hicolor-icon-theme libSM ]; - - #patches = [ - # - #]; + buildInputs = [ libxml2 gtk shared-mime-info libSM ]; # go to the source directory after unpacking the sources setSourceRoot = "export sourceRoot=source/ROX-Filer"; - ## patch source with defined patches - #patchFlags = "-p0"; - # patch the main.c to disable the lookup of the APP_DIR environment variable, # which is used to lookup the location for certain images when rox-filer # starts; rather override the location with an absolute path to the directory @@ -105,7 +86,7 @@ in stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "Fast, lightweight, gtk2 file manager"; - homepage = http://rox.sourceforge.net/desktop; + homepage = "http://rox.sourceforge.net/desktop"; license = with licenses; [ gpl2 lgpl2 ]; platforms = platforms.linux; maintainers = [ maintainers.eleanor ]; -- cgit v1.2.3