pkgsrc-WIP-changes archive

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

Add textosaurus



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Tue Jan 19 14:09:32 2021 +0100
Changeset:	96c04dbc5f0a7ec6415b81344ef056312cbc99a9

Modified Files:
	Makefile
Added Files:
	textosaurus/DESCR
	textosaurus/Makefile
	textosaurus/PLIST
	textosaurus/TODO
	textosaurus/distinfo
	textosaurus/patches/patch-src_libtextosaurus_definitions_definitions.h

Log Message:
Add textosaurus

Textosaurus is simple cross-platform UTF-8 text editor based on Qt and
Scintilla.
Textosaurus aims to provide similar workflow as Notepad++

Build-failure,
...
/usr/pkg/qt5/lib/libQt5Core.so -lGL
ld: cannot find -ltextosaurus
*** Error code 1

Stop.
bmake[1]: stopped in /usr/pkgsrc/wip/textosaurus/work/textosaurus-0.9.13/src/textosaurus

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

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

diffstat:
 Makefile                                           |  1 +
 textosaurus/DESCR                                  |  3 +++
 textosaurus/Makefile                               | 24 ++++++++++++++++++++++
 textosaurus/PLIST                                  |  4 ++++
 textosaurus/TODO                                   |  7 +++++++
 textosaurus/distinfo                               |  7 +++++++
 ...ch-src_libtextosaurus_definitions_definitions.h | 14 +++++++++++++
 7 files changed, 60 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 1393969094..8a11c11353 100644
--- a/Makefile
+++ b/Makefile
@@ -5229,6 +5229,7 @@ SUBDIR+=	tex-stix2-otf-doc
 SUBDIR+=	texlab
 SUBDIR+=	texlive-tlpdb
 SUBDIR+=	textile-mode
+SUBDIR+=	textosaurus
 SUBDIR+=	tftp-hpa
 SUBDIR+=	thabit-ttf
 SUBDIR+=	thawab
diff --git a/textosaurus/DESCR b/textosaurus/DESCR
new file mode 100644
index 0000000000..61bd80d5b8
--- /dev/null
+++ b/textosaurus/DESCR
@@ -0,0 +1,3 @@
+Textosaurus is simple cross-platform UTF-8 text editor based on Qt and
+Scintilla.
+Textosaurus aims to provide similar workflow as Notepad++
diff --git a/textosaurus/Makefile b/textosaurus/Makefile
new file mode 100644
index 0000000000..26d42fe378
--- /dev/null
+++ b/textosaurus/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME=	textosaurus-0.9.13
+CATEGORIES=	editors
+MASTER_SITES=	${MASTER_SITE_GITHUB:=martinrotter/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/martinrotter/textosaurus/
+COMMENT=	Cross-platform text editor based on Qt and Scintilla
+LICENSE=	gnu-gpl-v3
+
+USE_TOOLS+=	pkg-config
+USE_LANGUAGES=	c c++
+
+do-configure:
+	cd ${WRKSRC} && \
+	${SETENV} ${CONFIGURE_ENV} \
+	${QTDIR}/bin/qmake -o Makefile build.pro -r CONFIG+=release PREFIX=${PREFIX}
+
+TOOL_DEPENDS+=	qt5-qttools-[0-9]*:../../x11/qt5-qttools
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtsvg/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textosaurus/PLIST b/textosaurus/PLIST
new file mode 100644
index 0000000000..cf8b8836f1
--- /dev/null
+++ b/textosaurus/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/pkg/bin/bmake package"
+@comment TODO: 2. run "/usr/pkg/bin/bmake print-PLIST"
diff --git a/textosaurus/TODO b/textosaurus/TODO
new file mode 100644
index 0000000000..db14e33db9
--- /dev/null
+++ b/textosaurus/TODO
@@ -0,0 +1,7 @@
+...
+/usr/pkg/qt5/lib/libQt5Core.so -lGL
+ld: cannot find -ltextosaurus
+*** Error code 1
+
+Stop.
+bmake[1]: stopped in /usr/pkgsrc/wip/textosaurus/work/textosaurus-0.9.13/src/textosaurus
diff --git a/textosaurus/distinfo b/textosaurus/distinfo
new file mode 100644
index 0000000000..2b24d669b6
--- /dev/null
+++ b/textosaurus/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (textosaurus-0.9.13.tar.gz) = fd8311e4d7c9a04d961d57ff7075fa63a5a177f8
+RMD160 (textosaurus-0.9.13.tar.gz) = c477860c4445fe0568d084e970ec175dac7e8caa
+SHA512 (textosaurus-0.9.13.tar.gz) = 5d8505a0071b7b1f00796aac7ecce5c84b7f1f290fa1550ef3362f1a9a09e95d0b60132dbb41441d3545224a9e2e010bda6072a5219955d00b100a026f66908c
+Size (textosaurus-0.9.13.tar.gz) = 3570549 bytes
+SHA1 (patch-src_libtextosaurus_definitions_definitions.h) = 19874a70af02a08fc6c86994f542b0d7d15ce1ef
diff --git a/textosaurus/patches/patch-src_libtextosaurus_definitions_definitions.h b/textosaurus/patches/patch-src_libtextosaurus_definitions_definitions.h
new file mode 100644
index 0000000000..19cd08c220
--- /dev/null
+++ b/textosaurus/patches/patch-src_libtextosaurus_definitions_definitions.h
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Add QDropEvent, allow build with Qt>=5.15
+
+--- src/libtextosaurus/definitions/definitions.h.orig	2019-12-16 06:44:19.000000000 +0000
++++ src/libtextosaurus/definitions/definitions.h
+@@ -4,6 +4,7 @@
+ #define DEFINITIONS_H
+ 
+ #include <QtGlobal>
++#include <QDropEvent>
+ 
+ #include "3rd-party/scintilla/include/Scintilla.h"
+ 


Home | Main Index | Thread Index | Old Index