ERROR: Slooooow dooooown... this page load was delayed.


graphite2 - Smart font system ChangeLog

HOWTO


# Graphite2 1.3.12
# ================
# Prerequisites:
# CMake
# Python >= 2.7
# FreeType

# Get it
cd
test -f installed/graphite2-1.3.12.tgz &&
mv -f installed/graphite2-1.3.12.tgz .
test ! -f graphite2-1.3.12.tgz &&
wget https://github.com/silnrsi/graphite/releases/download/1.3.12/\
graphite2-1.3.12.tgz

# Extract it
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "graphite2-*" -exec rm -r {} \;
tar xzvf ~/graphite2-1.3.12.tgz
cd graphite2-1.3.12
test $UID = 0 && chown -R root:root .

# Configure the build
mkdir build
cd build

# If you want to install it under prefix /usr instead, pass
# -DCMAKE_INSTALL_PREFIX=/usr

# Configure the build for 64-bit
test $(uname -m) = 'x86_64' && cmake -G "Unix Makefiles" -DLIB_SUFFIX=64 ..

# Configure the build for anything else
test $(uname -m) != 'x86_64' && cmake -G "Unix Makefiles" ..

# Build it
make

# Test the build
make test

# Become root to install it
su

# Install it
make install
ldconfig

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

# Become yourself again
exit

# Save the source for later
cd
mkdir -p -m 0700 installed
rm -f installed/graphite2-*.tgz
mv -f graphite2-1.3.12.tgz installed/


# If you ever want to uninstall Graphite2, this should do it:
cd
su
test -d src/graphite2-* && ( cd src/graphite2-* ; make uninstall )
rm -f /usr/local/bin/gr2fonttest
test -d /usr/local/include/graphite2 &&
rm -r /usr/local/include/graphite2
for libdir in /usr/local/lib /usr/local/lib64;
do
  test -d $libdir &&
   ( cd $libdir
     rm -f pkgconfig/graphite2.pc libgraphite2.* )
done
test -d /usr/local/share/graphite2 &&
rm -r /usr/local/share/graphite2
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "graphite2-*" -exec rm -r {} \;
rm -f ~/installed/graphite2-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2018-11-26 10:54am
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]