From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-943882-garchives=archives.gentoo.org@lists.gentoo.org>
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 770D0139694
	for <garchives@archives.gentoo.org>; Wed, 12 Apr 2017 20:15:05 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id EE57EE0C94;
	Wed, 12 Apr 2017 20:15:03 +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 B790CE0C94
	for <gentoo-commits@lists.gentoo.org>; Wed, 12 Apr 2017 20:15:03 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 6F0FF34112A
	for <gentoo-commits@lists.gentoo.org>; Wed, 12 Apr 2017 20:15:02 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id B4B3A742C
	for <gentoo-commits@lists.gentoo.org>; Wed, 12 Apr 2017 20:15:00 +0000 (UTC)
From: "Jeroen Roovers" <jer@gentoo.org>
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" <jer@gentoo.org>
Message-ID: <1492028098.403a8f6b51b86d0ef614c1aa590b3e10b4fca89a.jer@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/ratpoison/
X-VCS-Repository: repo/gentoo
X-VCS-Files: x11-wm/ratpoison/Manifest x11-wm/ratpoison/metadata.xml x11-wm/ratpoison/ratpoison-1.4.9.ebuild x11-wm/ratpoison/ratpoison-9999.ebuild
X-VCS-Directories: x11-wm/ratpoison/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 403a8f6b51b86d0ef614c1aa590b3e10b4fca89a
X-VCS-Branch: master
Date: Wed, 12 Apr 2017 20:15:00 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: b7e6176e-8c96-4b7b-b0eb-d8f50a05e822
X-Archives-Hash: 5bb1709c464f6ec8440cdec618c3fc3c

commit:     403a8f6b51b86d0ef614c1aa590b3e10b4fca89a
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 12 20:14:29 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Apr 12 20:14:58 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=403a8f6b

x11-wm/ratpoison: Version bump.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 x11-wm/ratpoison/Manifest                          |  1 +
 x11-wm/ratpoison/metadata.xml                      |  1 +
 ...atpoison-9999.ebuild => ratpoison-1.4.9.ebuild} | 37 +++++++++++++---------
 x11-wm/ratpoison/ratpoison-9999.ebuild             | 25 ++++++++++-----
 4 files changed, 41 insertions(+), 23 deletions(-)

diff --git a/x11-wm/ratpoison/Manifest b/x11-wm/ratpoison/Manifest
index e6ffb24851b..c0552ec7185 100644
--- a/x11-wm/ratpoison/Manifest
+++ b/x11-wm/ratpoison/Manifest
@@ -1 +1,2 @@
 DIST ratpoison-1.4.8.tar.xz 364700 SHA256 da4695636d1fce8883ef2144d79ce46ebb0431a5da02440bd1ffec5dca17a0f0 SHA512 10b44489e60d3186ca407a5bd87e23dbd737cdafee22ea7284ac4db8bb4463081af483460d1899161fbae2973f4d25fbd1bfd354e3ffb59735baf69bbd6f94f6 WHIRLPOOL 53e087a28e685f7667ecbf2302db3df88382ac5840c898b3b8e7954f5c6de3b6f6928e8d021df30e5562991dab5c1c1b810556abc8fdef8979ffc062dd144426
+DIST ratpoison-1.4.9.tar.xz 315584 SHA256 d98fa4be025ecca453c407ff311ab3949f29f20d6d8abedf8f0716b85fc8d1f1 SHA512 97f705efd2092b8e12528496890c59f613e6fcec010aca94a5a59bd641e22dfc50dd500a4b94af7a07553a8a6359f6bec4eee0db1a7ded29d7f051904b09beef WHIRLPOOL 719aa36dce28b1cd0614e0e994f4109c3ade0d32fef7a295530f0c760c8bd3864b67ee3d2b5d9d45c89e059000721d0f564f40b33086c458f0a6df5876140e40

diff --git a/x11-wm/ratpoison/metadata.xml b/x11-wm/ratpoison/metadata.xml
index 652fb6eaaa8..00627b34957 100644
--- a/x11-wm/ratpoison/metadata.xml
+++ b/x11-wm/ratpoison/metadata.xml
@@ -18,5 +18,6 @@
 <use>
 	<flag name="history">Use <pkg>sys-libs/readline</pkg> for history handling</flag>
 	<flag name="sloppy">Install sloppy, a focus-follows-mouse implementation for ratpoison</flag>
+	<flag name="xrandr">Enable support for XRandR</flag>
 </use>
 </pkgmetadata>

