Accepting request 98971 from GNOME:Factory

Pushing G:F

OBS-URL: https://build.opensuse.org/request/show/98971
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/aisleriot?expand=0&rev=12
This commit is contained in:
Stephan Kulow 2012-01-09 10:14:36 +00:00 committed by Git OBS Bridge
commit bc572f080f
5 changed files with 78 additions and 100 deletions

View File

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

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,3 +1,49 @@
-------------------------------------------------------------------
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
- Add aisleriot-fix-freecell-exception.patch: Fix trying to make
the first move in a freecell game generates an exception
(bnc#730053, bgo#649730).
-------------------------------------------------------------------
Mon Nov 21 16:37:03 UTC 2011 - dimstar@opensuse.org
- Update to version 3.3.0:
+ Change card theme format
+ Many game fixes
+ Updated translations.
- Drop aisleriot-automagic-guile.patch: fixed upstream.
- Remove gnome-common BuildRequires and call to gnome-autogen.sh as
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
- Update to version 3.2.2:
+ Dist missing sound files
-------------------------------------------------------------------
Sun Nov 13 16:04:17 UTC 2011 - malcolmlewis@opensuse.org
- Add missing guile Requires: game will not start without it
(bnc#730053).
-------------------------------------------------------------------
Tue Oct 18 13:16:14 UTC 2011 - malcolmlewis@opensuse.org

View File

@ -15,24 +15,18 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: aisleriot
Version: 3.2.1
Release: 1
Version: 3.3.1
Release: 0
# FIXME: the %%{_datadir}/help/$locale/ files should be found by %%find_lang
License: GPLv3+
Summary: Solitaire Card Games for GNOME
Url: http://www.gnome.org
License: GPL-3.0+
Group: Amusements/Games/Board/Card
Source0: http://download.gnome.org/sources/aisleriot/3.2/%{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
# tarball manually until upstream solves bgo#657280
Source1: gnome-freecell.png
# PATCH-FIX-UPSTREAM aisleriot-automagic-guile.patch bgo#658159 vuntz@opensuse.org -- Automatically detect version of guile
Patch1: aisleriot-automagic-guile.patch
# needed by patch1
BuildRequires: gnome-common
BuildRequires: guile-devel
BuildRequires: intltool
BuildRequires: itstool
@ -40,14 +34,15 @@ BuildRequires: lsb-release
# Needed to get lsb data
BuildRequires: dummy-release
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(gconf-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(ice)
BuildRequires: pkgconfig(libcanberra-gtk3)
BuildRequires: pkgconfig(librsvg-2.0)
BuildRequires: pkgconfig(sm)
Requires: guile
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%gconf_schemas_prereq
@ -57,9 +52,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
Aisleriot is a compilation of 80 different solitaire card games.
%package themes
License: GPLv3+
Summary: Solitaire Card Games for GNOME -- Extra Themes
Group: Amusements/Games/Board/Card
Requires: %{name} = %{version}
Enhances: %{name}
BuildArch: noarch
@ -72,18 +65,12 @@ This package provides extra themes for Aisleriot.
%lang_package
%prep
%setup -q
%if 0%{?suse_version} > 1140
%patch1 -p1
%endif
%build
%if 0%{?suse_version} > 1140
# needed by patch1
NOCONFIGURE=1 gnome-autogen.sh
%endif
%configure \
--disable-schemas-install \
--disable-static
--disable-static \
--with-guile=auto
make %{?_smp_mflags}
%install
@ -136,28 +123,33 @@ sort -u %{name}.help-lang.tmp | grep -v "^%%lang(C)" >> %{name}.help-lang
%{_datadir}/aisleriot/
%dir %{_libdir}/aisleriot
%{_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}/icons/hicolor/*/apps/gnome-aisleriot.*
%{_datadir}/icons/hicolor/*/apps/gnome-freecell.*
%{_mandir}/man?/sol.*
# Exclude files that are in themes
%exclude %{_datadir}/aisleriot/cards/anglo.svg
%exclude %{_datadir}/aisleriot/cards/anglo_bitmap.svg
%exclude %{_datadir}/aisleriot/cards/bellot.svg
%exclude %{_datadir}/aisleriot/cards/bonded.svg
%exclude %{_datadir}/aisleriot/cards/dondorf.svg
%exclude %{_datadir}/aisleriot/cards/gnomangelo_bitmap.svg
%exclude %{_datadir}/aisleriot/cards/ornamental.svg
%exclude %{_datadir}/aisleriot/cards/anglo.svgz
%exclude %{_datadir}/aisleriot/cards/anglo_bitmap.svgz
%exclude %{_datadir}/aisleriot/cards/bellot.svgz
%exclude %{_datadir}/aisleriot/cards/bonded.svgz
%exclude %{_datadir}/aisleriot/cards/dondorf.svgz
%exclude %{_datadir}/aisleriot/cards/gnomangelo_bitmap.svgz
%exclude %{_datadir}/aisleriot/cards/ornamental.svgz
%files themes
%defattr(-, root, root)
%{_datadir}/aisleriot/cards/anglo.svg
%{_datadir}/aisleriot/cards/anglo_bitmap.svg
%{_datadir}/aisleriot/cards/bellot.svg
%{_datadir}/aisleriot/cards/bonded.svg
%{_datadir}/aisleriot/cards/dondorf.svg
%{_datadir}/aisleriot/cards/gnomangelo_bitmap.svg
%{_datadir}/aisleriot/cards/ornamental.svg
%{_datadir}/aisleriot/cards/anglo.svgz
%{_datadir}/aisleriot/cards/anglo_bitmap.svgz
%{_datadir}/aisleriot/cards/bellot.svgz
%{_datadir}/aisleriot/cards/bonded.svgz
%{_datadir}/aisleriot/cards/dondorf.svgz
%{_datadir}/aisleriot/cards/gnomangelo_bitmap.svgz
%{_datadir}/aisleriot/cards/ornamental.svgz
%files lang -f aisleriot.lang -f %{name}.help-lang