 |
forums.xandros.com Xandros User Forums
|
| View previous topic :: View next topic |
| Author |
Message |
aldube Xandrosianschwing
Joined: 02 Jan 2005 Posts: 2332 Location: Calgary, Alberta, Canada
|
Posted: Sat Nov 19, 2005 2:27 pm Post subject: Created freedroidRPG 0.9.13 DEB package |
|
|
freedroidRPG is a really fun shoot-em rpg video game for linux featuring TUX as the hero who's saving the world from Micro$oft programmed robots. Source code came from http://prdownloads.sourceforge.net/freedroid/freedroidrpg-0.9.13.tar.bz2?download and it was pretty easy to compile.
cl-sdl-img & libsdl-net1.2-dev are the dependencies needed for compilling it; I'm not sure what dependencies are needed for installing just the DEB file.
# cd freedroidrpg-0.9.13
# ./configure --with-x
# make
# checkinstall -D
The file is pretty big 89MB; however, it's a pretty good game with good graphics.
Does anyone know how to modify the DEB file so the freedroidRPG command is added to the Xandros 3 KDE games menu?
I wonder if Archlug would be interested in offering this game as a Xandros 3 download for other Xandros 3 users? _________________ Linux simply works for me...
Registered Linux User 384461 |
|
| Back to top |
|
 |
Andrew Xendrosian

Joined: 22 Feb 2003 Posts: 1739 Location: Wisconsin, USA
|
Posted: Sat Nov 19, 2005 4:45 pm Post subject: |
|
|
| Quote: | Does anyone know how to modify the DEB file so the freedroidRPG command is added to the Xandros 3 KDE games menu?
|
First you need to crack open the Deb file so you can alter it. I'll assume the file name is freedroidrpg-0.9.131_i386.deb
From the directory the .deb file is in do:
mkdir deb
dpkg -x freedroidrpg-0.9.131_i386.deb deb/freedroidrpg-0.9.131_i386
dpkg -e freedroidrpg-0.9.131_i386.deb deb/freedroidrpg-0.9.131_i386/DEBIAN
now using XFM enter that directory (deb/freedroidrpg-0.9.131_i386), you'll see 2 directories: usr and DEBIAN
Everything you see here (with the exception of the DEBIAN directory) will be copied to the root of the system at install time.
Now enter "usr/share" and if necessary create a directory called "applications" (of course case and spelling are important).
Create (or use a supplied) .desktop file, if you have to create it, use this as an example:
| Code: |
[Desktop Entry]
Encoding=UTF-8
Name=Minesweeper
Icon=kmines
Exec=kmines
Type=Application
DocPath=kmines/index.html
X-KDE-StartupNotify=true
X-DCOP-ServiceType=Multi
Categories=StrategyGame
|
The item's menu location is determined by the Categories line, your's should be:
Categories=ArcadeGame
or
Categories=StrategyGame
which ever you see fit, and that .desktop file needs to go into usr/share/applications.
When that's done, go back to the console and issue:
dpkg -b deb/freedroidrpg-0.9.131_i386
(it's important not to include a trailing "/", or it wont work)
your NEW freedroid deb file will be in the deb directory
and that should be it!
--Andrew _________________ Registered Linux user number 316996 |
|
| Back to top |
|
 |
aldube Xandrosianschwing
Joined: 02 Jan 2005 Posts: 2332 Location: Calgary, Alberta, Canada
|
Posted: Sat Nov 19, 2005 4:54 pm Post subject: |
|
|
Awesome; making Xandros 3 DEB packages looks like is going to be fun.
Thanks _________________ Linux simply works for me...
Registered Linux User 384461 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|