r16838 - in /desktop/unstable/gnome-games/debian: changelog control control.in patches/20_glchess_no3d.patch patches/series

joss at users.alioth.debian.org joss at users.alioth.debian.org
Fri Aug 29 23:41:12 UTC 2008


Author: joss
Date: Fri Aug 29 23:41:12 2008
New Revision: 16838

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=16838
Log:
* Disable 3D in glchess because it is broken (see #495234).
  + Remove the recommends on python-gtkglext1 and python-opengl.
  + 20_glchess_no3d.patch: disable the UI to setup 3D.

Added:
    desktop/unstable/gnome-games/debian/patches/20_glchess_no3d.patch
Modified:
    desktop/unstable/gnome-games/debian/changelog
    desktop/unstable/gnome-games/debian/control
    desktop/unstable/gnome-games/debian/control.in
    desktop/unstable/gnome-games/debian/patches/series

Modified: desktop/unstable/gnome-games/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-games/debian/changelog?rev=16838&op=diff
==============================================================================
--- desktop/unstable/gnome-games/debian/changelog (original)
+++ desktop/unstable/gnome-games/debian/changelog Fri Aug 29 23:41:12 2008
@@ -1,11 +1,14 @@
-gnome-games (1:2.22.3-2) UNRELEASED; urgency=low
+gnome-games (1:2.22.3-2) unstable; urgency=low
 
   * 07_sudoku_tempfile.patch: new patch. Do not use temporary files to 
     generate thumbnails. Closes: #489872.
   * Depend on gstreamer0.10-plugins-base. Closes: #494369.
   * Use guile-1.8 on ia64 now that it builds on this architecture.
-
- -- Josselin Mouette <joss at debian.org>  Wed, 23 Jul 2008 17:29:10 +0200
+  * Disable 3D in glchess because it is broken (see #495234).
+    + Remove the recommends on python-gtkglext1 and python-opengl.
+    + 20_glchess_no3d.patch: disable the UI to setup 3D.
+
+ -- Josselin Mouette <joss at debian.org>  Sat, 30 Aug 2008 01:27:06 +0200
 
 gnome-games (1:2.22.3-1) unstable; urgency=low
 

Modified: desktop/unstable/gnome-games/debian/control
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-games/debian/control?rev=16838&op=diff
==============================================================================
--- desktop/unstable/gnome-games/debian/control (original)
+++ desktop/unstable/gnome-games/debian/control Fri Aug 29 23:41:12 2008
@@ -50,9 +50,7 @@
          python-gnome2-desktop (>= 2.17.3),
          gstreamer0.10-plugins-base (>= 0.10.11),
          gnuchess | hoichess | bbchess | crafty | fruit
-Recommends: gnome-games-extra-data,
-            python-gtkglext1,
-            python-opengl
+Recommends: gnome-games-extra-data
 Suggests: gnome-hearts
 Conflicts: gnome-sudoku,
            glchess

Modified: desktop/unstable/gnome-games/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-games/debian/control.in?rev=16838&op=diff
==============================================================================
--- desktop/unstable/gnome-games/debian/control.in (original)
+++ desktop/unstable/gnome-games/debian/control.in Fri Aug 29 23:41:12 2008
@@ -50,9 +50,7 @@
          python-gnome2-desktop (>= 2.17.3),
          gstreamer0.10-plugins-base (>= 0.10.11),
          gnuchess | hoichess | bbchess | crafty | fruit
-Recommends: gnome-games-extra-data,
-            python-gtkglext1,
-            python-opengl
+Recommends: gnome-games-extra-data
 Suggests: gnome-hearts
 Conflicts: gnome-sudoku,
            glchess

Added: desktop/unstable/gnome-games/debian/patches/20_glchess_no3d.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-games/debian/patches/20_glchess_no3d.patch?rev=16838&op=file
==============================================================================
--- desktop/unstable/gnome-games/debian/patches/20_glchess_no3d.patch (added)
+++ desktop/unstable/gnome-games/debian/patches/20_glchess_no3d.patch Fri Aug 29 23:41:12 2008
@@ -1,0 +1,81 @@
+Index: gnome-games-2.22.3/glchess/glade/glchess.glade
+===================================================================
+--- gnome-games-2.22.3.orig/glchess/glade/glchess.glade	2008-08-30 01:22:55.432329178 +0200
++++ gnome-games-2.22.3/glchess/glade/glchess.glade	2008-08-30 01:23:02.012332015 +0200
+@@ -229,16 +229,6 @@
+ 		  </child>
+ 
+ 		  <child>
+-		    <widget class="GtkCheckMenuItem" id="menu_view_3d">
+-		      <property name="visible">True</property>
+-		      <property name="label" translatable="yes">3_D Chess View</property>
+-		      <property name="use_underline">True</property>
+-		      <property name="active">False</property>
+-		      <signal name="activate" handler="_on_toggle_3d_clicked" last_modification_time="Thu, 14 Sep 2006 19:40:59 GMT"/>
+-		    </widget>
+-		  </child>
+-
+-		  <child>
+ 		    <widget class="GtkCheckMenuItem" id="menu_view_logs">
+ 		      <property name="visible">True</property>
+ 		      <property name="label" translatable="yes">Show _Logs</property>
+Index: gnome-games-2.22.3/glchess/glade/preferences.glade
+===================================================================
+--- gnome-games-2.22.3.orig/glchess/glade/preferences.glade	2008-08-30 01:24:22.951830470 +0200
++++ gnome-games-2.22.3/glchess/glade/preferences.glade	2008-08-30 01:24:41.468031132 +0200
+@@ -248,27 +248,6 @@
+ 	      <property name="spacing">0</property>
+ 
+ 	      <child>
+-		<widget class="GtkCheckButton" id="show_3d">
+-		  <property name="visible">True</property>
+-		  <property name="tooltip" translatable="yes">View the chess board by default in 2D mode, or optionally in 3D mode using OpenGL.</property>
+-		  <property name="can_focus">True</property>
+-		  <property name="label" translatable="yes">3_D Chess View</property>
+-		  <property name="use_underline">True</property>
+-		  <property name="relief">GTK_RELIEF_NORMAL</property>
+-		  <property name="focus_on_click">True</property>
+-		  <property name="active">False</property>
+-		  <property name="inconsistent">False</property>
+-		  <property name="draw_indicator">True</property>
+-		  <signal name="toggled" handler="_on_3d_view_activate" last_modification_time="Sun, 20 Jan 2008 19:36:35 GMT"/>
+-		</widget>
+-		<packing>
+-		  <property name="padding">0</property>
+-		  <property name="expand">False</property>
+-		  <property name="fill">False</property>
+-		</packing>
+-	      </child>
+-
+-	      <child>
+ 		<widget class="GtkCheckButton" id="show_toolbar">
+ 		  <property name="visible">True</property>
+ 		  <property name="tooltip" translatable="yes">Show or hide the toolbar</property>
+Index: gnome-games-2.22.3/glchess/src/lib/gtkui/gtkui.py
+===================================================================
+--- gnome-games-2.22.3.orig/glchess/src/lib/gtkui/gtkui.py	2008-08-30 01:23:21.487831553 +0200
++++ gnome-games-2.22.3/glchess/src/lib/gtkui/gtkui.py	2008-08-30 01:24:10.708027138 +0200
+@@ -589,8 +589,6 @@ Please contact your system administrator
+                 glchess.config.set('show_3d', False)
+                 value = False
+             self.__renderGL = value
+-            menuItem = self.__getWidget('menu_view_3d')
+-            menuItem.set_active(self.__renderGL)
+             self.view.viewWidget.setRenderGL(self.__renderGL)
+                 
+         elif name == 'show_comments':
+Index: gnome-games-2.22.3/glchess/src/lib/gtkui/dialogs.py
+===================================================================
+--- gnome-games-2.22.3.orig/glchess/src/lib/gtkui/dialogs.py	2008-08-30 01:38:17.683828602 +0200
++++ gnome-games-2.22.3/glchess/src/lib/gtkui/dialogs.py	2008-08-30 01:39:00.539828176 +0200
+@@ -592,10 +592,6 @@ class GtkPreferencesDialog:
+             promotionModel.set(iter, 0, label, 1, key)
+ 
+         # Load preferences for View settings.
+-        pref = glchess.config.get('show_3d')
+-        widget = self.__gui.get_widget('show_3d')
+-        widget.set_active(pref)
+-
+         pref = glchess.config.get('show_toolbar')
+         widget = self.__gui.get_widget('show_toolbar')
+         widget.set_active(pref)

Modified: desktop/unstable/gnome-games/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-games/debian/patches/series?rev=16838&op=diff
==============================================================================
--- desktop/unstable/gnome-games/debian/patches/series (original)
+++ desktop/unstable/gnome-games/debian/patches/series Fri Aug 29 23:41:12 2008
@@ -3,4 +3,5 @@
 05_maintainer_mode.patch
 06_ggzd_directory.patch
 07_sudoku_tempfile.patch
+20_glchess_no3d.patch
 70_autotools.patch




More information about the pkg-gnome-commits mailing list