Re: include desktop file and icon

2009-05-17 Thread Chris Bannister
[Please don't top-post. Instead, remove quoted material that you're not replying to, and reply inline to the points you're responding to.] On Tue, May 12, 2009 at 11:08:29AM +0200, Grammostola Rosea wrote: I hope this doesn't seem harsh ;) But in my experience, it works the best at start to

Re: include desktop file and icon

2009-05-12 Thread Peter Pentchev
On Mon, May 11, 2009 at 05:49:02PM +0200, Grammostola Rosea wrote: Paul Wise wrote: On Mon, May 11, 2009 at 5:40 PM, Grammostola Rosea rosea.grammost...@gmail.com wrote: my install file looks like: phasex-0.11.1/phasex.desktop usr/share/applications phasex-0.11.1/pixmaps/*

Re: include desktop file and icon

2009-05-12 Thread Grammostola Rosea
Peter Pentchev wrote: On Mon, May 11, 2009 at 05:49:02PM +0200, Grammostola Rosea wrote: Paul Wise wrote: On Mon, May 11, 2009 at 5:40 PM, Grammostola Rosea rosea.grammost...@gmail.com wrote: my install file looks like: phasex-0.11.1/phasex.desktop usr/share/applications

Re: include desktop file and icon

2009-05-12 Thread Peter Pentchev
On Tue, May 12, 2009 at 11:08:29AM +0200, Grammostola Rosea wrote: Peter Pentchev wrote: On Mon, May 11, 2009 at 05:49:02PM +0200, Grammostola Rosea wrote: [snip] lintian says: P: phasex source: direct-changes-in-diff-but-no-patch-system misc/phasex.desktop and 1 more Sigh.

Re: include desktop file and icon

2009-05-12 Thread Neil Williams
On Tue, 12 May 2009 11:08:29 +0200 Grammostola Rosea rosea.grammost...@gmail.com wrote: And understanding what it means and why it is there is usually - and in this case, too - as simple as *reading* the output of lintian -i, thinking about it a bit, then reading what people with similar

Re: include desktop file and icon

2009-05-12 Thread Peter Pentchev
On Tue, May 12, 2009 at 12:43:21PM +0300, Peter Pentchev wrote: [snip] Well... I think I should rather let others answer that - I'm not a DD, not applied even to DM yet (though I intend to do both soon), just a random volunteer who tries to help Debian every once in a while with a package or

Re: include desktop file and icon

2009-05-11 Thread Grammostola Rosea
Grammostola Rosea wrote: Dmitrijs Ledkovs wrote: 2009/5/9 Grammostola Rosea rosea.grammost...@gmail.com: Neil Williams wrote: On Sat, 09 May 2009 21:11:25 +0200 Grammostola Rosea rosea.grammost...@gmail.com wrote: After you build the package, check the contents of debian/tmp

Re: include desktop file and icon

2009-05-11 Thread Paul Wise
On Mon, May 11, 2009 at 5:40 PM, Grammostola Rosea rosea.grammost...@gmail.com wrote: my install file looks like: phasex-0.11.1/phasex.desktop  usr/share/applications phasex-0.11.1/pixmaps/* usr/share/pixmaps Comments, suggestions to solve this? phasex.desktop usr/share/applications

Re: include desktop file and icon

2009-05-11 Thread Grammostola Rosea
Paul Wise wrote: On Mon, May 11, 2009 at 5:40 PM, Grammostola Rosea rosea.grammost...@gmail.com wrote: my install file looks like: phasex-0.11.1/phasex.desktop usr/share/applications phasex-0.11.1/pixmaps/* usr/share/pixmaps Comments, suggestions to solve this?

Re: include desktop file and icon

2009-05-10 Thread Grammostola Rosea
Andrew wrote: On Sat, May 9, 2009 at 6:12 PM, Grammostola Rosea rosea.grammost...@gmail.com wrote: 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

Re: include desktop file and icon

2009-05-10 Thread Grammostola Rosea
Paul Wise wrote: On Sun, May 10, 2009 at 6:12 AM, Grammostola Rosea rosea.grammost...@gmail.com wrote: [Desktop Entry] Name=PHASEX Comment=Phase Harmonic Advanced Synthesis Experiment Icon=phasex-icon.png Exec=phasex Terminal=false Type=Application Encoding=UTF-8

Re: include desktop file and icon

2009-05-10 Thread Patrick Matthäi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Grammostola Rosea schrieb: Please run desktop-file-validate on this, I can see at least two things wrong with it (the Encoding field and .png on the end of the icon name should both be removed). $ desktop-file-validate phasex.desktop bash:

Re: include desktop file and icon

2009-05-10 Thread Holger Levsen
Hi, On Sonntag, 10. Mai 2009, Grammostola Rosea wrote: $ desktop-file-validate phasex.desktop bash: desktop-file-validate: command not found apt-get install apt-file apt-file update apt-file search desktop-file-validate regards, Holger signature.asc Description: This is a

Re: include desktop file and icon

2009-05-10 Thread Grammostola Rosea
Dmitrijs Ledkovs wrote: 2009/5/9 Grammostola Rosea rosea.grammost...@gmail.com: Neil Williams wrote: On Sat, 09 May 2009 21:11:25 +0200 Grammostola Rosea rosea.grammost...@gmail.com wrote: After you build the package, check the contents of debian/tmp Use the matching paths

Re: include desktop file and icon

2009-05-10 Thread Grammostola Rosea
Grammostola Rosea wrote: Dmitrijs Ledkovs wrote: 2009/5/9 Grammostola Rosea rosea.grammost...@gmail.com: Neil Williams wrote: On Sat, 09 May 2009 21:11:25 +0200 Grammostola Rosea rosea.grammost...@gmail.com wrote: After you build the package, check the contents of debian/tmp

Re: include desktop file and icon

2009-05-09 Thread Grammostola Rosea
Neil Williams wrote: On Fri, 08 May 2009 22:51:57 +0200 Grammostola Rosea rosea.grammost...@gmail.com wrote: Andrew wrote: On Fri, May 8, 2009 at 3:08 PM, Grammostola Rosea rosea.grammost...@gmail.com wrote: Hi, One way: you can create a install file in debian directory,

Re: include desktop file and icon

2009-05-09 Thread Neil Williams
On Sat, 09 May 2009 19:56:20 +0200 Grammostola Rosea rosea.grammost...@gmail.com wrote: One way: you can create a install file in debian directory, that contain some similar to: package/pixmaps/graph.xpm usr/share/pixmaps/ I use cdbs Look at the dh_install manpage and

Re: include desktop file and icon

2009-05-09 Thread Grammostola Rosea
Neil Williams wrote: On Sat, 09 May 2009 19:56:20 +0200 Grammostola Rosea rosea.grammost...@gmail.com wrote: One way: you can create a install file in debian directory, that contain some similar to: package/pixmaps/graph.xpm usr/share/pixmaps/ I use

Re: include desktop file and icon

2009-05-09 Thread Neil Williams
On Sat, 09 May 2009 20:33:32 +0200 Grammostola Rosea rosea.grammost...@gmail.com wrote: debian/$package.install If your package is foo, that is debian/foo.install Didn't you check the gpe-expenses source code as I suggested? Yes, but it handles total different things, I could figure

Re: include desktop file and icon

2009-05-09 Thread Grammostola Rosea
Neil Williams wrote: On Sat, 09 May 2009 20:33:32 +0200 Grammostola Rosea rosea.grammost...@gmail.com wrote: debian/$package.install If your package is foo, that is debian/foo.install Didn't you check the gpe-expenses source code as I suggested? Yes, but it handles

Re: include desktop file and icon

2009-05-09 Thread Grammostola Rosea
Neil Williams wrote: On Sat, 09 May 2009 21:11:25 +0200 Grammostola Rosea rosea.grammost...@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

Re: include desktop file and icon

2009-05-09 Thread Neil Williams
On Sat, 09 May 2009 21:11:25 +0200 Grammostola Rosea rosea.grammost...@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

Re: include desktop file and icon

2009-05-09 Thread Dmitrijs Ledkovs
2009/5/9 Grammostola Rosea rosea.grammost...@gmail.com: Neil Williams wrote: On Sat, 09 May 2009 21:11:25 +0200 Grammostola Rosea rosea.grammost...@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

Re: include desktop file and icon

2009-05-09 Thread Grammostola Rosea
Dmitrijs Ledkovs wrote: 2009/5/9 Grammostola Rosea rosea.grammost...@gmail.com: Neil Williams wrote: On Sat, 09 May 2009 21:11:25 +0200 Grammostola Rosea rosea.grammost...@gmail.com wrote: After you build the package, check the contents of debian/tmp Use the matching paths

Re: include desktop file and icon

2009-05-09 Thread Andrew
On Sat, May 9, 2009 at 6:12 PM, Grammostola Rosea rosea.grammost...@gmail.com wrote: 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?

Re: include desktop file and icon

2009-05-09 Thread Paul Wise
On Sun, May 10, 2009 at 6:12 AM, Grammostola Rosea rosea.grammost...@gmail.com wrote: [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

Re: include desktop file and icon

2009-05-08 Thread Grammostola Rosea
Elías A. M. wrote: On Fri, May 8, 2009 at 12:03 PM, Grammostola Rosea rosea.grammost...@gmail.com mailto:rosea.grammost...@gmail.com wrote: Hi, I'm trying to build an package. It has an desktop file and an pixmaps folder with icons.. But how do I build it with those things

Re: include desktop file and icon

2009-05-08 Thread Andrew
On Fri, May 8, 2009 at 3:08 PM, Grammostola Rosea rosea.grammost...@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

Re: include desktop file and icon

2009-05-08 Thread Grammostola Rosea
Andrew wrote: On Fri, May 8, 2009 at 3:08 PM, Grammostola Rosea rosea.grammost...@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

Re: include desktop file and icon

2009-05-08 Thread Neil Williams
On Fri, 08 May 2009 22:51:57 +0200 Grammostola Rosea rosea.grammost...@gmail.com wrote: Andrew wrote: On Fri, May 8, 2009 at 3:08 PM, Grammostola Rosea rosea.grammost...@gmail.com wrote: Hi, One way: you can create a install file in debian directory, that contain some similar to: