The Testing Area :: December Extensions



Juanito:
I do all my compiling on a Debian Sarge chroot. I didn't have any trouble from the latest version 1.4.12 of Cairo. I have 'libfreetype-dev' and 'libfontconfig-dev' installed.

Do you mean you had a problem with Cairo not detecting freetype/fontconfig? In that case I'd look at 'config.log' to see what happened.

Quote
Do you mean you had a problem with Cairo not detecting freetype/fontconfig?

- that's exactly it, even thought I added the headers/libs/executables missing in dsl. I didn't pick up anything useful from config.log as yet but I'll keep trying.

I was compiling against debian sarge before but moved to [trying] to compile against the libs actually in dsl.

Cairo's 'configure' uses 'pkg-config' to detect freetype/fontconfig. So I think:
- pkg-config must be installed.
- '/usr/lib/pkgconfig/freetype2.pc' and '/usr/lib/pkgconfig/fontconfig.pc' must be installed.
Here's the test section for freetype/fontconfig from my config.log (on Debian Sarge chroot):
Code Sample
configure:27156: checking for cairo's FreeType font backend
configure:27173: checking for FONTCONFIG
configure:27181: $PKG_CONFIG --exists --print-errors "$ft_REQUIRES"
configure:27184: $? = 0
configure:27199: $PKG_CONFIG --exists --print-errors "$ft_REQUIRES"
configure:27202: $? = 0
configure:27240: result: yes
configure:27251: checking for FcFini
configure:27307: gcc -o conftest -Os -fomit-frame-pointer -fdata-sections -ffunction-sections    -Wl,--gc-sections conftest.c  -lm -lfontconfig   >&5
configure:27313: $? = 0
configure:27331: result: yes
configure:27349: checking for FREETYPE
configure:27357: $PKG_CONFIG --exists --print-errors "freetype2 >= $FREETYPE_MIN_VERSION"
configure:27360: $? = 0
configure:27375: $PKG_CONFIG --exists --print-errors "freetype2 >= $FREETYPE_MIN_VERSION"
configure:27378: $? = 0
configure:27418: result: yes
configure:27505: checking whether cairo's FreeType font backend could be enabled
configure:27508: result: yes
configure:27556: creating src/cairo-ft.pc

Quote
@Robert: does the backgrounds extension include the Fractal Movement backroungd from ~ 2.1b?  I always kind of liked that.  Also like the Saturn rings image from dsl-n.

The classic-backgrounds does include Fractal Movement as well as:
saturn_occultation.jpg
Tree_and_Moon.jpg
fractalMovementscape.jpg
Elefanter.jpg

Quote
- pkg-config must be installed.

- it's included in compile-3.3.5.uci, but I was using freetype2-2.1.2 by mistake (I need to update compile-3.3.5.uci.info) which does not have a *pc file - the correct version, freetype2-2.1.5 does have a *pc file. Next, the fontconfig "make install" craters when it tries to write to /etc/fonts - I thought everything of interest had been copied, but not the *pc file...

Finally, the cairo compile fails with something about double-buffer extensions in X.

I think I'll wait for you to compile cairo before continuing with conky-2  :)

Next Page...
original here.