gnome3.nautilus: fix build
This commit is contained in:
parent
53b2df9211
commit
a67577f776
|
@ -1,31 +1,28 @@
|
||||||
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, libxml2, desktop-file-utils, wrapGAppsHook
|
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, libxml2, desktop-file-utils, wrapGAppsHook
|
||||||
, gtk, gnome3, gnome-autoar, glib, dbus-glib, shared-mime-info, libnotify, libexif
|
, gtk, gnome3, gnome-autoar, glib, dbus-glib, shared-mime-info, libnotify, libexif
|
||||||
, exempi, librsvg, tracker, tracker-miners, libselinux, gdk_pixbuf }:
|
, exempi, librsvg, tracker, tracker-miners, gnome-desktop, gexiv2, libselinux, gdk_pixbuf }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
name = "nautilus-${version}";
|
pname = "nautilus";
|
||||||
version = "3.28.0.1";
|
version = "3.28.0.1";
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/nautilus/${gnome3.versionBranch version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||||
sha256 = "1i3li3nd434vncd6j6has73xihbzjx1ab0xyw8wif11mym15ixrh";
|
sha256 = "1i3li3nd434vncd6j6has73xihbzjx1ab0xyw8wif11mym15ixrh";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
|
||||||
updateScript = gnome3.updateScript { packageName = "nautilus"; attrPath = "gnome3.nautilus"; };
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkgconfig libxml2 gettext wrapGAppsHook desktop-file-utils ];
|
nativeBuildInputs = [ meson ninja pkgconfig libxml2 gettext wrapGAppsHook desktop-file-utils ];
|
||||||
|
|
||||||
buildInputs = [ dbus-glib shared-mime-info libexif gtk exempi libnotify libselinux
|
buildInputs = [
|
||||||
tracker tracker-miners gnome3.gnome-desktop gnome3.adwaita-icon-theme
|
dbus-glib shared-mime-info libexif gtk exempi libnotify libselinux
|
||||||
gnome3.gsettings-desktop-schemas ];
|
tracker tracker-miners gnome-desktop gexiv2
|
||||||
|
gnome3.adwaita-icon-theme gnome3.gsettings-desktop-schemas
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ gnome-autoar ];
|
propagatedBuildInputs = [ gnome-autoar ];
|
||||||
|
|
||||||
# fatal error: gio/gunixinputstream.h: No such file or directory
|
|
||||||
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
gappsWrapperArgs+=(
|
gappsWrapperArgs+=(
|
||||||
# Thumbnailers
|
# Thumbnailers
|
||||||
|
@ -35,16 +32,23 @@ stdenv.mkDerivation rec {
|
||||||
)
|
)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# hardeningDisable = [ "format" ];
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs build-aux/meson/postinstall.py
|
patchShebangs build-aux/meson/postinstall.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
patches = [ ./extension_dir.patch ];
|
patches = [ ./extension_dir.patch ];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
attrPath = "gnome3.${pname}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
description = "The file manager for GNOME";
|
||||||
|
homepage = https://wiki.gnome.org/Apps/Files;
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = gnome3.maintainers;
|
maintainers = gnome3.maintainers;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue