2019-08-17 21:20:24 +00:00
|
|
|
{ mkXfceDerivation, tzdata, exo, garcon, gtk2, gtk3, glib, gettext, glib-networking, libxfce4ui, libxfce4util, libwnck3, xfconf, gobject-introspection }:
|
2017-12-17 15:02:52 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
mkXfceDerivation {
|
2017-12-17 15:02:52 +00:00
|
|
|
category = "xfce";
|
|
|
|
pname = "xfce4-panel";
|
2019-08-12 10:38:41 +00:00
|
|
|
version = "4.14.0";
|
2017-12-17 15:02:52 +00:00
|
|
|
|
2019-08-12 10:38:41 +00:00
|
|
|
sha256 = "1v3f2xjz9gwa8maqqvv9w2dh1cgy03v89a9ny7nrv0cjsxwwrr15";
|
2017-12-17 15:02:52 +00:00
|
|
|
|
2019-08-17 21:20:24 +00:00
|
|
|
nativeBuildInputs = [ gobject-introspection ];
|
2019-08-17 04:04:10 +00:00
|
|
|
buildInputs = [ exo garcon gtk2 gtk3 glib glib-networking libxfce4ui libxfce4util libwnck3 xfconf ];
|
2017-12-17 15:02:52 +00:00
|
|
|
|
2018-07-17 23:05:54 +00:00
|
|
|
patches = [ ../../xfce/core/xfce4-panel-datadir.patch ];
|
|
|
|
patchFlags = "-p1";
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
for f in $(find . -name \*.sh); do
|
|
|
|
substituteInPlace $f --replace gettext ${gettext}/bin/gettext
|
|
|
|
done
|
2018-08-02 12:08:44 +00:00
|
|
|
substituteInPlace plugins/clock/clock.c \
|
2019-08-17 04:04:35 +00:00
|
|
|
--replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
|
2018-07-17 23:05:54 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-gtk3" ];
|
|
|
|
|
2017-12-17 15:02:52 +00:00
|
|
|
meta = {
|
|
|
|
description = "Xfce's panel";
|
|
|
|
};
|
|
|
|
}
|