Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

vdrift

For developer discussion on package requests
Message
Author
User avatar
banshee
Forum Novice
Forum  Novice
Posts: 19
Joined: Tue Jun 09, 2009 1:33 pm

vdrift

#1 Post by banshee » Mon Oct 04, 2010 3:22 am

I am trying to build vdrift
After unpacking i realized that it makes use of scons.
Oh?
I searched the web and found a link i am not able to post.
Add www to this:-> qandr.org/quentin/writings/debscons
which i barely understand.

Is it possible to create a deb-package when using scons (it sounds so) and is it something worth the trouble? (I barely know how to compile at all ).

First questions first:
In the source directory i got a file called "SConstruct". Do i replace the content of that with the debian info from the link (SConscript) , or do i need to create a SConscript file additionaly.

Or is there a deb-package out there?

User avatar
banshee
Forum Novice
Forum  Novice
Posts: 19
Joined: Tue Jun 09, 2009 1:33 pm

#2 Post by banshee » Mon Oct 04, 2010 3:24 am

http://vdrift.net/
http://www.qandr.org/quentin/writings/debscons

A how-to create deb-packages when using scons would be nice.
Thanks in advance.

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16309
Joined: Fri Dec 15, 2006 8:07 pm

#3 Post by Stevo » Mon Oct 04, 2010 10:00 pm

Do it the easy way and create deb packages from debianized source files from here:

http://archive.getdeb.net/getdeb/ubuntu ... /v/vdrift/

though I can't be sure if we can build it on Mepis...

see here for a short howto:

https://sites.google.com/site/stevosfil ... kports.txt
The optimist proclaims that we live in the best of all possible worlds, and the pessimist fears this is true.

James Branch Cabell

User avatar
banshee
Forum Novice
Forum  Novice
Posts: 19
Joined: Tue Jun 09, 2009 1:33 pm

#4 Post by banshee » Tue Oct 05, 2010 3:44 am

Thanks. I looked through your how-to.
What do i need to take care of when using an Ubuntu package?
(which files do i need to check?)

I download this one:
vdrift_20100630-1~getdeb1.debian.tar.gz
and go the usual way? (mhhh... obviously that is not the one i am looking for)

Might be it won't work ( like said i am not good with compiling anyway). A user at another forum recommended torcs and vdrift as cool autoracing games.
I found torcs in the repos, in fact it is very cool. I found vdrift in old threads, so it once must have been in the repos. That is why i try it (i expect it to be as good as torcs).

User avatar
kesuda
Posts: 38
Joined: Tue Dec 09, 2008 5:37 pm

#5 Post by kesuda » Tue Oct 05, 2010 7:49 pm

banshee:

I have Vdrift installed and running in Mepis 8.5 on my 64 bit machine, so yes it will run on Mepis.

I like TORCS, but like Vdrift better. Great tracks, scenery, and cars.

I also am not experienced compiling. Because of that I used a spare partition and fresh install so as to not break my real install if something went wrong.

From what I remember; I ended up installing more than the instructions listed for dependencies to get it to run. I've got a list of what I ended up with as "installed dependencies" and the instructions I used if you are interested.

I didn't know that such a thing as "debianized" source files were available. I might have tried that instead.

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16309
Joined: Fri Dec 15, 2006 8:07 pm

#6 Post by Stevo » Tue Oct 05, 2010 8:37 pm

banshee wrote:Thanks. I looked through your how-to.
What do i need to take care of when using an Ubuntu package?
(which files do i need to check?)

I download this one:
vdrift_20100630-1~getdeb1.debian.tar.gz
and go the usual way? (mhhh... obviously that is not the one i am looking for)

Might be it won't work ( like said i am not good with compiling anyway). A user at another forum recommended torcs and vdrift as cool autoracing games.
I found torcs in the repos, in fact it is very cool. I found vdrift in old threads, so it once must have been in the repos. That is why i try it (i expect it to be as good as torcs).
You got the first file, you also need the .dsc file, then the big original source file...which you probably already have. If it's exactly the same version as on the getdeb site, you can rename it to exactly the same .orig filename as the big 500+ MB file in that pool, otherwise you will have to download it from there, then put all three files in a folder and run the extraction command on the .dsc file.

