On Tue, 2005-11-08 at 02:03 +0100, Felix C. Stegerman wrote:
> On 2005-11-07 14:21:33, Drew Parsons wrote:
> > You're on ppc so I can't generate an unstripped Xprt binary for you
> > directly.  Are you in a position to compile Xprint yourself?
> > It oughtn't be too hard to do.
> 
> I "apt-get source"d the package and was able to compile it using
> dpkg-buildpackage. But I couldn't figure out how to ./configure it
> before compiling it.
> 

The old X11 uses "make World" instead of configure. It was based on
imake.  The forthcoming release (X11R7) will be autotooled,
using ./configure and friends.  Go into
xprint-0.1.0.alpha1/build-tree/xc (if it doesn't exist, then run
"debian/rules binary" from ../xprint-0.1.0.alpha1, and stop with Ctrl-C
once it tells you it's unpacked the source and has started the
compilation (gcc ...) lines.)  Then run "make World" from that xc
directory.

But you don't really have to do that if you already have
dpkg-buildpackage working.  Instead, just comment out the dh_strip line
in debian/rules (l.81), and let dpkg-buildpackage (or debian/rules
binary) do it for you.  

Keep versioning consistent by adding your own debian/changelog entry
(add a .1 e.g. 1:0.1.0.alpha1-12.1), dch (package devscripts) is handy
for this.

So, the easiest thing for recompiling is just to comment out the
dh_strip line in debian/rules.

If you want to run your locally built binary, it's at
xprint-0.1.0.alpha1/build-tree/xc/programs/Xserver and gets copied to
xprint-0.1.0.alpha1/debian/tmp/xprint/install/usr/X11R6/bin/Xprt.


Good luck!

Drew



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to