home:apersaud:branches:openSUSE:Factory:Contrib/xboard -> 
openSUSE:Factory:Contrib/xboard


   https://build.opensuse.org/request/show/113965

   Description: Updated to 4.6.1. This version installs some more desktop files 
and icons that should be used, so the spec file needed adjustment. Not sure if 
the way I added it is correct, so please review :)

changes files:
--------------
--- xboard.changes
+++ xboard.changes
@@ -1,0 +2,89 @@
+Tue Apr 17 03:40:52 UTC 2012 - [email protected]
+
+- removed duplicated suse_update_desktop_file 
+
+-------------------------------------------------------------------
+Tue Apr 17 03:32:42 UTC 2012 - [email protected]
+
+- patched gettext version, so that autoreconf (autopoint) doesn't complain 
+
+-------------------------------------------------------------------
+Tue Apr 17 02:55:40 UTC 2012 - [email protected]
+
+- fixed spec file 
+
+-------------------------------------------------------------------
+Tue Apr 17 02:40:01 UTC 2012 - [email protected]
+
+- updated spec file
+- updated to version 4.6.1
+
+changes from 4.6.1 to 4.6.0:
+
+   bugfix release for 4.6.0
+
+   * Fix memory corruption bug on second-engine loading (through menu or in 
tournament),
+     which could destroy -firstInitString
+   * Fix bug loading a new engine through the menu (not loading it with the 
full game, 
+     but just upto the current move)
+   * Prefix engine command with "./" when a pathname is split up during 
install, so the engine actually runs (XB)
+   * Fix fall-back to -ncp mode when engine does not start (cutting short the 
feature timeout)
+   * Fix bug in position search for FRC castlings (where a King could 'fall 
off' the board)
+   * Add a message to inform the user how to clear the board, in sweep-select 
edit-position mode
+   * Fix a bug that could stop the clock when the board window was dragged (XB)
+   * Fix switching off highlighting during game (so last highlights do not 
remain for the rest of the game)
+   * Allow user to enter the name of a non-existing file when browsing for a 
save file (WB)
+   * Make sure rarely used engine-related options (such as -firstNPS) are also 
correctly loaded during session
+   * Correctly handle parsing of Crazyhouse promotions with legality-testing 
off
+   * Fix click-click detour under-promotions, which were not working for 
non-captures
+   * Don't strip path from engine command if directory is explicitly given in 
Load Engine dialog
+   * Consistently make auxiliary windows top level-shells or not, with new 
-topLevel option (XB)
+   * No longer fatal if second engine does not support current variant (just 
refuse Two Machines mode)
+   * Scroll XBoard game list to keep selected item in view (XB)
+   * Suppress spurious error popup when starting observing of bughouse games
+   * Fix vertical axis ticks in eval graph with drop games
+   * Put title on same line as menu bar only for -size 72 and larger (with 
-titleInWindow, XB)
+   * Properly open and close debug file when switching debug mode through key 
binding Ctrl-D (XB)
+
+changes for 4.6.0:
+
+   (for a more detailed list with screenshots see 
http://www.gnu.org/software/xboard/whats_new/4.6.0/ )
+
+   * Engine vs. Engine
+    * Loading and installing engines through the menu
+    * Running tournaments with more than two partipants
+    * Stopping a match between two engines
+    * Replacing a tourney participant
+    * Playing openings in color-reversed pairs
+    * Perpetual chasing in Xiangqi
+
+   * Interface Improvements
+    * Auto-Queen, and still under-promote?
+    * Piece fonts and figurine fonts
+    * Displaying PVs as SAN
+    * Small scores in the Eval Graph
+    * How close is the 50-move draw?
+    * Sign of the engine scores
+    * Loading frequently used engines
+    * Collapsing groups of engines
+
+   * Interactive Analysis
+    * Playing moves from the PV
+    * Rapidly changing the number of PVs
+    * Setting the other side to move in analysis
+    * Annotating a game with an engine
+
+   * Other New Functionality
+    * Searching a position in a PGN file
+    * Editing the opening book
+    * Recording game sequence number in PGN
+    * Each tourney game its own debug file
+
+   * XBoard -> WinBoard Convergence
+    * Exporting the game list (XB)
+    * A move type-in box (XB)
+    * New-style Move History window (XB)
+    * Associating XBoard with file types
+    * Many Windows behave as one (XB)
+
+-------------------------------------------------------------------

old:
----
  xboard-4.5.3.tar.bz2

new:
----
  gettext-version.patch
  xboard-4.6.1.tar.bz2

spec files:
-----------
--- xboard.spec
+++ xboard.spec
@@ -1,7 +1,7 @@
 #
-# spec file for package xboard (Version 4.5.3)
+# spec file for package xboard (Version 4.6.1)
 #
-# Copyright (c) 2009, 2010, 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2009, 2010, 2011, 2012 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
@@ -20,15 +20,20 @@
 
 Name:           xboard
 BuildRequires:  texlive-latex update-desktop-files xorg-x11-devel 
xorg-x11-libXt-devel hicolor-icon-theme
-BuildRequires:  flex
+BuildRequires:  xdg-utils autoconf
+Requires(post):    shared-mime-info
+Requires(postun):  shared-mime-info
+Requires(post):    desktop-file-utils
+Requires(postun):  desktop-file-utils
 License:        GPL v3.0 or later
 Group:          Amusements/Games/Board/Chess
-Requires:       gnuchess
+Requires:       gnuchess xdg-utils
 Recommends:     chess_backend
-Version:        4.5.3
+Version:        4.6.1
 Release:        0
 Summary:        X Window System Interface for playing chess
 Source:         %{name}-%{version}.tar.bz2
+Patch0:         gettext-version.patch
 Url:            http://www.gnu.org/software/xboard/
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 PreReq:         %install_info_prereq
@@ -58,35 +63,56 @@
     H.G. Muller <[email protected]>
     Arun Persaud <[email protected]>
     Eric Mullins <[email protected]>
+    Byrial Jensen <[email protected]>
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
 autoreconf -f -i
-%configure --sysconfdir=/etc --enable-silent-rules --enable-zippy
+%configure --sysconfdir=/etc --enable-silent-rules --enable-zippy 
--disable-update-mimedb
 make %{?jobs:-j%jobs}
 
 %install
 %makeinstall
+%find_lang %{name} %{name}.lang
 %suse_update_desktop_file -i %{name} Game BoardGame
+%suse_update_desktop_file -i -u %{name}-tourney Game BoardGame
+%suse_update_desktop_file -i -u %{name}-pgn-viewer Game BoardGame
+%suse_update_desktop_file -i -u %{name}-fen-viewer Game BoardGame
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
 %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
+%mime_database_post
+%desktop_database_post
+%icon_theme_cache_post
+xdg-icon-resource install --context mimetypes --size 32 
%{_datadir}/games/xboard/pixmaps/textures/board32.xpm application-x-chess-pgn
+xdg-icon-resource install --context mimetypes --size 32 
%{_datadir}/games/xboard/pixmaps/textures/cross32.xpm application-x-xboard-trn
+xdg-icon-resource install --context mimetypes --size 48 
%{_datadir}/games/xboard/pixmaps/textures/board48.xpm application-x-chess-pgn
+xdg-icon-resource install --context mimetypes --size 48 
%{_datadir}/games/xboard/pixmaps/textures/cross48.xpm application-x-xboard-trn
 
 %postun
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
+%mime_database_postun
+%desktop_database_postun
+%icon_theme_cache_postun
+xdg-icon-resource uninstall --context mimetypes --size 32 
%{_datadir}/games/xboard/pixmaps/textures/board32.xpm application-x-chess-pgn
+xdg-icon-resource uninstall --context mimetypes --size 32 
%{_datadir}/games/xboard/pixmaps/textures/cross32.xpm application-x-xboard-trn
+xdg-icon-resource uninstall --context mimetypes --size 48 
%{_datadir}/games/xboard/pixmaps/textures/board48.xpm application-x-chess-pgn
+xdg-icon-resource uninstall --context mimetypes --size 48 
%{_datadir}/games/xboard/pixmaps/textures/cross48.xpm application-x-xboard-trn
 
-%files
+%files -f %{name}.lang
 %defattr(-,root,root)
 %doc AUTHORS ChangeLog COPYING COPYRIGHT FAQ.html NEWS README SHORTLOG 
DIFFSTAT TODO engine-intf.html ics-parsing.txt readme.htm zippy.README
 %{_bindir}/*
 %doc %{_mandir}/man6/*.*
 %doc %{_infodir}/xboard.info*
-%{_datadir}/applications/%{name}.desktop
+%{_datadir}/applications/*.desktop
+%{_datadir}/mime/packages/*.xml
 %dir %{_datadir}/games/xboard/
 %dir %{_datadir}/games/xboard/bitmaps/
 %dir %{_datadir}/games/xboard/sounds/
@@ -94,8 +120,7 @@
 %dir %{_datadir}/games/xboard/pixmaps/textures/
 %{_datadir}/games/xboard/bitmaps/*
 %{_datadir}/games/xboard/sounds/*
-%{_datadir}/games/xboard/pixmaps/textures/wood_d.xpm
-%{_datadir}/games/xboard/pixmaps/textures/wood_l.xpm
+%{_datadir}/games/xboard/pixmaps/textures/*.xpm
 %{_datadir}/icons/hicolor/48x48/apps/%{name}.png
 %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
 %config %{_sysconfdir}/%{name}.conf

other changes:
--------------

++++++ gettext-version.patch (new)
--- gettext-version.patch
+++ gettext-version.patch
@@ -0,0 +1,11 @@
+--- configure.ac.old   2012-04-16 20:29:58.260432385 -0700
++++ configure.ac       2012-04-16 20:30:13.210587038 -0700
+@@ -76,7 +76,7 @@
+ AC_PROG_INSTALL
+ 
+ dnl| add gettext support
+-AM_GNU_GETTEXT_VERSION(0.17)
++AM_GNU_GETTEXT_VERSION(0.18)
+ AM_GNU_GETTEXT([external])
+ 
+ AC_CHECK_PROGS(RSH, remsh rsh, rsh)

++++++ xboard-4.5.3.tar.bz2 -> xboard-4.6.1.tar.bz2
(99888 lines skipped)


To REVIEW against the previous version:
   osc request show --diff 113965

To ACCEPT the request:
   osc request accept 113965 --message="reviewed ok."
   
To DECLINE the request:
   osc request decline 113965 --message="declined for reason xyz (see ... for 
background / policy / ...)."

To REVOKE the request:
   osc request revoke 113965 --message="retracted because ..., sorry / thx / 
see better version ..."
-- 
Hermes messaging (http://hermes.opensuse.org)
openSUSE Build Service (https://build.opensuse.org/)
Collaboration: http://en.opensuse.org/Build_Service/Collaboration

-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to