<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-text-flowed" style="font-family: -moz-fixed;
font-size: 12px;" lang="x-unicode">Hi Paul,
<br>
Unfortunately we don't have a comprehensive guide on how to port
plugins to GTK3, probably you already came across this page:
<br>
<a class="moz-txt-link-freetext"
href="https://wiki.xfce.org/releng/4.14/roadmap/deprecated-widgets">https://wiki.xfce.org/releng/4.14/roadmap/deprecated-widgets</a>
<br>
<br>
Still, the best way to learn how to port plugins is to study how
other plugins were ported, most of the job follows the same
patterns. It's roughly like this:
<br>
1) bump dependencies: gtk+-2.0 -> gtk+-3.0, libxfce4ui-1 ->
libxfce4ui-2, libxfce4panel-1.0 -> libxfce4panel-2.0...
<br>
2) add X-XFCE-API=2.0 to .destkop.in
<br>
3) try to build
<br>
4) if it fails, find out what's wrong, usually missing (removed)
gtk functions/macros
<br>
5) ignore deprecations for the moment and try to make it run in
the panel
<br>
6) fix the glitches and replace deprecated widgets/functions
<br>
7) profit!
<br>
<br>
Now, speaking about the plugins themselves:
<br>
<br>
- xfce4-cpugraph-plugin: there's a WIP[1] which would be
interesting to pick up where that guy left off.
<br>
- xfce4-mailwatch-plugin: I'm not aware of any WIP nor have any
idea how hard it is to port.
<br>
- xfce4-weather-plugin: Simon started to port it [2], I don't know
how far he's gone, but IIRC it proved to be tricky.
<br>
<br>
With regards to "Do you know of companies or people, that could be
contracted to do the work?" I think the devs (not many) are the
ones more qualified to the task, though I can't speak about their
availability. I always worked on Xfce as a hobby, never made a
penny from it (not complaining), but I'd would love to take a Xfce
freelance job =)
<br>
<br>
[1] - <a class="moz-txt-link-freetext"
href="https://github.com/oliwer/xfce4-cpugraph-plugin/tree/gtk3">https://github.com/oliwer/xfce4-cpugraph-plugin/tree/gtk3</a>
<br>
[2] - <a class="moz-txt-link-freetext"
href="https://git.xfce.org/users/ochosi/xfce4-weather-plugin/">https://git.xfce.org/users/ochosi/xfce4-weather-plugin/</a>
<br>
<br>
Cheers,
<br>
Andre Miranda
<br>
<br>
On 15-05-2018 07:00, <a class="moz-txt-link-abbreviated"
href="mailto:xfce-request@xfce.org">xfce-request@xfce.org</a>
wrote:
<br>
<blockquote type="cite" style="color: #000000;">Message: 1
<br>
Date: Tue, 15 May 2018 11:24:10 +0200
<br>
From: Paul Menzel <a class="moz-txt-link-rfc2396E"
href="mailto:pmenzel+xfce@molgen.mpg.de"><pmenzel+xfce@molgen.mpg.de></a>
<br>
To: <a class="moz-txt-link-abbreviated"
href="mailto:xfce@xfce.org">xfce@xfce.org</a>
<br>
Cc: Sean Davis <a class="moz-txt-link-rfc2396E"
href="mailto:smd.seandavis@gmail.com"><smd.seandavis@gmail.com></a>,
Harald Judt <a class="moz-txt-link-rfc2396E"
href="mailto:h.judt@gmx.at"><h.judt@gmx.at></a>
<br>
Subject: How to get panel plugins running with Xfce 4.13?
<br>
Message-ID: <a class="moz-txt-link-rfc2396E"
href="mailto:05c83fba-6dc0-475f-9321-bdf4261f843e@molgen.mpg.de"><05c83fba-6dc0-475f-9321-bdf4261f843e@molgen.mpg.de></a>
<br>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
<br>
<br>
Dear Xfce folks,
<br>
<br>
<br>
We are currently testing Xfce 4.13 and noticed, that – as
expected and
<br>
documented [1] – some panel plugins do not work anymore.
<br>
<br>
Notably, the three plugins below are used here.
<br>
<br>
1. xfce4-cpugraph-plugin [1]
<br>
2. xfce4-mailwatch-plugin [2]
<br>
3. xfce4-weather-plugin [3]
<br>
<br>
Is there an update guide how to port plugins to GTK+ 3? Do you
know of
<br>
companies or people, that could be contracted to do the work?
<br>
<br>
<br>
Kind regards,
<br>
<br>
Paul
<br>
<br>
<br>
[1] <a class="moz-txt-link-freetext"
href="https://wiki.xfce.org/releng/4.14/roadmap">https://wiki.xfce.org/releng/4.14/roadmap</a>
<br>
[2] <a class="moz-txt-link-freetext"
href="https://git.xfce.org/panel-plugins/xfce4-cpugraph-plugin/">https://git.xfce.org/panel-plugins/xfce4-cpugraph-plugin/</a>
<br>
[3] <a class="moz-txt-link-freetext"
href="https://git.xfce.org/panel-plugins/xfce4-mailwatch-plugin/">https://git.xfce.org/panel-plugins/xfce4-mailwatch-plugin/</a>
<br>
[4] <a class="moz-txt-link-freetext"
href="https://git.xfce.org/panel-plugins/xfce4-weather-plugin/">https://git.xfce.org/panel-plugins/xfce4-weather-plugin/</a>
<br>
</blockquote>
</div>
</body>
</html>