gnome3_22.gnome-terminal: substitute gnome-shell dbus file path
instead of copying the file. this avoids name conflicts after the build. Alternatively we could remove the file after building.
This commit is contained in:
parent
e8ade4ff78
commit
76fa7d1c39
@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# Silly ./configure, it looks for dbus file from gnome-shell in the
|
# Silly ./configure, it looks for dbus file from gnome-shell in the
|
||||||
# installation tree of the package it is configuring.
|
# installation tree of the package it is configuring.
|
||||||
preConfigure = ''
|
postPatch = ''
|
||||||
mkdir -p "$out/share/dbus-1/interfaces"
|
substituteInPlace configure --replace '$(eval echo $(eval echo $(eval echo ''${dbusinterfacedir})))/org.gnome.ShellSearchProvider2.xml' "${gnome3.gnome_shell}/share/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml"
|
||||||
cp "${gnome3.gnome_shell}/share/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml" "$out/share/dbus-1/interfaces"
|
substituteInPlace src/Makefile.in --replace '$(dbusinterfacedir)/org.gnome.ShellSearchProvider2.xml' "${gnome3.gnome_shell}/share/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# FIXME: enable for gnome3
|
# FIXME: enable for gnome3
|
||||||
|
Loading…
Reference in New Issue
Block a user