ppdfview

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

ppdfview

#1 Post by technosaurus »

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
Attachments
ppdfview-0.01.pet
(4.12 KiB) Downloaded 492 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
sikpuppy
Posts: 415
Joined: Sun 29 Mar 2009, 05:54

#2 Post by sikpuppy »

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.

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#3 Post by Dingo »

tried on puppy 3.01 an error is showed:

Code: Select all

ppdfview: symbol lookup error: /usr/lib/libpoppler-glib.so.2: undefined symbol: g_once_init_enter_impl
I checked my poppler lib

Code: Select all

# 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

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#4 Post by technosaurus »

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?
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#5 Post by Dingo »

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

User avatar
sikpuppy
Posts: 415
Joined: Sun 29 Mar 2009, 05:54

#6 Post by sikpuppy »

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.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#7 Post by technosaurus »

@ Dingo - I compiled ppdfview in gPup 4.1.2 so it should work with the 4.X pet from ibiblio
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#8 Post by MU »

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
Attachments
poppler-0.6.4-i486-1-DEV.pet
(168.42 KiB) Downloaded 607 times
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#9 Post by Dingo »

tried MU'lib but same error is showed

Code: Select all

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

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#10 Post by technosaurus »

@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
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#11 Post by Dingo »

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

panzerpuppy
Posts: 632
Joined: Tue 02 Oct 2007, 07:39

#12 Post by panzerpuppy »

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).
Last edited by panzerpuppy on Sat 02 May 2009, 21:20, edited 2 times in total.

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#13 Post by Dingo »

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: Select all

# 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

panzerpuppy
Posts: 632
Joined: Tue 02 Oct 2007, 07:39

#14 Post by panzerpuppy »

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: Select all

# 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

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#15 Post by mikeb »

g_once_init_enter_impl
needs a newer glib......using the poppler libs from puppy 2.xx will cure this

mike

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#16 Post by MU »

where did you find the sourcecode, please?
Might you zip and upload it? I could not find it via google.
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

panzerpuppy
Posts: 632
Joined: Tue 02 Oct 2007, 07:39

#17 Post by panzerpuppy »

Poppler 0.10.6 source:

http://poppler.freedesktop.org/poppler-0.10.6.tar.gz

Size: 1.5 MB (1527715 bytes)

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#18 Post by MU »

thanks, but I mean the vala source for ppdfview :)
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#19 Post by technosaurus »

Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#20 Post by MU »

:shock: so simple...
I think it easily can be converted to genie, then some buttons and a scrolled window added...
I'm just too tired now :roll:
Thanks!
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

Post Reply