[Goodies-dev] Advice needed
Miguel Guedes
miguel.a.guedes at gmail.com
Tue Jul 3 19:08:15 CEST 2012
Great, very useful stuff. Thanks, Landry.
On 03/07/12 18:03, Landry Breuil wrote:
>
> Le 3 juil. 2012 18:45, "Miguel Guedes" <miguel.a.guedes at gmail.com
> <mailto:miguel.a.guedes at gmail.com>> a écrit :
> > Could anyone please provide me with info on how to build the (new?)
> so modules that some plugins generate? I've successfully hacked away
> and created patches for the netload plugin, which generates an
> executable, but some plugins now seem to generate an so module
> instead? I read somewhere that there are now external and internal
> plugins; maybe it is related to this?
>
> Look at the git history of the plugins already converted to modules
> (wavelan, mpc, systemload..), it is generally a straightforward
> change. See for example
> http://git.xfce.org/panel-plugins/xfce4-time-out-plugin/commit/?id=af8489f66dd8fc083dadd0dfcc5f31a1c575b11b
>
> > Also, I've so far been working on code straight from git and
> building using default settings. What ways are there to have the
> plugins make-installed to my current XFCE installation? In other
> words, as it is, make installs to /usr/local/share/... and it'd be
> great to have a (fairly?) safe way of make-installing and integrating
> with my current XFCE installation so as to allow for speedy building
> and testing.
> >
> > So far I've been reluctant to try autotools configuration settings
> as I use this machine for work too. I'm willing to try anything with
> advice from someone who knows their stuff though!
>
> What i do is in two steps :
> - create a plugin-git.desktop file along the 'regularly released'
> desktop file for that plugin. Depending on your xfce install it might
> be in /usr/share/xfce4/panel/plugins or
> /usr/share/xfce4/panel-plugins/ for old plugins. Of course that's
> assuming your panel is installed in /usr. In that desktop file point
> to the binary created in your source tree - if still building a
> binary. Amend the 'name' key in the desktop file with '-git' or smth
> like that so that the 'add plugin' dialog shows two different entries
> for the regular and the git version.
> - if building a module, set the x-xfce-module key to libfoo-git (where
> plugin is foo) and make a symlink from
> usr/lib/xfce4/panel/plugina/libfoo-git.so to where the .so is created
> in your source tree (check for panel-plugin/.libs/libfoo.so when
> building with libtool)
> - eventually, restart the panel if it doesnt automatically pick the
> new entry.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/goodies-dev/attachments/20120703/ee0b321a/attachment.html>
More information about the Goodies-dev
mailing list