Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi,

I run into troubles while building dictionaries, because I have on my system set PERL_UNICODE=SDL (perl script clone/dictionaries/dictionaries/util/th_check.pl dies as it's forced to use UTF-8, but not all dictionaries are in this encoding). Not sure whether it's good idea to handle it. If yes, there is a working solution (I'm sure, there must be better place to reset the variable).

Petr
From 6877bd81333f6373fb80d66e6d6479a40e2294f5 Mon Sep 17 00:00:00 2001
From: Petr Vorel <petr.vorel@gmail.com>
Date: Sat, 18 Feb 2012 23:19:22 +0100
Subject: [PATCH] fix building dictionaries when PERL_UNICODE environment
 variable is set

---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index cb99243..7d619e2 100644
--- a/Makefile
+++ b/Makefile
@@ -267,7 +267,7 @@ define dmake_module_rules
 
 $(1): bootstrap fetch
        cd $(1) && unset MAKEFLAGS && \
-        $(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) -- -P$(GMAKE_PARALLELISM)
+        PERL_UNICODE=0 $(SOLARENV)/bin/build.pl -P$(BUILD_NCPUS) -- -P$(GMAKE_PARALLELISM) # 
PERL_UNICODE breaks th_check.pl during validating thesaurus files
 
 $(1).all: bootstrap fetch
        cd $(1) && unset MAKEFLAGS && \
-- 
1.7.9


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.