diff options
author | Isaac Dunham <ibid.ag@gmail.com> | 2015-07-28 19:37:55 -0700 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-07-29 08:09:04 +0000 |
commit | 57a84278e0f1b131b66975e60e5d2ac4c2fe7f38 (patch) | |
tree | 86306058d1ebe6bb8ba64a867e5d00105ebbda93 /unmaintained/chromium/chromium-no-mit-screensaver.patch | |
parent | 15f7703cfe4b0900545a8b2799889c23d5fd0dda (diff) | |
download | aports-57a84278e0f1b131b66975e60e5d2ac4c2fe7f38.tar.bz2 aports-57a84278e0f1b131b66975e60e5d2ac4c2fe7f38.tar.xz |
unmaintained/chromium: delete
For reasons unknown to me, git send-email refuses to send this.
>From 054955df1da7503ee0536a8dae051a91aee89954 Mon Sep 17 00:00:00 2001
From: Isaac Dunham <ibid.ag@gmail.com>
Date: Tue, 28 Jul 2015 18:37:44 -0700
Subject: [PATCH] unmaintained/chromium: delete
This lives in main/chromium.
Diffstat (limited to 'unmaintained/chromium/chromium-no-mit-screensaver.patch')
-rw-r--r-- | unmaintained/chromium/chromium-no-mit-screensaver.patch | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/unmaintained/chromium/chromium-no-mit-screensaver.patch b/unmaintained/chromium/chromium-no-mit-screensaver.patch deleted file mode 100644 index 25ca29ac97..0000000000 --- a/unmaintained/chromium/chromium-no-mit-screensaver.patch +++ /dev/null @@ -1,91 +0,0 @@ ---- chromium-17.0.942.0.orig/chrome/browser/idle_query_linux.cc -+++ chromium-17.0.942.0/chrome/browser/idle_query_linux.cc -@@ -4,30 +4,12 @@ - - #include "chrome/browser/idle_query_linux.h" - --#include <X11/extensions/scrnsaver.h> --#include "ui/base/x/x11_util.h" -- - namespace browser { - - class IdleData { - public: -- IdleData() { -- int event_base; -- int error_base; -- if (XScreenSaverQueryExtension(ui::GetXDisplay(), &event_base, -- &error_base)) { -- mit_info = XScreenSaverAllocInfo(); -- } else { -- mit_info = NULL; -- } -- } -- -- ~IdleData() { -- if (mit_info) -- XFree(mit_info); -- } -- -- XScreenSaverInfo *mit_info; -+ IdleData() {} -+ ~IdleData() {} - }; - - IdleQueryLinux::IdleQueryLinux() : idle_data_(new IdleData()) {} -@@ -35,16 +17,7 @@ - IdleQueryLinux::~IdleQueryLinux() {} - - int IdleQueryLinux::IdleTime() { -- if (!idle_data_->mit_info) -- return 0; -- -- if (XScreenSaverQueryInfo(ui::GetXDisplay(), -- RootWindow(ui::GetXDisplay(), 0), -- idle_data_->mit_info)) { -- return (idle_data_->mit_info->idle) / 1000; -- } else { -- return 0; -- } -+ return 0; - } - - } // namespace browser ---- chromium-17.0.942.0.orig/chrome/chrome.gyp -+++ chromium-17.0.942.0/chrome/chrome.gyp -@@ -530,11 +530,6 @@ - 'dependencies': [ - '../build/linux/system.gyp:gtk', - ], -- 'link_settings': { -- 'libraries': [ -- '-lXss', -- ], -- }, - }], - ['OS=="linux" and chromeos==1', { - 'include_dirs': [ ---- chromium-17.0.942.0.orig/chrome/chrome_common.gypi -+++ chromium-17.0.942.0/chrome/chrome_common.gypi -@@ -257,7 +257,6 @@ - 'libraries': [ - '-lX11', - '-lXrender', -- '-lXss', - '-lXext', - ], - }, ---- chromium-17.0.942.0.orig/chrome/chrome_browser.gypi -+++ chromium-17.0.942.0/chrome/chrome_browser.gypi -@@ -4260,11 +4260,6 @@ - ], - }], - ['os_posix == 1 and OS != "mac"', { -- 'link_settings': { -- 'libraries': [ -- '-lXss', -- ], -- }, - 'conditions': [ - ['linux_breakpad==1', { - 'sources': [ |