[PATCH wayland-web] Added depencies and bug fixes to build instructions

Bill Spitzak spitzak at gmail.com
Thu May 22 09:35:23 PDT 2014


On 05/21/2014 03:09 PM, Thierry Reding wrote:
> On Wed, May 21, 2014 at 02:54:36PM -0700, Bill Spitzak wrote:
>> On 05/21/2014 02:16 PM, Thierry Reding wrote:
>>
>>> While I agree with the other points, I think it's perfectly consistent
>>> for --version to output the version of pkg-config itself. There's
>>> --modversion if you want to query the version of a given package.
>>
>> It's fine that "pkg-config --version" prints the version of pkg-config.
>>
>> My complaint is that "pkg-config --version xyz" does the exact same thing,
>> completely ignoring the "xyz"!
>
> Even that is completely consistent. I've tried a number of binaries on
> my system and they all behave in exactly the same way. gcc, ar, gdb, ld,
> libtool and even chromium ignore anything that follows --version.

That's exactly the bogus excuse I expect to get to dismiss my bug 
report, thanks.

That is however bulls**t. The computer is our slave, not the other way 
around. Doing exactly what nobody in their right mind would expect is 
not being helpful, no matter how "logical" it is.

All I want is an error that says "you probably wanted to use 
--modversion". If other gnu software acts like you say (gcc does not) 
they should be fixed to complain about the unnecessary extra arguments.

> When I use a program that I've never used before I tend to go read the
> manpage or at least see if there's anything interesting in the --help
> output. If you run pkg-config --help or look at the manpage it clearly
> states that --version will output the version of pkg-config. It also
> says that --modversion will output the version for a package.

Of course I used --help and the man page, or I would not have gotten as 
far as trying --version. The help and man page mention "modversion" 
exactly once. They then use the word "version" and "VERSION" about 1000 
times. It also does not help that about 2/3 of the time they use the 
word "package" and only about 1/3 of the time they use the word 
"module". Technically you are correct but there is not a chance in hell 
that anybody will read and remember it correctly. It is just like the 
Emacs help, which is like playing zork, in that technically you have 
everything you need but only if you read and memorized every help 
message you saw since you started the program.



More information about the wayland-devel mailing list