From nobody@FreeBSD.org  Mon Apr  9 07:32:25 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E292A106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  9 Apr 2012 07:32:24 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id CE09A8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  9 Apr 2012 07:32:24 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q397WOKF015323
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 9 Apr 2012 07:32:24 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q397WOGV015304;
	Mon, 9 Apr 2012 07:32:24 GMT
	(envelope-from nobody)
Message-Id: <201204090732.q397WOGV015304@red.freebsd.org>
Date: Mon, 9 Apr 2012 07:32:24 GMT
From: Kuan-Chung Chiu <buganini@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [update] graphics/py-poppler 0.12.1
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         166781
>Category:       ports
>Synopsis:       [update] graphics/py-poppler 0.12.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    romain
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 09 07:40:13 UTC 2012
>Closed-Date:    Mon Jul 02 11:30:43 UTC 2012
>Last-Modified:  Mon Jul  2 11:40:12 UTC 2012
>Originator:     Kuan-Chung Chiu
>Release:        
>Organization:
N/A
>Environment:
>Description:
Update graphics/py-poppler to 0.12.1
and remove some obsolete API bindings.
ref: https://bugs.launchpad.net/poppler-python/+bug/776234

build log: https://redports.org/buildarchive/20120408215648-38214/
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN py-poppler.orig/Makefile py-poppler/Makefile
--- py-poppler.orig/Makefile	2012-04-09 05:35:30.000000000 +0800
+++ py-poppler/Makefile	2012-04-09 05:38:07.000000000 +0800
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	poppler
-PORTVERSION=	0.10.1
-PORTREVISION=	5
+PORTVERSION=	0.12.1
 CATEGORIES=	graphics python
 MASTER_SITES=	https://launchpad.net/poppler-python/trunk/development/+download/ \
 		http://launchpadlibrarian.net/30270080/ \
@@ -18,6 +17,8 @@
 MAINTAINER=	romain@FreeBSD.org
 COMMENT=	Python bindings for the Poppler PDF rendering library
 
+FETCH_ARGS=	-pRr
+
 LIB_DEPENDS=	poppler-glib.8:${PORTSDIR}/graphics/poppler-glib
 
 USE_PYTHON=	yes
diff -ruN py-poppler.orig/distinfo py-poppler/distinfo
--- py-poppler.orig/distinfo	2012-04-09 05:35:30.000000000 +0800
+++ py-poppler/distinfo	2012-04-09 05:38:21.000000000 +0800
@@ -1,2 +1,2 @@
-SHA256 (pypoppler-0.10.1.tar.gz) = 0b52212393e392e966c3cf82cd514768e01442100486ab84a5244aed6235c75e
-SIZE (pypoppler-0.10.1.tar.gz) = 312081
+SHA256 (pypoppler-0.12.1.tar.gz) = 322f183d24798a056f3005d1ab8e3ac27d8cfbbf0982725b323bbfec1bab5355
+SIZE (pypoppler-0.12.1.tar.gz) = 318142
diff -ruN py-poppler.orig/files/patch-poppler.defs py-poppler/files/patch-poppler.defs
--- py-poppler.orig/files/patch-poppler.defs	2012-04-09 05:35:30.000000000 +0800
+++ py-poppler/files/patch-poppler.defs	2012-04-09 05:53:15.000000000 +0800
@@ -1,7 +1,65 @@
-diff -up pypoppler-0.12.1/poppler.defs.poppler15 pypoppler-0.12.1/poppler.defs
---- poppler.defs.poppler15	2010-10-06 16:02:47.023101009 -0400
-+++ poppler.defs	2010-10-06 16:10:32.749101000 -0400
-@@ -1760,6 +1760,12 @@
+--- poppler.defs.orig	2009-09-27 17:07:59.000000000 +0800
++++ poppler.defs	2012-04-09 05:50:38.000000000 +0800
+@@ -1646,58 +1646,6 @@
+   (return-type "GType")
+ )
+ 
+-(define-method render_to_pixbuf
+-  (of-object "PopplerPage")
+-  (c-name "poppler_page_render_to_pixbuf")
+-  (return-type "none")
+-  (parameters
+-    '("int" "src_x")
+-    '("int" "src_y")
+-    '("int" "src_width")
+-    '("int" "src_height")
+-    '("double" "scale")
+-    '("int" "rotation")
+-    '("GdkPixbuf*" "pixbuf")
+-  )
+-)
+-
+-(define-method render_to_pixbuf_for_printing
+-  (of-object "PopplerPage")
+-  (c-name "poppler_page_render_to_pixbuf_for_printing")
+-  (return-type "none")
+-  (parameters
+-    '("int" "src_x")
+-    '("int" "src_y")
+-    '("int" "src_width")
+-    '("int" "src_height")
+-    '("double" "scale")
+-    '("int" "rotation")
+-    '("GdkPixbuf*" "pixbuf")
+-  )
+-)
+-
+-(define-method get_thumbnail_pixbuf
+-  (of-object "PopplerPage")
+-  (c-name "poppler_page_get_thumbnail_pixbuf")
+-  (return-type "GdkPixbuf*")
+-)
+-
+-(define-method render_selection_to_pixbuf
+-  (of-object "PopplerPage")
+-  (c-name "poppler_page_render_selection_to_pixbuf")
+-  (return-type "none")
+-  (parameters
+-    '("gdouble" "scale")
+-    '("int" "rotation")
+-    '("GdkPixbuf*" "pixbuf")
+-    '("PopplerRectangle*" "selection")
+-    '("PopplerRectangle*" "old_selection")
+-    '("PopplerSelectionStyle" "style")
+-    '("GdkColor*" "glyph_color")
+-    '("GdkColor*" "background_color")
+-  )
+-)
+-
+ (define-method render
+   (of-object "PopplerPage")
+   (c-name "poppler_page_render")
+@@ -1752,6 +1700,12 @@
    (return-type "int")
  )
  
@@ -14,7 +72,7 @@
  (define-method get_duration
    (of-object "PopplerPage")
    (c-name "poppler_page_get_duration")
-@@ -1805,9 +1811,15 @@
+@@ -1796,9 +1750,15 @@
    (of-object "PopplerPage")
    (c-name "poppler_page_get_text")
    (return-type "char*")
@@ -31,7 +89,7 @@
    )
  )
  
-@@ -1895,6 +1907,16 @@
+@@ -1886,6 +1846,16 @@
    )
  )
  
@@ -48,7 +106,7 @@
  (define-method get_crop_box
    (of-object "PopplerPage")
    (c-name "poppler_page_get_crop_box")
-@@ -1904,6 +1926,16 @@
+@@ -1895,6 +1865,16 @@
    )
  )
  


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->romain 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Apr 9 07:40:25 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=166781 
State-Changed-From-To: open->closed 
State-Changed-By: romain 
State-Changed-When: Mon Jul 2 11:30:41 UTC 2012 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=166781 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/166781: commit references a PR
Date: Mon,  2 Jul 2012 11:30:27 +0000 (UTC)

 romain      2012-07-02 11:30:17 UTC
 
   FreeBSD ports repository
 
   Modified files:
     graphics/py-poppler  Makefile distinfo 
     graphics/py-poppler/files patch-poppler.defs 
   Log:
   Update to 0.12.1.
   
   PR:             ports/166781
   Submitted by:   Kuan-Chung Chiu <buganini@gmail.com>
   
   Revision  Changes    Path
   1.17      +1 -2      ports/graphics/py-poppler/Makefile
   1.6       +2 -2      ports/graphics/py-poppler/distinfo
   1.2       +65 -7     ports/graphics/py-poppler/files/patch-poppler.defs
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: Romain =?iso-8859-1?Q?Tarti=E8re?= <romain@FreeBSD.org>
To: bug-followup@FreeBSD.org, buganini@gmail.com
Cc:  
Subject: Re: ports/166781: [update] graphics/py-poppler 0.12.1
Date: Mon, 2 Jul 2012 13:32:41 +0200

 Please tell me if you are Okay to become maintain of this port.  My
 projects related to poppler are over and I don't use this anymore.
 
 Thanks!
 Romain
>Unformatted:
