public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-print/cups-filters/files: cups-filters-1.0.29-poppler-0.22.patch
@ 2013-02-06 12:57 Mark Wright (gienah)
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wright (gienah) @ 2013-02-06 12:57 UTC (permalink / raw
  To: gentoo-commits

gienah      13/02/06 12:57:25

  Added:                cups-filters-1.0.29-poppler-0.22.patch
  Log:
  Apply patch for upstream bug 1089 to fix build with poppler 0.22.0
  
  (Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key 618E971F)

Revision  Changes    Path
1.1                  net-print/cups-filters/files/cups-filters-1.0.29-poppler-0.22.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups-filters/files/cups-filters-1.0.29-poppler-0.22.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-print/cups-filters/files/cups-filters-1.0.29-poppler-0.22.patch?rev=1.1&content-type=text/plain

Index: cups-filters-1.0.29-poppler-0.22.patch
===================================================================
Submitted By:            Armin K. <krejzi at email dot com>
Date:                    2013-01-10
Initial Package Version: 1.0.29
Upstream Status:         Fixed upstream
Origin:                  Upstream
Description:             Fixes building with Poppler >= 0.22.0

=== modified file 'NEWS'
--- NEWS	2013-01-02 18:23:25 +0000
+++ NEWS	2013-01-09 10:42:32 +0000
@@ -1,6 +1,11 @@
 NEWS - OpenPrinting CUPS Filters v1.0.29 - 2013-01-02
 -----------------------------------------------------

+CHANGES IN V1.0.30
+
+	- pdftoopvp: Let it build with Poppler 0.22.x. Thanks to Koji Otani
+	  from BBR Inc. (Bug #1089).
+
 CHANGES IN V1.0.29

	- Fixed ./configure option "--with-rcdir=no". Thanks to Jiri

=== modified file 'filter/pdftoopvp/OPVPOutputDev.cxx'
--- filter/pdftoopvp/OPVPOutputDev.cxx	2012-07-20 08:32:55 +0000
+++ filter/pdftoopvp/OPVPOutputDev.cxx	2013-01-09 10:42:32 +0000
@@ -1804,8 +1804,14 @@
   maskSplash = new Splash(maskBitmap, gFalse);
   maskColor[0] = 0;
   maskSplash->clear(maskColor);
+#if POPPLER_VERSION_MAJOR <= 0 && (POPPLER_VERSION_MINOR <= 20 || (POPPLER_VERSION_MINOR == 21 && POPPLER_VERSION_MICRO <= 2))
   maskSplash->drawImage(&imageSrc, &imgMaskData,
			splashModeMono8, gFalse, maskWidth, maskHeight, mat);
+#else
+  maskSplash->drawImage(&imageSrc, &imgMaskData,
+			splashModeMono8, gFalse, maskWidth, maskHeight,
+                        mat,gFalse);
+#endif
   delete imgMaskData.imgStr;
   maskStr->close();
   gfree(imgMaskData.lookup);

=== modified file 'filter/pdftoopvp/oprs/OPRS.cxx'
--- filter/pdftoopvp/oprs/OPRS.cxx	2012-09-10 19:56:59 +0000
+++ filter/pdftoopvp/oprs/OPRS.cxx	2013-01-09 10:42:32 +0000
@@ -5,6 +5,9 @@
 //========================================================================

 #include <config.h>
+#ifdef HAVE_CPP_POPPLER_VERSION_H
+#include "cpp/poppler-version.h"
+#endif

 #ifdef USE_GCC_PRAGMAS
 #pragma implementation
@@ -235,7 +238,11 @@
			      SplashColorMode srcMode, GBool srcAlpha,
			      int w, int h, SplashCoord *mat) {
     if (rasterMode) {
+#if POPPLER_VERSION_MAJOR <= 0 && (POPPLER_VERSION_MINOR <= 20 || (POPPLER_VERSION_MINOR == 21 && POPPLER_VERSION_MICRO <= 2))
	return splash->drawImage(src,srcData,srcMode,srcAlpha,w,h,mat);
+#else
+	return splash->drawImage(src,srcData,srcMode,srcAlpha,w,h,mat,gFalse);
+#endif
     } else {
	return opvpSplash->drawImage(src,srcData,srcMode,srcAlpha,w,h,mat);
     }






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-print/cups-filters/files: cups-filters-1.0.29-poppler-0.22.patch
@ 2013-05-11 11:47 Andreas HAttel (dilfridge)
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas HAttel (dilfridge) @ 2013-05-11 11:47 UTC (permalink / raw
  To: gentoo-commits

dilfridge    13/05/11 11:47:47

  Removed:              cups-filters-1.0.29-poppler-0.22.patch
  Log:
  Version bump; remove old
  
  (Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key 84AD142F)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-11 11:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-11 11:47 [gentoo-commits] gentoo-x86 commit in net-print/cups-filters/files: cups-filters-1.0.29-poppler-0.22.patch Andreas HAttel (dilfridge)
  -- strict thread matches above, loose matches on Subject: below --
2013-02-06 12:57 Mark Wright (gienah)

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