Package: xtel
Version: 3.3.0-5.1
Severity: serious
Tags: patch

When building 'xtel' in a clean 'unstable' chroot,
I get the following error:

Reading package lists...
Building dependency tree...
E: Package mime-codecs has no installation candidate
E: Failed to satisfy Build-Depends dependency for xtel: mime-codecs
Package mime-codecs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

The attached patch fixes this by removing mime-codecs from the
Build-Depends and using the perl decode_base64 function instead.

Regards
Andreas Jochens

diff -urN ../tmp-orig/xtel-3.3.0/debian/control ./debian/control
--- ../tmp-orig/xtel-3.3.0/debian/control       2006-02-08 19:08:10.000000000 
+0000
+++ ./debian/control    2006-02-08 18:17:04.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Eric Delaunay <[EMAIL PROTECTED]>
 Standards-Version: 3.6.1
-Build-Depends: 
lesstif-dev,libx11-dev,libxmu-dev,libxpm-dev,libxt-dev,x-dev,xlibs-data,libxaw7-dev,debhelper
 (>= 4.1.16),gif2png,xbase-clients,xutils,libjpeg-dev, doc-base, mime-codecs
+Build-Depends: 
lesstif-dev,libx11-dev,libxmu-dev,libxpm-dev,libxt-dev,x-dev,xlibs-data,libxaw7-dev,debhelper
 (>= 4.1.16),gif2png,xbase-clients,xutils,libjpeg-dev, doc-base
 
 Package: xtel
 Architecture: any
diff -urN ../tmp-orig/xtel-3.3.0/debian/rules ./debian/rules
--- ../tmp-orig/xtel-3.3.0/debian/rules 2006-02-08 19:08:10.000000000 +0000
+++ ./debian/rules      2006-02-08 19:07:35.000000000 +0000
@@ -54,7 +54,7 @@
        rm -rf debian/tmp/usr/X11R6/lib/X11/fonts/xtel
        # Install french documentation in the french docs directory
        install -m 644 debian/index-fr.html 
debian/tmp/usr/share/doc/LANG/fr/xtel/index.html
-       base64-decode < debian/bullet.gif.base64 > 
debian/tmp/usr/share/doc/LANG/fr/xtel/bullet.gif
+       perl -MMIME::Base64  -ne 'print decode_base64($$_)' < 
debian/bullet.gif.base64 > debian/tmp/usr/share/doc/LANG/fr/xtel/bullet.gif
        install -m 644 HISTOIRE.txt debian/tmp/usr/share/doc/LANG/fr/xtel/
        install -m 644 LISEZMOI.txt debian/tmp/usr/share/doc/LANG/fr/xtel/
        install -m 644 FAQ.txt debian/tmp/usr/share/doc/LANG/fr/xtel/


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

Reply via email to