Re: More problems building xserver

2013-03-04 Thread Bill Spitzak
With the posted patch and everybody's help in getting it compiled I was 
able to get x clients to work under wayland!


They all seem to be much more reliable that a few months ago. The 
applications themselves all seem to work, the mouse and keyboard all 
work correctly. They work even if they use OpenGL! (that is a bit 
mysterious...)


The window decorations are very messed up, but I think that is a known 
bug? They are partially translucent in odd areas, are missing squares at 
the corners, and have no buttons.



___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: More problems building xserver

2013-03-04 Thread Bill Spitzak
Okay it compiles now but does not work. The crash appears to be because 
it is reading unwanted junk from an existing /etc/X11/xorg.conf (which I 
can't remove because I am running real X as well!), this is the same bug 
I hit before.


I will try to recreate the patch I did before to fix this (basically 
make xserver look for xwayland.xconf instead so that both x servers can 
be configured independently). If this works I hope the patch can be 
added to the code base, or perhaps somebody could explain why this is 
not a bug that needs fixing or why my solution is wrong.


___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: More problems building xserver

2013-03-04 Thread Bill Spitzak

On 03/04/2013 12:40 PM, Daniel Stone wrote:

On 4 March 2013 12:18, Bill Spitzak mailto:spit...@gmail.com>> wrote:

On 03/04/2013 08:27 AM, Daniel Stone wrote:

git://anongit.freedesktop.org/__git/xorg/lib/libxtrans

>


No, it was in git://anongit.freedesktop.org/__xorg/lib/libxtrans



Same thing, there's a symlink.


Didn't work for me. "git clone" just says "remote connection closed" or 
something like that with every variation I found.


In any case I got it build and installed. Does not work...

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: More problems building xserver

2013-03-04 Thread Daniel Stone
On 4 March 2013 12:18, Bill Spitzak  wrote:

> On 03/04/2013 08:27 AM, Daniel Stone wrote:
>
>> git://anongit.freedesktop.org/**git/xorg/lib/libxtrans
>> 
>> >
>>
>
> No, it was in 
> git://anongit.freedesktop.org/**xorg/lib/libxtrans


Same thing, there's a symlink.

swamp81:~/tmp% git clone git://
anongit.freedesktop.org/git/xorg/lib/libxtrans
Cloning into 'libxtrans'...
remote: Counting objects: 866, done.
remote: Compressing objects: 100% (469/469), done.
remote: Total 866 (delta 584), reused 597 (delta 395)
Receiving objects: 100% (866/866), 243.89 KiB, done.
Resolving deltas: 100% (584/584), done.

That was a rather annoying waste of time guessing all variations I could,
> however I found it from cgit.freedesktop.org which is what I should have
> done first.
>
> Are there any actual rules for whether the name starts with "lib", is in a
> "lib" subdirectory, etc? Does not look like it...
>

With the exception of libxcb, they are.

Cheers,
Daniel
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: More problems building xserver

2013-03-04 Thread Bill Spitzak

On 03/04/2013 08:27 AM, Daniel Stone wrote:

git://anongit.freedesktop.org/git/xorg/lib/libxtrans



No, it was in git://anongit.freedesktop.org/xorg/lib/libxtrans

That was a rather annoying waste of time guessing all variations I 
could, however I found it from cgit.freedesktop.org which is what I 
should have done first.


Are there any actual rules for whether the name starts with "lib", is in 
a "lib" subdirectory, etc? Does not look like it...



git://anongit.freedesktop.org/xorg/proto/xineramaproto



I installed this from a package and it seems happy! Compiling xserver now...

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: More problems building xserver

2013-03-04 Thread Bill Spitzak

On 03/04/2013 09:02 AM, dar...@chaosreigns.com wrote:

On 03/03, Bill Spitzak wrote:

Requested 'xtrans >= 1.2.7' but version of XTrans is 1.2.6


What distro has xtrans v. 1.2.6?


This is Ubuntu 12.04. 12.10 does not work on my machine, which was 
extremely annoying to discover as I had to downgrade which Ubuntu really 
does not like (for some reason the install has no option to write over 
an existing installation, it either wants to split it or reformat the 
entire disk, though I managed to fool it by using the disk partitioning 
tool, but it was pretty scary...)



No package 'xineramaproto' found


The first step, assuming you aren't bent on manually compiling everything
from source, is to search for the package from your distro containing the
file "xineramaproto.pc" ("pc" stands for pkg-config, the thing throwing
this error).

On Debian based distros, this would be:

   apt-file search /xineramaproto.pc


Thanks, yes I would prefer to install a package rather than compile.

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: More problems building xserver

2013-03-04 Thread Scott Moreau
On Mon, Mar 4, 2013 at 11:08 AM, Fred Ollinger  wrote:

> If you have the binary packages, this is obviously quicker, but I
> found that the easiest thing to do is to google the name plus "source
> code" and I usually found the source.
>
> I stuff all the deps into /opt/wayland which wound up (for most
> packages) to be quicker than tracking down the right vers of pre-build
> binaries.
>
> Fred
>

I've found the easiest way is to use packages.ubuntu.com and search for the
filename under 'Search the contents of packages'. You can get the name of
the package in ubuntu repos which should also serve as a hint for other
distros.

- Scott
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: More problems building xserver

2013-03-04 Thread Fred Ollinger
If you have the binary packages, this is obviously quicker, but I
found that the easiest thing to do is to google the name plus "source
code" and I usually found the source.

I stuff all the deps into /opt/wayland which wound up (for most
packages) to be quicker than tracking down the right vers of pre-build
binaries.

Fred

On Sun, Mar 3, 2013 at 10:08 PM, Bill Spitzak  wrote:
> With the newest version I am able to get wayland and weston to compile to
> working forms, but attempting to compile xserver fails.
>
> I am using a slightly modified version of this to compile:
>  http://www.chaosreigns.com/wayland/buildscript/
>
> The script is attempting to build the xwayland-1.12 branch of
> git://anongit.freedesktop.org/xorg/xserver.
>
> xserver configure fails with this error:
>
> Requested 'xtrans >= 1.2.7' but version of XTrans is 1.2.6
> No package 'xineramaproto' found
>
> I'm guessing that these two packages also need to be compiled, but have not
> had any luck in guessing the git repository names. It is also possible the
> wrong xserver branch is being used?
>
> This is not a huge deal but I did get the x server to work once, and it
> would be nice to test it against any window management experiements.
> ___
> wayland-devel mailing list
> wayland-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: More problems building xserver

2013-03-04 Thread darxus
On 03/03, Bill Spitzak wrote:
> Requested 'xtrans >= 1.2.7' but version of XTrans is 1.2.6

What distro has xtrans v. 1.2.6?  

> No package 'xineramaproto' found

The first step, assuming you aren't bent on manually compiling everything
from source, is to search for the package from your distro containing the
file "xineramaproto.pc" ("pc" stands for pkg-config, the thing throwing
this error).

On Debian based distros, this would be:

  apt-file search /xineramaproto.pc

(You may need to do "apt-get install apt-file && apt-file update" first.)

I have some dependency info in
http://www.chaosreigns.com/code/buildtest/dl/buildtest.wayland-master.conf
from http://www.chaosreigns.com/code/buildtest/
I'm getting xtrans and xineramaproto from Debian testing / wheezy packages.

-- 
"All that is necessary for evil to triumph is for good men to do nothing"
- War and Peace (film series)
http://www.ChaosReigns.com
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: More problems building xserver

2013-03-04 Thread Daniel Stone
git://anongit.freedesktop.org/git/xorg/lib/libxtrans
git://anongit.freedesktop.org/xorg/proto/xineramaproto

Alternately, get the tarballs from http://www.x.org/archive/individual/


On 3 March 2013 22:08, Bill Spitzak  wrote:

> With the newest version I am able to get wayland and weston to compile to
> working forms, but attempting to compile xserver fails.
>
> I am using a slightly modified version of this to compile:
>  
> http://www.chaosreigns.com/**wayland/buildscript/
>
> The script is attempting to build the xwayland-1.12 branch of git://
> anongit.freedesktop.org/**xorg/xserver
> .
>
> xserver configure fails with this error:
>
> Requested 'xtrans >= 1.2.7' but version of XTrans is 1.2.6
> No package 'xineramaproto' found
>
> I'm guessing that these two packages also need to be compiled, but have
> not had any luck in guessing the git repository names. It is also possible
> the wrong xserver branch is being used?
>
> This is not a huge deal but I did get the x server to work once, and it
> would be nice to test it against any window management experiements.
> __**_
> wayland-devel mailing list
> wayland-devel@lists.**freedesktop.org
> http://lists.freedesktop.org/**mailman/listinfo/wayland-devel
>
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More problems building xserver

2013-03-03 Thread Bill Spitzak
With the newest version I am able to get wayland and weston to compile 
to working forms, but attempting to compile xserver fails.


I am using a slightly modified version of this to compile:
 http://www.chaosreigns.com/wayland/buildscript/

The script is attempting to build the xwayland-1.12 branch of 
git://anongit.freedesktop.org/xorg/xserver.


xserver configure fails with this error:

Requested 'xtrans >= 1.2.7' but version of XTrans is 1.2.6
No package 'xineramaproto' found

I'm guessing that these two packages also need to be compiled, but have 
not had any luck in guessing the git repository names. It is also 
possible the wrong xserver branch is being used?


This is not a huge deal but I did get the x server to work once, and it 
would be nice to test it against any window management experiements.

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel