From c35b466d140236534863b36cbdc3f7e5ce9740f8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 20 Oct 2013 07:36:01 +0200 Subject: [PATCH] New package: mutter-wayland-3.10.1. --- common/shlibs | 1 + .../mutter-wayland-3.10.0.1-logfile.patch | 17 ++++++++ srcpkgs/mutter-wayland/template | 42 +++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 srcpkgs/mutter-wayland/patches/mutter-wayland-3.10.0.1-logfile.patch create mode 100644 srcpkgs/mutter-wayland/template diff --git a/common/shlibs b/common/shlibs index 39ec28b027b..f4a0b19021d 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1419,3 +1419,4 @@ libcacard.so.0 libcacard-1.6.1_1 libxcb-cursor.so.0 xcb-util-cursor-0.1.0_1 libgldi.so.3 libgldi-3.3.1_1 libevdev.so.1 libevdev-0.4_1 +libmutter-wayland.so.0 mutter-wayland-3.10.1_1 diff --git a/srcpkgs/mutter-wayland/patches/mutter-wayland-3.10.0.1-logfile.patch b/srcpkgs/mutter-wayland/patches/mutter-wayland-3.10.0.1-logfile.patch new file mode 100644 index 00000000000..44cea81a67d --- /dev/null +++ b/srcpkgs/mutter-wayland/patches/mutter-wayland-3.10.0.1-logfile.patch @@ -0,0 +1,17 @@ +--- src/wayland/meta-xwayland.c.jx 2013-09-16 16:40:46.000000000 -0400 ++++ src/wayland/meta-xwayland.c 2013-10-02 13:37:57.027318760 -0400 +@@ -380,11 +380,9 @@ meta_xwayland_start (MetaWaylandComposit + args[3] = "-rootless"; + args[4] = "-retro"; + args[5] = "-noreset"; +- args[6] = "-logfile"; +- args[7] = g_build_filename (g_get_user_cache_dir (), "xwayland.log", NULL); +- args[8] = "-nolisten"; +- args[9] = "all"; +- args[10] = NULL; ++ args[6] = "-nolisten"; ++ args[7] = "all"; ++ args[8] = NULL; + + error = NULL; + if (g_spawn_async (NULL, /* cwd */ diff --git a/srcpkgs/mutter-wayland/template b/srcpkgs/mutter-wayland/template new file mode 100644 index 00000000000..e764a02f5b6 --- /dev/null +++ b/srcpkgs/mutter-wayland/template @@ -0,0 +1,42 @@ +# Template file for 'mutter-wayland' +pkgname=mutter-wayland +version=3.10.1 +revision=1 +build_style=gnu-configure +configure_args="--disable-schemas-compile --disable-static" +hostmakedepends="pkg-config intltool gnome-doc-utils gobject-introspection" +makedepends="gtk+3-devel>=3.10 startup-notification-devel libcanberra-devel + clutter-devel>=1.16.0_3 gsettings-desktop-schemas-devel>=3.10 libSM-devel + dbus-glib-devel upower-devel gnome-desktop-devel>=3.10 systemd-devel + zenity desktop-file-utils" +short_desc="GNOME Lightweight GTK+3 window manager for Wayland" +maintainer="Juan RP " +homepage="http://www.gnome.org" +license="GPL-2" +distfiles="${GNOME_SITE}/$pkgname/3.10/$pkgname-$version.tar.xz" +checksum=bdb6bcc25791309256b09ec9aa7e0be311ef311778450aafccb86caf2753b6b4 + +post_install() { + # provided by mutter. + rm -r ${DESTDIR}/usr/share/{man,gtk-doc,GConf,gnome-control-center} + rm ${DESTDIR}/usr/share/glib-2.0/schemas/org.gnome.mutter.gschema.xml +} + +mutter-wayland-devel_package() { + short_desc+=" - development files" + depends="gsettings-desktop-schemas-devel gtk+3-devel + clutter-devel>=1.16.0_3 wayland-devel libX11-devel + ${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.so" + vmove usr/lib/pkgconfig + } +} + +mutter-wayland_package() { + depends="zenity>=3.8 desktop-file-utils" + pkg_install() { + vmove all + } +}