Accepting request 97455 from home:vuntz:branches:GNOME:Factory

Update to 3.3.1

OBS-URL: https://build.opensuse.org/request/show/97455
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/aisleriot?expand=0&rev=22
This commit is contained in:
Vincent Untz 2011-12-21 05:03:56 +00:00 committed by Git OBS Bridge
parent eb2efe8043
commit 262dc33a0b
6 changed files with 32 additions and 89 deletions

View File

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

3
aisleriot-3.3.1.tar.xz Normal file
View File

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

View File

@ -1,60 +0,0 @@
commit 3223853fcb8f519d7736d13bd8c30da6434d8cef
Author: Vincent Untz <vuntz@gnome.org>
Date: Sun Sep 4 09:53:21 2011 +0200
Allow automagic selection of guile
We keep --with-guile, but default to automagic selection. This makes
life easier for distributors, who can then rely on this if they know
they simply want to build against the guile version that is available by
default.
https://bugzilla.gnome.org/show_bug.cgi?id=658159
diff --git a/configure.ac b/configure.ac
index 7b30bdb..3999330 100644
--- a/configure.ac
+++ b/configure.ac
@@ -520,23 +520,33 @@ GUILE_PKGS=
AC_MSG_CHECKING([which guile version to use])
AC_ARG_WITH([guile],
- [AS_HELP_STRING([--with-guile=1.8|2.0|2.2],[Which guile version to use (default: 1.8)])],
+ [AS_HELP_STRING([--with-guile=1.8|2.0|2.2|auto],[Which guile version to use (default: auto)])],
[case "$with_guile" in
- 1.8|2.0|2.2) ;;
+ 1.8|2.0|2.2|auto) ;;
*) AC_MSG_ERROR([unknown or unsupported guile version $with_guile specified]) ;;
esac],
- [with_guile=1.8])
+ [with_guile=auto])
AC_MSG_RESULT([$with_guile])
case "$with_guile" in
- 1.8) GUILE_PKGS="guile-1.8 >= $GUILE_1_8_REQUIRED" ;;
- 2.0) GUILE_PKGS="guile-2.0 >= $GUILE_2_0_REQUIRED" ;;
- 2.2) GUILE_PKGS="guile-2.2 >= $GUILE_2_2_REQUIRED" ;;
+ 1.8) AUTO_GUILE="false" GUILE_PKGS="guile-1.8 >= $GUILE_1_8_REQUIRED" ;;
+ 2.0) AUTO_GUILE="false" GUILE_PKGS="guile-2.0 >= $GUILE_2_0_REQUIRED" ;;
+ 2.2) AUTO_GUILE="false" GUILE_PKGS="guile-2.2 >= $GUILE_2_2_REQUIRED" ;;
+ auto) AUTO_GUILE="true"
+ PKG_CHECK_EXISTS([guile-2.2 >= $GUILE_2_2_REQUIRED],
+ [with_guile="2.2" GUILE_PKGS="guile-2.2 >= $GUILE_2_2_REQUIRED"],
+ [PKG_CHECK_EXISTS([guile-2.0 >= $GUILE_2_0_REQUIRED],
+ [with_guile="2.0" GUILE_PKGS="guile-2.0 >= $GUILE_2_0_REQUIRED"],
+ [PKG_CHECK_EXISTS([guile-1.8 >= $GUILE_1_8_REQUIRED],
+ [with_guile="1.8" GUILE_PKGS="guile-1.8 >= $GUILE_1_8_REQUIRED"],
+ [AC_MSG_ERROR([guile not found])])])]) ;;
esac
-PKG_CHECK_EXISTS([$GUILE_PKGS],
- [],
- [AC_MSG_ERROR([guile version $with_guile not found. Install it, or use --with-guile to select a different version.])])
+if test "$auto_guile" != "true"; then
+ PKG_CHECK_EXISTS([$GUILE_PKGS],
+ [],
+ [AC_MSG_ERROR([guile version $with_guile not found. Install it, or use --with-guile to select a different version.])])
+fi
PKG_CHECK_MODULES([GUILE],[$GUILE_PKGS])

View File

@ -1,11 +0,0 @@
--- a/games/freecell.scm 2011-06-06 14:23:03.000000000 -0500
+++ b/games/freecell.scm 2011-11-28 11:08:14.000000000 -0600
@@ -215,7 +215,7 @@
(and (field-sequence? card-list)
(<= (length card-list)
(* (+ (empty-freecell-number) 1)
- ($expt 2 (max (- (empty-field-number)
+ (expt 2 (max (- (empty-field-number)
(if (empty-slot? field-id) 1 0)
(if (empty-slot? start-slot) 1 0))
0))))

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Dec 20 08:59:14 UTC 2011 - vuntz@opensuse.org
- Update to version 3.3.1:
+ Aisleriot now requires guile >= 2.0
+ Many improvements and bug fixes
+ Updated translations.
- Add xz BuildRequires because we can't build a package for a
xz-compressed tarball without explicitly specifying that... See
bnc#697467 for more details.
- Remove pkgconfig(ice) and pkgconfig(sm) BuildRequires: removed
upstream.
- Really drop aisleriot-automagic-guile.patch.
- Drop aisleriot-fix-freecell-exception.patch: fixed upstream.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 28 18:13:41 UTC 2011 - malcolmlewis@opensuse.org Mon Nov 28 18:13:41 UTC 2011 - malcolmlewis@opensuse.org
@ -15,6 +30,7 @@ Mon Nov 21 16:37:03 UTC 2011 - dimstar@opensuse.org
- Drop aisleriot-automagic-guile.patch: fixed upstream. - Drop aisleriot-automagic-guile.patch: fixed upstream.
- Remove gnome-common BuildRequires and call to gnome-autogen.sh as - Remove gnome-common BuildRequires and call to gnome-autogen.sh as
we don't carry any patch requiring this anymore. we don't carry any patch requiring this anymore.
- Pass --with-guile=auto to configure.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 15 10:09:11 UTC 2011 - vuntz@opensuse.org Tue Nov 15 10:09:11 UTC 2011 - vuntz@opensuse.org
@ -25,7 +41,7 @@ Tue Nov 15 10:09:11 UTC 2011 - vuntz@opensuse.org
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Nov 13 16:04:17 UTC 2011 - malcolmlewis@opensuse.org Sun Nov 13 16:04:17 UTC 2011 - malcolmlewis@opensuse.org
- Add missing requires guile, game will not start without it - Add missing guile Requires: game will not start without it
(bnc#730053). (bnc#730053).
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@ -15,22 +15,18 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: aisleriot Name: aisleriot
Version: 3.3.0 Version: 3.3.1
Release: 1 Release: 0
# FIXME: the %%{_datadir}/help/$locale/ files should be found by %%find_lang # FIXME: the %%{_datadir}/help/$locale/ files should be found by %%find_lang
License: GPLv3+
Summary: Solitaire Card Games for GNOME Summary: Solitaire Card Games for GNOME
Url: http://www.gnome.org License: GPL-3.0+
Group: Amusements/Games/Board/Card Group: Amusements/Games/Board/Card
Source0: http://download.gnome.org/sources/aisleriot/3.3/%{name}-%{version}.tar.bz2 Url: http://www.gnome.org
Source0: http://download.gnome.org/sources/aisleriot/3.3/%{name}-%{version}.tar.xz
# We add the 256x256 png icon for freecell from gnome-games version 2.91.3 # We add the 256x256 png icon for freecell from gnome-games version 2.91.3
# tarball manually until upstream solves bgo#657280 # tarball manually until upstream solves bgo#657280
Source1: gnome-freecell.png Source1: gnome-freecell.png
# PATCH-FIX-UPSTREAM aisleriot-fix-freecell-exception.patch bnc#730053, bgo#649730 malcolmlewis@opensuse.org -- Fix trying to make the first move in a freecell game generates an exception
Patch1: aisleriot-fix-freecell-exception.patch
BuildRequires: guile-devel BuildRequires: guile-devel
BuildRequires: intltool BuildRequires: intltool
BuildRequires: itstool BuildRequires: itstool
@ -38,14 +34,14 @@ BuildRequires: lsb-release
# Needed to get lsb data # Needed to get lsb data
BuildRequires: dummy-release BuildRequires: dummy-release
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467
BuildRequires: xz
BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(gconf-2.0) BuildRequires: pkgconfig(gconf-2.0)
BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(ice)
BuildRequires: pkgconfig(libcanberra-gtk3) BuildRequires: pkgconfig(libcanberra-gtk3)
BuildRequires: pkgconfig(librsvg-2.0) BuildRequires: pkgconfig(librsvg-2.0)
BuildRequires: pkgconfig(sm)
Requires: guile Requires: guile
Recommends: %{name}-lang Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -56,9 +52,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
Aisleriot is a compilation of 80 different solitaire card games. Aisleriot is a compilation of 80 different solitaire card games.
%package themes %package themes
License: GPLv3+
Summary: Solitaire Card Games for GNOME -- Extra Themes Summary: Solitaire Card Games for GNOME -- Extra Themes
Group: Amusements/Games/Board/Card
Requires: %{name} = %{version} Requires: %{name} = %{version}
Enhances: %{name} Enhances: %{name}
BuildArch: noarch BuildArch: noarch
@ -71,7 +65,6 @@ This package provides extra themes for Aisleriot.
%lang_package %lang_package
%prep %prep
%setup -q %setup -q
%patch1 -p1
%build %build
%configure \ %configure \
@ -130,6 +123,11 @@ sort -u %{name}.help-lang.tmp | grep -v "^%%lang(C)" >> %{name}.help-lang
%{_datadir}/aisleriot/ %{_datadir}/aisleriot/
%dir %{_libdir}/aisleriot %dir %{_libdir}/aisleriot
%{_libdir}/aisleriot/ar-cards-renderer %{_libdir}/aisleriot/ar-cards-renderer
%dir %{_libdir}/aisleriot/guile
%dir %{_libdir}/aisleriot/guile/2.0
%dir %{_libdir}/aisleriot/guile/2.0/aisleriot
%{_libdir}/aisleriot/guile/2.0/aisleriot/api.go
%{_libdir}/aisleriot/guile/2.0/*.go
%{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml
%{_datadir}/icons/hicolor/*/apps/gnome-aisleriot.* %{_datadir}/icons/hicolor/*/apps/gnome-aisleriot.*
%{_datadir}/icons/hicolor/*/apps/gnome-freecell.* %{_datadir}/icons/hicolor/*/apps/gnome-freecell.*