[packages/openttd] - updated to 1.3.1

adamg adamg at pld-linux.org
Sun Jun 16 10:39:10 CEST 2013


commit 3146ae059f5905e92fdfbd1afaa65d7650ae85d5
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Sun Jun 16 10:39:07 2013 +0200

    - updated to 1.3.1

 fontconfig2.10.patch | 12 ++++++------
 openttd.spec         |  8 ++++----
 2 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/openttd.spec b/openttd.spec
index 18c0165..f076347 100644
--- a/openttd.spec
+++ b/openttd.spec
@@ -5,12 +5,12 @@
 Summary:	An open source reimplementation of the Microprose game "Transport Tycoon Deluxe"
 Summary(pl.UTF-8):	Otwarta reimplementacja gry Transport Tycoon Deluxe
 Name:		openttd
-Version:	1.2.2
-Release:	3
+Version:	1.3.1
+Release:	1
 License:	GPL v2+
 Group:		X11/Applications/Games
 Source0:	http://us.binaries.openttd.org/binaries/releases/%{version}/%{name}-%{version}-source.tar.xz
-# Source0-md5:	67aef6cab3aff9ca7d8e16f7db344191
+# Source0-md5:	3ec41c83dcf6c05910a7883519d8149a
 Source1:	%{name}.desktop
 Source2:	%{name}-server.desktop
 Patch0:		%{name}-home_etc.patch
@@ -20,7 +20,7 @@ URL:		http://www.openttd.org/
 BuildRequires:	SDL-devel
 BuildRequires:	fontconfig-devel
 BuildRequires:	freetype-devel
-BuildRequires:	grfcodec >= 6.0.0
+BuildRequires:	grfcodec >= 6.0.2
 %{?with_home_etc:BuildRequires:	home-etc-devel}
 BuildRequires:	libpng-devel
 BuildRequires:	libstdc++-devel
diff --git a/fontconfig2.10.patch b/fontconfig2.10.patch
index b94a491..b2248d4 100644
--- a/fontconfig2.10.patch
+++ b/fontconfig2.10.patch
@@ -1,11 +1,11 @@
 --- openttd-1.2.2/config.lib~	2012-09-24 09:09:54.018404061 +0200
 +++ openttd-1.2.2/config.lib	2012-09-24 09:17:48.355053988 +0200
 @@ -2831,7 +2831,7 @@
+ 		fontconfig_config="$with_fontconfig"
+ 	fi
  
- 	version=`$fontconfig_config --modversion 2>/dev/null`
+-	version=`$fontconfig_config --modversion 2>/dev/null`
++ 	version=`$fontconfig_config --modversion 2>/dev/null | cut -d . -f 1,2 --output-delimiter=`
  	ret=$?
--	shortversion=`echo $version | cut -c 1,3`
-+	shortversion=`echo $version | cut -d . -f 1,2 --output-delimiter=`
- 	log 2 "executing $fontconfig_config --modversion"
- 	log 2 "  returned $version"
- 	log 2 "  exit code $ret"
+ 	check_version '2.3' "$version"
+ 	version_ok=$?
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openttd.git/commitdiff/3146ae059f5905e92fdfbd1afaa65d7650ae85d5



More information about the pld-cvs-commit mailing list