[gentoo-user] fltk without xft support?
Hi, I'm asking a question I don't understand and I probably won't understand the answer unless it's really basic. Thanks in advance for helping. (This is coming from a non-Gentoo application developer using my system remotely...) 1) Does the version of fltk installed on my system have xft support built in? Wizard root # emerge -p fltk These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] x11-libs/fltk-1.1.2-r2 2) If it does, is it possible to build a version that has it turned off as a test? 3) If so, how? Thanks, Mark -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] fltk without xft support?
Spider, Thanks very much for showing how to go about figuring this stuff out. This is an email I will save for future reference. Cheers, Mark On Thu, 2003-08-07 at 06:28, Spider wrote: > begin quote > On 07 Aug 2003 05:02:03 -0700 > Mark Knecht <[EMAIL PROTECTED]> wrote: > > > Hi, > >I'm asking a question I don't understand and I probably won't > > understand the answer unless it's really basic. Thanks in advance for > > helping. (This is coming from a non-Gentoo application developer using > > my system remotely...) > > > > 1) Does the version of fltk installed on my system have xft support > > built in? > > > qpkg -l fltk |grep lib - ( qpkg is in the gentoolkit package) > > Darkmere root # qpkg -l fltk |grep lib - > x11-libs/fltk-1.1.3 * > /usr/lib > /usr/lib/fltk-1.1 > /usr/lib/fltk-1.1/libfltk.a > /usr/lib/fltk-1.1/libfltk_forms.so.1.1 > /usr/lib/fltk-1.1/libfltk.so.1.1 > /usr/lib/fltk-1.1/libfltk_gl.a > /usr/lib/fltk-1.1/libfltk_gl.so.1.1 > /usr/lib/fltk-1.1/libfltk_images.so.1.1 > /usr/lib/fltk-1.1/libfltk_forms.so -> libfltk_forms.so.1.1 > /usr/lib/fltk-1.1/libfltk_forms.a > /usr/lib/fltk-1.1/libfltk_images.a > /usr/lib/fltk-1.1/libfltk_gl.so -> libfltk_gl.so.1.1 > /usr/lib/fltk-1.1/libfltk.so -> libfltk.so.1.1 > /usr/lib/fltk-1.1/libfltk_images.so -> libfltk_images.so.1.1 > > Darkmere root # ldd /usr/lib/fltk-1.1/libfltk_forms.so |grep xft -i - > libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x4001d000) > > Darkmere root # ldd /usr/lib/fltk-1.1/libfltk.so.1.1 |grep -i xft - > libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x40098000) > > (grep -i for Ignore CaSe) > > > Now this tells us it is indeed linking to xft > > > > > Then some ldd on the files will show : > > > > > 2) If it does, is it possible to build a version that has it turned > > off as a test? > > Now this is more interesting, and here's how I went about checking > cd /usr/portage/x11-libs/fltk > look inside the fltk-1.1.3.ebuild and youll see : > > local myconf > myconf="--enable-shared --enable-static --enable-threads \ > --enable-xdbe --enable-xft" > > > So yes, its enabled. And an option inside the ebuild. (but not a USE > flag) > > > > 3) If so, how? > > > change the --enable-xft to --disable-xft > > if you want to keep this change over "emerge sync" then find and read > documentation about PORTAGE_OVERLAY and copy it there. > > if not, just do > ebuild fltk-1.1.3.ebuild merge > > > And it will build and install. ldd on the .so and see if it still links > to libXft or not. > > > hope this helps some in future debugging and digging for help :) (I > figured methodology would help a bit instead of just posting the > answers) > > > //Spider > > -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] fltk without xft support?
Never mind. Problem solved. cheers, Mark > > 1) Does the version of fltk installed on my system have xft support > built in? > > Wizard root # emerge -p fltk -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] fltk without xft support?
begin quote On 07 Aug 2003 05:02:03 -0700 Mark Knecht <[EMAIL PROTECTED]> wrote: > Hi, >I'm asking a question I don't understand and I probably won't > understand the answer unless it's really basic. Thanks in advance for > helping. (This is coming from a non-Gentoo application developer using > my system remotely...) > > 1) Does the version of fltk installed on my system have xft support > built in? > qpkg -l fltk |grep lib - ( qpkg is in the gentoolkit package) Darkmere root # qpkg -l fltk |grep lib - x11-libs/fltk-1.1.3 * /usr/lib /usr/lib/fltk-1.1 /usr/lib/fltk-1.1/libfltk.a /usr/lib/fltk-1.1/libfltk_forms.so.1.1 /usr/lib/fltk-1.1/libfltk.so.1.1 /usr/lib/fltk-1.1/libfltk_gl.a /usr/lib/fltk-1.1/libfltk_gl.so.1.1 /usr/lib/fltk-1.1/libfltk_images.so.1.1 /usr/lib/fltk-1.1/libfltk_forms.so -> libfltk_forms.so.1.1 /usr/lib/fltk-1.1/libfltk_forms.a /usr/lib/fltk-1.1/libfltk_images.a /usr/lib/fltk-1.1/libfltk_gl.so -> libfltk_gl.so.1.1 /usr/lib/fltk-1.1/libfltk.so -> libfltk.so.1.1 /usr/lib/fltk-1.1/libfltk_images.so -> libfltk_images.so.1.1 Darkmere root # ldd /usr/lib/fltk-1.1/libfltk_forms.so |grep xft -i - libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x4001d000) Darkmere root # ldd /usr/lib/fltk-1.1/libfltk.so.1.1 |grep -i xft - libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x40098000) (grep -i for Ignore CaSe) Now this tells us it is indeed linking to xft Then some ldd on the files will show : > > 2) If it does, is it possible to build a version that has it turned > off as a test? Now this is more interesting, and here's how I went about checking cd /usr/portage/x11-libs/fltk look inside the fltk-1.1.3.ebuild and youll see : local myconf myconf="--enable-shared --enable-static --enable-threads \ --enable-xdbe --enable-xft" So yes, its enabled. And an option inside the ebuild. (but not a USE flag) > 3) If so, how? change the --enable-xft to --disable-xft if you want to keep this change over "emerge sync" then find and read documentation about PORTAGE_OVERLAY and copy it there. if not, just do ebuild fltk-1.1.3.ebuild merge And it will build and install. ldd on the .so and see if it still links to libXft or not. hope this helps some in future debugging and digging for help :) (I figured methodology would help a bit instead of just posting the answers) //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end pgp0.pgp Description: PGP signature