Package: xkbsel
Version: 0.13-13
Severity: serious
Tags: patch

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

Building xkbsel on unstable/amd64...
dpkg-source: extracting xkbsel in xkbsel-0.13
dpkg-source: unpacking xkbsel_0.13.orig.tar.gz
dpkg-source: applying ./xkbsel_0.13-13.diff.gz
Reading package lists...
Building dependency tree...
E: Package xlibs has no installation candidate
E: Failed to satisfy Build-Depends dependency for xkbsel: xlibs
Package xlibs 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 replaces the Build-Depends on xlibs by a Build-Depends 
on libxaw7-dev and xkb-data.

The patch also changes the configure script to use /usr/share/X11/xkb
as the x11xkbdir.

With this patch, xkbsel can be built on 'unstable'.

Regards
Andreas Jochens

diff -urN ../tmp-orig/xkbsel-0.13/debian/control ./debian/control
--- ../tmp-orig/xkbsel-0.13/debian/control      2006-06-13 12:35:11.000000000 
+0000
+++ ./debian/control    2006-06-13 12:35:09.000000000 +0000
@@ -2,7 +2,7 @@
 Section: x11
 Priority: optional
 Maintainer: Gregory Pomerantz <[EMAIL PROTECTED]>
-Build-Depends: g++ (>= 3.3.4-1), debhelper, libdb4.3-dev, libjpeg62-dev, 
libpng12-dev, libtiff4-dev, libungif4-dev, flex, gettext, libtool, orbit, 
texinfo, xlibs, libxaw6-dev
+Build-Depends: debhelper, libxaw7-dev, xkb-data, libdb4.3-dev, libjpeg62-dev, 
libpng12-dev, libtiff4-dev, libungif4-dev, flex, gettext, libtool, orbit, 
texinfo, libxaw6-dev
 Standards-Version: 3.6.1
 
 Package: xkbsel
diff -urN ../tmp-orig/xkbsel-0.13/configure ./configure
--- ../tmp-orig/xkbsel-0.13/configure   2006-06-13 12:35:11.000000000 +0000
+++ ./configure 2006-06-13 12:35:28.000000000 +0000
@@ -27176,7 +27176,7 @@
 fi
 
 
-x11xkbdir=$ac_x_libraries/X11/xkb
+x11xkbdir=/usr/share/X11/xkb
 test -d $x11xkbdir || { { echo "$as_me:$LINENO: error: \"Directory $x11xkbdir 
does not exist\"" >&5
 echo "$as_me: error: \"Directory $x11xkbdir does not exist\"" >&2;}
    { (exit 1); exit 1; }; }
diff -urN ../tmp-orig/xkbsel-0.13/configure.ac ./configure.ac
--- ../tmp-orig/xkbsel-0.13/configure.ac        2006-06-13 12:35:11.000000000 
+0000
+++ ./configure.ac      2006-06-13 12:34:51.000000000 +0000
@@ -68,7 +68,7 @@
 
 AC_SEARCH_LIBS(db_create, db1 db, , AC_MSG_ERROR("Cannot find library 
containing db_create"))
 
-x11xkbdir=$ac_x_libraries/X11/xkb
+x11xkbdir=/usr/share/X11/xkb
 test -d $x11xkbdir || AC_MSG_ERROR("Directory $x11xkbdir does not exist")
 AC_SUBST(x11xkbdir)
 
diff -urN ../tmp-orig/xkbsel-0.13/configure.in ./configure.in
--- ../tmp-orig/xkbsel-0.13/configure.in        2000-04-09 09:20:47.000000000 
+0000
+++ ./configure.in      2006-06-13 12:34:30.000000000 +0000
@@ -140,7 +140,7 @@
 
 AC_SEARCH_LIBS(dbm_open, db1 db, , AC_MSG_ERROR("Cannot find library 
containing dbm_open"))
 
-x11xkbdir=$ac_x_libraries/X11/xkb
+x11xkbdir=/usr/share/X11/xkb
 test -d $x11xkbdir || AC_MSG_ERROR("Directory $x11xkbdir does not exist")
 AC_SUBST(x11xkbdir)
 


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

Reply via email to