Linux HOWTOs

About | Home | Search


HOWTO: fribidi
Description: A free implementation of the Unicode Bidirectional Algorithm (BiDi)
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# GNU FriBidi 0.10.9
# ==================
# Apps that I know of that use fribidi: abiword, dvdauthor
# For a list of others go here

# Slackware 9.1, 10.0, and 10.1's 'abiword' packages include FriBidi version
# 0.10.4, 10.2's includes 0.10.5, and 11.0 and 12.0's include 0.10.7

# Prerequisites:
# pkg-config

cd
test -f installed/fribidi-0.10.9.tar.gz &&
 mv installed/fribidi-0.10.9.tar.gz .
test ! -f fribidi-0.10.9.tar.gz &&
 wget http://fribidi.org/download/fribidi-0.10.9.tar.gz

# Verify tarball w/ md5sum:
echo "647aee89079b056269ff0918dc1c6d28  fribidi-0.10.9.tar.gz" | md5sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "fribidi-*" -exec rm -r {} \;
tar xzvf ~/fribidi-0.10.9.tar.gz
cd fribidi-0.10.9
test $UID = 0 && chown -R root:root .
./configure
make
make check

# Become root to install it
su

# Remove old library files, install it
rm -f /usr/local/lib/libfribidi.*
make install
ldconfig

# Make sure your non-root user can remove the source later
chown -R $USER .
chmod -R u+w .

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/fribidi-*.tar.*
mv fribidi-0.10.9.tar.gz installed/

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>