File: packages

package info (click to toggle)
fonty 1.0-22
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,924 kB
  • ctags: 124
  • sloc: cpp: 1,114; perl: 767; makefile: 133; sh: 80
file content (240 lines) | stat: -rw-r--r-- 9,602 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
# $Id: packages,v 1.30 2004/12/04 14:56:00 dexter Exp $

Source: fonty
Section: utils
Priority: optional
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.6.1
Upstream-Source: <URL:http://qrczak.ids.net.pl/programy/linux/fonty/>
Description: fonts on Linux console
Copyright: GPL
 Copyright (c) 1998 Marcin 'Qrczak' Kowalczyk
 .
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 .
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
Major-Changes:
 [001] new uni-16.sbf based on original VGA fonts
 [002] pcf2sbf tool mailed me by original author
 [003] sbf2pcf tool slightly modified by me
 [004] modified pathfiles for dynafont wrapper
 [005] fixes coredump for unicode specials
 [006] adapted to gcc3
 [007] support build-indep target
Build-Depends-Indep: console-tools, console-data
Patches: patches/*.diff
Build-Arch: sh
 CXX=${CXX:-g++}
 CXXFLAGS=${CXXFLAGS:--Wall -g}
 if [ "${DEB_BUILD_OPTIONS#*noopt}" != "$DEB_BUILD_OPTIONS" ]; then
     CXXFLAGS="$CXXFLAGS -O0"
 else
     CXXFLAGS="$CXXFLAGS -O2"
 fi
 make BUILD_ARCH=yes CXX="$CXX" CXXFLAGS="$CXXFLAGS"
Build-Indep: sh
 make BUILD_INDEP=yes
Clean: sh
 make clean || true

Package: fonty
Section: utils
Architecture: all
Depends: console-tools (>= 1:0.2.3dbs-54), console-data, []
Description: Fonts on Linux console
 Fonty package brings a set of iso-8859-n fonts with VT100 graphics: single
 frames, a few symbols.
Install: sh
 yada install -data -gzip -into /usr/share/consolefonts psf/*
 yada install -data -gzip -into /usr/share/consoletrans -as fonty.fallback qrczak.fallback
 yada install -doc -as changelog doc/en/CHANGES
 yada install -doc -as README.Debian debian/README.fonty
 yada install -doc doc/en/README doc/en/BUGS doc/en/TODO doc/en/fonts doc/en/thanks
 yada install -doc -subdir pl doc/pl/BLEDY doc/pl/CZYTAJTO doc/pl/fonty doc/pl/podziekowania
Templates:
 Template: fonty/charset
 Type: select
 __Choices: none, iso1 (Western European), iso2 (Central European), iso3 (Esperanto), iso4 (Baltic), iso5 (Cyrillic), iso6 (Arabic), iso7 (Greek), iso8 (Hebrew), iso9 (Turkish), iso10 (Nordic), iso15 (Western European + euro)
 Default: none
 _Description: You can choose the default console font.
  The default font will be set after reboot during the initialization
  process by the /etc/init.d/console-screen.sh script. Your choice will be
  written to the /etc/console-tools/config.d/fonty file.
 .
 Template: fonty/restart
 Type: boolean
 Default: false
 _Description: Do you want me to restart console-tools now?
  Remember that in order to activate the new configuration
  console-tools has to be restarted. You can also restart console-tools
  manually executing /etc/init.d/console-screen.sh restart
Config: sh
 db_input medium fonty/charset || true
 db_go
Postinst: bash
 # unregister old debconf entries
 db_unregister fonty/vts || true
 .
 # removing fonty's entry in console-tools's conffile
 if [ "$1" = "configure" -a -f /etc/console-tools/config ] \
   && dpkg --compare-versions "$2" lt-nl "1.0-17"; then
     CONF=/etc/console-tools/config
     cat $CONF | \
         sed '/^### begin fonty config/,/^### end fonty config/d' > \
         $CONF.dpkg-tmp
     mv -f $CONF.dpkg-tmp $CONF || true
 fi
 .
 # outdated init script
 if [ "$1" = "configure" -a -f /etc/init.d/fonty ] \
   && dpkg --compare-versions "$2" lt-nl "1.0-7"; then
     if command -v update-rc\.d >/dev/null 2>&1; then
         update-rc.d -f fonty remove >/dev/null
     fi
     echo "#!/bin/sh" > /etc/init.d/fonty.dpkg-tmp
     echo "# This file is outdated and can be removed" >> /etc/init.d/fonty.dpkg-tmp
     echo "exit 0" >> /etc/init.d/fonty.dpkg-tmp
     cat /etc/init.d/fonty >> /etc/init.d/fonty.dpkg-tmp
     chmod +x /etc/init.d/fonty.dpkg-tmp
     mv -f /etc/init.d/fonty.dpkg-tmp /etc/init.d/fonty && true
 fi
 .
 # install configuration file with debconf
 if [ "$1" = "configure" ]; then
     CONFDIR=/etc/console-tools/config.d
     CONF=$CONFDIR/fonty
     RET=""
     db_get fonty/charset || true
     if [ -n "$RET" -a "$RET" != "none" ]; then
         if [ -d /dev/vc ]; then
             DEV="/dev/vc/"
         else
             DEV="/dev/tty"
         fi
         CHARSET=$(echo $RET | sed 's/^iso\([0-9]*\).*/\1/')
         MAP=$(echo $CHARSET | sed 's/^\([0-9]\)$/0\1/')
         test -d $CONFDIR || mkdir -p $CONFDIR
         cat > $CONF.dpkg-tmp << END
 ###DEBCONF###
 # the configuration of this file was done by debconf and can be
 # overwritten.
 #
 # you should use dpkg-reconfigure fonty to configure this file.
 #
 END
         echo "SCREEN_FONT=iso${CHARSET}graf-16" >> $CONF.dpkg-tmp
         echo "APP_CHARSET_MAP=iso$MAP" >> $CONF.dpkg-tmp
         echo "FALLBACK_TAB=fonty" >> $CONF.dpkg-tmp
         nextvt=$(fgconsole -n || echo 0)
         if [ -n "$nextvt" -a "$nextvt" -gt 0 -a "$nextvt" -le 63 ] 2>/dev/null; then
             vt=1
             while [ "$vt" -lt "$nextvt" ]; do
                 echo "SCREEN_FONT_vc$vt=iso${CHARSET}graf-16" >> $CONF.dpkg-tmp
                 echo "APP_CHARSET_MAP_vc$vt=iso$MAP" >> $CONF.dpkg-tmp
                 echo "FALLBACK_TAB_vc$vt=fonty" >> $CONF.dpkg-tmp
                 vt=$((vt+1))
                 sttyn=$(echo $(stty < ${DEV}$vt))
                 speedn=${sttyn%%;*}
                 if [ "$speedn" = "speed 0 baud" \
                   -o "$sttyn" = "speed 38400 baud; line = 0; -brkint -imaxbel" ]; then
                     break
                 fi
             done
         fi
         mv -f $CONF.dpkg-tmp $CONF
         db_reset fonty/restart || true
         db_subst fonty/restart webserver "$webserver"
         db_input high fonty/restart || true
         db_go
         db_get fonty/restart
         if [ "$RET" = "true" ]; then
             echo -n "Setting up console font..."
             /etc/init.d/console-screen.sh restart <${DEV}1 >/dev/null 2>&1
             echo " done."
         fi
     fi
 fi
