The time now is Fri 20 Apr 2018, 14:47
All times are UTC - 4 |
Author |
Message |
muggins
Joined: 20 Jan 2006 Posts: 6747 Location: hobart
|
Posted: Mon 15 Jan 2007, 07:52 Post subject:
pdfedit & compiling |
|
people often post requests for such&such a package to be compiled. i've compiled a few small things without problems, but i have a greater appreciation of mu's efforts after trying to compile pdfedit. it didn't involve any exhaustive search for libraries...the only additional library it required was the boost c++ library, which i got already compiled from:
http://lp.slackwaresupport.com/Slackware-11.0/andrzej/wx/hugin/boost-1.33.1-i486-1asz.tgz
five hours later & it was still compiling, before i terminated it! i'll start it up again overnight.
maybe i need to get more ram...or follow the advice i gave to a friend who rang me with windows XP problems...i told him to grow some spuds & go fishing.
|
Back to top
|
|
 |
debernardis

Joined: 12 Nov 2005 Posts: 180
|
Posted: Thu 08 Feb 2007, 10:52 Post subject:
|
|
I tried to install the debian package from http://varun.travisbsd.org/debian_packages/pdfedit/ using the debian installer. The program starts but unfortunately crashes each time I try to open a pdf file. So, in order to annotate a pdf a good choice is still foxit pdf reader for windows under wine.
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6781 Location: Auckland, New Zealand
|
Posted: Fri 27 Apr 2007, 20:21 Post subject:
|
|
I tried compiling a slightly older version, and was getting weird errors that meant nothing to me. Then the other day I tried the generic linux rpm in Puppy 2.14, and I had to install glibc-2.4 and a newer libstdc++ and qt, and then when I tried to run it I just got a "floating point exception error". I might try compiling the latest version...
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6781 Location: Auckland, New Zealand
|
Posted: Fri 06 Jul 2007, 21:58 Post subject:
pdfedit almost working |
|
I still can't compile the latest version, but in Puppy 2.16 I tried installing the latest Debian package, along with Debian packages for libt1 and libpaper. It almost works - it runs, but when you try to open a pdf it crashes with:
Code: | pdfedit: symbol lookup error: pdfedit: undefined symbol: _ZN7QStringC1ERKSs |
The same happens in Grafpup 2, although I also had to install a libstdc++ dotpup.
Theres also a bunch of messages when pdfedit is run (so before opening a file) about not being able to find fonts and paper information, and in Puppy about invalid things in the config file, but I don't think any of this matters.
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 12070 Location: Gatineau (Qc), Canada
|
Posted: Sat 25 Sep 2010, 14:20 Post subject:
|
|
Refreshing an older thread :
PDFEdit v. 0.4.3 can be found here, among other mirrors:
http://mirrors.hpcf.upr.edu/ftp/pub/Mirrors/ubuntu/archive/pool/universe/p/pdfedit/pdfedit_0.4.3-1_i386.deb
It's a Ubuntu .deb file, but the newer puppies (v. 4.3.1 and newer, including quirky / wary versions) can incorporate (install) .deb files directly.
I found that I needed the following dependencies to get it to work:
qt3: http://distro.ibiblio.org/pub/linux/distributions/puppylinux/pet_packages-3/qt-3.3.8.pet
nas-libs, pet made from nas-libs-1.9.1-5.fc11.i586.rpm package (see attached)
Description |
lib dependency for PDFEdit-0.4.3
|

Download |
Filename |
nas-libs-1.9.1-5.pet |
Filesize |
72.8 KB |
Downloaded |
394 Time(s) |
_________________ musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6781 Location: Auckland, New Zealand
|
Posted: Sat 25 Sep 2010, 21:08 Post subject:
|
|
I imagine you could find a package of 0.4.5 somewhere too.
_________________ If you have or know of a good gtkdialog application, please post a link here
Classic Puppy quotes
ROOT FOREVER
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 12070 Location: Gatineau (Qc), Canada
|
Posted: Sat 25 Sep 2010, 21:55 Post subject:
|
|
@disciple:
Thanks for the info, I'll look it up !
@all
I've been revisiting pdf utilities for my work and for a workshop at my professional association, and I came up with a pet package...I thought sharing it with all you Puppy-ists out there would be appropriate!
So... it's here: http://limelinx.com/files/dc503b74df836000d88963d291614b9b
And here's a little blurb about it. (It's in the docs, too.)
/////////////////////////////
musher0's note about pdf utilities, Sept. 25, 2010
==================================================
This is a trimmed down xpdf package... without xpdf. Since most new Puppies come with epdfview, it seemed like an overkill to include the actual xpdf executable, however good it may be.
The same reasoning was applied to the exclusion of pdftops and pdftopppm. pdftops being replaced with the native print-to-PDF default printer, and,judging from the man files, it seemed pdftoppm overlapped what pdftoimages is doing.
pdftotext is ok if you just need to consult some pdf as text, for some reason, but it is a bit short if you want to edit pdf files in a word processor or html editor and resave ("re-print" ?) your work in pdf format. So I replaced it with pdftohtml, although the two packages are from different authors. If you absolutely need a text copy of a pdf file, use pdftohtml, load the resulting file in a word processor and then save that to txt format.
This trimming down reduced the original pet size from 11 Mg to a little less than 3Mg. Hopefully this reduction in archive size will not affect the usefulness of the entire xpdf "suite" for the user.
Technically, you may still need to configure the .xpdfrc file in /root,even if the actual xpdf is not included, since all pdfto* executables except pdftohtml refer to it upon loading.
I included a *.dtd file from the Windows package of pdftohtml, which you may need -- or not --, when using the -xml parameter with this program.
Please remember that all these pdfto* executables are console apps, so their name does not appear in the window manager (jwm or whatever) menu. You will have to open a console to invoke them.
Finally, the advantages of this re-visited package are still current. In one sentence:
1) these pdf tools
2) usable under Linux,
3) save you
a) the cost of a shareware or commercial pdf processor and
b) the time you'd spend learning a new program,
4) so you can focus more on your editing.
////////////////////////////
Any constructive feedback welcome. Enjoy!
BFN
_________________ musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 12070 Location: Gatineau (Qc), Canada
|
Posted: Mon 27 Sep 2010, 01:56 Post subject:
|
|
disciple wrote: | I imagine you could find a package of 0.4.5 somewhere too. |
Here: http://ftp.us.debian.org/debian/pool/main/p/pdfedit/pdfedit_0.4.5-1_i386.deb
It needs the same dependencies as the 0.4.3 version. (See above.) If you've installed the 0,4.3 version, it will install over it simply by clinking on the new deb package.
(That was easy!)
_________________ musher0
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
|
Back to top
|
|
 |
|
|
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
|