SOLVED - slkbuild questions

General talk about packaging procedures and packages.
Post Reply
jbs1136
Posts: 75
Joined: 5. Apr 2010, 16:21
Location: Washington

SOLVED - slkbuild questions

Post 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
Last edited by jbs1136 on 15. Apr 2010, 15:39, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6349
Joined: 6. Jun 2009, 17:40

Re: slkbuild questions

Post 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.
Image
Image
jbs1136
Posts: 75
Joined: 5. Apr 2010, 16:21
Location: Washington

Re: slkbuild questions

Post 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
User avatar
gapan
Salix Wizard
Posts: 6349
Joined: 6. Jun 2009, 17:40

Re: slkbuild questions

Post by gapan »

Image
Image
jbs1136
Posts: 75
Joined: 5. Apr 2010, 16:21
Location: Washington

Re: slkbuild questions

Post 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
Post Reply