Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2022 13:45:46 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 432ceedd166c - main - textproc/kf5-syntax-highlighting: Add dependency on qdeclarative to enable QML module.
Message-ID:  <202212191345.2BJDjkAS025383@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=432ceedd166cc1930a7dba0d6c3d4cbbaa0b0a3c

commit 432ceedd166cc1930a7dba0d6c3d4cbbaa0b0a3c
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2022-12-18 17:56:47 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2022-12-19 13:45:41 +0000

    textproc/kf5-syntax-highlighting: Add dependency on qdeclarative to enable QML module.
    
    While there remove a legacy patch.
    
    Differential Revision:  https://reviews.freebsd.org/D37738
---
 textproc/kf5-syntax-highlighting/Makefile                  |  3 ++-
 .../files/patch-src_cli_kate-syntax-highlighter.cpp        | 14 --------------
 textproc/kf5-syntax-highlighting/pkg-plist                 |  2 ++
 3 files changed, 4 insertions(+), 15 deletions(-)

diff --git a/textproc/kf5-syntax-highlighting/Makefile b/textproc/kf5-syntax-highlighting/Makefile
index 280a46b924d6..293a004a4227 100644
--- a/textproc/kf5-syntax-highlighting/Makefile
+++ b/textproc/kf5-syntax-highlighting/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	syntax-highlighting
 DISTVERSION=	${KDE_FRAMEWORKS_VERSION}
+PORTREVISION=	1
 CATEGORIES=	textproc kde kde-frameworks
 
 MAINTAINER=	kde@FreeBSD.org
@@ -7,7 +8,7 @@ COMMENT=	KF5 syntax highlighting engine for structured text and code
 
 USES=		cmake compiler:c++11-lib kde:5 perl5 qt:5 tar:xz
 USE_KDE=	ecm:build
-USE_QT=		core gui network \
+USE_QT=		core declarative gui network \
 		buildtools:build linguisttools:build testlib:build qmake:build
 
 CMAKE_ARGS=	-DCMAKE_DISABLE_FIND_PACKAGE_Qt5XmlPatterns=TRUE
diff --git a/textproc/kf5-syntax-highlighting/files/patch-src_cli_kate-syntax-highlighter.cpp b/textproc/kf5-syntax-highlighting/files/patch-src_cli_kate-syntax-highlighter.cpp
deleted file mode 100644
index 23b8394ca65a..000000000000
--- a/textproc/kf5-syntax-highlighting/files/patch-src_cli_kate-syntax-highlighter.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-Fix build on 9.3
-
-/wrkdirs/usr/ports/textproc/kf5-syntax-highlighting/work/syntax-highlighting-5.29.0/src/cli/kate-syntax-highlighter.cpp:121:35: error: 'stdout' was not declared in this scope
-
---- src/cli/kate-syntax-highlighter.cpp.orig	2016-12-13 11:57:30 UTC
-+++ src/cli/kate-syntax-highlighter.cpp
-@@ -28,6 +28,7 @@
- #include <QVector>
- 
- #include <iostream>
-+#include <cstdio>
- 
- using namespace KSyntaxHighlighting;
- 
diff --git a/textproc/kf5-syntax-highlighting/pkg-plist b/textproc/kf5-syntax-highlighting/pkg-plist
index 740b6156dee7..a58c4067795e 100644
--- a/textproc/kf5-syntax-highlighting/pkg-plist
+++ b/textproc/kf5-syntax-highlighting/pkg-plist
@@ -29,6 +29,8 @@ lib/libKF5SyntaxHighlighting.so
 lib/libKF5SyntaxHighlighting.so.5
 lib/libKF5SyntaxHighlighting.so.%%KDE_FRAMEWORKS_VERSION%%
 %%QT_MKSPECDIR%%/modules/qt_KSyntaxHighlighting.pri
+%%QT_QMLDIR%%/org/kde/syntaxhighlighting/libkquicksyntaxhighlightingplugin.so
+%%QT_QMLDIR%%/org/kde/syntaxhighlighting/qmldir
 share/locale/af/LC_MESSAGES/syntaxhighlighting5_qt.qm
 share/locale/ar/LC_MESSAGES/syntaxhighlighting5_qt.qm
 share/locale/az/LC_MESSAGES/syntaxhighlighting5_qt.qm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212191345.2BJDjkAS025383>