SHA256
1
0
forked from pool/gbrainy

Accepting request 58145 from GNOME:Apps

Accepted submit request 58145 from user coolo

OBS-URL: https://build.opensuse.org/request/show/58145
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gbrainy?expand=0&rev=21
This commit is contained in:
Marcus Rückert 2011-01-15 00:28:21 +00:00 committed by Git OBS Bridge
commit 4ff275e253
5 changed files with 37 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bb794e0e5cd3aeb0b8735912783f0f2aae475c762210be2ee921ee69db7d5e6b
size 1219606

3
gbrainy-1.61.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc0d9027e992b52364c140c0c03f5010f84e1684763de0ccad7c86d5108dd9c3
size 1257514

21
gbrainy-fix-build.patch Normal file
View File

@ -0,0 +1,21 @@
From 47b5addb4609607bddebbaa707f7a08576cb6efb Mon Sep 17 00:00:00 2001
From: Jordi Mas <jmas@softcatala.org>
Date: Thu, 13 Jan 2011 21:19:15 +0000
Subject: Fixes CS0188 compiler error in Mono 2.9
---
diff --git a/src/Games/Logic/PuzzleExtraCircle.cs b/src/Games/Logic/PuzzleExtraCircle.cs
index 58797eb..8fce87c 100644
--- a/src/Games/Logic/PuzzleExtraCircle.cs
+++ b/src/Games/Logic/PuzzleExtraCircle.cs
@@ -43,7 +43,7 @@ namespace gbrainy.Games.Logic
{
public Color [] Colors {get; set; }
- public CircleParameters (Color [] colors)
+ public CircleParameters (Color [] colors) : this ()
{
Colors = colors;
}
--
cgit v0.8.3.1

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Jan 14 08:39:12 CET 2011 - vuntz@opensuse.org
- Update to version 1.61:
+ 5 bug fixes
+ Updated translations.
- Add gbrainy-fix-build.patch to fix build with mono 2.8.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 13 09:57:09 CET 2010 - vuntz@opensuse.org Mon Dec 13 09:57:09 CET 2010 - vuntz@opensuse.org

View File

@ -1,5 +1,5 @@
# #
# spec file for package gbrainy (Version 1.60) # spec file for package gbrainy (Version 1.61)
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -19,11 +19,13 @@
Name: gbrainy Name: gbrainy
Version: 1.60 Version: 1.61
Release: 1 Release: 1
License: GPLv2+ License: GPLv2+
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Patch: gbrainy-use-libexecdir.patch Patch: gbrainy-use-libexecdir.patch
# PATCH-FIX-UPSTREAM gbrainy-fix-build.patch vuntz@opensuse.org -- Taken from git, to fix build with mono 2.8
Patch1: gbrainy-fix-build.patch
PreReq: filesystem PreReq: filesystem
Url: http://live.gnome.org/gbrainy Url: http://live.gnome.org/gbrainy
BuildArch: noarch BuildArch: noarch
@ -66,6 +68,7 @@ It provides the following types of games:
%prep %prep
%setup -q %setup -q
%patch %patch
%patch1 -p1
%build %build
export MONO_SHARED_DIR=/var/tmp export MONO_SHARED_DIR=/var/tmp