Package: util-linux
Version: 2.11-4
Tags: patch, d-i

The fdisk-udeb for debian-installer requires cut-down versions 
of the .mo files for localisation.
The following patch produces these.

Regards,
Alastair
diff rules.orig rules
38a39,41
> CFDISK_PO_DIR=cfdisk-po
> CFDISK_POT=$(CFDISK_PO_DIR)/cfdisk.pot
>
54a58
>       rm -rf $(CFDISK_PO_DIR)
244c248,257
<
---
>       # Generate a po translations needed for cfdisk
>       mkdir $(CFDISK_PO_DIR)
>       xgettext --default-domain=util-linux -C --keyword=_ --keyword=N_ -o
$(CFDISK_POT) fdisk/*.c
>       for po in po/*.po ; do  \
>               LANG=`basename $$po | cut -f1 -d.` ; \
>               msgmerge $$po $(CFDISK_POT)  > $(CFDISK_PO_DIR)/$$LANG.po ;
\
>               msgfmt $(CFDISK_PO_DIR)/$$LANG.po -o $(CFDISK_PO_DIR)/$$LANG.gmo
; \
>               mkdir -p debian/tmp-fdisk-udeb/usr/share/locale/$$LANG/LC_MESSAGES
; \
>               cp $(CFDISK_PO_DIR)/$$LANG.gmo 
> debian/tmp-fdisk-udeb/usr/share/locale/$$LANG/LC_MESSAGES/util-linux.mo
; \
>               done


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to