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 557921396D9 for ; Mon, 6 Nov 2017 12:38:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 90E26E0AF0; Mon, 6 Nov 2017 12:38:48 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6C936E0AF0 for ; Mon, 6 Nov 2017 12:38:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 14AF4341670 for ; Mon, 6 Nov 2017 12:38:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A282196E8 for ; Mon, 6 Nov 2017 12:38:45 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1509971923.056e71b2a4d598195715eb5930a8ab92bd3f48aa.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xosview/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/xosview/xosview-1.20-r1.ebuild x11-misc/xosview/xosview-1.20.ebuild X-VCS-Directories: x11-misc/xosview/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 056e71b2a4d598195715eb5930a8ab92bd3f48aa X-VCS-Branch: master Date: Mon, 6 Nov 2017 12:38:45 +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: 2e9c7492-06c0-41f5-973c-cf304f3fe3cb X-Archives-Hash: fbd91e312c02ca54ae917dd2fa86c66d commit: 056e71b2a4d598195715eb5930a8ab92bd3f48aa Author: Lars Wendler gentoo org> AuthorDate: Mon Nov 6 12:38:32 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Nov 6 12:38:43 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=056e71b2 x11-misc/xosview: Revbump to install some more files. Package-Manager: Portage-2.3.13, Repoman-2.3.4 .../{xosview-1.20.ebuild => xosview-1.20-r1.ebuild} | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/x11-misc/xosview/xosview-1.20.ebuild b/x11-misc/xosview/xosview-1.20-r1.ebuild similarity index 84% rename from x11-misc/xosview/xosview-1.20.ebuild rename to x11-misc/xosview/xosview-1.20-r1.ebuild index 76ba156e04d..f342c4311c8 100644 --- a/x11-misc/xosview/xosview-1.20.ebuild +++ b/x11-misc/xosview/xosview-1.20-r1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit eutils toolchain-funcs +inherit eutils toolchain-funcs xdg-utils DESCRIPTION="X11 operating system viewer" HOMEPAGE="http://www.pogo.org.uk/~mark/xosview/" @@ -22,6 +22,8 @@ RDEPEND="${COMMON_DEPS} DEPEND="${COMMON_DEPS} x11-proto/xproto" +DOCS=( CHANGES README.linux TODO ) + src_prepare() { default @@ -35,17 +37,21 @@ src_compile() { } src_install() { - dobin ${PN} + emake PREFIX="${D%/}/usr" install use suid && fperms 4755 /usr/bin/${PN} insinto /usr/share/X11/app-defaults newins Xdefaults XOsview - doman *.1 - dodoc CHANGES README.linux TODO } pkg_postinst() { + xdg_desktop_database_update + if ! use suid ; then ewarn "If you want to use serial meters ${PN} needs to be executed as root." ewarn "Please see ${EPREFIX}/usr/share/doc/${PF}/README.linux for details." fi } + +pkg_postrm() { + xdg_desktop_database_update +}