summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-04-14 10:30:02 +0300
committerMarius Vlad <marius.vlad@collabora.com>2022-04-14 10:51:48 +0300
commitb1006c97511b6e6ed3b92bacab61c42be13f458b (patch)
treefefdaa14c2b3876880061d4aedf0d14601c0cb83
parent69bda7298f3ee3199fb338aa533369ce66b83e49 (diff)
script/agl-activator: No need for the script
Script is no longer needed. Running it as the regular user (agl-driver) will no longer need this script. Bug-AGL: SPEC-4324 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: If7bcb035039b1e45d842b5fa75144ee82edf91f1
-rw-r--r--meson.build10
-rwxr-xr-xscript/agl-activator27
2 files changed, 0 insertions, 37 deletions
diff --git a/meson.build b/meson.build
index 7455aea..0a56242 100644
--- a/meson.build
+++ b/meson.build
@@ -114,13 +114,3 @@ exe_wth_receiver = executable(
install_rpath: binplugin_dir,
install: true
)
-
-cp = find_program('cp')
-script_target = custom_target('install_script',
- command: [ cp, '@INPUT@', '@OUTPUT@' ],
- output : 'agl-activator',
- input : 'script/agl-activator',
- install : true,
- install_dir: binplugin_dir,
-)
-
diff --git a/script/agl-activator b/script/agl-activator
deleted file mode 100755
index b8fd20f..0000000
--- a/script/agl-activator
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/bash
-#
-# Copyright 2021 Collabora, Ltd.
-#
-# Permission is hereby granted, free of charge, to any person obtaining
-# a copy of this software and associated documentation files (the
-# "Software"), to deal in the Software without restriction, including
-# without limitation the rights to use, copy, modify, merge, publish,
-# distribute, sublicense, and/or sell copies of the Software, and to
-# permit persons to whom the Software is furnished to do so, subject to
-# the following conditions:
-#
-# The above copyright notice and this permission notice (including the
-# next paragraph) shall be included in all copies or substantial
-# portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
-# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
-# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-# SOFTWARE.
-#
-
-XDG_RUNTIME_DIR=/run/platform/display /usr/bin/agl-shell-activator $1