Import Debian changes 2.90-8
xfonts-mona (2.90-8) unstable; urgency=medium
.
* Update debian/control.
- Bump up Standards-Version to 3.9.6.
- Remove ttf-kochi-gothic from Build-Depends.
* Update debian/rules.
- Add --no-name option to gzip.
Fix package-contains-timestamped-gzip of lintian warning.
* Remove support fonts-mona. (Closes: #804515)
The fonts-mona package will provide by ttf-mona source package.
Nobuhiro Iwamatsu authored 8 years ago
Nobuhiro Iwamatsu committed 3 years ago
|
0 |
xfonts-mona (2.90-8) unstable; urgency=medium
|
|
1 |
|
|
2 |
* Update debian/control.
|
|
3 |
- Bump up Standards-Version to 3.9.6.
|
|
4 |
- Remove ttf-kochi-gothic from Build-Depends.
|
|
5 |
* Update debian/rules.
|
|
6 |
- Add --no-name option to gzip.
|
|
7 |
Fix package-contains-timestamped-gzip of lintian warning.
|
|
8 |
* Remove support fonts-mona. (Closes: #804515)
|
|
9 |
The fonts-mona package will provide by ttf-mona source package.
|
|
10 |
|
|
11 |
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Fri, 13 Nov 2015 14:48:23 +0900
|
|
12 |
|
0 | 13 |
xfonts-mona (2.90-7) unstable; urgency=low
|
1 | 14 |
|
2 | 15 |
* Update debian/control.
|
2 | 2 |
Priority: optional
|
3 | 3 |
Maintainer: Nobuhiro Iwamatsu <iwamatsu@debian.org>
|
4 | 4 |
Build-Depends: debhelper (>= 9)
|
5 | |
Build-Depends-Indep: ttf-kochi-gothic, bzip2, xfonts-utils
|
6 | |
Standards-Version: 3.9.3
|
|
5 |
Build-Depends-Indep: bzip2, xfonts-utils
|
|
6 |
Standards-Version: 3.9.6
|
7 | 7 |
|
8 | 8 |
Package: xfonts-mona
|
9 | 9 |
Architecture: all
|
|
11 | 11 |
Description: Proportional X fonts for 2ch ASCII art
|
12 | 12 |
These fonts are suitable for some ASCII arts like mona, gikoneko and so on.
|
13 | 13 |
This package provides BDF (Bitmap Description / Display Format) font.
|
14 | |
|
15 | |
Package: fonts-mona
|
16 | |
Architecture: all
|
17 | |
Depends: ${misc:Depends}
|
18 | |
Provides: ttf-japanese-gothic
|
19 | |
Conflicts: ttf-mona (<< 2.90-7)
|
20 | |
Replaces: ttf-mona (<< 2.90-7)
|
21 | |
Description: Japanese TrueType font for 2ch ASCII art
|
22 | |
These fonts are suitable for some ASCII arts like mona, gikoneko and so on.
|
23 | |
This package provides TrueType font.
|
24 | |
|
25 | |
Package: ttf-mona
|
26 | |
Depends: fonts-mona, ${misc:Depends}
|
27 | |
Architecture: all
|
28 | |
Priority: extra
|
29 | |
Section: oldlibs
|
30 | |
Description: Transitional dummy package
|
31 | |
This package is a dummy transitional package. It can be safely removed.
|
0 | |
usr/share/fonts/truetype/mona
|
1 | |
usr/share/doc/ttf-mona
|
0 | |
README.ascii
|
1 | |
README.euc
|
0 | |
#! /bin/sh
|
1 | |
set -e
|
2 | |
|
3 | |
# font alternatives
|
4 | |
ALT_NAME_OLD="ttf-japanese-gothic"
|
5 | |
ALT_NAME="fonts-japanese-gothic"
|
6 | |
FONT_ENTRY="/usr/share/fonts/truetype/mona/mona.ttf"
|
7 | |
FONT_PRIORITY=20
|
8 | |
|
9 | |
remove_old_alternate_font_entry()
|
10 | |
{
|
11 | |
# remove old 'ttf-japanese-mincho' alternatives
|
12 | |
if [ -f /usr/share/fonts/truetype/$ALT_NAME_OLD ]; then
|
13 | |
rm -rf /usr/share/fonts/truetype/$ALT_NAME_OLD
|
14 | |
fi
|
15 | |
# remove old 'ttf-japanese-mincho.ttf' alternatives
|
16 | |
if [ -f /usr/share/fonts/truetype/$ALT_NAME_OLD.ttf ]; then
|
17 | |
update-alternatives --remove $ALT_NAME_OLD.ttf $FONT_ENTRY
|
18 | |
fi
|
19 | |
}
|
20 | |
|
21 | |
add_alternate_font_entry()
|
22 | |
{
|
23 | |
update-alternatives --install \
|
24 | |
/usr/share/fonts/truetype/$ALT_NAME.ttf \
|
25 | |
$ALT_NAME.ttf \
|
26 | |
$FONT_ENTRY \
|
27 | |
$FONT_PRIORITY
|
28 | |
}
|
29 | |
|
30 | |
case "$1" in
|
31 | |
configure)
|
32 | |
# alternatives
|
33 | |
remove_old_alternate_font_entry
|
34 | |
add_alternate_font_entry
|
35 | |
;;
|
36 | |
|
37 | |
abort-upgrade|abort-remove|abort-deconfigure)
|
38 | |
|
39 | |
;;
|
40 | |
|
41 | |
*)
|
42 | |
echo "postinst called with unknown argument \`$1'" >&2
|
43 | |
exit 1
|
44 | |
;;
|
45 | |
esac
|
46 | |
|
47 | |
# dh_installdeb will replace this with shell code automatically
|
48 | |
# generated by other debhelper scripts.
|
49 | |
|
50 | |
#DEBHELPER#
|
51 | |
|
52 | |
exit 0
|
0 | |
#!/bin/sh
|
1 | |
|
2 | |
set -e
|
3 | |
|
4 | |
PKG="ttf-mona"
|
5 | |
PKG_VERSION="2.90-5"
|
6 | |
|
7 | |
rm_conffile() {
|
8 | |
PKGNAME="$1"
|
9 | |
CONFFILE="$2"
|
10 | |
if [ -e "$CONFFILE" ]; then
|
11 | |
md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`"
|
12 | |
old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE'{s/ obsolete$//;s/.* //p}\"`"
|
13 | |
if [ "$md5sum" != "$old_md5sum" ]; then
|
14 | |
echo "Obsolete conffile $CONFFILE has been modified by you."
|
15 | |
echo "Saving as $CONFFILE.dpkg-bak ..."
|
16 | |
mv -f "$CONFFILE" "$CONFFILE".dpkg-bak
|
17 | |
else
|
18 | |
echo "Removing obsolete conffile $CONFFILE ..."
|
19 | |
rm -f "$CONFFILE"
|
20 | |
fi
|
21 | |
fi
|
22 | |
}
|
23 | |
|
24 | |
case "$1" in
|
25 | |
install|upgrade)
|
26 | |
if dpkg --compare-versions "$2" lt-nl "$PKG_VERSION"; then
|
27 | |
FILE="/etc/defoma/hints/${PKG}.hints"
|
28 | |
if [ -f $FILE ]; then
|
29 | |
if [ -x /usr/bin/defoma-font ]; then
|
30 | |
defoma-font purge-all $FILE || true
|
31 | |
fi
|
32 | |
fi
|
33 | |
rm_conffile $PKG $FILE
|
34 | |
fi
|
35 | |
esac
|
36 | |
|
37 | |
#DEBHELPER#
|
38 | |
exit 0
|
0 | |
#! /bin/sh
|
1 | |
set -e
|
2 | |
|
3 | |
# font alternatives
|
4 | |
ALT_NAME_OLD="ttf-japanese-gothic"
|
5 | |
ALT_NAME="fonts-japanese-gothic"
|
6 | |
FONT_ENTRY="/usr/share/fonts/truetype/mona/mona.ttf"
|
7 | |
|
8 | |
remove_alternate_font_entry()
|
9 | |
{
|
10 | |
update-alternatives --remove $ALT_NAME.ttf $FONT_ENTRY
|
11 | |
}
|
12 | |
|
13 | |
case "$1" in
|
14 | |
upgrade|deconfigure)
|
15 | |
;;
|
16 | |
remove)
|
17 | |
# alternative
|
18 | |
remove_alternate_font_entry
|
19 | |
;;
|
20 | |
failed-upgrade)
|
21 | |
;;
|
22 | |
*)
|
23 | |
echo "prerm called with unknown argument \`$1'" >&2
|
24 | |
exit 1
|
25 | |
;;
|
26 | |
esac
|
27 | |
|
28 | |
# dh_installdeb will replace this with shell code automatically
|
29 | |
# generated by other debhelper scripts.
|
30 | |
|
31 | |
#DEBHELPER#
|
32 | |
|
33 | |
exit 0
|
4 | 4 |
override_dh_auto_build:
|
5 | 5 |
-mkdir dist
|
6 | 6 |
make bdf
|
7 | |
(cd dist; for i in *.bdf; do bdftopcf $$i|gzip -c9 > `basename $$i .bdf`.pcf.gz; done)
|
8 | |
make -C ttfsrc
|
|
7 |
(cd dist; for i in *.bdf; do bdftopcf $$i|gzip --no-name -c9 > `basename $$i .bdf`.pcf.gz; done)
|
9 | 8 |
|
10 | 9 |
override_dh_auto_install:
|
11 | 10 |
# Add here commands to install the package into debian/tmp.
|
12 | 11 |
cp dist/*.pcf.gz `pwd`/debian/xfonts-mona/usr/share/fonts/X11/misc
|
13 | |
# ttf copy
|
14 | |
mkdir -p `pwd`/debian/fonts-mona/usr/share/fonts/truetype/mona/.
|
15 | |
install -m 644 ttfsrc/mona.ttf \
|
16 | |
`pwd`/debian/fonts-mona/usr/share/fonts/truetype/mona/
|
17 | |
|
18 | |
#gzip -9 `pwd`/debian/xfonts-mona/usr/X11R6/lib/X11/fonts/misc/*.pcf
|
19 | 12 |
|
20 | 13 |
override_dh_auto_clean:
|
21 | 14 |
|
22 | |
make clean -C ttfsrc
|
23 | 15 |
make clean
|
24 | 16 |
-rm -f dist/*
|
25 | 17 |
|