public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/sway/
Date: Wed, 28 Dec 2016 00:18:20 +0000 (UTC)	[thread overview]
Message-ID: <1482883571.01498eed4ebe67212c6f60617612c5bdc9f5316e.monsieurp@gentoo> (raw)

commit:     01498eed4ebe67212c6f60617612c5bdc9f5316e
Author:     Mykyta Holubakha <hilobakho <AT> gmail <DOT> com>
AuthorDate: Tue Dec 27 21:12:32 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Dec 28 00:06:11 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01498eed

dev-libs/sway: update live ebuild.

add depend on sys-libs/libcap

add cap_sys_ptrace capability to usr/bin/sway

do not strip -g flag
Closes: https://github.com/gentoo/gentoo/pull/3257

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 dev-libs/sway/sway-9999.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-libs/sway/sway-9999.ebuild b/dev-libs/sway/sway-9999.ebuild
index dfed231..c68703d 100644
--- a/dev-libs/sway/sway-9999.ebuild
+++ b/dev-libs/sway/sway-9999.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=6
 
-inherit git-r3 eutils cmake-utils
+inherit git-r3 eutils cmake-utils fcaps
 
 DESCRIPTION="i3-compatible Wayland window manager"
 HOMEPAGE="http://swaywm.org/"
@@ -22,6 +22,7 @@ RDEPEND="=dev-libs/wlc-9999[systemd=]
 		dev-libs/libinput
 		x11-libs/libxkbcommon
 		dev-libs/wayland
+		sys-libs/libcap
 		x11-libs/pango
 		x11-libs/cairo
 		swaylock? ( virtual/pam )
@@ -35,7 +36,7 @@ src_prepare() {
 	default
 
 	# remove bad CFLAGS that upstream is trying to add
-	sed -i -e '/FLAGS.*-Werror/d' -e '/FLAGS.*-g/d' CMakeLists.txt || die
+	sed -i -e '/FLAGS.*-Werror/d' CMakeLists.txt || die
 }
 
 src_configure() {
@@ -63,7 +64,10 @@ src_install() {
 	use !systemd && fperms u+s /usr/bin/sway
 }
 
+FILECAPS=( cap_sys_ptrace usr/bin/sway )
+
 pkg_postinst() {
+	fcaps_pkg_postinst
 	if use swaygrab
 	then
 		optfeature "swaygrab screenshot support" media-gfx/imagemagick[png]


             reply	other threads:[~2016-12-28  0:18 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-28  0:18 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-02-22 22:54 [gentoo-commits] repo/gentoo:master commit in: dev-libs/sway/ Aaron Bauman
2019-02-19  0:21 Matthew Thode
2019-02-13  0:04 Aaron Bauman
2019-02-13  0:04 Aaron Bauman
2019-02-13  0:04 Aaron Bauman
2019-02-09  2:24 Matthew Thode
2019-02-09  2:23 Matthew Thode
2018-12-02  0:27 Aaron Bauman
2018-12-01 17:49 Aaron Bauman
2018-12-01 17:49 Aaron Bauman
2018-11-08 22:12 Patrice Clement
2018-11-08 22:12 Patrice Clement
2018-11-08 22:12 Patrice Clement
2018-10-22 22:20 Andreas Sturmlechner
2018-05-05 21:47 Aaron Bauman
2018-05-05 21:47 Aaron Bauman
2018-05-05 21:47 Aaron Bauman
2018-01-13 22:17 David Seifert
2018-01-13 22:17 David Seifert
2017-12-19 21:45 Thomas Deutschmann
2017-11-12 18:01 Patrice Clement
2017-11-12 18:01 Patrice Clement
2017-11-12 18:01 Patrice Clement
2017-10-28  8:59 Patrice Clement
2017-10-16 10:06 Patrice Clement
2017-07-30 14:37 David Seifert
2017-07-30 14:37 David Seifert
2017-07-30 14:37 David Seifert
2017-05-11 18:29 Michał Górny
2017-04-08 15:00 David Seifert
2017-04-08 15:00 David Seifert
2017-03-28 19:18 Göktürk Yüksek
2017-03-16 19:13 David Seifert
2017-03-16 19:13 David Seifert
2017-01-26 23:06 David Seifert
2017-01-15 13:44 David Seifert
2017-01-03 23:08 Patrice Clement
2016-12-29 12:56 David Seifert
2016-12-28  0:18 Patrice Clement
2016-12-28  0:18 Patrice Clement
2016-11-04 22:23 Patrice Clement
2016-11-04 22:23 Patrice Clement
2016-11-04 22:23 Patrice Clement
2016-08-25 17:51 Patrice Clement
2016-05-24  3:06 Ian Delaney
2016-05-15  9:44 Ian Delaney
2016-05-13  3:34 Ian Delaney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1482883571.01498eed4ebe67212c6f60617612c5bdc9f5316e.monsieurp@gentoo \
    --to=monsieurp@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox