Tiff Plugin compiles on openSUSE 10.2

vinay — Thu, 12/04/2008 - 15:35

The below information was provided by Charles Fuller. Thanks Charles for the information.

1. openSUSE required packages
-----------------------------
openSUSE has different names for packages, so here's the translation:
- "mozilla-dev": "mozilla-xulrunner181-devel". (Note that the package
qt3-devel is of no use since some of the required files are "dummy"
includes.)
- "pkg-config": "pkgconfig".
- "libgtk2.0-dev": "gtk2-devel"

2. Changes to Makefile
----------------------
Here is the version of "Makefile" for the 64-bit version of Firefox:

For the 32-bit version of Firefox, it should work if you replace all
occurrences of "lib64" with "lib" (but I haven't tested this). Note that
this depends on the version of Firefox, not the version of openSUSE
(since you can run 32-bit Firefox on 64-bit Linux).

3. Installation Instructions
----------------------------
a. If you get compilation or run-time errors, replace the version of
npunix.o supplied in the mozilla-tiff-plugin download with the version
active on your system.
b. Change "Makefile" as described in point (2).
c. Open a command prompt and navigate to the directory where the
unpacked set of files exists.
d. Type in "Make clean" and press enter.
e. Type in "Make" and press enter.You will probably receive two warnings
which can be ignored.
f. Type in "Make plugin" and press enter.
g. Type in "su -c checkinstall", and enter the password for "root".
(This creates an RPM package so that the software shows up in YAST.)
h. Follow the instructions from (g) to install the software.