summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-07-05 23:35:08 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-07-05 23:35:08 +0000
commit4593370861cb825399ce0846ce3b2628b0ec4c27 (patch)
tree6bfe14fc54593ff42b46b743ffb4a2b67a24ea40 /app-misc/tracker
parentVersion bump. (diff)
downloadhistorical-4593370861cb825399ce0846ce3b2628b0ec4c27.tar.gz
historical-4593370861cb825399ce0846ce3b2628b0ec4c27.tar.bz2
historical-4593370861cb825399ce0846ce3b2628b0ec4c27.zip
Version bump, fixes various crashes.
Package-Manager: portage-2.2.0_alpha116/cvs/Linux x86_64
Diffstat (limited to 'app-misc/tracker')
-rw-r--r--app-misc/tracker/ChangeLog8
-rw-r--r--app-misc/tracker/Manifest18
-rw-r--r--app-misc/tracker/tracker-0.14.2.ebuild264
3 files changed, 288 insertions, 2 deletions
diff --git a/app-misc/tracker/ChangeLog b/app-misc/tracker/ChangeLog
index 30e0f2fafe8f..944c4190ea05 100644
--- a/app-misc/tracker/ChangeLog
+++ b/app-misc/tracker/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/tracker
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.128 2012/05/07 07:44:25 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.129 2012/07/05 23:35:08 tetromino Exp $
+
+*tracker-0.14.2 (05 Jul 2012)
+
+ 05 Jul 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+ +tracker-0.14.2.ebuild:
+ Version bump, fixes various crashes.
*tracker-0.14.1 (07 May 2012)
diff --git a/app-misc/tracker/Manifest b/app-misc/tracker/Manifest
index d9a55fd64133..0b0ece636891 100644
--- a/app-misc/tracker/Manifest
+++ b/app-misc/tracker/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX tracker-0.12.3-strigi.patch 1166 SHA256 01078f04c1f5c37e767d0bc4ea13f8dc2d478ed95498cb350d915768f71aa8f0 SHA512 48c9ff62888e8c1bf9c4fec4b11f61f3e9ae51e4ac894c639f6479afbfc928964e35e7d37bda99c7d0e505b5c2e6a7964eb16587d5365c1acd009c51f94ef4d4 WHIRLPOOL 83db8c654f11ff9c0b9500a04c28cc499915fc0ba3517e1b572c3f7d2d38a96a625061de7a70bd3112e908ee7f2bd1f8ddc730370b42385b23a756277dda4b94
AUX tracker-0.8.0-strigi.patch 1385 SHA256 7ae959cd52ac96f6427646089b554e0572727f27d5d4aab1913f795e270a4ccb SHA512 f61eab32f6db4b7bb44353a3d0ed10de6e06def73150d40381b8dc15145f54c474c66325641f8d82668fcca04f6a3c5771475fa98d12ba53a7084fb5eab1ca95 WHIRLPOOL ea7de30b3f87f97597b4bb9fd2601c592e319ce4562747a6b39958e3ead495a0a7486295e6ce89133fca00fb5f1a64680e45d6c57d18088f54223a355a4b65fc
AUX tracker-0.8.17-build-with-eds232.patch 807 SHA256 bced568783664b0128903094db05a1f881519754d6fa1588f1050620fb73f989 SHA512 fb658501e9d5dfd614ad02d5e18778a8a393fe702ed163b1044f48264b023b63b20bd4c04e3ae7dab688c31bea381b7d53b1f2420edaf12c45755adf14b0c637 WHIRLPOOL 7bc32543f2e936c018ea6384bbfa23b5d3c84615497c76df04d31e68be5cc49b427eed389273fb6196e1acae8a91e56310d89bf30d8a055dce91a113fdac7706
@@ -8,10 +11,23 @@ DIST tracker-0.10.27.tar.xz 5721444 SHA256 30ca97cc8a1c82cb0e09a921c0ebe8acbfe7b
DIST tracker-0.10.35.tar.xz 5754872 SHA256 5f6a32d0b2b0036f4aec74a6d36d889e33ea038a1530161ca4eb9a549cc87fe3 SHA512 9645c6ff6686a94f7ce9a0e7b29b5b8d5300ba1a1706e41ab3ca97bba891855bba9ce3213435373c52fb6821dc21be0816608c0f6796cb984f090c2b35e0b59c WHIRLPOOL 9cfd6d8446c7880499948cd663017161b879b0accd3de31dd3aecf87394315af4cd28d74865dafa67674ffa07cccb7fc1fe95350a36612560f8ef5e7214415dc
DIST tracker-0.12.10.tar.xz 6220648 SHA256 42722831fdde63cfa07e4f0bb75805425c09b1f1801d3d5280de8be37a357b69 SHA512 53b50847229190e9510e4fc37deadf94f6a478c32b7548a457fe6597433bf7ac9f5bc2470641fe4b665b92c989b1d5b6e9917f7e1903b93c32830f0b2efa8f6f WHIRLPOOL 707b290232a9c3b0b7825628c32130b77afd24915bc18eb77c517b6775d58379f94f4f8efb52bd53637fb66374f426f7a01c47986e951123ff0ff8af874fd870
DIST tracker-0.14.1.tar.xz 6041840 SHA256 17ac4125d02c5f820eae9a785ac1c90b0e93682730a3950f82fd4a3dff238a43 SHA512 44e166d58e38f28a742f895548a4928347cffc2936ad0784ac847c38d7bd19013401aa88124a12174d00378b9ac7d004721e57cee5f896d8f9c99a472d65b5ba WHIRLPOOL b9f3cfbc7b792f10cd0e2f7c2865bd598bd209cdc3df8b3bfd05a9d109ab60ce74d707a0770047943e46328916cf2644c2bfaa4c0d66e1aa929ca47ae0c52688
+DIST tracker-0.14.2.tar.xz 5985464 SHA256 9b59330aa2e9e09feee587ded895e9247f71fc25f46b023d616d9969314bc7f1 SHA512 204749a915e6e9af7057a0de7f8b5c317a56899dd5a9ca05c029ab1a3b47c42e54b3a86eb53c31fa21ad50abebed2b3a4e99008aac6cc23cb3bc9f7faa6504ff WHIRLPOOL 431a2b06e6906269795fd05e10bac912ffcc8d1ee0e5c394e178c5c12197ed6a05ec6ba939cf21946be0a17b84717405ad8b8be3d052b3f82c4d58999308cb07
EBUILD tracker-0.10.27.ebuild 6068 SHA256 561c6880323dc025baa485a9f2be780e5127590796114d943b0a220da0a79b65 SHA512 80294c8c998578aa095ac74975dfd2faed5b40f3c29ebf47f34b118d15c964f08fa64f06dd3baa1637325e9ea826ef52b53dece8821684812530dc513305e2cb WHIRLPOOL df10b9b635867e76515752714afea29be8eeb9d9c4c87c1c1dcef1cf3877509b886f0a4ca1efd9e95bd73b6c13c7fd611ca1ce4628b6fb4771e783b68da645b3
EBUILD tracker-0.10.35.ebuild 6068 SHA256 8cf4701b96cac0c4444584e4aac0bfb81c0efe9c4fb4955aac1251faf6167c56 SHA512 4548f17c504bd3f72bebf260d288e01e9033b43d165b0881ce65259bd92bbbebcf17b2836ea0f04d50d632adea4f85c46d7b56020266a95653bfdbbbe0090784 WHIRLPOOL 87cb99ae2307f979b5d8ab517e7e9a74a4d68a9810ba91c5941308cd6cc2b5ed7363cf306e916eaab10a26d9fe0b85a571dc769ba6dd0a91e52d642259bda8f2
EBUILD tracker-0.12.10.ebuild 8122 SHA256 73ea41e86bd5a5dfed075fa5f9f1559eda15de3fb06331bb0b7bf5e09257fd1f SHA512 14af2e4f356731709d330092571e403622bb099b8206a6e9ca5a2ee617505dd4355d3ac70624cfd9ec08ffaa670691908125cc08ae1fa90d96ac9ebbd3e2275d WHIRLPOOL c0799c8bcd9c68cb1084f7c162314551e29d1e60a3c61bb541594612de09f2a7769ec7724c1419de470a56b257109840621c6c8faa10bb2d7da8b73ba6a9235f
EBUILD tracker-0.14.1.ebuild 8183 SHA256 9beb6eac92f5dddae4d4567c5af9478fdc2cace0fef70023e9ab9061a28dc7bc SHA512 1e2e14b0fd0f86c2236d71a941995cf98214aa02e4ef2990308095d17954716577617444986cd796c0ce5668b29e4dabbad772a5d7e2b91d50825c35c86e62c3 WHIRLPOOL 0786362b89fdda56ec5f8ea6001eca0d5ea4a3f24bf548ba05ccdbe7f9ed9319e3b8089cc490d0207b842502b659b699f705ded35a2e125166632fc85f274624
+EBUILD tracker-0.14.2.ebuild 8183 SHA256 5aef2588152aee37e184056e1becc63dd1014c04c9fb25561e2e88df4a46ab67 SHA512 6c8f19d6ff20034d96106806155423558aec2a56e47a72c5270ede0287efff44f4aee87b637e81c940ad016fda8b557e3717ff0ca745508f4824cb50510f68df WHIRLPOOL c0c4fba62c9e758beb6c84194008860894fa982c70f38922cd5dc00acc0b0d25243b5f128c32fa81671416f3ef097cd1044b117383923c2b44e4cc87a2c04320
EBUILD tracker-9999.ebuild 8147 SHA256 b3caeae5a9cdba20adcc11ffa6b680ddb20d7b134085839ff04c1df8ebf66c25 SHA512 da50d475ebdfcd3cd21e1aac59f4f2e24fd131b6edf2513f0b1bb12393de31d82d1fc94174ad22637f24c6ac6321aea96322968ef70ac80642c5c253d900e4ac WHIRLPOOL b297f3832cf8781d014ce73822e225014015b268aeda9af0b4b4384f510289a97b405a55087934d62d7739ca1fd68fcd6cb9055f415fa77ec554e4f17bb1f422
-MISC ChangeLog 23906 SHA256 b25b25b959a48f4a89812fd803d273eed3f0bd65b261856a3dcf20ae6477360d SHA512 88c93b37385b17b71e5404e85d2ccd584502a7157f2e55b1f90a2ca47895cf3900a36749404158e5c99fff7dde7473a888d353926bcd50d95a094434598b79d3 WHIRLPOOL 87848e9c4cb3c64f5d9207597337705bddbb0df60b9d41b15699dd12412be3fa4fa58c5fb786aab58b6035071cf0f6cc7a3cd91d40aa52d712c7204e19e52a9f
+MISC ChangeLog 24062 SHA256 0c723a07b979bfebed325c061c64186be634c75416c54570b79538539382f8da SHA512 cc7734a26eb39bafb8a7aa44c851ce1b35ca214a1faebfc88ec481c20350a171b373484fd9971561490048f6f5d7235abb7a2121d3618e6f5deaa1f98a4fa26c WHIRLPOOL 4098cb350829617fabc524ac4db7cf49ec7a096bfeccc2c0157c7c2662f5c40a9eddc6c03f73d8303c3d0e3ea5be73d663eeec0d9d4e4b5a0079a55dd47a6ffe
MISC metadata.xml 1621 SHA256 a01929993109e8e5b6c5e3ba8433a99ba4417f41328455823907a860dcb4311e SHA512 26808b5c3decabbbc166a67ee7d3b5f2ea68899684f79a092a74f8b712be1806560db3659671df3ba7ccc490a57bfae728b6e7ac9cfb92765d35bdbb7028b439 WHIRLPOOL bb4df83f2e873334dcf1ce20cce359738291ee102b759863bd770b63fd3ca8cce653700e9a84ec83f18672939a12ba9089d01637fc32edd3799b6f962651dd4c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBAgAGBQJP9iSxAAoJEJ0WA1zPCt1hreAIAJPGJF0VWTZmiYGB9Z0Hx6dF
+7tj4tIpNj4C/GQbq0Vzzn8tgF/ymknWq9uxt8x+KziOQOJ93v9c2e7f43chj8suM
+zT7DplznodgxhzLtUvsCX0TlQMbXbJTF7inu1thZSRCzjd4xK60iL9qzxZqpKCuX
+tiILPRzeTMT0yYP30gNHivwK4Taep3k0UNPb7fgEHboqbV0oGTvo/FeoUroISnB0
+EWZedXIFiYhU0Y2kz70//VdIzIq0H2BDbSMbZzvJV64oLcYhr4neoVn2OK1GisUk
+9PakWW9e7J4SsVD4359ByD+Pe3xMSlAeNSGxTrQiJ4d5k9NoVqSLqLelR+PwAuQ=
+=tV2Q
+-----END PGP SIGNATURE-----
diff --git a/app-misc/tracker/tracker-0.14.2.ebuild b/app-misc/tracker/tracker-0.14.2.ebuild
new file mode 100644
index 000000000000..ca57bdb48ea6
--- /dev/null
+++ b/app-misc/tracker/tracker-0.14.2.ebuild
@@ -0,0 +1,264 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.14.2.ebuild,v 1.1 2012/07/05 23:35:08 tetromino Exp $
+
+EAPI="4"
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+PYTHON_DEPEND="2:2.6"
+
+inherit eutils gnome2 linux-info multilib python versionator
+
+DESCRIPTION="A tagging metadata database, search tool and indexer"
+HOMEPAGE="http://projects.gnome.org/tracker/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+# USE="doc" is managed by eclass.
+IUSE="applet cue doc eds elibc_glibc exif firefox-bookmarks flac flickr gif gnome-keyring gsf gstreamer gtk iptc +iso +jpeg laptop mp3 nautilus networkmanager pdf playlist rss test thunderbird +tiff upnp +vorbis xine +xml xmp" # qt4 strigi
+REQUIRED_USE="cue? ( gstreamer )"
+
+# Test suite highly disfunctional, loops forever
+# putting aside for now
+RESTRICT="test"
+
+# vala is built with debug by default (see VALAFLAGS)
+# According to NEWS, introspection is non-optional
+# glibc-2.12 needed for SCHED_IDLE (see bug #385003)
+RDEPEND="
+ >=app-i18n/enca-1.9
+ >=dev-db/sqlite-3.7[threadsafe]
+ >=dev-libs/glib-2.28:2
+ >=dev-libs/gobject-introspection-0.9.5
+ >=dev-libs/icu-4
+ || (
+ >=media-gfx/imagemagick-5.2.1[png,jpeg=]
+ media-gfx/graphicsmagick[imagemagick,png,jpeg=] )
+ >=media-libs/libpng-1.2
+ >=x11-libs/pango-1
+ sys-apps/util-linux
+
+ applet? (
+ >=gnome-base/gnome-panel-2.91.6
+ >=x11-libs/gdk-pixbuf-2.12:2
+ >=x11-libs/gtk+-3.0:3 )
+ cue? ( media-libs/libcue )
+ eds? (
+ >=mail-client/evolution-3.3.5
+ >=gnome-extra/evolution-data-server-3.3.5 )
+ elibc_glibc? ( >=sys-libs/glibc-2.12 )
+ exif? ( >=media-libs/libexif-0.6 )
+ firefox-bookmarks? ( || (
+ >=www-client/firefox-4.0
+ >=www-client/firefox-bin-4.0 ) )
+ flac? ( >=media-libs/flac-1.2.1 )
+ flickr? ( net-libs/rest:0.7 )
+ gif? ( media-libs/giflib )
+ gnome-keyring? ( >=gnome-base/gnome-keyring-2.26 )
+ gsf? ( >=gnome-extra/libgsf-1.13 )
+ gstreamer? (
+ >=media-libs/gstreamer-0.10.31:0.10
+ upnp? ( >=media-libs/gupnp-dlna-0.5 )
+ !upnp? ( >=media-libs/gst-plugins-base-0.10.31 ) )
+ !gstreamer? ( !xine? ( || ( media-video/totem media-video/mplayer ) ) )
+ gtk? (
+ >=dev-libs/libgee-0.3:0
+ >=x11-libs/gtk+-3.0.0:3 )
+ iptc? ( media-libs/libiptcdata )
+ iso? ( >=sys-libs/libosinfo-0.0.2 )
+ jpeg? ( virtual/jpeg:0 )
+ laptop? ( >=sys-power/upower-0.9 )
+ mp3? (
+ >=media-libs/taglib-1.6
+ gtk? ( x11-libs/gdk-pixbuf:2 ) )
+ networkmanager? ( >=net-misc/networkmanager-0.8 )
+ pdf? (
+ >=x11-libs/cairo-1
+ >=app-text/poppler-0.16[cairo,utils]
+ >=x11-libs/gtk+-2.12:2 )
+ playlist? ( dev-libs/totem-pl-parser )
+ rss? ( net-libs/libgrss )
+ thunderbird? ( || (
+ >=mail-client/thunderbird-5.0
+ >=mail-client/thunderbird-bin-5.0 ) )
+ tiff? ( media-libs/tiff )
+ vorbis? ( >=media-libs/libvorbis-0.22 )
+ xine? ( >=media-libs/xine-lib-1 )
+ xml? ( >=dev-libs/libxml2-2.6 )
+ xmp? ( >=media-libs/exempi-2.1 )"
+# strigi? ( >=app-misc/strigi-0.7 )
+# mp3? ( qt4? ( >=x11-libs/qt-gui-4.7.1:4 ) )
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.40
+ >=sys-devel/gettext-0.17
+ virtual/pkgconfig
+ applet? ( >=dev-lang/vala-0.13.4:0.14 )
+ gtk? (
+ >=dev-lang/vala-0.13.4:0.14
+ >=dev-libs/libgee-0.3 )
+ doc? (
+ app-office/dia
+ >=dev-util/gtk-doc-1.8
+ media-gfx/graphviz )
+ test? (
+ >=dev-libs/dbus-glib-0.82-r1
+ >=sys-apps/dbus-1.3.1[X] )
+"
+# strigi? ( >=dev-lang/vala-0.13.4:0.14 )
+PDEPEND="nautilus? ( >=gnome-extra/nautilus-tracker-tags-0.14 )"
+
+function inotify_enabled() {
+ if linux_config_exists; then
+ if ! linux_chkconfig_present INOTIFY_USER; then
+ ewarn "You should enable the INOTIFY support in your kernel."
+ ewarn "Check the 'Inotify support for userland' under the 'File systems'"
+ ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config"
+ die 'missing CONFIG_INOTIFY'
+ fi
+ else
+ einfo "Could not check for INOTIFY support in your kernel."
+ fi
+}
+
+pkg_setup() {
+ linux-info_pkg_setup
+
+ inotify_enabled
+
+ if use gstreamer ; then
+ G2CONF="${G2CONF} --enable-generic-media-extractor=gstreamer"
+ if use upnp; then
+ G2CONF="${G2CONF} --with-gstreamer-backend=gupnp-dlna"
+ else
+ G2CONF="${G2CONF} --with-gstreamer-backend=discoverer"
+ fi
+ elif use xine ; then
+ G2CONF="${G2CONF} --enable-generic-media-extractor=xine"
+ else
+ G2CONF="${G2CONF} --enable-generic-media-extractor=external"
+ fi
+
+ # if use applet || use gtk || use strigi; then
+ if use applet || use gtk; then
+ G2CONF="${G2CONF} VALAC=$(type -P valac-0.14)"
+ fi
+
+ # if use mp3 && (use gtk || use qt4); then
+ if use mp3 && use gtk; then
+ #G2CONF="${G2CONF} $(use_enable !qt4 gdkpixbuf) $(use_enable qt4 qt)"
+ G2CONF="${G2CONF} --enable-gdkpixbuf"
+ fi
+
+ # unicode-support: libunistring, libicu or glib ?
+ # According to NEWS, introspection is required
+ # FIXME: disabling streamanalyzer for now since tracker-sparql-builder.h
+ # is not being generated
+ # XXX: disabling qt since tracker-albumart-qt is unstable; bug #385345
+ # nautilus extension is in a separate package, nautilus-tracker-tags
+ G2CONF="${G2CONF}
+ --disable-hal
+ --enable-tracker-fts
+ --with-enca
+ --with-unicode-support=libicu
+ --enable-guarantee-metadata
+ --enable-introspection
+ --disable-libstreamanalyzer
+ --disable-qt
+ --disable-nautilus-extension
+ $(use_enable applet tracker-search-bar)
+ $(use_enable cue libcue)
+ $(use_enable eds miner-evolution)
+ $(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)
+ $(use_enable gsf libgsf)
+ $(use_enable gtk tracker-explorer)
+ $(use_enable gtk tracker-preferences)
+ $(use_enable gtk tracker-needle)
+ $(use_enable iptc libiptcdata)
+ $(use_enable iso libosinfo)
+ $(use_enable jpeg libjpeg)
+ $(use_enable laptop upower)
+ $(use_enable mp3 taglib)
+ $(use_enable networkmanager network-manager)
+ $(use_enable pdf poppler)
+ $(use_enable playlist)
+ $(use_enable rss miner-rss)
+ $(use_enable test functional-tests)
+ $(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)
+
+ DOCS="AUTHORS ChangeLog NEWS README"
+
+ python_set_active_version 2
+ python_pkg_setup
+}
+
+src_prepare() {
+ # Fix functional tests scripts
+ find "${S}" -name "*.pyc" -delete
+ 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, #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*/:' \
+ -e '/\/libtracker-miner\/tracker-password-provider\/getting/,+1 s:^\(.*\)$:/*\1*/:' \
+ -i tests/libtracker-miner/tracker-password-provider-test.c || die
+
+ gnome2_src_prepare
+}
+
+src_test() {
+ unset DBUS_SESSION_BUS_ADDRESS
+ Xemake check XDG_DATA_HOME="${T}" XDG_CONFIG_HOME="${T}"
+}
+
+src_install() {
+ gnome2_src_install
+
+ # Manually symlink extensions for {firefox,thunderbird}-bin
+ if use firefox-bookmarks; then
+ dosym /usr/share/xul-ext/trackerfox \
+ /usr/$(get_libdir)/firefox-bin/extensions/trackerfox@bustany.org
+ fi
+
+ if use thunderbird; then
+ dosym /usr/share/xul-ext/trackerbird \
+ /usr/$(get_libdir)/thunderbird-bin/extensions/trackerbird@bustany.org
+ fi
+}
+
+create_version_script() {
+ # Create script $3 that prints "$2 MAX(VERSION($1), VERSION($1-bin))"
+
+ local v=$(best_version ${1})
+ v=${v#${1}-}
+ local vbin=$(best_version ${1}-bin)
+ vbin=${vbin#${1}-bin-}
+
+ if [[ -z ${v} ]]; then
+ v=${vbin}
+ else
+ version_compare ${v} ${vbin}
+ [[ $? -eq 1 ]] && v=${vbin}
+ fi
+
+ echo -e "#!/bin/sh\necho $2 $v" > "$3" || die
+ chmod +x "$3" || die
+}