SHA256
1
0
forked from pool/gbrainy

Accepting request 147984 from home:Gankov:branches:GNOME:Apps

OBS-URL: https://build.opensuse.org/request/show/147984
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gbrainy?expand=0&rev=50
This commit is contained in:
Dominique Leuenberger 2013-01-13 13:14:07 +00:00 committed by Git OBS Bridge
parent 627683b816
commit 8e74b26a8f
5 changed files with 73 additions and 19 deletions

View File

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

View File

@ -0,0 +1,16 @@
Index: src/Core/Libraries/CSharpCompiler.cs
===================================================================
--- src/Core/Libraries/CSharpCompiler.cs.orig
+++ src/Core/Libraries/CSharpCompiler.cs
@@ -44,10 +44,7 @@ namespace gbrainy.Core.Libraries
public CSharpCompiler ()
{
- CompilerSettings settings = new CompilerSettings ();
- Report report = new Report (new NullReportPrinter ());
-
- evaluator = new Evaluator (settings, report);
+ evaluator = new Evaluator (new CompilerContext (new CompilerSettings (), new NullReportPrinter ()));
}
public void EvaluateCode (string code)

3
gbrainy-2.1.5.tar.gz Normal file
View File

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

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Tue Jan 8 11:52:24 UTC 2013 - gankov@opensuse.org
- Update to version 2.1.5
+ Updated translations and bugs fix
- Changes from 2.1.0
+ Software improvements
- Refactoring to break down responsibilities in classes and
make code more modular
- Automated “Assembly / package versioning”
+ Existing games improvements
- Mouse support for Memorize figures and text
- Show graphically the answer in square sheets puzzle
- Add rationale to handshake puzzle
- People at the table has a better graphic
- Some controls in games handle better larger texts
+ Translations
- New Telugu translation
- Many updated translations
- Add patch gbrainy-2.1.5-CSharpCompiler.patch - fix build for
mono-3.0
- Use spec-cleaner
- Use fdupes
- Fix executable permission on gbrainy.exe.config
-------------------------------------------------------------------
Mon Feb 13 10:46:36 UTC 2012 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package gbrainy
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,13 +17,18 @@
Name: gbrainy
Version: 2.06
Version: 2.1.5
Release: 0
Source: http://gent.softcatala.org/jmas/gbrainy/%{name}-%{version}.tar.gz
Patch: gbrainy-use-libexecdir.patch
Summary: A brain teaser game and trainer
License: GPL-2.0+
Group: Amusements/Games/Logic
Url: http://live.gnome.org/gbrainy
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: http://gent.softcatala.org/jmas/gbrainy/%{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE -- gbrainy-use-libexecdir.patch
Patch0: gbrainy-use-libexecdir.patch
# PATCH-FIX-OPENSUSE -- simple fix build for mono-3.0 because Evaluator API is changed - gankov@opensuse.org
Patch1: gbrainy-2.1.5-CSharpCompiler.patch
BuildRequires: fdupes
BuildRequires: gnome-doc-utils-devel
BuildRequires: gtk-sharp2
BuildRequires: intltool
@ -31,9 +36,8 @@ BuildRequires: librsvg-devel
BuildRequires: mono-addins
BuildRequires: mono-devel
BuildRequires: translation-update-upstream
Summary: A brain teaser game and trainer
License: GPL-2.0+
Group: Amusements/Games/Logic
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%if 0%{?suse_version}
BuildRequires: update-desktop-files
%else
@ -66,7 +70,10 @@ It provides the following types of games:
%prep
%setup -q
translation-update-upstream
%patch
%patch0
%if 0%{?suse_version} > 1220
%patch1
%endif
%lang_package
@ -77,17 +84,23 @@ export MONO_SHARED_DIR=/var/tmp
make
%install
%makeinstall
%suse_update_desktop_file %name Game
%make_install
%suse_update_desktop_file %{name} Game
%find_lang %{name} %{?no_lang_C}
rm -rf $RPM_BUILD_ROOT%{_datadir}/pixmaps
rm -rf %{buildroot}%{_datadir}/pixmaps
## It's not the right size: 32x32
#rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/gbrainy.png
#rm -rf %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/gbrainy.png
# There are no extensions yet, Thus creating a -devel package sounds overkill (file can't reside in noarch package).
rm %{buildroot}%{_libdir}/pkgconfig/gbrainy.pc
# When below tests fail, we can now remove the chmod
test -x %{buildroot}%{_libexecdir}/%{name}/gbrainy.exe.config
chmod -x %{buildroot}%{_libexecdir}/%{name}/gbrainy.exe.config
%fdupes -s %{buildroot}
%clean
rm -rf "$RPM_BUILD_ROOT"
rm -rf %{buildroot}
%if 0%{?suse_version} > 1130
@ -115,7 +128,7 @@ rm -rf "$RPM_BUILD_ROOT"
%{_datadir}/games/gbrainy/
%{_datadir}/applications/gbrainy.desktop
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/man/man6/gbrainy.6.gz
%{_mandir}/man6/gbrainy.6.gz
%files lang -f %{name}.lang