Getdeb often puts higher versions in the build-depends in the control file than the program really needs, so if the pbuilder command fails, try changing the versions to Mepis versions in the /debian/control file (inside the new extracted source)
The optimist proclaims that we live in the best of all possible worlds, and the pessimist fears this is true.

James Branch Cabell

User avatar
banshee
Forum Novice
Forum  Novice
Posts: 19
Joined: Tue Jun 09, 2009 1:33 pm

#7 Post by banshee » Wed Oct 06, 2010 12:43 am

From what I remember; I ended up installing more than the instructions listed for dependencies to get it to run. I've got a list of what I ended up with as "installed dependencies" and the instructions I used if you are interested.
Yes, kesuda, i am interested.
I think i can deal with the dependencies problem, but it won't hurt to get some further info.
You got the first file, you also need the .dsc file, then the big original source file...which you probably already have. If it's exactly the same version as on the getdeb site, you can rename it to exactly the same .orig filename as the big 500+ MB file in that pool, otherwise you will have to download it from there, then put all three files in a folder and run the extraction command on the .dsc file.
Ok. I already downloaded the
vdrift_20090615.orig.tar.gz
and tried this and that to know avail. The download took 5 hours, btw.
I also tried to follow the README/INSTALL instructions, but that doesn't work neither (in short it is simply "scons" inside the source folder).

Ok, all three files in one folder, then "running extraction command on the .dsc file"... gotta figure that out.
I wouldn't call that the "easy way " neither.... so far.

User avatar
Brooko
Forum Veteran
Forum Veteran
Posts: 3253
Joined: Sat Apr 21, 2007 11:59 pm

#8 Post by Brooko » Wed Oct 06, 2010 2:22 am

Have a look at this
http://www.mepis.org/docs/en/index.php?title=Backport

It'll give you an example to follow
Desktop - Win 8-64 : Corsair 520HX, P5Q Pro, Q6600 G0 @ 3Ghz, 4Gb DDR2 1066, Asus GTX560 OC, 3xWD 500Gb Sata2, Asus CD/DVD, Logitech Wave Kb, G5, C300 Cam, Audio-gd NFB-12 + LD MKIV + GigaWorks T20.
Netbook - Ubuntu 12.04 64b, Asus 1015PED 2Gb Ram

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16309
Joined: Fri Dec 15, 2006 8:07 pm

#9 Post by Stevo » Wed Oct 06, 2010 2:30 am

Ok, all three files in one folder, then "running extraction command on the .dsc file"... gotta figure that out.
I wouldn't call that the "easy way " neither.... so far.
Besides the full-on packager's guide, did you take a look at the much shorter "backports.txt" one-page guide I linked to? The recipe is given there...

And I hate to tell you this, but the latest version there would be the 20100630 version...that's the date in year--month--day order. Versioning a package with the date in that order makes sure a more recent version alway has a higher number.

Edit: I see about the slow download from the getdeb page. The 20100630.tar.bz2 file downloads much faster from vdrift's SourceForge page, and simply renaming it to the vdrift_20100630.orig.tar.bz2 file should work to get the matching .dsc file to extract it.
The optimist proclaims that we live in the best of all possible worlds, and the pessimist fears this is true.

James Branch Cabell

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16309
Joined: Fri Dec 15, 2006 8:07 pm

#10 Post by Stevo » Wed Oct 06, 2010 3:17 am

OK, that renaming trick worked. Getdeb has the Build-Depends as

debhelper (>= 6), scons,
libsdl-gfx1.2-dev, libsdl-image1.2-dev,
libsdl-net1.2-dev, libvorbis-dev, libglew-dev,
libasio-dev, libboost-regex1.40-dev

All which are available in the stock Mepis 8.5 repos, though it may need the newer libasio-dev in the community repo. You don't need debhelper if you aren't building a deb package, but take it from all of us on the packaging team--you want to build a deb package.

Maybe Tim could build this for the CR; it would save me performing a massive upload of the game data and source files.
The optimist proclaims that we live in the best of all possible worlds, and the pessimist fears this is true.

James Branch Cabell

Post Reply

Return to “Package Requests / Status”