Postrm: bash
 # outdated init script
 if [ "$1" = "remove" -a -f /etc/init.d/fonty ] \
   && dpkg --compare-versions "$2" lt-nl "1.0-7"; then
     if command -v update-rc\.d >/dev/null 2>&1; then
         update-rc.d -f fonty remove >/dev/null
     fi
     echo "#!/bin/sh" > /etc/init.d/fonty.dpkg-tmp
     echo "# This file is outdated and can be removed" >> /etc/init.d/fonty.dpkg-tmp
     echo "exit 0" >> /etc/init.d/fonty.dpkg-tmp
     cat /etc/init.d/fonty >> /etc/init.d/fonty.dpkg-tmp
     chmod +x /etc/init.d/fonty.dpkg-tmp
     mv -f /etc/init.d/fonty.dpkg-tmp /etc/init.d/fonty && true
 fi
 if [ "$1" = "purge" -a -f /etc/init.d/fonty ] \
   && dpkg --compare-versions "$2" lt-nl "1.0-7"; then
     if command -v update-rc\.d >/dev/null 2>&1; then
         update-rc.d -f fonty remove >/dev/null
     fi
     rm -f /etc/init.d/fonty && true
 fi
 .
 # configuration file
 if [ "$1" = "remove" -a -f /etc/console-tools/config.d/fonty ]; then
     if head -n1 /etc/console-tools/config.d/fonty | grep -qs '^###DEBCONF###'; then
         sed 's/^[^#]/#&/' /etc/console-tools/config.d/fonty > /etc/console-tools/config.d/fonty.dpkg-tmp
         mv -f /etc/console-tools/config.d/fonty.dpkg-tmp /etc/console-tools/config.d/fonty && true
     fi
 fi
 if [ "$1" = "purge" ]; then
     rm -f /etc/console-tools/config.d/fonty || true
     rmdir --ignore-fail-on-non-empty /etc/console-tools/config.d >/dev/null 2>&1 || true
 fi
Overrides:
 duplicate-updaterc.d-calls-in-postrm fonty
 postrm-contains-additional-updaterc.d-calls /etc/init.d/fonty

Package: fonty-dev
Section: devel
Priority: extra
Architecture: all
Suggests: fonty
Description: Tools for developing fonts on Linux console
 This package contains Tools for developing console fonts:
  * psf2sbf - converts .psf font binary file to text file
  * sbf2psf - converts .sbf font source to binary file
Install: sh
 yada install -script tools/psf2sbf tools/sbf2psf
 yada install -doc -as changelog doc/en/CHANGES
 yada install -doc doc/en/README doc/en/TODO doc/en/thanks
 yada install -doc -subdir pl doc/pl/CZYTAJTO doc/pl/podziekowania \
     doc/pl/format_sbf doc/pl/teoria doc/pl/unikod
 yada install -doc -subdir examples unicode/uni-16.sbf
 yada undocumented psf2sbf.1
 yada undocumented sbf2psf.1

Package: dynafont
Section: utils
Priority: extra
Architecture: linux
Depends: konwert, []
Recommends: console-tools (>= 1998.06.03)
Description: Module for konwert package which loads UTF-8 fonts dynamically
 This is a tool which allows displaying texts containing thousands of different
 characters. It switches console to UTF8 mode and loads required fonts
 dynamically. It is recommended to use this tool with filterm(1) tool,
 i.e. by executing 'filterm - dynafont' command or 'filterm - 512bold+dynafont'
 if you are not using framebuffer.
 .
 The tool works with UTF8-compatible applications, i.e. lynx(1).
 There are problems with 8-bit only applications like mc(1).
Install: sh
 yada install -bin -into /usr/lib/konwert/aux dynafont/dynafont
 yada install -script -into /usr/share/konwert/filters -as dynafont dynafont/wrapper
 yada install -data -gzip -into /usr/share/consolefonts unicode/uni-compact-16.sbf
 yada install -doc -as README.Debian debian/README.dynafont
 yada install -doc doc/en/dynafont
 yada install -doc -subdir pl doc/pl/dynafont