Skip to contentSkip to conversation

weston: drop version 1.6 customizations

PATCH New Denys Dmytriyenko 1 participant 1 message Mar 23, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 weston: drop version 1.6 customizations

From: Denys Dmytriyenko <[email protected]>

---
 .../conf/distro/include/arago-prefs.inc            |  5 --
 ...v-seat-restrict-udev-enumeration-to-card0.patch | 37 -------------
 ...abling-DRM-backend-with-multiple-displays.patch | 60 ----------------------
 .../wayland/weston-1.6.0/ti43x/weston.ini          | 13 -----
 .../wayland/weston-1.6.0/wayland_env.sh            | 13 -----
 .../wayland/weston-1.6.0/weston.ini                | 10 ----
 .../recipes-graphics/wayland/weston_1.6.0.bbappend | 25 ---------
 7 files changed, 163 deletions(-)
 delete mode 100644 meta-arago-distro/recipes-graphics/wayland/weston-1.6.0/0001-udev-seat-restrict-udev-enumeration-to-card0.patch
 delete mode 100644 meta-arago-distro/recipes-graphics/wayland/weston-1.6.0/0001-weston-Enabling-DRM-backend-with-multiple-displays.patch
 delete mode 100644 meta-arago-distro/recipes-graphics/wayland/weston-1.6.0/ti43x/weston.ini
 delete mode 100644 meta-arago-distro/recipes-graphics/wayland/weston-1.6.0/wayland_env.sh
 delete mode 100644 meta-arago-distro/recipes-graphics/wayland/weston-1.6.0/weston.ini
 delete mode 100644 meta-arago-distro/recipes-graphics/wayland/weston_1.6.0.bbappend
meta-arago-distro/conf/distro/include/arago-prefs.inc +0 -5
index e301bad..8acd156 100644
@@ -102,11 +102,6 @@ PREFERRED_VERSION_gettext = "0.16.1"
 PREFERRED_VERSION_elfutils = "0.148"
 PREFERRED_VERSION_m4 = "1.4.9"
 
-PREFERRED_PROVIDER_weston-conf = "weston"
-PREFERRED_VERSION_wayland = "1.6.0"
-PREFERRED_VERSION_weston = "1.6.0"
-PREFERRED_VERSION_libinput = "0.7.0"
-
 PREFERRED_PROVIDER_wpa-supplicant = "wpa-supplicant"
 PREFERRED_PROVIDER_wpa-supplicant_ti33x = "wpa-supplicant-wl18xx"
 PREFERRED_PROVIDER_wpa-supplicant_ti43x = "wpa-supplicant-wl18xx"
meta-arago-distro/recipes-graphics/wayland/weston-1.6.0/0001-udev-seat-restrict-udev-enumeration-to-card0.patch deleted +0 -37
deleted file mode 100644
index 515f06c..0000000
@@ -1,37 +0,0 @@
-From e8e7a9f7dfa164a75fdbdca87622a2e13334478a Mon Sep 17 00:00:00 2001
-From: Anand Balagopalakrishnan <[email protected]>
-Date: Sat, 23 Jan 2016 22:48:07 +0530
-Subject: [PATCH 1/1] udev-seat: restrict udev enumeration to card0
-
-In case of separate GPU and Display devices as found in embedded systems, we
-could have modeset node and render node controlled by different drivers.
-There is a distinct possibility that udev enumeration returns the DRM device
-corresponding to render node as the primary DRM device.
-
-Obviously, modeset operations cannot be done on the GPU DRM device.
-
-Restrict the udev enumeration to card0 and ensure that DRM device corresponding
-to display is returned as the primary DRM device.
-
-Upstream-Status: Pending
-
-Signed-off-by: Anand Balagopalakrishnan <[email protected]>
----
- src/compositor-drm.c |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/compositor-drm.c b/src/compositor-drm.c
-index 6777bf8..59c2cc5 100644
---- a/src/compositor-drm.c
-+++ b/src/compositor-drm.c
-@@ -2827,7 +2827,7 @@ find_primary_gpu(struct drm_backend *b, const char *seat)
-
-	e = udev_enumerate_new(b->udev);
-	udev_enumerate_add_match_subsystem(e, "drm");
--	udev_enumerate_add_match_sysname(e, "card[0-9]*");
-+	udev_enumerate_add_match_sysname(e, "card0");
-
-	udev_enumerate_scan_devices(e);
-	drm_device = NULL;
---
-1.7.9.5
meta-arago-distro/recipes-graphics/wayland/weston-1.6.0/0001-weston-Enabling-DRM-backend-with-multiple-displays.patch deleted +0 -60

60 lines not on this page · raw message

meta-arago-distro/recipes-graphics/wayland/weston-1.6.0/ti43x/weston.ini deleted +0 -13
deleted file mode 100644
index b2b7927..0000000
@@ -1,13 +0,0 @@
-[shell]
-locking=false
-animation=zoom
-panel-location=top
-startup-animation=fade
-
-[screensaver]
-# Uncomment path to disable screensaver
-#path=@libexecdir@/weston-screensaver
-
-[output]
-name=HDMI1
-mode=1024x768
meta-arago-distro/recipes-graphics/wayland/weston-1.6.0/wayland_env.sh deleted +0 -13
deleted file mode 100644
index b885337..0000000
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-### Wayland Environment Variables ###
-
-export XDG_CONFIG_HOME=/etc/
-export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
-export WAYLAND_DISPLAY=wayland-0
-export WS_CALUDEV_FILE=/etc/udev/rules.d/ws-calibrate.rules
-
-if ! test -d "${XDG_RUNTIME_DIR}"; then
-       mkdir -p "${XDG_RUNTIME_DIR}"
-       chmod 0700 "${XDG_RUNTIME_DIR}"
-fi
meta-arago-distro/recipes-graphics/wayland/weston-1.6.0/weston.ini deleted +0 -10
deleted file mode 100644
index 615a604..0000000
@@ -1,10 +0,0 @@
-[shell]
-locking=false
-animation=zoom
-panel-location=top
-startup-animation=fade
-
-[screensaver]
-# Uncomment path to disable screensaver
-#path=@libexecdir@/weston-screensaver
-
meta-arago-distro/recipes-graphics/wayland/weston_1.6.0.bbappend deleted +0 -25
deleted file mode 100644
index 916ab88..0000000
@@ -1,25 +0,0 @@
-# When configured for fbdev compositor, make it the default
-PACKAGECONFIG[fbdev] = "--enable-fbdev-compositor WESTON_NATIVE_BACKEND="fbdev-backend.so",--disable-fbdev-compositor,udev mtdev"
-PACKAGECONFIG[kms] = "--enable-drm-compositor,--disable-drm-compositor,drm udev libgbm mtdev"
-
-PR_append = "-arago10"
-
-FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:${THISDIR}/${PN}:"
-
-SRC_URI += "file://wayland_env.sh \
-            file://weston.ini \
-            file://0001-weston-Enabling-DRM-backend-with-multiple-displays.patch \
-            file://0001-udev-seat-restrict-udev-enumeration-to-card0.patch \
-"
-
-# Add custom Arago Wayland Environment script file
-do_install_append () {
-    install -d ${D}${sysconfdir}/profile.d
-    install -m 0644 ${WORKDIR}/weston.ini ${D}${sysconfdir}
-    install -m 0644 ${WORKDIR}/wayland_env.sh ${D}${sysconfdir}/profile.d/
-}
-
-PACKAGES += "${PN}-conf"
-
-FILES_${PN}-conf += "${sysconfdir}/profile.d/* ${sysconfdir}/weston.ini"
-RDEPENDS_${PN} += "${PN}-conf"
Signature · 1 line
2.2.0