NetBSD Problem Report #45498

From www@NetBSD.org  Wed Oct 19 16:26:02 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 3FB0A63D5AC
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 19 Oct 2011 16:26:02 +0000 (UTC)
Message-Id: <20111019162601.5778863B955@www.NetBSD.org>
Date: Wed, 19 Oct 2011 16:26:01 +0000 (UTC)
From: ftigeot@wolfpond.org
Reply-To: ftigeot@wolfpond.org
To: gnats-bugs@NetBSD.org
Subject: print/poppler doesn't install some headers needed by third-party applications
X-Send-Pr-Version: www-1.0

>Number:         45498
>Category:       pkg
>Synopsis:       print/poppler doesn't install some headers needed by third-party applications
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 19 16:30:01 +0000 2011
>Closed-Date:    Sat Nov 05 15:25:41 +0000 2011
>Last-Modified:  Sat Nov 05 15:25:41 +0000 2011
>Originator:     Francois Tigeot
>Release:        DragonFly 2.13-DEVELOPMENT
>Organization:
>Environment:
DragonFly akane.zefyris.com 2.13-DEVELOPMENT DragonFly v2.13.0.55.g7d50db-DEVELOPMENT #18: Wed Oct 19 17:40:45 CEST 2011     ftigeot@akane.zefyris.com:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64
>Description:
Some software (LibreOffice for example) expects to be able to use .h
headers located in poppler/cpp/

These headers are present in the poppler distfile but the package doesn't install them
>How-To-Repeat:
Try to build a recent (2011-10) version of LibreOffice with the PDF import option set
>Fix:
These patches should fix the issue:

diff -u -r1.54 Makefile
--- Makefile    31 Jan 2011 16:55:28 -0000      1.54
+++ Makefile    19 Oct 2011 16:17:09 -0000
@@ -29,7 +29,6 @@
 CONFIGURE_ARGS+=       --disable-poppler-glib
 # Don't build and install the tools
 CONFIGURE_ARGS+=       --disable-utils
-CONFIGURE_ARGS+=       --disable-poppler-cpp

 PKG_OPTIONS_VAR=       PKG_OPTIONS.poppler
 PKG_SUPPORTED_OPTIONS= poppler-cms


diff -u -r1.7 PLIST
--- PLIST       14 Jun 2009 21:16:22 -0000      1.7
+++ PLIST       19 Oct 2011 16:17:09 -0000
@@ -1,4 +1,15 @@
 @comment $NetBSD: PLIST,v 1.7 2009/06/14 21:16:22 joerg Exp $
+include/poppler/cpp/poppler-document.h
+include/poppler/cpp/poppler-embedded-file.h
+include/poppler/cpp/poppler-font.h
+include/poppler/cpp/poppler-global.h
+include/poppler/cpp/poppler-image.h
+include/poppler/cpp/poppler-page-renderer.h
+include/poppler/cpp/poppler-page-transition.h
+include/poppler/cpp/poppler-page.h
+include/poppler/cpp/poppler-rectangle.h
+include/poppler/cpp/poppler-toc.h
+include/poppler/cpp/poppler-version.h
 lib/libpoppler.la
 lib/pkgconfig/poppler-splash.pc
 lib/pkgconfig/poppler.pc

>Release-Note:

>Audit-Trail:
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/45498: print/poppler doesn't install some headers needed by
 third-party applications
Date: Wed, 19 Oct 2011 12:23:47 -0500 (CDT)

 Maybe this should be in the poppler-includes package instead?

From: "Matthias Drochner" <drochner@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/45498 CVS commit: pkgsrc/print
Date: Thu, 20 Oct 2011 16:32:57 +0000

 Module Name:	pkgsrc
 Committed By:	drochner
 Date:		Thu Oct 20 16:32:57 UTC 2011

 Modified Files:
 	pkgsrc/print/poppler: buildlink3.mk distinfo
 Added Files:
 	pkgsrc/print/poppler-cpp: DESCR Makefile PLIST buildlink3.mk
 	pkgsrc/print/poppler/patches: patch-ar patch-as

 Log Message:
 build poppler's "cpp" wrapper as a seperate pkg, addresses
 PR pkg/45498 by Francois Tigeot


 To generate a diff of this commit:
 cvs rdiff -u -r1.24 -r1.25 pkgsrc/print/poppler/buildlink3.mk
 cvs rdiff -u -r1.70 -r1.71 pkgsrc/print/poppler/distinfo
 cvs rdiff -u -r0 -r1.1 pkgsrc/print/poppler-cpp/DESCR \
     pkgsrc/print/poppler-cpp/Makefile pkgsrc/print/poppler-cpp/PLIST \
     pkgsrc/print/poppler-cpp/buildlink3.mk
 cvs rdiff -u -r0 -r1.3 pkgsrc/print/poppler/patches/patch-ar \
     pkgsrc/print/poppler/patches/patch-as

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/45498: print/poppler doesn't install some headers needed by
 third-party applications
Date: Thu, 20 Oct 2011 18:24:13 +0000

 Not sent to gnats.

    ------

 From: Matthias Drochner <M.Drochner@fz-juelich.de>
 To: ftigeot@wolfpond.org
 CC: gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
 Subject: Re: pkg/45498: print/poppler doesn't install some headers needed by
 	third-party applications
 Date: Thu, 20 Oct 2011 13:01:11 +0200


 > These patches should fix the issue

 Did you test it? Are the headers sufficient to build L'Office?
 As I understand it, "poppler-cpp" isn't just some headers but a
 complete frontend. So it should be its own pkg just like
 poppler-glib or poppler-qt4.

 best regards
 Matthias



 ------------------------------------------------------------------------------------------------
 ------------------------------------------------------------------------------------------------
 Forschungszentrum Juelich GmbH
 52425 Juelich
 Sitz der Gesellschaft: Juelich
 Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
 Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher
 Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
 Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
 Prof. Dr. Sebastian M. Schmidt
 ------------------------------------------------------------------------------------------------
 ------------------------------------------------------------------------------------------------


 From: Francois Tigeot <ftigeot@wolfpond.org>
 To: Matthias Drochner <M.Drochner@fz-juelich.de>
 Cc: ftigeot@wolfpond.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
 Subject: Re: pkg/45498: print/poppler doesn't install some headers needed by
 	third-party applications
 Date: Thu, 20 Oct 2011 16:34:27 +0200

 Hi,

 On Thu, Oct 20, 2011 at 01:01:11PM +0200, Matthias Drochner wrote:
 > 
 > > These patches should fix the issue
 > 
 > Did you test it? Are the headers sufficient to build L'Office?

 I did test them and yes, they allow the last version of LibreOffice to
 build. I have not tested the PDF import functionality but at least the
 binary is usable for regular spreadsheet or word processing work.

 > As I understand it, "poppler-cpp" isn't just some headers but a
 > complete frontend. So it should be its own pkg just like
 > poppler-glib or poppler-qt4.

 In this case, only the headers are needed.

 Cheers,

 -- 
 Francois Tigeot


 From: Matthias Drochner <M.Drochner@fz-juelich.de>
 To: Francois Tigeot <ftigeot@wolfpond.org>
 CC: gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
 Subject: Re: pkg/45498: print/poppler doesn't install some headers needed by
 	third-party applications
 Date: Thu, 20 Oct 2011 18:35:20 +0200


 ftigeot@wolfpond.org said:
 > In this case, only the headers are needed.

 I've added a pkg with the full "cpp" wrapper - including
 the library - anyway, for sanity.
 Can you try to use it for the LO build?

 best regards
 Matthias



 ------------------------------------------------------------------------------------------------
 ------------------------------------------------------------------------------------------------
 Forschungszentrum Juelich GmbH
 52425 Juelich
 Sitz der Gesellschaft: Juelich
 Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
 Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher
 Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
 Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
 Prof. Dr. Sebastian M. Schmidt
 ------------------------------------------------------------------------------------------------
 ------------------------------------------------------------------------------------------------

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/45498: print/poppler doesn't install some headers needed by
 third-party applications
Date: Sat, 5 Nov 2011 15:08:06 +0000

 Not sent to gnats.

    ------

 From: Francois Tigeot <ftigeot@wolfpond.org>
 To: Matthias Drochner <M.Drochner@fz-juelich.de>
 Cc: Francois Tigeot <ftigeot@wolfpond.org>, gnats-admin@netbsd.org,
 	pkgsrc-bugs@netbsd.org
 Subject: Re: pkg/45498: print/poppler doesn't install some headers needed by
 	third-party applications
 Date: Sat, 22 Oct 2011 17:35:06 +0200

 On Thu, Oct 20, 2011 at 06:35:20PM +0200, Matthias Drochner wrote:
 > 
 > ftigeot@wolfpond.org said:
 > > In this case, only the headers are needed.
 > 
 > I've added a pkg with the full "cpp" wrapper - including
 > the library - anyway, for sanity.
 > Can you try to use it for the LO build?

 Thanks, I gave it a try by updating the pkgsrc print/ directory to
 pkgsrc -head
 LO builds fine with the new package :-)

 Cheers,

 -- 
 Francois Tigeot

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 05 Nov 2011 15:25:41 +0000
State-Changed-Why:
Confirmed fixed, thans.
er, thanks.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.