diff --git a/x11-wm/ratpoison/ratpoison-9999.ebuild b/x11-wm/ratpoison/ratpoison-1.4.9.ebuild
similarity index 72%
copy from x11-wm/ratpoison/ratpoison-9999.ebuild
copy to x11-wm/ratpoison/ratpoison-1.4.9.ebuild
index 0353bcb130d..f0c2e4dc948 100644
--- a/x11-wm/ratpoison/ratpoison-9999.ebuild
+++ b/x11-wm/ratpoison/ratpoison-1.4.9.ebuild
@@ -1,52 +1,59 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit autotools elisp-common eutils git-r3 toolchain-funcs
+EAPI=6
+inherit elisp-common eutils toolchain-funcs
 
 DESCRIPTION="window manager without mouse dependency"
 HOMEPAGE="http://www.nongnu.org/ratpoison/"
-EGIT_REPO_URI="git://git.savannah.nongnu.org/ratpoison.git"
+SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.xz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS=""
-IUSE="debug emacs +history sloppy +xft"
+KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="debug emacs +history sloppy +xft +xrandr"
 
 RDEPEND="
 	emacs? ( virtual/emacs )
 	history? ( sys-libs/readline:= )
 	xft? ( x11-libs/libXft )
+	xrandr? ( x11-libs/libXrandr )
 	virtual/perl-Pod-Parser
-	x11-libs/libXinerama
 	x11-libs/libXtst
 "
 DEPEND="
 	${RDEPEND}
-	app-arch/xz-utils
 	virtual/pkgconfig
+	x11-proto/randrproto
+	x11-proto/xproto
 "
 
 SITEFILE=50ratpoison-gentoo.el
-DOCS=( AUTHORS ChangeLog NEWS README TODO )
-
-src_prepare() {
-	epatch "${FILESDIR}"/ratpoison.el-gentoo.patch
-	eautoreconf
-}
+DOCS=(
+	AUTHORS
+	ChangeLog
+	NEWS
+	README
+	TODO
+)
+
+PATCHES=(
+	"${FILESDIR}"/ratpoison.el-gentoo.patch
+)
 
 src_configure() {
 	econf \
 		$(use_enable debug) \
 		$(use_enable history) \
 		$(use_with xft) \
+		$(use_with xrandr) \
 		--without-electric-fence
 }
 
 src_compile() {
 	emake CFLAGS="${CFLAGS}"
 	if use emacs; then
-		elisp-compile contrib/ratpoison.el || die "elisp-compile failed"
+		elisp-compile contrib/ratpoison.el || die
 	fi
 
 	if use sloppy; then

diff --git a/x11-wm/ratpoison/ratpoison-9999.ebuild b/x11-wm/ratpoison/ratpoison-9999.ebuild
index 0353bcb130d..568ee3d06f2 100644
--- a/x11-wm/ratpoison/ratpoison-9999.ebuild
+++ b/x11-wm/ratpoison/ratpoison-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 inherit autotools elisp-common eutils git-r3 toolchain-funcs
 
 DESCRIPTION="window manager without mouse dependency"
@@ -11,27 +11,35 @@ EGIT_REPO_URI="git://git.savannah.nongnu.org/ratpoison.git"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS=""
-IUSE="debug emacs +history sloppy +xft"
+IUSE="debug emacs +history sloppy +xft +xrandr"
 
 RDEPEND="
 	emacs? ( virtual/emacs )
 	history? ( sys-libs/readline:= )
 	xft? ( x11-libs/libXft )
+	xrandr? ( x11-libs/libXrandr )
 	virtual/perl-Pod-Parser
-	x11-libs/libXinerama
 	x11-libs/libXtst
 "
 DEPEND="
 	${RDEPEND}
-	app-arch/xz-utils
 	virtual/pkgconfig
+	x11-proto/randrproto
+	x11-proto/xproto
 "
 
 SITEFILE=50ratpoison-gentoo.el
-DOCS=( AUTHORS ChangeLog NEWS README TODO )
+DOCS=(
+	AUTHORS
+	ChangeLog
+	NEWS
+	README
+	TODO
+)
 
 src_prepare() {
-	epatch "${FILESDIR}"/ratpoison.el-gentoo.patch
+	eapply "${FILESDIR}"/ratpoison.el-gentoo.patch
+
 	eautoreconf
 }
 
@@ -40,13 +48,14 @@ src_configure() {
 		$(use_enable debug) \
 		$(use_enable history) \
 		$(use_with xft) \
+		$(use_with xrandr) \
 		--without-electric-fence
 }
 
 src_compile() {
 	emake CFLAGS="${CFLAGS}"
 	if use emacs; then
-		elisp-compile contrib/ratpoison.el || die "elisp-compile failed"
+		elisp-compile contrib/ratpoison.el || die
 	fi
 
 	if use sloppy; then