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

Re: include desktop file and icon



Dmitrijs Ledkovs wrote:
2009/5/9 Grammostola Rosea <rosea.grammostola@gmail.com>:
Neil Williams wrote:
On Sat, 09 May 2009 21:11:25 +0200
Grammostola Rosea <rosea.grammostola@gmail.com> wrote:


After you build the package, check the contents of debian/tmp

Use the matching paths in your own files.


I can't find an debian/tmp folder...

\r

You've probably only got a single package, so check the contents of
debian/$package


Doesn't have that either..


A quick tutorial about debian packaging "states". When you build your
package everything that needs to be compiled gets compiled. Then
everything is installed into a temporary directory inside debian/ then
various dh_ commands are run to change/make the temporary directories
fit for actual binary .deb. At the the end metadata, maintainer
scripts and those temp directories are compressed into an archive with
name ending in deb.

To get better understanding let's do this:

1) Change into the directory of your package, eg. cd foo-1.0/
2) Run this command
debuild binary
3) Now go into debian/ and look what you have in there. A good way to
see what's there is to run this:

du -a
Thanks a lot

It seems that everything installs.
But when I build the package and install it on my system I don't see an menu entry (kde4) or an icon. So something is wrong in the desktop file / place / icon type?

usr/share/phasex/pixmaps$ ls
knob.png knob.xpm phasex-icon-16x16.png phasex-icon-22x22.png phasex-icon-32x32.png phasex-icon-48x48.png phasex-icon.png


usr/share/phasex$ ls
help  patchbank  phasex.desktop  pixmaps  sys-midimaps  sys-patches


[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;Audio;


Regards,

\r


Reply to: