Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 1.36 KB

ReadMe.md

File metadata and controls

49 lines (29 loc) · 1.36 KB

Encoding Converters Core

See also ReadMe_linux.txt and ReadMe_windows.txt.

These are the main encoding converters used by Fieldworks and SIL Converters to transform language data. The converters are mainly used to change character encoding. Encoding converters in this package include IcuRegEx, IcuTransliterator, TecKit, Perl, Python, and CC

The NuGet package https://www.nuget.org/packages/Encoding-Converters-Core/ is built from this repository.

Build Encoding Converters Core

In Ubuntu Linux,

Setup

Add packages.sil.org repository by following instructions at https://packages.sil.org/ .

Install build dependencies.

sudo apt-get install automake g++ python-dev libicu-dev mono5-sil icu-dev-fw libteckit-dev

First build

(. environ && ./autogen.sh && make)

Subsequent builds

(. environ && make)

Test

# Optionally use non-global common dir
export EC_COMMON_APPLICATION_DATA_PATH="$(pwd)/ec-common"
export MONO_REGISTRY_PATH="${EC_COMMON_APPLICATION_DATA_PATH}/registry"

(. environ && mono output/Debug/RunTests.exe)

In Windows,

  1. Open EncConverters 2015.sln in Visual Studio Community 2015.
  • Choose Build > Build Solution.

Build NuGet packages

To build new packages:

  1. Run a release build for both 32 and 64bit
  2. Increase the version in Package.nuspec
  3. Run 'nuget.exe pack' from the root directory of the repository