[gs-devel] Adding new output devices to configure.ac so that "--with-drivers=ALL" builds them

Till Kamppeter till.kamppeter at gmail.com
Fri May 18 07:55:12 PDT 2007


Hi,

one nice piece which the merger brings into GPL Ghostscript is the 
"--with-drivers" option for "./configure" which allows easy selection of 
the drivers to be built in.

I am trying to make "--with-drivers=ALL" do its work the best way 
possible, building in all drivers which make sense on Unix-style 
operating systems.

Unfortunately, some have problems because they are either in an 
experimental state or so rarely built in so that they do not get enough 
testing (the regression testing scripts should compile Ghostscript with 
the "--with-drivers=ALL" option, to avoid build/API change regression 
bugs). The output devices are the following:


perm
----

Here one file seems to declare something twice.

./src/gdevperm.c:291: error: conflicting types for 
‘perm_get_color_comp_index’
./src/gdevperm.c:44: error: previous declaration of 
‘perm_get_color_comp_index’ was here


pnga
----

This looks like that Ghostscripts internal API has changed but this file 
was forgotten to be adapted to the changes.

./src/gdevpnga.c: In function ‘pdf14_pop_transparency_group’:
./src/gdevpnga.c:557: error: too few arguments to function 
‘art_pdf_composite_group_8’
./src/gdevpnga.c:563: error: too few arguments to function 
‘art_pdf_recomposite_group_8’
./src/gdevpnga.c: In function ‘pnga_output_page’:
./src/gdevpnga.c:635: warning: unused variable ‘depth’
./src/gdevpnga.c: In function ‘pnga_mark_fill_rectangle’:
./src/gdevpnga.c:1050: error: too few arguments to function 
‘art_pdf_composite_pixel_alpha_8’
make: *** [obj/gdevpnga.o] Error 1


rinkj
-----

./src/gdevrinkj.c:217: warning: initialization makes integer from 
pointer without a cast
./src/gdevrinkj.c:218: warning: initialization makes pointer from 
integer without a cast
./src/gdevrinkj.c:219: warning: braces around scalar initializer
./src/gdevrinkj.c:219: warning: (near initialization for 
‘gs_rinkj_device.num_std_colorant_names’)
./src/gdevrinkj.c:761: error: conflicting types for 
‘rinkj_get_color_comp_index’
./src/gdevrinkj.c:47: error: previous declaration of 
‘rinkj_get_color_comp_index’ was here
./src/gdevrinkj.c: In function ‘rinkj_set_luts’:
./src/gdevrinkj.c:904: warning: assignment discards qualifiers from 
pointer target type
./src/gdevrinkj.c: In function ‘rinkj_init’:
./src/gdevrinkj.c:954: warning: assignment discards qualifiers from 
pointer target type
./src/gdevrinkj.c: In function ‘rinkj_write_image_data’:
./src/gdevrinkj.c:1004: warning: pointer targets in assignment differ in 
signedness


gdevbig2, jpxcmyk, jpxgray, jpxrgb
----------------------------------

These once use src/sjbig2_luratech.h and src/sjpx_luratech.h and these 
two headers include lwf_jp2.h and ldf_jb2.h which are neither included 
in Ghostscript nor in the standard Ubuntu Gutsy installation. It seems 
that these are from external libraries. Where can I find these 
libraries? Are they free software? For which operating systems are they 
available?

With the last SVN commit (rev7986) "--with-drivers=ALL" includes the 
following additional devices:

bitrgbtags, imdi, jpegcmyk, ps2write, tiff32nc, tiffgray, tiffsep, 
wtscmyk, wtsimdi, x11rg16x, x11rg32x

    Till



More information about the gs-devel mailing list