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 Sun 21 Dec 2014, 12:07
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 Posts_count   Goto page: 1, 2 Next
Author Message
technosaurus


Joined: 18 May 2008
Posts: 4424

PostPosted: Tue 28 Apr 2009, 20:01    Post_subject:  ppdfview
Sub_title: 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  350 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 MSNM 
Dingo


Joined: 11 Dec 2007
Posts: 1424
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_website 
technosaurus


Joined: 18 May 2008
Posts: 4424

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: 1424
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_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 MSNM 
technosaurus


Joined: 18 May 2008
Posts: 4424

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: 13644
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  472 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  371 Time(s) 

_________________
my recommended links
Back to top
View user's profile Send_private_message Visit_website 
Dingo


Joined: 11 Dec 2007
Posts: 1424
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_website 
technosaurus


Joined: 18 May 2008
Posts: 4424

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: 1424
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_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  1296 Time(s) 

Edited_times_total
Back to top
View user's profile Send_private_message 
Dingo


Joined: 11 Dec 2007
Posts: 1424
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_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: 9059

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:   Sort by:   
Page 1 of 2 Posts_count   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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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