rpms/vdrift/F-8 vdrift-20071226-gcc4.3.patch, NONE, 1.1 vdrift-20071226-jamfile.patch, NONE, 1.1 vdrift-20071226-paths.patch, NONE, 1.1 vdrift-SConstruct.patch, NONE, 1.1 vdrift.desktop, NONE, 1.1 vdrift.png, NONE, 1.1 vdrift.spec, NONE, 1.1 sources, 1.1, 1.2
Jon Ciesla (limb)
fedora-extras-commits at redhat.com
Thu Feb 21 12:34:36 UTC 2008
Author: limb
Update of /cvs/pkgs/rpms/vdrift/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8011
Modified Files:
sources
Added Files:
vdrift-20071226-gcc4.3.patch vdrift-20071226-jamfile.patch
vdrift-20071226-paths.patch vdrift-SConstruct.patch
vdrift.desktop vdrift.png vdrift.spec
Log Message:
Initial import.
vdrift-20071226-gcc4.3.patch:
--- NEW FILE vdrift-20071226-gcc4.3.patch ---
--- include/utility.h 2008-02-14 19:22:46.000000000 +0100
+++ include/utility.h 2008-02-14 19:22:46.000000000 +0100
@@ -100,7 +100,7 @@ public:
void SetBox(float x1, float y1, float x2, float y2, const TEXTURE_HANDLE * const texid, int texsize, float opacity);
void SetButton(float x1, float y1, float x2, float y2, float sidewidth, TEXTURE_HANDLE * texid, float opacity);
void SetEllipse( float center_x, float center_y, float radius_x, float radius_y, float color_r, float color_g, float color_b, float opacity );
- void SetQuad( float x1, float y2, float x2, float y2, float x3, float y3, float x4, float y4, TEXTURE_HANDLE * texid, float opacity);
+ void SetQuad( float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, TEXTURE_HANDLE * texid, float opacity);
void SetRotation(float r) {rotation=r;}
void SetDraw(const bool newdraw) {draw=newdraw;}
--- include/serialization.h 2008-02-14 19:30:02.000000000 +0100
+++ include/serialization.h 2008-02-14 19:30:02.000000000 +0100
@@ -8,6 +8,7 @@
#include <sstream>
#include <fstream>
#include <algorithm>
+#include <cstring>
#include "simpletree.h"
@@ -23,6 +24,7 @@ using std::ostream;
using std::ifstream;
using std::ofstream;
using std::pair;
+using std::memcmp;
#define _GENERATEUID_(ptr,uidoutput) unsigned long long uidoutput = (size_t)ptr
vdrift-20071226-jamfile.patch:
--- NEW FILE vdrift-20071226-jamfile.patch ---
--- bullet-2.64/Jamfile.in 2008-02-15 06:55:36.000000000 -0600
+++ bullet-2.64/Jamfile.in 2008-02-15 06:55:36.000000000 -0600
@@ -60,7 +60,6 @@
MsvcGenConfig GLEW.LIBS : glew32.lib ;
SubInclude TOP src ;
-SubInclude TOP Extras ;
-SubInclude TOP Demos ;
+
Depends install_config : [ DoInstall bullet.pc : $(libdir)/pkgconfig ] ;
vdrift-20071226-paths.patch:
--- NEW FILE vdrift-20071226-paths.patch ---
--- SConstruct 2008-02-13 11:01:59.000000000 -0600
+++ SConstruct 2008-02-13 11:01:59.000000000 -0600
@@ -35,8 +35,8 @@
cppdefines = []
default_settingsdir = ".vdrift"
default_prefix = "/usr"
-default_datadir = "share/games/vdrift/data"
-default_bindir = "share/games/vdrift/bin"
+default_datadir = "/share/vdrift"
+default_bindir = "/bin"
# convenience var for identifying a windows platform
vdrift-SConstruct.patch:
--- NEW FILE vdrift-SConstruct.patch ---
--- SConstruct 2007-04-16 10:25:43.000000000 -0500
+++ SConstruct 2007-04-16 10:28:02.000000000 -0500
@@ -352,8 +352,8 @@
# Subdirectories #
#----------------#
Export(['env', 'version', 'src_dir', 'bin_dir'])
-if 'install' in COMMAND_LINE_TARGETS:
- SConscript('data/SConscript')
+#if 'install' in COMMAND_LINE_TARGETS:
+# SConscript('data/SConscript')
if 'src-package' in COMMAND_LINE_TARGETS:
SConscript('po/SConscript')
--- NEW FILE vdrift.desktop ---
[Desktop Entry]
Name=VDrift
GenericName=VDrift
Comment=Drift Racing Simulation
Exec=vdrift
Icon=vdrift
Terminal=false
StartupNotify=false
Type=Application
Categories=Game;SportsGame;
--- NEW FILE vdrift.spec ---
Name: vdrift
Version: 20071226
Release: 3%{?dist}
Summary: VDrift is a cross-platform, open source driving/drift racing simulation
Group: Amusements/Games
License: GPLv2+
URL: http://vdrift.net
Source0: %{name}-2007-12-26-src.tar.bz2
#Original upstream:
#Source0: http://downloads.sourceforge.net/%{name}/%{name}-2007-12-26-src.tar.bz2
# Modified:
# cd docs
# rm HOW_TO_COMPILE.txt SConscript INSTALL
# cd ..
# rm bullet-2.64/glew32.dll
# rm bullet-2.64/GLUT32.DLL
# rm -rf bullet-2.64/Glut
# rm -rf bullet-2.64/Extras
# rm -rf bullet-2.64/Demos
Source1: vdrift.desktop
Source2: vdrift.png
Patch0: vdrift-SConstruct.patch
Patch1: vdrift-20071226-paths.patch
Patch2: vdrift-20071226-gcc4.3.patch
Patch3: vdrift-20071226-jamfile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n)
BuildRequires: SDL-devel
BuildRequires: SDL_image-devel
BuildRequires: SDL_net-devel
BuildRequires: SDL_gfx-devel
BuildRequires: scons
BuildRequires: libGL-devel
BuildRequires: openal-devel
BuildRequires: freealut-devel
BuildRequires: jam
BuildRequires: libvorbis-devel
BuildRequires: desktop-file-utils
Requires: vdrift-data = %{version}
%description
VDrift is a cross-platform, open source driving simulation made with drift
racing in mind. It's powered by the excellent Vamos physics engine. It is
released under the GNU General Public License (GPL) v2. It is currently
available for Linux, FreeBSD, Mac OS X and Windows (Cygwin).
%prep
%setup -qn vdrift
%ifarch ppc ppc64
sed -i 's/linuxx86/linuxppc/' src/SConscript
%endif
%patch0 -p0
%patch1 -p0
%patch2 -p0
%patch3 -p0
/bin/chmod -x src/gamestate.cpp
/bin/chmod -x src/logo.cpp
/bin/chmod -x src/objects.cpp
/bin/chmod -x src/main.cpp
/bin/chmod -x src/game.cpp
%build
cd bullet-2.64
%configure
jam bulletcollision bulletmath
cd ..
CC="gcc" CXX="g++" CXXFLAGS="%{optflags}" scons destdir=%{buildroot} bin=/bin use_binreloc=0 release=1 os_cc=1 os_cxx=1 os_cxxflags=1 NLS=0
%install
rm -rf %{buildroot}
install -d %{buildroot}%{_bindir}
CC="gcc" CXX="g++" CXXFLAGS="%{optflags}" scons install destdir=%{buildroot} bin=/bin use_binreloc=0 release=1 os_cc=1 os_cxx=1 os_cxxflags=1 NLS=0
mkdir -p %{buildroot}%{_datadir}/applications
desktop-file-install --vendor fedora \
--dir %{buildroot}%{_datadir}/applications \
%{SOURCE1}
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
install -p -m 644 %{SOURCE2} \
%{buildroot}%{_datadir}/icons/hicolor/32x32/apps
%post
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_bindir}/vdrift
%doc docs/*
%{_datadir}/applications/fedora-vdrift.desktop
%{_datadir}/icons/hicolor/32x32/apps/vdrift.png
%changelog
* Fri Feb 15 2008 Jon Ciesla <limb at jcomserv.net> - 20071226-3
- Multiple fixes for the review.
* Thu Feb 14 2008 Jon Ciesla <limb at jcomserv.net> - 20071226-2
- Multiple package fixes.
* Tue Feb 12 2008 Jon Ciesla <limb at jcomserv.net> - 20071226-1
- Updated to current release.
* Wed Apr 18 2007 Jon Ciesla <limb at jcomserv.net> - 20070323-4
- Added patch to fix mouse driving from thelusiv at gmail.com.
* Mon Apr 16 2007 Jon Ciesla <limb at jcomserv.net> - 20070323-3
- Corrected patch to allow build without minimal data.
- Added release=1 to scons options.
- Passing compiler flags to scons.
- Turned off translations.
* Mon Apr 04 2007 Jon Ciesla <limb at jcomserv.net> - 20070323-2
- Split out minimal data.
* Thu Mar 28 2007 Jon Ciesla <limb at jcomserv.net> - 20070323-1
- Initial packaging
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/vdrift/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 19 Feb 2008 17:22:35 -0000 1.1
+++ sources 21 Feb 2008 12:34:00 -0000 1.2
@@ -0,0 +1 @@
+9fac2e17f550184f7338dd89cacb1b1f vdrift-2007-12-26-src.tar.bz2
More information about the fedora-extras-commits
mailing list