Package: unicode-data Version: 6.1.0-1 Severity: normal Tags: patch Hi,
in gucharmap we do ship a patch [1] which corrects some spelling mistakes. This patch modifies a pre-generated file in gucharmap. As we want to change gucharmap to generate those files from unicode-data [2] during build instead of using the pre-generated files, this spelling fix should go into unicode-data directly. Unfortunately unicode-data only ships a blob as sources, so applying a patch is not straightforward as the package doesn't provide a mechanism to apply patches to the unpacked source files. The attached patch uses a workaround and directly modifies the relevant file via sed. Would be nice if you can apply this fix to the Debian unicode-data package and also forward it upstream. Cheers, Michael [1] http://patch-tracker.debian.org/patch/series/view/gucharmap/1:3.2.2-2/spelling_fixes.patch [2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=603405 -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (200, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- no debconf information
diff --git a/debian/rules b/debian/rules index 5ac65aa..daa9477 100755 --- a/debian/rules +++ b/debian/rules @@ -26,6 +26,7 @@ $(STAMP_DIR)/build-stamp: tr -d \\r < $$f > tmpf ; \ mv tmpf $$f ; \ done ) + sed -i s/expecially/especially/ $(SOURCE_DIR)/Unihan_Readings.txt bzip2 $(SOURCE_DIR)/NormalizationTest.txt ( cd $(SOURCE_DIR); for d in Unihan*.txt ; do \ bzip2 $$d ; done )

