tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Packages that install/use private headers?



On Sat, Jul 13, 2013 at 12:11:56PM +0200, Rhialto wrote:
> I'm trying to update misc/calibre to the current version. Unfortunately
> this version uses private headers from qt4.
> 
> Of course it is *possible* to create a package that installs the private
> headers from a main package... but I find it rather distasteful. I
> looked at the headers in question and (of course) they warn against
> using them in strong words.
> 
> On the other hand, the package at hand uses those headers, has done so
> for a while, and is not planning to fix that; see
> https://bugs.launchpad.net/calibre/+bug/1094719 .
> 
> In the mean time I have my local version updated to the last one that
> compiles without using the private headers.
> 
> What to do?

Add the qt4 distfile to the distfiles for calibre, just extract the
necessary private qt4 headers and use them there. Then only the people
building calibre pay the price.
 Thomas


Home | Main Index | Thread Index | Old Index