clone 358202 -1
reassign -1 libcairo2-dev
retitle -1 libcairo2-dev: please put headers in standard location
severity -1 normal
submitter -1 !
thanks

libcairo2-dev has headers in /usr/include/cairo that
are referenced by itself and by other packages without
the cairo subdirectory thus forcing all programs directly
or indirectly (e.g. gtk) libcairo to include an 
-I/usr/include/cairo option.

This results in:

* long, unreadable compiler command lines
  (which could grow to long for some limited shells,
   and causes some people to hide the compiler
   command line from the user, which again
   make it unnecesarrily difficult to debug
   build problems.)
* breaking programs not using pkgconfig

Please consider to either (best persuading
upstream, otherwise in the Debian package only) to:

1) Move all header files to the place the compiler
   would look for them. (i.e. /usr/include)

2) Make the compiler look at the proper place,
   by changing all #include to <cairo/...>,
   telling all users of those file to include
   them that way and removing the -I from
   cairo.pc to catch all missign places.

In either case, there should finaly be no
-I in the .pc file. (Unless installed by a user
in his home directory, or things like that)

There are some cases when a -I option might
be necessary, like when upstream forgot to
include the version in the names of the 
headers when making an incompatible change
and a Debian package needs to allow installing
thus conflicting versions. libcairo does not
have any such excuse as far as I can see,
as there is only one cairo.h around.

Hochachtungsvoll,
        Bernhard R. Link


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to