PDFedit on Debian Sid AMD64
Remembering that PDFedit, a free open source pdf editor and a library for manipulating PDF documents was available on OpenSuSE but not on Debian repositories, I downloaded the source to attempt to build on this Sid (or Unstable) distribution. Well, seems PDF editor application depends on old qt3 and would throw errors during the make procedure.
Accordingly, I remembered about Debian's package Alien -- which converts RPM packages to DEB packages -- and decided to give it a try. Thus, I downloaded the PDFedit RPM from OpenSuse:
Shell
wget http://opensuse-mirror-gce-ap.susecloud.net/repositories/KDE:/KDE3/openSUSE_Leap_42.1/x86_64/pdfedit-0.4.5-2.1.x86_64.rpm |
downloaded alien and subsequently converted the OpenSuSE package to DEB:
Shell
apt-get install alien | |
alien --to-deb pdfedit-0.4.5-2.1.x86_64.rpm |
and installed the resulting 'debianized' package:
Shell
dpkg -i pdfedit_0.4.5-3.1.amd64.deb |
(note above how alien increased OpenSuSE minor number from original 2 to 3 after the 'debianization' process)
Thus I could even see the PDFeditor icon in GNOME:
but would not start.
Intrigued I went to my shell and typed pdfedit:
pdfedit: error while loading shared libraries: libt1.so.5: cannot open shared object file: No such file or directory
I fixed the error with the aid of Wheezy repositories:
Shell
wget http://ftp.us.debian.org/debian/pool/main/t/t1lib/libt1-5_5.1.2-3.6_amd64.deb | |
dpkg -i libt1-5_5.1.2-3.6_amd64.deb |
Typed pdfedit again:
pdfedit: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory
This time I fixed the error aided by Squeeze repository:
Shell
wget http://ftp.us.debian.org/debian/pool/main/q/qt-x11-free/libqt3-mt_3.3.8b-7+b1_amd64.deb |
That's it! Although I have not tested extensively, pdfedit seems to perform adequately
YMMV (Your Mileage May Vary), of course, and it is under your responsibility if you decide to implement the procedure.