public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/coot/files/, sci-chemistry/coot/
Date: Wed, 25 Apr 2012 15:26:01 +0000 (UTC)	[thread overview]
Message-ID: <1335367464.d858ac3b7a4d7f28e524ddaf398a3c39532e7907.jlec@gentoo> (raw)

commit:     d858ac3b7a4d7f28e524ddaf398a3c39532e7907
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 25 15:24:24 2012 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Apr 25 15:24:24 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=d858ac3b

sci-chemistry/coot: Drop libpng-1.5 patch, included upstream

(Portage version: 2.2.0_alpha101/git/Linux x86_64, unsigned Manifest commit)

---
 sci-chemistry/coot/ChangeLog                   |    7 +++++
 sci-chemistry/coot/coot-9999.ebuild            |    1 -
 sci-chemistry/coot/files/9999-libpng-1.5.patch |   29 ------------------------
 3 files changed, 7 insertions(+), 30 deletions(-)

diff --git a/sci-chemistry/coot/ChangeLog b/sci-chemistry/coot/ChangeLog
index d281af2..0b2d8a9 100644
--- a/sci-chemistry/coot/ChangeLog
+++ b/sci-chemistry/coot/ChangeLog
@@ -2,6 +2,13 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  25 Apr 2012; Justin Lecher <jlec@gentoo.org> -files/9999-libpng-1.5.patch,
+  coot-9999.ebuild:
+  Drop libpng-1.5 patch, included upstream
+
+  25 Apr 2012; Justin Lecher <jlec@gentoo.org> coot-9999.ebuild:
+  Add fix for >glib-2.32
+
   16 Mar 2012; Justin Lecher <jlec@gentoo.org> -files/9999-gl.patch,
   -files/9999-test.patch, coot-9999.ebuild:
   Drop gl and test patch -> included upstream

diff --git a/sci-chemistry/coot/coot-9999.ebuild b/sci-chemistry/coot/coot-9999.ebuild
index f5bd086..fc6ca94 100644
--- a/sci-chemistry/coot/coot-9999.ebuild
+++ b/sci-chemistry/coot/coot-9999.ebuild
@@ -85,7 +85,6 @@ PATCHES=(
 	"${FILESDIR}"/${PV}-goocanvas.patch
 	"${FILESDIR}"/${PV}-mmdb-config.patch
 	"${FILESDIR}"/${PV}-ssm.patch
-	"${FILESDIR}"/${PV}-libpng-1.5.patch
 	)
 
 src_unpack() {

diff --git a/sci-chemistry/coot/files/9999-libpng-1.5.patch b/sci-chemistry/coot/files/9999-libpng-1.5.patch
deleted file mode 100644
index bddd251..0000000
--- a/sci-chemistry/coot/files/9999-libpng-1.5.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- ccp4mg-utils/ppmutil.cc
-+++ ccp4mg-utils/ppmutil.cc
-@@ -2494,15 +2494,21 @@
- 
-   pixels = new unsigned char[width*height*colourspace];
- 
-+  png_colorp palette;
-+  int num_trans;
-+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >=4
-+  png_bytep trans_alpha;
-+#endif
-+
-   for (int i=0; i<height; i++){
-     if(color_type==PNG_COLOR_TYPE_PALETTE){
-       for (int j=0; j<width; j++){
--        pixels[i*width*colourspace+j*colourspace] = png_ptr->palette[row_pointers[i][j]].red;
--        pixels[i*width*colourspace+j*colourspace+1] = png_ptr->palette[row_pointers[i][j]].green;
--        pixels[i*width*colourspace+j*colourspace+2] = png_ptr->palette[row_pointers[i][j]].blue;
--        if(row_pointers[i][j]<png_ptr->num_trans){
-+        pixels[i*width*colourspace+j*colourspace] = palette[row_pointers[i][j]].red;
-+        pixels[i*width*colourspace+j*colourspace+1] = palette[row_pointers[i][j]].green;
-+        pixels[i*width*colourspace+j*colourspace+2] = palette[row_pointers[i][j]].blue;
-+        if(row_pointers[i][j]<num_trans){
- #if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >=4
--         pixels[i*width*colourspace+j*colourspace+3] = png_ptr->trans_alpha[row_pointers[i][j]];
-+         pixels[i*width*colourspace+j*colourspace+3] = trans_alpha[row_pointers[i][j]];
- #else
-          pixels[i*width*colourspace+j*colourspace+3] = png_ptr->trans[row_pointers[i][j]];
- #endif



             reply	other threads:[~2012-04-25 15:26 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-25 15:26 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-09-22 13:40 [gentoo-commits] proj/sci:master commit in: sci-chemistry/coot/files/, sci-chemistry/coot/ Aisha Tammy
2015-09-15 13:34 Justin Lecher
2014-06-30 19:02 Justin Lecher
2013-11-25 18:48 Justin Lecher
2013-10-02  6:49 Justin Lecher
2013-09-28  9:15 Justin Lecher
2013-08-27  6:58 Justin Lecher
2013-07-22 13:29 Justin Lecher
2013-06-02 16:48 Justin Lecher
2012-07-04  7:43 Justin Lecher
2012-06-14 12:11 Justin Lecher
2012-03-21 11:20 Justin Lecher
2012-02-27  7:29 Justin Lecher
2011-10-11 20:50 Justin Lecher
2011-07-16 13:45 Justin Lecher
2011-07-16 13:45 Justin Lecher
2011-06-29 13:32 Justin Lecher
2011-06-15 20:50 Justin Lecher
2011-06-02  8:39 Justin Lecher
2011-05-28 11:50 Justin Lecher
2011-04-29 10:05 Justin Lecher
2011-04-29 10:05 Justin Lecher
2011-03-03 14:23 Justin Lecher

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=1335367464.d858ac3b7a4d7f28e524ddaf398a3c39532e7907.jlec@gentoo \
    --to=jlec@gentoo.org \
    --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