diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-05-26 10:02:35 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-05-26 12:33:29 +0000 |
commit | d2ebbeb0294fb3970af68006117f7c7c8b64365f (patch) | |
tree | 782c902a987cc0904b9f9368aaf574bb07773d52 /x11-misc | |
parent | x11-misc/xstroke: Remove last-rited pkg (diff) | |
download | gentoo-d2ebbeb0294fb3970af68006117f7c7c8b64365f.tar.gz gentoo-d2ebbeb0294fb3970af68006117f7c7c8b64365f.tar.bz2 gentoo-d2ebbeb0294fb3970af68006117f7c7c8b64365f.zip |
x11-misc/superswitcher: Remove last-rited pkg
Closes: https://bugs.gentoo.org/782730
Closes: https://bugs.gentoo.org/774915
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-misc')
5 files changed, 0 insertions, 149 deletions
diff --git a/x11-misc/superswitcher/Manifest b/x11-misc/superswitcher/Manifest deleted file mode 100644 index ffe912262407..000000000000 --- a/x11-misc/superswitcher/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST superswitcher-0.6.tar.gz 183184 BLAKE2B c1f6abb573f34b6c2f823d66e2a7ebe0575b690823246705a7c37aa342e3776f1e2240791192af5b9544efb702925b81ec2c9f5a4ecbe868d11135224ba1d2de SHA512 7385c14537a81f3e78509ff7399e1caf84f46fae22ce844f70f7cd72c8865d3808af77229744443178da691dfbcf61cae908c2eb54ef1564c83473ed9ff6ae0b diff --git a/x11-misc/superswitcher/files/superswitcher-0.6-glib-single-include.patch b/x11-misc/superswitcher/files/superswitcher-0.6-glib-single-include.patch deleted file mode 100644 index fe3249982870..000000000000 --- a/x11-misc/superswitcher/files/superswitcher-0.6-glib-single-include.patch +++ /dev/null @@ -1,27 +0,0 @@ -Index: superswitcher-0.6/src/dbus-object.h -=================================================================== ---- superswitcher-0.6.orig/src/dbus-object.h -+++ superswitcher-0.6/src/dbus-object.h -@@ -4,7 +4,7 @@ - #ifndef SUPERSWITCHER_DBUS_OBJECT_H - #define SUPERSWITCHER_DBUS_OBJECT_H - --#include <glib/gtypes.h> -+#include <glib.h> - - #include "forward_declarations.h" - -Index: superswitcher-0.6/src/forward_declarations.h -=================================================================== ---- superswitcher-0.6.orig/src/forward_declarations.h -+++ superswitcher-0.6/src/forward_declarations.h -@@ -18,8 +18,7 @@ typedef struct _SSXineramaScreen SSXiner - #define ABNORMAL_EXIT_CODE_ANOTHER_INSTANCE_IS_RUNNING 1 - #define ABNORMAL_EXIT_CODE_UNKNOWN_COMMAND_LINE_OPTION 2 - --#include <glib/gerror.h> --#include <glib/gtypes.h> -+#include <glib.h> - gboolean superswitcher_hide_popup (void *, GError **); - gboolean superswitcher_show_popup (void *, GError **); - gboolean superswitcher_toggle_popup (void *, GError **); diff --git a/x11-misc/superswitcher/files/superswitcher-0.6-wnck-workspace.patch b/x11-misc/superswitcher/files/superswitcher-0.6-wnck-workspace.patch deleted file mode 100644 index 90919a57485b..000000000000 --- a/x11-misc/superswitcher/files/superswitcher-0.6-wnck-workspace.patch +++ /dev/null @@ -1,62 +0,0 @@ -It seems like wnck_window_is_skip_pager isn't all we need to check. - ---- superswitcher/src/screen.c -+++ superswitcher/src/screen.c -@@ -505,6 +505,7 @@ - static SSWindow * - add_window_to_screen (SSScreen *screen, WnckWindow *wnck_window) - { -+ WnckWorkspace *wnck_workspace; - SSWindow *window; - SSWorkspace *workspace; - int n; -@@ -513,7 +514,13 @@ - return NULL; - } - -- n = wnck_workspace_get_number (wnck_window_get_workspace (wnck_window)); -+ wnck_workspace = wnck_window_get_workspace (wnck_window); -+ -+ if (wnck_workspace == NULL) { -+ return NULL; -+ } -+ -+ n = wnck_workspace_get_number (wnck_workspace); - workspace = ss_screen_get_nth_workspace (screen, n); - - window = ss_window_new (workspace, wnck_window); ---- superswitcher/src/window.c -+++ superswitcher/src/window.c -@@ -254,6 +254,7 @@ - static void - on_workspace_changed (WnckWindow *wnck_window, gpointer data) - { -+ WnckWorkspace *wnck_workspace; - SSWindow *window; - SSWorkspace *old_workspace; - SSWorkspace *new_workspace; -@@ -261,12 +262,19 @@ - - window = (SSWindow *) data; - old_workspace = window->workspace; -- new_workspace_id = wnck_workspace_get_number (wnck_window_get_workspace (wnck_window)); -- new_workspace = ss_screen_get_nth_workspace (old_workspace->screen, new_workspace_id); -- - ss_workspace_remove_window (old_workspace, window); -+ -+ wnck_workspace = wnck_window_get_workspace (wnck_window); -+ if (wnck_workspace) { -+ new_workspace_id = wnck_workspace_get_number (wnck_workspace); -+ new_workspace = ss_screen_get_nth_workspace (old_workspace->screen, new_workspace_id); -+ -+ ss_workspace_add_window (new_workspace, window); -+ window->workspace = new_workspace; -+ } else { -+ window->workspace = NULL; -+ } -+ -- window->workspace = new_workspace; -- ss_workspace_add_window (new_workspace, window); - window->new_window_index = -1; - gtk_widget_queue_draw (gtk_widget_get_toplevel (window->widget)); - } diff --git a/x11-misc/superswitcher/metadata.xml b/x11-misc/superswitcher/metadata.xml deleted file mode 100644 index 496532cac021..000000000000 --- a/x11-misc/superswitcher/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> -<email>desktop-misc@gentoo.org</email> -</maintainer> -<longdescription lang="en"> -SuperSwitcher is a (more feature-ful) replacement for the Alt-Tab window -switching behavior and Ctrl-Alt-Left/Right/Up/Down workspace switching behavior -that is currently provided by Metacity. -</longdescription> -<upstream> -<remote-id type="google-code">superswitcher</remote-id> -</upstream> -</pkgmetadata> diff --git a/x11-misc/superswitcher/superswitcher-0.6-r1.ebuild b/x11-misc/superswitcher/superswitcher-0.6-r1.ebuild deleted file mode 100644 index 63e4756b5b18..000000000000 --- a/x11-misc/superswitcher/superswitcher-0.6-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools - -DESCRIPTION="A more feature-full replacement of the Alt-Tab window switching behavior" -HOMEPAGE="https://code.google.com/p/superswitcher/" -SRC_URI="https://superswitcher.googlecode.com/files/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=" - dev-libs/dbus-glib - dev-libs/glib:2 - >=gnome-base/gconf-2:2 - x11-libs/gtk+:2 - >=x11-libs/libwnck-2.10:1 - x11-libs/libXcomposite - x11-libs/libXinerama - x11-libs/libXrender" -DEPEND="${RDEPEND} - gnome-base/gnome-common - virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${P}-wnck-workspace.patch - "${FILESDIR}"/${PN}-0.6-glib-single-include.patch -) - -src_prepare() { - default - sed -i \ - -e '/-DG.*_DISABLE_DEPRECATED/d' \ - src/Makefile.am || die #338906 - - mv configure.{in,ac} || die #426262 - - eautoreconf -} |