Matthieu Herrb wrote:

> 
> Don't hesitate to post your findings here or to x11@ if you find some
> dependencies that looks bogus. For instance libxkbui now depends on
> libXt (and its dependencies) and this looks wrong.

Here's a patch that removes libXt from libxkbui depencies in xenocara.
It Would be nice to know if it breaks something in ports or not.
-- 
Matthieu Herrb
? autom4te.cache
Index: configure
===================================================================
RCS file: /cvs/xenocara/lib/libxkbui/configure,v
retrieving revision 1.6
diff -u -r1.6 configure
--- configure   14 Apr 2007 20:44:16 -0000      1.6
+++ configure   5 May 2007 16:06:34 -0000
@@ -18690,12 +18690,12 @@
         pkg_cv_XKBUI_CFLAGS="$XKBUI_CFLAGS"
     else
         if test -n "$PKG_CONFIG" && \
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xt 
xkbfile\"") >&5
-  ($PKG_CONFIG --exists --print-errors "x11 xt xkbfile") 2>&5
+    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 
xkbfile\"") >&5
+  ($PKG_CONFIG --exists --print-errors "x11 xkbfile") 2>&5
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; then
-  pkg_cv_XKBUI_CFLAGS=`$PKG_CONFIG --cflags "x11 xt xkbfile" 2>/dev/null`
+  pkg_cv_XKBUI_CFLAGS=`$PKG_CONFIG --cflags "x11 xkbfile" 2>/dev/null`
 else
   pkg_failed=yes
 fi
@@ -18708,12 +18708,12 @@
         pkg_cv_XKBUI_LIBS="$XKBUI_LIBS"
     else
         if test -n "$PKG_CONFIG" && \
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xt 
xkbfile\"") >&5
-  ($PKG_CONFIG --exists --print-errors "x11 xt xkbfile") 2>&5
+    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 
xkbfile\"") >&5
+  ($PKG_CONFIG --exists --print-errors "x11 xkbfile") 2>&5
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; then
-  pkg_cv_XKBUI_LIBS=`$PKG_CONFIG --libs "x11 xt xkbfile" 2>/dev/null`
+  pkg_cv_XKBUI_LIBS=`$PKG_CONFIG --libs "x11 xkbfile" 2>/dev/null`
 else
   pkg_failed=yes
 fi
@@ -18732,14 +18732,14 @@
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-               XKBUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout 
--print-errors "x11 xt xkbfile"`
+               XKBUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout 
--print-errors "x11 xkbfile"`
         else
-               XKBUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors 
"x11 xt xkbfile"`
+               XKBUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors 
"x11 xkbfile"`
         fi
        # Put the nasty error message in config.log where it belongs
        echo "$XKBUI_PKG_ERRORS" >&5
 
-       { { echo "$as_me:$LINENO: error: Package requirements (x11 xt xkbfile) 
were not met:
+       { { echo "$as_me:$LINENO: error: Package requirements (x11 xkbfile) 
were not met:
 
 $XKBUI_PKG_ERRORS
 
@@ -18750,7 +18750,7 @@
 and XKBUI_LIBS to avoid the need to call pkg-config.
 See the pkg-config man page for more details.
 " >&5
-echo "$as_me: error: Package requirements (x11 xt xkbfile) were not met:
+echo "$as_me: error: Package requirements (x11 xkbfile) were not met:
 
 $XKBUI_PKG_ERRORS
 
Index: configure.ac
===================================================================
RCS file: /cvs/xenocara/lib/libxkbui/configure.ac,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 configure.ac
--- configure.ac        25 Nov 2006 18:23:21 -0000      1.1.1.1
+++ configure.ac        5 May 2007 16:06:34 -0000
@@ -34,7 +34,7 @@
 AC_PROG_LIBTOOL
 
 # Check for dependencies
-PKG_CHECK_MODULES(XKBUI, x11 xt xkbfile)
+PKG_CHECK_MODULES(XKBUI, x11 xkbfile)
 AC_SEARCH_LIBS(hypot, [m])
 
 AC_SUBST(XKBUI_CFLAGS)
Index: xkbui.pc.in
===================================================================
RCS file: /cvs/xenocara/lib/libxkbui/xkbui.pc.in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 xkbui.pc.in
--- xkbui.pc.in 25 Nov 2006 18:23:20 -0000      1.1.1.1
+++ xkbui.pc.in 5 May 2007 16:06:38 -0000
@@ -7,6 +7,6 @@
 Description: The xkbui Library
 Version: @PACKAGE_VERSION@
 Requires: x11 kbproto
-Requires.private: x11 xt
+Requires.private: x11
 Cflags: -I${includedir}
 Libs: -L${libdir} -lxkbui

Reply via email to