Re: basic questions for new plugin

Benedikt Meurer <[email protected]>
Newsgroups gmane.comp.desktop.xfce.goodies.devel
Message-ID <[email protected]>
Jean-baptiste Dulong wrote:
> Hi,

Hello Jean-Baptiste,

(Sorry, for the late reply)

> - Where can i post/send a first source tarball ??

Send them to xfce-goodies-dev and [email protected], and probably post them 
on the Xfce forum as well.

> - Is there an easy way to ship an icon with it ? I
> curently load an icon from KDE which looks fine, but i
> don't know how to include it in the project (and use
> autoconf to install it in the right location).

autoconf can't do that, but automake can do. E.g. if your icon is named 
"myicon.png" and its included in the project directory (either the 
toplevel directory or the panel-plugin/ dir), then you need to edit 
Makefile.am to include the following lines:

iconsdir = $(datadir)/myproject/icons
icons_DATA = myicon.png

Adjust the iconsdir path as necessary, but keep it relative to 
$(datadir) - this expands to $(prefix)/share.

Afterwards, rerun autogen.sh.

> thanks.

HTH,
Benedikt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.