View Single Post
Old 02-06-2010, 01:10 PM   #1
tjzeeman
Member
tjzeeman began at the beginning.
 
tjzeeman's Avatar
 
Posts: 12
Karma: 26
Join Date: Jul 2009
Location: The Netherlands
Device: DR 1000S
Evince update attempt

Looking for a decent comics reader (cbz/cbr), as well as one capable of reading tex or postscript, I wanted to update the evince application as provided elsewhere on this forum.

Based on the build instructions there I started out to try to build the latest release possible without having to update system libraries and also without the need to use any hacks in the build system.

After a lot of trial and error I have at least managed to get something to compile and run on the simulator. Unfortunately, no document opens due to an error saying the required backend component cannot be found.

I've tried to solve this last issue, but I'm a bit at a loss right now as to what is causing this. Is there anyone around here who could help me with this?

Here's what I managed to get going so far:

The required sources are:
  • evince 2.24
  • djvulibre 3.5.22
  • gnome-doc-utils 0.18.0
  • gnome-icon-theme 2.22.0
  • icon-naming-util 0.8.90
  • libglade 2.6.4
  • shared-mime-info 0.70
  • jpegsrc v7

I'm using the vmware image as posted elsewhere in this forum. I did update the SDK to include a newer version of the SDK and had to install a few more things to get the build process completed:
  • intltool
  • libjpeg62-dev


Build djvulibre:
  • autoreconf
  • ./configure --prefix=/media/mmcblk0p1/Programs_evince --host=arm-poky-linux-gnueabi --disable-desktopfiles --disable-djview
  • make depend
  • make
  • make install

Build gnome-doc-utils:
  • autoreconf
  • ./configure --prefix=/media/mmcblk0p1/Programs/_evince --host=arm-poky-linux-gnueabi --disable-scrollkeeper --disable-nls --disable-dependency-tracker
  • make
  • make install

Build icon-naming-util (dependency for gnome-icon-theme):
  • ./configure --prefix=/media/mmcblk0p1/Programs/_evince --host=arm-poky-linux-gnueabi
  • make
  • make install

Build gnome-icon-theme:
  • autoreconf
  • ./configure --prefix=/media/mmcblk0p1/Programs/_evince --host=arm-poky-linux-gnueabi
  • make
  • make install

Build libglade:
  • export LDFLAGS='-L/usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/usr/lib -L/media/mmcblk0p1/Programs/_evince/lib'
  • ./configure --prefix=/media/mmcblk0p1/Programs/_evince --host=arm-poky-linux-gnueabi --disable-gtktest --with-xml-catalog=/media/mmcblk0p1/Programs/_evince/etc/xml/catalog
  • make
  • make install

Build shared-mime-info
  • ./configure --prefix=/media/mmcblk0p1/Programs/_evince --host=arm-poky-linux-gnueabi --disable-update-mimedb
  • make
  • make install

Build jpegsrc v7:
  • ./configure --prefix=/media/mmcblk0p1/Programs/_evince --host=arm-poky-linux-gnueabi
  • make
  • make install

Build evince:
  • export LDFLAGS='-L/usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/usr/lib -L/media/mmcblk0p1/Programs/_evince/lib'
  • export CFLAGS='-I/media/mmcblk0p1/Programs/_evince/include'
  • ./configure --prefix=/media/mmcblk0p1/Programs/_evince --host=arm-poky-linux-gnueabi --disable-nautilus --disable-thumbnaler --without-libgnome --without-keyring --disable-dbus --disable-previewer --disable-pdf --disable-ps --disable-tests --disable-scrollkeeper --without-gtk-unix-print --disable-dvi --enable-djvu --enable-t1libs --enable-comics --enable-pixbufs
  • make
  • make install

I copied the entire /media/mmcblk0p1/Programs/_evince dir to the simulator, ran update-mime /media/mmcblk0p1/Programs/_evince/share/mime through the ssh connection (this has to be done now, instead of at build, because we're crosscompiling; hence the disable-mimeupdate earlier)

I've used the shell script from the published 0.22 package to set some environment variables (and edited it to match my stup), but so far without a positive result

If anyone notices anything in the above instructions going amiss, or if anyone is willing to help me figure out what is still missing from the above, I would be much obliged.
tjzeeman is offline   Reply With Quote