2019-08-17 14:20:24 -07:00
|
|
|
{ mkXfceDerivation, tzdata, exo, garcon, gtk2, gtk3, glib, gettext, glib-networking, libxfce4ui, libxfce4util, libwnck3, xfconf, gobject-introspection }:
|
2017-12-17 07:02:52 -08:00
|
|
|
|
2019-08-13 14:52:01 -07:00
|
|
|
mkXfceDerivation {
|
2017-12-17 07:02:52 -08:00
|
|
|
category = "xfce";
|
|
|
|
pname = "xfce4-panel";
|
2019-08-12 03:38:41 -07:00
|
|
|
version = "4.14.0";
|
2017-12-17 07:02:52 -08:00
|
|
|
|
2019-08-12 03:38:41 -07:00
|
|
|
sha256 = "1v3f2xjz9gwa8maqqvv9w2dh1cgy03v89a9ny7nrv0cjsxwwrr15";
|
2017-12-17 07:02:52 -08:00
|
|
|
|
2019-08-17 14:20:24 -07:00
|
|
|
nativeBuildInputs = [ gobject-introspection ];
|
2019-08-16 21:04:10 -07:00
|
|
|
buildInputs = [ exo garcon gtk2 gtk3 glib glib-networking libxfce4ui libxfce4util libwnck3 xfconf ];
|
2017-12-17 07:02:52 -08:00
|
|
|
|
2018-07-17 16:05:54 -07: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 05:08:44 -07:00
|
|
|
substituteInPlace plugins/clock/clock.c \
|
2019-08-16 21:04:35 -07:00
|
|
|
--replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
|
2018-07-17 16:05:54 -07:00
|
|
|
'';
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-gtk3" ];
|
|
|
|
|
2017-12-17 07:02:52 -08:00
|
|
|
meta = {
|
|
|
|
description = "Xfce's panel";
|
|
|
|
};
|
|
|
|
}
|