From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/fbterm/
Date: Sat, 5 Aug 2017 13:15:55 +0000 (UTC) [thread overview]
Message-ID: <1501938763.95a831d738dae3bfb016f4ac2f1e2cb0eeee70b1.hattya@gentoo> (raw)
commit: 95a831d738dae3bfb016f4ac2f1e2cb0eeee70b1
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 5 13:12:43 2017 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat Aug 5 13:12:43 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95a831d7
app-i18n/fbterm: inherit fcaps
Gentoo-Bug: 566458
Package-Manager: Portage-2.3.6, Repoman-2.3.1
app-i18n/fbterm/fbterm-1.7-r2.ebuild | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/app-i18n/fbterm/fbterm-1.7-r2.ebuild b/app-i18n/fbterm/fbterm-1.7-r2.ebuild
index a371d7db068..f23bea99932 100644
--- a/app-i18n/fbterm/fbterm-1.7-r2.ebuild
+++ b/app-i18n/fbterm/fbterm-1.7-r2.ebuild
@@ -3,7 +3,7 @@
EAPI="6"
-inherit autotools
+inherit autotools fcaps
DESCRIPTION="Fast terminal emulator for the Linux framebuffer"
HOMEPAGE="https://code.google.com/p/fbterm"
@@ -12,11 +12,10 @@ SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.go
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="caps gpm video_cards_vesa"
+IUSE="gpm video_cards_vesa"
RDEPEND="media-libs/fontconfig
media-libs/freetype:2
- caps? ( sys-libs/libcap )
gpm? ( sys-libs/gpm )
video_cards_vesa? ( dev-libs/libx86 )"
DEPEND="${RDEPEND}
@@ -25,6 +24,10 @@ DEPEND="${RDEPEND}
PATCHES=( "${FILESDIR}"/${PN}-gcc6.patch )
+FILECAPS=(
+ cap_sys_tty_config+ep usr/bin/${PN}
+)
+
src_prepare() {
sed -i "s|tic|tic -o '\$(DESTDIR)\$(datadir)/terminfo'|" terminfo/Makefile.am
@@ -41,14 +44,12 @@ src_configure() {
src_install() {
default
- if use caps; then
- setcap "cap_sys_tty_config+ep" "${ED}"/usr/bin/${PN}
- else
- fperms u+s /usr/bin/${PN}
- fi
+ use filecaps || fperms u+s /usr/bin/${PN}
}
pkg_postinst() {
+ fcaps_pkg_postinst
+
elog "${PN} won't work with vga16fb. You have to use other native"
elog "framebuffer drivers or vesa driver."
elog "See ${EPREFIX}/usr/share/doc/${P}/README for details."
next reply other threads:[~2017-08-05 13:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-05 13:15 Akinori Hattori [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-10-11 12:49 [gentoo-commits] repo/gentoo:master commit in: app-i18n/fbterm/ Akinori Hattori
2020-05-27 12:32 Akinori Hattori
2020-05-20 13:53 Akinori Hattori
2020-05-20 13:45 Akinori Hattori
2020-05-20 13:45 Akinori Hattori
2017-08-12 15:48 Akinori Hattori
2017-08-05 13:15 Akinori Hattori
2017-08-05 13:15 Akinori Hattori
2017-08-05 13:15 Akinori Hattori
2016-08-14 19:30 Markus Meier
2016-03-23 21:23 Stephen Klimaszewski
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=1501938763.95a831d738dae3bfb016f4ac2f1e2cb0eeee70b1.hattya@gentoo \
--to=hattya@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