public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Martin Mokrejs" <mmokrejs@fold.natur.cuni.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/gbrowse/files/, sci-biology/gbrowse/
Date: Sat, 30 Jul 2011 15:43:40 +0000 (UTC)	[thread overview]
Message-ID: <f67b7b7711a847bed69fcec066f3aa4d3b42427d.mmokrejs@gentoo> (raw)

commit:     f67b7b7711a847bed69fcec066f3aa4d3b42427d
Author:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Sat Jul 30 15:43:31 2011 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Sat Jul 30 15:43:31 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f67b7b77

sci-biology/gbrowse: add missing brackets cause a perl error while exporting a PNG image

(Portage version: 2.1.10.7/git/Linux i686, unsigned Manifest commit)

---
 sci-biology/gbrowse/ChangeLog                  |    5 +++++
 sci-biology/gbrowse/files/fix-PNG-export.patch |   11 +++++++++++
 sci-biology/gbrowse/gbrowse-2.39.ebuild        |    3 ++-
 3 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/sci-biology/gbrowse/ChangeLog b/sci-biology/gbrowse/ChangeLog
index 5c2bd3e..a55fdce 100644
--- a/sci-biology/gbrowse/ChangeLog
+++ b/sci-biology/gbrowse/ChangeLog
@@ -3,6 +3,11 @@
 # $Header: /var/cvsroot/gentoo-x86/sci-biology/generic-genome-browser/ChangeLog,v 1.10 2007/07/29 17:07:38 phreak Exp $
 
   30 Jul 2011; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
+  gbrowse-2.39.ebuild, +files/fix-PNG-export.patch:
+  sci-biology/gbrowse: add missing brackets cause a perl error while exporting
+  a PNG image gbrowse-2.39.ebuild files/fix-PNG-export.patch
+
+  30 Jul 2011; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
   gbrowse-2.39.ebuild, +files/destdir.patch:
   added support for --destdir, patch sent to upstream gbrowse-2.39.ebuild
 

diff --git a/sci-biology/gbrowse/files/fix-PNG-export.patch b/sci-biology/gbrowse/files/fix-PNG-export.patch
new file mode 100644
index 0000000..469f752
--- /dev/null
+++ b/sci-biology/gbrowse/files/fix-PNG-export.patch
@@ -0,0 +1,11 @@
+--- lib/Bio/Graphics/Browser2/AuthorizedFeatureFile.pm.ori  2011-07-30 17:14:28.000000000 +0200
++++ lib/Bio/Graphics/Browser2/AuthorizedFeatureFile.pm      2011-07-30 17:13:13.000000000 +0200
+@@ -30,7 +30,7 @@
+ sub setting {
+   my $self = shift;
+   my ($label,$option,@rest) = @_ >= 2 ? @_ : ('general',@_);
+-  $label = 'general' if lc $label eq 'general';  # buglet
++  $label = 'general' if lc($label) eq 'general';  # buglet
+   $self->SUPER::setting($label,$option,@rest);
+ }
+ 

diff --git a/sci-biology/gbrowse/gbrowse-2.39.ebuild b/sci-biology/gbrowse/gbrowse-2.39.ebuild
index 35af68f..c0bcf25 100644
--- a/sci-biology/gbrowse/gbrowse-2.39.ebuild
+++ b/sci-biology/gbrowse/gbrowse-2.39.ebuild
@@ -90,7 +90,8 @@ src_prepare() {
 	sed -i 's/return unless -t STDIN/return/' install_util/GBrowseInstall.pm || die
 	sed -i 's/process_/bp_process_/g' INSTALL || die
 	epatch "${FILESDIR}"/GBrowseInstall.pm-"${PV}".patch || die "Failed to apply GBrowseInstall.pm-"${PV}".patch"
-	epatch "${FILESDIR}"/destdir.patch || die "Failed to apply destdir.patch "
+	epatch "${FILESDIR}"/destdir.patch || die "Failed to apply destdir.patch"
+	epatch "${FILESDIR}"/fix-PNG-export.patch || die "Failed to apply fix-PNG-export.patch"
 }
 
 src_configure() {



             reply	other threads:[~2011-07-30 15:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-30 15:43 Martin Mokrejs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-01-17 18:11 [gentoo-commits] proj/sci:master commit in: sci-biology/gbrowse/files/, sci-biology/gbrowse/ Martin Mokrejs
2011-07-30 19:22 Martin Mokrejs
2011-07-30 14:45 Martin Mokrejs
2011-07-30 10:46 Martin Mokrejs
2011-06-28 17:15 Justin Lecher
2011-05-11  8:59 Martin Mokrejs
2011-02-14 15:48 Martin Mokrejs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f67b7b7711a847bed69fcec066f3aa4d3b42427d.mmokrejs@gentoo \
    --to=mmokrejs@fold.natur.cuni.cz \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox