File: INSTALL

package info (click to toggle)
dfm 0.99.7-7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,440 kB
  • ctags: 903
  • sloc: ansic: 13,315; makefile: 357; tcl: 289; sh: 283; sed: 93
file content (48 lines) | stat: -rw-r--r-- 1,720 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
How to COMPILE and INSTALL DFM:
===============================

You need: a c-compiler, gtk+, libXpm, libXext, X11

In order to COMPILE make sure, that you are in the top of the DFM-hierarchy.
Now type:

./configure
make
make install

this installs dfm in /usr/local

===============================================================================
TIPS:
===============================================================================

You may use Imlib to load and scale the icons, but the result is very ugly so
this is disabled by default.

./configure --enable-imlib-icons

GTK-Imlib is used for the gtk dialogs if available (independent from this 
switch).
-------------------------------------------------------------------------------
You are able to set the CC and CFLAGS variables before executing the 
configure script, if needed: (bash)

CC=cc CFLAGS=-O2 ./configure
-------------------------------------------------------------------------------
To change the installation directory you can usr the --prefix option of
the configure script (default is /usr/local, see above)

./configure --prefix=/usr
-------------------------------------------------------------------------------
If you don't want to include debug information just type "make install-strip"
instead of "make install", or the CFLAGS without "-g" .
-------------------------------------------------------------------------------
There is a possiblity to have more Mac or Wps look. Use -D to define the look 
in the CFLAGS:

CFLAGS="-O2 -DLOOK_MAC" ./configure
or
CFLAGS="-O2 -DLOOK_WPS" ./configure

(Mac look provided by Peter Federighi <pfederighi@yahoo.com>)
-------------------------------------------------------------------------------