dia - A gtk+ based Viseo-like GPLd diagram creation program ChangeLog

HOWTO


# Dia
# ===
# If you ever want to uninstall Dia, or clean up files from an old version
# before installing a new one, cd into the source directory, run
# 'make uninstall' (as root), remove the source directory, then remove
# the tarball.


# Dia 0.96.1
# ==========
# Prerequisites:
# intltool >= 0.21
# Perl
# pkg-config
# Glib >= 2.0.0
# GTK+ >= 2.0.0
# pango >= 1.1.5
# freetype
# libart-2.0
# If --enable-gnome is passed to configure:
#  libgnome-2.0
#  libgnomeui-2.0
# libxslt
# popt
# libpng
# gettext
# libxml2 >= 2.3.9
# zlib
# db2html (Slackware includes this in it's sgml-tools/linuxdoc-tools
#  packages)
# Python and PyGTK (if --with-python is passed to configure for the
#  python plugin)
# Experimental:
# cairo (pass --with-cairo)
# libgnomeprint (pass --with-gnomeprint)

cd
test -f installed/dia-0.96.1.tar.bz2 && mv installed/dia-0.96.1.tar.bz2 .
test ! -f dia-0.96.1.tar.bz2 &&
wget ftp://ftp.gnome.org/pub/gnome/sources/dia/0.96/dia-0.96.1.tar.bz2
mkdir -p -m 0700 src
cd src
test -d ./dia && rm -r ./dia
find -maxdepth 1 -type d -name "dia-*" -exec rm -r {} \;
tar xjvf ~/dia-0.96.1.tar.bz2
cd dia-0.96.1
test $UID = 0 && chown -R root:root .

## If make stops with an error like this:
# /usr/bin/ld: cannot find -lssl
## re-run it like this:
# make LDFLAGS=-L/usr/local/ssl/lib

# If you do have Python and PyGTK installed, pass --with-python to configure

./configure --enable-gnome --with-python
make
su -c "make install"

## If you try to run 'dia' and you get this:
# dia: error while loading shared libraries: libssl.so.0: cannot open shared
# object file: No such file or directory
## run it like this:
# LD_LIBRARY_PATH=/usr/local/ssl/lib dia

cd
mkdir -p -m 0700 installed
rm -f installed/dia-*.tar.* installed/dia.README
mv dia-0.96.1.tar.bz2 installed/

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


# Dia from Subversion
# ===================
# autoconf
# automake
# libtool
# intltool
# Perl
# iconv
# gettext
# pkg-config
# Pango >= 1.1.5
# freetype
# libart
# If --enable-gnome is passed to configure:
#  libgnome-2.0
#  libgnomeui-2.0
# GTK+
# libxslt
# popt
# libpng
# libxml2 >= 2.3.9
# zlib
# db2html (Slackware includes this in it's sgml-tools/linuxdoc-tools
#  packages)
# Python and PyGTK (if --with-python is passed to configure for the
#  python plugin)
# Experimental:
# cairo (pass --with-cairo)
# libgnomeprint (pass --with-gnomeprint)

cd ~/src
find -maxdepth 1 -type d -name "dia-*" -exec rm -r {} \;
test -d ./dia && ( cd dia ; svn update )
test ! -d ./dia &&
svn checkout http://svn.gnome.org/svn/dia/trunk dia
cd dia
test $UID = 0 && chown -R root:root .
chmod -R u+w .

## If make stops with an error like this:
# /usr/bin/ld: cannot find -lssl
## re-run it like this:
# make LDFLAGS=-L/usr/local/ssl/lib

# If you do have Python and PyGTK installed, pass --with-python to configure

./autogen.sh --enable-gnome
make
su -c "make install"

## If you try to run 'dia' and you get this:
# dia: error while loading shared libraries: libssl.so.0: cannot open shared
# object file: No such file or directory
## run it like this:
# LD_LIBRARY_PATH=/usr/local/ssl/lib dia

cd
mkdir -p -m 0700 installed
rm -f installed/dia-*.tar.*
echo "dia was installed from subversion into ~/src/dia" \
> ~/installed/dia.README

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2007-09-18 5:16pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]