Hi folks,

I encountered this problem too.  Since no one seems to be commenting on
it, I wrote up a patch.  It's probably not the ideal solution, but it works
fine.

To apply the patch, download the xutils source package with apt-get :

apt-get source xutils

(Note that you need to have the proper deb-src entries in your sources.list
for this to work.  You needn't be root.)  This will create (among other
things) a directory called xutils-7.0.0.  Copy the patch below into its
own file (omitting the PATCH STARTS HERE and PATCH ENDS HERE lines) and cd
to xutils-7.0.0/debian.  Apply the patch with

patch -p1 < name-of-patch-file

(Where name-of-patch-file should be replaced with whatever you saved the
patch as.)

Then build the package:

cd .. && dpkg-buildpackage -rfakeroot -uc -us

This will create a deb package in the same directory that the xutils-7.0.0
resides in, presuming you have all the necessary tools on your system to
build packages.  The exact name will vary with your architecture, but it'll
be something like xutils_7.0.0-3_i386.deb.  Install it:

dpkg -i xutils_7.0.0-3_i386.deb

(as root, or using sudo, or whatever.)  Voila!

Cheers,

Alexander

--------------- PATCH STARTS HERE (omit this line) ---------------------- 
--- debian.old/rules    2006-06-23 22:21:35.000000000 +0000
+++ debian.new/rules    2006-06-23 22:21:09.000000000 +0000
@@ -40,10 +40,15 @@
 build-stamp:
        dh_testdir
        for FILE in "$(SUBDIRS)"; do \
+               if [ -n "$$(echo "$$FILE" | grep '^luit')" ]; then \
+                       
extraconf="--with-localealiasfile=/usr/share/X11/locale/locale.alias"; \
+               else \
+                       extraconf=""; \
+               fi; \
                mkdir "$$FILE"-obj-$(DEB_BUILD_GNU_TYPE); \
                (cd "$$FILE"-obj-$(DEB_BUILD_GNU_TYPE) && \
                ../"$$FILE"/configure --prefix=/usr 
--mandir=\$${prefix}/share/man \
-                            --infodir=\$${prefix}/share/info $(confflags) \
+                            --infodir=\$${prefix}/share/info $$extraconf 
$(confflags) \
                             CFLAGS="$(CFLAGS)" && \
                $(MAKE)) || exit 1; \
        done
--------------- PATCH ENDS HERE (omit this line) ---------------------- 


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

Reply via email to