tv rox-filer: cleanup

This commit is contained in:
tv 2020-12-07 00:17:33 +01:00
parent eda867803a
commit 311c93143c

View File

@ -1,23 +1,11 @@
{ autoconf, stdenv, fetchFromGitLab, pkgconfig, libxml2, libSM { autoconf, stdenv, fetchFromGitLab, pkgconfig, libxml2, libSM, shared-mime-info
, 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
, libxslt, docbook_xml_dtd_412, docbook_xsl , libxslt, docbook_xml_dtd_412, docbook_xsl
, gtk ? gtk2, gtk2 # This is normally in top-level/all-packages.nix , gtk ? gtk2, gtk2
}: }:
let stdenv.mkDerivation {
version = "2.11"; pname = "rox-filer";
in stdenv.mkDerivation rec { version = "2.11-tv";
name = "rox-filer-${version}-tv";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "seirios"; owner = "seirios";
@ -29,22 +17,15 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [ nativeBuildInputs = [
autoconf autoconf
docbook_xsl docbook_xsl
pkgconfig
libxslt libxslt
pkgconfig
]; ];
buildInputs = [ libxml2 gtk shared-mime-info hicolor-icon-theme libSM ]; buildInputs = [ libxml2 gtk shared-mime-info libSM ];
#patches = [
# <nixpkgs/pkgs/desktops/rox/rox-filer/rox-filer-2.11-in-source-build.patch>
#];
# go to the source directory after unpacking the sources # go to the source directory after unpacking the sources
setSourceRoot = "export sourceRoot=source/ROX-Filer"; 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, # 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 # 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 # starts; rather override the location with an absolute path to the directory
@ -105,7 +86,7 @@ in stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Fast, lightweight, gtk2 file manager"; description = "Fast, lightweight, gtk2 file manager";
homepage = http://rox.sourceforge.net/desktop; homepage = "http://rox.sourceforge.net/desktop";
license = with licenses; [ gpl2 lgpl2 ]; license = with licenses; [ gpl2 lgpl2 ];
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.eleanor ]; maintainers = [ maintainers.eleanor ];