Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

PDF Edit 0.4.1 !!!

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Post Reply
Message
Author
User avatar
EMD
Posts: 983
Joined: 2007-06-10 03:03
Location: /dev/tty7 (Don't deny it. You're here too!)

PDF Edit 0.4.1 !!!

#1 Post by EMD »

EDIT: Versions of PDF Edit 0.4.1 are in Debian's repositories (and have been for quite some time!), so I have removed the unofficial DEBs from this post.

==============

A new version of one of my favorite programs was just released today: PDF Edit 0.4.1 !!! I'm so happy I built a DEB for you all. For those of you who are smart enough not to trust my skills, here's a set of instructions to build PDF Edit on Debian Lenny:

First, I installed the packages necessary to build PDF Editor.

# apt-get install dh-make libboost-dev libboost-iostreams-dev

Then, I downloaded the tarball from Sourceforge and extracted the files:

$ tar -zxf pdfedit_0.4.1.tar.gz

Next, I entered the pdfedit-0.4.1/ directory and ran dh_make

$ cd pdfedit-0.4.1/
$ dh_make --createorig

I chose to create a single binary. After running dh_make, I ran:

$ export QTDIR=/usr/share/qt3
$ dpkg-buildpackage

That created the DEB package that I installed with:

# dpkg -i pdfedit_0.4.1-1_i386.deb

Enjoy!,
- EMD

EDIT: This post originally contained the following instructions, which were not necessary when I built a DEB for Etch:
edoviak wrote:After running dh_make, I opened the pdfedit-0.4.1/debian/rules file and commented out line 48:

# $(MAKE) distclean
Last edited by EMD on 2008-07-23 02:32, edited 2 times in total.

sashk0
Posts: 60
Joined: 2007-12-31 22:36
Location: Ternopil, Ukraine

#2 Post by sashk0 »

Thank you! ;)

User avatar
canci
Global Moderator
Global Moderator
Posts: 2502
Joined: 2006-09-24 11:28
Has thanked: 136 times
Been thanked: 136 times

#3 Post by canci »

So nice of you, tnx! Here's a cake for you...
Image Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe

READ THIS:

* How to Post a Thread Here
* Other Tips and Great Resources

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

#4 Post by craigevil »

pdfedit:
Installed: 0.4.1-1
Candidate: 0.4.1-1
Version table:
*** 0.4.1-1 0
500 http://ftp.us.debian.org sid/main Packages

Its in Sid now. Nice howto. :)
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

User avatar
canci
Global Moderator
Global Moderator
Posts: 2502
Joined: 2006-09-24 11:28
Has thanked: 136 times
Been thanked: 136 times

#5 Post by canci »

Oh duh! Silly me, of course it wouldn't work in Etch...
Image Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe

READ THIS:

* How to Post a Thread Here
* Other Tips and Great Resources

User avatar
EMD
Posts: 983
Joined: 2007-06-10 03:03
Location: /dev/tty7 (Don't deny it. You're here too!)

#6 Post by EMD »

canci wrote:Oh duh! Silly me, of course it wouldn't work in Etch...
Sure it will. Just compile it using my instructions above.

Post Reply