head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.10 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.8 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.6 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.4 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.2 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q2:1.3.0.4 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.2 pkgsrc-2008Q4:1.2.0.8 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.6 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.4 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.2 pkgsrc-2008Q2-base:1.2; locks; strict; comment @# @; 1.4 date 2009.09.09.19.57.05; author drochner; state dead; branches; next 1.3; 1.3 date 2009.04.06.09.29.27; author drochner; state Exp; branches 1.3.2.1; next 1.2; 1.2 date 2008.04.29.19.23.34; author drochner; state dead; branches; next 1.1; 1.1 date 2008.04.18.14.03.54; author drochner; state Exp; branches; next ; 1.3.2.1 date 2009.04.06.09.29.27; author tron; state dead; branches; next 1.3.2.2; 1.3.2.2 date 2009.04.29.21.29.23; author tron; state Exp; branches; next ; desc @@ 1.4 log @update to 0.12.0 This is a major update, switches to the 0.12 release branch. Most notable change is that the color management stuff which we had as patches in pkgsrc is official now. Otherwise - many fixes and enhancements. (while this is a .0 release I've been tracking the 0.11.x snapshots and release candidate for a while so I don't expect big problems) @ text @$NetBSD: patch-al,v 1.3 2009/04/06 09:29:27 drochner Exp $ --- poppler/Form.cc.orig 2009-01-28 22:56:21.000000000 +0100 +++ poppler/Form.cc @@@@ -546,7 +546,7 @@@@ void FormWidgetChoice::_updateV () } else if (numSelected == 1) { for(int i=0; igetNumChoices(); i++) { if (parent->isSelected(i)) { - obj1.initString(new GooString(parent->getExportVal(i))); + obj1.initString(new GooString(parent->getChoice(i))); break; } } @@@@ -555,7 +555,7 @@@@ void FormWidgetChoice::_updateV () for(int i=0; igetNumChoices(); i++) { if (parent->isSelected(i)) { Object obj2; - obj2.initString(new GooString(parent->getExportVal(i))); + obj2.initString(new GooString(parent->getChoice(i))); obj1.arrayAdd(&obj2); } } @ 1.3 log @fix some problems with interactive forms: -if a choice field defines both an "export value" and a "name", use the latter as "value" if selected (according to the PDF spec) -- makes that I can fill in my company's travel expenses form correctly (there is still an issue with captions of check boxes / radio buttons which looks like a font problem) -where iconv() is called to fill in a text field, use "UTF-8" and "UTF-16BE" as encoding names rather than the less portable "UTF8" and "UTF16BE" -- this makes it work on NetBSD bump PKGREVISION @ text @d1 1 a1 1 $NetBSD$ @ 1.3.2.1 log @file patch-al was added on branch pkgsrc-2009Q1 on 2009-04-29 21:29:23 +0000 @ text @d1 22 @ 1.3.2.2 log @Pullup ticket #2751 - requested by drochner poppler: security update Revisions pulled up: - print/poppler-glib/Makefile 1.19-1.20 - print/poppler/Makefile 1.38-1.39 - print/poppler/Makefile.common 1.29 - print/poppler/distinfo 1.42-1.43 - print/poppler/patches/patch-ai 1.8 - print/poppler/patches/patch-al 1.3 - print/poppler/patches/patch-am 1.1 - print/poppler/patches/patch-bc delete --- Module Name: pkgsrc Committed By: drochner Date: Mon Apr 6 09:29:27 UTC 2009 Modified Files: pkgsrc/print/poppler: Makefile distinfo Added Files: pkgsrc/print/poppler/patches: patch-al patch-am Log Message: fix some problems with interactive forms: -if a choice field defines both an "export value" and a "name", use the latter as "value" if selected (according to the PDF spec) -- makes that I can fill in my company's travel expenses form correctly (there is still an issue with captions of check boxes / radio buttons which looks like a font problem) -where iconv() is called to fill in a text field, use "UTF-8" and "UTF-16BE" as encoding names rather than the less portable "UTF8" and "UTF16BE" -- this makes it work on NetBSD bump PKGREVISION --- Module Name: pkgsrc Committed By: drochner Date: Mon Apr 6 09:31:45 UTC 2009 Modified Files: pkgsrc/print/poppler-glib: Makefile Log Message: bump PKGREVISION for font conversion patch added to the base pkg --- Module Name: pkgsrc Committed By: drochner Date: Fri Apr 17 16:08:18 UTC 2009 Modified Files: pkgsrc/print/poppler: Makefile Makefile.common distinfo pkgsrc/print/poppler/patches: patch-ai Removed Files: pkgsrc/print/poppler/patches: patch-bc Log Message: update to 0.10.6 changes: * Fix problems that happen when parsing broken JBIG2 files. CVE-2009-0799, CVE-2009-0800, CVE-2009-1179, CVE-2009-1180 CVE-2009-1181, CVE-2009-1182, CVE-2009-1183, CVE-2009-1187, CVE-2009-1188 * Fix parsing of incorrect border arrays. (was patched in pkgsrc) * Fix clip test for fonts. * Fix getGlyphAdvance to behave correctly on font size changes. * Misc build fixes --- Module Name: pkgsrc Committed By: drochner Date: Fri Apr 17 16:08:54 UTC 2009 Modified Files: pkgsrc/print/poppler-glib: Makefile Log Message: reset PKGREVISION for base pkg update @ text @a0 22 $NetBSD$ --- poppler/Form.cc.orig 2009-01-28 22:56:21.000000000 +0100 +++ poppler/Form.cc @@@@ -546,7 +546,7 @@@@ void FormWidgetChoice::_updateV () } else if (numSelected == 1) { for(int i=0; igetNumChoices(); i++) { if (parent->isSelected(i)) { - obj1.initString(new GooString(parent->getExportVal(i))); + obj1.initString(new GooString(parent->getChoice(i))); break; } } @@@@ -555,7 +555,7 @@@@ void FormWidgetChoice::_updateV () for(int i=0; igetNumChoices(); i++) { if (parent->isSelected(i)) { Object obj2; - obj2.initString(new GooString(parent->getExportVal(i))); + obj2.initString(new GooString(parent->getChoice(i))); obj1.arrayAdd(&obj2); } } @ 1.2 log @update to 0.8.1 Some fixes which we had patched in pkgsrc are included now. @ text @d1 1 a1 1 $NetBSD: patch-al,v 1.1 2008/04/18 14:03:54 drochner Exp $ d3 20 a22 18 --- poppler/Stream.cc.orig 2008-03-22 14:57:24.000000000 +0100 +++ poppler/Stream.cc @@@@ -428,6 +428,15 @@@@ Guchar *ImageStream::getLine() { for (i = 0; i < nVals; ++i) { imgLine[i] = str->getChar(); } + } else if (nBits == 16) { + // this is a hack to support 16 bits images, everywhere + // we assume a component fits in 8 bits, with this hack + // we treat 16 bit images as 8 bit ones until it's fixed correctly. + // The hack has another part on GfxImageColorMap::GfxImageColorMap + for (i = 0; i < nVals; ++i) { + imgLine[i] = str->getChar(); + str->getChar(); + } } else { bitMask = (1 << nBits) - 1; buf = 0; @ 1.1 log @-fix embedded font handling (CVE-2008-1693), patch from Ubuntu, bump PKGREVISION -being here, add a patch from upstream CVS which fixes display of 16-bit colors @ text @d1 1 a1 1 $NetBSD$ @