xfonts-cronyx (2.3.8-6) debian-dir only changes

Summary

 debian/Makefile                            |   24 +
 debian/README.Debian                       |   19 +
 debian/changelog                           |  157 ++++++++++++
 debian/control                             |  354 +++++++++++++++++++++++++++++
 debian/control.m4                          |   91 +++++++
 debian/copyright                           |   33 ++
 debian/misc.alias                          |   63 +++++
 debian/rules                               |  205 ++++++++++++++++
 debian/xfonts-cronyx-koi8r-100dpi.postinst |   18 +
 debian/xfonts-cronyx-koi8r-75dpi.postinst  |   18 +
 debian/xfonts-cronyx-koi8r-misc.postinst   |   18 +
 11 files changed, 1000 insertions(+)

    
download this patch

Patch contents

--- xfonts-cronyx-2.3.8.orig/debian/control
+++ xfonts-cronyx-2.3.8/debian/control
@@ -0,0 +1,354 @@
+Source: xfonts-cronyx
+Maintainer: Anton Zinoviev <zinoviev@debian.org>
+Section: x11
+Priority: optional
+Standards-Version: 3.6.2.2
+Build-Depends: debhelper (>=5.0.32), trscripts (>= 1.13), xfonts-utils
+
+Package: xfonts-cronyx-100dpi
+Architecture: all
+Description: 100 dpi Unicode Cyrillic fonts for X (Cronyx collection)
+ This package provides a set of bitmapped Cyrillic fonts at 100 dots
+ per inch.  These are Unicode (ISO10646-1) fonts and support all
+ current slavic Cyrillic letters as well as some Russian
+ prerevolutionary letters.  In most cases it is desirable to have the
+ X font server (xfs) and/or an X server installed to make the fonts
+ available to X clients.
+ .
+ This package and xfonts-cronyx-75dpi provide the same set of
+ fonts, rendered at different resolutions; only one or the other is
+ necessary, but both may be installed.  xfonts-cronyx-100dpi may be
+ more suitable for large monitors and/or large screen resolutions
+ (over 1024x768).
+ .
+ The upstream source of this package is the package Xcyr of Serge
+ Winitzki.  Xcyr is a descendant of the package Xrus-2.3 of Andrey
+ Chernov.
+Section: x11
+Priority: optional
+Replaces: xfonts-cronyx-nop
+Depends: xfonts-utils
+Suggests: xfs | xserver
+Conflicts: xfonts-cronyx-nop
+
+Package: xfonts-cronyx-cp1251-100dpi
+Architecture: all
+Description: 100 dpi CP1251 encoded Cyrillic fonts for X (Cronyx collection)
+ This package provides a set of bitmapped Cyrillic fonts at 100 dots
+ per inch.  These are CP1251 (microsoft-cp1251) fonts
+ and support all current slavic Cyrillic scripts.
+ In most cases it is desirable to have the X font server (xfs) and/or
+ an X server installed to make the fonts available to X clients.
+ .
+ This package and xfonts-cronyx-cp1251-75dpi provide the same set of
+ fonts, rendered at different resolutions; only one or the other is
+ necessary, but both may be installed.  xfonts-cronyx-cp1251-100dpi may be
+ more suitable for large monitors and/or large screen resolutions
+ (over 1024x768).
+ .
+ The upstream source of this package is the package Xcyr of Serge
+ Winitzki.  Xcyr is a descendant of the package Xrus-2.3 of Andrey
+ Chernov.
+Section: x11
+Priority: optional
+Replaces: xfonts-cronyx-cp1251
+Depends: xfonts-utils
+Suggests: xfs | xserver
+Conflicts: xfonts-cronyx-cp1251
+
+Package: xfonts-cronyx-isocyr-100dpi
+Architecture: all
+Description: 100 dpi ISO 8859-5 encoded Cyrillic fonts for X (Cronyx collection)
+ This package provides a set of bitmapped Cyrillic fonts at 100 dots
+ per inch.  These are ISO 8859-5 fonts and support the Belarusian,
+ Bulgarian, Macedonian, Russian and Serbian scripts.  In most cases it
+ is desirable to have the X font server (xfs) and/or an X server
+ installed to make the fonts available to X clients.
+ .
+ This package and xfonts-cronyx-isocyr-75dpi provide the same set of
+ fonts, rendered at different resolutions; only one or the other is
+ necessary, but both may be installed.  xfonts-cronyx-isocyr-100dpi may be
+ more suitable for large monitors and/or large screen resolutions
+ (over 1024x768).
+ .
+ The upstream source of this package is the package Xcyr of Serge
+ Winitzki.  Xcyr is a descendant of the package Xrus-2.3 of Andrey
+ Chernov.
+Section: x11
+Priority: optional
+Replaces: xfonts-cronyx-iso
+Depends: xfonts-utils
+Suggests: xfs | xserver
+Conflicts: xfonts-cronyx-iso
+
+Package: xfonts-cronyx-koi8r-100dpi
+Architecture: all
+Description: 100 dpi KOI8-R encoded Cyrillic fonts for X (Cronyx collection)
+ This package provides a set of bitmapped Cyrillic fonts at 100 dots
+ per inch.  These are KOI8-R fonts
+ and are suitable for Russian.
+ In most cases it is desirable to have the X font server (xfs) and/or
+ an X server installed to make the fonts available to X clients.
+ .
+ This package and xfonts-cronyx-koi8r-75dpi provide the same set of
+ fonts, rendered at different resolutions; only one or the other is
+ necessary, but both may be installed.  xfonts-cronyx-koi8r-100dpi may be
+ more suitable for large monitors and/or large screen resolutions
+ (over 1024x768).
+ .
+ The upstream source of this package is the package Xcyr of Serge
+ Winitzki.  Xcyr is a descendant of the package Xrus-2.3 of Andrey
+ Chernov.
+Section: x11
+Priority: optional
+Replaces: xfonts-cronyx-koi8r
+Depends: xfonts-utils
+Suggests: xfs | xserver
+Conflicts: xfonts-cronyx-koi8r
+
+Package: xfonts-cronyx-koi8u-100dpi
+Architecture: all
+Description: 100 dpi KOI8-U encoded Cyrillic fonts for X (Cronyx collection)
+ This package provides a set of bitmapped Cyrillic fonts at 100 dots
+ per inch.  These are KOI8-U fonts
+ and are suitable for Ukrainian.
+ In most cases it is desirable to have the X font server (xfs) and/or
+ an X server installed to make the fonts available to X clients.
+ .
+ This package and xfonts-cronyx-koi8u-75dpi provide the same set of
+ fonts, rendered at different resolutions; only one or the other is
+ necessary, but both may be installed.  xfonts-cronyx-koi8u-100dpi may be
+ more suitable for large monitors and/or large screen resolutions
+ (over 1024x768).
+ .
+ The upstream source of this package is the package Xcyr of Serge
+ Winitzki.  Xcyr is a descendant of the package Xrus-2.3 of Andrey
+ Chernov.
+Section: x11
+Priority: optional
+Replaces: xfonts-cronyx-koi8u
+Depends: xfonts-utils
+Suggests: xfs | xserver
+Conflicts: xfonts-cronyx-koi8u
+
+Package: xfonts-cronyx-75dpi
+Architecture: all
+Description: 75 dpi Unicode Cyrillic fonts for X (Cronyx collection)
+ This package provides a set of bitmapped Cyrillic fonts at 75 dots
+ per inch.  These are Unicode (ISO10646-1) fonts and support all
+ current slavic Cyrillic letters as well as some Russian
+ prerevolutionary letters.  In most cases it is desirable to have the
+ X font server (xfs) and/or an X server installed to make the fonts
+ available to X clients.
+ .
+ This package and xfonts-cronyx-100dpi provide the same set of
+ fonts, rendered at different resolutions; only one or the other is
+ necessary, but both may be installed.  xfonts-cronyx-75dpi may be
+ more suitable for small monitors and/or small screen resolutions
+ (under 1024x768).
+ .
+ The upstream source of this package is the package Xcyr of Serge
+ Winitzki.  Xcyr is a descendant of the package Xrus-2.3 of Andrey
+ Chernov.
+Section: x11
+Priority: optional
+Replaces: xfonts-cronyx-nop
+Depends: xfonts-utils
+Suggests: xfs | xserver
+Conflicts: xfonts-cronyx-nop
+
+Package: xfonts-cronyx-cp1251-75dpi
+Architecture: all
+Description: 75 dpi CP1251 encoded Cyrillic fonts for X (Cronyx collection)
+ This package provides a set of bitmapped Cyrillic fonts at 75 dots
+ per inch.  These are CP1251 (microsoft-cp1251) fonts
+ and support all current slavic Cyrillic scripts.
+ In most cases it is desirable to have the X font server (xfs) and/or
+ an X server installed to make the fonts available to X clients.
+ .
+ This package and xfonts-cronyx-cp1251-100dpi provide the same set of
+ fonts, rendered at different resolutions; only one or the other is
+ necessary, but both may be installed.  xfonts-cronyx-cp1251-75dpi may be
+ more suitable for small monitors and/or small screen resolutions
+ (under 1024x768).
+ .
+ The upstream source of this package is the package Xcyr of Serge
+ Winitzki.  Xcyr is a descendant of the package Xrus-2.3 of Andrey
+ Chernov.
+Section: x11
+Priority: optional
+Replaces: xfonts-cronyx-cp1251
+Depends: xfonts-utils
+Suggests: xfs | xserver
+Conflicts: xfonts-cronyx-cp1251
+
+Package: xfonts-cronyx-isocyr-75dpi
+Architecture: all
+Description: 75 dpi ISO 8859-5 encoded Cyrillic fonts for X (Cronyx collection)
+ This package provides a set of bitmapped Cyrillic fonts at 75 dots
+ per inch.  These are ISO 8859-5 fonts and support the Belarusian,
+ Bulgarian, Macedonian, Russian and Serbian scripts.  In most cases it
+ is desirable to have the X font server (xfs) and/or an X server
+ installed to make the fonts available to X clients.
+ .
+ This package and xfonts-cronyx-isocyr-100dpi provide the same set of
+ fonts, rendered at different resolutions; only one or the other is
+ necessary, but both may be installed.  xfonts-cronyx-isocyr-75dpi may be
+ more suitable for small monitors and/or small screen resolutions
+ (under 1024x768).
+ .
+ The upstream source of this package is the package Xcyr of Serge
+ Winitzki.  Xcyr is a descendant of the package Xrus-2.3 of Andrey
+ Chernov.
+Section: x11
+Priority: optional
+Replaces: xfonts-cronyx-iso
+Depends: xfonts-utils
+Suggests: xfs | xserver
+Conflicts: xfonts-cronyx-iso
+
+Package: xfonts-cronyx-koi8r-75dpi
+Architecture: all
+Description: 75 dpi KOI8-R encoded Cyrillic fonts for X (Cronyx collection)
+ This package provides a set of bitmapped Cyrillic fonts at 75 dots
+ per inch.  These are KOI8-R fonts
+ and are suitable for Russian.
+ In most cases it is desirable to have the X font server (xfs) and/or
+ an X server installed to make the fonts available to X clients.
+ .
+ This package and xfonts-cronyx-koi8r-100dpi provide the same set of
+ fonts, rendered at different resolutions; only one or the other is
+ necessary, but both may be installed.  xfonts-cronyx-koi8r-75dpi may be
+ more suitable for small monitors and/or small screen resolutions
+ (under 1024x768).
+ .
+ The upstream source of this package is the package Xcyr of Serge
+ Winitzki.  Xcyr is a descendant of the package Xrus-2.3 of Andrey
+ Chernov.
+Section: x11
+Priority: optional
+Replaces: xfonts-cronyx-koi8r
+Depends: xfonts-utils
+Suggests: xfs | xserver
+Conflicts: xfonts-cronyx-koi8r
+
+Package: xfonts-cronyx-koi8u-75dpi
+Architecture: all
+Description: 75 dpi KOI8-U encoded Cyrillic fonts for X (Cronyx collection)
+ This package provides a set of bitmapped Cyrillic fonts at 75 dots
+ per inch.  These are KOI8-U fonts
+ and are suitable for Ukrainian.
+ In most cases it is desirable to have the X font server (xfs) and/or
+ an X server installed to make the fonts available to X clients.
+ .
+ This package and xfonts-cronyx-koi8u-100dpi provide the same set of
+ fonts, rendered at different resolutions; only one or the other is
+ necessary, but both may be installed.  xfonts-cronyx-koi8u-75dpi may be
+ more suitable for small monitors and/or small screen resolutions
+ (under 1024x768).
+ .
+ The upstream source of this package is the package Xcyr of Serge
+ Winitzki.  Xcyr is a descendant of the package Xrus-2.3 of Andrey
+ Chernov.
+Section: x11
+Priority: optional
+Replaces: xfonts-cronyx-koi8u
+Depends: xfonts-utils
+Suggests: xfs | xserver
+Conflicts: xfonts-cronyx-koi8u
+
+Package: xfonts-cronyx-misc
+Architecture: all
+Description: Character-cell Unicode Cyrillic fonts for X (Cronyx collection)
+ This package provides a standard set of character-cell low-resolution
+ Cyrillic fonts.  These are Unicode (ISO10646-1) fonts and support all
+ current slavic Cyrillic letters as well as some Russian
+ prerevolutionary letters.  In most cases it is desirable to have the
+ X font server (xfs) and/or an X server installed to make the fonts
+ available to X clients.
+ .
+ The upstream source of this package is the package Xcyr of Serge
+ Winitzki.  Xcyr is a descendant of the package Xrus-2.3 of Andrey
+ Chernov.
+Section: x11
+Priority: optional
+Replaces: xfonts-cronyx-nop
+Depends: xfonts-utils
+Suggests: xfs | xserver
+Conflicts: xfonts-cronyx-nop
+
+Package: xfonts-cronyx-cp1251-misc
+Architecture: all
+Description: Character-cell CP1251 encoded Cyrillic fonts for X (Cronyx collection)
+ This package provides a standard set of character-cell low-resolution
+ Cyrillic fonts.  These are CP1251 (microsoft-cp1251) fonts
+ and support all current slavic Cyrillic scripts.
+ In most cases it is desirable to have the X font server (xfs) and/or
+ an X server installed to make the fonts available to X clients.
+ .
+ The upstream source of this package is the package Xcyr of Serge
+ Winitzki.  Xcyr is a descendant of the package Xrus-2.3 of Andrey
+ Chernov.
+Section: x11
+Priority: optional
+Replaces: xfonts-cronyx-cp1251
+Depends: xfonts-utils
+Suggests: xfs | xserver
+Conflicts: xfonts-cronyx-cp1251
+
+Package: xfonts-cronyx-isocyr-misc
+Architecture: all
+Description: Character-cell ISO-8859-5 encoded Cyrillic fonts for X (Cronyx collection)
+ This package provides a standard set of character-cell low-resolution
+ Cyrillic fonts.  These are ISO-8859-5 fonts and support the
+ Belarusian, Bulgarian, Macedonian, Russian and Serbian scripts.  In
+ most cases it is desirable to have the X font server (xfs) and/or an
+ X server installed to make the fonts available to X clients.
+ .
+ The upstream source of this package is the package Xcyr of Serge
+ Winitzki.  Xcyr is a descendant of the package Xrus-2.3 of Andrey
+ Chernov.
+Section: x11
+Priority: optional
+Replaces: xfonts-cronyx-iso
+Depends: xfonts-utils
+Suggests: xfs | xserver
+Conflicts: xfonts-cronyx-iso
+
+Package: xfonts-cronyx-koi8r-misc
+Architecture: all
+Description: Character-cell KOI8-R encoded Cyrillic fonts for X (Cronyx collection)
+ This package provides a standard set of character-cell low-resolution
+ Cyrillic fonts.  These are KOI8-R fonts
+ and are suitable for Russian.
+ In most cases it is desirable to have the X font server (xfs) and/or
+ an X server installed to make the fonts available to X clients.
+ .
+ The upstream source of this package is the package Xcyr of Serge
+ Winitzki.  Xcyr is a descendant of the package Xrus-2.3 of Andrey
+ Chernov.
+Section: x11
+Priority: optional
+Replaces: xfonts-cronyx-koi8r
+Depends: xfonts-utils
+Suggests: xfs | xserver
+Conflicts: xfonts-cronyx-koi8r
+
+Package: xfonts-cronyx-koi8u-misc
+Architecture: all
+Description: Character-cell KOI8-U encoded Cyrillic fonts for X (Cronyx collection)
+ This package provides a standard set of character-cell low-resolution
+ Cyrillic fonts.  These are KOI8-U fonts
+ and are suitable for Ukrainian.
+ In most cases it is desirable to have the X font server (xfs) and/or
+ an X server installed to make the fonts available to X clients.
+ .
+ The upstream source of this package is the package Xcyr of Serge
+ Winitzki.  Xcyr is a descendant of the package Xrus-2.3 of Andrey
+ Chernov.
+Section: x11
+Priority: optional
+Replaces: xfonts-cronyx-koi8u
+Depends: xfonts-utils
+Suggests: xfs | xserver
+Conflicts: xfonts-cronyx-koi8u
--- xfonts-cronyx-2.3.8.orig/debian/rules
+++ xfonts-cronyx-2.3.8/debian/rules
@@ -0,0 +1,205 @@
+#!/usr/bin/make -f
+
+# Copyright (C) 2000,2001,2003 Anton Zinoviev <zinoviev@debian.org>
+
+# This software may be used, modified, copied, distributed, and sold,
+# in both source and binary form provided that the copyright
+# and these terms are retained. Under no circumstances is the author
+# responsible for the proper functioning of this software, nor does
+# the author assume any responsibility for damages incurred with its use.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+SHELL = /bin/bash
+
+PACKAGE_NAME = xfonts-cronyx
+FOUNDRIES = cronyx screen sony winitzki
+cronyx_FONTS = 100dpi/*.bdf 75dpi/*.bdf misc/koi*.bdf
+screen_FONTS = misc/screen*.bdf
+sony_FONTS = misc/sony*.bdf
+winitzki_FONTS = misc/proof*.bdf
+CATEGORIES = 100dpi 75dpi misc
+# There must be no fonts in one category with same names
+100dpi_FONTS = 100dpi/*.bdf
+75dpi_FONTS = 75dpi/*.bdf
+misc_FONTS = misc/*.bdf
+SOURCE_ENCODING = koi8-c
+ENCODINGS = unicode cp1251 isocyr koi8r koi8u
+SHORT_ENCODINGS = c w i r u
+STANDARD_ENCODINGS = unicode_small cp1251 iso-8859-5 koi8-r koi8-u
+XNAME_ENCODINGS = iso10646-1 microsoft-cp1251 iso8859-5 koi8-r koi8-u
+DOCUMENTATION_FILES = xcyr.README.en xcyr.README.ru xrus.README
+UPSTREAM_CHANGELOG = Changelog.en
+
+# This target must build the BDF fonts.
+build_source :
+	$(MAKE) -f debian/Makefile allbdf
+	touch build_source
+
+# This target must clean the source package
+.PHONY : clean_source
+clean_source :
+	-rm build_source
+	-$(MAKE) -f debian/Makefile clean
+
+##############################################################
+# Nothing needs to be changed below that line
+##############################################################
+
+# This is the debhelper compatibility version to use.
+export DH_COMPAT=5
+
+pkg_and_short = $(join $(ENCODINGS), $(addprefix /, $(SHORT_ENCODINGS)))
+pkg_and_std = $(join $(ENCODINGS), $(addprefix /, $(STANDARD_ENCODINGS)))
+pkg_and_xname = $(join $(ENCODINGS), $(addprefix /, $(XNAME_ENCODINGS)))
+pkg2short = $(notdir $(filter $(1)/%, $(pkg_and_short)))
+pkg2std = $(notdir $(filter $(1)/%, $(pkg_and_std)))
+pkg2xname = $(notdir $(filter $(1)/%, $(pkg_and_xname)))
+# The variable encoding is target-specific
+encoding_short = $(call pkg2short,$(encoding))
+encoding_std = $(call pkg2std,$(encoding))
+encoding_xname = $(call pkg2xname,$(encoding))
+
+wrkfontdirs = $(foreach cat, $(CATEGORIES), $(addsuffix -$(cat),$(ENCODINGS)))
+$(wrkfontdirs) :
+	mkdir $@
+
+convertors = $(foreach enc, $(ENCODINGS), \
+			$(addsuffix -$(enc)-conv,$(FOUNDRIES)))
+$(convertors) : foundry_enc = $(subst -,/,$(@:-conv=))
+$(convertors) : foundry = $(subst /,,$(dir $(foundry_enc)))
+$(convertors) : encoding = $(notdir $(foundry_enc))
+$(convertors) :
+	trbdf --foundry=$(foundry) -f $(SOURCE_ENCODING) \
+		-t $(encoding_std) -s >$@
+
+category_names = $(basename $(notdir $(wildcard $($(1)_FONTS))))
+base_cat2origin = $(filter %/$(1).bdf, $(wildcard $($(2)_FONTS)))
+
+# (category)/(base font name)
+cat_and_font = $(foreach cat, $(CATEGORIES), \
+			$(addprefix $(cat)/, $(call category_names,$(cat))))
+# (encoding)-(category)/(base font name)_(short encoding name)
+my_fonts = $(foreach enc, $(ENCODINGS), $(addprefix $(enc)-, \
+		$(addsuffix _$(call pkg2short,$(enc)), $(cat_and_font))))
+my_bdf_fonts = $(addsuffix .bdf, $(my_fonts))
+my_pcf_fonts = $(addsuffix .pcf, $(my_fonts))
+my_pcfgz_fonts = $(addsuffix .pcf.gz, $(my_fonts))
+
+$(my_bdf_fonts) : enc_cat = $(subst /,,$(dir $@))
+$(my_bdf_fonts) : encoding = $(subst /,,$(dir $(subst -,/,$(enc_cat))))
+$(my_bdf_fonts) : category = $(notdir $(subst -,/,$(enc_cat)))
+$(my_bdf_fonts) : basename = $(patsubst %_$(encoding_short).bdf,%,$(notdir $@))
+$(my_bdf_fonts) : origin = $(call base_cat2origin,$(basename),$(category))
+$(my_bdf_fonts) : font_foundry = $(addsuffix /$(1), $(wildcard $($(1)_FONTS)))
+$(my_bdf_fonts) : all_font_foundry = $(foreach found, $(FOUNDRIES), \
+					$(call font_foundry,$(found)))
+$(my_bdf_fonts) : my_font_foundry = $(filter $(origin)/%, $(all_font_foundry))
+$(my_bdf_fonts) : foundry = $(patsubst $(origin)/%,%,$(my_font_foundry))
+# Unfortunately % is not expanded when the functions are computed,
+# we can not use dinamic prerequisites and here we depend on all:
+$(my_bdf_fonts) : build_source $(convertors)
+	awk -f $(foundry)-$(encoding)-conv <$(origin) >$@
+
+$(my_pcf_fonts) : %.pcf : %.bdf
+	bdftopcf $(@:.pcf=.bdf) >$@
+
+$(my_pcfgz_fonts) : %.pcf.gz : %.pcf
+	gzip -9 <$(@:.pcf.gz=.pcf) >$@
+
+all_fonts : $(my_pcfgz_fonts)
+
+cat_alias = $(addsuffix .alias, $(CATEGORIES))
+source_aliases = $(wildcard $(addprefix debian/, $(cat_alias)))
+package_aliases = $(foreach enc, $(ENCODINGS), \
+		$(addprefix debian/$(enc)-, $(notdir $(source_aliases))))
+
+$(package_aliases) : enc_cat = $(basename $(notdir $@))
+$(package_aliases) : encoding = $(subst /,,$(dir $(subst -,/,$(enc_cat))))
+$(package_aliases) : category = $(notdir $(subst -,/,$(enc_cat)))
+# Again, here we cannot generate dinamically prerequisites:
+$(package_aliases) : $(source_aliases)
+	sed -e "s/-WEND-ENCODING/-$(encoding_xname)/g" -e \
+		"s/PREFIX/$(encoding_short)/g" debian/$(category).alias >$@
+
+all_aliases : $(package_aliases)
+
+.PHONY : my_build
+my_build : build_source $(wrkfontdirs)
+	$(MAKE) -f debian/rules all_fonts
+	$(MAKE) -f debian/rules all_aliases
+
+.PHONY : my_clean
+my_clean : clean_source
+	-rm -rf $(wrkfontdirs)
+	-rm -f $(convertors)
+	-rm -f $(package_aliases)
+	-rm -f my_clean
+
+packages = $(addprefix $(PACKAGE_NAME)-, $(wrkfontdirs))
+
+$(packages) : enc_cat = $(patsubst $(PACKAGE_NAME)-%, %, $@)
+$(packages) : encoding = $(subst /,,$(dir $(subst -,/,$(enc_cat))))
+$(packages) : category = $(notdir $(subst -,/,$(enc_cat)))
+$(packages) : alias_file = debian/$(encoding)-$(category).alias
+$(packages) : pack_enc = $(addprefix $(PACKAGE_NAME)-, $(encoding))
+$(packages) : deb_name = $(addprefix $(pack_enc:-unicode=)-, $(category))
+.PHONY : $(packages)
+$(packages) :
+	[ ! -f $(alias_file) ] || install -m644 -D $(alias_file) \
+		debian/$(deb_name)/etc/X11/fonts/X11R7/$(category)/$(deb_name).alias
+	install -d debian/$(deb_name)/usr/share/fonts/X11/$(category)/
+	cp $(encoding)-$(category)/*.pcf.gz \
+		debian/$(deb_name)/usr/share/fonts/X11/$(category)/
+
+.PHONY : my_install
+my_install : $(packages)
+
+build : my_build
+	dh_testdir
+	touch build
+
+.PHONY : clean
+clean:
+	dh_testdir
+	-rm -f build
+	-$(MAKE) -f debian/rules my_clean
+	dh_clean
+
+.PHONY : install
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	$(MAKE) -f debian/rules my_install
+
+# Build architecture-independent files here.
+.PHONY : binary-indep
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installxfonts
+#	dh_installdebconf
+	dh_installdocs -A $(DOCUMENTATION_FILES)
+#	dh_installexamples
+#	dh_installman
+#	dh_installinfo
+#	dh_undocumented
+	dh_installchangelogs $(UPSTREAM_CHANGELOG)
+#	dh_link
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture-dependent files here.
+.PHONY : binary-arch
+binary-arch : build install
+# We have nothing to do by default.
+
+.PHONY : binary
+binary : binary-indep binary-arch
--- xfonts-cronyx-2.3.8.orig/debian/changelog
+++ xfonts-cronyx-2.3.8/debian/changelog
@@ -0,0 +1,157 @@
+xfonts-cronyx (2.3.8-6) unstable; urgency=low
+
+  * Depend on xfonts-utils instead of xutils.  Thanks to Guido Guenther,
+    closes: #363268.
+  * Remove the hack to work around #362820.  Build-depend on debhelper (>=
+    5.0.32)
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Wed, 19 Apr 2006 11:45:00 +0300
+
+xfonts-cronyx (2.3.8-5) unstable; urgency=low
+
+  * Updated for the new modular X.  Closes: #362357, #362358, #362359, #362361, #362362, #362364, #362365, #362366, #362368, #362369, #362370, #362372, #362373, #362374, #362375
+  * Updated standards version (3.6.6.2).
+  
+ -- Anton Zinoviev <zinoviev@debian.org>  Sat, 15 Apr 2006 23:15:09 +0300
+
+xfonts-cronyx (2.3.8-4) unstable; urgency=low
+
+  * Reencoded using trbdf version 1.11.  The pseudographic symbols are
+    approximated by termsymbols with codes <=0x1f when appropriate.
+    Thanks to Victor B. Wagner.
+  * Updated `Standards-Version': 3.5.10.
+  * The files in /etc/X11/fonts are not executables any more. ;-)
+	
+ -- Anton Zinoviev <zinoviev@debian.org>  Sat,  7 Jun 2003 22:40:36 +0200
+
+xfonts-cronyx (2.3.8-3) unstable; urgency=low
+
+  * The upstream sent me new version of koi7x14.bdf and crox1c.bdf.  Thus
+    you can consider this Debian release as a new upstream version.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Wed, 15 Apr 2003 23:12:39 +0300
+
+xfonts-cronyx (2.3.8-2) unstable; urgency=low
+
+  * The new version of trbdf always sets DEFAULT_CHAR 32.  In the
+    original `misc' fonts there was DEFAULT_CHAR 0 which doesn't exists
+    (Thanks to Alexandra N. Kossovsky, closes: #170413).
+  * Used -cronyx- foundry instead of -misc- in fonts.alias (thanks to
+    Alexander Kotelnikov for pointing me the bug).
+  * $(call foreachenc,...) and $(call foreachcat,...) eliminated from
+    debian/rules.  This is workaround #175714.  Thanks to Daniel Schepler.
+  * Used unicode_small in trbdf to make the unicode fonts use smaller
+    memory space.
+  * Used `Build-Depends' instead of `Build-Depends-Indep'.
+	
+ -- Anton Zinoviev <zinoviev@debian.org>  Thu, 14 Jan 2003 11:10:54 +0200
+
+xfonts-cronyx (2.3.8-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Wed,  7 Aug 2002 11:52:57 +0300
+
+xfonts-cronyx (2.3.7-9) unstable; urgency=low
+
+  * Build-Depends-Indep: trscrips (>= 1.5).  This makes pseudographic
+    characters available in all fixed-width fonts.
+  * Added option -m to install in rules file.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Mon, 28 Jan 2002 23:00:13 +0200
+
+xfonts-cronyx (2.3.7-8) unstable; urgency=low
+
+  * New binary package xfonts-cronyx with fonts for Unicode.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Sun, 17 Jun 2001 14:52:08 +0300
+
+xfonts-cronyx (2.3.7-7) unstable; urgency=low
+
+  * Double exclamation signs in *.alias file.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Tue, 17 Apr 2001 13:37:24 +0300
+
+xfonts-cronyx (2.3.7-6) unstable; urgency=low
+
+  * A complete remake and Debconf in use.
+  * The packages xfonts-cronyx-${ENC} are splitted in three packages:
+    xfonts-cronyx-${ENC}-misc, xfonts-cronyx-${ENC}-100dpi and
+    xfonts-cronyx-${ENC}-75dpi.  This is a requirement of the latest
+    Debian policy.
+  * Standards-Version: 3.5.2.0
+  * Few fonts again changed their foundry field.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Thu, 29 Mar 2001 19:00:31 +0200
+
+xfonts-cronyx (2.3.7-5) unstable; urgency=medium
+
+  * The foundry field `misc' in all fonts is replaced with `cronyx' --
+    this is needed to avoid collision with fonts from `xfonts-base'
+    package.  Sorry.
+  * The font `-Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-KOI8-C' is
+    renamed: `-Misc-Fixed-Medium-R-Normal--19-190-75-75-C-100-KOI8-C'.
+  * The packages install directories in /etc/X11/fonts/ even in case of
+    missing fonts.alias.
+  * Fixed a GRAVE bug in `postrm' -- the previous version was
+    uninstallable.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Sat, 30 Dec 2000 21:11:03 +0200
+
+xfonts-cronyx (2.3.7-4) unstable; urgency=low
+
+  * The fonts for KOI8-R was installed in the directories
+    koi8-r.{misc,100dpi,75dpi}, not in KOI8-R.{...}.  This was a bug in
+    the changelog file.
+  * The file README.Debian is removed from the source package.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Sun, 19 Nov 2000 16:00:31 +0200
+
+xfonts-cronyx (2.3.7-3) unstable; urgency=low
+
+  * The fonts for KOI8-R are installed in their own directories
+    KOI8-R.misc, KOI8-R.75dpi and KOI8-R.100dpi.
+
+ -- Anton Zinoviev <zinoviev@debian.org>  Thu, 16 Nov 2000 12:16:41 +0200
+
+xfonts-cronyx (2.3.7-2) unstable; urgency=low
+
+  * The fonts are installed in the standard directories
+    /usr/X11R6/lib/X11/fonts/{misc,75dpi,100dpi}.
+  * New fonts.alias is used.  (There was colision in the names with other
+    fonts.aliases.
+  * No package with fonts for ECMA-Cyrillic.
+  
+ -- Anton Zinoviev <anton@lml.bas.bg>  Tue,  3 Oct 2000 16:12:04 +0300
+
+xfonts-cronyx (2.3.7-1) unstable; urgency=low
+
+  * New upstream version: used the package xcyr-2.3.7 of Serge Winitzki
+    instead of xrus-2.3.1.  The encoding of the fonts in xcyr is KOI8-C.
+    They have more Cyrillic letters than fonts of xrus.
+  * Used new version of trbdf that supports KOI8-C.
+  * New package with fonts for ECMA-Cyrillic.
+
+ -- Anton Zinoviev <anton@lml.bas.bg>  Sat, 10 Jun 2000 11:48:58 +0300
+
+xfonts-cronyx (2.3.1-2) unstable; urgency=low
+
+  * New version of trbdf is used.  This allowed generating of KOI8-U
+    fonts.
+  * The documentation is moved to /usr/share/doc
+  * trbdf is used also for KOI8-R fonts.
+
+ -- Anton Zinoviev <anton@lml.bas.bg>  Sun,  4 Jun 2000 16:23:50 +0300
+
+xfonts-cronyx (2.3.1-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Anton Zinoviev <anton@lml.bas.bg>  Wed,  3 May 2000 20:43:46 +0300
+
+xfonts-cronyx (2.2.0-1) unstable; urgency=low
+
+  * Initial release.
+  * Fonts converted to various encodings by `trbdf' script.
+
+ -- Anton Zinoviev <anton@lml.bas.bg>  Fri,  3 Mar 2000 13:09:01 +0200
--- xfonts-cronyx-2.3.8.orig/debian/control.m4
+++ xfonts-cronyx-2.3.8/debian/control.m4
@@ -0,0 +1,91 @@
+define(`what_it_supports_macro',`ifelse(`$1',`', `and support all current slavic Cyrillic letters as well as some Russian prerevolutionary letters.',`$1',`-koi8r',`and are suitable for Russian.',`$1',`-koi8u',`and are suitable for Ukrainian.',`$1',`-isocyr',`and support the Belarusian, Bulgarian, Macedonian, Russian and Serbian scripts.', `and support all current slavic Cyrillic scripts.')')dnl
+Source: xfonts-cronyx
+Maintainer: Anton Zinoviev <zinoviev@debian.org>
+Section: x11
+Priority: optional
+Standards-Version: 3.5.2.0
+Build-Depends: debhelper (>=3), trscripts (>= 1.10), xutils
+define(`cronyx100dpi', `
+Package: xfonts-cronyx$1-100dpi
+Architecture: all
+Description: 100 dpi $2 Cyrillic fonts for X (Cronyx collection)
+ This package provides a set of bitmapped Cyrillic fonts at 100 dots
+ per inch.  These are $3 fonts
+ what_it_supports_macro($1)
+ In most cases it is desirable to have the X font server (xfs) and/or
+ an X server installed to make the fonts available to X clients.
+ .
+ This package and xfonts-cronyx$1-75dpi provide the same set of
+ fonts, rendered at different resolutions; only one or the other is
+ necessary, but both may be installed.  xfonts-cronyx$1-100dpi may be
+ more suitable for large monitors and/or large screen resolutions
+ (over 1024x768).
+ .
+ The upstream source of this package is the package `Xcyr' of Serge
+ Winitzki.  `Xcyr' is a descendant of the package `Xrus-2.3' of Andrey
+ Chernov.
+Section: x11
+Priority: optional
+Replaces: xfonts-cronyx-$4
+Depends: xutils (>= 4.0.2-11)
+Suggests: xfs | xserver
+Conflicts: xfonts-cronyx-$4')dnl
+define(`cronyx75dpi', `
+Package: xfonts-cronyx$1-75dpi
+Architecture: all
+Description: 75 dpi $2 Cyrillic fonts for X (Cronyx collection)
+ This package provides a set of bitmapped Cyrillic fonts at 75 dots
+ per inch.  These are $3 fonts
+ what_it_supports_macro($1)
+ In most cases it is desirable to have the X font server (xfs) and/or
+ an X server installed to make the fonts available to X clients.
+ .
+ This package and xfonts-cronyx$1-100dpi provide the same set of
+ fonts, rendered at different resolutions; only one or the other is
+ necessary, but both may be installed.  xfonts-cronyx$1-75dpi may be
+ more suitable for small monitors and/or small screen resolutions
+ (under 1024x768).
+ .
+ The upstream source of this package is the package `Xcyr' of Serge
+ Winitzki.  `Xcyr' is a descendant of the package `Xrus-2.3' of Andrey
+ Chernov.
+Section: x11
+Priority: optional
+Replaces: xfonts-cronyx-$4
+Depends: xutils (>= 4.0.2-11)
+Suggests: xfs | xserver
+Conflicts: xfonts-cronyx-$4')dnl
+define(`cronyxmisc', `
+Package: xfonts-cronyx$1-misc
+Architecture: all
+Description: Character-cell $2 Cyrillic fonts for X (Cronyx collection)
+ This package provides a standard set of character-cell low-resolution
+ Cyrillic fonts.  These are $3 fonts
+ what_it_supports_macro($1)
+ In most cases it is desirable to have the X font server (xfs) and/or
+ an X server installed to make the fonts available to X clients.
+ .
+ The upstream source of this package is the package `Xcyr' of Serge
+ Winitzki.  `Xcyr' is a descendant of the package `Xrus-2.3' of Andrey
+ Chernov.
+Section: x11
+Priority: optional
+Replaces: xfonts-cronyx-$4
+Depends: xutils (>= 4.0.2-11)
+Suggests: xfs | xserver
+Conflicts: xfonts-cronyx-$4')dnl
+cronyx100dpi(`', `Unicode', `Unicode (ISO10646-1)', `nop')
+cronyx100dpi(`-cp1251', `CP1251 encoded', `CP1251 (microsoft-cp1251)', `cp1251')
+cronyx100dpi(`-isocyr', `ISO 8859-5 encoded', `ISO 8859-5', `iso')
+cronyx100dpi(`-koi8r', `KOI8-R encoded', `KOI8-R', `koi8r')
+cronyx100dpi(`-koi8u', `KOI8-U encoded', `KOI8-U', `koi8u')
+cronyx75dpi(`', `Unicode', `Unicode (ISO10646-1)', `nop')
+cronyx75dpi(`-cp1251', `CP1251 encoded', `CP1251 (microsoft-cp1251)', `cp1251')
+cronyx75dpi(`-isocyr', `ISO 8859-5 encoded', `ISO 8859-5', `iso')
+cronyx75dpi(`-koi8r', `KOI8-R encoded', `KOI8-R', `koi8r')
+cronyx75dpi(`-koi8u', `KOI8-U encoded', `KOI8-U', `koi8u')
+cronyxmisc(`', `Unicode', `Unicode (ISO10646-1)', `nop')
+cronyxmisc(`-cp1251', `CP1251 encoded', `CP1251 (microsoft-cp1251)', `cp1251')
+cronyxmisc(`-isocyr', `ISO-8859-5 encoded', `ISO-8859-5', `iso')
+cronyxmisc(`-koi8r', `KOI8-R encoded', `KOI8-R', `koi8r')
+cronyxmisc(`-koi8u', `KOI8-U encoded', `KOI8-U', `koi8u')
--- xfonts-cronyx-2.3.8.orig/debian/copyright
+++ xfonts-cronyx-2.3.8/debian/copyright
@@ -0,0 +1,33 @@
+This is Debian GNU/Linux prepackaged version of the font collection
+`Xcyr' ver. 2.3.7 by Serge Winitzki.  `Xcyr' is a descendant of the
+package Xrus-2.3 by Andrey Chernov.
+
+It was debianised by Anton Zinoviev <anton@lml.bas.bg>, and build from
+sources obtained from:
+  http://sawsoft.newmail.ru/LS/xcyr-2.3.tar.gz
+
+Changes:
+ * added Debian GNU/Linux package maintenance system files
+ * fonts are converted by the `trbdf' script from KOI8-C to other
+encodings
+ * the fonts.alias is used to generate fonts.alias-files for all
+encodings. 
+
+The fonts are distributed with the following copyright:
+
+ Copyright (C) 1994-1995 Cronyx Ltd.
+ Changes Copyright (C) 1996-1997 by Andrey A. Chernov, Moscow, Russia.
+ Changes Copyright (C) 1996 by Sergey Vovk
+ Changes made in 1999 by Serge Winitzki
+
+ This software may be used, modified, copied, distributed, and sold,
+ in both source and binary form provided that the above copyright
+ and these terms are retained. Under no circumstances is the author
+ responsible for the proper functioning of this software, nor does
+ the author assume any responsibility for damages incurred with its use.
+
+The script `trbdf' used for conversion to other encodings is written
+by me -- Anton Zinoviev, and is covered by GPL.  It is included only
+in the source package and doesn't affect the binary packages in any
+way.  On Debian GNU/Linux systems, the complete text of the GNU
+General Public License can be found in `/usr/share/common-licenses/GPL'.
--- xfonts-cronyx-2.3.8.orig/debian/README.Debian
+++ xfonts-cronyx-2.3.8/debian/README.Debian
@@ -0,0 +1,19 @@
+``Cronyx Ltd.'' collection of bitmapped fonts for Debian in various
+encodings.  Upstream author: Serge Winitzki
+------------------------------------------------------------------
+
+The ``Cronyx Ltd.'' collection contains the following fonts:
+
+Foundry    Family   Monospaced     Dpi          Resolutions
+-----------------------------------------------------------------------------
+Cronyx     Times        no     100 and 75   8 10 12 14 18 24
+Cronyx     Helvetica    no     100 and 75   8 10 12 14 18 24
+Cronyx     Courier      yes    100 and 75   8 10 12
+Cronyx     Fixed        yes  character-cell 5x8 6x9 6x10 6x13 7x14 8x13 8x16
+                                            9x15 9x18 10x16 10x19 10x20 12x24
+Screen     Fixed        yes  character-cell 8x16 9x18 11x18
+Sony       Fixed        yes  character-cell 8x16
+Winitzki   Proof        yes  character-cell 9x16
+
+--
+Anton Zinoviev <zinoviev@debian.org>
--- xfonts-cronyx-2.3.8.orig/debian/misc.alias
+++ xfonts-cronyx-2.3.8/debian/misc.alias
@@ -0,0 +1,63 @@
+!! Uncomment the commented lines if you don't use the xfonts-bolkhov package.
+!! Then use the command update-fonts-alias to update the actual fonts.alias
+!! file.
+
+!PREFIX-fixed  -cronyx-fixed-medium-r-semicondensed--13-120-75-75-c-60-WEND-ENCODING
+!PREFIX-variable -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-WEND-ENCODING
+PREFIX-5x8	-cronyx-fixed-medium-r-normal--8-80-75-75-c-50-WEND-ENCODING
+PREFIX-6x9	-cronyx-fixed-medium-r-normal--9-90-75-75-c-60-WEND-ENCODING
+!PREFIX-6x10  -cronyx-fixed-medium-r-normal--10-100-75-75-c-60-WEND-ENCODING
+!PREFIX-6x13  -cronyx-fixed-medium-r-semicondensed--13-120-75-75-c-60-WEND-ENCODING
+!PREFIX-6x13bold  -cronyx-fixed-bold-r-semicondensed--13-120-75-75-c-60-WEND-ENCODING
+!PREFIX-7x14 -cronyx-fixed-medium-r-normal--14-130-75-75-c-70-WEND-ENCODING
+!PREFIX-7x14b -cronyx-fixed-bold-r-normal--14-130-75-75-c-70-WEND-ENCODING
+!PREFIX-8x13  -cronyx-fixed-medium-r-normal--13-120-75-75-c-80-WEND-ENCODING
+!PREFIX-8x16  -cronyx-fixed-medium-r-normal--16-160-75-75-c-80-WEND-ENCODING
+PREFIX-8x16bold  -cronyx-fixed-bold-r-normal--16-160-75-75-c-80-WEND-ENCODING
+PREFIX-screen8x16  -screen-fixed-medium-r-normal--16-120-100-100-c-80-WEND-ENCODING
+PREFIX-screen8x16b -screen-fixed-bold-r-normal--16-120-100-100-c-80-WEND-ENCODING
+PREFIX-sony8x16 -sony-fixed-medium-r-normal--16-120-100-100-c-80-WEND-ENCODING
+!PREFIX-9x15  -cronyx-fixed-medium-r-normal--15-140-75-75-c-90-WEND-ENCODING
+!PREFIX-9x15bold -cronyx-fixed-bold-r-normal--15-140-75-75-c-90-WEND-ENCODING
+PREFIX-9x18 -cronyx-fixed-medium-r-normal--18-120-100-100-c-90-WEND-ENCODING
+PREFIX-9x18bold -cronyx-fixed-bold-r-normal--18-120-100-100-c-90-WEND-ENCODING
+PREFIX-10x16bold -cronyx-fixed-bold-r-normal--16-120-100-100-c-80-WEND-ENCODING
+PREFIX-10x19  -cronyx-fixed-medium-r-normal--20-200-75-75-c-100-WEND-ENCODING
+!PREFIX-10x20  -cronyx-fixed-medium-r-normal--20-200-75-75-c-100-WEND-ENCODING
+!PREFIX-12x24  -cronyx-fixed-medium-r-normal--24-170-100-100-c-120-WEND-ENCODING
+!PREFIX-12x24bold  -cronyx-fixed-bold-r-normal--24-170-100-100-c-120-WEND-ENCODING
+PREFIX-proof -winitzki-proof-medium-r-normal--16-160-75-75-c-0-WEND-ENCODING
+!PREFIX-nil2   -cronyx-nil-medium-r-normal--2-20-75-75-c-10-WEND-ENCODING
+
+!! Uncomment the following lines if you want `7x13', `8x16', etc. to be
+!! aliases for Cyrillic fonts and you don't use the xfonts-bolkhov package.
+!! Comment out the corresponding lines from
+!! /etc/X11/fonts/misc/xfonts-base.alias.  Then use the command
+!! update-fonts-alias to update the actual fonts.alias files.
+
+!fixed  -cronyx-fixed-medium-r-semicondensed--13-120-75-75-c-60-WEND-ENCODING
+!variable -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-WEND-ENCODING
+!5x8	-cronyx-fixed-medium-r-normal--8-80-75-75-c-50-WEND-ENCODING
+!6x9	-cronyx-fixed-medium-r-normal--9-90-75-75-c-60-WEND-ENCODING
+!6x10  -cronyx-fixed-medium-r-normal--10-100-75-75-c-60-WEND-ENCODING
+!6x13  -cronyx-fixed-medium-r-semicondensed--13-120-75-75-c-60-WEND-ENCODING
+!6x13bold  -cronyx-fixed-bold-r-semicondensed--13-120-75-75-c-60-WEND-ENCODING
+!7x14 -cronyx-fixed-medium-r-normal--14-130-75-75-c-70-WEND-ENCODING
+!7x14b -cronyx-fixed-bold-r-normal--14-130-75-75-c-70-WEND-ENCODING
+!8x13  -cronyx-fixed-medium-r-normal--13-120-75-75-c-80-WEND-ENCODING
+!8x16  -cronyx-fixed-medium-r-normal--16-160-75-75-c-80-WEND-ENCODING
+!8x16bold  -cronyx-fixed-bold-r-normal--16-160-75-75-c-80-WEND-ENCODING
+!screen8x16  -screen-fixed-medium-r-normal--16-120-100-100-c-80-WEND-ENCODING
+!screen8x16b -screen-fixed-bold-r-normal--16-120-100-100-c-80-WEND-ENCODING
+!sony8x16 -sony-fixed-medium-r-normal--16-120-100-100-c-80-WEND-ENCODING
+!9x15  -cronyx-fixed-medium-r-normal--15-140-75-75-c-90-WEND-ENCODING
+!9x15bold -cronyx-fixed-bold-r-normal--15-140-75-75-c-90-WEND-ENCODING
+!9x18 -cronyx-fixed-medium-r-normal--18-120-100-100-c-90-WEND-ENCODING
+!9x18bold -cronyx-fixed-bold-r-normal--18-120-100-100-c-90-WEND-ENCODING
+!10x16bold -cronyx-fixed-bold-r-normal--16-120-100-100-c-80-WEND-ENCODING
+!10x19  -cronyx-fixed-medium-r-normal--20-200-75-75-c-100-WEND-ENCODING
+!10x20  -cronyx-fixed-medium-r-normal--20-200-75-75-c-100-WEND-ENCODING
+!12x24  -cronyx-fixed-medium-r-normal--24-170-100-100-c-120-WEND-ENCODING
+!12x24bold  -cronyx-fixed-bold-r-normal--24-170-100-100-c-120-WEND-ENCODING
+!proof -winitzki-proof-medium-r-normal--16-160-75-75-c-0-WEND-ENCODING
+!nil2   -cronyx-nil-medium-r-normal--2-20-75-75-c-10-WEND-ENCODING
--- xfonts-cronyx-2.3.8.orig/debian/xfonts-cronyx-koi8r-100dpi.postinst
+++ xfonts-cronyx-2.3.8/debian/xfonts-cronyx-koi8r-100dpi.postinst
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+if [ "$1" = "configure" ]; then
+    fontdirs="koi8-r.misc koi8-r.75dpi koi8-r.100dpi"
+    for currentdir in $fontdirs; do
+	longdir=/usr/lib/X11/fonts/$currentdir
+	if [ -d $longdir ]; then
+	    if [ $(find $longdir| egrep -v '/(fonts.dir|fonts.alias|encodings.dir)$'| wc -l) -eq 1 ]; then
+		rm $longdir/fonts.dir 2>/dev/null || true
+		rm $longdir/fonts.alias 2>/dev/null || true
+		rm $longdir/encodings.dir 2>/dev/null || true
+		rmdir $longdir
+	    fi
+	fi
+    done
+fi
+
+#DEBHELPER#
--- xfonts-cronyx-2.3.8.orig/debian/xfonts-cronyx-koi8r-75dpi.postinst
+++ xfonts-cronyx-2.3.8/debian/xfonts-cronyx-koi8r-75dpi.postinst
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+if [ "$1" = "configure" ]; then
+    fontdirs="koi8-r.misc koi8-r.75dpi koi8-r.100dpi"
+    for currentdir in $fontdirs; do
+	longdir=/usr/lib/X11/fonts/$currentdir
+	if [ -d $longdir ]; then
+	    if [ $(find $longdir| egrep -v '/(fonts.dir|fonts.alias|encodings.dir)$'| wc -l) -eq 1 ]; then
+		rm $longdir/fonts.dir 2>/dev/null || true
+		rm $longdir/fonts.alias 2>/dev/null || true
+		rm $longdir/encodings.dir 2>/dev/null || true
+		rmdir $longdir
+	    fi
+	fi
+    done
+fi
+
+#DEBHELPER#
--- xfonts-cronyx-2.3.8.orig/debian/xfonts-cronyx-koi8r-misc.postinst
+++ xfonts-cronyx-2.3.8/debian/xfonts-cronyx-koi8r-misc.postinst
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+if [ "$1" = "configure" ]; then
+    fontdirs="koi8-r.misc koi8-r.75dpi koi8-r.100dpi"
+    for currentdir in $fontdirs; do
+	longdir=/usr/lib/X11/fonts/$currentdir
+	if [ -d $longdir ]; then
+	    if [ $(find $longdir| egrep -v '/(fonts.dir|fonts.alias|encodings.dir)$'| wc -l) -eq 1 ]; then
+		rm $longdir/fonts.dir 2>/dev/null || true
+		rm $longdir/fonts.alias 2>/dev/null || true
+		rm $longdir/encodings.dir 2>/dev/null || true
+		rmdir $longdir
+	    fi
+	fi
+    done
+fi
+
+#DEBHELPER#
--- xfonts-cronyx-2.3.8.orig/debian/Makefile
+++ xfonts-cronyx-2.3.8/debian/Makefile
@@ -0,0 +1,24 @@
+SHELL = /bin/bash
+
+xcyr_source_bdfs = $(wildcard 100dpi/crox??.bdf 75dpi/crox??.bdf)
+xcyr_oblique_bdfs = $(addsuffix o.bdf, $(xcyr_source_bdfs:%.bdf=%))
+xcyr_bold_bdfs = $(addsuffix b.bdf, $(xcyr_source_bdfs:%.bdf=%))
+xcyr_boldoblique_bdfs = $(addsuffix bo.bdf, $(xcyr_source_bdfs:%.bdf=%))
+xcyr_new_bdfs = $(xcyr_oblique_bdfs) $(xcyr_bold_bdfs) $(xcyr_boldoblique_bdfs)
+
+$(xcyr_oblique_bdfs) : $(xcyr_source_bdfs) bdfslant.pl
+	perl bdfslant.pl -unjag <$(@:%o.bdf=%.bdf) >$@
+
+$(xcyr_bold_bdfs) : $(xcyr_source_bdfs) bdfbold.pl
+	perl bdfbold.pl <$(@:%b.bdf=%.bdf) >$@
+
+$(xcyr_boldoblique_bdfs) : $(xcyr_bold_bdfs) bdfslant.pl
+	perl bdfslant.pl -unjag <$(@:%bo.bdf=%b.bdf) >$@
+
+
+.PHONY : allbdf
+allbdf : $(xcyr_new_bdfs)
+
+.PHONY : clean
+clean :
+	rm -f $(xcyr_new_bdfs)