tech-pkg archive

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

Re: CVS commit: pkgsrc/print (poppler API breakage)



On 06/09/17 04:00, Tobias Nygren wrote:
> Unfortunately this introduced some significant breakage due to API
> rototil. From a Gentoo tracking bug[1] it is known to break at least
> texlive, gdal and cups-filters.
> 
> I managed to patch print/web2c to use the new API. print/cups-filters
> look fairly straightforward as well. But I got stuck on print/luatex.
> It has lots of poppler low-level API abuse and might not be so easy to
> fix, at least for someone not intricately familiar with luatex.
> 
> Before I commit fixes to web2c we should discuss if the poppler update
> needs to be rolled back. I don't know what the full extent of the
> current fallout is.
If the other packages can be sorted out, we can deal with print/luatex
by getting it to build with its internal poppler until such time as it
catches up with the latest poppler
cheers
mark
diff -u -r1.57 Makefile
--- Makefile 20 Jun 2017 20:50:50 -0000 1.57
+++ Makefile 6 Sep 2017 07:45:32 -0000
@@ -14,7 +14,8 @@
 EXTRACT_ELEMENTS= ${DISTNAME}/build-aux \
 ${DISTNAME}/libs/lua52 \
 ${DISTNAME}/libs/luajit \
+ ${DISTNAME}/libs/poppler \
 ${DISTNAME}/texk/web2c
 GNU_CONFIGURE= yes
 USE_LANGUAGES= c c++
@@ -28,8 +29,8 @@
 --disable-ptex --disable-eptex --disable-uptex
--disable-euptex \
 --disable-web-progs \
 --enable-web2c --disable-xetex
-CONFIGURE_ARGS+= --with-system-poppler
-CONFIGURE_ARGS+= --with-system-xpdf
+#CONFIGURE_ARGS+= --with-system-poppler
+#CONFIGURE_ARGS+= --with-system-xpdf
 CONFIGURE_ARGS+= \
 --with-fontconfig-includes=${BUILDLINK_PREFIX.fontconfig}/include \
 --with-fontconfig-libdir=${BUILDLINK_PREFIX.fontconfig}/lib
@@ -50,6 +51,7 @@
 --with-gmp-libdir=${BUILDLINK_PREFIX.gmp}/lib
 CONFIGURE_DIRS= libs/lua52
+CONFIGURE_DIRS+= libs/poppler
 CONFIGURE_DIRS+= texk/web2c
 INSTALLATION_DIRS+= bin lib
@@ -68,8 +70,8 @@
 .include "../../math/mpfr/buildlink3.mk"
 BUILDLINK_API_DEPENDS.kpathsea+= kpathsea>=6.2.1
 .include "../../print/kpathsea/buildlink3.mk"
-.include "../../print/poppler/buildlink3.mk"
-.include "../../print/poppler-includes/buildlink3.mk"
+#.include "../../print/poppler/buildlink3.mk"
+#.include "../../print/poppler-includes/buildlink3.mk"
 .include "../../x11/pixman/buildlink3.mk"
 pre-configure:


Home | Main Index | Thread Index | Old Index

AltStyle によって変換されたページ (->オリジナル) /