public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alexandre Restovtsev" <tetromino@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: app-misc/tracker/
Date: Mon,  3 Oct 2011 21:45:47 +0000 (UTC)	[thread overview]
Message-ID: <e54848110f451f4ac2816ea98260763994bae258.tetromino@gentoo> (raw)

commit:     e54848110f451f4ac2816ea98260763994bae258
Author:     Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Mon Oct  3 21:41:02 2011 +0000
Commit:     Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Mon Oct  3 21:45:31 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=e5484811

app-misc/tracker: put a stake through the foul heart of access violations (#385495)

It looks like (a) overriding AC_PATH_PROG requires a full path (not just
a relative one), and (b) AC_PATH_PROG actually tries to execute the
programs that it finds, so we need to generate the firefox and thunderbird
version wrapper scripts and pass them to configure, even if we are not
building firefox or thunderbird support.
Thanks to Stefan Zwanenburg <stefanhetzwaantje <AT> gmail.com> for reporting
in bug #385495.

---
 app-misc/tracker/tracker-0.12.3-r2.ebuild |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/app-misc/tracker/tracker-0.12.3-r2.ebuild b/app-misc/tracker/tracker-0.12.3-r2.ebuild
index c5620f8..a002c8b 100644
--- a/app-misc/tracker/tracker-0.12.3-r2.ebuild
+++ b/app-misc/tracker/tracker-0.12.3-r2.ebuild
@@ -171,6 +171,7 @@ pkg_setup() {
 		$(use_enable exif libexif)
 		$(use_enable firefox-bookmarks miner-firefox)
 		$(use_with firefox-bookmarks firefox-plugin-dir ${EPREFIX}/usr/$(get_libdir)/firefox/extensions)
+		FIREFOX=${S}/firefox-version.sh
 		$(use_enable flac libflac)
 		$(use_enable flickr miner-flickr)
 		$(use_enable gnome-keyring)
@@ -191,15 +192,13 @@ pkg_setup() {
 		$(use_enable test unit-tests)
 		$(use_enable thunderbird miner-thunderbird)
 		$(use_with thunderbird thunderbird-plugin-dir ${EPREFIX}/usr/$(get_libdir)/thunderbird/extensions)
+		THUNDERBIRD=${S}/thunderbird-version.sh
 		$(use_enable tiff libtiff)
 		$(use_enable vorbis libvorbis)
 		$(use_enable xml libxml2)
 		$(use_enable xmp exempi)"
 	#	$(use_enable strigi libstreamanalyzer)
 
-	use firefox-bookmarks && G2CONF="${G2CONF} FIREFOX=./firefox-version.sh"
-	use thunderbird && G2CONF="${G2CONF} THUNDERBIRD=./thunderbird-version.sh"
-
 	DOCS="AUTHORS ChangeLog NEWS README"
 
 	python_set_active_version 2
@@ -214,11 +213,9 @@ src_prepare() {
 	python_convert_shebangs -r 2 tests utils examples
 
 	# Don't run 'firefox --version' or 'thunderbird --version'; it results in
-	# access violations on some setups (bug #385347).
-	use firefox-bookmarks && create_version_script \
-		"www-client/firefox" "Mozilla Firefox" firefox-version.sh
-	use thunderbird && create_version_script \
-		"mail-client/thunderbird" "Mozilla Thunderbird" thunderbird-version.sh
+	# access violations on some setups (bug #385347, #385495).
+	create_version_script "www-client/firefox" "Mozilla Firefox" firefox-version.sh
+	create_version_script "mail-client/thunderbird" "Mozilla Thunderbird" thunderbird-version.sh
 
 	# FIXME: report broken tests
 	sed -e '/\/libtracker-miner\/tracker-password-provider\/setting/,+1 s:^\(.*\)$:/*\1*/:' \



             reply	other threads:[~2011-10-03 21:45 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-03 21:45 Alexandre Restovtsev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-02-16 21:08 [gentoo-commits] proj/gnome:master commit in: app-misc/tracker/ Mart Raudsepp
2018-04-22 16:51 Sobhan Mohammadpour
2018-04-21 18:44 Sobhan Mohammadpour
2016-04-08 20:47 Ole Reifschneider
2015-05-17 15:39 Gilles Dartiguelongue
2015-05-17 15:39 Gilles Dartiguelongue
2015-05-17 14:52 Gilles Dartiguelongue
2014-12-26 21:53 Gilles Dartiguelongue
2014-12-14 22:46 Gilles Dartiguelongue
2014-11-23 19:37 Gilles Dartiguelongue
2014-10-26 23:39 Gilles Dartiguelongue
2014-04-20 22:57 Gilles Dartiguelongue
2012-04-02  6:43 Alexandre Restovtsev
2012-03-15 15:44 Nirbheek Chauhan
2011-10-23  8:41 Alexandre Restovtsev
2011-10-18  7:37 Alexandre Restovtsev
2011-10-14 20:01 Alexandre Restovtsev
2011-10-11  6:40 Alexandre Restovtsev
2011-10-02 23:03 Alexandre Restovtsev
2011-10-02 11:27 Alexandre Restovtsev
2011-10-02  8:20 Alexandre Restovtsev
2011-10-01 23:56 Alexandre Restovtsev
2011-10-01 19:04 Alexandre Restovtsev

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=e54848110f451f4ac2816ea98260763994bae258.tetromino@gentoo \
    --to=tetromino@gmail.com \
    --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