Hi,
Quote:
Originally Posted by Viacheslav
Are there any plans to fix the page redrawing problem in fullscreen?
|
maybe in a distant future: I have a pretty tight schedule for a next couple months, so it's unlikely that I'll be able to find time for that soon.
Quote:
Originally Posted by Viacheslav
And where is the modified source? I want to change the apparently hardcoded startup defaults.
|
Here is the build instruction.
First you need to compile a mime database. Copy the file
/usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/usr/bin/update-mime-database and the attached
freedesktop.org.xml to emulator. The last one is the file
/usr/share/mime/packages/freedesktop.org.xml from my build system with only
image/vnd.djvu mime type in it. Execute the following commands on emulator:
Code:
mkdir -p /media/mmcblk0p1/Programs/_evince/share/mime/packages/
mv /home/root/freedesktop.org.xml /media/mmcblk0p1/Programs/_evince/share/mime/packages/
/home/root/update-mime-database /media/mmcblk0p1/Programs/_evince/share/mime
cd /media/mmcblk0p1/Programs/
tar cvf /home/root/evince-mime.tar _evince
Copy
evince-mime.tar to your build system and untar it into
/media/mmcblk0p1/Programs/ directory.
Download the file
djvulibre-3.5.22.tar.gz from
http://sourceforge.net/projects/djvu/files/, apply the attached
djvulibre-3.5.22.patch, set environment variables from the attached file
irex_env.sh and execute the following commands:
Code:
autoreconf
./configure --prefix=/media/mmcblk0p1/Programs/_evince --host=arm-poky-linux-gnueabi --disable-desktopfiles --disable-djview --disable-i18n --disable-xmltools
make
make install-libdjvu
This will install only djvu libraries without any binaries.
Download
evince-2.22.2.tar.bz2 from
http://ftp.gnome.org/pub/GNOME/sources/evince/2.22/ , apply the attached
evince-2.22.2.patch and execute the following commands:
Code:
autoreconf
libtoolize --copy --force
LDFLAGS='-L/media/mmcblk0p1/Programs/_evince/lib -L/usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/usr/lib' ./configure --prefix=/media/mmcblk0p1/Programs/_evince --host=arm-poky-linux-gnueabi --disable-nautilus --disable-thumbnailer --disable-pdf --disable-tiff --enable-djvu --disable-dvi --disable-t1lib --without-libgnome --without-keyring --disable-dbus
make
make install
After that compare your
/media/mmcblk0p1/Programs/_evince with content of the archive I posted earlier in this thread and make necessary adjustments.