View Single Post
Old 09-28-2009, 05:08 AM   #17
dixon
Member
dixon doesn't litterdixon doesn't litter
 
Posts: 13
Karma: 163
Join Date: Aug 2009
Device: iRex DR1000S
Hi,

Quote:
Originally Posted by Viacheslav View Post
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 View Post
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.
Attached Files
File Type: xml freedesktop.org.xml (5.0 KB, 436 views)
File Type: txt djvulibre-3.5.22.patch.txt (389 Bytes, 235 views)
File Type: txt evince-2.22.2.patch.txt (8.2 KB, 256 views)
File Type: txt irex_env.sh.txt (670 Bytes, 254 views)

Last edited by dixon; 09-28-2009 at 05:59 AM.
dixon is offline   Reply With Quote