summaryrefslogtreecommitdiffstats
path: root/xorg/xserver
diff options
context:
space:
mode:
authorPavel Vinogradov2018-12-19 21:59:25 -0500
committerPavel Vinogradov2018-12-19 22:01:32 -0500
commit8547fddb3159780b3bcc060fe8798351f8785f71 (patch)
treec3f6f2d8c709bf3372eb66a6a6b31c199ddc9b30 /xorg/xserver
parent73f3198fc9de8ce512d515af347d336a94bd9cd8 (diff)
xorg/xserver: added XWAYLAND subdependency
Diffstat (limited to 'xorg/xserver')
-rw-r--r--xorg/xserver/HISTORY3
-rwxr-xr-xxorg/xserver/PRE_SUB_DEPENDS5
-rwxr-xr-xxorg/xserver/REPAIR^all^PRE_SUB_DEPENDS5
-rwxr-xr-xxorg/xserver/REPAIR^all^SUB_DEPENDS6
-rwxr-xr-xxorg/xserver/SUB_DEPENDS6
5 files changed, 25 insertions, 0 deletions
diff --git a/xorg/xserver/HISTORY b/xorg/xserver/HISTORY
index 93a3338296..f2489ec479 100644
--- a/xorg/xserver/HISTORY
+++ b/xorg/xserver/HISTORY
@@ -1,3 +1,6 @@
+2018-12-19 Pavel Vinogradov <public@sourcemage.org>
+ * *SUB_DEPENDS: added XWAYLAND subdependency
+
2018-12-12 Pavel Vinogradov <public@sourcemage.org>
* PRE_INSTALL: actually fixed a subtle typo in is_depends_enabled call
diff --git a/xorg/xserver/PRE_SUB_DEPENDS b/xorg/xserver/PRE_SUB_DEPENDS
new file mode 100755
index 0000000000..8f2b3643fe
--- /dev/null
+++ b/xorg/xserver/PRE_SUB_DEPENDS
@@ -0,0 +1,5 @@
+case $THIS_SUB_DEPENDS in
+ XWAYLAND) [[ "${XSERVER_WAYLAND}" == "true" ]] ;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}" ;
+ return 1;;
+esac
diff --git a/xorg/xserver/REPAIR^all^PRE_SUB_DEPENDS b/xorg/xserver/REPAIR^all^PRE_SUB_DEPENDS
new file mode 100755
index 0000000000..8f2b3643fe
--- /dev/null
+++ b/xorg/xserver/REPAIR^all^PRE_SUB_DEPENDS
@@ -0,0 +1,5 @@
+case $THIS_SUB_DEPENDS in
+ XWAYLAND) [[ "${XSERVER_WAYLAND}" == "true" ]] ;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}" ;
+ return 1;;
+esac
diff --git a/xorg/xserver/REPAIR^all^SUB_DEPENDS b/xorg/xserver/REPAIR^all^SUB_DEPENDS
new file mode 100755
index 0000000000..81101ee28b
--- /dev/null
+++ b/xorg/xserver/REPAIR^all^SUB_DEPENDS
@@ -0,0 +1,6 @@
+case "$THIS_SUB_DEPENDS" in
+ XWAYLAND) message "${MESSAGE_COLOR}Forcing XWayland...${DEFAULT_COLOR}" &&
+ XSERVER_WAYLAND="true" ;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}" ;
+ return 1;;
+esac
diff --git a/xorg/xserver/SUB_DEPENDS b/xorg/xserver/SUB_DEPENDS
new file mode 100755
index 0000000000..81101ee28b
--- /dev/null
+++ b/xorg/xserver/SUB_DEPENDS
@@ -0,0 +1,6 @@
+case "$THIS_SUB_DEPENDS" in
+ XWAYLAND) message "${MESSAGE_COLOR}Forcing XWayland...${DEFAULT_COLOR}" &&
+ XSERVER_WAYLAND="true" ;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}" ;
+ return 1;;
+esac