diff options
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 53 |
1 files changed, 42 insertions, 11 deletions
@@ -1,7 +1,16 @@ | |||
1 | -- INSTALL for Fluxbox | 1 | = INSTALL for Fluxbox |
2 | |||
3 | == TL;DR Instructions | ||
4 | |||
5 | $ ./configure | ||
6 | $ make | ||
7 | |||
8 | and then as root | ||
9 | |||
10 | $ make install | ||
11 | |||
12 | == Compilation and Installation | ||
2 | 13 | ||
3 | Compilation and Installation: | ||
4 | -------------------------------- | ||
5 | The `configure' shell script attempts to guess correct values for | 14 | The `configure' shell script attempts to guess correct values for |
6 | various system-dependent variables used during compilation. It uses | 15 | various system-dependent variables used during compilation. It uses |
7 | those values to create a `Makefile' in each directory in the | 16 | those values to create a `Makefile' in each directory in the |
@@ -46,8 +55,8 @@ The simplest way to compile this package is: | |||
46 | a different kind of computer), type `make distclean'. | 55 | a different kind of computer), type `make distclean'. |
47 | 56 | ||
48 | 57 | ||
49 | Compilers and Options: | 58 | == Compilers and Options |
50 | ---------------------- | 59 | |
51 | Some systems require unusual options for compilation or linking that | 60 | Some systems require unusual options for compilation or linking that |
52 | the `configure' script does not know about. You can give `configure' | 61 | the `configure' script does not know about. You can give `configure' |
53 | initial values for variables by setting them in the environment. Using | 62 | initial values for variables by setting them in the environment. Using |
@@ -58,9 +67,35 @@ this: | |||
58 | Or on systems that have the `env' program, you can do it like this: | 67 | Or on systems that have the `env' program, you can do it like this: |
59 | env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure | 68 | env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure |
60 | 69 | ||
70 | === Cross-Compiler for Microsoft Windows: | ||
71 | |||
72 | You'll want mingw-cross-env installed, with libX11 and mingw-catgets built. | ||
73 | A configure line that works is: | ||
74 | |||
75 | $ ./configure \ | ||
76 | --prefix=/ \ | ||
77 | --host=i686-pc-mingw32 \ | ||
78 | --disable-imlib2 \ | ||
79 | --disable-xmb \ | ||
80 | --disable-slit \ | ||
81 | --disable-remember \ | ||
82 | --disable-toolbar \ | ||
83 | --disable-fribidi \ | ||
84 | --disable-nls \ | ||
85 | --disable-xft \ | ||
86 | LIBS="-lxcb -lXdmcp -lXau -lpthread -lws2_32" | ||
87 | |||
88 | Then, build and install with | ||
89 | |||
90 | $ make install DESTDIR=$(pwd)/stage | ||
91 | |||
92 | You can then copy the whole "stage" directory to a Windows machine and | ||
93 | run it on your choice of X server. | ||
94 | |||
95 | |||
96 | |||
97 | == Optional Features | ||
61 | 98 | ||
62 | Optional Features: | ||
63 | ------------------ | ||
64 | Fluxbox supports the XShape extension of X11R6. This support is enabled by | 99 | Fluxbox supports the XShape extension of X11R6. This support is enabled by |
65 | default, but may be overridden by specifying `--disable-shape' on the configure | 100 | default, but may be overridden by specifying `--disable-shape' on the configure |
66 | script's command line. | 101 | script's command line. |
@@ -84,7 +119,3 @@ automatically, but if it doesn't, you can use the `configure' | |||
84 | options `--x-includes=DIR' and `--x-libraries=DIR' to specify | 119 | options `--x-includes=DIR' and `--x-libraries=DIR' to specify |
85 | their locations. | 120 | their locations. |
86 | 121 | ||
87 | |||
88 | Please read the README file also. | ||
89 | |||
90 | |||