log4shib and pkg-config

Ferenc Wágner wferi at niif.hu
Tue Jun 21 09:33:28 UTC 2016


Hi Scott,

The log4shib library (just like log4cpp) provides both an old style
log4shib-config script and the more modern pkg-config file log4shib.pc.
As old style config scripts are obsolete and stand in the way of the
multi-arch effort (coinstallable packages can't contain them), I'd like
to stop shipping it in the Debian package.  I've already rebuilt
xmltooling and opensaml2 using pkg-config discovery for log4shib (and
log4cpp): all went well.  You can find an example patch below.  It does
not care to build test programs, but relies on the pkg-config interface
only.  Would you consider incorporating such changes into xmltooling,
opensaml2 and shibboleth-sp2?  Should the Autoconf tests involve actual
builds, like your current solution via log4shib-config?  Anything else
you'd prefer to have some other way?  It would be possible to eliminate
XMLTOOLING_LOG4SHIB and friends, or to keep changing CFLAGS and LIBS
instead of augmenting them where necessary, or to hide the log4shib/
log4cpp duality into further defines/variables.
-- 
Thanks,
Feri

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmltooling.patch
Type: text/x-diff
Size: 4056 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-shibboleth-devel/attachments/20160621/d1aeffa8/attachment.patch>


More information about the Pkg-shibboleth-devel mailing list