From 78956a6e187d91308b7470fc1b2b02b56fc91bb1 Mon Sep 17 00:00:00 2001 From: Donnie Berkholz Date: Fri, 17 Sep 2010 12:01:46 -0500 Subject: rescuetime-linux-uploader: Bump to more recent version. --- app-office/rescuetime-linux-uploader/Manifest | 4 +- .../rescuetime-linux-uploader-90.ebuild | 88 ---------------------- .../rescuetime-linux-uploader-99.ebuild | 88 ++++++++++++++++++++++ 3 files changed, 90 insertions(+), 90 deletions(-) delete mode 100644 app-office/rescuetime-linux-uploader/rescuetime-linux-uploader-90.ebuild create mode 100644 app-office/rescuetime-linux-uploader/rescuetime-linux-uploader-99.ebuild (limited to 'app-office') diff --git a/app-office/rescuetime-linux-uploader/Manifest b/app-office/rescuetime-linux-uploader/Manifest index f59884e..3e726cd 100644 --- a/app-office/rescuetime-linux-uploader/Manifest +++ b/app-office/rescuetime-linux-uploader/Manifest @@ -1,3 +1,3 @@ AUX 90-fix-uploads.patch 497 RMD160 c507df8560fe61d4a1bd730c5c31b535c573293c SHA1 b58ff85aff40a214c2a56a4ce80e4f1366807199 SHA256 288095860383d4f223c2d098579473a2df84f633ac9968f563a36f163f7d0983 -DIST rescuetime-linux-uploader-90.tar.bz2 35395 RMD160 16b9842a76cb677e1447dae0bfa2f38de49ad227 SHA1 64b2068c49816ea8f58fb06b403b79e54d11dde5 SHA256 6163190266d05264ed4207c772b614f6204a155633aa48a6139248b4bff6d1ba -EBUILD rescuetime-linux-uploader-90.ebuild 2499 RMD160 3635b3f36d253cae43c89254f8f1e7d8ffd02d07 SHA1 4c62d243c064fa8b7809d68e20ad7b602994439f SHA256 af4000c57f59adea345c160bbdb816bce0aab9a02a86a59d277e41c762df6b41 +DIST rescuetime-linux-uploader-99.tar.bz2 34417 RMD160 f3570722852e31d6cf3551bec5515818a637a291 SHA1 e7c8e701e0e97f20e06470ae013e345bd30545a1 SHA256 ae9ec0c8fb19ca80cb1e3f7d4752e0c5eddf2d381d1a54c4aa68e22b9b3a13c5 +EBUILD rescuetime-linux-uploader-99.ebuild 2500 RMD160 f9cd5bcd524593807182859b0f6974b2fa575523 SHA1 b90e49d109854097221aadbca40ac3be0563a5a1 SHA256 231a2a864eef23e9b3d994c8f77016a95b5089de7d4c1642c77ac79ad4bd6ef0 diff --git a/app-office/rescuetime-linux-uploader/rescuetime-linux-uploader-90.ebuild b/app-office/rescuetime-linux-uploader/rescuetime-linux-uploader-90.ebuild deleted file mode 100644 index ac1d307..0000000 --- a/app-office/rescuetime-linux-uploader/rescuetime-linux-uploader-90.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils distutils mozextension - -DESCRIPTION="Data uploader for the RescueTime time tracker" -HOMEPAGE="https://launchpad.net/rescuetime-linux-uploader" -SRC_URI="${HOMEPAGE}/trunk/${PV}/+download/${P}.tar.bz2" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="epiphany firefox" -RDEPEND="epiphany? ( www-client/epiphany-extensions ) - firefox? ( - || ( - >=www-client/mozilla-firefox-bin-1.5.0.7 - >=www-client/mozilla-firefox-1.5.0.7 - ) - ) - >=dev-python/pygtk-2.14" -DEPEND="${RDEPEND}" - -src_unpack() { - distutils_src_unpack - - # The setup.py does copying straight to /. We'll handle this stuff - # by hand later, because I couldn't figure out how to access the - # --root argument from that point. - sed -i \ - -e "s~[[:alnum:]].*gnome_applet/rescuetime_16.png.*~pass~" \ - -e "/shutil.copy/d" \ - "${S}"/setup.py - - # Uploading fails because the URL changed. Patch from - # https://answers.launchpad.net/rescuetime-linux-uploader/+question/50226 - epatch "${FILESDIR}"/90-fix-uploads.patch -} - -src_install() { - distutils_src_install - - local i - for i in {16,22,32,48}; do - insinto /usr/share/icons/hicolor/${i}x${i} - newins "${S}"/gnome_applet/rescuetime_${i}.png rescuetime.png || die - done - insinto /usr/share/pixmaps - newins "${S}"/gnome_applet/rescuetime_48.png rescuetime.png || die - insinto /usr/$(get_libdir)/bonobo/servers/ - doins "${S}"/gnome_applet/*.server || die - - if use firefox; then - # Extension code derived from noscript ebuild - declare MOZILLA_FIVE_HOME - - # If this line is present, xpi_install() breaks - sed -i -e "/rescuetime@angushelm.com/d" \ - "${S}"/firefox_extension/install.rdf || die - - if has_version '>=www-client/mozilla-firefox-1.5.0.7'; then - MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-firefox" - xpi_install "${S}"/firefox_extension - fi - if has_version '>=www-client/mozilla-firefox-bin-1.5.0.7'; then - MOZILLA_FIVE_HOME="/opt/firefox" - xpi_install "${S}"/firefox_extension - fi - fi - - if use epiphany; then - pushd "${S}"/epiphany_extension 2>/dev/null - insinto /usr/$(get_libdir)/epiphany/*/extensions - doins rescuetime.* || die - popd 2>/dev/null - fi -} - -pkg_postinst() { - distutils_pkg_postinst - - elog "To use the GNOME applet, add it to your panel." - - if use epiphany; then - elog "To use the Epiphany plugin, first restart Epiphany." - elog "Then go to Tools->Extensions and check the RescueTime extension." - fi -} diff --git a/app-office/rescuetime-linux-uploader/rescuetime-linux-uploader-99.ebuild b/app-office/rescuetime-linux-uploader/rescuetime-linux-uploader-99.ebuild new file mode 100644 index 0000000..5690ed9 --- /dev/null +++ b/app-office/rescuetime-linux-uploader/rescuetime-linux-uploader-99.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils distutils mozextension + +DESCRIPTION="Data uploader for the RescueTime time tracker" +HOMEPAGE="https://launchpad.net/rescuetime-linux-uploader" +SRC_URI="${HOMEPAGE}/trunk/${PV}/+download/${P}.tar.bz2" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="epiphany firefox" +RDEPEND="epiphany? ( www-client/epiphany-extensions ) + firefox? ( + || ( + >=www-client/mozilla-firefox-bin-1.5.0.7 + >=www-client/mozilla-firefox-1.5.0.7 + ) + ) + >=dev-python/pygtk-2.14" +DEPEND="${RDEPEND}" + +src_unpack() { + distutils_src_unpack + + # The setup.py does copying straight to /. We'll handle this stuff + # by hand later, because I couldn't figure out how to access the + # --root argument from that point. + sed -i \ + -e "s~[[:alnum:]].*gnome_applet/rescuetime_16.png.*~pass~" \ + -e "/shutil.copy/d" \ + "${S}"/setup.py + + # Uploading fails because the URL changed. Patch from + # https://answers.launchpad.net/rescuetime-linux-uploader/+question/50226 +# epatch "${FILESDIR}"/90-fix-uploads.patch +} + +src_install() { + distutils_src_install + + local i + for i in {16,22,32,48}; do + insinto /usr/share/icons/hicolor/${i}x${i} + newins "${S}"/gnome_applet/rescuetime_${i}.png rescuetime.png || die + done + insinto /usr/share/pixmaps + newins "${S}"/gnome_applet/rescuetime_48.png rescuetime.png || die + insinto /usr/$(get_libdir)/bonobo/servers/ + doins "${S}"/gnome_applet/*.server || die + + if use firefox; then + # Extension code derived from noscript ebuild + declare MOZILLA_FIVE_HOME + + # If this line is present, xpi_install() breaks + sed -i -e "/rescuetime@angushelm.com/d" \ + "${S}"/firefox_extension/install.rdf || die + + if has_version '>=www-client/mozilla-firefox-1.5.0.7'; then + MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-firefox" + xpi_install "${S}"/firefox_extension + fi + if has_version '>=www-client/mozilla-firefox-bin-1.5.0.7'; then + MOZILLA_FIVE_HOME="/opt/firefox" + xpi_install "${S}"/firefox_extension + fi + fi + + if use epiphany; then + pushd "${S}"/epiphany_extension 2>/dev/null + insinto /usr/$(get_libdir)/epiphany/*/extensions + doins rescuetime.* || die + popd 2>/dev/null + fi +} + +pkg_postinst() { + distutils_pkg_postinst + + elog "To use the GNOME applet, add it to your panel." + + if use epiphany; then + elog "To use the Epiphany plugin, first restart Epiphany." + elog "Then go to Tools->Extensions and check the RescueTime extension." + fi +} -- cgit v1.2.3-65-gdbad