Tue Sep 5 13:43:15 2023 UTC ()
editors/featherpad: enable Qt6

... and switch to it by default.
Thanks to wiz@ for a quick review.


(pin)
diff -r1.1 -r1.2 pkgsrc/editors/featherpad/DESCR
diff -r1.40 -r1.41 pkgsrc/editors/featherpad/Makefile
diff -r0 -r1.1 pkgsrc/editors/featherpad/options.mk
Tue Sep 5 22:43:15 2023
Thu Jan 1 09:00:00 1970
pkgsrc/editors/featherpad/options.mk,v

anoncvs not yet been updated

cvs diff -r1.1 -r1.2 pkgsrc/editors/featherpad/DESCR (expand / switch to unified diff)

--- pkgsrc/editors/featherpad/DESCR 2020/02/13 03:12:18 1.1
+++ pkgsrc/editors/featherpad/DESCR 2023/09/05 13:43:15 1.2
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1FeatherPad is a lightweight Qt5 plain-text editor. 1FeatherPad is a lightweight Qt5/Qt6 plain-text editor.
2It is independent of any desktop environment and has: 2It is independent of any desktop environment and has:
3 * Drag-and-drop support, including tab detachment and attachment; 3 * Drag-and-drop support, including tab detachment and attachment;
4 * X11 virtual desktop awareness; 4 * X11 virtual desktop awareness;
5 * An optionally permanent search-bar; 5 * An optionally permanent search-bar;
6 * Instant highlighting of found matches when searching; 6 * Instant highlighting of found matches when searching;
7 * A docked window for text replacement; 7 * A docked window for text replacement;
8 * Support for line numbers and jumping to a specific line; 8 * Support for line numbers and jumping to a specific line;
9 * Automatic detection of text encoding; 9 * Automatic detection of text encoding;
10 * Syntax highlighting for common programming languages; 10 * Syntax highlighting for common programming languages;
11 * Ability to open URLs with appropriate applications; 11 * Ability to open URLs with appropriate applications;
12 * Session management; 12 * Session management;
13 * Side-pane mode; 13 * Side-pane mode;
14 * Auto-saving; 14 * Auto-saving;

cvs diff -r1.40 -r1.41 pkgsrc/editors/featherpad/Makefile (expand / switch to unified diff)

--- pkgsrc/editors/featherpad/Makefile 2023/06/13 10:56:34 1.40
+++ pkgsrc/editors/featherpad/Makefile 2023/09/05 13:43:15 1.41
@@ -1,35 +1,27 @@ @@ -1,35 +1,27 @@
1# $NetBSD: Makefile,v 1.40 2023/06/13 10:56:34 pin Exp $ 1# $NetBSD: Makefile,v 1.41 2023/09/05 13:43:15 pin Exp $
2 2
3VERSION= 1.4.1 3VERSION= 1.4.1
4DISTNAME= FeatherPad-V${VERSION} 4DISTNAME= FeatherPad-V${VERSION}
5PKGNAME= featherpad-${VERSION} 5PKGNAME= featherpad-${VERSION}
 6PKGREVISION= 1
6CATEGORIES= editors 7CATEGORIES= editors
7MASTER_SITES= ${MASTER_SITE_GITHUB:=tsujan/} 8MASTER_SITES= ${MASTER_SITE_GITHUB:=tsujan/}
8GITHUB_TAG= V${PKGVERSION_NOREV} 9GITHUB_TAG= V${PKGVERSION_NOREV}
9 10
10MAINTAINER= pin@NetBSD.org 11MAINTAINER= pin@NetBSD.org
11HOMEPAGE= https://github.com/tsujan/FeatherPad/ 12HOMEPAGE= https://github.com/tsujan/FeatherPad/
12COMMENT= Lightweight Qt5 plain-text editor 13COMMENT= Lightweight Qt5 plain-text editor
13LICENSE= gnu-gpl-v3 14LICENSE= gnu-gpl-v3
14 15
15WRKSRC= ${WRKDIR}/FeatherPad-${VERSION} 16WRKSRC= ${WRKDIR}/FeatherPad-${VERSION}
16USE_CMAKE= yes 
17USE_TOOLS+= pkg-config 17USE_TOOLS+= pkg-config
18USE_LANGUAGES= c c++ 18USE_LANGUAGES= c c++
19 19
20CONFIGURE_DIRS= build 20.include "options.mk"
21CMAKE_ARG_PATH= .. 
22 21
23pre-configure: 
24 ${MKDIR} -p ${WRKSRC}/build 
25 
26TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools 
27 
28.include "../../x11/qt5-qtbase/buildlink3.mk" 
29.include "../../x11/qt5-qtx11extras/buildlink3.mk" 
30.include "../../x11/qt5-qtsvg/buildlink3.mk" 
31.include "../../textproc/hunspell/buildlink3.mk" 22.include "../../textproc/hunspell/buildlink3.mk"
32.include "../../x11/libX11/buildlink3.mk" 23.include "../../x11/libX11/buildlink3.mk"
33.include "../../x11/libXext/buildlink3.mk" 24.include "../../x11/libXext/buildlink3.mk"
34.include "../../graphics/hicolor-icon-theme/buildlink3.mk" 25.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 26.include "../../devel/cmake/build.mk"
35.include "../../mk/bsd.pkg.mk" 27.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/editors/featherpad/options.mk