Your message dated Tue, 03 Mar 2026 15:52:36 +0000
with message-id <[email protected]>
and subject line Bug#550311: fixed in sgt-puzzles 20250730.a7c7826-1
has caused the Debian Bug report #550311,
regarding slant: Please make shading of filled squares configurable
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
550311: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550311
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sgt-puzzles
Version: 8605-2
Severity: wishlist
Tags: patch
Recently a change was made to slant that provides shading of filled squares.
However I find that the resulting checkerboard pattern of filled and
non-filled squares is distracting, preventing me from easily seeing the
bigger structures and making it harder to determine a next move.
Therefore I would like to suggest to apply one of the two attached patches.
The first and simplest one adds an environment variable to override the game
default and disable shading of filled squares. The second is a bit more
advanced and also allows runtime toggling of the shading by clicking the
middle mouse button or pressing the S or F key.
Arjan
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.27.21 (PREEMPT)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages sgt-puzzles depends on:
ii libatk1.0-0 1.28.0-1 The ATK accessibility toolkit
ii libc6 2.9-27 GNU C Library: Shared libraries
ii libcairo2 1.8.8-2 The Cairo 2D vector graphics libra
ii libfontconfig1 2.6.0-4 generic font configuration library
ii libfreetype6 2.3.9-5 FreeType 2 font engine, shared lib
ii libglib2.0-0 2.22.1-1 The GLib library of C routines
ii libgtk2.0-0 2.18.2-1 The GTK+ graphical user interface
ii libpango1.0-0 1.26.0-1 Layout and rendering of internatio
Versions of packages sgt-puzzles recommends:
ii epiphany-browser [www-br 2.28.0-4 Intuitive GNOME web browser
ii iceweasel [www-browser] 3.5.2-1 lightweight web browser based on M
ii links2 [www-browser] 2.2-1+b1 Web browser running in both graphi
ii lynx-cur [www-browser] 2.8.8dev.1-1 Text-mode WWW Browser with NLS sup
ii w3m [www-browser] 0.5.2-2.1 WWW browsable pager with excellent
ii yelp 2.28.0+webkit-1 Help browser for GNOME
sgt-puzzles suggests no packages.
-- no debconf information
--- sgt-puzzles-8605.ORIG/slant.c 2009-10-09 04:45:36.000000000 +0200
+++ sgt-puzzles-8605.ENV/slant.c 2009-10-09 05:01:19.000000000 +0200
@@ -1884,13 +1884,19 @@ static void draw_tile(drawing *dr, game_
int chesscolour = (x ^ y) & 1;
int fscol = chesscolour ? COL_SLANT2 : COL_SLANT1;
int bscol = chesscolour ? COL_SLANT1 : COL_SLANT2;
+ static int shade_filled = -1;
+
+ if (shade_filled < 0) {
+ char *env = getenv("SLANT_SHADE_FILLED");
+ shade_filled = (!env || (env[0] == 'y' || env[0] == 'Y'));
+ }
clip(dr, COORD(x), COORD(y), TILESIZE, TILESIZE);
draw_rect(dr, COORD(x), COORD(y), TILESIZE, TILESIZE,
(v & FLASH) ? COL_GRID :
(v & CURSOR) ? COL_CURSOR :
- (v & (BACKSLASH | FORWSLASH)) ? COL_LOWLIGHT :
+ (shade_filled && (v & (BACKSLASH | FORWSLASH))) ? COL_LOWLIGHT :
COL_BACKGROUND);
/*
--- sgt-puzzles-8605.ORIG/slant.c 2009-10-09 04:45:36.000000000 +0200
+++ sgt-puzzles-8605.TOGGLE/slant.c 2009-10-09 05:05:28.000000000 +0200
@@ -1597,12 +1597,15 @@ static char *game_text_format(game_state
struct game_ui {
int cur_x, cur_y, cur_visible;
+ int shade_filled;
};
static game_ui *new_ui(game_state *state)
{
game_ui *ui = snew(game_ui);
+ char *env = getenv("SLANT_SHADE_FILLED");
ui->cur_x = ui->cur_y = ui->cur_visible = 0;
+ ui->shade_filled = (!env || (env[0] == 'y' || env[0] == 'Y'));
return ui;
}
@@ -1657,6 +1660,7 @@ static void game_changed_state(game_ui *
#define ERR_BL 0x00010000L
#define ERR_BR 0x00020000L
#define CURSOR 0x00040000L
+#define SHADEFILL 0x00080000L
struct game_drawstate {
int tilesize;
@@ -1702,6 +1706,10 @@ static char *interpret_move(game_state *
y = FROMCOORD(y);
if (x < 0 || y < 0 || x >= w || y >= h)
return NULL;
+ } else if (button == MIDDLE_BUTTON || button == 'f' || button == 'F' ||
+ button == 's' || button == 'S') {
+ ui->shade_filled = !ui->shade_filled;
+ return "";
} else if (IS_CURSOR_SELECT(button)) {
if (!ui->cur_visible) {
ui->cur_visible = 1;
@@ -1890,7 +1898,7 @@ static void draw_tile(drawing *dr, game_
draw_rect(dr, COORD(x), COORD(y), TILESIZE, TILESIZE,
(v & FLASH) ? COL_GRID :
(v & CURSOR) ? COL_CURSOR :
- (v & (BACKSLASH | FORWSLASH)) ? COL_LOWLIGHT :
+ (v & SHADEFILL) ? COL_LOWLIGHT :
COL_BACKGROUND);
/*
@@ -2012,6 +2020,8 @@ static void game_redraw(drawing *dr, gam
ds->todraw[(y+2)*(w+2)+(x+1)] |= T_R;
ds->todraw[(y+1)*(w+2)+(x+2)] |= L_B;
ds->todraw[(y+2)*(w+2)+(x+2)] |= C_TL;
+ if (ui->shade_filled)
+ ds->todraw[(y+1)*(w+2)+(x+1)] |= SHADEFILL;
if (err) {
ds->todraw[(y+1)*(w+2)+(x+1)] |= ERRSLASH |
ERR_T_L | ERR_L_T | ERR_C_TL;
@@ -2023,6 +2033,8 @@ static void game_redraw(drawing *dr, gam
ds->todraw[(y+1)*(w+2)+(x+1)] |= FORWSLASH;
ds->todraw[(y+1)*(w+2)+(x+2)] |= L_T | C_TL;
ds->todraw[(y+2)*(w+2)+(x+1)] |= T_L | C_TL;
+ if (ui->shade_filled)
+ ds->todraw[(y+1)*(w+2)+(x+1)] |= SHADEFILL;
if (err) {
ds->todraw[(y+1)*(w+2)+(x+1)] |= ERRSLASH |
ERR_L_B | ERR_T_R;
--- End Message ---
--- Begin Message ---
Source: sgt-puzzles
Source-Version: 20250730.a7c7826-1
Done: Ben Hutchings <[email protected]>
We believe that the bug you reported is fixed in the latest version of
sgt-puzzles, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ben Hutchings <[email protected]> (supplier of updated sgt-puzzles package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 03 Mar 2026 16:19:06 +0100
Source: sgt-puzzles
Architecture: source
Version: 20250730.a7c7826-1
Distribution: unstable
Urgency: medium
Maintainer: Ben Hutchings <[email protected]>
Changed-By: Ben Hutchings <[email protected]>
Closes: 363441 550311 1079717 1116973
Changes:
sgt-puzzles (20250730.a7c7826-1) unstable; urgency=medium
.
* New upstream version:
- Universal preference option for one-key shortcuts. (Closes: #363441)
- Mosaic: Fix buffer overflow in game_text_format() (Closes: #1079717)
- Loopy / grid.c: support the new Spectre monotiling. (Closes: #1116973)
* d/patches: Update for new upstream version
- Update "Apply version string substitutions from the tarball"
- Refresh "Add HTML-based online help"
- Drop "Install both 48x48 and 96x96 icons", redundant with upstream
change to install all icon sizes
* Update German translation, thanks to Helge Kreutzmann
* slant: Shade empty rather than filled squares, and make this optional
(Closes: #550311)
Checksums-Sha1:
9104f7f4184e0fb22d5d088f6a757af016c39333 2047
sgt-puzzles_20250730.a7c7826-1.dsc
719d31a9e844c28e028bd2a87061e95d1d532434 974532
sgt-puzzles_20250730.a7c7826.orig.tar.xz
1efde19d485d361c9882f3ef4ca82fd5d3a2d598 104728
sgt-puzzles_20250730.a7c7826-1.debian.tar.xz
bf1449215d44179acb7b6c63a30708bb7fd093e8 9455
sgt-puzzles_20250730.a7c7826-1_source.buildinfo
Checksums-Sha256:
f8a64a994f92ca0caafb8e507372afbf0f3ca744b850d1d67177237b15255545 2047
sgt-puzzles_20250730.a7c7826-1.dsc
875f78df7359135bac47de0bc4d2c05061719d144638c3373e0ade640ca0d73f 974532
sgt-puzzles_20250730.a7c7826.orig.tar.xz
a349157445f9a7d88e65545c3b22a4a4c0aad4d3349f8b9c7b2bec27c039d7ea 104728
sgt-puzzles_20250730.a7c7826-1.debian.tar.xz
a20c7aa30de9bc3202f732722e43cfe9fdb29b159cd23df5113ef582ef1ebbc3 9455
sgt-puzzles_20250730.a7c7826-1_source.buildinfo
Files:
c8b65a0b03ad8469a7f9510893257d4e 2047 games optional
sgt-puzzles_20250730.a7c7826-1.dsc
b1b2385402c00da90dc77e63532e3905 974532 games optional
sgt-puzzles_20250730.a7c7826.orig.tar.xz
cd96a7986c5a9f3a15a4944846f4ec6c 104728 games optional
sgt-puzzles_20250730.a7c7826-1.debian.tar.xz
784a3dc511f267e834ea7c5291b3e623 9455 games optional
sgt-puzzles_20250730.a7c7826-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmmm/6YACgkQ57/I7JWG
EQl9rg/9FY7Cpb5EQAxVmIh4eNzEKVeP7+qodOzmlmn71Isjm6HDWHgcn57OEiRc
DRnSLWZWzkfZWd/SNK7REA67IAvG8EdaURT1vxdo8Zov8xPHw285TaQRQQWE1bgU
0+lxkoyK4Mw6I5tKUYSwxMjGFfZsfObRyo7216VwNpTX7d1yPma+6SqscNPQAFZb
yLssY6aPULP0PRD1XGS5n93jIWMK9G4AKFGwjNqnIL6lyFvTRmUIhHcQhnLaLlJL
1xU+7L8susKYGWB/6BQUPXg7D9b7XCCktuCGjfC17VNLcrVL7k7vHtsCIJd/Raq7
idUtpTG/xup5pRrW6P52BeOI4gicr5GXU5P3M2dRAFtZf5+4fisxBKSxACzOmjY/
PCfgZyAJkOpWOtknyRyz8PLPdatI7KX/qOodR5mRK7mOKt6lZHt5IXQxveOKVIuz
BU+yfw95SnTOBibHP7NV3XBPb7JNnOngqDKkLA1DhH+Erw8OiQ+Zep/XeoKECiU1
TSmt3cKwBM4b78ESqwW4ithZ77vrgjMzoRxadcTIMuCU9xIv6T+z64fUL0IGzvdO
W2RAWG8LjUYFvnfE5khjkVZBefD46FmNeTIvexprS5jBzargRs3TPIOM5PYLXEeG
SnsNy3An3JVyyTKLKihkULqkDs6XdzUy1pGG3SpS35SL+YzyFYI=
=/hUo
-----END PGP SIGNATURE-----
pgpv0Yb9Hbl0U.pgp
Description: PGP signature
--- End Message ---