fixed dia_image_rgb_data() for non-alpha images
[dia.git] / INSTALL
blobc209b97e0470ec7803a32c44f52a6d4f49138944
1 REQUIREMENTS:
2 =============
4 Dia needs Gtk+ at least version 1.2.0 installed.
5 It can be found at:
7 ftp://ftp.gtk.org/pub/gtk/v1.2/
9 Binaries available at:
10   ftp://ftp.gtk.org/pub/gtk/binary/devel/RPMS/
12   ftp://ftp.gtk.org/pub/gtk/binary/devel/DEBIAN/
14 As of version 0.30 Dia also needs libxml (aka gnome-xml). I recommend you
15 get a fairly recent version, but not version 1.8.0.  It can be found here:
16   ftp://ftp.gnome.org/pub/GNOME/stable/sources/gnome-xml/
18 As of version 0.40 Dia needs gdk_imlib, at least version 1.8.2.
19 It can be found here:
20   ftp://ftp.gnome.org/pub/GNOME/stable/sources/imlib/
22 As of version 0.86, Dia requires either gdk_imlib (version 1.8.2 or newer)
23 or gdk-pixbuf (version 0.7.0 or newer).  Older versions of Dia used
24 gdk_imlib only.  Gdk_imlib will probably be phased out after a while.
25 Gdk-pixbuf can be found here:
26   ftp://ftp.gnome.org/pub/GNOME/unstable/sources/gdk-pixbuf/
27 Gdk_imlib can be found here:
28   ftp://ftp.gnome.org/pub/GNOME/stable/sources/imlib/
30 BUILDING:
31 =========
33 To build, run:
35  ./configure
36  make
38 PLATFORM NOTES:
39 ===============
41 AFS
42         The fact that you on AFS can make hard links within, but not
43         between directories might cause problems due to a bug in
44         libtool (at least som versions). 
45         What happens is that messages like
46                 Waiting for arc.o.lock to be removed
47         repeats themselves during compliation.
49         A couple of work arounds are
50         available: Run configure with the flag
51         --disable-libtool-lock. This might break parallel builds
52         though. Another (uglier) fix is to hack the libtool script
53         generated by configure. Change the line:
55           until ln "$0" "$lockfile" 2>/dev/null; do
57         to
59           until ln "$srcfile" "$lockfile" 2>/dev/null; do
62 COMPILING FROM CVS:
63 ===================
65 If you are using the cvs version of Dia you need to have the following programs:
66 automake 1.4, autoconf 2.13, libtool 1.3, GNU gettext 0.10.38
68 Then run ./autogen.sh instead of configure to create all needed files.
70 WARNING: if you run ./autogen.sh, you will need to have gettext
71 0.10.38 installed, or to extract a few M4 files from that package and
72 include them manually into aclocal.m4.
74 TRYING IT OUT:
75 ==============
77 You can try out dia in the compilation directory by running
78  ./app/run_dia.sh
80 INSTALL:
81 ========
82 install it by doing:
84  make install
86 By default Dia is installed in /usr/local.
87 You can change that by passing --prefix=/some/dir to configure.
90 FONTS:
91 ======
92 I recommend that you install the URW fonts if you haven't already.
93 They are free scalable version of the standard postscript fonts.
95 Information and files can be found at:
97  http://www.gimp.org/fonts.html