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 Sat 26 Jul 2014, 03:22
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
pdfedit 0.4.5
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [26 Posts]   Goto page: 1, 2 Next
Author Message
Dingo


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

PostPosted: Wed 27 Jul 2011, 06:01    Post subject:  pdfedit 0.4.5
Subject description: free pdf editor with qt GUI
 

*pdfedit 0.4.5* (only 1.6 MB compiled in puppy 3.01) feel free to test in other puppies
- http://www.dokupuppylinux.info/programs:pdf_editing#pdfedit_045
- libqt-3.3.8 needed

I finally solved errors reported here

commenting line 27 in /usr/include/boost/noncopyable.hpp

and (but I think this was ininfluent) applying this patch to pdfedit source
Code:
Index: src/kernel/cpagecontents.cc
===================================================================
--- src/kernel/cpagecontents.cc   2010-05-19 15:52:24.000000000 +0200
+++ src/kernel/cpagecontents.cc   2010-05-19 15:54:18.000000000 +0200
@@ -542,7 +542,7 @@ CPageContents::addInlineImage (const CSt
    CDict image_dict;
    image_dict.addProperty ("W", CInt (image_size.x));
    image_dict.addProperty ("H", CInt (image_size.y));
-   image_dict.addProperty ("CS", CName ("RGB"));
+   image_dict.addProperty ("CS", CName((const char *)"RGB"));
    image_dict.addProperty ("BPC", CInt (8));
    CInlineImage img (image_dict, what);
    shared_ptr<CInlineImage> inline_image (new CInlineImage (image_dict, what));

------------------------------------------------------------------------------

_________________
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

Last edited by Dingo on Sun 18 Nov 2012, 06:42; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
ravensrest


Joined: 22 Feb 2008
Posts: 321
Location: Hood Canal, WA

PostPosted: Thu 08 Mar 2012, 11:45    Post subject:  

Just downloaded all your pdfedit files and installed them in Wary522. Seems to work just fine thus far. I used it to convert sheet music to text successfully.

Edit: works in Racy522 also.

Thanks,
BS

Last edited by ravensrest on Fri 09 Mar 2012, 20:00; edited 1 time in total
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2424
Location: near here

PostPosted: Thu 08 Mar 2012, 14:17    Post subject:  

I've been testing pdfedit in various Puppies - due to this thread-

http://murga-linux.com/puppy/viewtopic.php?t=76561

In Polarpup 005 it works fine.

However in Puppy 5.29 (Music2go remaster) I get-
Code:
pdfedit: error while loading shared libraries: libpng.so.3: cannot open shared object file: No such file or directory



and in Slacko I get-
Code:
pdfedit: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory


any ideas appreciated ; -)

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6426
Location: Auckland, New Zealand

PostPosted: Thu 08 Mar 2012, 17:01    Post subject:  

For libpng it seems you can usually get away by creating the one a program is looking for as a link to whatever one you actually have. Have a look in /usr/lib

For OpenGL it is likely you don't have any version, and should thus install it. I doubt that would be a direct dependency of pdfedit - I guess on Slacko one of the other dependencies must want it...

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2424
Location: near here

PostPosted: Fri 09 Mar 2012, 09:04    Post subject:  

thanks with have a bash and see if I can get joy. would be nice especially on the slacko Twisted Evil
_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6426
Location: Auckland, New Zealand

PostPosted: Fri 09 Mar 2012, 09:19    Post subject:  

I hope pdfedit is really what you need. What most people need is pdfshuffler (or one of its two alternatives).
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
davids45


Joined: 26 Nov 2006
Posts: 627
Location: Chatswood, NSW

PostPosted: Fri 09 Mar 2012, 20:58    Post subject: Slacko - runs with "libGL.so.1"  

G'day,

I found pdfedit did not run in the latest Slacko and from the console was informed it wanted the libGL file.

I copied libGL.so.1.2 to /usr/lib then re-named this to libGL.so.1 and now pdfedit opens.

The tar.gz attachment should extract to the libGL file I used. Just remember to re-name it or copy/symlink as the precise file name pdfedit wants.

David S.
libGL.so.1.2.tar.gz
Description 
gz

 Download 
Filename  libGL.so.1.2.tar.gz 
Filesize  185.57 KB 
Downloaded  545 Time(s) 
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2424
Location: near here

PostPosted: Sat 10 Mar 2012, 08:08    Post subject:  

Thanks davids45

copied the ligGL to /usr/lib. its a shame rox-filer doesn't give you the option of creating a symlink in the same directory. Had to use the commands

Code:
# cd /usr/lib
# ln -s libGL.so.1.2 libGL.so.1


And now pdfedit works! but uses strange font, see pic. Any idea how to change this?
pdfeditslackofont.jpg
 Description   
 Filesize   97.27 KB
 Viewed   1571 Time(s)

pdfeditslackofont.jpg


_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6426
Location: Auckland, New Zealand

PostPosted: Sat 10 Mar 2012, 16:51    Post subject:  

Quote:
its a shame rox-filer doesn't give you the option of creating a symlink in the same directory.

You mean by Ctrl-Shift-Drag? That's because you can't have two items with the same name in the same directory. Try "Right click>File [filename]>Link"

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2424
Location: near here

PostPosted: Sun 11 Mar 2012, 05:10    Post subject:  

thanks again disciple, don't know why I missed the 'link' option. . .

I've added pdfshuffler to the wikka pdf page

http://puppylinux.org/wikka/PDF

Idea

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6426
Location: Auckland, New Zealand

PostPosted: Sun 11 Mar 2012, 16:06    Post subject:  

Right. Its not really that "some people prefer this". It has a different purpose, assembling pdfs. i.e. splitting, merging, cropping and rearranging pages. Pdfedit is not good for this, but it does provide low-level access to the pdf content e.g. you might be able to fix a typo with it.
Also, note that the .sfs link is dead - I didn't reupload it, as it is the old squashfs 3 format which is not supported by modern puppies.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2424
Location: near here

PostPosted: Tue 13 Mar 2012, 07:33    Post subject:    

thanks for the corrections Cool

http://puppylinux.org/wikka/PDF

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
jicjoc

Joined: 04 May 2012
Posts: 8

PostPosted: Sat 05 May 2012, 17:02    Post subject:  

hi guys - trying to install pdfedit from the 2 links given above.

then i installed libpng and now im still getting

Code:
pdfedit: error while loading shared libraries: libpng.so.3: cannot open shared object file: No such file or directory


in my /usr/bin directory i have no libpng file.

only libpng15-config

Any idea's?
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6426
Location: Auckland, New Zealand

PostPosted: Sat 05 May 2012, 17:50    Post subject:  

libpng will be somewhere like /usr/lib, not /usr/bin.
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
jicjoc

Joined: 04 May 2012
Posts: 8

PostPosted: Sun 06 May 2012, 08:06    Post subject:  

Thanks, got it sorted!
Nw can anyone help with how to add navigation links to a pdf in puppy? Can pdfedit do it?

Like adding bookmarks in foxit?
I tried usint foxit itself but my doc was too big for it i think and it crashed. the pdf is over 450megs!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [26 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) » Documents
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.0899s ][ Queries: 13 (0.0119s) ][ GZIP on ]