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

Re: include desktop file and icon



Neil Williams wrote:
On Fri, 08 May 2009 22:51:57 +0200
Grammostola Rosea <rosea.grammostola@gmail.com> wrote:

Andrew wrote:
On Fri, May 8, 2009 at 3:08 PM, Grammostola Rosea
<rosea.grammostola@gmail.com> wrote:
Hi,
One way: you can create a "install" file in debian directory,
that contain some similar to:

package/pixmaps/graph.xpm usr/share/pixmaps/

and your "rules" files must have "dh_install" in install tag.

A advice, try download some package with "apt-get source" and
revise it. for example some game.

Thanks, I'll take a look at it.
Do you also have an solution for the desktop file?

Again, you can use dh_install. desktop files belong
in /usr/share/applications/


I use cdbs....




Look at the dh_install manpage and see how to create a file in debian/
that tells dh_install where to put the file. Take a look at the source
code of any package that uses CDBS and has a desktop file. gpe-expenses
is one.

Don't get it yet.

I make an file
debian/icon.install

with content:

package/pixmaps  /usr/share/....           ?

there are *.png icons in different formats


and an desktop.install

/phasex-0.11.1/phasex.desktop  /usr/share/applications/


This is how the desktop file looks like

[Desktop Entry]
Name=PHASEX
Comment=Phase Harmonic Advanced Synthesis Experiment
Icon=phasex-icon.png
Exec=phasex
Terminal=false
Type=Application
Encoding=UTF-8

X-Desktop-File-Install-Version=0.10
Categories=X-Jack;X-MIDI;X-Digital_Processing;AudioVideo;Application;X-Fedora;



But how and where do I run the dh_install command with cdbs?

\r


Reply to: