On Sun, Jan 30, 2011 at 11:46:10AM -0500, PMA wrote: > > > Michal Hocko wrote: > > On Sun, Jan 30, 2011 at 11:17:30AM -0500, PMA wrote: > >> Michal Hocko wrote: > > [...] > >> Ok, I'll test with the patch, which I've just downloaded and read some of. > >> But I must tell you, I have never applied a patch (I gather "applied" is > >> the > >> right word). Could you point me to a dependable instruction document? > >> Meanwhile, I'll hold off importing a newer version. Thanks for your help! > >> --------------------------------------------------------------------------------------------------------- > >> [01/30/11] > >> Ahem: nevermind, I see the command! > >> Pete > >> --------------------------------------------------------------------------------------------------------- > >> [same, later] > >> I'm using Debian 'lenny' and 'patch' 2.5.9-5, have copied > >> '/usr/bin/pdfedit' > >> and 'crop_box-sync_with_media_box.patch' an into isolated subdirectory > >> /usr/bin/PatchTest, and have cd'd there. Running -- > >> > >> patch pdfedit crop_box-sync_with_media_box.patch > >> > >> by itself yields errors. Can you tell me which 'patch' options (especially > >> the '-p' number) I should be using? > > > > patch -p1 crop_box-sync_with_media_box.patch in the top level source > > directory. > > > > > --------------------------------------------------------------------------------------------------------------- > > Does this mean that I need to have built my exec from source? > (I see no "source" or "src" in paths from 'find / -name "pdfedit*", > and my /usr/bin/pdfedit is the ELF binary from a .deb package.)
Yes, you have to build the binary from sources. You have basically 2 options: - download the tarball from sf.net and build it - standard debian way: apt-get source pdfedit/stable; apply the patch; fakeroot debian/rules binary The second option is better as you get the deb package which you can install by dpkg. Please note that you will have to install some packages for both approaches (namely qt3-dev-tools, freetype2, boost, debian helpers for packages bulding). -- Michal Hocko ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Pdfedit-support mailing list Pdfedit-support@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pdfedit-support