site  contact  subhomenews

Sqlite, pixman, cairo

May 15, 2011 — BarryK
These three packages needed to be upgraded to run Firefox 4.0 or SeaMonkey 2.1. That is, if they are compiled to use these system libraries rather than their own internal versions. Using the system sqlite, pixman and cairo means that the browser package is smaller.

However, these libraries need to be compiled in a certain way to be compatible with FF4 and SM2.1. Notes:

sqlite-amalgamation 3.7.5

http://t2-project.org/packages/sqlite.html
sm wants this... read: http://www.linuxfromscratch.org/blfs/view/cvs/server/sqlite.html
# export CFLAGS='-O2 -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_UNLOCK_NOTIFY'
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu

cairo needs upgraded pixman...

pixman 0.18.4
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --disable-sse2 --disable-vmx --disable-gtk

deleted /usr/X11R7/include/pixman-1, /usr/X11R7/lib/pkgconfig/pixman-1.pc, /usr/X11R7/lib/libpixman*

cairo 1.10.2
FF needs --enable-tee
http://www.cairographics.org/releases/
# export ax_cv_c_float_words_bigendian=no
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=i486-pc-linux-gnu --enable-ps --enable-pdf --enable-xcb=no --enable-tee
...note, could consider --enable-xcb -- but may be good to leave off, as wary has different xcb pkg versions in Xorg upgrade pkgs.


I have been running Wary with these upgraded libraries, doesn't seem to break any other apps, so have made them a permanent feature of Wary.

However, Wary has a couple of Xorg upgrade combo-PETs, named 'xorg_upgrade_intel-2.10.0-w5.pet' and 'zzx_upgrade_73_to_75_nokms-201101.pet'. These are offered via the Xorg Upgrade Wizard. The first one is for upgrading the Intel driver, the second is all of Xorg out of Quirky 1.3, supporting all video hardware.

I have taken out the cairo and pixman libraries from these packages, they are now named 'xorg_upgrade_intel-2.10.0-1-w5.pet' and 'zzx_upgrade_73_to_75_nokms-201101-1.pet'.

Tags: wary