Linux HOWTOs

About | Home | Search


HOWTO: gfax
Description: Gnome front end to fax programs
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


# GFAX
# ====
# I include the latest stable and development releases below.  If you use
# recent versions of mono, gnome, etc., you'll probably want to go with
# the development version.

# As I write this, I am unable to build either version with mono 1.0.10 and
# Gtk# 1.0.10 and 2.4.0 installed.


# gfax 0.7.3-1
# ============
# Prerequisites:
# gawk
# grep
# intltool >= 0.25
# perl
# iconv
# gettext
# sed
# gconf
# pkg-config
# mono
# gtk#
# dbus-sharp (dbus with GTK# support; optional)
# gnome 2.x
# HylaFAX

cd
test -f installed/gfax-0.7.3-1.tar.gz && mv installed/gfax-0.7.3-1.tar.gz .
test ! -f gfax-0.7.3-1.tar.gz &&
 wget http://gfax.cowlug.org/gfax-0.7.3-1.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "gfax-*" -exec rm -r {} \;
tar xzvf ~/gfax-0.7.3-1.tar.gz
mv gfax gfax-0.7.3-1
cd gfax-0.7.3-1
test $UID = 0 && chown -R root:root .

# Fix detection of the version of gnomeprint that you have installed.  Without
# the '-' the configure test finds two files (if you have libgnomeprint and
# libgnomeprintui installed) which screws up the test.
cat configure.in | sed 's/grep libgnomeprint/grep libgnomeprint-/' \
 > configure.in.new
test -s configure.in.new &&
 ( mv -f configure.in configure.in.orig
   mv -f configure.in.new configure.in )
autoreconf -f -i

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
make
su -c "make install"
cd
mkdir -p -m 0700 installed
rm -f installed/gfax-*.tar.*
mv gfax-0.7.3-1.tar.gz installed/

# /usr/share/pixmaps/gfax.png can be used as a desktop icon

# Because I use KDE, I guess, I have to run gfax like so:
# gconftool-2 --spawn ; gfax


# gfax 074-devel-051223
# =====================
# Prerequisites:
# gawk
# grep
# intltool >= 0.25
# perl
# iconv
# gettext
# sed
# gconf
# pkg-config
# mono
# Gtk# (gtk-sharp) 2.x
# dbus-sharp (dbus with GTK# support; optional)
# gnome 2.x
# HylaFAX
# evolution-sharp

# Install/update the XML::Parser perl module:
su -c "perl -MCPAN -e shell"
o conf make_install_arg UNINST=1
o conf prerequisites_policy follow
install Bundle::CPAN
install XML::Parser
exit

cd
test -f installed/gfax-074-devel-051223.tar.gz &&
 mv installed/gfax-074-devel-051223.tar.gz .
test ! -f gfax-074-devel-051223.tar.gz &&
 wget http://gfax.cowlug.org/gfax-074-devel-051223.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "gfax-*" -exec rm -r {} \;
tar xzvf ~/gfax-074-devel-051223.tar.gz
cd gfax-0.7.4
test $UID = 0 && chown -R root:root .

# Patch it to fix detection of the version of libgnomeprint that you have
# installed.  As it is now, it will fine libgnomeprint and libgnomeprintui,
# which screws up the test.  This will look for libgnomeprint-2.2, so if
# you have libgnomeprint-2.0 installed, either fix the patch or see what
# the other version does above.
wget -nc http://englanders.cc/pub/linux/patches/gfax-074-lgp.patch &&
 patch -p0 < gfax-074-lgp.patch
autoreconf -f -i

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib

# Become root to build and install it
# (normally we'd do this after make, but gconfsharp-schemagen needs to be
# root)
su

make
make install

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/gfax-*.tar.*
mv gfax-074-devel-051223.tar.gz installed/

# /usr/share/pixmaps/gfax.png can be used as a desktop icon

Back to the list


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