public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-gfx/povray/files: povray-3.7.0_beta35-print-extend-expiration-info.patch povray-3.7.0_beta35-libpng14.patch povray-3.7.0_beta32-libpng14.patch povray-3.7.0_beta32-print-extend-expiration-info.patch
@ 2010-05-24 14:29 Joe Peterson (lavajoe)
  0 siblings, 0 replies; only message in thread
From: Joe Peterson (lavajoe) @ 2010-05-24 14:29 UTC (permalink / raw
  To: gentoo-commits

lavajoe     10/05/24 14:29:56

  Added:               
                        povray-3.7.0_beta35-print-extend-expiration-info.patch
                        povray-3.7.0_beta35-libpng14.patch
  Removed:              povray-3.7.0_beta32-libpng14.patch
                        povray-3.7.0_beta32-print-extend-expiration-info.patch
  Log:
  Add new beta version 35a; remove old beta (fix bug #320865)
  (Portage version: 2.1.8.3/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-gfx/povray/files/povray-3.7.0_beta35-print-extend-expiration-info.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/povray/files/povray-3.7.0_beta35-print-extend-expiration-info.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/povray/files/povray-3.7.0_beta35-print-extend-expiration-info.patch?rev=1.1&content-type=text/plain

Index: povray-3.7.0_beta35-print-extend-expiration-info.patch
===================================================================
--- vfe/unix/unixconsole.cpp~	2008-10-07 17:06:27.000000000 -0600
+++ vfe/unix/unixconsole.cpp	2008-11-08 14:11:58.000000000 -0700
@@ -281,10 +281,21 @@
 
 		if (user_code != current_code)
 		{
-			fprintf(stderr, "%s: this pre-release version of POV-Ray for Unix %s\n",
-				PACKAGE,
-				current_week < 52 ? "has expired" : "is over twelve months old and is no longer usable"
-			);
+                        if (current_week < 52)
+                        {
+				fprintf(stderr, "%s: this pre-release version of POV-Ray for Unix %s\n",
+					PACKAGE,
+					"has expired"
+				);
+                                fprintf(stderr, "\nTo extend the license period, you can do something like the following\n(adjust syntax for your shell):\n\n    export POVRAY_BETA=`povray --betacode 2>&1`\n\n");
+                        }
+                        else
+                        {
+				fprintf(stderr, "%s: this pre-release version of POV-Ray for Unix %s\n",
+					PACKAGE,
+					"is over twelve months old and is no longer usable"
+				);
+                        }
 			exit(RETURN_ERROR);
 		}
 		current_time = EXPIRE_AT + (current_week+1)*spw - current_time;



1.1                  media-gfx/povray/files/povray-3.7.0_beta35-libpng14.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/povray/files/povray-3.7.0_beta35-libpng14.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/povray/files/povray-3.7.0_beta35-libpng14.patch?rev=1.1&content-type=text/plain

Index: povray-3.7.0_beta35-libpng14.patch
===================================================================
--- source/base/image/png.cpp
+++ source/base/image/png.cpp
@@ -433,7 +433,7 @@
       entry.alpha = 1.0f ;
       if (has_alpha)
         if (index < r_info_ptr->num_trans)
-          entry.alpha = (float) (r_info_ptr->trans[index]) / 255.0;
+          entry.alpha = (float) (r_info_ptr->trans_alpha[index]) / 255.0;
       colormap.push_back (entry);
     }
 
@@ -459,7 +459,7 @@
       entry.alpha = 1.0f ;
       if (r_info_ptr->valid & PNG_INFO_tRNS)
         if (index < r_info_ptr->num_trans)
-          entry.alpha = (float) (r_info_ptr->trans[index]) / 255.0;
+          entry.alpha = (float) (r_info_ptr->trans_alpha[index]) / 255.0;
       colormap.push_back (entry);
     }
 






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-24 14:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-24 14:29 [gentoo-commits] gentoo-x86 commit in media-gfx/povray/files: povray-3.7.0_beta35-print-extend-expiration-info.patch povray-3.7.0_beta35-libpng14.patch povray-3.7.0_beta32-libpng14.patch povray-3.7.0_beta32-print-extend-expiration-info.patch Joe Peterson (lavajoe)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox