[arch-commits] Commit in simutrans/repos (22 files)
Balló György
bgyorgy at nymeria.archlinux.org
Sat Mar 30 10:55:36 UTC 2013
Date: Saturday, March 30, 2013 @ 11:55:36
Author: bgyorgy
Revision: 87357
archrelease: copy trunk to community-i686, community-x86_64
Added:
simutrans/repos/community-i686/PKGBUILD
(from rev 87356, simutrans/trunk/PKGBUILD)
simutrans/repos/community-i686/config.patch
(from rev 87356, simutrans/trunk/config.patch)
simutrans/repos/community-i686/path-for-game-data.patch
(from rev 87356, simutrans/trunk/path-for-game-data.patch)
simutrans/repos/community-i686/settings-folder.patch
(from rev 87356, simutrans/trunk/settings-folder.patch)
simutrans/repos/community-i686/simutrans.desktop
(from rev 87356, simutrans/trunk/simutrans.desktop)
simutrans/repos/community-x86_64/PKGBUILD
(from rev 87356, simutrans/trunk/PKGBUILD)
simutrans/repos/community-x86_64/config.patch
(from rev 87356, simutrans/trunk/config.patch)
simutrans/repos/community-x86_64/path-for-game-data.patch
(from rev 87356, simutrans/trunk/path-for-game-data.patch)
simutrans/repos/community-x86_64/settings-folder.patch
(from rev 87356, simutrans/trunk/settings-folder.patch)
simutrans/repos/community-x86_64/simutrans.desktop
(from rev 87356, simutrans/trunk/simutrans.desktop)
Deleted:
simutrans/repos/community-i686/PKGBUILD
simutrans/repos/community-i686/config.patch
simutrans/repos/community-i686/fix-build.patch
simutrans/repos/community-i686/path-for-game-data.patch
simutrans/repos/community-i686/settings-folder.patch
simutrans/repos/community-i686/simutrans.desktop
simutrans/repos/community-x86_64/PKGBUILD
simutrans/repos/community-x86_64/config.patch
simutrans/repos/community-x86_64/fix-build.patch
simutrans/repos/community-x86_64/path-for-game-data.patch
simutrans/repos/community-x86_64/settings-folder.patch
simutrans/repos/community-x86_64/simutrans.desktop
-------------------------------------------+
/PKGBUILD | 114 ++++++++++++++++++++++++++++
/config.patch | 104 +++++++++++++++++++++++++
/path-for-game-data.patch | 36 ++++++++
/settings-folder.patch | 24 +++++
/simutrans.desktop | 18 ++++
community-i686/PKGBUILD | 61 --------------
community-i686/config.patch | 52 ------------
community-i686/fix-build.patch | 11 --
community-i686/path-for-game-data.patch | 18 ----
community-i686/settings-folder.patch | 12 --
community-i686/simutrans.desktop | 9 --
community-x86_64/PKGBUILD | 61 --------------
community-x86_64/config.patch | 52 ------------
community-x86_64/fix-build.patch | 11 --
community-x86_64/path-for-game-data.patch | 18 ----
community-x86_64/settings-folder.patch | 12 --
community-x86_64/simutrans.desktop | 9 --
17 files changed, 296 insertions(+), 326 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2013-03-30 10:55:17 UTC (rev 87356)
+++ community-i686/PKGBUILD 2013-03-30 10:55:36 UTC (rev 87357)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
-# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
-# Contributor: Gilles Gagniard <gilles at gagniard.org>
-# Contributor: JD Steffen <jd at steffennet dot org>
-
-pkgname=simutrans
-pkgver=112.1
-_pkgver=112-1
-pkgrel=2
-pkgdesc="An open source transportation simulation game"
-arch=('i686' 'x86_64')
-url="http://simutrans.com/"
-license=('PerlArtistic')
-depends=('gcc-libs' 'zlib' 'sdl_mixer' 'bzip2' 'simutrans-pak64')
-makedepends=('imagemagick')
-optdepends=('timidity++: play MIDI music')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-src-$_pkgver.zip
- http://downloads.sourceforge.net/$pkgname/simulinux-$_pkgver.zip
- settings-folder.patch
- path-for-game-data.patch
- config.patch
- fix-build.patch
- simutrans.desktop)
-md5sums=('926b31ec7f4f0a9e0c987b59f1c96743'
- '3b994ce2203d616d4e0aac2a998e6006'
- 'c87d9a9910bc371df5d50f7f1ec298bb'
- '4648680290b44775b9c47d3758d3bd6c'
- 'd11bc8ee33a34e33341f6ccd90a44dba'
- '7d6329f7db821e3cc22fde5c5c138e2d'
- 'f41f7a08ad517ef2b60412859eb49963')
-
-build() {
- cd "$srcdir"
-
- cp config.template config.default
- patch -Np0 -i "$srcdir/settings-folder.patch"
- patch -Np1 -i "$srcdir/path-for-game-data.patch"
- patch -Np0 -i "$srcdir/config.patch"
- patch -Np0 -i "$srcdir/fix-build.patch"
- convert simutrans.ico -alpha on simutrans.png
- chmod 644 simsys_opengl.cc
-
- make
-}
-
-package() {
- cd "$srcdir"
-
- #binary
- install -Dm755 build/default/sim "$pkgdir/usr/bin/simutrans"
-
- #data
- mkdir -p "$pkgdir/usr/share/games/$pkgname"
- cp -r "$pkgname"/{config,font,music,skin,text} "$pkgdir/usr/share/games/$pkgname"
-
- #desktop file and icon
- install -Dm644 simutrans.png "$pkgdir/usr/share/pixmaps/simutrans.png"
- install -Dm644 simutrans.desktop "$pkgdir/usr/share/applications/simutrans.desktop"
-}
Copied: simutrans/repos/community-i686/PKGBUILD (from rev 87356, simutrans/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-03-30 10:55:36 UTC (rev 87357)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Gilles Gagniard <gilles at gagniard.org>
+# Contributor: JD Steffen <jd at steffennet dot org>
+
+pkgname=simutrans
+pkgver=112.2
+_pkgver=112-2
+pkgrel=1
+pkgdesc="An open source transportation simulation game"
+arch=('i686' 'x86_64')
+url="http://simutrans.com/"
+license=('PerlArtistic')
+depends=('gcc-libs' 'zlib' 'sdl_mixer' 'bzip2' 'simutrans-pak64')
+makedepends=('imagemagick')
+optdepends=('timidity++: play MIDI music')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-src-$_pkgver.zip
+ http://downloads.sourceforge.net/$pkgname/simulinux-$_pkgver.zip
+ settings-folder.patch
+ path-for-game-data.patch
+ config.patch
+ simutrans.desktop)
+md5sums=('26258680f53419b05d4e1d255acbc7d9'
+ '6484d70fa8a0b88ca1b9cb5c3e372b5c'
+ 'c87d9a9910bc371df5d50f7f1ec298bb'
+ '4648680290b44775b9c47d3758d3bd6c'
+ 'd11bc8ee33a34e33341f6ccd90a44dba'
+ 'f41f7a08ad517ef2b60412859eb49963')
+
+build() {
+ cd "$srcdir"
+
+ cp config.template config.default
+ patch -Np0 -i "$srcdir/settings-folder.patch"
+ patch -Np1 -i "$srcdir/path-for-game-data.patch"
+ patch -Np0 -i "$srcdir/config.patch"
+ convert simutrans.ico -alpha on simutrans.png
+
+ make
+}
+
+package() {
+ cd "$srcdir"
+
+ #binary
+ install -Dm755 build/default/sim "$pkgdir/usr/bin/simutrans"
+
+ #data
+ mkdir -p "$pkgdir/usr/share/games/$pkgname"
+ cp -r "$pkgname"/{config,font,music,skin,text} "$pkgdir/usr/share/games/$pkgname"
+
+ #desktop file and icon
+ install -Dm644 simutrans.png "$pkgdir/usr/share/pixmaps/simutrans.png"
+ install -Dm644 simutrans.desktop "$pkgdir/usr/share/applications/simutrans.desktop"
+}
Deleted: community-i686/config.patch
===================================================================
--- community-i686/config.patch 2013-03-30 10:55:17 UTC (rev 87356)
+++ community-i686/config.patch 2013-03-30 10:55:36 UTC (rev 87357)
@@ -1,52 +0,0 @@
---- config.default.orig 2011-11-10 21:48:01.000000000 +0100
-+++ config.default 2011-11-10 21:51:58.383221979 +0100
-@@ -6,23 +6,23 @@
- #BACKEND = allegro
- #BACKEND = gdi
- #BACKEND = sdl
--#BACKEND = mixer_sdl
-+BACKEND = mixer_sdl
- #BACKEND = posix
-
- #COLOUR_DEPTH = 0
--#COLOUR_DEPTH = 16
-+COLOUR_DEPTH = 16
-
- #OSTYPE = amiga
- #OSTYPE = beos
- #OSTYPE = cygwin
- #OSTYPE = freebsd
- #OSTYPE = haiku
--#OSTYPE = linux
-+OSTYPE = linux
- #OSTYPE = mingw
- #OSTYPE = mac
-
- #DEBUG = 3 # Level 1-3, higher number means more debug-friendly, see Makefile
--#OPTIMISE = 1 # Add umpteen optimisation flags
-+OPTIMISE = 1 # Add umpteen optimisation flags
- #PROFILE = 1 # Enable profiling
- #PROFILE = 2 # Enable profiling with optimisation flags, can be used with `OPTIMISE = 1'
-
-@@ -34,9 +34,9 @@
- # Define these as empty strings, if you don't have the respective config program
- #ALLEGRO_CONFIG = allegro-config
- #PNG_CONFIG = pkg-config libpng
--#SDL_CONFIG = sdl-config
-+SDL_CONFIG = sdl-config
-
--#VERBOSE = 1
-+VERBOSE = 1
-
- # The following useful conditional compilation flags exist
- #
-@@ -65,6 +65,9 @@
- #
- # In order to use the flags, add a line like this: (-Dxxx)
- # FLAGS = -DUSE_C
-+ifeq ($(shell uname -m),x86_64)
-+ FLAGS += -DUSE_C
-+endif
-
- # Output directories:
- #
Copied: simutrans/repos/community-i686/config.patch (from rev 87356, simutrans/trunk/config.patch)
===================================================================
--- community-i686/config.patch (rev 0)
+++ community-i686/config.patch 2013-03-30 10:55:36 UTC (rev 87357)
@@ -0,0 +1,52 @@
+--- config.default.orig 2011-11-10 21:48:01.000000000 +0100
++++ config.default 2011-11-10 21:51:58.383221979 +0100
+@@ -6,23 +6,23 @@
+ #BACKEND = allegro
+ #BACKEND = gdi
+ #BACKEND = sdl
+-#BACKEND = mixer_sdl
++BACKEND = mixer_sdl
+ #BACKEND = posix
+
+ #COLOUR_DEPTH = 0
+-#COLOUR_DEPTH = 16
++COLOUR_DEPTH = 16
+
+ #OSTYPE = amiga
+ #OSTYPE = beos
+ #OSTYPE = cygwin
+ #OSTYPE = freebsd
+ #OSTYPE = haiku
+-#OSTYPE = linux
++OSTYPE = linux
+ #OSTYPE = mingw
+ #OSTYPE = mac
+
+ #DEBUG = 3 # Level 1-3, higher number means more debug-friendly, see Makefile
+-#OPTIMISE = 1 # Add umpteen optimisation flags
++OPTIMISE = 1 # Add umpteen optimisation flags
+ #PROFILE = 1 # Enable profiling
+ #PROFILE = 2 # Enable profiling with optimisation flags, can be used with `OPTIMISE = 1'
+
+@@ -34,9 +34,9 @@
+ # Define these as empty strings, if you don't have the respective config program
+ #ALLEGRO_CONFIG = allegro-config
+ #PNG_CONFIG = pkg-config libpng
+-#SDL_CONFIG = sdl-config
++SDL_CONFIG = sdl-config
+
+-#VERBOSE = 1
++VERBOSE = 1
+
+ # The following useful conditional compilation flags exist
+ #
+@@ -65,6 +65,9 @@
+ #
+ # In order to use the flags, add a line like this: (-Dxxx)
+ # FLAGS = -DUSE_C
++ifeq ($(shell uname -m),x86_64)
++ FLAGS += -DUSE_C
++endif
+
+ # Output directories:
+ #
Deleted: community-i686/fix-build.patch
===================================================================
--- community-i686/fix-build.patch 2013-03-30 10:55:17 UTC (rev 87356)
+++ community-i686/fix-build.patch 2013-03-30 10:55:36 UTC (rev 87357)
@@ -1,11 +0,0 @@
-diff -Naur utils/csv.cc utils/csv.cc
---- utils/csv.cc 2012-03-18 21:10:39.000000000 +0000
-+++ utils/csv.cc 2012-05-04 11:06:50.228842822 +0000
-@@ -8,6 +8,7 @@
- #include <cstring>
- #include <stdio.h>
- #include <assert.h>
-+#include <stdlib.h>
-
- #include "csv.h"
- #include "simstring.h"
Deleted: community-i686/path-for-game-data.patch
===================================================================
--- community-i686/path-for-game-data.patch 2013-03-30 10:55:17 UTC (rev 87356)
+++ community-i686/path-for-game-data.patch 2013-03-30 10:55:36 UTC (rev 87357)
@@ -1,18 +0,0 @@
-look in /usr/share/games/simutrans for game data
-
- at DPATCH@
-
---- simutrans.orig/simmain.cc
-+++ simutrans/simmain.cc
-@@ -437,8 +437,9 @@
- strcat( umgebung_t::program_dir, path_sep );
- }
- else {
-- strcpy( umgebung_t::program_dir, argv[0] );
-- *(strrchr( umgebung_t::program_dir, path_sep[0] )+1) = 0;
-+ // strcpy( umgebung_t::program_dir, argv[0] );
-+ // *(strrchr( umgebung_t::program_dir, path_sep[0] )+1) = 0;
-+ strcpy(umgebung_t::program_dir, "/usr/share/games/simutrans/");
-
- chdir( umgebung_t::program_dir );
- }
Copied: simutrans/repos/community-i686/path-for-game-data.patch (from rev 87356, simutrans/trunk/path-for-game-data.patch)
===================================================================
--- community-i686/path-for-game-data.patch (rev 0)
+++ community-i686/path-for-game-data.patch 2013-03-30 10:55:36 UTC (rev 87357)
@@ -0,0 +1,18 @@
+look in /usr/share/games/simutrans for game data
+
+ at DPATCH@
+
+--- simutrans.orig/simmain.cc
++++ simutrans/simmain.cc
+@@ -437,8 +437,9 @@
+ strcat( umgebung_t::program_dir, path_sep );
+ }
+ else {
+- strcpy( umgebung_t::program_dir, argv[0] );
+- *(strrchr( umgebung_t::program_dir, path_sep[0] )+1) = 0;
++ // strcpy( umgebung_t::program_dir, argv[0] );
++ // *(strrchr( umgebung_t::program_dir, path_sep[0] )+1) = 0;
++ strcpy(umgebung_t::program_dir, "/usr/share/games/simutrans/");
+
+ chdir( umgebung_t::program_dir );
+ }
Deleted: community-i686/settings-folder.patch
===================================================================
--- community-i686/settings-folder.patch 2013-03-30 10:55:17 UTC (rev 87356)
+++ community-i686/settings-folder.patch 2013-03-30 10:55:36 UTC (rev 87357)
@@ -1,12 +0,0 @@
---- simsys.cc.orig 2011-10-28 20:32:25.000000000 +0200
-+++ simsys.cc 2011-11-10 23:09:10.380031846 +0100
-@@ -47,7 +47,7 @@
- #elif defined __APPLE__
- sprintf(buffer, "%s/Library/Simutrans", getenv("HOME"));
- #else
-- sprintf(buffer, "%s/simutrans", getenv("HOME"));
-+ sprintf(buffer, "%s/.simutrans", getenv("HOME"));
- #endif
-
- dr_mkdir(buffer);
-
Copied: simutrans/repos/community-i686/settings-folder.patch (from rev 87356, simutrans/trunk/settings-folder.patch)
===================================================================
--- community-i686/settings-folder.patch (rev 0)
+++ community-i686/settings-folder.patch 2013-03-30 10:55:36 UTC (rev 87357)
@@ -0,0 +1,12 @@
+--- simsys.cc.orig 2011-10-28 20:32:25.000000000 +0200
++++ simsys.cc 2011-11-10 23:09:10.380031846 +0100
+@@ -47,7 +47,7 @@
+ #elif defined __APPLE__
+ sprintf(buffer, "%s/Library/Simutrans", getenv("HOME"));
+ #else
+- sprintf(buffer, "%s/simutrans", getenv("HOME"));
++ sprintf(buffer, "%s/.simutrans", getenv("HOME"));
+ #endif
+
+ dr_mkdir(buffer);
+
Deleted: community-i686/simutrans.desktop
===================================================================
--- community-i686/simutrans.desktop 2013-03-30 10:55:17 UTC (rev 87356)
+++ community-i686/simutrans.desktop 2013-03-30 10:55:36 UTC (rev 87357)
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=Simutrans
-Comment=Transportation simulator
-Exec=simutrans
-Icon=simutrans
-Terminal=false
-Type=Application
-Categories=Game;Simulation;
-
Copied: simutrans/repos/community-i686/simutrans.desktop (from rev 87356, simutrans/trunk/simutrans.desktop)
===================================================================
--- community-i686/simutrans.desktop (rev 0)
+++ community-i686/simutrans.desktop 2013-03-30 10:55:36 UTC (rev 87357)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Simutrans
+Comment=Transportation simulator
+Exec=simutrans
+Icon=simutrans
+Terminal=false
+Type=Application
+Categories=Game;Simulation;
+
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2013-03-30 10:55:17 UTC (rev 87356)
+++ community-x86_64/PKGBUILD 2013-03-30 10:55:36 UTC (rev 87357)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
-# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
-# Contributor: Gilles Gagniard <gilles at gagniard.org>
-# Contributor: JD Steffen <jd at steffennet dot org>
-
-pkgname=simutrans
-pkgver=112.1
-_pkgver=112-1
-pkgrel=2
-pkgdesc="An open source transportation simulation game"
-arch=('i686' 'x86_64')
-url="http://simutrans.com/"
-license=('PerlArtistic')
-depends=('gcc-libs' 'zlib' 'sdl_mixer' 'bzip2' 'simutrans-pak64')
-makedepends=('imagemagick')
-optdepends=('timidity++: play MIDI music')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname-src-$_pkgver.zip
- http://downloads.sourceforge.net/$pkgname/simulinux-$_pkgver.zip
- settings-folder.patch
- path-for-game-data.patch
- config.patch
- fix-build.patch
- simutrans.desktop)
-md5sums=('926b31ec7f4f0a9e0c987b59f1c96743'
- '3b994ce2203d616d4e0aac2a998e6006'
- 'c87d9a9910bc371df5d50f7f1ec298bb'
- '4648680290b44775b9c47d3758d3bd6c'
- 'd11bc8ee33a34e33341f6ccd90a44dba'
- '7d6329f7db821e3cc22fde5c5c138e2d'
- 'f41f7a08ad517ef2b60412859eb49963')
-
-build() {
- cd "$srcdir"
-
- cp config.template config.default
- patch -Np0 -i "$srcdir/settings-folder.patch"
- patch -Np1 -i "$srcdir/path-for-game-data.patch"
- patch -Np0 -i "$srcdir/config.patch"
- patch -Np0 -i "$srcdir/fix-build.patch"
- convert simutrans.ico -alpha on simutrans.png
- chmod 644 simsys_opengl.cc
-
- make
-}
-
-package() {
- cd "$srcdir"
-
- #binary
- install -Dm755 build/default/sim "$pkgdir/usr/bin/simutrans"
-
- #data
- mkdir -p "$pkgdir/usr/share/games/$pkgname"
- cp -r "$pkgname"/{config,font,music,skin,text} "$pkgdir/usr/share/games/$pkgname"
-
- #desktop file and icon
- install -Dm644 simutrans.png "$pkgdir/usr/share/pixmaps/simutrans.png"
- install -Dm644 simutrans.desktop "$pkgdir/usr/share/applications/simutrans.desktop"
-}
Copied: simutrans/repos/community-x86_64/PKGBUILD (from rev 87356, simutrans/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-03-30 10:55:36 UTC (rev 87357)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Gilles Gagniard <gilles at gagniard.org>
+# Contributor: JD Steffen <jd at steffennet dot org>
+
+pkgname=simutrans
+pkgver=112.2
+_pkgver=112-2
+pkgrel=1
+pkgdesc="An open source transportation simulation game"
+arch=('i686' 'x86_64')
+url="http://simutrans.com/"
+license=('PerlArtistic')
+depends=('gcc-libs' 'zlib' 'sdl_mixer' 'bzip2' 'simutrans-pak64')
+makedepends=('imagemagick')
+optdepends=('timidity++: play MIDI music')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-src-$_pkgver.zip
+ http://downloads.sourceforge.net/$pkgname/simulinux-$_pkgver.zip
+ settings-folder.patch
+ path-for-game-data.patch
+ config.patch
+ simutrans.desktop)
+md5sums=('26258680f53419b05d4e1d255acbc7d9'
+ '6484d70fa8a0b88ca1b9cb5c3e372b5c'
+ 'c87d9a9910bc371df5d50f7f1ec298bb'
+ '4648680290b44775b9c47d3758d3bd6c'
+ 'd11bc8ee33a34e33341f6ccd90a44dba'
+ 'f41f7a08ad517ef2b60412859eb49963')
+
+build() {
+ cd "$srcdir"
+
+ cp config.template config.default
+ patch -Np0 -i "$srcdir/settings-folder.patch"
+ patch -Np1 -i "$srcdir/path-for-game-data.patch"
+ patch -Np0 -i "$srcdir/config.patch"
+ convert simutrans.ico -alpha on simutrans.png
+
+ make
+}
+
+package() {
+ cd "$srcdir"
+
+ #binary
+ install -Dm755 build/default/sim "$pkgdir/usr/bin/simutrans"
+
+ #data
+ mkdir -p "$pkgdir/usr/share/games/$pkgname"
+ cp -r "$pkgname"/{config,font,music,skin,text} "$pkgdir/usr/share/games/$pkgname"
+
+ #desktop file and icon
+ install -Dm644 simutrans.png "$pkgdir/usr/share/pixmaps/simutrans.png"
+ install -Dm644 simutrans.desktop "$pkgdir/usr/share/applications/simutrans.desktop"
+}
Deleted: community-x86_64/config.patch
===================================================================
--- community-x86_64/config.patch 2013-03-30 10:55:17 UTC (rev 87356)
+++ community-x86_64/config.patch 2013-03-30 10:55:36 UTC (rev 87357)
@@ -1,52 +0,0 @@
---- config.default.orig 2011-11-10 21:48:01.000000000 +0100
-+++ config.default 2011-11-10 21:51:58.383221979 +0100
-@@ -6,23 +6,23 @@
- #BACKEND = allegro
- #BACKEND = gdi
- #BACKEND = sdl
--#BACKEND = mixer_sdl
-+BACKEND = mixer_sdl
- #BACKEND = posix
-
- #COLOUR_DEPTH = 0
--#COLOUR_DEPTH = 16
-+COLOUR_DEPTH = 16
-
- #OSTYPE = amiga
- #OSTYPE = beos
- #OSTYPE = cygwin
- #OSTYPE = freebsd
- #OSTYPE = haiku
--#OSTYPE = linux
-+OSTYPE = linux
- #OSTYPE = mingw
- #OSTYPE = mac
-
- #DEBUG = 3 # Level 1-3, higher number means more debug-friendly, see Makefile
--#OPTIMISE = 1 # Add umpteen optimisation flags
-+OPTIMISE = 1 # Add umpteen optimisation flags
- #PROFILE = 1 # Enable profiling
- #PROFILE = 2 # Enable profiling with optimisation flags, can be used with `OPTIMISE = 1'
-
-@@ -34,9 +34,9 @@
- # Define these as empty strings, if you don't have the respective config program
- #ALLEGRO_CONFIG = allegro-config
- #PNG_CONFIG = pkg-config libpng
--#SDL_CONFIG = sdl-config
-+SDL_CONFIG = sdl-config
-
--#VERBOSE = 1
-+VERBOSE = 1
-
- # The following useful conditional compilation flags exist
- #
-@@ -65,6 +65,9 @@
- #
- # In order to use the flags, add a line like this: (-Dxxx)
- # FLAGS = -DUSE_C
-+ifeq ($(shell uname -m),x86_64)
-+ FLAGS += -DUSE_C
-+endif
-
- # Output directories:
- #
Copied: simutrans/repos/community-x86_64/config.patch (from rev 87356, simutrans/trunk/config.patch)
===================================================================
--- community-x86_64/config.patch (rev 0)
+++ community-x86_64/config.patch 2013-03-30 10:55:36 UTC (rev 87357)
@@ -0,0 +1,52 @@
+--- config.default.orig 2011-11-10 21:48:01.000000000 +0100
++++ config.default 2011-11-10 21:51:58.383221979 +0100
+@@ -6,23 +6,23 @@
+ #BACKEND = allegro
+ #BACKEND = gdi
+ #BACKEND = sdl
+-#BACKEND = mixer_sdl
++BACKEND = mixer_sdl
+ #BACKEND = posix
+
+ #COLOUR_DEPTH = 0
+-#COLOUR_DEPTH = 16
++COLOUR_DEPTH = 16
+
+ #OSTYPE = amiga
+ #OSTYPE = beos
+ #OSTYPE = cygwin
+ #OSTYPE = freebsd
+ #OSTYPE = haiku
+-#OSTYPE = linux
++OSTYPE = linux
+ #OSTYPE = mingw
+ #OSTYPE = mac
+
+ #DEBUG = 3 # Level 1-3, higher number means more debug-friendly, see Makefile
+-#OPTIMISE = 1 # Add umpteen optimisation flags
++OPTIMISE = 1 # Add umpteen optimisation flags
+ #PROFILE = 1 # Enable profiling
+ #PROFILE = 2 # Enable profiling with optimisation flags, can be used with `OPTIMISE = 1'
+
+@@ -34,9 +34,9 @@
+ # Define these as empty strings, if you don't have the respective config program
+ #ALLEGRO_CONFIG = allegro-config
+ #PNG_CONFIG = pkg-config libpng
+-#SDL_CONFIG = sdl-config
++SDL_CONFIG = sdl-config
+
+-#VERBOSE = 1
++VERBOSE = 1
+
+ # The following useful conditional compilation flags exist
+ #
+@@ -65,6 +65,9 @@
+ #
+ # In order to use the flags, add a line like this: (-Dxxx)
+ # FLAGS = -DUSE_C
++ifeq ($(shell uname -m),x86_64)
++ FLAGS += -DUSE_C
++endif
+
+ # Output directories:
+ #
Deleted: community-x86_64/fix-build.patch
===================================================================
--- community-x86_64/fix-build.patch 2013-03-30 10:55:17 UTC (rev 87356)
+++ community-x86_64/fix-build.patch 2013-03-30 10:55:36 UTC (rev 87357)
@@ -1,11 +0,0 @@
-diff -Naur utils/csv.cc utils/csv.cc
---- utils/csv.cc 2012-03-18 21:10:39.000000000 +0000
-+++ utils/csv.cc 2012-05-04 11:06:50.228842822 +0000
-@@ -8,6 +8,7 @@
- #include <cstring>
- #include <stdio.h>
- #include <assert.h>
-+#include <stdlib.h>
-
- #include "csv.h"
- #include "simstring.h"
Deleted: community-x86_64/path-for-game-data.patch
===================================================================
--- community-x86_64/path-for-game-data.patch 2013-03-30 10:55:17 UTC (rev 87356)
+++ community-x86_64/path-for-game-data.patch 2013-03-30 10:55:36 UTC (rev 87357)
@@ -1,18 +0,0 @@
-look in /usr/share/games/simutrans for game data
-
- at DPATCH@
-
---- simutrans.orig/simmain.cc
-+++ simutrans/simmain.cc
-@@ -437,8 +437,9 @@
- strcat( umgebung_t::program_dir, path_sep );
- }
- else {
-- strcpy( umgebung_t::program_dir, argv[0] );
-- *(strrchr( umgebung_t::program_dir, path_sep[0] )+1) = 0;
-+ // strcpy( umgebung_t::program_dir, argv[0] );
-+ // *(strrchr( umgebung_t::program_dir, path_sep[0] )+1) = 0;
-+ strcpy(umgebung_t::program_dir, "/usr/share/games/simutrans/");
-
- chdir( umgebung_t::program_dir );
- }
Copied: simutrans/repos/community-x86_64/path-for-game-data.patch (from rev 87356, simutrans/trunk/path-for-game-data.patch)
===================================================================
--- community-x86_64/path-for-game-data.patch (rev 0)
+++ community-x86_64/path-for-game-data.patch 2013-03-30 10:55:36 UTC (rev 87357)
@@ -0,0 +1,18 @@
+look in /usr/share/games/simutrans for game data
+
+ at DPATCH@
+
+--- simutrans.orig/simmain.cc
++++ simutrans/simmain.cc
+@@ -437,8 +437,9 @@
+ strcat( umgebung_t::program_dir, path_sep );
+ }
+ else {
+- strcpy( umgebung_t::program_dir, argv[0] );
+- *(strrchr( umgebung_t::program_dir, path_sep[0] )+1) = 0;
++ // strcpy( umgebung_t::program_dir, argv[0] );
++ // *(strrchr( umgebung_t::program_dir, path_sep[0] )+1) = 0;
++ strcpy(umgebung_t::program_dir, "/usr/share/games/simutrans/");
+
+ chdir( umgebung_t::program_dir );
+ }
Deleted: community-x86_64/settings-folder.patch
===================================================================
--- community-x86_64/settings-folder.patch 2013-03-30 10:55:17 UTC (rev 87356)
+++ community-x86_64/settings-folder.patch 2013-03-30 10:55:36 UTC (rev 87357)
@@ -1,12 +0,0 @@
---- simsys.cc.orig 2011-10-28 20:32:25.000000000 +0200
-+++ simsys.cc 2011-11-10 23:09:10.380031846 +0100
-@@ -47,7 +47,7 @@
- #elif defined __APPLE__
- sprintf(buffer, "%s/Library/Simutrans", getenv("HOME"));
- #else
-- sprintf(buffer, "%s/simutrans", getenv("HOME"));
-+ sprintf(buffer, "%s/.simutrans", getenv("HOME"));
- #endif
-
- dr_mkdir(buffer);
-
Copied: simutrans/repos/community-x86_64/settings-folder.patch (from rev 87356, simutrans/trunk/settings-folder.patch)
===================================================================
--- community-x86_64/settings-folder.patch (rev 0)
+++ community-x86_64/settings-folder.patch 2013-03-30 10:55:36 UTC (rev 87357)
@@ -0,0 +1,12 @@
+--- simsys.cc.orig 2011-10-28 20:32:25.000000000 +0200
++++ simsys.cc 2011-11-10 23:09:10.380031846 +0100
+@@ -47,7 +47,7 @@
+ #elif defined __APPLE__
+ sprintf(buffer, "%s/Library/Simutrans", getenv("HOME"));
+ #else
+- sprintf(buffer, "%s/simutrans", getenv("HOME"));
++ sprintf(buffer, "%s/.simutrans", getenv("HOME"));
+ #endif
+
+ dr_mkdir(buffer);
+
Deleted: community-x86_64/simutrans.desktop
===================================================================
--- community-x86_64/simutrans.desktop 2013-03-30 10:55:17 UTC (rev 87356)
+++ community-x86_64/simutrans.desktop 2013-03-30 10:55:36 UTC (rev 87357)
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=Simutrans
-Comment=Transportation simulator
-Exec=simutrans
-Icon=simutrans
-Terminal=false
-Type=Application
-Categories=Game;Simulation;
-
Copied: simutrans/repos/community-x86_64/simutrans.desktop (from rev 87356, simutrans/trunk/simutrans.desktop)
===================================================================
--- community-x86_64/simutrans.desktop (rev 0)
+++ community-x86_64/simutrans.desktop 2013-03-30 10:55:36 UTC (rev 87357)
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Simutrans
+Comment=Transportation simulator
+Exec=simutrans
+Icon=simutrans
+Terminal=false
+Type=Application
+Categories=Game;Simulation;
+
More information about the arch-commits
mailing list