From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9E48E139A83 for ; Sun, 13 Sep 2015 11:56:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49640E07F5; Sun, 13 Sep 2015 11:56:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D3661E07F5 for ; Sun, 13 Sep 2015 11:56:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7B437340685 for ; Sun, 13 Sep 2015 11:56:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E4E2C17C for ; Sun, 13 Sep 2015 11:55:59 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1442145269.096e2a949ecadd5a4fdf3731249431c57414fbcb.perfinion@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: xfce-base/xfce4-settings/files/, xfce-base/xfce4-settings/ X-VCS-Repository: repo/gentoo X-VCS-Files: xfce-base/xfce4-settings/files/xfce4-settings-4.12.0-HDMI-power-cycling.patch xfce-base/xfce4-settings/xfce4-settings-4.12.0-r1.ebuild X-VCS-Directories: xfce-base/xfce4-settings/ xfce-base/xfce4-settings/files/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 096e2a949ecadd5a4fdf3731249431c57414fbcb X-VCS-Branch: master Date: Sun, 13 Sep 2015 11:55:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0ea816b5-977b-48b5-8395-5ef4b17c0ce2 X-Archives-Hash: 72e9ff39ef7f25ad39f9070076694b41 commit: 096e2a949ecadd5a4fdf3731249431c57414fbcb Author: Jason Zaman gentoo org> AuthorDate: Sun Sep 13 11:53:59 2015 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sun Sep 13 11:54:29 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=096e2a94 xfce-base/xfce4-settings: fix HDMI power cycling bug Thanks to Micke Eriksson for testing Gentoo-Bug: https://bugs.gentoo.org/553896 Package-Manager: portage-2.2.20.1 .../xfce4-settings-4.12.0-HDMI-power-cycling.patch | 15 ++++++ .../xfce4-settings/xfce4-settings-4.12.0-r1.ebuild | 55 ++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/xfce-base/xfce4-settings/files/xfce4-settings-4.12.0-HDMI-power-cycling.patch b/xfce-base/xfce4-settings/files/xfce4-settings-4.12.0-HDMI-power-cycling.patch new file mode 100644 index 0000000..895dd58 --- /dev/null +++ b/xfce-base/xfce4-settings/files/xfce4-settings-4.12.0-HDMI-power-cycling.patch @@ -0,0 +1,15 @@ +From https://bugzilla.xfce.org/show_bug.cgi?id=11107#c3 + +diff --git a/xfsettingsd/displays.c b/xfsettingsd/displays.c +index 3497804..449500b 100644 +--- a/xfsettingsd/displays.c ++++ b/xfsettingsd/displays.c +@@ -368,7 +368,7 @@ xfce_displays_helper_reload (XfceDisplaysHelper *helper) + xfsettings_dbg (XFSD_DEBUG_DISPLAYS, "Refreshing RandR cache."); + + /* Free the caches */ +- g_ptr_array_unref (helper->outputs); ++ g_ptr_array_free (helper->outputs, TRUE); + g_ptr_array_unref (helper->crtcs); + + gdk_error_trap_push (); diff --git a/xfce-base/xfce4-settings/xfce4-settings-4.12.0-r1.ebuild b/xfce-base/xfce4-settings/xfce4-settings-4.12.0-r1.ebuild new file mode 100644 index 0000000..562a627 --- /dev/null +++ b/xfce-base/xfce4-settings/xfce4-settings-4.12.0-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit xfconf + +DESCRIPTION="Configuration system for the Xfce desktop environment" +HOMEPAGE="http://www.xfce.org/projects/" +SRC_URI="mirror://xfce/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux" +IUSE="debug libcanberra libinput libnotify upower +xklavier" + +RDEPEND=">=dev-libs/dbus-glib-0.100 + >=dev-libs/glib-2.24 + media-libs/fontconfig + >=x11-libs/gtk+-2.20:2 + x11-libs/libX11 + >=x11-libs/libXcursor-1.1 + >=x11-libs/libXi-1.3 + >=x11-libs/libXrandr-1.2 + >=xfce-base/garcon-0.2 + >=xfce-base/exo-0.8 + >=xfce-base/libxfce4ui-4.11 + >=xfce-base/libxfce4util-4.11 + >=xfce-base/xfconf-4.10 + libcanberra? ( >=media-libs/libcanberra-0.25[sound] ) + libinput? ( x11-drivers/xf86-input-libinput ) + libnotify? ( >=x11-libs/libnotify-0.7 ) + upower? ( || ( >=sys-power/upower-0.9.23 sys-power/upower-pm-utils ) ) + xklavier? ( >=x11-libs/libxklavier-5 )" +DEPEND="${RDEPEND} + dev-util/intltool + virtual/pkgconfig + sys-devel/gettext + >=x11-proto/inputproto-1.4 + x11-proto/xproto" + +pkg_setup() { + XFCONF=( + $(use_enable upower upower-glib) + $(use_enable libinput xorg-libinput) + $(use_enable libnotify) + $(use_enable xklavier libxklavier) + $(use_enable libcanberra sound-settings) + $(xfconf_use_debug) + ) + + DOCS=( AUTHORS ChangeLog NEWS TODO ) + + PATCHES=( "${FILESDIR}/${P}-HDMI-power-cycling.patch" ) +}