[wayland-web] Updated additional dependencies for a cleaner Ubuntu 12.04 LTS system.

Submitted by Jon A. Cruz on Oct. 27, 2014, 7:25 a.m.

Details

Message ID 1414394705-29721-1-git-send-email-jon@joncruz.org
State Superseded
Headers show

Not browsing as part of any series.

Commit Message

Jon A. Cruz Oct. 27, 2014, 7:25 a.m.
---
 ubuntu12.04.html | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/ubuntu12.04.html b/ubuntu12.04.html
index 804433e..7576fd4 100644
--- a/ubuntu12.04.html
+++ b/ubuntu12.04.html
@@ -15,7 +15,8 @@  Building Weston on Ubuntu 12.04</h1>
 XWayland on an Ubuntu 12.04 LTS system, on May 23rd, 2014. This system had
 previously been used to compile Xlib programs, and thus already had
 some dependencies (such as git, the compiler, and X11 header files)
-installed.</p>
+installed. Dependencies were last updated from a successful build
+on October 20th, 2014.</p>
 
 <p>Parallel make (<code>make -j 9</code>) will probably work on all
 packages but only the ones shown were compiled this way.</p>
@@ -39,6 +40,7 @@  mkdir -p $ACLOCAL_PATH
 
 <span class="comment"># dependencies for libwayland:</span>
 sudo apt-get install doxygen <span class="comment"># or use --disable-documentation</span>
+sudo apt-get install xmlto <span class="comment"># or use --disable-documentation</span>
 
 <span class="comment"># libwayland-*:</span>
 git clone git://anongit.freedesktop.org/wayland/wayland
@@ -253,6 +255,12 @@  cd libxkbfile
 make &amp;&amp; make install
 cd ..
 
+git clone git://anongit.freedesktop.org/xorg/proto/scrnsaverproto
+cd scrnsaverproto
+./autogen.sh --prefix=$WLD
+make &amp;&amp; make install
+cd ..
+
 <span class="comment"># XWayland:</span>
 git clone git://anongit.freedesktop.org/xorg/xserver
 cd xserver

Comments

Reviewed-by: Bryce Harrington <b.harrington@samsung.com>

On Mon, Oct 27, 2014 at 12:25:05AM -0700, Jon A. Cruz wrote:
> ---
>  ubuntu12.04.html | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/ubuntu12.04.html b/ubuntu12.04.html
> index 804433e..7576fd4 100644
> --- a/ubuntu12.04.html
> +++ b/ubuntu12.04.html
> @@ -15,7 +15,8 @@ Building Weston on Ubuntu 12.04</h1>
>  XWayland on an Ubuntu 12.04 LTS system, on May 23rd, 2014. This system had
>  previously been used to compile Xlib programs, and thus already had
>  some dependencies (such as git, the compiler, and X11 header files)
> -installed.</p>
> +installed. Dependencies were last updated from a successful build
> +on October 20th, 2014.</p>
>  
>  <p>Parallel make (<code>make -j 9</code>) will probably work on all
>  packages but only the ones shown were compiled this way.</p>
> @@ -39,6 +40,7 @@ mkdir -p $ACLOCAL_PATH
>  
>  <span class="comment"># dependencies for libwayland:</span>
>  sudo apt-get install doxygen <span class="comment"># or use --disable-documentation</span>
> +sudo apt-get install xmlto <span class="comment"># or use --disable-documentation</span>
>  
>  <span class="comment"># libwayland-*:</span>
>  git clone git://anongit.freedesktop.org/wayland/wayland
> @@ -253,6 +255,12 @@ cd libxkbfile
>  make &amp;&amp; make install
>  cd ..
>  
> +git clone git://anongit.freedesktop.org/xorg/proto/scrnsaverproto
> +cd scrnsaverproto
> +./autogen.sh --prefix=$WLD
> +make &amp;&amp; make install
> +cd ..
> +
>  <span class="comment"># XWayland:</span>
>  git clone git://anongit.freedesktop.org/xorg/xserver
>  cd xserver
> -- 
> 1.7.12
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
Looks good to me!

I'll check if this is also needed for the 14.04 instructions. Probably 
it is.

Also when I did these instructions, I just wrote what I found worked by 
pretty much blind searching. I am wondering if I missed some method to 
compile all known "xorg/proto" stuff in one step. I notice that xcb 
support seems to compile all it's prototypes in one step. Anybody 
familiar with the X code base know if I missed something?

On 10/27/2014 12:25 AM, Jon A. Cruz wrote:
> ---
>   ubuntu12.04.html | 10 +++++++++-
>   1 file changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/ubuntu12.04.html b/ubuntu12.04.html
> index 804433e..7576fd4 100644
> --- a/ubuntu12.04.html
> +++ b/ubuntu12.04.html
> @@ -15,7 +15,8 @@ Building Weston on Ubuntu 12.04</h1>
>   XWayland on an Ubuntu 12.04 LTS system, on May 23rd, 2014. This system had
>   previously been used to compile Xlib programs, and thus already had
>   some dependencies (such as git, the compiler, and X11 header files)
> -installed.</p>
> +installed. Dependencies were last updated from a successful build
> +on October 20th, 2014.</p>
>
>   <p>Parallel make (<code>make -j 9</code>) will probably work on all
>   packages but only the ones shown were compiled this way.</p>
> @@ -39,6 +40,7 @@ mkdir -p $ACLOCAL_PATH
>
>   <span class="comment"># dependencies for libwayland:</span>
>   sudo apt-get install doxygen <span class="comment"># or use --disable-documentation</span>
> +sudo apt-get install xmlto <span class="comment"># or use --disable-documentation</span>
>
>   <span class="comment"># libwayland-*:</span>
>   git clone git://anongit.freedesktop.org/wayland/wayland
> @@ -253,6 +255,12 @@ cd libxkbfile
>   make &amp;&amp; make install
>   cd ..
>
> +git clone git://anongit.freedesktop.org/xorg/proto/scrnsaverproto
> +cd scrnsaverproto
> +./autogen.sh --prefix=$WLD
> +make &amp;&amp; make install
> +cd ..
> +
>   <span class="comment"># XWayland:</span>
>   git clone git://anongit.freedesktop.org/xorg/xserver
>   cd xserver
>
On Mon, Oct 27, 2014, at 11:39 AM, Bill Spitzak wrote:
> Looks good to me!
> 
> I'll check if this is also needed for the 14.04 instructions. Probably 
> it is.


Uh oh. I targeted the wrong file, as this was actually against 14.04.
Just hard coordinating this code from a hospital waiting room with poor
wifi (aka difficult to ssh back to my Linux box).

Should I clean up and resubmit?
On Mon, Oct 27, 2014 at 11:39:39AM -0700, Bill Spitzak wrote:
> Looks good to me!
> 
> I'll check if this is also needed for the 14.04 instructions. Probably it
> is.
> 
> Also when I did these instructions, I just wrote what I found worked by
> pretty much blind searching. I am wondering if I missed some method to
> compile all known "xorg/proto" stuff in one step. I notice that xcb support
> seems to compile all it's prototypes in one step. Anybody familiar with the
> X code base know if I missed something?

xcb has all protocol headers in one repository, in X they're separate
repositories so you have to build them separately.

Cheers,
   Peter

> 
> On 10/27/2014 12:25 AM, Jon A. Cruz wrote:
> >---
> >  ubuntu12.04.html | 10 +++++++++-
> >  1 file changed, 9 insertions(+), 1 deletion(-)
> >
> >diff --git a/ubuntu12.04.html b/ubuntu12.04.html
> >index 804433e..7576fd4 100644
> >--- a/ubuntu12.04.html
> >+++ b/ubuntu12.04.html
> >@@ -15,7 +15,8 @@ Building Weston on Ubuntu 12.04</h1>
> >  XWayland on an Ubuntu 12.04 LTS system, on May 23rd, 2014. This system had
> >  previously been used to compile Xlib programs, and thus already had
> >  some dependencies (such as git, the compiler, and X11 header files)
> >-installed.</p>
> >+installed. Dependencies were last updated from a successful build
> >+on October 20th, 2014.</p>
> >
> >  <p>Parallel make (<code>make -j 9</code>) will probably work on all
> >  packages but only the ones shown were compiled this way.</p>
> >@@ -39,6 +40,7 @@ mkdir -p $ACLOCAL_PATH
> >
> >  <span class="comment"># dependencies for libwayland:</span>
> >  sudo apt-get install doxygen <span class="comment"># or use --disable-documentation</span>
> >+sudo apt-get install xmlto <span class="comment"># or use --disable-documentation</span>
> >
> >  <span class="comment"># libwayland-*:</span>
> >  git clone git://anongit.freedesktop.org/wayland/wayland
> >@@ -253,6 +255,12 @@ cd libxkbfile
> >  make &amp;&amp; make install
> >  cd ..
> >
> >+git clone git://anongit.freedesktop.org/xorg/proto/scrnsaverproto
> >+cd scrnsaverproto
> >+./autogen.sh --prefix=$WLD
> >+make &amp;&amp; make install
> >+cd ..
> >+
> >  <span class="comment"># XWayland:</span>
> >  git clone git://anongit.freedesktop.org/xorg/xserver
> >  cd xserver
> >
> _______________________________________________
> wayland-devel mailing list
> wayland-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
On 10/27/2014 01:44 PM, Jon A. Cruz wrote:
> On Mon, Oct 27, 2014, at 11:39 AM, Bill Spitzak wrote:
>> Looks good to me!
>>
>> I'll check if this is also needed for the 14.04 instructions. Probably
>> it is.
>
>
> Uh oh. I targeted the wrong file, as this was actually against 14.04.
> Just hard coordinating this code from a hospital waiting room with poor
> wifi (aka difficult to ssh back to my Linux box).
>
> Should I clean up and resubmit?

I just checked and the 14.04 instructions have --disable-documentation, 
which is why they worked (they also have the screen saver proto files 
that you added).

Probably it would be best if the 14.04 instructions built the 
documentation, since patching that up is something a new developer might 
do first.

I still have the 12 machine so I can try building on that and see if 
this is needed.
On Mon, 27 Oct 2014 22:05:55 -0700
Bill Spitzak <spitzak@gmail.com> wrote:

> On 10/27/2014 01:44 PM, Jon A. Cruz wrote:
> > On Mon, Oct 27, 2014, at 11:39 AM, Bill Spitzak wrote:
> >> Looks good to me!
> >>
> >> I'll check if this is also needed for the 14.04 instructions. Probably
> >> it is.
> >
> >
> > Uh oh. I targeted the wrong file, as this was actually against 14.04.
> > Just hard coordinating this code from a hospital waiting room with poor
> > wifi (aka difficult to ssh back to my Linux box).
> >
> > Should I clean up and resubmit?
> 
> I just checked and the 14.04 instructions have --disable-documentation, 
> which is why they worked (they also have the screen saver proto files 
> that you added).
> 
> Probably it would be best if the 14.04 instructions built the 
> documentation, since patching that up is something a new developer might 
> do first.
> 
> I still have the 12 machine so I can try building on that and see if 
> this is needed.

I take it that this patch was superseded by the two later patches from
Bill.


Thanks,
pq
On 11/11/2014 04:40 AM, Pekka Paalanen wrote:
> On Mon, 27 Oct 2014 22:05:55 -0700
> Bill Spitzak <spitzak@gmail.com> wrote:
>
>> On 10/27/2014 01:44 PM, Jon A. Cruz wrote:
>>> On Mon, Oct 27, 2014, at 11:39 AM, Bill Spitzak wrote:
>>>> Looks good to me!
>>>>
>>>> I'll check if this is also needed for the 14.04 instructions. Probably
>>>> it is.
>>>
>>>
>>> Uh oh. I targeted the wrong file, as this was actually against 14.04.
>>> Just hard coordinating this code from a hospital waiting room with poor
>>> wifi (aka difficult to ssh back to my Linux box).
>>>
>>> Should I clean up and resubmit?
>>
>> I just checked and the 14.04 instructions have --disable-documentation,
>> which is why they worked (they also have the screen saver proto files
>> that you added).
>>
>> Probably it would be best if the 14.04 instructions built the
>> documentation, since patching that up is something a new developer might
>> do first.
>>
>> I still have the 12 machine so I can try building on that and see if
>> this is needed.
>
> I take it that this patch was superseded by the two later patches from
> Bill.

Yes