File: packages

package info (click to toggle)
fonty 1.0-8
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,988 kB
  • ctags: 112
  • sloc: perl: 2,097; cpp: 1,114; makefile: 133; sh: 97
file content (183 lines) | stat: -rw-r--r-- 7,341 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
Source: fonty
Section: utils
Priority: extra
Maintainer: Piotr Roszatycki <dexter@debian.org>
Standards-Version: 3.0.1
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:
 [fonty.uni-16.sbf.dpatch] new uni-16.sbf based on original VGA fonts
 [fonty-dev.psf2sbf.dpatch] pcf2sbf tool mailed me by original author
 [fonty-dev.sbf2psf.dpatch] sbf2pcf tool slightly modified by me
 [dynafont.wrapper.dpatch] modified pathfiles for dynafont wrapper
Build-Depends: debhelper (>= 2.0.40), console-tools, console-data
Patches: *.dpatch
Build: sh
 make CXXFLAGS="-g -Wall -O2 -fomit-frame-pointer -pipe"
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
Finalise: sh
 install -o root -g root -m 0644 debian/fonty.templates $CONTROL/templates
 install -o root -g root -m 0755 debian/fonty.config $CONTROL/config
 dh_md5sums -p$PACKAGE -P$ROOT
Postinst: sh
 # debconf
 if [ "$1" = "configure" -a -e /usr/share/debconf/confmodule ]; then
     . /usr/share/debconf/confmodule
     db_version 2.0
     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: sh
 # debconf
 if [ "$1" = "purge" -a -e /usr/share/debconf/confmodule ]; then
     . /usr/share/debconf/confmodule
     db_purge
 fi
 # 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
Architecture: all
Depends: ${perl:Depends}
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
 dh_perl -p$PACKAGE -P$ROOT
 mv -f debian/$PACKAGE.substvars debian/substvars
Finalise: sh
 dh_md5sums -p$PACKAGE -P$ROOT

Package: dynafont
Section: utils
Architecture: any
Depends: ${shlibs: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.
 . 
 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
 dh_shlibdeps -p$PACKAGE -P$ROOT
 mv -f debian/$PACKAGE.substvars debian/substvars
Finalise: sh
 dh_md5sums -p$PACKAGE -P$ROOT