2006-04-26 14:50:08 +00:00
|
|
|
1 Installation
|
|
|
|
**************
|
2003-09-01 23:15:50 +00:00
|
|
|
|
2006-04-26 14:50:08 +00:00
|
|
|
1.1 Introduction
|
|
|
|
================
|
2003-09-01 23:15:50 +00:00
|
|
|
|
2004-07-10 03:23:44 +00:00
|
|
|
This file documents the installation of the GNUstep Backend Library,
|
2017-04-03 23:29:02 +00:00
|
|
|
'gnustep-back'. If you are installing this package as part of the
|
2003-09-01 23:15:50 +00:00
|
|
|
GNUstep core package, read the file GNUstep-HOWTO for more complete
|
|
|
|
instructions on how to install the entire GNUstep package (including
|
2017-04-03 23:29:02 +00:00
|
|
|
this library). GNUstep-HOWTO is located at <http://www.gnustep.org>
|
2003-09-01 23:15:50 +00:00
|
|
|
|
|
|
|
You must have installed gnustep-gui before installing this library.
|
|
|
|
|
2006-04-26 14:50:08 +00:00
|
|
|
1.2 Configuration
|
|
|
|
=================
|
2003-09-01 23:15:50 +00:00
|
|
|
|
2017-04-03 23:29:02 +00:00
|
|
|
Configuration is performed by running the 'configure' program at a shell
|
|
|
|
prompt. You may want to use some of the optional arguments to the
|
|
|
|
'configure' program. Type 'configure --help' for a list. GNUstep
|
2003-09-01 23:15:50 +00:00
|
|
|
specific options are at the end of this list (if any).
|
|
|
|
|
|
|
|
The backend comes with several different window server and graphics
|
2017-04-03 23:29:02 +00:00
|
|
|
drawing implementations. If you do nothing, the default ones will be
|
|
|
|
chosen. You can can change this using configure. For instance, to
|
2003-09-01 23:15:50 +00:00
|
|
|
choose the art graphical drawing implementation, run
|
|
|
|
|
|
|
|
configure --enable-graphics=art
|
|
|
|
|
2017-04-03 23:29:02 +00:00
|
|
|
Type 'configure --help' for a list of graphical drawing
|
2003-09-01 23:15:50 +00:00
|
|
|
implementations.
|
|
|
|
|
|
|
|
You can also change the name of the backend when configuring it.
|
|
|
|
This is convienient if you want to have a different backend with
|
2017-04-03 23:29:02 +00:00
|
|
|
different configurations. For instance, to create an xlib and and art
|
2003-09-01 23:15:50 +00:00
|
|
|
backend, you could do this:
|
|
|
|
|
|
|
|
configure --enable-graphics=xlib --with-name=xlib
|
|
|
|
make install
|
2006-04-26 14:50:08 +00:00
|
|
|
|
2003-09-01 23:15:50 +00:00
|
|
|
make distclean
|
|
|
|
configure --enable-graphics=art --with-name=art
|
|
|
|
make install
|
|
|
|
|
|
|
|
Before running an application, choose one backend using the defaults
|
|
|
|
program:
|
|
|
|
|
|
|
|
defaults write NSGlobalDomain GSBackend libgnustep-xlib
|
|
|
|
|
2006-04-26 14:50:08 +00:00
|
|
|
1.3 Compilation
|
|
|
|
===============
|
2003-09-01 23:15:50 +00:00
|
|
|
|
2017-04-03 23:29:02 +00:00
|
|
|
To compile this library, type make. After this is complete, type make
|
|
|
|
install (make sure you are the root user). Some additional options you
|
|
|
|
can use with make are 'debug=yes' to make a debugging version of the
|
|
|
|
library and 'shared=no' to make a static version of the library. See
|
2003-09-01 23:15:50 +00:00
|
|
|
the gstep-make package for more information on these options.
|
|
|
|
|
2006-04-26 14:50:08 +00:00
|
|
|
1.4 Installing
|
|
|
|
==============
|
2003-09-01 23:15:50 +00:00
|
|
|
|
2004-07-10 03:23:44 +00:00
|
|
|
To install, type
|
2003-09-01 23:15:50 +00:00
|
|
|
|
|
|
|
make install
|
|
|
|
|