xfce4-panel: patch gettext in xfce4-popup-* scripts, fixes #30033
This commit is contained in:
parent
e2edccae47
commit
bd4c66886a
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, libxfce4ui
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, libxfce4ui
|
||||||
, libxfce4ui_gtk3, libwnck, exo, garcon, xfconf, libstartup_notification
|
, libxfce4ui_gtk3, libwnck, exo, garcon, xfconf, libstartup_notification
|
||||||
, makeWrapper, xfce4mixer, hicolor_icon_theme
|
, makeWrapper, xfce4mixer, hicolor_icon_theme
|
||||||
, withGtk3 ? false, gtk3
|
, withGtk3 ? false, gtk3, gettext
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (stdenv.lib) optional;
|
inherit (stdenv.lib) optional;
|
||||||
@ -20,6 +20,12 @@ stdenv.mkDerivation rec {
|
|||||||
patches = [ ./xfce4-panel-datadir.patch ];
|
patches = [ ./xfce4-panel-datadir.patch ];
|
||||||
patchFlags = "-p1";
|
patchFlags = "-p1";
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
for f in $(find . -name \*.sh); do
|
||||||
|
substituteInPlace $f --replace gettext ${gettext}/bin/gettext
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
outputs = [ "out" "dev" "devdoc" ];
|
outputs = [ "out" "dev" "devdoc" ];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
@ -47,4 +53,3 @@ stdenv.mkDerivation rec {
|
|||||||
maintainers = [ maintainers.eelco ];
|
maintainers = [ maintainers.eelco ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user