MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« Python module LXML HOME Python module Editables »

ITS Tool

Name: ITS Tool
Summary: A tool that converts XML documents to PO and MO to create translated XML files using the W3C ITS.
License: GPL v3.0 or later
Version: 2.0.7
URL: https://github.com/itstool/itstool/archive/refs/tags/2.0.7.tar.gz

Average Build Time: SBU
Used Install Space:

Compilation and Installation

To compile $PKG_FULL_NAME, run the following command:

patch -Np1 -i ../patches/itstool/itstool-2.0.7-regular-expressions-quoting-bug.patch
patch -Np1 -i ../patches/itstool/itstool-2.0.7-lxml-1.patch
PYTHON=/usr/bin/python3 ./autogen.sh --prefix=/usr
make

Finally, to install $PKG_FULL_NAME into the build tree, run the following command:

make install

Contents

Contents  
Installed Programs itstool
Navigation    
« Python module LXML HOME Python module Editables »