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

2014-05-24 Thread Pekka Paalanen
On Fri, 23 May 2014 11:59:33 -0700 Bill Spitzak wrote: > On 05/22/2014 09:06 AM, Bill Spitzak wrote: > > >> Cairo was included in the guide probably because distributions > >> had varying configurations wrt. enabling GL or GLESv2 support, > >> and because the GL/GLESv2 code was new and in develo

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

2014-05-23 Thread Bill Spitzak
On 05/22/2014 09:06 AM, Bill Spitzak wrote: Cairo was included in the guide probably because distributions had varying configurations wrt. enabling GL or GLESv2 support, and because the GL/GLESv2 code was new and in development. If we drop the need for cairo-gl/glesv2, we can drop Cairo and Pixm

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

2014-05-23 Thread Thierry Reding
On Thu, May 22, 2014 at 09:35:23AM -0700, Bill Spitzak wrote: > 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 cons

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

2014-05-22 Thread Peter Hutterer
On Thu, May 22, 2014 at 09:35:23AM -0700, Bill Spitzak wrote: > 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 cons

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

2014-05-22 Thread Bill Spitzak
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 --m

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

2014-05-22 Thread Bill Spitzak
I started out using a script somebody wrote to build on Debian. But I had to edit it considerably as dependencies changed and eventually I reverted to pretty much cut & paste of the configure lines. It also installed about 100 packages, many of which were not needed (either unused or because I

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

2014-05-22 Thread Bill Spitzak
On 05/22/2014 12:01 AM, Pekka Paalanen wrote: It looks about right to me. Mesa should stay, because quite probably many distributions do not yet enable Wayland support in it, and we might still get development there. Xserver needs to stay, because 1.16 has not been released yet, it receives acti

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

2014-05-22 Thread Jasper St. Pierre
It's # yum install 'pkgconfig(foo)'; not # yum install 'pkg-config(foo)' The inconsistent hyphenation is annoying. On Thu, May 22, 2014 at 6:15 AM, Peter Hutterer wrote: > On Thu, May 22, 2014 at 09:14:30AM +0200, Thierry Reding wrote: > > On Thu, May 22, 2014 at 09:25:40AM +0300, Pekka Paalane

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

2014-05-22 Thread Bill Spitzak
On 05/21/2014 03:24 PM, Peter Hutterer wrote: On Tue, May 20, 2014 at 07:58:59AM -0400, Jasper St. Pierre wrote: Fedora has this built-in: # yum install 'pkgconfig(laalaa.pc)' And that becomes a pretty generic guide on "How to build software", so if there is a site which already explains al

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

2014-05-22 Thread Peter Hutterer
On Thu, May 22, 2014 at 09:14:30AM +0200, Thierry Reding wrote: > On Thu, May 22, 2014 at 09:25:40AM +0300, Pekka Paalanen wrote: > > On Thu, 22 May 2014 00:18:23 +0200 > > Thierry Reding wrote: > > > > > On Wed, May 21, 2014 at 12:30:18PM +0300, Pekka Paalanen wrote: > > > > On Tue, 20 May 2014

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

2014-05-22 Thread Thierry Reding
On Thu, May 22, 2014 at 09:25:40AM +0300, Pekka Paalanen wrote: > On Thu, 22 May 2014 00:18:23 +0200 > Thierry Reding wrote: > > > On Wed, May 21, 2014 at 12:30:18PM +0300, Pekka Paalanen wrote: > > > On Tue, 20 May 2014 13:12:32 -0700 Bill Spitzak wrote: > > [...] > > > > I have to tell you tha

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

2014-05-22 Thread Pekka Paalanen
On Wed, 21 May 2014 12:17:29 -0700 Bill Spitzak wrote: > On 05/21/2014 02:30 AM, Pekka Paalanen wrote: > > > Yeah, nowadays Weston can work with a released version of xkbcommon, so > > we could remove the git-clone part, and have a link to its home page. > > > > Collecting links to depended-on p

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

2014-05-21 Thread Pekka Paalanen
On Thu, 22 May 2014 00:18:23 +0200 Thierry Reding wrote: > On Wed, May 21, 2014 at 12:30:18PM +0300, Pekka Paalanen wrote: > > On Tue, 20 May 2014 13:12:32 -0700 Bill Spitzak wrote: > [...] > > > I have to tell you that such one-line-at-a-time cut & paste is > > > unbelievably tedious, and my b

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

2014-05-21 Thread Pekka Paalanen
On Thu, 22 May 2014 08:24:04 +1000 Peter Hutterer wrote: > > And that becomes a pretty generic guide on "How > > to build software", so if there is a site which already explains all > > these basics, we can link to it, but I don't think we should write that > > guide on the Wayland site. > > > >

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

2014-05-21 Thread Peter Hutterer
On Tue, May 20, 2014 at 07:58:59AM -0400, Jasper St. Pierre wrote: > Fedora has this built-in: > > # yum install 'pkgconfig(laalaa.pc)' > > And that becomes a pretty generic guide on "How > to build software", so if there is a site which already explains all > these basics, we can link to it, b

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

2014-05-21 Thread Thierry Reding
On Wed, May 21, 2014 at 12:30:18PM +0300, Pekka Paalanen wrote: > On Tue, 20 May 2014 13:12:32 -0700 Bill Spitzak wrote: [...] > > I have to tell you that such one-line-at-a-time cut & paste is > > unbelievably tedious, and my biggest screwups when trying this on a > > second machine was when I

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

2014-05-21 Thread Thierry Reding
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 ve

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

2014-05-21 Thread Thierry Reding
On Wed, May 21, 2014 at 12:17:29PM -0700, Bill Spitzak wrote: > On 05/21/2014 02:30 AM, Pekka Paalanen wrote: [...] > >Would that not cause the main build guide to become a mixture of > >apt-get, emerge, yum, pacman, aptitude etc. commands? Where the > >complete set of commands would never work on

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

2014-05-21 Thread Bill Spitzak
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

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

2014-05-21 Thread Thierry Reding
On Tue, May 20, 2014 at 01:12:32PM -0700, Bill Spitzak wrote: [...] > The biggest hint would be to print something with the word "pkg-config" in > it. Then I would have the secret password that would lead me to a man page > that would tell me what is going on. > > Please print the package name the

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

2014-05-21 Thread Bill Spitzak
On 05/21/2014 02:30 AM, Pekka Paalanen wrote: But pkg-config is *the* standard way of finding build dependencies during a build. How can you not know about it? I never used it before and have not encountered it until I tried to compile freedesktop.org stuff. Configure was done by testing fo

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

2014-05-21 Thread Bill Spitzak
On 05/20/2014 11:23 PM, Peter Hutterer wrote: pkg-config has an awful lot of bugs and gnu-isms, fixing them would help: 1. If I type "pkg-config --verision foo" I want the version of foo. Or an error message. Don't print the pkg-config version. Holy crap. 2. Add an option to print where it foun

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

2014-05-21 Thread Pekka Paalanen
On Tue, 20 May 2014 13:12:32 -0700 Bill Spitzak wrote: > On 05/19/2014 11:55 PM, Pekka Paalanen wrote: > > > What is the target audience of the build guide? > > Somebody who wants to contribute to wayland. > > I have been writing Linux software in C/C++ and OpenGL for about 20 > years now, in

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

2014-05-20 Thread Peter Hutterer
On Tue, May 20, 2014 at 01:12:32PM -0700, Bill Spitzak wrote: > On 05/19/2014 11:55 PM, Pekka Paalanen wrote: > > >What is the target audience of the build guide? > > Somebody who wants to contribute to wayland. > > I have been writing Linux software in C/C++ and OpenGL for about 20 years > now,

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

2014-05-20 Thread Bill Spitzak
On 05/19/2014 11:55 PM, Pekka Paalanen wrote: What is the target audience of the build guide? Somebody who wants to contribute to wayland. I have been writing Linux software in C/C++ and OpenGL for about 20 years now, including making my own autoconf scripts. I have to tell you that these d

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

2014-05-20 Thread Jasper St. Pierre
On Tue, May 20, 2014 at 2:55 AM, Pekka Paalanen wrote: > On Mon, 19 May 2014 20:31:28 -0700 > Bill Spitzak wrote: > > > > > > > On 05/19/2014 12:39 AM, Pekka Paalanen wrote: > > > On Fri, 16 May 2014 13:43:50 -0700 > > > spit...@gmail.com wrote: > > > > > >> From: spitzak > > >> > > >> This is

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

2014-05-19 Thread Pekka Paalanen
On Mon, 19 May 2014 20:31:28 -0700 Bill Spitzak wrote: > > > On 05/19/2014 12:39 AM, Pekka Paalanen wrote: > > On Fri, 16 May 2014 13:43:50 -0700 > > spit...@gmail.com wrote: > > > >> From: spitzak > >> > >> This is based on several experimental runs on two different > >> Ubuntu 12.04 machines

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

2014-05-19 Thread Bill Spitzak
On 05/19/2014 12:39 AM, Pekka Paalanen wrote: On Fri, 16 May 2014 13:43:50 -0700 spit...@gmail.com wrote: From: spitzak This is based on several experimental runs on two different Ubuntu 12.04 machines. Latest version includes instructions for a recent update of Mesa (which requires llvm-3.

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

2014-05-19 Thread Bill Spitzak
On 05/19/2014 12:43 AM, Pekka Paalanen wrote: Oh, in fact there would be room for quite much of splitting here, like the -boxing and adding $ to commands could be a separate patch, and therefore much easier to get in while the rest may still be discussed. Changes are to be split into patches ba

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

2014-05-19 Thread Pekka Paalanen
On Mon, 19 May 2014 10:39:54 +0300 Pekka Paalanen wrote: > On Fri, 16 May 2014 13:43:50 -0700 > spit...@gmail.com wrote: > > > From: spitzak > > > > This is based on several experimental runs on two different > > Ubuntu 12.04 machines. Latest version includes instructions for > > a recent upda

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

2014-05-19 Thread Pekka Paalanen
On Fri, 16 May 2014 13:43:50 -0700 spit...@gmail.com wrote: > From: spitzak > > This is based on several experimental runs on two different > Ubuntu 12.04 machines. Latest version includes instructions for > a recent update of Mesa (which requires llvm-3.1) and that you > must compile Cairo to a

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

2014-05-16 Thread spitzak
From: spitzak This is based on several experimental runs on two different Ubuntu 12.04 machines. Latest version includes instructions for a recent update of Mesa (which requires llvm-3.1) and that you must compile Cairo to avoid bugs in the system-supplied version. --- building.html | 378 +