You are not logged in.

#26 2006-10-05 12:29:45

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,352

Re: vdrift - racing game

Default compileflags taken from /etc/makepkg.conf :

# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
export CARCH="i686"
export CHOST="i686-pc-linux-gnu"
#-- Exclusive: will only run on i686 or higher (P6, Athlon)
export CFLAGS="-march=i686 -O2 -pipe"
export CXXFLAGS="-march=i686 -O2 -pipe"

NOTE : building from SVN version 1251

building with release=1 os_cxxflags=1

g++ -o build/vamos/body/Aerodynamic_Device.o -c -Wall -Wno-non-virtual-dtor -O2 -DENABLE_NLS -DPACKAGE="VDrift" -DLOCALEDIR="/usr/share/locale" -march=i686 -O2 -pipe -DENABLE_BINRELOC -DVERSION="2006-10-05" -Iinclude src/vamos/body/Aerodynamic_Device.cc

building with release=0 os_cxxflags=1

g++ -o build/vamos/body/Aerodynamic_Device.o -c -Wall -Wno-non-virtual-dtor -g3 -DENABLE_NLS -DPACKAGE="VDrift" -DLOCALEDIR="/usr/share/locale" -march=i686 -O2 -pipe -DDEBUG=1 -DENABLE_BINRELOC -DVERSION="2006-10-05" -Iinclude src/vamos/body/Aerodynamic_Device.cc

Looks like if vdrift devs add i686 to the values for the arch variable for scons we can build with scons release=1 arch=i686 and no longer need the os_cxxflags .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#27 2006-10-06 12:20:19

EnjoMitch
Member
From: Poland, Bytom
Registered: 2006-10-03
Posts: 17

Re: vdrift - racing game

So I believe it's all good.

New version has just been released (13:16 GMT). Happy packaging smile Looking forward to grabbing a copy smile

ps. I passed Thelusv full Arch default flag list

<EnjoMitch> http://rafb.net/paste/results/jV11DP30.html
<thelusiv> i saw it cool
<EnjoMitch> here is the full flag list
<thelusiv> that's exactly what i needed to know, thanks smile

Which can mean only good things in future smile

Offline

#28 2006-10-06 14:16:32

Jacek Poplawski
Member
From: Poland
Registered: 2006-01-10
Posts: 736
Website

Re: vdrift - racing game

Please put PKGBUILD into AUR in this weekend, or I will do it on Monday, we need to have this game in AUR! smile

Offline

#29 2006-10-06 16:12:59

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,352

Re: vdrift - racing game

I'll get working on it, package will probably be in aur sometime tomorrow.

(downloading the source now)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#30 2006-10-07 19:33:24

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,352

Re: vdrift - racing game

Package made, tested and uploaded.

Vdrift in AUR

EnjoMitch, could you inform the vdrift developers ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#31 2006-10-08 21:03:42

EnjoMitch
Member
From: Poland, Bytom
Registered: 2006-10-03
Posts: 17

Re: vdrift - racing game

Thanks. I passed it on IRC channel and forum.

[EDIT]

thelusiv asked me to make an announcement on main page. If there is any specific info about the package then the announcement there is a good place to ... place it smile

Vdrift files in source box at AUR don't work

Offline

#32 2006-10-08 22:42:42

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,352

Re: vdrift - racing game

Ok, it's the same problem we are having with sourceforge mirrors for some time now.

See http://bbs.archlinux.org/viewtopic.php?t=24465

I am changing the pkgbuild to use a specific sf mirror for the download as that works all the time.

EDIT : Download URL's  changed, new pkgbuild uploaded.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#33 2006-10-12 06:21:05

EnjoMitch
Member
From: Poland, Bytom
Registered: 2006-10-03
Posts: 17

Re: vdrift - racing game

Shouldn't the PKGBUILD create a symlink in PATH to vdrift binary ?

Offline

#34 2006-10-12 12:37:37

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,352

Re: vdrift - racing game

a symlink in path seems a bit overkill for 1 command, but there are other ways to achive that.

I've included a .desktop entry that will put vdrift in the kDE & Gnome menu, and you can start it by using the absolute path in a terminal

A simple shell script in /usr/bin could be used to start vdrift from any place, but i felt arch users who need it can make that themselves, so i didn't include it.

Here's an example script :

#! /bin/sh
/usr/share/vdrift/bin/vdrift $*

As root put it in /usr/bin and make it executable.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#35 2006-10-12 13:22:53

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: vdrift - racing game

Lone_Wolf wrote:

A simple shell script in /usr/bin could be used to start vdrift from any place, but i felt arch users who need it can make that themselves, so i didn't include it.

Even Archers are lazy, I'd include it.


Haven't been here in a while. Still rocking Arch. smile

Offline

#36 2006-10-14 08:54:52

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,352

Re: vdrift - racing game

Sigi wrote:
Lone_Wolf wrote:

A simple shell script in /usr/bin could be used to start vdrift from any place, but i felt arch users who need it can make that themselves, so i didn't include it.

Even Archers are lazy, I'd include it.

shell script added


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#37 2007-04-14 11:05:30

gyo
Member
From: France
Registered: 2007-04-14
Posts: 19

Re: vdrift - racing game

Here is a PKGBUILD for the last vdrift release ! (2007-03-23)
It's a rework from Lone_Wolf (thanks a lot Lone_Wolf).

You can see more details from a comment I post to http://aur.archlinux.org/packages.php?d … =1&ID=7066

Hope this PKGBUILD works for you too...

pkgname=vdrift
pkgver=2007.03.23
_realver=2007-03-23
pkgrel=1
pkgdesc="A free drift racing simulator with excellent physics and graphics. (FULL version)"
url="http://vdrift.net"
license=('GPL')
depends=(freealut sdl_net sdl_image mesa)
makedepends=(scons)
source=(http://ovh.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$_realver-src.tar.bz2 http://ovh.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$_realver-data-full.tar.bz2 vdrift.desktop)
md5sums=('efc5c3c409923382035738798a6392e8' '2136ce2e347a018f2400e3f114e005fd' '563260b87f8404860a20f1dfd55fac5a')

build() {
rm $startdir/src/build/$pkgname-$_realver-src/data -fr
mv $startdir/src/build/$pkgname-$_realver-src/* $startdir/src/$pkgname-$_realver-src/
rm $startdir/src/build/ -fr
mkdir -p $startdir/pkg/usr/bin
mkdir -p $startdir/pkg/usr/share/{applications,$pkgname/bin}
cd $startdir/src/$pkgname-$_realver-src
scons destdir=$startdir/pkg datadir=share/$pkgname/data bindir=share/$pkgname/bin release=1 os_cxxflags=1
scons install destdir=$startdir/pkg datadir=share/$pkgname/data bindir=share/$pkgname/bin release=1 os_cxxflags=1
#copy icons & desktop file, shell script
ln -s $startdir/pkg/usr/share/vdrift/bin/vdrift $startdir/pkg/usr/bin/vdrift
install -D -m644 data/textures/icons/vdrift-16x16.png $startdir/pkg/usr/share/icons/hicolor/16x16/apps/vdrift.png
install -D -m644 data/textures/icons/vdrift-32x32.png $startdir/pkg/usr/share/icons/hicolor/32x32/apps/vdrift.png
install -D -m644 data/textures/icons/vdrift-64x64.png $startdir/pkg/usr/share/icons/hicolor/64x64/apps/vdrift.png
install -D -m644 $startdir/src/vdrift.desktop $startdir/pkg/usr/share/applications
}

Offline

#38 2007-07-12 19:21:42

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,352

Re: vdrift - racing game

I've finally had the time to update my packages (between jobs atm) and made a pkgbuild for the 2007.03.23 version .

changes in PKGBUILD :

works with pacman 3

builds with force feedback support

symbolic link so starting works better

correction for illegal typedef in source (needed since gcc 4.2.0 )

support for x86_64 in pkgbuild, arch=x86_64 will be added once i have confirmation that it works.


@ Gyo : thanks for your pkgbuild. It made it a lot easier for me to make the new pkgbuild.

Last edited by Lone_Wolf (2007-07-12 19:22:01)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#39 2009-06-08 02:04:32

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: vdrift - racing game

any way someone have a more recent PKGBUILD? both packages in AUR are dying on me


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

Board footer

Powered by FluxBB