WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED ]pdf viewer  (Read 7245 times)

Offline TinyFun

  • Newbie
  • *
  • Posts: 33
[SOLVED ]pdf viewer
« on: January 16, 2014, 12:40:08 PM »
Hi,

Have been playing with Tinycore for a few days. Am using coreplus 5.1. Setting up, Flash, ALSA, updating Firefox, all very easy.

Now I do have a problem: pdf viewer. Tried Evince.tcz and Evince2.tcz. Progs start, but crashes on zooming in or closing thumbnails sidepane.  Epdf installed, but no icon, no reaction on terminal. Xpdf, okular ? Could not find them. Foxit reader from bz2 file: does not run. Tried converting .deb file (I know it is frowned upon). Didn't work either.

Only option seems to be to open file in firefox ??

This forum has messages that say Foxit is available but i cannot find it. Message is 2010, so maybe older version?

How do I get Evince to work correctly ? Also tried installing Evince(2) .dev and .gir files to no avail.
Does anyone have tip?

« Last Edit: January 16, 2014, 02:36:02 PM by TinyFun »

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: pdf viewer
« Reply #1 on: January 16, 2014, 12:53:14 PM »
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10993
Re: pdf viewer
« Reply #2 on: January 16, 2014, 01:06:33 PM »
"epdf" is not a PDF viewer, the info file says it's a library. You're thinking of epdfview, which is not yet available for 5.x.
The only barriers that can stop you are the ones you create yourself.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: pdf viewer
« Reply #3 on: January 16, 2014, 01:11:29 PM »
I'm using evince (v3.10) which has no issues zooming in or out of defualt to 400% and back.   I'm sure I remember the zooming issue, but afaik was fixed a long time ago.

Where does that leave you? well I'd guess you should uninstall evince and all it's deps then re-install evince






Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: pdf viewer
« Reply #4 on: January 16, 2014, 01:23:53 PM »
Evince works with Xfbdev.
I have the same problem with Xorg and xvesa.

Offline TinyFun

  • Newbie
  • *
  • Posts: 33
Re: [SOLVED ]pdf viewer
« Reply #5 on: January 16, 2014, 02:41:53 PM »
hI,

Thanks for the answers. Solved it ,ore or less like Tinypoodle suggested. Found post http://forum.tinycorelinux.net/index.php/topic,6914.msg36359.html#msg36359. Used binaru files, copied to /home/tc/.local/bin. That gave an problem with libcups.so.2, but after inatlling cups.tcz, FoxitReader now works fine.

Now all that remains is to add to .lst file to mak permanent ?

Thnx again.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: [SOLVED ]pdf viewer
« Reply #6 on: January 16, 2014, 03:02:17 PM »
The script I have linked to is supposed to create an extension which then could be handled like any other.
cups.tcz is not required, but only libcups.tcz   ;)
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline TinyFun

  • Newbie
  • *
  • Posts: 33
Re: [SOLVED ]pdf viewer
« Reply #7 on: January 16, 2014, 03:58:22 PM »
@Tinypoodle

Your solution is more elegant and saves time on boot/shutdown. Appreciate your post even after my [SOLVED] marking. Will try it. Not tonight though

Offline TinyFun

  • Newbie
  • *
  • Posts: 33
Re: [SOLVED ]pdf viewer
« Reply #8 on: January 16, 2014, 08:32:59 PM »
@Tinypoodle

downoaded 2 scripts from page you linked to. I'm sorry, but "the force" left me. I couldn't find the way to match your .diff file with the original script. Your .diff file mentions a file foxit-installscript2?
patch < ./foxit-installscript.diff
patch -p1 < foxit-installscript.dif

Kept getting errors about undoing earlier patch. Tried tosearch forum, but did not find any updated, total file.

So, used "IC;s between the ears" and matched as good as I could. Is included script OK
Is this what you mean ? will test it later, it's 2:30 AM.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: [SOLVED ]pdf viewer
« Reply #9 on: January 16, 2014, 08:57:47 PM »
Yes, looks about right to me...
I had just ran 'diff', but possibly with file arguments in wrong order to be used with 'patch'.
All that really matters is to load libcups.tcz before attempting to run FoxitReader.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14641
Re: [SOLVED ]pdf viewer
« Reply #10 on: January 17, 2014, 01:50:26 AM »
I just tried:

tc-5.x x86 gtk3 Xorg-7.7 evince (3.8.3)
tc-5.x x86_64 gtk3 Xorg-7.7 evince (3.10.0)

..with several zoom levels, including 400%, and did not see any problems

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10993
Re: [SOLVED ]pdf viewer
« Reply #11 on: January 17, 2014, 05:04:13 AM »
I can confirm evince2.tcz crashes on Xvesa (5.1 x86), but only with a PDF file loaded and when zooming to 150% or larger. I suppose this was missing from the tinyx thread (the fact you need to load a PDF - just plain evince doesn't crash when maximizing etc). Too bad there's nothing useful anywhere to debug this.
The only barriers that can stop you are the ones you create yourself.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14641
Re: [SOLVED ]pdf viewer
« Reply #12 on: January 17, 2014, 05:10:01 AM »
evince2 is version 2.32.0

Does the gtk3 version 3.8.3 crash with Xvesa (with a pdf loaded it does not crash at 400% with Xorg-7.7)?

Offline TinyFun

  • Newbie
  • *
  • Posts: 33
Re: [SOLVED ]pdf viewer
« Reply #13 on: January 17, 2014, 05:16:27 AM »
Confirm curaga's observation: evince (both versions) crashed when zooming to 150% or up. Also sometimes on closing sidepane, and when using the buttons to make window screen-wide.

Have not checked further as I still have to use Tinypoodle's script to make Foxit .tcz

I think I'm using Xorg, not XVesa. How to check ?

ADDED:
No Xorg, just Xorg libs in my /tce, no Xorg in /etc so I guess my box is XVesa.

this wiki http://wiki.tinycorelinux.net/wiki:using_xorg_over_xvesa?s[]=xorg&s[]=xvesa says:
"Features required by some applications provided only by Xorg. ".
Could this be the source of the Evince problems?
« Last Edit: January 17, 2014, 05:35:17 AM by TinyFun »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14641
Re: [SOLVED ]pdf viewer
« Reply #14 on: January 17, 2014, 05:31:05 AM »
Confirm curaga's observation: evince (both versions) crashed when zooming to 150% or up.
Can you be more specific please? Do you mean that evince-2.23.0 (gtk2 version) and evince-3.8.3 (gtk3) version both crash?

Quote
I think I'm using Xorg, not XVesa. How to check ?

"which Xvesa". "which Xorg"