diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-portage/elogviewer | |
download | gentoo-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-portage/elogviewer')
-rw-r--r-- | app-portage/elogviewer/Manifest | 3 | ||||
-rw-r--r-- | app-portage/elogviewer/elogviewer-0.6.2-r3.ebuild | 56 | ||||
-rw-r--r-- | app-portage/elogviewer/elogviewer-2.1-r1.ebuild | 49 | ||||
-rw-r--r-- | app-portage/elogviewer/elogviewer-2.1-r2.ebuild | 49 | ||||
-rw-r--r-- | app-portage/elogviewer/elogviewer-2.5.ebuild | 46 | ||||
-rw-r--r-- | app-portage/elogviewer/files/elogviewer-0.5.2-clear_warning.patch | 49 | ||||
-rw-r--r-- | app-portage/elogviewer/files/elogviewer-0.5.2-timesort.patch | 70 | ||||
-rw-r--r-- | app-portage/elogviewer/files/elogviewer-0.6.2-missing_newline.patch | 23 | ||||
-rw-r--r-- | app-portage/elogviewer/metadata.xml | 12 |
9 files changed, 357 insertions, 0 deletions
diff --git a/app-portage/elogviewer/Manifest b/app-portage/elogviewer/Manifest new file mode 100644 index 000000000000..f41a663925c7 --- /dev/null +++ b/app-portage/elogviewer/Manifest @@ -0,0 +1,3 @@ +DIST elogviewer-0.6.2.tar.gz 13904 SHA256 27c879a64824dbee50b6f8ddd387047d4bfe80f101fadf24571ba1b12b135dbf SHA512 dccf4dffb87fefb7d9e0609b3312d63b73c1b9c5933819c38b775b049e222687e9da06e63fe8194560f4bb631fa586b4746af9e0a7575eefa782b57d9c1c6e04 WHIRLPOOL 46d04c684b741d337a7c713b3bb375dc78afc99b573a8f229f9970609c6628a5dd6d30e4112c33c19ef7cc24502a5019079a8d70b47a81f199440643926ef80a +DIST elogviewer-2.1.tar.gz 14968 SHA256 12e13c1fec1651e57cf39f66231a2cf27af5110c1b4944ac84f76de7f9cc7fe7 SHA512 27a34ce67e16a51055246b7169c11c248310b2a1d987018938094301b2602839e48909e3224f7d791343bb691de8e2f0ca7b00bd1477e2b3b43d61a24b4e688f WHIRLPOOL c4ab91936d147121d3ab34d04d5c74587d5c4f61f56e2e1c35e0ceed5d92537d29642599b8c5215c2405c892b00f244a30c980da9270b3afab61cd083227e85e +DIST elogviewer-2.5.tar.gz 16055 SHA256 1dc005078ebdc7ed9bfbf28e157a06d3eac500d30baa927cbde80268bb90bb05 SHA512 d37b7e1a38cae3528519c80b13a1064b0be967a19ed6a329c0f461e6c8d7c49fe5bf76f0604c82e735a3f3c7276e9be12309bf6a2f8a8b9c079cc9056a700b09 WHIRLPOOL 105db14806569f1051a422677e2c90e65657201aee5f38858df521bdd3b3fc8847c2ae78f965b41c540cac467825b117e5fcef8fb91a25294fa47befce523692 diff --git a/app-portage/elogviewer/elogviewer-0.6.2-r3.ebuild b/app-portage/elogviewer/elogviewer-0.6.2-r3.ebuild new file mode 100644 index 000000000000..c5e162bc1aa4 --- /dev/null +++ b/app-portage/elogviewer/elogviewer-0.6.2-r3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-r1 + +DESCRIPTION="GTK+ based utility to parse the contents of elogs created by Portage" +HOMEPAGE="http://sourceforge.net/projects/elogviewer/" + +SRC_URI="mirror://sourceforge/elogviewer/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd" +IUSE="" + +DEPEND="" +RDEPEND=">=sys-apps/portage-2.1 + >=dev-python/pygtk-2.0" + +S="${WORKDIR}" + +src_prepare() { + # Apply patch from Bug 349071 to restore missing newline + epatch "${FILESDIR}/${P}-missing_newline.patch" + # Fix bug #453016 + sed -e 's|is not ""|!= ""|' -i elogviewer || die +} + +src_install() { + python_foreach_impl python_doscript "${WORKDIR}"/elogviewer + dodoc "${WORKDIR}"/CHANGELOG + doman "${WORKDIR}"/elogviewer.1 + make_desktop_entry elogviewer Elogviewer "" "System" || + die "Couldn't make desktop entry" +} + +pkg_postinst() { + elog + elog "In order to use this software, you need to activate" + elog "Portage's elog features. Required is" + elog " PORTAGE_ELOG_SYSTEM=\"save\" " + elog "and at least one out of " + elog " PORTAGE_ELOG_CLASSES=\"warn error info log qa\"" + elog "More information on the elog system can be found" + elog "in /etc/make.conf.example" + elog + elog "To operate properly this software needs the directory" + elog "${PORT_LOGDIR:-/var/log/portage}/elog created, belonging to group portage." + elog "To start the software as a user, add yourself to the portage" + elog "group." + elog +} diff --git a/app-portage/elogviewer/elogviewer-2.1-r1.ebuild b/app-portage/elogviewer/elogviewer-2.1-r1.ebuild new file mode 100644 index 000000000000..b4e380561247 --- /dev/null +++ b/app-portage/elogviewer/elogviewer-2.1-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_COMPAT=(python{2_7,3_3}) + +inherit distutils-r1 + +DESCRIPTION="Elog viewer for Gentoo" +HOMEPAGE="https://sourceforge.net/projects/elogviewer" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ~sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND=" + || ( dev-python/PyQt4[${PYTHON_USEDEP},X] + dev-python/pyside[${PYTHON_USEDEP},X] ) + >=sys-apps/portage-2.1 + " +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +src_install() { + mv elogviewer.py elogviewer + dobin elogviewer + doman elogviewer.1 + dodoc LICENSE.TXT +} + +pkg_postinst() { + elog + elog "In order to use this software, you need to activate" + elog "Portage's elog features. Required is" + elog " PORTAGE_ELOG_SYSTEM=\"save\" " + elog "and at least one of " + elog " PORTAGE_ELOG_CLASSES=\"warn error info log qa\"" + elog "More information on the elog system can be found" + elog "in /etc/make.conf.example" + elog + elog "To operate properly this software needs the directory" + elog "${PORT_LOGDIR:-/var/log/portage}/elog created, belonging to group portage." + elog "To start the software as a user, add yourself to the portage" + elog "group." + elog +} diff --git a/app-portage/elogviewer/elogviewer-2.1-r2.ebuild b/app-portage/elogviewer/elogviewer-2.1-r2.ebuild new file mode 100644 index 000000000000..d4ccaa43d41e --- /dev/null +++ b/app-portage/elogviewer/elogviewer-2.1-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_COMPAT=(python{2_7,3_3,3_4}) + +inherit distutils-r1 + +DESCRIPTION="Elog viewer for Gentoo" +HOMEPAGE="https://sourceforge.net/projects/elogviewer" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ~sparc x86 ~x86-fbsd" +IUSE="" + +RDEPEND=" + || ( dev-python/PyQt4[${PYTHON_USEDEP},X] + dev-python/pyside[${PYTHON_USEDEP},X] ) + >=sys-apps/portage-2.1 + " +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +src_install() { + mv elogviewer.py elogviewer + dobin elogviewer + doman elogviewer.1 + dodoc LICENSE.TXT +} + +pkg_postinst() { + elog + elog "In order to use this software, you need to activate" + elog "Portage's elog features. Required is" + elog " PORTAGE_ELOG_SYSTEM=\"save\" " + elog "and at least one of " + elog " PORTAGE_ELOG_CLASSES=\"warn error info log qa\"" + elog "More information on the elog system can be found" + elog "in /etc/make.conf.example" + elog + elog "To operate properly this software needs the directory" + elog "${PORT_LOGDIR:-/var/log/portage}/elog created, belonging to group portage." + elog "To start the software as a user, add yourself to the portage" + elog "group." + elog +} diff --git a/app-portage/elogviewer/elogviewer-2.5.ebuild b/app-portage/elogviewer/elogviewer-2.5.ebuild new file mode 100644 index 000000000000..25f10cd210ea --- /dev/null +++ b/app-portage/elogviewer/elogviewer-2.5.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=(python{2_7,3_3,3_4}) +DISABLE_AUTOFORMATTING=true +inherit distutils-r1 eutils readme.gentoo + +DESCRIPTION="Elog viewer for Gentoo" +HOMEPAGE="https://sourceforge.net/projects/elogviewer" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="|| ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + dev-python/PyQt4[${PYTHON_USEDEP},X] + dev-python/pyside[${PYTHON_USEDEP},X] ) + >=sys-apps/portage-2.1 + $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python{2_7,3_3}) + " +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +DOC_CONTENTS="In order to use this software, you need to activate +Portage's elog features. Required is + PORTAGE_ELOG_SYSTEM=\"save\" +and at least one of + PORTAGE_ELOG_CLASSES=\"warn error info log qa\" +More information on the elog system can be found in /etc/make.conf.example + +To operate properly this software needs the directory +${PORT_LOGDIR:-/var/log/portage}/elog created, belonging to group portage. +To start the software as a user, add yourself to the portage group." + +src_install() { + mv elogviewer.py elogviewer + dobin elogviewer + doman elogviewer.1 + make_desktop_entry ${PN} ${PN} ${PN} System + readme.gentoo_src_install +} diff --git a/app-portage/elogviewer/files/elogviewer-0.5.2-clear_warning.patch b/app-portage/elogviewer/files/elogviewer-0.5.2-clear_warning.patch new file mode 100644 index 000000000000..3f9ac836fb06 --- /dev/null +++ b/app-portage/elogviewer/files/elogviewer-0.5.2-clear_warning.patch @@ -0,0 +1,49 @@ +--- elogviewer.orig 2008-04-24 17:41:01.000000000 -0400 ++++ elogviewer 2008-04-24 18:59:09.000000000 -0400 +@@ -47,6 +47,10 @@ + Christian Faulhammer (V-Li) has written the man page. + ''' + ++_clearwarn = ''' ++<big>WARNING:</big> Are you sure you want to clear all entries? This will permanently delete all elog files! ++''' ++ + + # Redirect messages to stderr + import sys +@@ -435,6 +439,23 @@ + self.destroy() + + ++class ClearPrompt(gtk.MessageDialog): ++ ++ def __init__(self): ++ gtk.MessageDialog.__init__(self, ++ parent=None, ++ #flasgs=0, ++ type=gtk.MESSAGE_WARNING, ++ buttons=gtk.BUTTONS_YES_NO, ++ message_format=None) ++ self.set_markup ( _clearwarn ) ++ ++ def do_prompt(self): ++ response = self.run() ++ self.destroy() ++ return response ++ ++ + class ActionGroup(gtk.ActionGroup): + + def __init__(self, activate_action): +@@ -641,7 +662,10 @@ + if action == "Delete": + self.delete() + if action == "Clear": +- self.clear() ++ cp = ClearPrompt() ++ confirmation = cp.do_prompt() ++ if confirmation == gtk.RESPONSE_YES: ++ self.clear() + if action == "Refresh": + self.refresh() + if action == "Quit": diff --git a/app-portage/elogviewer/files/elogviewer-0.5.2-timesort.patch b/app-portage/elogviewer/files/elogviewer-0.5.2-timesort.patch new file mode 100644 index 000000000000..e3223bf84e4d --- /dev/null +++ b/app-portage/elogviewer/files/elogviewer-0.5.2-timesort.patch @@ -0,0 +1,70 @@ +--- elogviewer 2007-09-20 10:47:05.000000000 +0300 ++++ elogviewer 2008-01-23 23:50:12.000000000 +0200 +@@ -123,26 +123,29 @@ + #otime = '%Y-%m-%d %H:%M:%S' + # see modules time and locale + otime = '%x %X' ++ vtime = '%Y-%m-%d %H:%M:%S' + + (c, p, t) = filename.split(':') + t = time.strptime(t, itime) ++ st = time.strftime(vtime, t) + t = time.strftime(otime, t) + + self.category = c + self.package = p +- self.timestamp = t ++ self.timestamp = st ++ self.timesort = t + self.filename = filename + + + from glob import glob + from gobject import TYPE_STRING +-( CATEGORY, PACKAGE, TIMESTAMP, FILENAME ) = range(4) ++( CATEGORY, PACKAGE, TIMESTAMP, TIMESORT, FILENAME ) = range(5) + class TreeStore(gtk.TreeStore): + + def __init__(self): + + gtk.TreeStore.__init__( self, +- TYPE_STRING, TYPE_STRING, TYPE_STRING, TYPE_STRING ) ++ TYPE_STRING, TYPE_STRING, TYPE_STRING, TYPE_STRING, TYPE_STRING ) + + def get_filename(self, iter): + if not iter: +@@ -169,14 +172,14 @@ + iter = self.insert_before(None, None) + self.set_value(iter, 0, e.category) + self.append(iter, (None, +- e.package, e.timestamp, e.filename)) ++ e.package, e.timestamp, e.timesort, e.filename)) + + def populate_flat(self): + self.clear() + iter = self.get_iter_first() + for e in [Elog(filename) for filename in glob('*:*:*.log')]: + self.append(iter, +- (e.category, e.package, e.timestamp, e.filename)) ++ (e.category, e.package, e.timestamp, e.timesort, e.filename)) + + + class TreeViewColumn(gtk.TreeViewColumn): +@@ -184,7 +187,7 @@ + def __init__(self, title=None, *args, **kargs): + gtk.TreeViewColumn.__init__(self, title, *args, **kargs) + +- self.set_sort_column_id(TIMESTAMP) ++ self.set_sort_column_id(TIMESORT) + + + class TreeView(gtk.TreeView): +@@ -197,7 +200,7 @@ + self.append_column(TreeViewColumn( + 'Package', gtk.CellRendererText(), text=PACKAGE)) + self.append_column(TreeViewColumn( +- 'Time', gtk.CellRendererText(), text=TIMESTAMP)) ++ 'Time', gtk.CellRendererText(), text=TIMESORT)) + + self.set_enable_search(True) + self.set_search_column(PACKAGE) diff --git a/app-portage/elogviewer/files/elogviewer-0.6.2-missing_newline.patch b/app-portage/elogviewer/files/elogviewer-0.6.2-missing_newline.patch new file mode 100644 index 000000000000..e7f3e79a6a93 --- /dev/null +++ b/app-portage/elogviewer/files/elogviewer-0.6.2-missing_newline.patch @@ -0,0 +1,23 @@ +Add missing newline and remove debug print statement + +https://bugs.gentoo.org/349071 + +--- elogviewer ++++ elogviewer +@@ -154,7 +154,7 @@ + and self.filters[section] == True: + self.insert_with_tags( + self.get_end_iter(), +- line, ++ line + '\n', + self.get_tag_table().lookup(header)) + finally: + file_obj.close() +@@ -385,7 +385,6 @@ + if len(split_filename) is 3: + (self._category, self._package, t) = split_filename + elif len(split_filename) is 2: +- print split_filename + (self._category, self._package) = split_filename[0].split('/') + t = split_filename[1] + t = time.strptime(t, itime) diff --git a/app-portage/elogviewer/metadata.xml b/app-portage/elogviewer/metadata.xml new file mode 100644 index 000000000000..9a39c39cdb18 --- /dev/null +++ b/app-portage/elogviewer/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>tools-portage</herd> + <maintainer> + <email>fuzzyray@gentoo.org</email> + <name>Paul Varner</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">elogviewer</remote-id> + </upstream> +</pkgmetadata> |