Package: svgatextmode Version: 1.9-19 Severity: wishlist X-Debbugs-CC: [EMAIL PROTECTED]
In the SVGATextMode's history kbd and console-tools repeatedly displaced each other. This packaged ping-pong is uncomfortable for users. Now the actual `svgatextmode' of version 1.9-19 use `kbd' package as font utilities. In so far as I have `console-tools' installed, it forces me to edit `TextConfig' and `control' files of the source. Note the original svgatextmode_1.9-19_amd64.deb is incompatible with console-tools in the officially pointed Depends. One can consider a variant which is friendly to both `kbd' and `console-tools' users. Suggested diff will provide SVGATextMode compatibility with both of the packages mentioned above. diff includes the following parts: 1. File: debian/control --- svgatextmode_1.9-19-orig/debian/control 2007-09-23 02:19:13.000000000 +0700 +++ svgatextmode_1.9-19-my/debian/control 2007-09-23 02:33:57.000000000 +0700 @@ -7,7 +7,7 @@ Package: svgatextmode Architecture: any -Depends: kbd, ${shlibs:Depends} +Depends: kbd | console-tools, ${shlibs:Depends} Suggests: svgalib-bin Description: enable higher resolution text modes This program is designed to greatly improve the normal (EGA-based) text modes 2. File: TextConfig --- svgatextmode_1.9-19-orig/TextConfig 2007-09-23 02:19:13.000000000 +0700 +++ svgatextmode_1.9-19-my/TextConfig 2007-09-23 02:29:53.000000000 +0700 @@ -465,10 +465,7 @@ #FontSelect "Cyr_a8x8" 8x8 9x8 8x7 9x7 #FontSelect "Cyr_a8x32" 8x32 9x32 8x31 9x31 -# Debian defaults for use with kbd again, if you use console-tools -# then use consolechars as your FontProg instead. -#FontProg "/usr/bin/consolechars -f" -FontProg "/usr/bin/setfont" +FontProg "/usr/share/svgatextmode/universal_setfont" FontPath "/usr/share/consolefonts" FontSelect "lat1u-16" 8x16 9x16 8x15 9x15 FontSelect "lat1u-14" 8x14 9x14 8x13 9x13 3. New File: /usr/share/svgatextmode/universal_setfont #!/bin/sh # # This script detects and invokes the actual font loading program # belonging to either kbd or console-tools packages. prog="$(basename -- "$0")" case "$#" in 1) fontname="$1" ;; *) echo "Usage: $prog FONT_NAME" >&2 ; exit 1 ;; esac try_setfont () { [ -x "$1" ] && exec "$@" } try_setfont /usr/bin/consolechars "-f" "$fontname" try_setfont /usr/bin/setfont "$fontname" echo "$prog: No font loading program detected" >&2 echo "$prog: Try to install kbd or console-tools package" >&2 exit 2 4. File: debian/README.Debian The `universal_setfont' script included in the Debian package will detect and invoke the font loading program of the installed package, either kbd or console-tools. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]