Source: gedit Version: 40.1-2 Severity: important Tags: patch User: debian-h...@lists.debian.org debian-k...@lists.debian.org Usertags: hurd
Hi, Currently gedit FTBFS on GNU/Hurd and GNU/kFreeBSD due to failure to define ENABLE_GVFS_METADATA in config.h during configuraation. With the attached patch, meson.build.patch, gedit builds fine again. The patch has been used to successfully build gedit on Linux, Hurd and kFreeBSD. Thanks!
Index: gedit-40.1/meson.build =================================================================== --- gedit-40.1.orig/meson.build +++ gedit-40.1/meson.build @@ -75,7 +75,7 @@ config_h.set_quoted('DATADIR', join_path config_h.set_quoted('VERSION', meson.project_version()) enable_gvfs_metadata = get_option('enable-gvfs-metadata') -if enable_gvfs_metadata == 'yes' or (enable_gvfs_metadata == 'auto' and host_machine.system() == 'linux') +if enable_gvfs_metadata == 'yes' or (enable_gvfs_metadata == 'auto' and ['linux', 'gnu', 'gnu/kfreebsd'].contains(host_machine.system())) enable_gvfs_metadata = true else enable_gvfs_metadata = false