| Name |
console-data |
| Description |
keymaps, fonts, charset maps, fallback tables for 'kbd'. |
| Version |
2:1.12-9 |
| Package Base |
|
| Homepage |
|
| Maintainers |
['Alastair McKinstry <mckinstry@debian.org>'] |
| Contributors |
['Anton Zinoviev <anton@lml.bas.bg>'] |
| Distro-repo |
https://salsa.debian.org:/mckinstry/console-data.git |
| Sources |
[] |
| Dependencies |
['debconf'] |
| Optional-Dependencies |
['console-common', 'kbd', 'unicode-data'] |
| Build-Dependencies |
['cdbs', 'debhelper', 'unicode-data', 'locales'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
trixie |
| Licenses |
[] |
| Hash |
3dcbb3d9b8e6659bb02a464e54cb30cf04c736f0be2dc35e07743c5e15de838f |
#!/usr/bin/make -f
export DH_VERBOSE=1
include /usr/share/cdbs/1/rules/debhelper.mk
# Automatically controls patching at build time:
include /usr/share/cdbs/1/class/autotools.mk
# All the small .udebs that get built
EXTRA_UDEB_PKGS = console-keymaps-mac \
console-keymaps-sun \
console-keymaps-acorn \
console-keymaps-atari \
console-keymaps-amiga \
console-keymaps-usb \
console-keymaps-dec
OPTIONAL_UDEB_PKGS = console-keymaps-at
UDEB_PKGS=${OPTIONAL_UDEB_PKGS} ${EXTRA_UDEB_PKGS}
DEB_CONFIGURE_EXTRA_FLAGS := --with-main_compressor=gzip
DEB_DH_GENCONTROL_ARGS_ALL := \
-- -VBuilt-Using="`dpkg-query -f'$${source:Package} (= $${Version})' -W unicode-data`"
clean::
rm -rf debian/console-data.config debian/console-data.templates debian/sort-tmp debian/locales debian/substvars
rm -f ./consoletrans/latin_diacr.fallback ./consoletrans/latin_diacr.nofallback
install/console-data::
make install DESTDIR=$(CURDIR)/debian/tmp
make install DESTDIR=$(CURDIR)/debian/console-data
# Remove useless empty directory
rmdir $(CURDIR)/debian/console-data/usr/share/videomodes
chmod +x debian/gen-acorn-keymaps
debian/gen-acorn-keymaps
# For convenience of programs that want a list of supported keymaps
chmod u+x $(CURDIR)/debian/list-keymaps.pl
$(CURDIR)/debian/list-keymaps.pl $(CURDIR)/debian/console-data.keymaps > $(CURDIR)/debian/console-data/usr/share/console/lists/console-data.keymap-list
dh_consoledata -i
# Needed for ubiquity
for f in $(CURDIR)/debian/console-keymaps-*.templates; do \
echo >> $(CURDIR)/debian/console-data.templates ; \
cat $$f >> $(CURDIR)/debian/console-data.templates ; \
done
for PO in $(CURDIR)/debian/po/*.po; do \
L="$$(basename $$PO .po)"; \
install -d $(CURDIR)/debian/console-data/usr/share/locale/$$L/LC_MESSAGES; \
msgfmt -o $(CURDIR)/debian/console-data/usr/share/locale/$$L/LC_MESSAGES/console-data.mo $$PO; \
done
binary-predeb/console-data::
# Sort keymaps (including in translations)
# MUST be after dh_installdebconf
sh debian/sort-keymaps
common-binary-post-install-indep::
chmod +x debian/trim_keymaps.sh
for P in ${UDEB_PKGS}; do \
./debian/trim_keymaps.sh $(CURDIR)/debian/$${P} ; \
done