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

Re: Request for a DFB version of libcairo2

On 6/9/06, Sven Luther <sven.luther@wanadoo.fr> wrote:
On Thu, Jun 08, 2006 at 11:20:37PM +0200, Davide Viti wrote:
> On Fri, Jun 09, 2006 at 12:10:41AM +0300, Eddy Petrişor wrote:
> > Hmm, thining again at the problem...
> > We are using now the same source for building the -directfb and the
> > regular cairo, right?
> yes
> > The compilation of the libs is made from exactly the same code, but is
> > just configured differently, right?
> yes
> > If that is true, then the headers should not be different and the
> > information in the pc can point to the two cairo libs which will be in
> > /usr/lib/ no problems.
> there will be two pc files:
> cairo.pc (already created)
> cairo-directfb.pc - this can be created inside debian anc copied in the right
> place via debian/libcairo2-directfb-dev.install with a line like
> debian/cairo-directfb.pc /usr/lib/pkgconfig
> the same way it's done in the gtk+2.0-directfb package

Could we not include both of them in the same -dev package ?

Indeed, there is no need for two -dev packages, is there? Only two pc
files and two libs, right?

The only difference between the pc files would be the Libs: line,
which brings us (somewhat) back to the original point that gtk will
have to be patched to use the cairo-direcfb.pc file while there can be
only one -dev package:

So, this line
Libs:  -L${libdir} -lcairo

will look like
Libs:  -L${libdir} -lcairo-directfb

for the cairo-directfb.pc file.

"Imagination is more important than knowledge" A.Einstein

Reply to: