Package: gnumeric
Version: 1.12.6-2

The Gnumeric package in Debian lacks the development files needed for
out-of-tree plugin development. Specifically, the following include
and pkg-config files are needed if you want to compile a Gnumeric
plugin which is not included in the Gnumeric source itself:

/usr/include/libspreadsheet-*/spreadsheet
/usr/lib/pkgconfig/libspreadsheet-*.pc

Apparently these files have been excluded from the Debian packages
since the libspreadsheet API was not considered stable enough. But
this isn't true anymore; the plugin API has remained virtually
unchanged for years and in fact has survived the recent major shift to
GTK3 in the 1.12 stable series. It is thus in practice more stable
than most supposedly stable APIs will ever be.

These files are *mandatory* for Gnumeric plugin development. Excluding
them from Debian is a major impediment for 3rd party plugin
developers, especially if they want to package their plugins for
Debian and derivatives.

I'd suggest providing the development files in a separate gnumeric-dev
package. This is easy to achieve. The following
debian/gnumeric-dev.install file needs to be added:

/usr/include/libspreadsheet-*/spreadsheet
/usr/lib/pkgconfig/libspreadsheet-*.pc

In addition, the gnumeric-dev package needs to be added to the control
file. Something like the following will do:

Package: gnumeric-dev
Architecture: any
Depends: gnumeric (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends},
 libgoffice-0.10-dev
Replaces: gnumeric (<= 1.2.6-1)
Description: spreadsheet application for GNOME - development files
 Gnumeric is a spreadsheet application that interoperates well
 with other spreadsheets. It comes with plugins that enable it to deal with
 commonly used spreadsheet file formats.
 .
 This package contains the headers and libraries needed for developing
 gnumeric plugins.

-- 
Dr. Albert Gr"af
Dept. of Music-Informatics, University of Mainz, Germany
Email:  aggr...@gmail.com
WWW:    https://plus.google.com/111193356966611167754


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to