2018-08-02 13:08:44 +01:00
|
|
|
{ mkXfceDerivation, makeWrapper, tzdata, exo, garcon, gtk2, gtk3, gettext, glib-networking, libxfce4ui, libxfce4util, libwnck3, xfconf }:
|
2017-12-17 15:02:52 +00:00
|
|
|
|
|
|
|
mkXfceDerivation rec {
|
|
|
|
category = "xfce";
|
|
|
|
pname = "xfce4-panel";
|
2018-07-18 00:05:54 +01:00
|
|
|
version = "4.13.3";
|
2017-12-17 15:02:52 +00:00
|
|
|
|
2018-07-18 00:05:54 +01:00
|
|
|
sha256 = "00b2b16wqwzdbh1vsnpl2kasa7f9i1hr1wkkjmvzmy2v7bmkygr0";
|
2017-12-17 15:02:52 +00:00
|
|
|
|
2018-07-18 00:05:54 +01:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
2017-12-17 15:02:52 +00:00
|
|
|
buildInputs = [ exo garcon gtk2 gtk3 libxfce4ui libxfce4util libwnck3 xfconf ];
|
|
|
|
|
2018-07-18 00:05:54 +01: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 13:08:44 +01:00
|
|
|
substituteInPlace plugins/clock/clock.c \
|
|
|
|
--replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo" \
|
|
|
|
--replace "if (!g_file_test (filename, G_FILE_TEST_IS_SYMLINK))" ""
|
2018-07-18 00:05:54 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-gtk3" ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram "$out/bin/xfce4-panel" \
|
|
|
|
--prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH" \
|
|
|
|
--prefix GIO_EXTRA_MODULES : "${glib-networking}/lib/gio/modules"
|
|
|
|
'';
|
|
|
|
|
2017-12-17 15:02:52 +00:00
|
|
|
meta = {
|
|
|
|
description = "Xfce's panel";
|
|
|
|
};
|
|
|
|
}
|