diff options
author | Michael Weber <xmw@gentoo.org> | 2010-10-26 17:22:44 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2010-10-26 17:22:44 +0000 |
commit | d9007ab417aaa6fc63e823a6b273223fa4e291fe (patch) | |
tree | 645e8bfe72b9cc632a0703507a40ea82b7eb3f80 /app-misc | |
parent | Updated zipcode. Clean up ebuild. (diff) | |
download | historical-d9007ab417aaa6fc63e823a6b273223fa4e291fe.tar.gz historical-d9007ab417aaa6fc63e823a6b273223fa4e291fe.tar.bz2 historical-d9007ab417aaa6fc63e823a6b273223fa4e291fe.zip |
Initial import
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/specto/ChangeLog | 11 | ||||
-rw-r--r-- | app-misc/specto/Manifest | 5 | ||||
-rw-r--r-- | app-misc/specto/files/specto-0.3.1-icon-theme.patch | 30 | ||||
-rw-r--r-- | app-misc/specto/metadata.xml | 10 | ||||
-rw-r--r-- | app-misc/specto/specto-0.3.1.ebuild | 35 |
5 files changed, 91 insertions, 0 deletions
diff --git a/app-misc/specto/ChangeLog b/app-misc/specto/ChangeLog new file mode 100644 index 000000000000..704f60a615de --- /dev/null +++ b/app-misc/specto/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for app-misc/specto +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/specto/ChangeLog,v 1.1 2010/10/26 17:22:44 xmw Exp $ + +*specto-0.3.1 (26 Oct 2010) + + 26 Oct 2010; Michael Weber <xmw@gentoo.org> +specto-0.3.1.ebuild, + +files/specto-0.3.1-icon-theme.patch, +metadata.xml: + Initial import fixes bug #174604 (thanks to unnamedrambler@gmail.com). + Thanks to Jakub and Thomas in sunrise. + diff --git a/app-misc/specto/Manifest b/app-misc/specto/Manifest new file mode 100644 index 000000000000..014d4425556f --- /dev/null +++ b/app-misc/specto/Manifest @@ -0,0 +1,5 @@ +AUX specto-0.3.1-icon-theme.patch 1573 RMD160 8a81c00c6c9722ac9cfab4d72d4af3bf6ee35a63 SHA1 f0a0b5679f4705cea6f0df668fded27a5a633610 SHA256 d20d0069710902f5b6080710e7a58cee5c73b08eb3e4735915e9101d5140ba8e +DIST specto-0.3.1.tar.gz 213573 RMD160 e948f7810c0a36358dc80d0cacb9b93374b73e6f SHA1 709756aea2c9c0122fe1e9b73d390a0eca563687 SHA256 151b3108248696452c0e34a914b3f08b441b6e6c4c8518ac24002972cb85708a +EBUILD specto-0.3.1.ebuild 958 RMD160 a0e5b076bc6474edbcd200db33a5205e79d88415 SHA1 522d499d18e21000ef60a3313e28f04dff5fb76b SHA256 b96ad1e0658fd21b66f93025778b51724216f18f5de3e29463bbb1d30794517b +MISC ChangeLog 467 RMD160 1096e47b75cf8972b3aef218a365078ea9c053ab SHA1 4b83c6c92b200dff1ec3329dd120a95e7aeaeae8 SHA256 eec2eb3d0479a22111a15aaa94f579531bece59ec3220e55d9e8d05044f749ba +MISC metadata.xml 245 RMD160 6b03982a4d5f32d9fa6b9259ae36f9fcb07c8404 SHA1 fb16c7b4c5ab071dd979f761b8bb075f5396b737 SHA256 375a1da02cd2c393ce2378a73c1ce08134bc030b3bb378c6a4d6ca9cd5be1f8d diff --git a/app-misc/specto/files/specto-0.3.1-icon-theme.patch b/app-misc/specto/files/specto-0.3.1-icon-theme.patch new file mode 100644 index 000000000000..fcb7d1f0f241 --- /dev/null +++ b/app-misc/specto/files/specto-0.3.1-icon-theme.patch @@ -0,0 +1,30 @@ +Replace some GNOME icons with their FreeDesktop equivalents +so that it works with oxygen as a theme. + +--- specto-0.3.1/spectlib/notifier.py ++++ specto-0.3.1/spectlib/notifier.py +@@ -194,11 +194,11 @@ + """ show the right icon for the status from the watch. """ + watch = self.specto.watch_db[id] + statusbar = self.wTree.get_widget("statusbar1") +- icon = self.get_icon("error", 50, False) ++ icon = self.get_icon("dialog-error", 50, False) + + try: + if status == "checking": +- icon = self.get_icon("reload", 0, False) ++ icon = self.get_icon("view-refresh", 0, False) + statusbar.push(0, (datetime.today().strftime("%H:%M") + " - " + _('The watch "%s" is checking.') % watch.name)) + + elif status == "idle": +@@ -220,8 +220,8 @@ + + elif status == "error": + statusbar.push(0, (datetime.today().strftime("%H:%M") + " - " + _('The watch "%s" has a problem.') % watch.name)) +- balloon_icon = self.get_icon("error", 0, True) +- icon = self.get_icon("error", 50, False) ++ balloon_icon = self.get_icon("dialog-error", 0, True) ++ icon = self.get_icon("dialog-error", 50, False) + if self.specto.specto_gconf.get_entry("pop_toast") == True: + self.balloon.show_toast(watch.error_message, balloon_icon, urgency="critical", summary=(_("%s encountered a problem") % watch.name)) + if self.specto.specto_gconf.get_entry("use_problem_sound"): diff --git a/app-misc/specto/metadata.xml b/app-misc/specto/metadata.xml new file mode 100644 index 000000000000..02b909e46b7e --- /dev/null +++ b/app-misc/specto/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> +<email>xmw@gentoo.org</email> +<name>Michael Weber</name> +</maintainer> +</pkgmetadata> + diff --git a/app-misc/specto/specto-0.3.1.ebuild b/app-misc/specto/specto-0.3.1.ebuild new file mode 100644 index 000000000000..fe8b49f4cdf3 --- /dev/null +++ b/app-misc/specto/specto-0.3.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/specto/specto-0.3.1.ebuild,v 1.1 2010/10/26 17:22:44 xmw Exp $ + +EAPI=2 + +PYTHON_DEPEND="2" +PYTHON_MODNAME="spectlib" + +inherit distutils eutils + +DESCRIPTION="watch configurable events and trigger notifications" +HOMEPAGE="http://specto.sourceforge.net/" +SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="linguas_cs linguas_de linguas_es linguas_fr linguas_it + linguas_pt_BR linguas_ro linguas_sv linguas_tr" + +RDEPEND="dev-python/gconf-python + dev-python/dbus-python + dev-python/notify-python + >=dev-python/pygtk-2.10" + +src_prepare() { + epatch "${FILESDIR}"/${P}-icon-theme.patch + + sed -e "s:share/doc/specto:share/doc/${PF}:" \ + -i setup.py spectlib/util.py || die + + sed -e "/^i18n_languages = /s: = .*: = \"${LINGUAS}\":" \ + -i setup.py || die +} |