Discussion:
[libdvdcss-devel] Faulty include path in libdvdcss.pc
Fabian Greffrath
2012-01-25 09:41:58 UTC
Permalink
Hi all,

the pkg-config file for libdvdcss, which gets installed into e.g.
/usr/lib/pkgconfig/libdvdcss.pc, contains the following line:

Cflags: -I{includedir} -I${includedir}/libdvdcss

whereas the dvdcss.h header file gets actually installed into
/usr/include/dvdcss/ (i.e. dvdcss instead of libdvdcss).

This is due to the src/libdvdcss.pc.in file including the line

Cflags: -I{includedir} -I${includedir}/@PACKAGE@

and @PACKAGE@ being set to "libdvdcss" in configure due to

AM_INIT_AUTOMAKE(libdvdcss, 1.2.11)

in configure.ac.

Apparently this has never caused any real breakage anywhere but would
be nice to have fixed anyway.

Best Regards,
Fabian Greffrath
Reimar Döffinger
2012-01-25 18:09:36 UTC
Permalink
Post by Fabian Greffrath
Hi all,
the pkg-config file for libdvdcss, which gets installed into e.g.
Cflags: -I{includedir} -I${includedir}/libdvdcss
whereas the dvdcss.h header file gets actually installed into
/usr/include/dvdcss/ (i.e. dvdcss instead of libdvdcss).
This is due to the src/libdvdcss.pc.in file including the line
AM_INIT_AUTOMAKE(libdvdcss, 1.2.11)
in configure.ac.
Apparently this has never caused any real breakage anywhere but
would be nice to have fixed anyway.
I think that the headers are supposed to be
included as dvdcss/..., so if there is anything to fix
it would be to remove the -I${includedir}/@PACKAGE
part I think.

Kind regards,
Reimar Döffinger

Loading...