summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorCarles Pagès <page@cubata.homelinux.net>2013-01-08 23:21:36 +0100
committerCarles Pagès <page@cubata.homelinux.net>2013-01-08 23:21:36 +0100
commita53a7bc0e43284166c08786f6cd0cb2a1305f71e (patch)
tree9e4e1b08316e3746e70e87aaeb637d0e05a99c8c /pkgs
parent7d591c23b39df3259010c8bef247b875beb3f4d5 (diff)
downloadnixpkgs-a53a7bc0e43284166c08786f6cd0cb2a1305f71e.tar
nixpkgs-a53a7bc0e43284166c08786f6cd0cb2a1305f71e.tar.gz
nixpkgs-a53a7bc0e43284166c08786f6cd0cb2a1305f71e.tar.bz2
nixpkgs-a53a7bc0e43284166c08786f6cd0cb2a1305f71e.tar.lz
nixpkgs-a53a7bc0e43284166c08786f6cd0cb2a1305f71e.tar.xz
nixpkgs-a53a7bc0e43284166c08786f6cd0cb2a1305f71e.tar.zst
nixpkgs-a53a7bc0e43284166c08786f6cd0cb2a1305f71e.zip
Update wayland and weston to 1.0.3.
I also removed the screenshooter-client-protocol patch as this was fixed
upstream.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/window-managers/weston/default.nix5
-rw-r--r--pkgs/applications/window-managers/weston/screenshooter-client-protocol_h.patch72
-rw-r--r--pkgs/development/libraries/wayland/default.nix4
3 files changed, 4 insertions, 77 deletions
diff --git a/pkgs/applications/window-managers/weston/default.nix b/pkgs/applications/window-managers/weston/default.nix
index c8919c1064b..e4a4ee5a75a 100644
--- a/pkgs/applications/window-managers/weston/default.nix
+++ b/pkgs/applications/window-managers/weston/default.nix
@@ -2,18 +2,17 @@
 , cairo, libxcb, libXcursor, x11, udev, libdrm2_4_39, mtdev
 , libjpeg, pam, autoconf, automake, libtool }:
 
-let version = "1.0.2"; in
+let version = "1.0.3"; in
 
 stdenv.mkDerivation rec {
   name = "weston-${version}";
 
   src = fetchurl {
     url = "http://wayland.freedesktop.org/releases/${name}.tar.xz";
-    sha256 = "1496l8hmpxx7pivdpp14pv0hi30q18dmnaxz471v9jiqsnnrr11k";
+    sha256 = "0ls8w1l8k9fx0hjlw7qzjb98l911agigf5s2dna3xsjlyv9afdii";
   };
 
   patches = [
-    ./screenshooter-client-protocol_h.patch
     ./makefile.patch
   ];
 
diff --git a/pkgs/applications/window-managers/weston/screenshooter-client-protocol_h.patch b/pkgs/applications/window-managers/weston/screenshooter-client-protocol_h.patch
deleted file mode 100644
index 1f528dcf9d0..00000000000
--- a/pkgs/applications/window-managers/weston/screenshooter-client-protocol_h.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-diff --git a/clients/screenshooter-client-protocol.h b/clients/screenshooter-client-protocol.h
-new file mode 100644
-index 0000000..8782ca1
---- /dev/null
-+++ b/clients/screenshooter-client-protocol.h
-@@ -0,0 +1,66 @@
-+#ifndef SCREENSHOOTER_CLIENT_PROTOCOL_H
-+#define SCREENSHOOTER_CLIENT_PROTOCOL_H
-+
-+#ifdef  __cplusplus
-+extern "C" {
-+#endif
-+
-+#include <stdint.h>
-+#include <stddef.h>
-+#include "wayland-client.h"
-+
-+struct wl_client;
-+struct wl_resource;
-+
-+struct screenshooter;
-+
-+extern const struct wl_interface screenshooter_interface;
-+
-+struct screenshooter_listener {
-+	/**
-+	 * done - (none)
-+	 */
-+	void (*done)(void *data,
-+		     struct screenshooter *screenshooter);
-+};
-+
-+static inline int
-+screenshooter_add_listener(struct screenshooter *screenshooter,
-+			   const struct screenshooter_listener *listener, void *data)
-+{
-+	return wl_proxy_add_listener((struct wl_proxy *) screenshooter,
-+				     (void (**)(void)) listener, data);
-+}
-+
-+#define SCREENSHOOTER_SHOOT	0
-+
-+static inline void
-+screenshooter_set_user_data(struct screenshooter *screenshooter, void *user_data)
-+{
-+	wl_proxy_set_user_data((struct wl_proxy *) screenshooter, user_data);
-+}
-+
-+static inline void *
-+screenshooter_get_user_data(struct screenshooter *screenshooter)
-+{
-+	return wl_proxy_get_user_data((struct wl_proxy *) screenshooter);
-+}
-+
-+static inline void
-+screenshooter_destroy(struct screenshooter *screenshooter)
-+{
-+	wl_proxy_destroy((struct wl_proxy *) screenshooter);
-+}
-+
-+static inline void
-+screenshooter_shoot(struct screenshooter *screenshooter, struct wl_output *output, struct wl_buffer *buffer)
-+{
-+	wl_proxy_marshal((struct wl_proxy *) screenshooter,
-+			 SCREENSHOOTER_SHOOT, output, buffer);
-+}
-+
-+#ifdef  __cplusplus
-+}
-+#endif
-+
-+#endif
diff --git a/pkgs/development/libraries/wayland/default.nix b/pkgs/development/libraries/wayland/default.nix
index 79576569e19..1b774adfb37 100644
--- a/pkgs/development/libraries/wayland/default.nix
+++ b/pkgs/development/libraries/wayland/default.nix
@@ -1,13 +1,13 @@
 { stdenv, fetchurl, pkgconfig, libffi, expat, doxygen }:
 
-let version = "1.0.2"; in
+let version = "1.0.3"; in
 
 stdenv.mkDerivation rec {
   name = "wayland-${version}";
 
   src = fetchurl {
     url = "http://wayland.freedesktop.org/releases/${name}.tar.xz";
-    sha256 = "0q2p83s2c7l5n6yzii3f2r6wrl3bd99d0v0fai21pb4jwijmxq71";
+    sha256 = "04sr7bl1f0qk837qpc9zpxirkgvlp3pval3326mbld553ghmxgpn";
   };
 
   buildInputs = [ pkgconfig libffi expat doxygen ];