Bill Allombert on Tue, 01 Aug 2023 19:26:43 +0200


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

Re: [PATCH 0/1 v2] use fltk's CXXFLAGS when looking for it


On Tue, Aug 01, 2023 at 12:35:41PM -0400, Michael Orlitzky wrote:
> On Tue, 2023-08-01 at 18:29 +0200, Bill Allombert wrote:
> > 
> > Thanks, but PARI is not using FLTK_CXXFLAGS when actually compiling plotfltk.c,
> > so I do not see how this patch is useful ?
> > 
> > You probably need to change in config/Makefile.SH the lines
> > fltk)
> >   PLOTCFLAGS=
> > to add FLTK_CXXFLAGS 
> > 
> 
> Ah, right. We already have another patch (next on my TODO list) that
> does that,
> 
> https://gitweb.gentoo.org/repo/gentoo.git/tree/sci-mathematics/pari/files/pari-2.11.2-no-automagic.patch

>> Qt4)
>>-  PLOTCFLAGS="\$(QTINC)"
>>-  PLOTLIBS="\$(QTLIB) $QTLIBS"
>>+  PLOTCFLAGS="`${PKG_CONFIG} --cflags QtGui`"
>>+  PLOTLIBS="`${PKG_CONFIG} --libs QtGui`"

Do you really manage to build the Qt4 version ? I was planning to remove it
since I cannot test it anymore, and I do not know how to port it to Qt5/Qt6.

Cheers,
Bill