[PATCH wayland-web] Added depencies and bug fixes to build instructions
Thierry Reding
thierry.reding at gmail.com
Wed May 21 15:09:19 PDT 2014
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.
> I'm pretty certain the result is not what the user expects. It sure
> fooled me, I wasted a lot of time trying to figure out why all my
> attempts to install or compile a package refused to change the
> version number!
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.
The help screen and the manpage exist so you don't have to guess or make
assumptions about how a program behaves or what options it takes and the
effect they have.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140522/263f5c33/attachment.sig>
More information about the wayland-devel
mailing list