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 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
|
Building the foomatic-filters-ppds package
------------------------------------------
The foomatic-filters-ppds package is a simple way to use Foomatic
Till Kamppeter <till.kamppeter@gmx.net>
http://www.linuxprinting.org/
Introduction
------------
This package is intended to be a complete but simplified version of
Foomatic which does not need any compilation of C programs nor any Perl
libraries except the standard ones coming with the Perl
interpreter. Also "make" is not needed to use this package.
This file describes how to build the package.
What is required
----------------
You need at least
foomatic-db-engine
foomatic-filter
foomatic-db
To include support for HPIJS
foomatic-db-hpijs
To include support for Gimp-Print
Gimp-Print from http://gimp-print.sf.net/
To include support for Omni
Omni from
http://www-124.ibm.com/developerworks/oss/linux/projects/omni/
How to build
------------
Uncompress all foomatic packages in one directory:
tar -xvzf foomatic-db-engine*.tar.gz
tar -xvzf foomatic-filters*.tar.gz
tar -xvzf foomatic-db*.tar.gz
Build the packages:
cd foomatic-filters*
make_configure # (only if you downloaded from CVS)
./configure
make inplace
cd ..
cd foomatic-db-engine*
make_configure # (only if you downloaded from CVS)
./configure
make inplace
cd ..
Add support for HPIJS (optional):
tar -xvzf foomatic-db-hoijs*.tar.gz
cd foomatic-db-hoijs*
make_configure # (only if you downloaded from CVS)
./configure
make inplace
cd ../foomatic-db-engine*
./foomatic-kitload -f -k ../foomatic-db-hoijs*/db/source/
cd ..
Add support for Gimp-Print (optional, <...> is the Gimp-Print source
code directory):
cd foomatic-db-engine*
./foomatic-kitload -f -k <...>/src/foomatic/foomatic-db/gimp-print
./foomatic-kitload -f -k <...>/src/foomatic/foomatic-db/gimp-print-ijs
cd ..
Add support for Omni (optional):
cd foomatic-db-engine*
export PATH=$PATH:/opt/Omni/bin
/opt/Omni/bin/OmniFoomaticGenerator
./foomatic-kitload -k foomatic-db/db/source
cd ..
Exclude unwished drivers or printers from being packaged by deleting
their XML files:
cd foomatic-db*/db/source
rm -f driver/hpdj.xml
rm -f driver/stp.xml
rm -f driver/lxm3200?.xml
rm -f driver/lxm3200.xml
...
cd ../../..
Clean up:
cd foomatic-db-engine*
./foomatic-cleanupdrivers
./foomatic-preferred-driver
Now build the complete package:
make filters-ppds
This will take some time for getting all PPD files built, as result
one gets a tarball with a name like
foomatic-filters-ppds*.tar,gz
This is the ready-to-use package. Read its README file to know how to
use it.
|