summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-misc/specto
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-misc/specto')
-rw-r--r--app-misc/specto/Manifest1
-rw-r--r--app-misc/specto/files/specto-0.4.1-icon-theme.patch30
-rw-r--r--app-misc/specto/metadata.xml11
-rw-r--r--app-misc/specto/specto-0.4.1-r1.ebuild40
4 files changed, 82 insertions, 0 deletions
diff --git a/app-misc/specto/Manifest b/app-misc/specto/Manifest
new file mode 100644
index 000000000000..c5454e64d670
--- /dev/null
+++ b/app-misc/specto/Manifest
@@ -0,0 +1 @@
+DIST specto-0.4.1.tar.gz 316337 SHA256 aa2415ea35f00a0bb6fc20dda56ef7c840c8971e325f87eae80f6f9cd40d8ecc SHA512 0952b3411618188eec1f4e73895d4ce4a7696617d4ff2621552a5f06248853d0feccb6887a41af2ac4fbc928d366e89bcf87425a6786dfc91254b9c6f766f197 WHIRLPOOL 7be6a5911db5e6cabe66994f9c58bd1ab17bcb1925d08c5fbea54cb44cec3a01591d1e66bf7d690ca3dceb3b1c598b0c02b03c9eef7419ac663c8c09a5c8961c
diff --git a/app-misc/specto/files/specto-0.4.1-icon-theme.patch b/app-misc/specto/files/specto-0.4.1-icon-theme.patch
new file mode 100644
index 000000000000..60870deba203
--- /dev/null
+++ b/app-misc/specto/files/specto-0.4.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.4.1/spectlib/notifier.py
++++ specto-0.4.1/spectlib/notifier.py
+@@ -213,11 +213,11 @@
+ """ show the right icon for the status from the watch. """
+ watch = self.specto.watch_db[id]
+ statusbar = self.builder.get_object("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":
+@@ -242,8 +242,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:
+ body = watch.escape(watch.error_message)
+ self.balloon.show_toast(body, balloon_icon, urgency="critical", summary=(_("%s encountered a problem") % watch.name))
diff --git a/app-misc/specto/metadata.xml b/app-misc/specto/metadata.xml
new file mode 100644
index 000000000000..a039e79a8927
--- /dev/null
+++ b/app-misc/specto/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">specto</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/specto/specto-0.4.1-r1.ebuild b/app-misc/specto/specto-0.4.1-r1.ebuild
new file mode 100644
index 000000000000..8aac48935a51
--- /dev/null
+++ b/app-misc/specto/specto-0.4.1-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 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[${PYTHON_USEDEP}]
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/libgnome-python[${PYTHON_USEDEP}]
+ dev-python/notify-python[${PYTHON_USEDEP}]
+ >=dev-python/pygtk-2.10[${PYTHON_USEDEP}]"
+DEPEND=""
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-icon-theme.patch
+
+ sed -e "s:share/doc/specto:share/doc/${PF}:" \
+ -i setup.py spectlib/util.py || die
+
+ if [ -n "${LINGUAS}" ] ; then
+ sed -e "/^i18n_languages = /s: = .*: = \"${LINGUAS}\":" \
+ -i setup.py || die
+ fi
+
+ distutils-r1_src_prepare
+}