diff options
author | Greg Tourte <artourter@gmail.com> | 2021-05-27 19:50:08 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-06-01 21:46:58 +0700 |
commit | 069fbd946c653b93632a8a9423132146e290c1cb (patch) | |
tree | d7e4de3f473b6939a83c5ba5e19f95b2784f781f /network | |
parent | 62b8da35ffdb1744a4e5310b238bb29ba5e298ae (diff) |
network/skypeforlinux: Remove skype-dbus-mock workaround.
This is not necessary anymore with elogind in current
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
4 files changed, 0 insertions, 51 deletions
diff --git a/network/skypeforlinux/skype-dbus-mock/org.freedesktop.login1.service b/network/skypeforlinux/skype-dbus-mock/org.freedesktop.login1.service deleted file mode 100644 index 74a520e572294..0000000000000 --- a/network/skypeforlinux/skype-dbus-mock/org.freedesktop.login1.service +++ /dev/null @@ -1,4 +0,0 @@ -[D-BUS Service] -Name=org.freedesktop.login1 -Exec=/usr/bin/skype-dbus-mock -User=root diff --git a/network/skypeforlinux/skype-dbus-mock/skype-dbus-mock.conf b/network/skypeforlinux/skype-dbus-mock/skype-dbus-mock.conf deleted file mode 100644 index 4d8287a7a9f2d..0000000000000 --- a/network/skypeforlinux/skype-dbus-mock/skype-dbus-mock.conf +++ /dev/null @@ -1,12 +0,0 @@ -<!DOCTYPE busconfig PUBLIC - "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" - "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> -<busconfig> - <policy user="root"> - <allow own="org.freedesktop.login1"/> - </policy> - <policy context="default"> - <allow send_destination="org.freedesktop.login1"/> - <allow send_interface="org.freedesktop.login1.Manager"/> - </policy> -</busconfig> diff --git a/network/skypeforlinux/skype-dbus-mock/skype-dbus-mock.py b/network/skypeforlinux/skype-dbus-mock/skype-dbus-mock.py deleted file mode 100644 index cc220844b4c82..0000000000000 --- a/network/skypeforlinux/skype-dbus-mock/skype-dbus-mock.py +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env python -import os -from gi.repository import GLib -import dbus -import dbus.service -import dbus.types -import dbus.mainloop.glib - - -class FakeLoginManager(dbus.service.Object): - - @dbus.service.method("org.freedesktop.login1.Manager", - in_signature='ssss', out_signature='h') - def Inhibit(self, what, who, why, mode): - r, w = os.pipe() - return dbus.types.UnixFd(w) - - -if __name__ == '__main__': - dbus.mainloop.glib.DBusGMainLoop(set_as_default=True) - - system_bus = dbus.SystemBus() - bus_name = dbus.service.BusName("org.freedesktop.login1", system_bus) - obj = FakeLoginManager(system_bus, '/org/freedesktop/login1') - - mainloop = GLib.MainLoop() - mainloop.run() diff --git a/network/skypeforlinux/skypeforlinux.SlackBuild b/network/skypeforlinux/skypeforlinux.SlackBuild index 8bbd4863a6b5e..4f9a4c187d287 100644 --- a/network/skypeforlinux/skypeforlinux.SlackBuild +++ b/network/skypeforlinux/skypeforlinux.SlackBuild @@ -67,14 +67,6 @@ find -L . \ rm -rf $PKG/opt -# https://github.com/maelnor/skype-dbus-mock -install -Dm 644 $CWD/skype-dbus-mock/skype-dbus-mock.conf \ - $PKG/usr/share/dbus-1/system.d/skype-dbus-mock.conf -install -Dm 644 $CWD/skype-dbus-mock/org.freedesktop.login1.service \ - $PKG/usr/share/dbus-1/system-services/org.freedesktop.login1.service -install -Dm 755 $CWD/skype-dbus-mock/skype-dbus-mock.py \ - $PKG/usr/bin/skype-dbus-mock - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mv $PKG/usr/share/$PRGNAM/LICENSE* $PKG/usr/doc/$PRGNAM-$VERSION mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION |