Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 01 Aug 2014, 08:20
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
ppdfview
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Author Message
technosaurus


Joined: 18 May 2008
Posts: 4292

PostPosted: 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
ppdfview-0.01.pet
Description 
pet

 Download 
Filename  ppdfview-0.01.pet 
Filesize  4.12 KB 
Downloaded  338 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
sikpuppy


Joined: 29 Mar 2009
Posts: 433

PostPosted: 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 Smile

_________________
ASUS A1000, 800Mhz PIII Coppermine!, 192Mb RAM, 10Gb IBM Travelstar HDD, Build date August 2001.
Back to top
View user's profile Send private message MSN Messenger 
Dingo


Joined: 11 Dec 2007
Posts: 1415
Location: somewhere at the end of rainbow...

PostPosted: 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
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4292

PostPosted: 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?

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Dingo


Joined: 11 Dec 2007
Posts: 1415
Location: somewhere at the end of rainbow...

PostPosted: 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
View user's profile Send private message Visit poster's website 
sikpuppy


Joined: 29 Mar 2009
Posts: 433

PostPosted: 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
View user's profile Send private message MSN Messenger 
technosaurus


Joined: 18 May 2008
Posts: 4292

PostPosted: 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
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: 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
poppler-0.6.4-i486-1-DEV.pet
Description 
pet

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

 Download 
Filename  poppler-0.6.4-i486-1.pet 
Filesize  696.92 KB 
Downloaded  356 Time(s) 

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
Dingo


Joined: 11 Dec 2007
Posts: 1415
Location: somewhere at the end of rainbow...

PostPosted: 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
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4292

PostPosted: 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

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Dingo


Joined: 11 Dec 2007
Posts: 1415
Location: somewhere at the end of rainbow...

PostPosted: 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
View user's profile Send private message Visit poster's website 
panzerpuppy

Joined: 02 Oct 2007
Posts: 632

PostPosted: 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).
poppler-0.10.6-i486.pet
Description  The latest version of Poppler (0.10.6)
pet

 Download 
Filename  poppler-0.10.6-i486.pet 
Filesize  987.06 KB 
Downloaded  1229 Time(s) 

Last edited by panzerpuppy on Sat 02 May 2009, 17:20; edited 2 times in total
Back to top
View user's profile Send private message 
Dingo


Joined: 11 Dec 2007
Posts: 1415
Location: somewhere at the end of rainbow...

PostPosted: 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
View user's profile Send private message Visit poster's website 
panzerpuppy

Joined: 02 Oct 2007
Posts: 632

PostPosted: 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
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8041

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0878s ][ Queries: 12 (0.0105s) ][ GZIP on ]