# Psion's Sheet: gnumeric 1.3.93 with their nine patches. # # The image has been shipping stock gnumeric 1.4.3, which carries none of # Psion's work. gnumeric_1.3.93.oe is theirs -- psion.patch alone rewrites 24 # files (dialogs, preferences, gconf schemas, styles, and the toolbar and menu # action tables), and do_compile_prepend swaps in their own sheet.png as the # application icon. The tree is already extracted and patched; this job does # their do_configure and do_compile. # # gcc 3.4, for the libstdc++ reason in docs/04-CROSS-COMPILING.md. set -x rm -rf /build/out; mkdir -p /build/out/bin export PKG_CONFIG_PATH=/usr/lib/pkgconfig export LC_ALL=C export CC=gcc-3.4 export CXX=g++-3.4 cd /build/gnumeric-1.3.93 grep -q 'MenuInsertDrawing' src/wbcg-actions.c && echo "psion patches present" || echo "WARNING: psion patches MISSING" grep -q 'libgoffice-utils.la' src/Makefile.in && echo "goffice sub-libs linked" || echo "WARNING: goffice link fix MISSING" # their EXTRA_OECONF ./configure --prefix=/usr --without-perl --disable-schemas-install \ > /build/out/conf.log 2>&1 echo "RC_conf=$?" tail -12 /build/out/conf.log make > /build/out/make.log 2>&1 echo "RC_make=$?" tail -15 /build/out/make.log if [ -f src/gnumeric ]; then cp src/gnumeric /build/out/bin/ strip /build/out/bin/gnumeric echo GOT_gnumeric make install DESTDIR=/build/out/inst > /build/out/install.log 2>&1 echo "RC_install=$?" find /build/out/inst -type f | sed 's|/build/out/inst||' | sort > /build/out/filelist.txt wc -l < /build/out/filelist.txt du -sh /build/out/inst else echo MISSING_gnumeric grep -E 'error:|Error [0-9]' /build/out/make.log | tail -8 fi ls -l /build/out/bin