pkgsrc-WIP-changes archive

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

qt6-qtwebengine: enable v8 in QtPdf.



Module Name:	pkgsrc-wip
Committed By:	Mark Davies <mark%ecs.vuw.ac.nz@localhost>
Pushed By:	markd
Date:		Sun Feb 16 11:50:44 2025 +1300
Changeset:	4b19112faf59abefba9fc31afd7b66203e9586fb

Modified Files:
	qt6-qtwebengine/Makefile

Log Message:
qt6-qtwebengine: enable v8 in QtPdf.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4b19112faf59abefba9fc31afd7b66203e9586fb

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

diffstat:
 qt6-qtwebengine/Makefile | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diffs:
diff --git a/qt6-qtwebengine/Makefile b/qt6-qtwebengine/Makefile
index f571f8b000..7290d0d26f 100644
--- a/qt6-qtwebengine/Makefile
+++ b/qt6-qtwebengine/Makefile
@@ -21,6 +21,10 @@ UNLIMIT_RESOURCES+=	datasize
 
 USE_CXX_FEATURES+=	c++20
 
+# kill fatal warnings or QtPdf fails to build because of
+#  warning: libstdc++.so.9, needed by ... may conflict with libstdc++.so.7
+BUILDLINK_TRANSFORM+=	rm:-Wl,--fatal-warnings
+
 PKGCONFIG_OVERRIDE+=	lib/pkgconfig/Qt6Pdf.pc
 PKGCONFIG_OVERRIDE+=	lib/pkgconfig/Qt6PdfQuick.pc
 PKGCONFIG_OVERRIDE+=	lib/pkgconfig/Qt6PdfWidgets.pc
@@ -30,6 +34,7 @@ PKGCONFIG_OVERRIDE+=	lib/pkgconfig/Qt6WebEngineQuickDelegatesQml.pc
 PKGCONFIG_OVERRIDE+=	lib/pkgconfig/Qt6WebEngineWidgets.pc
 
 CMAKE_CONFIGURE_ARGS+=		-G Ninja
+CMAKE_CONFIGURE_ARGS+=		-DQT_FEATURE_pdf_v8=ON
 CMAKE_CONFIGURE_ARGS+=		-DQT_FEATURE_webengine_proprietary_codecs=ON
 CMAKE_CONFIGURE_ARGS+=		-DQT_FEATURE_webengine_system_ffmpeg=ON
 CMAKE_CONFIGURE_ARGS+=		-DQT_FEATURE_webengine_system_icu=ON
@@ -85,15 +90,6 @@ GN_SYSTEM_LIBS=	libevent
 GN_SYSTEM_LIBS+=	opus
 CHROMESRC=		${WRKSRC}/src/3rdparty/chromium
 
-#EXTRA_LDFLAGS=		-L${PREFIX}/lib \
-#			-L${X11BASE}/lib \
-#			${COMPILER_RPATH_FLAG}${PREFIX}/lib \
-#			${COMPILER_RPATH_FLAG}${PREFIX}/lib/nspr \
-#			${COMPILER_RPATH_FLAG}${PREFIX}/lib/nss \
-#			${COMPILER_RPATH_FLAG}${X11BASE}/lib
-
-PKGCONFIG_OVERRIDE+=	lib/pkgconfig/Qt6WebEngine.pc
-
 pre-configure:
 	cd ${CHROMESRC} && \
 		${SETENV} ${MAKE_ENV} ${PYTHONBIN} ./build/linux/unbundle/replace_gn_files.py \


Home | Main Index | Thread Index | Old Index