Page 1 of 1

SOLVED - slkbuild questions

Posted: 15. Apr 2010, 01:24
by jbs1136
I am new to building packages and have some questions. So far I have built hplip version needed for my printer. Had some problems but questions asked and answered so I thought I would try another package. I want to build extreme tux racer. My granddaughter loves it. I looked at the .SlackBuild at slackbuild.org. I also downloaded and did the "normal" install (./configure, make, make install). Then I did ./configure --help and used that info to make some adjustments to SLKBUILD. When I did the make install it put the binary executable file in /usr/share/applications. No desktop configuration file was made. When I ran slkbuild -x the package built okay and I installed it. The problems I encountered was there was no desktop configuration file made and none of the icons were installed.

When I extracted the .tar.gz there were files etracericons.zip and etracericon.svg all in the same directory as the configure, Makefile, INSTALL files.

Where did I go wrong? any help appreciated.

john

Re: slkbuild questions

Posted: 15. Apr 2010, 09:01
by gapan
jbs1136 wrote:When I did the make install it put the binary executable file in /usr/share/applications.
I'm sure there's something wrong with that statement.
jbs1136 wrote:No desktop configuration file was made. When I ran slkbuild -x the package built okay and I installed it. The problems I encountered was there was no desktop configuration file made and none of the icons were installed.
Maybe the makefile doesn't actually install any .desktop files and you'll need to do it yourself. It's not unusual for applications to not install a .desktop file, although they should. Same goes for icon files. Sometimes they are included in the source, but they don't get installed, sometimes they're not included at all.

Re: slkbuild questions

Posted: 15. Apr 2010, 14:01
by jbs1136
Okay, thanks for that info. I know how to make a .desktop file but where do I put it? Would that be in the same place as the slkbuild? How do I include it, do I put something in the slkbuild or edit the makefile? Would I put instructions in the slkbuild in the do inst section?

john

Re: slkbuild questions

Posted: 15. Apr 2010, 14:09
by gapan

Re: slkbuild questions

Posted: 15. Apr 2010, 14:17
by jbs1136
Thanks, that answered those questions. I saved a copy to go by, if that's okay.

See, that's why I like this OS and this forum, people helping you to learn and not preaching to you.

Thanks for your help, and my granddaughter thanks you also.

john