Re: [anjuta-list] creating a deb package with anjuta



Hi!

Am Montag, den 27.06.2011, 23:04 -0500 schrieb Benton Greene:
> Thanks! I think at this point just distributing the source is good
> enough. One more quick question: when installing from source, is there
> a way to make it add an entry in the Ubuntu application menu?

Yes, you need to install a .desktop file for this. Create a file
<yourapp>.desktop.in.in the the main source directory which looks about
like [1] (no need to fill all the X-* fields). Then add the following
snippet to your Makefile.am:

gnomemenudir = $(datadir)/applications
gnomemenu_premerge_file = <yourapp>.desktop.in
gnomemenu_DATA = $(gnomemenu_premerge_file:.desktop.in=.desktop)

Also add yourapp.desktop.in to the list of AC_CONFIG_FILES in
configure.ac.

Actually, anjuta should create this file for applications projects,
filed https://bugzilla.gnome.org/show_bug.cgi?id=653546.

Regards,
Johannes

[1] http://git.gnome.org/browse/anjuta/tree/anjuta.desktop.in.in

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]