[SCM] xboard PKG branch, experimental, updated. debian/4.5.git20100118-1-18-g35eafbf

Vincent Legout vincent at legout.info
Sun Dec 12 18:13:36 UTC 2010


The following commit has been merged in the experimental branch:
commit 35eafbf1000b5d553fe6ffedb843d643367db307
Author: Vincent Legout <vincent at legout.info>
Date:   Sun Dec 12 19:05:01 2010 +0100

    Add 01_note_about_missing_fonts.patch

diff --git a/debian/changelog b/debian/changelog
index 03512db..25302a8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,11 +22,12 @@ xboard (4.5~git20101120-1) UNRELEASED; urgency=low
   * debian/copyright:
     - Update date and license of XBoard
     - Add a copyright statement for the filebrowser
+  * debian/patches/01_note_about_missing_fonts.patch: Added
 
   [ Clint Adams ]
   * change my uploader address
 
- -- Vincent Legout <vincent at legout.info>  Sun, 05 Dec 2010 20:11:24 +0100
+ -- Vincent Legout <vincent at legout.info>  Sun, 12 Dec 2010 19:03:24 +0100
 
 xboard (4.5~git20100118-1) experimental; urgency=low
 
diff --git a/debian/patches/01_note_about_missing_fonts.patch b/debian/patches/01_note_about_missing_fonts.patch
new file mode 100644
index 0000000..bf42608
--- /dev/null
+++ b/debian/patches/01_note_about_missing_fonts.patch
@@ -0,0 +1,18 @@
+Description: Print an error message when fonts are missing
+Author: Vincent Legout <vincent at legout.info>
+Bug-Debian: http://bugs.debian.org/504077
+Bug-Debian: http://bugs.debian.org/562726
+
+Index: xboard/xboard.c
+===================================================================
+--- xboard.orig/xboard.c	2010-12-12 19:02:20.141209117 +0100
++++ xboard/xboard.c	2010-12-12 19:02:32.229773547 +0100
+@@ -3058,6 +3058,8 @@
+     if (nfonts < 1) {
+ 	fprintf(stderr, _("%s: no fonts match pattern %s\n"),
+ 		programName, pattern);
++    fprintf(stderr, "Some fonts seem to be missing in your system, you should install either xfonts-100dpi or xfonts-75dpi and then restart Xorg to get xboard running.\n");
++    fprintf(stderr, "See http://bugs.debian.org/504077 and http://bugs.debian.org/562726 for more information.\n");
+ 	exit(2);
+     }
+ #endif
diff --git a/debian/patches/series b/debian/patches/series
index 82b0c1a..a1a1359 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 02_allow_current_flex.dpatch
 07_call_x-terminal-emulator_instead_of_xterm.dpatch
 11_fix_manpages_warnings.dpatch
+01_note_about_missing_fonts.patch

-- 
xboard PKG



More information about the Pkg-games-commits mailing list