public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/nitrogen/
Date: Wed, 16 Nov 2016 13:56:52 +0000 (UTC)	[thread overview]
Message-ID: <1479304610.145884bd7514ed6e31c02c3685050fccee6f5ba9.jer@gentoo> (raw)

commit:     145884bd7514ed6e31c02c3685050fccee6f5ba9
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 16 13:56:27 2016 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Nov 16 13:56:50 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=145884bd

x11-misc/nitrogen: Fix sandbox violation (bug #599720 by Toralf Förster).

Package-Manager: portage-2.3.2

 x11-misc/nitrogen/nitrogen-1.6.0.ebuild | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/x11-misc/nitrogen/nitrogen-1.6.0.ebuild b/x11-misc/nitrogen/nitrogen-1.6.0.ebuild
index ef9b9eb..c01c0bc 100644
--- a/x11-misc/nitrogen/nitrogen-1.6.0.ebuild
+++ b/x11-misc/nitrogen/nitrogen-1.6.0.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI=6
-inherit autotools flag-o-matic
+inherit autotools fdo-mime flag-o-matic
 
 DESCRIPTION="A background browser and setter for X"
 HOMEPAGE="http://projects.l3ib.org/nitrogen/"
@@ -30,6 +30,8 @@ DEPEND="
 src_prepare() {
 	default
 
+	sed -i -e '/^UPDATE_DESKTOP/s#=.*#= :#g' data/Makefile.am || die
+
 	eautoreconf
 }
 
@@ -39,3 +41,11 @@ src_configure() {
 		$(use_enable nls) \
 		$(use_enable xinerama)
 }
+
+pkg_postinst() {
+	fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+	fdo-mime_desktop_database_update
+}


             reply	other threads:[~2016-11-16 13:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-16 13:56 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-06-07 17:32 [gentoo-commits] repo/gentoo:master commit in: x11-misc/nitrogen/ Sam James
2021-06-06 14:46 Jonas Stein
2021-04-19 19:31 Sam James
2021-03-17  2:25 Sam James
2021-03-17  2:25 Sam James
2021-03-17  2:19 Sam James
2021-03-15 21:21 Sam James
2020-01-13 10:07 David Seifert
2019-11-07 22:10 Jeroen Roovers
2019-01-01 15:35 Jeroen Roovers
2018-08-05 11:33 Sergei Trofimovich
2018-04-20 19:48 David Seifert
2017-02-15  7:41 Jeroen Roovers
2016-11-14 12:08 Jeroen Roovers
2015-12-23 20:38 Pacho Ramos

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=1479304610.145884bd7514ed6e31c02c3685050fccee6f5ba9.jer@gentoo \
    --to=jer@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