git.iko.soy/typeable/nixpkgs
on master help sign in
gnome-terminal: enable GNOME Shell search provider (for 3.18)

[This is a re-application of the patch that was originally written for GNOME 3.16. It was lost during the transition to GNOME 3.18.] Silly ./configure, it looks for dbus file from gnome-shell in the installation tree of the package it is configuring. Fix by copying the needed file from gnome-shell before ./configure is run. This change makes gnome-shell a build time dependency (not runtime).

commitca717d0d654c11cc59622123251e79bb9ec7142d authorBjørn Forsman <bjorn.forsman@gmail.com> dateMon 4 Jan 2016, 15:50 (11 years ago) parent74cba61
1 file changed+8−1
pkgs/desktops/gnome-3/3.18/core/gnome-terminal/default.nix+8−1
pkgs/desktops/gnome-3/3.18/core/gnome-terminal/default.nix+8−1
@@ -11,8 +11,15 @@ stdenv.mkDerivation rec {
1111 nativeBuildInputs = [ pkgconfig intltool gnome_doc_utils which libuuid libxml2
1212 desktop_file_utils wrapGAppsHook ];
1313
14+ # Silly ./configure, it looks for dbus file from gnome-shell in the
15+ # installation tree of the package it is configuring.
16+ preConfigure = ''
17+ mkdir -p "$out/share/dbus-1/interfaces"
18+ cp "${gnome3.gnome_shell}/share/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml" "$out/share/dbus-1/interfaces"
19+ '';
20+
1421 # FIXME: enable for gnome3
15− configureFlags = [ "--disable-search-provider" "--disable-migration" ];
22+ configureFlags = [ "--disable-migration" ];
1623
1724 meta = with stdenv.lib; {
1825 description = "The GNOME Terminal Emulator";