Author |
Message |
Dingo

Joined: 11 Dec 2007 Posts: 1434 Location: somewhere at the end of rainbow...
|
Posted: 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
|
|
 |
ravensrest

Joined: 22 Feb 2008 Posts: 358 Location: Grants Pass, Oregon
|
Posted: 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
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2545 Location: near here
|
Posted: 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
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6781 Location: Auckland, New Zealand
|
Posted: 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...
_________________ If you have or know of a good gtkdialog application, please post a link here
Classic Puppy quotes
ROOT FOREVER
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2545 Location: near here
|
Posted: 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
_________________ helping Wiki for help
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6781 Location: Auckland, New Zealand
|
Posted: 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).
_________________ If you have or know of a good gtkdialog application, please post a link here
Classic Puppy quotes
ROOT FOREVER
|
Back to top
|
|
 |
davids45

Joined: 26 Nov 2006 Posts: 1068 Location: Chatswood, NSW
|
Posted: 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.
Description |
|

Download |
Filename |
libGL.so.1.2.tar.gz |
Filesize |
185.57 KB |
Downloaded |
834 Time(s) |
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2545 Location: near here
|
Posted: 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?
Description |
|
Filesize |
97.27 KB |
Viewed |
3567 Time(s) |

|
_________________ helping Wiki for help
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6781 Location: Auckland, New Zealand
|
Posted: 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"
_________________ If you have or know of a good gtkdialog application, please post a link here
Classic Puppy quotes
ROOT FOREVER
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2545 Location: near here
|
Posted: 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
_________________ helping Wiki for help
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6781 Location: Auckland, New Zealand
|
Posted: 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.
_________________ If you have or know of a good gtkdialog application, please post a link here
Classic Puppy quotes
ROOT FOREVER
|
Back to top
|
|
 |
darkcity

Joined: 23 May 2010 Posts: 2545 Location: near here
|
Posted: Tue 13 Mar 2012, 07:33 Post subject:
|
|
thanks for the corrections
http://puppylinux.org/wikka/PDF
_________________ helping Wiki for help
|
Back to top
|
|
 |
jicjoc
Joined: 04 May 2012 Posts: 8
|
Posted: 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
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6781 Location: Auckland, New Zealand
|
Posted: Sat 05 May 2012, 17:50 Post subject:
|
|
libpng will be somewhere like /usr/lib, not /usr/bin.
_________________ If you have or know of a good gtkdialog application, please post a link here
Classic Puppy quotes
ROOT FOREVER
|
Back to top
|
|
 |
jicjoc
Joined: 04 May 2012 Posts: 8
|
Posted: 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
|
|
 |
|