| Author |
Message |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Tue 28 Apr 2009, 20:01 Post subject:
ppdfview Subject description: from vala example |
|
So I have been playing with genie and vala & thought I would compile some of the examples on the vala website - one of them was a poppler example for viewing pdf files. Its not by any means perfect but it is very light weight.
One thing that I did notice when I did ldd on ppdfview was that many of the libraries in 4.2 weren't stripped. I mentioned how to do this in the pet packaging howto and there was a script a while back in the amigo, bigbass, ttuuxxx chit chat area.... to correct this problem I temporarily diverted my vala/genie to make a convenient packaging tool....so before I forget I thought I would post the pet
| Description |
|

Download |
| Filename |
ppdfview-0.01.pet |
| Filesize |
4.12 KB |
| Downloaded |
302 Time(s) |
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
sikpuppy

Joined: 29 Mar 2009 Posts: 433
|
Posted: Tue 28 Apr 2009, 20:19 Post subject:
|
|
Very speedy.
Is it meant to be command line only? To be honest I don't care, it is a lot faster on this poor old system than the GUI viewers
_________________ ASUS A1000, 800Mhz PIII Coppermine!, 192Mb RAM, 10Gb IBM Travelstar HDD, Build date August 2001.
|
|
Back to top
|
|
 |
Dingo

Joined: 11 Dec 2007 Posts: 1397 Location: somewhere at the end of rainbow...
|
Posted: Tue 28 Apr 2009, 20:26 Post subject:
|
|
tried on puppy 3.01 an error is showed:
| Code: | | ppdfview: symbol lookup error: /usr/lib/libpoppler-glib.so.2: undefined symbol: g_once_init_enter_impl |
I checked my poppler lib
| Code: | # ls /usr/lib/ |grep libpoppler-glib.so.2
libpoppler-glib.so.2 |
maybe I have wrong version?
_________________ replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Tue 28 Apr 2009, 20:51 Post subject:
|
|
I packaged the mime type with it to be default viewer - so it shouldn't be command line only
error.. maybe just an older libpoppler-glib? where does the symlink point?
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
Dingo

Joined: 11 Dec 2007 Posts: 1397 Location: somewhere at the end of rainbow...
|
Posted: Tue 28 Apr 2009, 20:59 Post subject:
|
|
pointing to libpoppler-glib.so.2 (no version information) what version you suggest to get working?
_________________ replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
|
|
Back to top
|
|
 |
sikpuppy

Joined: 29 Mar 2009 Posts: 433
|
Posted: Tue 28 Apr 2009, 21:16 Post subject:
|
|
| technosaurus wrote: | I packaged the mime type with it to be default viewer - so it shouldn't be command line only
|
Silly me. I went about it backwards and used the terminal without even clicking on the .pdf.
_________________ ASUS A1000, 800Mhz PIII Coppermine!, 192Mb RAM, 10Gb IBM Travelstar HDD, Build date August 2001.
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Fri 01 May 2009, 15:22 Post subject:
|
|
@ Dingo - I compiled ppdfview in gPup 4.1.2 so it should work with the 4.X pet from ibiblio
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Fri 01 May 2009, 18:22 Post subject:
|
|
I attach a pet with poppler from Slackware 12.0.
I had used it in Muppy, and in Newyearspup it works fine to test ppdfview.
It moght be a bit outdated, but seems to work fine.
I also add the dev package.
Mark
| Description |
|

Download |
| Filename |
poppler-0.6.4-i486-1-DEV.pet |
| Filesize |
168.42 KB |
| Downloaded |
319 Time(s) |
| Description |
|

Download |
| Filename |
poppler-0.6.4-i486-1.pet |
| Filesize |
696.92 KB |
| Downloaded |
321 Time(s) |
_________________ my recommended links
|
|
Back to top
|
|
 |
Dingo

Joined: 11 Dec 2007 Posts: 1397 Location: somewhere at the end of rainbow...
|
Posted: Fri 01 May 2009, 18:37 Post subject:
|
|
tried MU'lib but same error is showed
| Code: | ppdfview: symbol lookup error: /usr/lib/libpoppler-glib.so.2: undefined symbol: g_once_init_enter_impl
|
_________________ replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sat 02 May 2009, 09:07 Post subject:
|
|
@Dingo - you may have to update the symlink libpoppler-glib.so.2 to point to /usr/lib/libpoppler-glib.so.2.0.0
right click on /usr/lib/libpoppler-glib.so.2.0.0
select link
change the text to /usr/lib/libpoppler-glib.so.2
click symlink
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
Dingo

Joined: 11 Dec 2007 Posts: 1397 Location: somewhere at the end of rainbow...
|
Posted: Sat 02 May 2009, 09:16 Post subject:
|
|
sorry, but already changed symlink, result is the same unfortunately
_________________ replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
|
|
Back to top
|
|
 |
panzerpuppy
Joined: 02 Oct 2007 Posts: 632
|
Posted: Sat 02 May 2009, 16:41 Post subject:
|
|
Use my latest Poppler package: poppler-0.10.6-i486 (Slack Repack modified to work in Puppy)
It works with ePDFView (Puppy 4.2) nicely (no missing dependencies).
| Description |
The latest version of Poppler (0.10.6)
|

Download |
| Filename |
poppler-0.10.6-i486.pet |
| Filesize |
987.06 KB |
| Downloaded |
987 Time(s) |
Last edited by panzerpuppy on Sat 02 May 2009, 17:20; edited 2 times in total
|
|
Back to top
|
|
 |
Dingo

Joined: 11 Dec 2007 Posts: 1397 Location: somewhere at the end of rainbow...
|
Posted: Sat 02 May 2009, 17:04 Post subject:
|
|
thanks. downloaded and symlinked after this, program ask me other libs. any time I have found and linked required lib, bur for last lib it shows a GLIBC incompatibility
| Code: | # ppdfview-0.01/usr/bin/ppdfview manual.pdf
ppdfview-0.01/usr/bin/ppdfview: error while loading shared libraries: libgio-2.0.so.0: cannot open shared object file: No such file or directory
# ppdfview-0.01/usr/bin/ppdfview manual.pdf
ppdfview-0.01/usr/bin/ppdfview: error while loading shared libraries: libpixman-1.so.0: cannot open shared object file: No such file or directory
# ppdfview-0.01/usr/bin/ppdfview manual.pdf
ppdfview-0.01/usr/bin/ppdfview: error while loading shared libraries: libglitz.so.1: cannot open shared object file: No such file or directory
# ppdfview-0.01/usr/bin/ppdfview manual.pdf
ppdfview-0.01/usr/bin/ppdfview: error while loading shared libraries: libxcb-render-util.so.0: cannot open shared object file: No such file or directory
# ppdfview-0.01/usr/bin/ppdfview manual.pdf
ppdfview-0.01/usr/bin/ppdfview: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
# ppdfview-0.01/usr/bin/ppdfview manual.pdf
ppdfview-0.01/usr/bin/ppdfview: /lib/libc.so.6: version `GLIBC_2.8' not found (required by /usr/lib/libselinux.so.1) |
_________________ replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
|
|
Back to top
|
|
 |
panzerpuppy
Joined: 02 Oct 2007 Posts: 632
|
Posted: Sat 02 May 2009, 17:22 Post subject:
|
|
| Dingo wrote: | thanks. downloaded and symlinked after this, program ask me other libs. any time I have found and linked required lib, bur for last lib it shows a GLIBC incompatibility
| Code: | # ppdfview-0.01/usr/bin/ppdfview manual.pdf
ppdfview-0.01/usr/bin/ppdfview: error while loading shared libraries: libgio-2.0.so.0: cannot open shared object file: No such file or directory
# ppdfview-0.01/usr/bin/ppdfview manual.pdf
ppdfview-0.01/usr/bin/ppdfview: error while loading shared libraries: libpixman-1.so.0: cannot open shared object file: No such file or directory
# ppdfview-0.01/usr/bin/ppdfview manual.pdf
ppdfview-0.01/usr/bin/ppdfview: error while loading shared libraries: libglitz.so.1: cannot open shared object file: No such file or directory
# ppdfview-0.01/usr/bin/ppdfview manual.pdf
ppdfview-0.01/usr/bin/ppdfview: error while loading shared libraries: libxcb-render-util.so.0: cannot open shared object file: No such file or directory
# ppdfview-0.01/usr/bin/ppdfview manual.pdf
ppdfview-0.01/usr/bin/ppdfview: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
# ppdfview-0.01/usr/bin/ppdfview manual.pdf
ppdfview-0.01/usr/bin/ppdfview: /lib/libc.so.6: version `GLIBC_2.8' not found (required by /usr/lib/libselinux.so.1) |
|
@Dingo: use the latest (0.10.6) poppler package
|
|
Back to top
|
|
 |
mikeb

Joined: 23 Nov 2006 Posts: 4378
|
Posted: Sun 03 May 2009, 07:46 Post subject:
|
|
| Quote: | | g_once_init_enter_impl |
needs a newer glib......using the poppler libs from puppy 2.xx will cure this
mike
|
|
Back to top
|
|
 |
|