![]() |
Series: XFree86OS/2 Author: Christian Hennecke Homepage: The OS2files Last revision: 17.08.2001 |
+ Installation of Xfree86OS/2 + Installation - Christian Hennecke + Why use XFree86OS/2? + Tips and Requirements + The Gimp + Enlightenment + Gnome, ICE, Gimp, tools |
| Last update: Friday, 17 Aug 2001 10:46:00pm | Deutsch printable version |
The GIMP is a software package that has been ported from Un*x. It also uses the GIMP toolkit (GTK) for its graphical user interface. As a result, it requires emx 0.9d fix 3 or later and XFree86/OS2 (or another X server like Exceed or HOBLink X11) to run. This site also contains an extensive installation guide for XFree86/OS2, as for emx please refer to the included, well-written installation manual. For XFree86/OS2 an accelerated X server that is capable of 16 bit to 32 bit color depths is highly recommened. Note that the XSVGA server does contain excellent acceleration support for some cards, e.g. Matrox ones. If you want to make use of True Type fonts, you will need to run a special font server or use the GIMP Freetype plug-in.
GIMP runs on Warp 3 with Fixpak 17 or later, Warp 4 with Fixpak 5 or later and WSeB. You will also need quite a lot of RAM, as always if you want to do serious image processing. Try 64MB for a start.
The GIMP distribution comes in several archives that can be obtained from http://birdy.hpage.net. You will also need several basic libraries for GIMP to work, which you can also download from there. (In case you wonder why: These are libraries that are installed by default on most Linux systems, so it's only natural to use them.) The GIMP Freetype plug-in is available from the files section of the GIMP/2 mailing list at Yahoogroups: http://groups.yahoo.com/group/gimp-os2
The version number mentioned below were the latest available at the point of the release of The GIMP 1.2.1. Don't hesitate to download archives with higher numbering.
Mandatory files
Optional files
Note: Depending on where you download the archives, names can be different. birdy.hpage.net offers DLL-only archives that can save you some time if you are not a developer.
Mandatory files
Optional, but highly recommened files
Optional files
In the following it is assumed that you have emx and XFree86/OS2 correctly set up. Installation is pretty straightforward.
SET EMXOPT=-h1024Note that the parameter is case-sensitive!
unzip *zip -d e:\WARNING: If you don't use the DLL-only library archives from birdy.hpage.net, chances are that those archives' directories start below the \XFree86 directory. In this case place those files in another temporary directory and enter the following to unpack them:
unzip *zip -d e:\XFree86
bzip2 -d gimp-freetype.exe.bzand copy the resulting executable to the \XFree86\lib\X11\.gimp-1.2\plug-ins directory.
SET SANE_CONFIG_DIR=e:\home\os2user\.saneThe library LIBSANE.DLL needs to be in your PATH for xscanimage to find it and it needs a configuration file DLL.CONF in the configuration directory mentioned above that depending on your scanner must (or doesn't need to) explicitely point to its address, i.e. b1t6l0 if the scanner is on bus 1, has SCSI-ID 6 and LUN 0. If you need further help, try the mailing list at Yahoogroups: http://groups.yahoo.com/group/sane-os2.
To find out which DLL is missing, change to the E:\XFree86\lib\X11\.gimp-1.2\plug-ins directory and start the offending plug-in from the command-line. You should see a message of the following kind:
SYS1804: File GIMP1130 not found.So the missing file is GIMP1130.DLL. If the plug-in should require additional missing DLLs, you will have to repeat this step after having made available the previously missed DLL. You can save a lot of time by using the tool "ldd" that is capable of finding out all DLLs a program requires and of detecting if they can be loaded correctly.
Congratulations, you have finished your part of the GIMP installation. Now start XFree86/OS2, open a shell terminal and type:
gimp121Now GIMP should start up and initialize. It's a good idea to copy or rename gimp121.exe to gimp.exe, so other programs can find it. Just make sure you don't forget to repeat this for the next version you install!
Like other GTK applications GIMP is capable of using GTK themes. However, there are some differences. By default, GIMP only uses some of the elements of themes. Certain images, for instance, are usually ignored. This can be quite useful, since some themes can make GIMP's icons unreadable. To make GIMP use GTK themes like any other GTK app, shut it down, copy your .gtkrc file from your HOME directory to \XFree86\lib\X11\.gimp-1.2 and rename it as gtkrc (note the missing dot?). Now fire up GIMP and see what has changed.
WARNING: Themes are very demanding of your hardware. Be sure to have at least 128MB RAM if you want to use them and still be able to edit some larger images. Moreover, due to the client-server architecture of XFree86, themes create a lot of additional network traffic. This will result in extremely prolonged startup times and slow operation through the bank if you use HOBLink X11 or Exceed as X server on your local machine, or you run GIMP on a remote machine.
If it still doesn't work, you think that you've discovered a bug, or you just want to say thankyou to the people who ported the package there is a mailing list for GIMP on OS/2 at Yahoogroups: http://groups.yahoo.com/group/gimp-os2.