From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E99611395E2 for ; Fri, 18 Nov 2016 07:29:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF7CCE0944; Fri, 18 Nov 2016 07:29:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D4E7EE0944 for ; Fri, 18 Nov 2016 07:29:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BBF1034100F for ; Fri, 18 Nov 2016 07:29:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9DF54489 for ; Fri, 18 Nov 2016 07:29:21 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1479454150.bc683f28f98b6ce65e2db5e8fa7c86cf02cf3dbd.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/nitrogen/, x11-misc/nitrogen/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/nitrogen/files/nitrogen-1.6.0-xinerama.patch x11-misc/nitrogen/nitrogen-1.6.0.ebuild X-VCS-Directories: x11-misc/nitrogen/ x11-misc/nitrogen/files/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: bc683f28f98b6ce65e2db5e8fa7c86cf02cf3dbd X-VCS-Branch: master Date: Fri, 18 Nov 2016 07:29:21 +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: c3984b91-8728-4511-8bcd-48d245d61689 X-Archives-Hash: 24cc35b7400aa558e243f6953e25cd08 commit: bc683f28f98b6ce65e2db5e8fa7c86cf02cf3dbd Author: Jeroen Roovers gentoo org> AuthorDate: Fri Nov 18 07:29:10 2016 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Fri Nov 18 07:29:10 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc683f28 x11-misc/nitrogen: Fix USE=-xinerama compile failure. Package-Manager: portage-2.3.2 x11-misc/nitrogen/files/nitrogen-1.6.0-xinerama.patch | 18 ++++++++++++++++++ x11-misc/nitrogen/nitrogen-1.6.0.ebuild | 4 ++++ 2 files changed, 22 insertions(+) diff --git a/x11-misc/nitrogen/files/nitrogen-1.6.0-xinerama.patch b/x11-misc/nitrogen/files/nitrogen-1.6.0-xinerama.patch new file mode 100644 index 00000000..eaf06b6 --- /dev/null +++ b/x11-misc/nitrogen/files/nitrogen-1.6.0-xinerama.patch @@ -0,0 +1,18 @@ +--- a/src/main.cc ++++ b/src/main.cc +@@ -146,6 +146,7 @@ + + if (setter_str == "xwindows") + setter = new SetBGXWindows(); ++#ifdef USE_XINERAMA + else if (setter_str == "xinerama") { + setter = new SetBGXinerama(); + +@@ -156,6 +157,7 @@ + xinerama_info = XineramaQueryScreens(GDK_DISPLAY_XDISPLAY(dpy->gobj()), &xinerama_num_screens); + ((SetBGXinerama*)setter)->set_xinerama_info(xinerama_info, xinerama_num_screens); + } ++#endif /* USE_XINERAMA */ + else if (setter_str == "gnome") + setter = new SetBGGnome(); + else if (setter_str == "pcmanfm") diff --git a/x11-misc/nitrogen/nitrogen-1.6.0.ebuild b/x11-misc/nitrogen/nitrogen-1.6.0.ebuild index c01c0bc..9f9b60a 100644 --- a/x11-misc/nitrogen/nitrogen-1.6.0.ebuild +++ b/x11-misc/nitrogen/nitrogen-1.6.0.ebuild @@ -27,6 +27,10 @@ DEPEND=" xinerama? ( x11-proto/xineramaproto ) " +PATCHES=( + "${FILESDIR}"/${P}-xinerama.patch +) + src_prepare() { default