pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/46667: poppler upgrade breaks print/xournal build



The following reply was made to PR pkg/46667; it has been noted by GNATS.

From: Matthew Mondor <mm_lists%pulsar-zone.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/46667: poppler upgrade breaks print/xournal build
Date: Sat, 7 Jul 2012 01:55:18 -0400

 --MP_/OTypkSEEIzx2Xp0w2q+booS
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 On Fri,  6 Jul 2012 22:10:00 +0000 (UTC)
 Jim Bernard <jbernard%mines.edu@localhost> wrote:
 
 > >Synopsis:       xournal link fails to find poppler_page_render_to_pixbuf
 
 According to
 http://developer.gnome.org/poppler/unstable/PopplerPage.html
 
 Warning
 
 poppler_page_render_to_pixbuf is deprecated and should not be used in
 newly-written code. 0.16
 
 First scale the document to match the specified pixels per point, then
 render the rectangle given by the upper left corner at (src_x, src_y)
 and src_width and src_height. This function is for rendering a page
 that will be displayed. If you want to render a page that will be
 printed use poppler_page_render_to_pixbuf_for_printing() instead
 
 
 It seems that the latest xournal (0.4.7) uses a custom
 wrapper_poppler_page_render_to_pixbuf() to circumvent this limitation,
 internally using the new API.
 
 Can you try this new pkgsrc stub and confirm if it works?
 (Patch against -current pkgsrc xournal and shell archive attached).
 
 Thanks,
 -- 
 Matt
 
 --MP_/OTypkSEEIzx2Xp0w2q+booS
 Content-Type: text/plain
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename=editors-xournal-diff.txt
 
 Index: Makefile
 ===================================================================
 RCS file: /data/rsync/netbsd-cvs/pkgsrc/editors/xournal/Makefile,v
 retrieving revision 1.12
 diff -u -r1.12 Makefile
 --- Makefile   23 Jun 2012 19:19:05 -0000      1.12
 +++ Makefile   7 Jul 2012 05:50:55 -0000
 @@ -1,7 +1,7 @@
  # $NetBSD: Makefile,v 1.12 2012/06/23 19:19:05 dholland Exp $
  
 -DISTNAME=     xournal-0.4.5
 -PKGREVISION=  7
 +DISTNAME=     xournal-0.4.7
 +PKGREVISION=  1
  CATEGORIES=   editors
  MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xournal/}
  
 Index: PLIST
 ===================================================================
 RCS file: /data/rsync/netbsd-cvs/pkgsrc/editors/xournal/PLIST,v
 retrieving revision 1.1.1.1
 diff -u -r1.1.1.1 PLIST
 --- PLIST      1 Dec 2010 10:46:31 -0000       1.1.1.1
 +++ PLIST      7 Jul 2012 05:50:36 -0000
 @@ -2,6 +2,12 @@
  bin/xournal
  share/locale/ca/LC_MESSAGES/xournal.mo
  share/locale/fr/LC_MESSAGES/xournal.mo
 +share/locale/cs/LC_MESSAGES/xournal.mo
 +share/locale/de/LC_MESSAGES/xournal.mo
 +share/locale/es/LC_MESSAGES/xournal.mo
 +share/locale/it/LC_MESSAGES/xournal.mo
 +share/locale/nl/LC_MESSAGES/xournal.mo
 +share/locale/pt_BR/LC_MESSAGES/xournal.mo
  share/xournal/pixmaps/black.png
  share/xournal/pixmaps/blue.png
  share/xournal/pixmaps/default-pen.png
 Index: distinfo
 ===================================================================
 RCS file: /data/rsync/netbsd-cvs/pkgsrc/editors/xournal/distinfo,v
 retrieving revision 1.1.1.1
 diff -u -r1.1.1.1 distinfo
 --- distinfo   1 Dec 2010 10:46:31 -0000       1.1.1.1
 +++ distinfo   7 Jul 2012 05:49:02 -0000
 @@ -1,5 +1,5 @@
  $NetBSD: distinfo,v 1.1.1.1 2010/12/01 10:46:31 asau Exp $
  
 -SHA1 (xournal-0.4.5.tar.gz) = 390cb275774469ed1b04b7268dd625bd456c895e
 -RMD160 (xournal-0.4.5.tar.gz) = a4228e6874482bd381c59cd8e3db1100361c1d40
 -Size (xournal-0.4.5.tar.gz) = 425062 bytes
 +SHA1 (xournal-0.4.7.tar.gz) = d2556bf21bef2df99bef0a6d1cb251d5e0f12d3f
 +RMD160 (xournal-0.4.7.tar.gz) = 7735e37ba07c57fb89231a2a27cf6357490af699
 +Size (xournal-0.4.7.tar.gz) = 553391 bytes
 
 --MP_/OTypkSEEIzx2Xp0w2q+booS
 Content-Type: text/plain
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename=editors-xournal.shar
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #      xournal
 #      xournal/DESCR
 #      xournal/Makefile
 #      xournal/PLIST
 #      xournal/distinfo
 #
 echo c - xournal
 mkdir -p xournal > /dev/null 2>&1
 echo x - xournal/DESCR
 sed 's/^X//' >xournal/DESCR << 'END-of-xournal/DESCR'
 XXournal is an application for notetaking, sketching, keeping a
 Xjournal using a stylus.  It is free software (GNU GPL) and runs on
 XGTK+/Gnome platforms.  It is similar to Jarnal, Gournal, and NoteLab.
 X
 XXournal allows to add annotations to PDF documents, including notes,
 Xmulticolor highlighting and simple drawing, and can save those in
 Xanother filename (distinguished by the suffix), to automatically
 Xload them back when opening the PDF document again.  It also
 Xremembers the previous page position.
 END-of-xournal/DESCR
 echo x - xournal/Makefile
 sed 's/^X//' >xournal/Makefile << 'END-of-xournal/Makefile'
 X# $NetBSD: Makefile,v 1.12 2012/06/23 19:19:05 dholland Exp $
 X
 XDISTNAME=     xournal-0.4.7
 XPKGREVISION=  1
 XCATEGORIES=   editors
 XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xournal/}
 X
 XMAINTAINER=   pkgsrc-users%NetBSD.org@localhost
 XHOMEPAGE=     http://xournal.sourceforge.net/
 XCOMMENT=      Take notes, sketch and annotate PDFs
 XLICENSE=      gnu-gpl-v2
 X
 XGNU_CONFIGURE=        yes
 XUSE_LIBTOOL=  yes
 XUSE_LANGUAGES=        c
 XUSE_TOOLS+=   pkg-config msgfmt
 X
 XPKG_DESTDIR_SUPPORT=  user-destdir
 X
 XLDFLAGS.DragonFly=    -lX11 -lz -lm
 XLDFLAGS.SunOS=                -lX11 -lz -lm
 X
 X.include "../../graphics/libgnomecanvas/buildlink3.mk"
 X.include "../../print/poppler-glib/buildlink3.mk"
 X.include "../../x11/gtk2/buildlink3.mk"
 X.include "../../mk/bsd.pkg.mk"
 END-of-xournal/Makefile
 echo x - xournal/PLIST
 sed 's/^X//' >xournal/PLIST << 'END-of-xournal/PLIST'
 X@comment $NetBSD: PLIST,v 1.1.1.1 2010/12/01 10:46:31 asau Exp $
 Xbin/xournal
 Xshare/locale/ca/LC_MESSAGES/xournal.mo
 Xshare/locale/fr/LC_MESSAGES/xournal.mo
 Xshare/locale/cs/LC_MESSAGES/xournal.mo
 Xshare/locale/de/LC_MESSAGES/xournal.mo
 Xshare/locale/es/LC_MESSAGES/xournal.mo
 Xshare/locale/it/LC_MESSAGES/xournal.mo
 Xshare/locale/nl/LC_MESSAGES/xournal.mo
 Xshare/locale/pt_BR/LC_MESSAGES/xournal.mo
 Xshare/xournal/pixmaps/black.png
 Xshare/xournal/pixmaps/blue.png
 Xshare/xournal/pixmaps/default-pen.png
 Xshare/xournal/pixmaps/eraser.png
 Xshare/xournal/pixmaps/fullscreen.png
 Xshare/xournal/pixmaps/gray.png
 Xshare/xournal/pixmaps/green.png
 Xshare/xournal/pixmaps/hand.png
 Xshare/xournal/pixmaps/highlighter.png
 Xshare/xournal/pixmaps/lasso.png
 Xshare/xournal/pixmaps/lightblue.png
 Xshare/xournal/pixmaps/lightgreen.png
 Xshare/xournal/pixmaps/magenta.png
 Xshare/xournal/pixmaps/medium.png
 Xshare/xournal/pixmaps/orange.png
 Xshare/xournal/pixmaps/pencil.png
 Xshare/xournal/pixmaps/rect-select.png
 Xshare/xournal/pixmaps/recycled.png
 Xshare/xournal/pixmaps/red.png
 Xshare/xournal/pixmaps/ruler.png
 Xshare/xournal/pixmaps/shapes.png
 Xshare/xournal/pixmaps/stretch.png
 Xshare/xournal/pixmaps/text-tool.png
 Xshare/xournal/pixmaps/thick.png
 Xshare/xournal/pixmaps/thin.png
 Xshare/xournal/pixmaps/white.png
 Xshare/xournal/pixmaps/xoj.svg
 Xshare/xournal/pixmaps/xournal.png
 Xshare/xournal/pixmaps/xournal.svg
 Xshare/xournal/pixmaps/yellow.png
 Xshare/xournal/html-doc/manual.html
 Xshare/xournal/html-doc/screenshot.png
 Xshare/xournal/html-doc/pixmaps
 END-of-xournal/PLIST
 echo x - xournal/distinfo
 sed 's/^X//' >xournal/distinfo << 'END-of-xournal/distinfo'
 X$NetBSD: distinfo,v 1.1.1.1 2010/12/01 10:46:31 asau Exp $
 X
 XSHA1 (xournal-0.4.7.tar.gz) = d2556bf21bef2df99bef0a6d1cb251d5e0f12d3f
 XRMD160 (xournal-0.4.7.tar.gz) = 7735e37ba07c57fb89231a2a27cf6357490af699
 XSize (xournal-0.4.7.tar.gz) = 553391 bytes
 END-of-xournal/distinfo
 exit
 
 
 --MP_/OTypkSEEIzx2Xp0w2q+booS--
 


Home | Main Index | Thread Index | Old Index