Re: Help to start

2011-05-31 Thread Jose Cortes
I would like to program,
but first I have to familiarize with the project
Is there a bug tracking tool?
Is there a task tracking tool?
is there any documentation that you can recommend me?

regards,
Jose

2011/5/31 Serhiy Stetskovych 
>
> What would you do?
>
> 2011/5/30 Jose Cortes 
>>
>> Hi all,
>> My Name is Jose and I'm from Cordoba, Argentina.
>> I'm new on this list and on the project.
>> I would like to know how can I start,
>> I can't find useful documentation on web page about how can I start.
>> Anyone could help on that?
>> Regards,
>> Jose
>> ___
>> 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: Help to start

2011-05-31 Thread Serhiy Stetskovych
What would you do?

2011/5/30 Jose Cortes 

> Hi all,
> My Name is Jose and I'm from Cordoba, Argentina.
> I'm new on this list and on the project.
> I would like to know how can I start,
> I can't find useful documentation on web page about how can I start.
> Anyone could help on that?
>
> Regards,
>
> Jose
>
> ___
> 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: building wayland without X

2011-05-31 Thread Samuel Rødal

On 05/21/2011 06:51 AM, ext Karshan Sharma wrote:

So, has anyone worked out a patch to be able to build mesa without x ?
... I was gonna start on that but didnt want to reinvent the wheel.


This seems to work:

export CFLAGS=-DMESA_EGL_NO_X11_HEADERS

./autogen.sh --prefix=$WLD --enable-gles2 --enable-gallium 
--enable-gallium-egl --with-driver=osmesa --with-egl-platforms=wayland 
--enable-gallium-llvm


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


Subject: [PATCH] Fall back to accept() on systems where accept4() is not implemented.

2011-05-31 Thread Samuel Rødal
 >From 1ee0fe1e9c30890a2c2e8b997295f74754e63a2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Samuel=20R=C3=B8dal?= 
Date: Mon, 30 May 2011 17:23:40 +0200
Subject: [PATCH] Fall back to accept() on systems where accept4() is not implemented.

---
 wayland/wayland-server.c |8 +++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/wayland/wayland-server.c b/wayland/wayland-server.c
index d30df5b..886ec69 100644
--- a/wayland/wayland-server.c
+++ b/wayland/wayland-server.c
@@ -703,8 +703,14 @@ socket_data(int fd, uint32_t mask, void *data)
 	length = sizeof name;
 	client_fd =
 		accept4(fd, (struct sockaddr *) &name, &length, SOCK_CLOEXEC);
+	if (client_fd < 0 && errno == ENOSYS) {
+		client_fd = accept(fd, (struct sockaddr *) &name, &length);
+		if (client_fd >= 0 && fcntl(client_fd, F_SETFD, FD_CLOEXEC) == -1)
+			fprintf(stderr, "failed to set FD_CLOEXEC flag on client fd, errno: %d\n", errno);
+	}
+
 	if (client_fd < 0)
-		fprintf(stderr, "failed to accept\n");
+		fprintf(stderr, "failed to accept, errno: %d\n", errno);
 
 	wl_client_create(display, client_fd);
 
-- 
1.7.1

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