File: packages

package info (click to toggle)
fonty 1.0-12
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,864 kB
  • ctags: 120
  • sloc: cpp: 1,114; perl: 767; makefile: 133; sh: 80
file content (246 lines) | stat: -rw-r--r-- 10,631 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
241
242
243
244
245
246
Source: fonty
Section: utils
Priority: optional
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.5.6
Upstream-Source: <URL:http://kki.net.pl/qrczak/programy/linux/fonty/>
Description: fonts on Linux console
Packaged-For: Debian
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
Build-Depends: console-tools, console-data
Patches: *.diff
Build: sh
 CXXFLAGS="-O2 -Wall"
 if [ "${DEB_BUILD_OPTIONS#*debug}" != "$DEB_BUILD_OPTIONS" ]; then
     CXXFLAGS="$CXXFLAGS -g"
 fi
 make CXXFLAGS="$CXXFLAGS"
Clean: sh
 make clean || true

Package: fonty
Section: utils
Architecture: all
Depends: console-tools (>= 1:0.2.3-1), 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 -into /usr/share/consolefonts psf/* 
 gzip -n -9 $ROOT/usr/share/consolefonts/*
 yada install -data -into /usr/share/consoletrans -as fonty.fallback qrczak.fallback 
 gzip -n -9 $ROOT/usr/share/consoletrans/*
 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
 yada install -data -into /usr/share/lintian/overrides -as fonty debian/override
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)
 Choices-hu: semmilyen, iso1 (nyugat-eurpai), iso2 (kzp-eurpai), iso3 (eszperant), iso4 (balti), iso5 (cirill), iso6 (arab), iso7 (grg), iso8 (hber), iso9 (trk), iso10 (szaki), iso15 (nyugat-eurpai)
 Choices-pl: brak, iso1 (Zachodnia Europa), iso2 (rodkowa Europa), iso3 (Esperanto), iso4 (Batyckie), iso5 (Cyrylica), iso6 (Arabskie), iso7 (Greckie), iso8 (Hebrajskie), iso9 (Tureckie), iso10 (Nordyckie), iso15 (Europa Zachodnia + 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-tools.sh script. Your choice will be written to
  the /etc/console-tools/config file.
 Description-de: Sie knnen den Konsolenzeichesatz einstellen
  Der Konsolenzeichesatz wird nach dem Starten des Rechners vom Script
  /etc/init.d/console-tools.sh gesetzt. Ihre Wahl wird in der Datei
  /etc/console-tools/config gespeichert.
 Description-hu: Vlaszd ki az alaprtelmezett konzol-kdlapot.
  Az alaprtelmezett kdlapot a /etc/init.d/console-tools.sh script lltja
  be jraindts utn. Vlasztsod a /etc/console-tools/config file-ba
  mentdik.
 Description-pl: Wybr domylnej czcionki.
  Domylna czcionka bdzie ustawiana w trakcie procesu startu systemu przez 
  skrypt /etc/init.d/console-tools.sh. Twj wybr zostanie zachowany w pliku
  /etc/console-tools/config.
 .
 Template: fonty/vts
 Type: string
 Default: 6
 Description: How many virtual text terminals do you want to configure?
  At boot time only the first terminal will be configured. You can enter
  how many virtual terminals do you want to configure. A default option
  in /etc/inittab is six virtual terminals.
  .
  If you choose zero, only the global value will be set. Please note, this 
  isn't enough for fonty package.
 Description-de: Wieviele Konsolen sollen konfiguriert werden?
  Beim starten wird nur das erste Terminal eingerichtet. Sie knnen
  hier angeben, wieviele Terminals Sie konfiguriert werden sollen. Die
  Grundeinstellung in /etc/inittab sind sechs Terminals.
  .
  Wennn Sie Null angeben, wird nur der allgemeine Wert gesetzt.
  Beachten Sie bitte, das dieses fr das fonty-Packet nicht genug ist.
 Description-hu: Hny virtulis terminlt szeretnl konfigurlni?
  A rendszerinduls sorn csak az els virtulis terminl konfigurldik.
  Itt megadhatod, hogy az elst is belertve sszesen hny terminlon szeretnd
  belltani a kivlasztott kdlapot. rdemes a /etc/inittab-bl
  elindtott getty-k szmt megadni; ez alaprtelmezs szerint hat.
  .
  Ha nullt adsz meg, csak a globlis alaprtelmezs lltdik be, ez azonban
  a fonty csomag mkdshez nem elegend.
 Description-pl: Ile wirtualnych terminali tekstowych ustawi na starcie?
  W procesie startu systemu zostaje ustawiony tylko pierwszy terminal.
  Moesz wybra, ile chcesz ustawi wirtualnych terminali tekstowych.
  Domylnie w pliku /etc/inittab uytych jest sze terminali.
  .
  Jeeli wybrane zostanie zero, uyte zostanie globalne ustawienie, ale to
  moe nie wystarczy, aby mie wybran czcionk na wszystkich terminalach.
Config: sh
 db_input medium fonty/charset || true
 db_go
 RET=""
 db_get fonty/charset || true
 if [ -n "$RET" -a "$RET" != "none" ]; then
   db_input medium fonty/vts || true
   db_go
   RET=""
   db_get fonty/vts
   if ! [ "$RET" -ge 0 -a "$RET" -le 63 ] 2>/dev/null; then
     db_reset fonty/vts
   fi
 fi
Postinst: bash
 # debconf
 if [ "$1" = "configure" ]; then
   RET=""
   db_get fonty/charset || true
   if [ -n "$RET" -a "$RET" != "none" ]; then
     CHARSET=$(echo $RET | sed 's/^iso\([0-9]*\).*/\1/')
     MAP=$(echo $CHARSET | sed 's/^\([0-9]\)$/0\1/')
     CONF=/etc/console-tools/config
     test -f $CONF && \
       cat $CONF | \
       sed '/^### begin fonty config/,/^### end fonty config/d' > \
       $CONF.dpkg-tmp
     echo "### begin fonty config" >> $CONF.dpkg-tmp
     echo "SCREEN_FONT=iso$CHARSET-16" >> $CONF.dpkg-tmp
     echo "APP_CHARSET_MAP=iso$MAP" >> $CONF.dpkg-tmp
     echo "FALLBACK_TAB=fonty" >> $CONF.dpkg-tmp
     RET=""
     db_get fonty/vts || true
     if [ "$RET" -gt 0 -a "$RET" -le 63 ] 2>/dev/null; then
       vt=1
       while [ "$vt" -le "$RET" ]; do
  	echo "SCREEN_FONT_vc$vt=iso$CHARSET-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]
       done
     fi
     echo "### end fonty config" >> $CONF.dpkg-tmp
     mv -f $CONF.dpkg-tmp $CONF
     /etc/init.d/console-screen.sh reload
   fi
 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
Postrm: bash
 # removing fonty's entry in console-tools's conffile
 if [ \( "$1" = "purge" -o "$1" = "remove" \) -a -f /etc/console-tools/config ]; 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" = "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

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
 yada perl

Package: dynafont
Section: utils
Priority: extra
Architecture: any
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 -into /usr/share/consolefonts unicode/uni-compact-16.sbf
 gzip -n -9 $ROOT/usr/share/consolefonts/*
 yada install -doc -as README.Debian debian/README.dynafont
 yada install -doc doc/en/dynafont
 yada install -doc -subdir pl doc/pl/dynafont
 yada dpkg-shlibdeps