Date: Fri, 28 Feb 2003 16:16:46 +0200 (EET) From: Alexandr Kovalenko <never@nevermind.kiev.ua> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/48789: [PATCH] editors/openoffice: make OO.o support uk_UA.KOI8-U locale correctly Message-ID: <200302281416.h1SEGkL3081670@kurush.osdn.org.ua>
next in thread | raw e-mail | index | archive | help
>Number: 48789 >Category: ports >Synopsis: [PATCH] editors/openoffice: make OO.o support uk_UA.KOI8-U locale correctly >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Feb 28 10:00:21 PST 2003 >Closed-Date: >Last-Modified: >Originator: Alexandr Kovalenko >Release: FreeBSD 4.7-RELEASE-p4 i386 >Organization: WNet ISP, Kiev, Ukraine, http://wnet.ua/ >Environment: System: FreeBSD kurush.osdn.org.ua 4.7-RELEASE-p4 FreeBSD 4.7-RELEASE-p4 #0: Wed Feb 5 19:25:23 EET 2003 root@kurush.osdn.org.ua:/usr/obj/usr/src/sys/kurush i386 >Description: - Add/fix support for uk_UA.KOI8-U locale for FreeBSD >How-To-Repeat: N/A >Fix: diff -ruN openoffice.orig/Makefile openoffice/Makefile --- openoffice.orig/Makefile Mon Feb 24 15:27:50 2003 +++ openoffice/Makefile Fri Feb 28 14:12:30 2003 @@ -7,6 +7,7 @@ PORTNAME= openoffice PORTVERSION= 1.0.2 +PORTREVISION= 1 CATEGORIES+= editors MASTER_SITES+= http://ny1.mirror.openoffice.org/%SUBDIR%/ \ http://ftp.gwdg.de/pub/misc/openoffice/%SUBDIR%/ \ diff -ruN openoffice.orig/files/patch-dtrans+source+X11+X11_selection.cxx openoffice/files/patch-dtrans+source+X11+X11_selection.cxx --- openoffice.orig/files/patch-dtrans+source+X11+X11_selection.cxx Wed Jul 31 10:29:23 2002 +++ openoffice/files/patch-dtrans+source+X11+X11_selection.cxx Fri Feb 28 13:28:00 2003 @@ -9,3 +9,11 @@ #include <sys/poll.h> #else #include <poll.h> +@@ -175,6 +175,7 @@ + { 0, "text/plain;charset=ksc5601.1992-0", "KSC5601.1992-0", 8 }, + // eastern european encodings + { 0, "text/plain;charset=koi8-r", "KOI8-R", 8 }, ++ { 0, "text/plain;charset=koi8-u", "KOI8-U", 8 }, + // String (== iso8859-1) + { XA_STRING, "text/plain;charset=string", "STRING", 8 }, + // special for compound text diff -ruN openoffice.orig/files/patch-i18npool+source+localedata+localedata.cxx openoffice/files/patch-i18npool+source+localedata+localedata.cxx --- openoffice.orig/files/patch-i18npool+source+localedata+localedata.cxx Thu Jan 1 00:00:00 1970 +++ openoffice/files/patch-i18npool+source+localedata+localedata.cxx Fri Feb 28 13:18:07 2003 @@ -0,0 +1,11 @@ +diff -ruN ../i18npool/source/localedata/localedata.cxx ../i18npool/source/localedata/localedata.cxx +--- ../i18npool/source/localedata/localedata.cxx Mon Feb 24 17:47:22 2003 ++++ ../i18npool/source/localedata/localedata.cxx Tue Feb 25 16:41:58 2003 +@@ -150,6 +150,7 @@ + { "pt_BR", lcl_ASCII }, + { "pt_PT", lcl_ASCII }, + { "ru_RU", lcl_ASCII }, ++ { "uk_UA", lcl_ASCII }, + { "sv_FI", lcl_ASCII }, + { "tr_TR", lcl_ASCII }, + { "th_TH", lcl_ASCII }, // PlaDao convenience entry diff -ruN openoffice.orig/files/patch-i18npool+source+localedata_ascii+makefile.mk openoffice/files/patch-i18npool+source+localedata_ascii+makefile.mk --- openoffice.orig/files/patch-i18npool+source+localedata_ascii+makefile.mk Thu Jan 1 00:00:00 1970 +++ openoffice/files/patch-i18npool+source+localedata_ascii+makefile.mk Fri Feb 28 13:18:07 2003 @@ -0,0 +1,19 @@ +diff -ruN ../i18npool/source/localedata_ascii/makefile.mk ../i18npool/source/localedata_ascii/makefile.mk +--- ../i18npool/source/localedata_ascii/makefile.mk Sun Nov 17 23:27:32 2002 ++++ ../i18npool/source/localedata_ascii/makefile.mk Tue Feb 25 16:43:21 2003 +@@ -138,6 +138,7 @@ + $(MISC)$/localedata_pt_BR.cxx \ + $(MISC)$/localedata_pt_PT.cxx \ + $(MISC)$/localedata_ru_RU.cxx \ ++ $(MISC)$/localedata_uk_UA.cxx \ + $(MISC)$/localedata_sv_FI.cxx \ + $(MISC)$/localedata_tr_TR.cxx \ + $(MISC)$/localedata_nb_NO.cxx \ +@@ -208,6 +209,7 @@ + $(SLO)$/localedata_pt_BR.obj \ + $(SLO)$/localedata_pt_PT.obj \ + $(SLO)$/localedata_ru_RU.obj \ ++ $(SLO)$/localedata_uk_UA.obj \ + $(SLO)$/localedata_sv_FI.obj \ + $(SLO)$/localedata_tr_TR.obj \ + $(SLO)$/localedata_nb_NO.obj \ diff -ruN openoffice.orig/files/patch-i18npool+source+localedata_ascii+uk_UA.xml openoffice/files/patch-i18npool+source+localedata_ascii+uk_UA.xml --- openoffice.orig/files/patch-i18npool+source+localedata_ascii+uk_UA.xml Thu Jan 1 00:00:00 1970 +++ openoffice/files/patch-i18npool+source+localedata_ascii+uk_UA.xml Fri Feb 28 13:18:07 2003 @@ -0,0 +1,455 @@ +diff -ruN ../i18npool/source/localedata_ascii/uk_UA.xml ../i18npool/source/localedata_ascii/uk_UA.xml +--- ../i18npool/source/localedata_ascii/uk_UA.xml Thu Jan 1 00:00:00 1970 ++++ ../i18npool/source/localedata_ascii/uk_UA.xml Fri Feb 28 13:04:01 2003 +@@ -0,0 +1,451 @@ ++<?xml version="1.0" encoding="UTF-8"?> ++<!DOCTYPE Locale SYSTEM 'locale.dtd'> ++<Locale version="1.2"> ++<LC_INFO> ++<Language> ++<LangID>uk</LangID> ++<DefaultName>Ukrainian</DefaultName> ++</Language> ++<Country> ++<CountryID>UA</CountryID> ++<DefaultName>Ukraine</DefaultName> ++</Country> ++<Platform> ++<PlatformID>generic</PlatformID> ++</Platform> ++<Varient></Varient> ++</LC_INFO> ++<LC_CTYPE unoid="generic"> ++<Separators> ++<DateSeparator>.</DateSeparator> ++<ThousandSeparator> </ThousandSeparator> ++<DecimalSeparator>,</DecimalSeparator> ++<TimeSeparator>:</TimeSeparator> ++<Time100SecSeparator>,</Time100SecSeparator> ++<ListSeparator>;</ListSeparator> ++<LongDateDayOfWeekSeparator></LongDateDayOfWeekSeparator> ++<LongDateDaySeparator> </LongDateDaySeparator> ++<LongDateMonthSeparator> </LongDateMonthSeparator> ++<LongDateYearSeparator> р.</LongDateYearSeparator> ++</Separators> ++<Markers> ++<QuotationStart>‘</QuotationStart> ++<QuotationEnd>’</QuotationEnd> ++<DoubleQuotationStart>“</DoubleQuotationStart> ++<DoubleQuotationEnd>”</DoubleQuotationEnd> ++</Markers> ++<TimeAM>AM</TimeAM> ++<TimePM>PM</TimePM> ++<MeasurementSystem>Metric</MeasurementSystem> ++</LC_CTYPE> ++<LC_FORMAT> ++<FormatElement msgid="DateFormatskey1" default="true" type="short" usage="DATE" formatindex="18"> ++<FormatCode>M/D/YY</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="DateFormatskey2" default="false" type="medium" usage="DATE" formatindex="28"> ++<FormatCode>NN DD/MMM YY</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="DateFormatskey3" default="false" type="medium" usage="DATE" formatindex="34"> ++<FormatCode>MM/YY</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="DateFormatskey4" default="false" type="medium" usage="DATE" formatindex="35"> ++<FormatCode>MMM DD</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="DateFormatskey5" default="false" type="medium" usage="DATE" formatindex="36"> ++<FormatCode>MMMM</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="DateFormatskey6" default="false" type="medium" usage="DATE" formatindex="37"> ++<FormatCode>QQ YY</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="DateFormatskey7" default="false" type="medium" usage="DATE" formatindex="21"> ++<FormatCode>MM/DD/YYYY</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="DateFormatskey8" default="true" type="medium" usage="DATE" formatindex="20"> ++<FormatCode>MM/DD/YY</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="DateFormatskey9" default="true" type="long" usage="DATE" formatindex="19"> ++<FormatCode>NNNNMMMM DD, YYYY</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="DateFormatskey10" default="false" type="long" usage="DATE" formatindex="22"> ++<FormatCode>MMM D, YY</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="DateFormatskey11" default="false" type="long" usage="DATE" formatindex="23"> ++<FormatCode>MMM D, YYYY</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="DateFormatskey12" default="false" type="long" usage="DATE" formatindex="25"> ++<FormatCode>MMMM D, YYYY</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="DateFormatskey13" default="false" type="long" usage="DATE" formatindex="27"> ++<FormatCode>NN, MMM D, YY</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="DateFormatskey14" default="false" type="long" usage="DATE" formatindex="29"> ++<FormatCode>NN, MMMM D, YYYY</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="DateFormatskey15" default="false" type="long" usage="DATE" formatindex="30"> ++<FormatCode>NNNNMMMM D, YYYY</FormatCode> ++<DefaultName>DIN 5008 (EN 28601) </DefaultName> ++</FormatElement> ++<FormatElement msgid="DateFormatskey16" default="false" type="long" usage="DATE" formatindex="24"> ++<FormatCode>D. MMM. YYYY</FormatCode> ++<DefaultName>DIN 5008 (EN 28601) </DefaultName> ++</FormatElement> ++<FormatElement msgid="DateFormatskey17" default="false" type="long" usage="DATE" formatindex="26"> ++<FormatCode>D. MMMM YYYY</FormatCode> ++<DefaultName>DIN 5008 (EN 28601) </DefaultName> ++</FormatElement> ++<FormatElement msgid="DateFormatskey18" default="false" type="short" usage="DATE" formatindex="31"> ++<FormatCode>MM-DD</FormatCode> ++<DefaultName>DIN 5008 (EN 28601) </DefaultName> ++</FormatElement> ++<FormatElement msgid="DateFormatskey19" default="false" type="medium" usage="DATE" formatindex="32"> ++<FormatCode>YY-MM-DD</FormatCode> ++<DefaultName>DIN 5008 (EN 28601) </DefaultName> ++</FormatElement> ++<FormatElement msgid="DateFormatskey20" default="false" type="medium" usage="DATE" formatindex="33"> ++<FormatCode>YYYY-MM-DD</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="DateFormatskey21" default="false" type="medium" usage="DATE" formatindex="38"> ++<FormatCode>WW</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="TimeFormatskey1" default="true" type="short" usage="TIME" formatindex="39"> ++<FormatCode>HH:MM</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="TimeFormatskey2" default="true" type="medium" usage="TIME" formatindex="40"> ++<FormatCode>HH:MM:SS</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="TimeFormatskey3" default="false" type="short" usage="TIME" formatindex="41"> ++<FormatCode>HH:MM AM/PM</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="TimeFormatskey4" default="false" type="medium" usage="TIME" formatindex="42"> ++<FormatCode>HH:MM:SS AM/PM</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="TimeFormatskey5" default="false" type="medium" usage="TIME" formatindex="43"> ++<FormatCode>[HH]:MM:SS</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="TimeFormatskey6" default="false" type="short" usage="TIME" formatindex="44"> ++<FormatCode>MM:SS,00</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="TimeFormatskey7" default="false" type="medium" usage="TIME" formatindex="45"> ++<FormatCode>[HH]:MM:SS,00</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="DateTimeFormatskey1" default="true" type="medium" usage="DATE_TIME" formatindex="46"> ++<FormatCode>MM/DD/YY HH:MM</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="DateTimeFormatskey2" default="false" type="medium" usage="DATE_TIME" formatindex="47"> ++<FormatCode>MM/DD/YYYY HH:MM:SS</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="FixedFormatskey1" default="true" type="medium" usage="FIXED_NUMBER" formatindex="0"> ++<FormatCode>Standard</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="FixedFormatskey2" default="true" type="short" usage="FIXED_NUMBER" formatindex="1"> ++<FormatCode>0</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="FixedFormatskey3" default="false" type="medium" usage="FIXED_NUMBER" formatindex="2"> ++<FormatCode>0,00</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="FixedFormatskey4" default="false" type="short" usage="FIXED_NUMBER" formatindex="3"> ++<FormatCode># ##0</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="FixedFormatskey5" default="false" type="medium" usage="FIXED_NUMBER" formatindex="4"> ++<FormatCode># ##0,00</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="FixedFormatskey6" default="false" type="medium" usage="FIXED_NUMBER" formatindex="5"> ++<FormatCode># ###,00</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="CurrencyFormatskey1" default="true" type="short" usage="CURRENCY" formatindex="12"> ++<FormatCode>[$грн.-419]# ##0;-[$грн.-419]# ##0</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="CurrencyFormatskey2" default="false" type="medium" usage="CURRENCY" formatindex="13"> ++<FormatCode>[$грн.-419]# ##0,00;-[$грн.-419]# ##0,00</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="CurrencyFormatskey3" default="false" type="medium" usage="CURRENCY" formatindex="14"> ++ <FormatCode>[$грн.-419]# ##0;[RED]-[$грн.-419]# ##0</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="CurrencyFormatskey4" default="true" type="medium" usage="CURRENCY" formatindex="15"> ++<FormatCode>[$грн.-419]# ##0,00;[RED]-[$грн.-419]# ##0,00</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="CurrencyFormatskey5" default="false" type="medium" usage="CURRENCY" formatindex="16"> ++<FormatCode># ##0,00 CCC</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="CurrencyFormatskey6" default="false" type="medium" usage="CURRENCY" formatindex="17"> ++<FormatCode>[$грн.-419]# ##0,--;[RED]-[$грн.-419]# ##0,--</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="PercentFormatskey1" default="true" type="short" usage="PERCENT_NUMBER" formatindex="8"> ++<FormatCode>0%</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="PercentFormatskey2" default="true" type="long" usage="PERCENT_NUMBER" formatindex="9"> ++<FormatCode>0,00%</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="ScientificFormatskey1" default="true" type="medium" usage="SCIENTIFIC_NUMBER" formatindex="6"> ++<FormatCode>0,00E+000</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++<FormatElement msgid="ScientificFormatskey2" default="false" type="medium" usage="SCIENTIFIC_NUMBER" formatindex="7"> ++<FormatCode>0,00E+00</FormatCode> ++<DefaultName></DefaultName> ++</FormatElement> ++</LC_FORMAT> ++<LC_COLLATION> ++<Collator unoid="uk_UA.alphanumeric" default="true"/> ++<CollationOptions> ++<TransliterationModules>IGNORE_CASE</TransliterationModules> ++</CollationOptions> ++</LC_COLLATION> ++<LC_SEARCH> ++<SearchOptions> ++<TransliterationModules>IGNORE_CASE</TransliterationModules> ++</SearchOptions> ++</LC_SEARCH> ++<LC_CALENDAR> ++<Calendar unoid="gregorian" default="true"> ++<DaysOfWeek> ++<Day> ++<DayID>sun</DayID> ++<DefaultAbbrvName>Нд</DefaultAbbrvName> ++<DefaultFullName>неділя</DefaultFullName> ++</Day> ++<Day> ++<DayID>mon</DayID> ++<DefaultAbbrvName>Пн</DefaultAbbrvName> ++<DefaultFullName>понеділок</DefaultFullName> ++</Day> ++<Day> ++<DayID>tue</DayID> ++<DefaultAbbrvName>Вт</DefaultAbbrvName> ++<DefaultFullName>вівторок</DefaultFullName> ++</Day> ++<Day> ++<DayID>wed</DayID> ++<DefaultAbbrvName>Ср</DefaultAbbrvName> ++<DefaultFullName>середа</DefaultFullName> ++</Day> ++<Day> ++<DayID>thu</DayID> ++<DefaultAbbrvName>Чт</DefaultAbbrvName> ++<DefaultFullName>четвер</DefaultFullName> ++</Day> ++<Day> ++<DayID>fri</DayID> ++<DefaultAbbrvName>Пт</DefaultAbbrvName> ++<DefaultFullName>п'ятниця</DefaultFullName> ++</Day> ++<Day> ++<DayID>sat</DayID> ++<DefaultAbbrvName>Сб</DefaultAbbrvName> ++<DefaultFullName>субота</DefaultFullName> ++</Day> ++</DaysOfWeek> ++<MonthsOfYear> ++<Month> ++<MonthID>jan</MonthID> ++<DefaultAbbrvName>січ</DefaultAbbrvName> ++<DefaultFullName>Січень</DefaultFullName> ++</Month> ++<Month> ++<MonthID>feb</MonthID> ++<DefaultAbbrvName>лют</DefaultAbbrvName> ++<DefaultFullName>Лютий</DefaultFullName> ++</Month> ++<Month> ++<MonthID>mar</MonthID> ++<DefaultAbbrvName>бер</DefaultAbbrvName> ++<DefaultFullName>Березень</DefaultFullName> ++</Month> ++<Month> ++<MonthID>apr</MonthID> ++<DefaultAbbrvName>квт</DefaultAbbrvName> ++<DefaultFullName>Квітень</DefaultFullName> ++</Month> ++<Month> ++<MonthID>may</MonthID> ++<DefaultAbbrvName>трв</DefaultAbbrvName> ++<DefaultFullName>Травень</DefaultFullName> ++</Month> ++<Month> ++<MonthID>jun</MonthID> ++<DefaultAbbrvName>чер</DefaultAbbrvName> ++<DefaultFullName>Червень</DefaultFullName> ++</Month> ++<Month> ++<MonthID>jul</MonthID> ++<DefaultAbbrvName>лип</DefaultAbbrvName> ++<DefaultFullName>Липень</DefaultFullName> ++</Month> ++<Month> ++<MonthID>aug</MonthID> ++<DefaultAbbrvName>сер</DefaultAbbrvName> ++<DefaultFullName>Серпень</DefaultFullName> ++</Month> ++<Month> ++<MonthID>sep</MonthID> ++<DefaultAbbrvName>вер</DefaultAbbrvName> ++<DefaultFullName>Вересень</DefaultFullName> ++</Month> ++<Month> ++<MonthID>oct</MonthID> ++<DefaultAbbrvName>жов</DefaultAbbrvName> ++<DefaultFullName>Жовтень</DefaultFullName> ++</Month> ++<Month> ++<MonthID>nov</MonthID> ++<DefaultAbbrvName>лис</DefaultAbbrvName> ++<DefaultFullName>Листопад</DefaultFullName> ++</Month> ++<Month> ++<MonthID>dec</MonthID> ++<DefaultAbbrvName>гру</DefaultAbbrvName> ++<DefaultFullName>Грудень</DefaultFullName> ++</Month> ++</MonthsOfYear> ++<Eras> ++<Era> ++<EraID>bc</EraID> ++<DefaultAbbrvName>до н.е.</DefaultAbbrvName> ++<DefaultFullName>до н.е.</DefaultFullName> ++</Era> ++<Era> ++<EraID>ad</EraID> ++<DefaultAbbrvName>н.е.</DefaultAbbrvName> ++<DefaultFullName>н.е.</DefaultFullName> ++</Era> ++</Eras> ++<StartDayOfWeek> ++<DayID>sun</DayID> ++</StartDayOfWeek> ++<MinimalDaysInFirstWeek>1</MinimalDaysInFirstWeek> ++</Calendar> ++</LC_CALENDAR> ++<LC_CURRENCY> ++<Currency default="true" usedInCompatibleFormatCodes="true"> ++<CurrencyID>грн.</CurrencyID> ++<CurrencySymbol>грн.</CurrencySymbol> ++<BankSymbol>UAH</BankSymbol> ++<CurrencyName>Hrivnya</CurrencyName> ++<DecimalPlaces>2</DecimalPlaces> ++</Currency> ++</LC_CURRENCY> ++<LC_TRANSLITERATION> ++<Transliteration unoid="UPPERCASE_LOWERCASE"/> ++<Transliteration unoid="IGNORE_CASE"/> ++<Transliteration unoid="LOWERCASE_UPPERCASE" /> ++</LC_TRANSLITERATION> ++<LC_MISC> ++<ReservedWords> ++<trueWord>true</trueWord> ++<falseWord>false</falseWord> ++<quarter1Word>1st quarter</quarter1Word> ++<quarter2Word>2nd quarter</quarter2Word> ++<quarter3Word>3rd quarter</quarter3Word> ++<quarter4Word>4th quarter</quarter4Word> ++<aboveWord>above</aboveWord> ++<belowWord>below</belowWord> ++</ReservedWords> ++</LC_MISC> ++<LC_NumberingLevel> ++<NumberingLevel Prefix=" " NumType="4" Suffix=")" /> ++<NumberingLevel Prefix=" " NumType="4" Suffix="." /> ++<NumberingLevel Prefix="(" NumType="4" Suffix="." /> ++<NumberingLevel Prefix=" " NumType="2" Suffix="." /> ++<NumberingLevel Prefix=" " NumType="0" Suffix=")" /> ++<NumberingLevel Prefix=" " NumType="1" Suffix=")" /> ++<NumberingLevel Prefix="(" NumType="1" Suffix=")" /> ++<NumberingLevel Prefix=" " NumType="3" Suffix="." /> ++</LC_NumberingLevel> ++<LC_OutLineNumberingLevel> ++<OutlineStyle> ++<OutLineNumberingLevel Prefix=" " NumType="4" Suffix="." BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="0" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="4" Suffix="." BulletChar="0020" BulletFontName="" ParentNumbering="1" LeftMargin="50" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="1" Suffix=")" BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="100" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="6" Suffix=" " BulletChar="2022" BulletFontName="StarSymbol" ParentNumbering="0" LeftMargin="150" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="6" Suffix=" " BulletChar="2022" BulletFontName="StarSymbol" ParentNumbering="0" LeftMargin="200" SymbolTextDistance="50" FirstLineOffset="0" /> ++</OutlineStyle> ++<OutlineStyle> ++<OutLineNumberingLevel Prefix=" " NumType="4" Suffix="." BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="0" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="1" Suffix=")" BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="50" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="6" Suffix=" " BulletChar="2022" BulletFontName="StarSymbol" ParentNumbering="0" LeftMargin="100" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="6" Suffix=" " BulletChar="2022" BulletFontName="StarSymbol" ParentNumbering="0" LeftMargin="150" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="6" Suffix=" " BulletChar="2022" BulletFontName="StarSymbol" ParentNumbering="0" LeftMargin="200" SymbolTextDistance="50" FirstLineOffset="0" /> ++</OutlineStyle> ++<OutlineStyle> ++<OutLineNumberingLevel Prefix=" " NumType="4" Suffix="." BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="0" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix="(" NumType="1" Suffix=")" BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="50" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="3" Suffix="." BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="100" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="0" Suffix="." BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="150" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="6" Suffix="." BulletChar="2022" BulletFontName="StarSymbol" ParentNumbering="0" LeftMargin="200" SymbolTextDistance="50" FirstLineOffset="0" /> ++</OutlineStyle> ++<OutlineStyle> ++<OutLineNumberingLevel Prefix=" " NumType="4" Suffix="." BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="0" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="4" Suffix="." BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="50" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="4" Suffix="." BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="100" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="4" Suffix="." BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="150" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="4" Suffix="." BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="200" SymbolTextDistance="50" FirstLineOffset="0" /> ++</OutlineStyle> ++<OutlineStyle> ++<OutLineNumberingLevel Prefix=" " NumType="2" Suffix="." BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="0" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="0" Suffix="." BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="50" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="3" Suffix="." BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="100" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="1" Suffix=")" BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="150" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="6" Suffix=" " BulletChar="2022" BulletFontName="StarSymbol" ParentNumbering="0" LeftMargin="200" SymbolTextDistance="50" FirstLineOffset="0" /> ++</OutlineStyle> ++<OutlineStyle> ++<OutLineNumberingLevel Prefix=" " NumType="0" Suffix="." BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="0" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="2" Suffix="." BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="50" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="1" Suffix="." BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="100" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="3" Suffix="." BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="150" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="6" Suffix=" " BulletChar="2022" BulletFontName="StarSymbol" ParentNumbering="0" LeftMargin="200" SymbolTextDistance="50" FirstLineOffset="0" /> ++</OutlineStyle> ++<OutlineStyle> ++<OutLineNumberingLevel Prefix=" " NumType="4" Suffix=" " BulletChar="0020" BulletFontName="" ParentNumbering="0" LeftMargin="0" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="4" Suffix=" " BulletChar="0020" BulletFontName="" ParentNumbering="1" LeftMargin="50" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="4" Suffix=" " BulletChar="0020" BulletFontName="" ParentNumbering="2" LeftMargin="100" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="4" Suffix=" " BulletChar="0020" BulletFontName="" ParentNumbering="3" LeftMargin="150" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="4" Suffix=" " BulletChar="0020" BulletFontName="" ParentNumbering="4" LeftMargin="200" SymbolTextDistance="50" FirstLineOffset="0" /> ++</OutlineStyle> ++<OutlineStyle> ++<OutLineNumberingLevel Prefix=" " NumType="6" Suffix=" " BulletChar="27A2" BulletFontName="StarSymbol" ParentNumbering="0" LeftMargin="0" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="6" Suffix=" " BulletChar="E006" BulletFontName="StarSymbol" ParentNumbering="0" LeftMargin="50" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="6" Suffix=")" BulletChar="E004" BulletFontName="StarSymbol" ParentNumbering="0" LeftMargin="100" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="6" Suffix=" " BulletChar="2022" BulletFontName="StarSymbol" ParentNumbering="0" LeftMargin="150" SymbolTextDistance="50" FirstLineOffset="0" /> ++<OutLineNumberingLevel Prefix=" " NumType="6" Suffix=" " BulletChar="2022" BulletFontName="StarSymbol" ParentNumbering="0" LeftMargin="200" SymbolTextDistance="50" FirstLineOffset="0" /> ++</OutlineStyle> ++</LC_OutLineNumberingLevel> ++</Locale> diff -ruN openoffice.orig/files/patch-sal+inc+rtl+textenc.h openoffice/files/patch-sal+inc+rtl+textenc.h --- openoffice.orig/files/patch-sal+inc+rtl+textenc.h Thu Jan 1 00:00:00 1970 +++ openoffice/files/patch-sal+inc+rtl+textenc.h Fri Feb 28 13:18:07 2003 @@ -0,0 +1,22 @@ +diff -ruN ../sal/inc/rtl/textenc.h ../sal/inc/rtl/textenc.h +--- ../sal/inc/rtl/textenc.h Mon Feb 24 17:46:26 2003 ++++ ../sal/inc/rtl/textenc.h Tue Feb 25 16:45:00 2003 +@@ -173,8 +173,9 @@ + #define RTL_TEXTENCODING_MS_1361 (RTL_TEXTENC_CAST( 84 )) + #define RTL_TEXTENCODING_GB_18030 (RTL_TEXTENC_CAST( 85 )) + #define RTL_TEXTENCODING_BIG5_HKSCS (RTL_TEXTENC_CAST( 86 )) ++#define RTL_TEXTENCODING_KOI8_U (RTL_TEXTENC_CAST( 87 )) + +-#define RTL_TEXTENCODING_STD_COUNT (RTL_TEXTENC_CAST( 87 )) ++#define RTL_TEXTENCODING_STD_COUNT (RTL_TEXTENC_CAST( 88 )) + + #define RTL_TEXTENCODING_USER_START (RTL_TEXTENC_CAST( 0x8000 )) + #define RTL_TEXTENCODING_USER_END (RTL_TEXTENC_CAST( 0xEFFF )) +@@ -223,6 +224,7 @@ + Cyrillic (DOS/OS2-866/Russian) RTL_TEXTENCODING_IBM_866 + Cyrillic (ISO-8859-5) RTL_TEXTENCODING_ISO_8859_5 + Cyrillic (KOI8-R) RTL_TEXTENCODING_KOI8_R ++Cyrillic (KOI8-U) RTL_TEXTENCODING_KOI8_U + Cyrillic (Windows-1251) RTL_TEXTENCODING_MS_1251 + + Greek (Apple Macintosh) RTL_TEXTENCODING_APPLE_GREEK diff -ruN openoffice.orig/files/patch-sal+osl+unx+nlsupport.c openoffice/files/patch-sal+osl+unx+nlsupport.c --- openoffice.orig/files/patch-sal+osl+unx+nlsupport.c Tue Sep 3 11:12:25 2002 +++ openoffice/files/patch-sal+osl+unx+nlsupport.c Fri Feb 28 13:55:23 2003 @@ -1,5 +1,5 @@ ---- ../sal/osl/unx/nlsupport.c.orig Tue May 21 15:22:11 2002 -+++ ../sal/osl/unx/nlsupport.c Tue Sep 3 12:58:48 2002 +--- ../sal/osl/unx/nlsupport.c Wed Jul 17 11:32:06 2002 ++++ ../sal/osl/unx/nlsupport.c Fri Feb 28 13:52:09 2003 @@ -63,7 +63,7 @@ #include <osl/diagnose.h> #include <osl/process.h> @@ -109,8 +109,8 @@ + { "ISO8859-5", RTL_TEXTENCODING_ISO_8859_5 }, /* Cyrillic */ + { "ISO8859-7", RTL_TEXTENCODING_ISO_8859_7 }, /* Greek */ + { "ISO8859-9", RTL_TEXTENCODING_ISO_8859_9 }, /* Turkish */ -+ { "KOI-U", RTL_TEXTENCODING_DONTKNOW }, /* Not supported at the moment */ + { "KOI8-R", RTL_TEXTENCODING_KOI8_R }, /* KOI8 */ ++ { "KOI8-U", RTL_TEXTENCODING_KOI8_U }, /* KOI8-U */ + { "SJIS", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */ + { "US-ASCII", RTL_TEXTENCODING_ASCII_US }, /* US-ASCII */ + { "UTF-8", RTL_TEXTENCODING_UTF8 } /* ISO-10646/UTF-8 */ @@ -137,8 +137,8 @@ + { "ISO8859-5", RTL_TEXTENCODING_ISO_8859_5 }, /* Cyrillic */ + { "ISO8859-7", RTL_TEXTENCODING_ISO_8859_7 }, /* Greek */ + { "ISO8859-9", RTL_TEXTENCODING_ISO_8859_9 }, /* Turkish */ -+ { "KOI-U", RTL_TEXTENCODING_DONTKNOW }, /* Not supported at the moment */ + { "KOI8-R", RTL_TEXTENCODING_KOI8_R }, /* KOI8 */ ++ { "KOI8-U", RTL_TEXTENCODING_KOI8_U }, /* KOI8-U */ + { "SJIS", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */ + { "US-ASCII", RTL_TEXTENCODING_ASCII_US }, /* US-ASCII */ + { "UTF-8", RTL_TEXTENCODING_UTF8 } /* ISO-10646/UTF-8 */ @@ -166,7 +166,15 @@ /* * This implementation of osl_getTextEncodingFromLocale maps -@@ -887,6 +945,6 @@ +@@ -684,6 +742,7 @@ + { "iso8859-8", RTL_TEXTENCODING_ISO_8859_8 }, + { "iso8859-9", RTL_TEXTENCODING_ISO_8859_9 }, + { "koi8-r", RTL_TEXTENCODING_KOI8_R }, ++ { "koi8-u", RTL_TEXTENCODING_KOI8_U }, + { "pck", RTL_TEXTENCODING_MS_932 }, + #if (0) + { "sun_eu_greek", RTL_TEXTENCODING_DONTKNOW }, +@@ -887,6 +946,6 @@ return 0; } diff -ruN openoffice.orig/files/patch-sal+textenc+tcvtest1.tab openoffice/files/patch-sal+textenc+tcvtest1.tab --- openoffice.orig/files/patch-sal+textenc+tcvtest1.tab Thu Jan 1 00:00:00 1970 +++ openoffice/files/patch-sal+textenc+tcvtest1.tab Fri Feb 28 13:18:07 2003 @@ -0,0 +1,174 @@ +diff -ruN ../sal/textenc/tcvtest1.tab ../sal/textenc/tcvtest1.tab +--- ../sal/textenc/tcvtest1.tab Fri Oct 12 13:44:53 2001 ++++ ../sal/textenc/tcvtest1.tab Tue Feb 25 16:47:50 2003 +@@ -4328,3 +4328,170 @@ + "koi8-r", + RTL_TEXTENCODING_INFO_ASCII | RTL_TEXTENCODING_INFO_MIME }; + /* SCRIPT_CYRILLIC, pc code page 866 (855?), mac encoding 7 */ ++ ++/* ======================================================================= */ ++ ++/* KOI8_U */ ++/* Standard Charset for Ukrainian Cyrillic */ ++/* 1-Byte, 0x00-0x7F ASCII ohne Ausnahme */ ++/* Convert-Tables: typed per hand */ ++/* Last-Changes from us: */ ++ ++#define KOI8UUNI_START 0x80 ++#define KOI8UUNI_END 0xFF ++static sal_uInt16 const aImplKOI8UToUniTab[KOI8UUNI_END - KOI8UUNI_START + 1] = ++{ ++/* 0 1 2 3 4 5 6 7 */ ++/* 8 9 A B C D E F */ ++ 0x2500, 0x2502, 0x250C, 0x2510, 0x2514, 0x2518, 0x251C, 0x2524, /* 0x80 */ ++ 0x252C, 0x2534, 0x253C, 0x2580, 0x2584, 0x2588, 0x258C, 0x2590, /* 0x80 */ ++ 0x2591, 0x2592, 0x2593, 0x2320, 0x25A0, 0x2219, 0x221A, 0x2248, /* 0x90 */ ++ 0x2264, 0x2265, 0x00A0, 0x2321, 0x00B0, 0x00B2, 0x00B7, 0x00F7, /* 0x90 */ ++ 0x2550, 0x2551, 0x2552, 0x0451, 0x0454, 0x2554, 0x0456, 0x0457, /* 0xA0 */ ++ 0x2557, 0x2558, 0x2559, 0x255A, 0x255B, 0x0491, 0x255D, 0x255E, /* 0xA0 */ ++ 0x255F, 0x2560, 0x2561, 0x0401, 0x0404, 0x2563, 0x0406, 0x0407, /* 0xB0 */ ++ 0x2566, 0x2567, 0x2568, 0x2569, 0x256A, 0x0490, 0x256C, 0x00A9, /* 0xB0 */ ++ 0x044E, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433, /* 0xC0 */ ++ 0x0445, 0x0438, 0x0439, 0x043A, 0x043B, 0x043C, 0x043D, 0x043E, /* 0xC0 */ ++ 0x043F, 0x044F, 0x0440, 0x0441, 0x0442, 0x0443, 0x0436, 0x0432, /* 0xD0 */ ++ 0x044C, 0x044B, 0x0437, 0x0448, 0x044D, 0x0449, 0x0447, 0x044A, /* 0xD0 */ ++ 0x042E, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413, /* 0xE0 */ ++ 0x0425, 0x0418, 0x0419, 0x041A, 0x041B, 0x041C, 0x041D, 0x041E, /* 0xE0 */ ++ 0x041F, 0x042F, 0x0420, 0x0421, 0x0422, 0x0423, 0x0416, 0x0412, /* 0xF0 */ ++ 0x042C, 0x042B, 0x0417, 0x0428, 0x042D, 0x0429, 0x0427, 0x042A /* 0xF0 */ ++}; ++ ++/* ----------------------------------------------------------------------- */ ++ ++#define KOI8UCHAR_START 0x0410 ++#define KOI8UCHAR_END 0x044F ++static sal_uChar const aImplKOI8UToCharTab[KOI8UCHAR_END - KOI8UCHAR_START + 1] = ++{ ++/* 0 1 2 3 4 5 6 7 */ ++/* 8 9 A B C D E F */ ++ 0xE1, 0xE2, 0xF7, 0xE7, 0xE4, 0xE5, 0xF6, 0xFA, /* 0x0410 */ ++ 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, 0xF0, /* 0x0410 */ ++ 0xF2, 0xF3, 0xF4, 0xF5, 0xE6, 0xE8, 0xE3, 0xFE, /* 0x0420 */ ++ 0xFB, 0xFD, 0xFF, 0xF9, 0xF8, 0xFC, 0xE0, 0xF1, /* 0x0420 */ ++ 0xC1, 0xC2, 0xD7, 0xC7, 0xC4, 0xC5, 0xD6, 0xDA, /* 0x0430 */ ++ 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF, 0xD0, /* 0x0430 */ ++ 0xD2, 0xD3, 0xD4, 0xD5, 0xC6, 0xC8, 0xC3, 0xDE, /* 0x0440 */ ++ 0xDB, 0xDD, 0xDF, 0xD9, 0xD8, 0xDC, 0xC0, 0xD1 /* 0x0440 */ ++}; ++ ++/* ----------------------------------------------------------------------- */ ++ ++#define KOI8UTOCHARTABEX_COUNT 72 ++static ImplUniCharTabData const aImplKOI8UToCharTabEx[KOI8UTOCHARTABEX_COUNT] = ++{ ++ { 0x00A0, 0x9A }, ++ { 0x00A9, 0xBF }, ++ { 0x00B0, 0x9C }, ++ { 0x00B2, 0x9D }, ++ { 0x00B7, 0x9E }, ++ { 0x00F7, 0x9F }, ++ { 0x0401, 0xB3 }, ++ { 0x0404, 0xB4 }, ++ { 0x0406, 0xB6 }, ++ { 0x0407, 0xB7 }, ++ { 0x0451, 0xA3 }, ++ { 0x0454, 0xA4 }, ++ { 0x0456, 0xA6 }, ++ { 0x0457, 0xA7 }, ++ { 0x0490, 0xBD }, ++ { 0x0491, 0xAD }, ++ { 0x2219, 0x95 }, ++ { 0x221A, 0x96 }, ++ { 0x2248, 0x97 }, ++ { 0x2264, 0x98 }, ++ { 0x2265, 0x99 }, ++ { 0x2320, 0x93 }, ++ { 0x2321, 0x9B }, ++ { 0x2500, 0x80 }, ++ { 0x2502, 0x81 }, ++ { 0x250C, 0x82 }, ++ { 0x2510, 0x83 }, ++ { 0x2514, 0x84 }, ++ { 0x2518, 0x85 }, ++ { 0x251C, 0x86 }, ++ { 0x2524, 0x87 }, ++ { 0x252C, 0x88 }, ++ { 0x2534, 0x89 }, ++ { 0x253C, 0x8A }, ++ { 0x2550, 0xA0 }, ++ { 0x2551, 0xA1 }, ++ { 0x2552, 0xA2 }, ++ { 0x2553, 0xA4 }, ++ { 0x2554, 0xA5 }, ++ { 0x2555, 0xA6 }, ++ { 0x2556, 0xA7 }, ++ { 0x2557, 0xA8 }, ++ { 0x2558, 0xA9 }, ++ { 0x2559, 0xAA }, ++ { 0x255A, 0xAB }, ++ { 0x255B, 0xAC }, ++ { 0x255C, 0xAD }, ++ { 0x255D, 0xAE }, ++ { 0x255E, 0xAF }, ++ { 0x255F, 0xB0 }, ++ { 0x2560, 0xB1 }, ++ { 0x2561, 0xB2 }, ++ { 0x2562, 0xB4 }, ++ { 0x2563, 0xB5 }, ++ { 0x2564, 0xB6 }, ++ { 0x2565, 0xB7 }, ++ { 0x2566, 0xB8 }, ++ { 0x2567, 0xB9 }, ++ { 0x2568, 0xBA }, ++ { 0x2569, 0xBB }, ++ { 0x256A, 0xBC }, ++ { 0x256B, 0xBD }, ++ { 0x256C, 0xBE }, ++ { 0x2580, 0x8B }, ++ { 0x2584, 0x8C }, ++ { 0x2588, 0x8D }, ++ { 0x258C, 0x8E }, ++ { 0x2590, 0x8F }, ++ { 0x2591, 0x90 }, ++ { 0x2592, 0x91 }, ++ { 0x2593, 0x92 }, ++ { 0x25A0, 0x94 } ++}; ++ ++/* ----------------------------------------------------------------------- */ ++ ++static ImplByteConvertData const aImplKOI8UByteCvtData = ++{ ++ aImplKOI8UToUniTab, ++ NULL, ++ KOI8UUNI_START, KOI8UUNI_END, ++ NOTABUNI_START, NOTABUNI_END, ++ aImplKOI8UToCharTab, ++ NULL, ++ aImplKOI8UToCharTabEx, ++ KOI8UCHAR_START, KOI8UCHAR_END, ++ NOTABCHAR_START, NOTABCHAR_END, ++ KOI8UTOCHARTABEX_COUNT ++}; ++ ++/* ----------------------------------------------------------------------- */ ++ ++static ImplTextEncodingData const aImplKOI8UTextEncodingData ++ = { { &aImplKOI8UByteCvtData, ++ ImplCharToUnicode, ++ ImplUnicodeToChar, ++ NULL, ++ NULL, ++ NULL, ++ NULL, ++ NULL, ++ NULL }, ++ RTL_TEXTENCODING_KOI8_U, ++ 1, ++ 1, ++ 1, ++ 204, ++ "koi8-u", ++ "koi8-u", ++ RTL_TEXTENCODING_INFO_ASCII | RTL_TEXTENCODING_INFO_MIME }; ++ /* SCRIPT_CYRILLIC, pc code page 866 (855?), mac encoding 7 */ diff -ruN openoffice.orig/files/patch-sal+textenc+tencinfo.c openoffice/files/patch-sal+textenc+tencinfo.c --- openoffice.orig/files/patch-sal+textenc+tencinfo.c Wed Jul 31 09:54:50 2002 +++ openoffice/files/patch-sal+textenc+tencinfo.c Fri Feb 28 13:34:15 2003 @@ -1,5 +1,13 @@ --- ../sal/textenc/tencinfo.c.orig Wed Jul 31 11:44:35 2002 +++ ../sal/textenc/tencinfo.c Wed Jul 31 11:45:47 2002 +@@ -532,6 +532,7 @@ + static ImplStrCharsetDef const aUnixCharsetKOI8Tab[] = + { + { "r", RTL_TEXTENCODING_KOI8_R }, ++ { "u", RTL_TEXTENCODING_KOI8_U }, + { NULL, RTL_TEXTENCODING_DONTKNOW } + }; + @@ -695,6 +695,10 @@ /* characters. The function search for the first equal string in */ /* the table. In this table are only the most used mime types. */ @@ -11,3 +19,19 @@ static ImplStrCharsetDef const aVIPMimeCharsetTab[] = { { "usascii", RTL_TEXTENCODING_ASCII_US }, +@@ -741,6 +742,7 @@ + { "windows1256", RTL_TEXTENCODING_MS_1256 }, + { "windows1257", RTL_TEXTENCODING_MS_1257 }, + { "windows1258", RTL_TEXTENCODING_MS_1258 }, ++ { "koi8u", RTL_TEXTENCODING_KOI8_U }, + { NULL, RTL_TEXTENCODING_DONTKNOW } + }; + +@@ -815,6 +817,7 @@ + { "iso10646us", RTL_TEXTENCODING_ASCII_US }, + { "iso646irv", RTL_TEXTENCODING_ASCII_US }, + { "cskoi8r", RTL_TEXTENCODING_KOI8_R }, ++ { "cskoi8u", RTL_TEXTENCODING_KOI8_U }, + { "ibm437", RTL_TEXTENCODING_IBM_437 }, + { "cp437", RTL_TEXTENCODING_IBM_437 }, + { "437", RTL_TEXTENCODING_IBM_437 }, diff -ruN openoffice.orig/files/patch-sal+textenc+textenc.c openoffice/files/patch-sal+textenc+textenc.c --- openoffice.orig/files/patch-sal+textenc+textenc.c Thu Jan 1 00:00:00 1970 +++ openoffice/files/patch-sal+textenc+textenc.c Fri Feb 28 13:18:07 2003 @@ -0,0 +1,13 @@ +diff -ruN ../sal/textenc/textenc.c ../sal/textenc/textenc.c +--- ../sal/textenc/textenc.c Mon Feb 24 17:46:29 2003 ++++ ../sal/textenc/textenc.c Tue Feb 25 16:51:28 2003 +@@ -254,7 +254,8 @@ + &aImplJISX0212TextEncodingData, /* JIS_X_0212 */ + &aImplMS1361TextEncodingData, /* MS_1361 */ + &aImplGb18030TextEncodingData, /* GB_18030 */ +- &aImplBig5HkscsTextEncodingData }; /* BIG5_HKSCS */ ++ &aImplBig5HkscsTextEncodingData, /* BIG5_HKSCS */ ++ &aImplKOI8UTextEncodingData }; /* KOI8_U */ + OSL_ENSURE(nEncoding >= RTL_TEXTENCODING_DONTKNOW + && nEncoding <= RTL_TEXTENCODING_UNICODE, + "specification violation"); diff -ruN openoffice.orig/files/patch-solenv+inc+postset.mk openoffice/files/patch-solenv+inc+postset.mk --- openoffice.orig/files/patch-solenv+inc+postset.mk Thu Jan 1 00:00:00 1970 +++ openoffice/files/patch-solenv+inc+postset.mk Fri Feb 28 13:18:07 2003 @@ -0,0 +1,23 @@ +diff -ruN ../solenv/inc/postset.mk ../solenv/inc/postset.mk +--- ../solenv/inc/postset.mk Tue Jan 7 17:22:04 2003 ++++ ../solenv/inc/postset.mk Tue Feb 25 16:52:34 2003 +@@ -220,6 +220,19 @@ + RCLANGFLAGS_07+= -d RUSS + iso_07=ru + ++.IF "$(RES_UKRA)"!="" || "$(give_me_all_languages)"!="" ++alllangext+=38 ++ukra$(LANG_GUI)*=$(default$(LANG_GUI)) ++cmd_ukra:=ukra 38 -lgUKRAINIAN $(IBM_PC_852) $(ukra$(LANG_GUI)) ++lang_38=ukra ++longlang_38=ukrainian ++langext_38=38 ++rsclang_38=-lgUKRAINIAN $(IBM_PC_852) ++rescharset_38=$(ukra$(LANG_GUI)) ++RCLANGFLAGS_38+= -d UKRA ++iso_38=uk ++.ENDIF ++ + .IF "$(RES_POL)"!="" || "$(give_me_all_languages)"!="" + alllangext+=48 + .ENDIF diff -ruN openoffice.orig/files/patch-svx+source+dialog+txenctab.src openoffice/files/patch-svx+source+dialog+txenctab.src --- openoffice.orig/files/patch-svx+source+dialog+txenctab.src Thu Jan 1 00:00:00 1970 +++ openoffice/files/patch-svx+source+dialog+txenctab.src Fri Feb 28 13:18:07 2003 @@ -0,0 +1,45 @@ +diff -ruN ../svx/source/dialog/txenctab.src ../svx/source/dialog/txenctab.src +--- ../svx/source/dialog/txenctab.src Thu Oct 31 23:18:23 2002 ++++ ../svx/source/dialog/txenctab.src Tue Feb 25 16:57:06 2003 +@@ -147,6 +147,7 @@ + < "Japanisch (ISO-2022-JP)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < "Chinesisch vereinfacht (ISO-2022-CN)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; + < "Kyrillisch (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "Kyrillisch (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; + < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; + < "Osteuropa (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; +@@ -235,6 +236,7 @@ + < "Japanese (ISO-2022-JP)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < "Chinese Simplified (ISO-2022-CN)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; + < "Cyrillic (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "Cyrillic (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; + < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; + < "Central European (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; +@@ -308,6 +310,7 @@ + < "Japanisch (ISO-2022-JP)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < "Chinesisch vereinfacht (ISO-2022-CN)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; + < "Kyrillisch (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "Kyrillisch (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; + < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; + < "Osteuropa (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; +@@ -378,6 +381,7 @@ + < "Japanese (ISO-2022-JP)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < "Chinese simplified (ISO-2022-CN)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; + < "Cyrillic (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "Cyrillic (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; + < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; + < "Eastern Europe (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; +@@ -512,7 +516,8 @@ + < " (BIG5)" ; RTL_TEXTENCODING_GBK ; > ; + < " (EUC-JP)" ; RTL_TEXTENCODING_BIG5 ; > ; + < " (EUC-CN)" ; RTL_TEXTENCODING_EUC_JP ; > ; +- < " (KOI8-R)" ; RTL_TEXTENCODING_EUC_CN ; > ; ++ < " (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < " (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < " (UTF-7)" ; RTL_TEXTENCODING_EUC_TW ; > ; + < " (UTF-8)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < " (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; diff -ruN openoffice.orig/files/patch-sw+source+filter+basflt+fltini.cxx openoffice/files/patch-sw+source+filter+basflt+fltini.cxx --- openoffice.orig/files/patch-sw+source+filter+basflt+fltini.cxx Thu Jan 1 00:00:00 1970 +++ openoffice/files/patch-sw+source+filter+basflt+fltini.cxx Fri Feb 28 13:18:07 2003 @@ -0,0 +1,23 @@ +diff -ruN ../sw/source/filter/basflt/fltini.cxx ../sw/source/filter/basflt/fltini.cxx +--- ../sw/source/filter/basflt/fltini.cxx Mon Feb 24 17:46:43 2003 ++++ ../sw/source/filter/basflt/fltini.cxx Tue Feb 25 16:59:03 2003 +@@ -1007,7 +1007,8 @@ + sToken081[] = "JIS_X_212", + sToken082[] = "MS_1361", + sToken083[] = "GB_18030", +- sToken084[] = "UNICODE_2" ++ sToken084[] = "KOI8_U", ++ sToken085[] = "UNICODE_2" + ; + struct _Dummy_MAP + { +@@ -1099,7 +1100,8 @@ + RTL_TEXTENCODING_JIS_X_0212, sToken081, + RTL_TEXTENCODING_MS_1361, sToken082, + RTL_TEXTENCODING_GB_18030, sToken083, +- RTL_TEXTENCODING_UCS2, sToken084 ++ RTL_TEXTENCODING_KOI8_U, sToken084, ++ RTL_TEXTENCODING_UCS2, sToken085 + }; + + BOOL bFnd = FALSE; diff -ruN openoffice.orig/files/patch-sysui+tools+lngconv+lngconv.cxx openoffice/files/patch-sysui+tools+lngconv+lngconv.cxx --- openoffice.orig/files/patch-sysui+tools+lngconv+lngconv.cxx Sun Jul 21 23:11:40 2002 +++ openoffice/files/patch-sysui+tools+lngconv+lngconv.cxx Fri Feb 28 13:35:00 2003 @@ -9,3 +9,11 @@ #include <locale.h> #include <langinfo.h> #endif +@@ -143,6 +143,7 @@ + { "iso8859-8", RTL_TEXTENCODING_ISO_8859_8 }, + { "iso8859-9", RTL_TEXTENCODING_ISO_8859_9 }, + { "koi8-r", RTL_TEXTENCODING_KOI8_R }, ++ { "koi8-u", RTL_TEXTENCODING_KOI8_U }, + { "pck", RTL_TEXTENCODING_MS_932 }, + #if (0) + { "sun_eu_greek", RTL_TEXTENCODING_DONTKNOW }, diff -ruN openoffice.orig/files/patch-sysui+unix+office+cde+locales.tab openoffice/files/patch-sysui+unix+office+cde+locales.tab --- openoffice.orig/files/patch-sysui+unix+office+cde+locales.tab Thu Jan 1 00:00:00 1970 +++ openoffice/files/patch-sysui+unix+office+cde+locales.tab Fri Feb 28 13:18:07 2003 @@ -0,0 +1,11 @@ +diff -ruN ../sysui/unix/office/cde/locales.tab ../sysui/unix/office/cde/locales.tab +--- ../sysui/unix/office/cde/locales.tab Tue Nov 20 19:26:28 2001 ++++ ../sysui/unix/office/cde/locales.tab Tue Feb 25 17:04:36 2003 +@@ -7,6 +7,7 @@ + locales+=$(assign locale_34 = es es.UTF-8) + locales+=$(assign locale_35 = fi fi.UTF-8) + locales+=$(assign locale_37 = ca) ++locales+=$(assign locale_38 = uk uk_UA.KOI8-U) + locales+=$(assign locale_39 = it it.UTF-8) + locales+=$(assign locale_45 = da da.UTF-8) + locales+=$(assign locale_46 = sv sv.UTF-8) diff -ruN openoffice.orig/files/patch-tools+source+inet+inetmime.cxx openoffice/files/patch-tools+source+inet+inetmime.cxx --- openoffice.orig/files/patch-tools+source+inet+inetmime.cxx Thu Jan 1 00:00:00 1970 +++ openoffice/files/patch-tools+source+inet+inetmime.cxx Fri Feb 28 13:18:07 2003 @@ -0,0 +1,55 @@ +diff -ruN ../tools/source/inet/inetmime.cxx ../tools/source/inet/inetmime.cxx +--- ../tools/source/inet/inetmime.cxx Mon Feb 24 17:46:55 2003 ++++ ../tools/source/inet/inetmime.cxx Tue Feb 25 17:08:22 2003 +@@ -1633,7 +1633,8 @@ + "ISO-8859-10", // RTL_TEXTENCODING_ISO_8859_10, RFC 2047 + "ISO-8859-13", // RTL_TEXTENCODING_ISO_8859_13, RFC 2047 + "EUC-KR", // RTL_TEXTENCODING_EUC_KR +- "ISO-2022-KR" }; // RTL_TEXTENCODING_ISO_2022_KR ++ "ISO-2022-KR", // RTL_TEXTENCODING_ISO_2022_KR ++ "KOI8-U" }; // RTL_TEXTENCODING_KOI8_U + DBG_ASSERT(aMap[eEncoding], + "INetMIME::getCharsetName(): Unsupported encoding"); + return aMap[eEncoding]; +@@ -1841,7 +1842,8 @@ + { "ISO-10646-UCS-4", RTL_TEXTENCODING_UCS4 }, + { "CSUCS4", RTL_TEXTENCODING_UCS4 }, + { "ISO-10646-UCS-2", RTL_TEXTENCODING_UCS2 }, +- { "CSUNICODE", RTL_TEXTENCODING_UCS2 } }; ++ { "CSUNICODE", RTL_TEXTENCODING_UCS2 }, ++ { "KOI8-U", RTL_TEXTENCODING_KOI8_U } }; + + //============================================================================ + template< typename T > +@@ -2012,6 +2014,18 @@ + // <ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MISC/KOI8-R.TXT> + // version 1.0 of 18 August 1999 + ++ static const sal_uInt32 aKOI8URanges[] ++ = { 0, 0x7F, 0xA0, 0xA0, 0xA9, 0xA9, 0xB0, 0xB0, 0xB2, 0xB2, ++ 0xB7, 0xB7, 0xF7, 0xF7, 0x401, 0x401, 0x410, 0x44F, 0x451, 0x451, ++ 0x2219, 0x221A, 0x2248, 0x2248, 0x2264, 0x2265, 0x2320, 0x2321, ++ 0x2500, 0x2500, 0x2502, 0x2502, 0x250C, 0x250C, 0x2510, 0x2510, ++ 0x2514, 0x2514, 0x2518, 0x2518, 0x251C, 0x251C, 0x2524, 0x2524, ++ 0x252C, 0x252C, 0x2534, 0x2534, 0x253C, 0x253C, 0x2550, 0x256C, ++ 0x2580, 0x2580, 0x2584, 0x2584, 0x2588, 0x2588, 0x258C, 0x258C, ++ 0x2590, 0x2593, 0x25A0, 0x25A0, sal_uInt32(-1) }; ++ // <ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MISC/KOI8-R.TXT> ++ // version 1.0 of 18 August 1999 ++ + static const sal_uInt32 aWindows1252Ranges[] + = { 0, 0x7F, 0xA0, 0xFF, 0x152, 0x153, 0x160, 0x161, 0x178, 0x178, + 0x17D, 0x17E, 0x192, 0x192, 0x2C6, 0x2C6, 0x2DC, 0x2DC, +@@ -2133,6 +2147,12 @@ + pList->prepend(Charset(RTL_TEXTENCODING_ISO_8859_5, + aISO88595Ranges)); + pList->prepend(Charset(RTL_TEXTENCODING_KOI8_R, aKOI8RRanges)); ++ break; ++ ++ case RTL_TEXTENCODING_KOI8_U: ++ pList->prepend(Charset(RTL_TEXTENCODING_ISO_8859_5, ++ aISO88595Ranges)); ++ pList->prepend(Charset(RTL_TEXTENCODING_KOI8_U, aKOI8URanges)); + break; + + default: //@@@ more cases are missing! diff -ruN openoffice.orig/files/patch-tools+source+rc+resmgr.cxx openoffice/files/patch-tools+source+rc+resmgr.cxx --- openoffice.orig/files/patch-tools+source+rc+resmgr.cxx Thu Jan 1 00:00:00 1970 +++ openoffice/files/patch-tools+source+rc+resmgr.cxx Fri Feb 28 13:18:07 2003 @@ -0,0 +1,20 @@ +diff -ruN ../tools/source/rc/resmgr.cxx ../tools/source/rc/resmgr.cxx +--- ../tools/source/rc/resmgr.cxx Mon Feb 24 17:46:55 2003 ++++ ../tools/source/rc/resmgr.cxx Tue Feb 25 17:09:39 2003 +@@ -1189,6 +1189,8 @@ + return "36"; + case LANGUAGE_RUSSIAN: + return "07"; ++ case LANGUAGE_UKRAINIAN: ++ return "38"; + case LANGUAGE_SLOVAK: + return "04"; + case LANGUAGE_GREEK: +@@ -1339,6 +1341,7 @@ + LANGUAGE_HUNGARIAN, + LANGUAGE_CZECH, + LANGUAGE_RUSSIAN, ++ LANGUAGE_UKRAINIAN, + LANGUAGE_ARABIC, + LANGUAGE_GREEK, + LANGUAGE_KOREAN, diff -ruN openoffice.orig/files/patch-transex3+inc+export.hxx openoffice/files/patch-transex3+inc+export.hxx --- openoffice.orig/files/patch-transex3+inc+export.hxx Thu Jan 1 00:00:00 1970 +++ openoffice/files/patch-transex3+inc+export.hxx Fri Feb 28 13:18:07 2003 @@ -0,0 +1,30 @@ +diff -ruN ../transex3/inc/export.hxx ../transex3/inc/export.hxx +--- ../transex3/inc/export.hxx Fri May 24 15:26:18 2002 ++++ ../transex3/inc/export.hxx Tue Feb 25 17:13:09 2003 +@@ -187,18 +187,22 @@ + #define CATALAN_ISO "ca" + #define CATALAN_INDEX 28 + ++#define UKRAINIAN 38 ++#define UKRAINIAN_ISO "uk" ++#define UKRAINIAN_INDEX 29 ++ + #define THAI 66 + #define THAI_ISO "th" +-#define THAI_INDEX 29 ++#define THAI_INDEX 30 + + // special language for l10n framework + #define EXTERN 99 +-#define EXTERN_INDEX 30 ++#define EXTERN_INDEX 31 + +-#define LANGUAGES 31 ++#define LANGUAGES 32 + + #define LANGUAGE_ALLOWED( n ) (( n != 0xFFFF ) && ( Export::LanguageAllowed( Export::LangId[ n ] )) && \ +- (( Export::LangId[ n ] == 01 ) || ( Export::LangId[ n ] == 03 ) || ( Export::LangId[ n ] == 07 ) || \ ++ (( Export::LangId[ n ] == 01 ) || ( Export::LangId[ n ] == 03 ) || ( Export::LangId[ n ] == 07 ) || ( Export::LangId[ n ] == 38 ) || \ + ( Export::LangId[ n ] == 30 ) || ( Export::LangId[ n ] == 31 ) || ( Export::LangId[ n ] == 33 ) || \ + ( Export::LangId[ n ] == 34 ) || ( Export::LangId[ n ] == 35 ) || ( Export::LangId[ n ] == 37 ) || \ + ( Export::LangId[ n ] == 39 ) || ( Export::LangId[ n ] == 45 ) || ( Export::LangId[ n ] == 46 ) || \ diff -ruN openoffice.orig/files/patch-transex3+source+export.cxx openoffice/files/patch-transex3+source+export.cxx --- openoffice.orig/files/patch-transex3+source+export.cxx Thu Jan 1 00:00:00 1970 +++ openoffice/files/patch-transex3+source+export.cxx Fri Feb 28 13:18:07 2003 @@ -0,0 +1,12 @@ +diff -ruN ../transex3/source/export.cxx ../transex3/source/export.cxx +--- ../transex3/source/export.cxx Mon Feb 24 17:45:55 2003 ++++ ../transex3/source/export.cxx Tue Feb 25 17:14:06 2003 +@@ -1205,6 +1205,8 @@ + return PORTUGUESE_INDEX; + else if ( sLang == "RUSSIAN" ) + return RUSSIAN_INDEX; ++ else if ( sLang == "UKRAINIAN" ) ++ return UKRAINIAN_INDEX; + else if ( sLang == "GREEK" ) + return GREEK_INDEX; + else if ( sLang == "DUTCH" ) diff -ruN openoffice.orig/files/patch-transex3+source+export2.cxx openoffice/files/patch-transex3+source+export2.cxx --- openoffice.orig/files/patch-transex3+source+export2.cxx Thu Jan 1 00:00:00 1970 +++ openoffice/files/patch-transex3+source+export2.cxx Fri Feb 28 13:18:07 2003 @@ -0,0 +1,44 @@ +diff -ruN ../transex3/source/export2.cxx ../transex3/source/export2.cxx +--- ../transex3/source/export2.cxx Mon Feb 24 17:45:55 2003 ++++ ../transex3/source/export2.cxx Tue Feb 25 17:19:19 2003 +@@ -144,6 +144,7 @@ + ARABIC, + HEBREW, + CATALAN, ++ UKRAINIAN, + THAI, + EXTERN + }; +@@ -192,6 +193,7 @@ + case ARABIC: return RTL_TEXTENCODING_MS_1256; + case HEBREW: return RTL_TEXTENCODING_MS_1255; + case CATALAN: return RTL_TEXTENCODING_MS_1252; ++ case UKRAINIAN: return RTL_TEXTENCODING_MS_1251; + case THAI: return RTL_TEXTENCODING_UTF8; + case EXTERN: return RTL_TEXTENCODING_UTF8; + } +@@ -214,6 +216,8 @@ + return PORTUGUESE; + else if ( sLang == ByteString( RUSSIAN_ISO ).ToUpperAscii()) + return RUSSIAN; ++ else if ( sLang == ByteString( UKRAINIAN_ISO ).ToUpperAscii()) ++ return UKRAINIAN; + else if ( sLang == ByteString( GREEK_ISO ).ToUpperAscii()) + return GREEK; + else if ( sLang == ByteString( DUTCH_ISO ).ToUpperAscii()) +@@ -279,6 +283,7 @@ + case ENGLISH_US_INDEX: return ENGLISH_US_ISO; + case PORTUGUESE_INDEX: return PORTUGUESE_ISO; + case RUSSIAN_INDEX: return RUSSIAN_ISO; ++ case UKRAINIAN_INDEX: return UKRAINIAN_ISO; + case GREEK_INDEX: return GREEK_ISO; + case DUTCH_INDEX: return DUTCH_ISO; + case FRENCH_INDEX: return FRENCH_ISO; +@@ -429,6 +434,7 @@ + "arabic", + "hebrew", + "catalan", ++ "ukrainian", + "thai", + "extern" + }; diff -ruN openoffice.orig/files/patch-transex3+source+gsiconv.cxx openoffice/files/patch-transex3+source+gsiconv.cxx --- openoffice.orig/files/patch-transex3+source+gsiconv.cxx Thu Jan 1 00:00:00 1970 +++ openoffice/files/patch-transex3+source+gsiconv.cxx Fri Feb 28 13:18:07 2003 @@ -0,0 +1,11 @@ +diff -ruN ../transex3/source/gsiconv.cxx ../transex3/source/gsiconv.cxx +--- ../transex3/source/gsiconv.cxx Mon Feb 24 17:45:55 2003 ++++ ../transex3/source/gsiconv.cxx Tue Feb 25 17:20:08 2003 +@@ -210,6 +210,7 @@ + fprintf( stdout, " 34 => SPANISH\n" ); + fprintf( stdout, " 35 => FINNISH\n" ); + fprintf( stdout, " 36 => HUNGARIAN\n" ); ++ fprintf( stdout, " 38 => UKRAINIAN\n" ); + fprintf( stdout, " 39 => ITALIAN\n" ); + fprintf( stdout, " 42 => CZECH\n" ); + fprintf( stdout, " 44 => ENGLISH (UK)\n" ); diff -ruN openoffice.orig/files/patch-transex3+source+merge.cxx openoffice/files/patch-transex3+source+merge.cxx --- openoffice.orig/files/patch-transex3+source+merge.cxx Thu Jan 1 00:00:00 1970 +++ openoffice/files/patch-transex3+source+merge.cxx Fri Feb 28 13:18:07 2003 @@ -0,0 +1,11 @@ +diff -ruN ../transex3/source/merge.cxx ../transex3/source/merge.cxx +--- ../transex3/source/merge.cxx Mon Feb 24 17:45:55 2003 ++++ ../transex3/source/merge.cxx Tue Feb 25 17:20:43 2003 +@@ -388,6 +388,7 @@ + case ENGLISH_US: return ENGLISH_US_INDEX; + case PORTUGUESE: return PORTUGUESE_INDEX; + case RUSSIAN: return RUSSIAN_INDEX; ++ case UKRAINIAN: return UKRAINIAN_INDEX; + case GREEK: return GREEK_INDEX; + case DUTCH: return DUTCH_INDEX; + case FRENCH: return FRENCH_INDEX; diff -ruN openoffice.orig/files/patch-vcl+unx+source+gdi+salcvt.cxx openoffice/files/patch-vcl+unx+source+gdi+salcvt.cxx --- openoffice.orig/files/patch-vcl+unx+source+gdi+salcvt.cxx Thu Jan 1 00:00:00 1970 +++ openoffice/files/patch-vcl+unx+source+gdi+salcvt.cxx Fri Feb 28 13:18:07 2003 @@ -0,0 +1,21 @@ +diff -ruN ../vcl/unx/source/gdi/salcvt.cxx ../vcl/unx/source/gdi/salcvt.cxx +--- ../vcl/unx/source/gdi/salcvt.cxx Mon Feb 24 17:46:21 2003 ++++ ../vcl/unx/source/gdi/salcvt.cxx Tue Feb 25 17:21:50 2003 +@@ -261,6 +261,17 @@ + || ( nChar >= 0x2500 && nChar <= 0x25a0 ); + break; + ++ case RTL_TEXTENCODING_KOI8_U: ++ bMatch = ( nChar >= 0x0020 && nChar <= 0x007e ) ++ || ( nChar >= 0x00a0 && nChar <= 0x00b7 ) ++ || ( nChar == 0x00f7 ) ++ || ( nChar >= 0x0401 && nChar <= 0x0491 ) ++ || ( nChar >= 0x2219 && nChar <= 0x221a ) ++ || ( nChar >= 0x2248 && nChar <= 0x2265 ) ++ || ( nChar >= 0x2320 && nChar <= 0x2321 ) ++ || ( nChar >= 0x2500 && nChar <= 0x25a0 ); ++ break; ++ + case RTL_TEXTENCODING_UNICODE: + bMatch = True; + break; diff -ruN openoffice.orig/files/patch-vcl+unx+source+gdi+xlfd_extd.cxx openoffice/files/patch-vcl+unx+source+gdi+xlfd_extd.cxx --- openoffice.orig/files/patch-vcl+unx+source+gdi+xlfd_extd.cxx Thu Jan 1 00:00:00 1970 +++ openoffice/files/patch-vcl+unx+source+gdi+xlfd_extd.cxx Fri Feb 28 13:18:07 2003 @@ -0,0 +1,11 @@ +diff -ruN ../vcl/unx/source/gdi/xlfd_extd.cxx ../vcl/unx/source/gdi/xlfd_extd.cxx +--- ../vcl/unx/source/gdi/xlfd_extd.cxx Mon Feb 24 17:46:21 2003 ++++ ../vcl/unx/source/gdi/xlfd_extd.cxx Tue Feb 25 17:22:26 2003 +@@ -205,6 +205,7 @@ + case RTL_TEXTENCODING_ISO_8859_15: + case RTL_TEXTENCODING_MS_1251: + case RTL_TEXTENCODING_KOI8_R: ++ case RTL_TEXTENCODING_KOI8_U: + case RTL_TEXTENCODING_JIS_X_0201: + if ( nLargestRange < 0x0080 ) + { >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302281416.h1SEGkL3081670>