xfce4-dict-plugin vs. xfdict

Jannis Pohlmann jannis at xfce.org
Tue Mar 11 18:28:15 CET 2008


Hey,

Am Tue, 11 Mar 2008 18:23:00 +0100
schrieb Enrico Tröger <enrico.troeger at uvena.de>:

> Hi all,
> 
> I'm planning to extend my xfce4-dict-plugin to _also_ be a stand-alone
> application. I.e., there will also be a xfdict binary which 
> a) opens the plugin's main window if the plugin is loaded in the panel
> b) starts a usual stand-alone application if the panel is not loaded.
> 
> So, Xfce also will get a stand-alone dictionary application ;-) and
> only a little new code is necessary because the main code is reused
> from the already existing panel plugin code.
> 
> I still have two questions:
> a) should I build and install a shared library for the common code
> (main window, networking code, aspell support code)? Or is it
> sufficient to build a static library archive(.a) and link it into both
> binaries? A shared library would be better of course but it would
> cause more administrative work for a maybe small advantage. We are
> talking about approx. 1300 lines of source code which would be built
> into the library.

I'd say just make it static.
 
> b) how should I call the stand-alone app? xfdict, xfdict4, xfce4-dict,
> xfce-dict? I'm not really sure how the existing apps were named, some
> have the "4" in the name, others not. Some are prefixed with "xf",
> others with "xfce4-". So, what's the best for me?

Personally, I prefer the xfce4- prefix (like in xfce4-panel or
xfce4-appfinder). It's up to you of course.

  - Jannis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20080311/dd0af4e5/attachment.pgp>


More information about the Xfce mailing list