Re: libX11-6.2.1 and pkg-config 0.23
On Sat, Feb 21, 2009 at 10:42 AM, James Cloos wrote: > > (I had to compile pkg-config with -ggdb -O0 and try tracing thru to > discover the existance of PKG_CONFIG_DEBUG_SPEW.) pkg-config(1): ... ENVIRONMENT VARIABLES ... PKG_CONFIG_DEBUG_SPEW If set, causes pkg-config to print all kinds of debugging infor- mation and report all errors. -- Dan ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: libX11-6.2.1 and pkg-config 0.23
Try running pkg-config with PKG_CONFIG_DEBUG_SPEW=1 set in your environ. I get: :; env PKG_CONFIG_DEBUG_SPEW=1 pkg-config --cflags xproto ,< env PKG_CONFIG_DEBUG_SPEW=1 pkg-config --cflags xproto > | === many lines elided === | Path position of 'Xproto' is 2 | Package Xproto has -I/usr/include in Cflags | Removing -I/usr/include from cflags for xproto | Adding 'xproto' to list of known packages, returning as package 'xproto' | original: Xproto | sorted: Xproto | original: Xproto | sorted: Xproto | ` (I had to compile pkg-config with -ggdb -O0 and try tracing thru to discover the existance of PKG_CONFIG_DEBUG_SPEW.) -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6 ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: libX11-6.2.1 and pkg-config 0.23
Pedro Izecksohn wrote: > It came from http://xlibs.freedesktop.org/release/ > BTW: What is the logic behind xlibs version numbers? xlibs hasn't been used in many years - it was a brief experiment, long ago abandoned.The libraries that are currently maintained and relased are at: http://xorg.freedesktop.org/releases/individual/lib/ Most of them got version numbers starting at 1.0 when X11R7 split them into individual releases instead of just being released as part of the X11R6 monolithic release. -- -Alan Coopersmith- alan.coopersm...@sun.com Sun Microsystems, Inc. - X Window System Engineering ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: libX11-6.2.1 and pkg-config 0.23
On Thu, Feb 19, 2009 at 10:58 AM, Pedro Izecksohn wrote: > It came from http://xlibs.freedesktop.org/release/ > > BTW: What is the logic behind xlibs version numbers? Right, the old xlibs releases. You want the newer xorg releases. You can find them all here: http://xorg.freedesktop.org/releases/ Look under the individual directory to find a specific version. -- Dan ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: libX11-6.2.1 and pkg-config 0.23
It came from http://xlibs.freedesktop.org/release/ BTW: What is the logic behind xlibs version numbers? On 2/19/09, Dan Nicholson wrote: > On Thu, Feb 19, 2009 at 10:45 AM, Pedro Izecksohn > wrote: >> Who will fix it up there? Who has git write permission? >> >> How none saw this before me? The original developers did not try >> configure? > > Oh, I just looked in git and it's already been fixed for a while. It > should be in libX11-1.1.5. Where did libX11-6.2.1 come from? > > -- > Dan > ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: libX11-6.2.1 and pkg-config 0.23
On Thu, Feb 19, 2009 at 10:45 AM, Pedro Izecksohn wrote: > Who will fix it up there? Who has git write permission? > > How none saw this before me? The original developers did not try configure? Oh, I just looked in git and it's already been fixed for a while. It should be in libX11-1.1.5. Where did libX11-6.2.1 come from? -- Dan ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: libX11-6.2.1 and pkg-config 0.23
Who will fix it up there? Who has git write permission? How none saw this before me? The original developers did not try configure? This bugs affects thousands advanced users. On 2/19/09, Dan Nicholson wrote: > On Thu, Feb 19, 2009 at 12:21 AM, Pedro Izecksohn > wrote: >> In libX11-6.2.1: >> >> The configure piece below is wrong, (or pkg-config is buggy) because >> >> pkg-config --cflags xproto >> >> prints a line-feed only and keysymdef.h exists in my system and it is in >> the right place. >> >> I'm using pkg-config --version 0.23 >> >> # >> # Find keysymdef.h >> # >> KEYSYMDEF="" >> for flag in $XPROTO_CFLAGS; do >>echo checking arg "$flag" >>case "$KEYSYMDEF" in >>"") >>case "$flag" in >>-I*) >>dir="`echo "$flag" | sed 's/^-I//'`" >>file="$dir/X11/keysymdef.h" >>echo looking for "$file" >>if test -f "$file"; then >>KEYSYMDEF="$file" >>fi >>;; >>esac >>;; >>esac >> done >> case "$KEYSYMDEF" in >> "") >>{ { echo "$as_me:$LINENO: error: \"Cannot find keysymdef.h\"" >&5 >> echo "$as_me: error: \"Cannot find keysymdef.h\"" >&2;} >> { (exit 1); exit 1; }; } >>;; >> esac > > Yeah, this seems wrong. What it should do is: > > includex11dir=`$PKG_CONFIG --variable=includex11dir xproto` > KEYSYMDEF="$includex11dir/keysymdef.h" > test -f "$KEYSYMDEF" || AC_MSG_ERROR([Cannot find keysymdef.h in > $includex11dir]) > > Or something like that. > > -- > Dan > ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: libX11-6.2.1 and pkg-config 0.23
On Thu, Feb 19, 2009 at 12:21 AM, Pedro Izecksohn wrote: > In libX11-6.2.1: > > The configure piece below is wrong, (or pkg-config is buggy) because > > pkg-config --cflags xproto > > prints a line-feed only and keysymdef.h exists in my system and it is in > the right place. > > I'm using pkg-config --version 0.23 > > # > # Find keysymdef.h > # > KEYSYMDEF="" > for flag in $XPROTO_CFLAGS; do >echo checking arg "$flag" >case "$KEYSYMDEF" in >"") >case "$flag" in >-I*) >dir="`echo "$flag" | sed 's/^-I//'`" >file="$dir/X11/keysymdef.h" >echo looking for "$file" >if test -f "$file"; then >KEYSYMDEF="$file" >fi >;; >esac >;; >esac > done > case "$KEYSYMDEF" in > "") >{ { echo "$as_me:$LINENO: error: \"Cannot find keysymdef.h\"" >&5 > echo "$as_me: error: \"Cannot find keysymdef.h\"" >&2;} > { (exit 1); exit 1; }; } >;; > esac Yeah, this seems wrong. What it should do is: includex11dir=`$PKG_CONFIG --variable=includex11dir xproto` KEYSYMDEF="$includex11dir/keysymdef.h" test -f "$KEYSYMDEF" || AC_MSG_ERROR([Cannot find keysymdef.h in $includex11dir]) Or something like that. -- Dan ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: libX11-6.2.1 and pkg-config 0.23
Bill Crawford wrote: > In theory a lot of them shouldn't need to, because they're installed in a > subdirectory of /usr/include, and you're intended to include > ... I guessed that also, but couldn' get it nailed down. Anyway, it looks more like the OP's script is broken. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: libX11-6.2.1 and pkg-config 0.23
On Thursday 19 February 2009 12:09:30 Simon Thum wrote: > Sorry for the noise. I haven't found the issue, but a majority of .pc's > in my system doesn't output cflags. So it's something configuration- or > pkc-config related. In theory a lot of them shouldn't need to, because they're installed in a subdirectory of /usr/include, and you're intended to include ... ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: libX11-6.2.1 and pkg-config 0.23
Simon Thum wrote: > Pedro Izecksohn wrote: >> pkg-config --cflags xproto >> >> prints a line-feed only and keysymdef.h exists in my system and it is in >> the right place. > Same here, on my local system (gentoo + X11 overlay). In my git tree it > gives a good-looking -I arg. Sorry for the noise. I haven't found the issue, but a majority of .pc's in my system doesn't output cflags. So it's something configuration- or pkc-config related. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: libX11-6.2.1 and pkg-config 0.23
Pedro Izecksohn wrote: > pkg-config --cflags xproto > > prints a line-feed only and keysymdef.h exists in my system and it is in > the right place. Same here, on my local system (gentoo + X11 overlay). In my git tree it gives a good-looking -I arg. Though I never had problems building anything. Weird. You may try using specialized package definitions like kbproto, though that failed too on my local. A diff returns only obvious stuff (see below), so I'd say its a pkg-config related issue. James, any idea? diff /usr/lib/pkgconfig/xproto.pc ../../build/lib/pkgconfig/xproto.pc 1c1 < prefix=/usr --- > prefix=/usr/src/xorg/build 3c3 < libdir=${exec_prefix}/lib --- > libdir=/usr/src/xorg/build/lib 9c9 < Version: 7.0.13 --- > Version: 7.0.14 ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
libX11-6.2.1 and pkg-config 0.23
In libX11-6.2.1: The configure piece below is wrong, (or pkg-config is buggy) because pkg-config --cflags xproto prints a line-feed only and keysymdef.h exists in my system and it is in the right place. I'm using pkg-config --version 0.23 # # Find keysymdef.h # KEYSYMDEF="" for flag in $XPROTO_CFLAGS; do echo checking arg "$flag" case "$KEYSYMDEF" in "") case "$flag" in -I*) dir="`echo "$flag" | sed 's/^-I//'`" file="$dir/X11/keysymdef.h" echo looking for "$file" if test -f "$file"; then KEYSYMDEF="$file" fi ;; esac ;; esac done case "$KEYSYMDEF" in "") { { echo "$as_me:$LINENO: error: \"Cannot find keysymdef.h\"" >&5 echo "$as_me: error: \"Cannot find keysymdef.h\"" >&2;} { (exit 1); exit 1; }; } ;; esac The following is /usr/lib/pkgconfig/xproto.pc prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include includex11dir=${prefix}/include/X11 Name: Xproto Description: Xproto headers Version: 7.0.13 Cflags: -I${includedir} ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg