Permalink
Browse files

FL-318: Temporarily fork genlop

  • Loading branch information...
1 parent 6cc8931 commit 705284a55980c733dca68e56c52937c4a1d6bfb1 @jeanfrancisroy jeanfrancisroy committed Apr 8, 2013
@@ -0,0 +1 @@
+DIST genlop-0.30.9.tar.gz 21160 SHA256 76aae7055c68bd1bd9f0e17d9e984c32b7e94d4824c9e433f45e3457916f1193 SHA512 659c85bb1d75a90e37449a194fca2c610b2684dab3eb722d566aa929626d958aa1584d12a623f31518d982543be9392786291886ea66a5511e61de1beb3a6936 WHIRLPOOL fab528d251c57541c0cb5e5072d863abf6e776282a64ee3ecfcb88113bac3f1f0256825c0a19fdabbb8f671bc442703a12b28a9d1a4ab7b44c388367ea43dd2c
@@ -0,0 +1,10 @@
+--- genlop
++++ genlop
+@@ -694,6 +694,7 @@
+ {
+ my $e_current;
+ $ebuild_arg =~ s/(\+)/\\$1/g;
++ $ebuild_arg =~ s/.*\///g;
+ foreach my $logfile (@logfiles)
+ {
+ my $handle;
@@ -0,0 +1,11 @@
+--- genlop-0.30.8/genlop.old 2007-09-25 15:36:55 -0600
++++ genlop-0.30.8/genlop 2007-09-26 19:19:37 -0600
+@@ -25,7 +25,7 @@
+ use LWP::Simple;
+ use File::Basename;
+
+-my $version = "0.30.7";
++my $version = "0.30.8";
+ my @logfiles = ("/var/log/emerge.log");
+ my %COLORS = (
+ 'blue' => 'bold blue',
@@ -0,0 +1,26 @@
+From 76cb98e439c65b5ec8d32d809100a67c653e5635 Mon Sep 17 00:00:00 2001
+From: Paul Varner <fuzzyray@gentoo.org>
+Date: Mon, 21 Jan 2013 15:37:19 -0600
+Subject: [PATCH] Fix issue where genlop <pkg name> no longer displays merge
+ information (Bug 453382).
+
+---
+ genlop | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/genlop b/genlop
+index 52af5ed..d5020eb 100755
+--- a/genlop
++++ b/genlop
+@@ -1127,7 +1127,7 @@ foreach my $ebuild_arg (@targets)
+ }
+ }
+ }
+- if ($list_found or $ebuild_found or $time_found)
++ if ($list_found or $ebuild_found or $time_found or !$info_found)
+ {
+ my $eb = $2;
+ my $extra = $3 || "";
+--
+1.8.1.1
+
@@ -0,0 +1,26 @@
+diff --git a/genlop b/genlop
+index 51b6f35..9ae5010 100755
+--- a/genlop
++++ b/genlop
+@@ -982,6 +982,21 @@ sub rsync() {
+ print " rsync'ed at >>> ", colored((scalar localtime "$1"), $COLORS{'green'}),"\n";
+ }
+ }
++
++ if ($_ =~ m/^(.*?)\: \>\>\> Git pull in .*successful$/) {
++ if ($date_found) {
++ if (datecompare($1) <= 0) {
++ next;
++ }
++ }
++
++ if ($gmt_found) {
++ print " Git pulled at >>> ", colored((scalar gmtime "$1"), $COLORS{'green'}),"\n";
++ }
++ else {
++ print " Git pulled at >>> ", colored((scalar localtime "$1"), $COLORS{'green'}),"\n";
++ }
++ }
+ }
+ close($handle);
+ }
@@ -0,0 +1,29 @@
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit base bash-completion-r1
+
+DESCRIPTION="A nice emerge.log parser"
+HOMEPAGE="http://www.gentoo.org/proj/en/perl"
+SRC_URI="mirror://gentoo//${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="*"
+IUSE=""
+
+DEPEND="dev-lang/perl
+ dev-perl/DateManip
+ dev-perl/libwww-perl"
+RDEPEND="${DEPEND}"
+
+# Populate the patches array for any patches for -rX releases
+PATCHES=( "${FILESDIR}"/${P}-display.patch "${FILESDIR}"/${P}-funtoo-support.patch )
+
+src_install() {
+ dobin genlop || die "failed to install genlop (via dobin)"
+ dodoc README Changelog
+ doman genlop.1
+ newbashcomp genlop.bash-completion genlop
+}

0 comments on commit 705284a

Please sign in to comment.