pkgsrc-WIP-changes archive

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

New package, feathernotes-0.5.1



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Sat Jan 25 10:00:09 2020 +0100
Changeset:	c2b588f0d54d45802d805fec79fa776190b359e0

Modified Files:
	Makefile
Added Files:
	feathernotes/DESCR
	feathernotes/Makefile
	feathernotes/PLIST
	feathernotes/distinfo
	feathernotes/patches/patch-feathernotes_fn.cpp
	feathernotes/patches/patch-feathernotes_x11.cpp
	feathernotes/patches/patch-feathernotes_x11.h

Log Message:
New package, feathernotes-0.5.1

Patches soon to be sent to upstream

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

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

diffstat:
 Makefile                                        |  1 +
 feathernotes/DESCR                              | 18 +++++++++++
 feathernotes/Makefile                           | 32 +++++++++++++++++++
 feathernotes/PLIST                              |  6 ++++
 feathernotes/distinfo                           |  9 ++++++
 feathernotes/patches/patch-feathernotes_fn.cpp  | 24 ++++++++++++++
 feathernotes/patches/patch-feathernotes_x11.cpp | 42 +++++++++++++++++++++++++
 feathernotes/patches/patch-feathernotes_x11.h   | 22 +++++++++++++
 8 files changed, 154 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 820b31c819..923288a977 100644
--- a/Makefile
+++ b/Makefile
@@ -790,6 +790,7 @@ SUBDIR+=	fbpanel
 SUBDIR+=	fbsd2pkg
 SUBDIR+=	fceux
 SUBDIR+=	feathercoin
+SUBDIR+=	feathernotes
 SUBDIR+=	featherpad
 SUBDIR+=	felt
 SUBDIR+=	festvox-awb
diff --git a/feathernotes/DESCR b/feathernotes/DESCR
new file mode 100644
index 0000000000..b740eb7ebb
--- /dev/null
+++ b/feathernotes/DESCR
@@ -0,0 +1,18 @@
+FeatherNotes is a lightweight Qt5 hierarchical notes-manager for Linux.
+It is independent of any desktop environment and has:
+
+  * Support for rich text formatting, image embedding and inserting
+    editable tables;
+  * Drag-and-drop capability for moving nodes and also for embedding images;
+  * A tray icon for quick access on any desktop;
+  * Correct position/size saving and restoring with most window managers;
+  * Compact but complete search and replacement widgets;
+  * The ability to include searchable tags (hidden info on each node);
+  * Support for optional node icons;
+  * Support for local and remote hyperlinks (bookmarks);
+  * Text zooming;
+  * Printing and exporting to HTML and PDF;
+  * Password protection;
+  * Auto-saving;
+  * macOS support and other features that can be found in its settings,
+    on its menus or when it is actually used.
diff --git a/feathernotes/Makefile b/feathernotes/Makefile
new file mode 100644
index 0000000000..1e9075d238
--- /dev/null
+++ b/feathernotes/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD$
+
+DISTNAME=	FeatherNotes-V0.5.1
+PKGNAME=	feathernotes-0.5.1
+CATEGORIES=	x11
+MASTER_SITES=	${MASTER_SITE_GITHUB:=tsujan/}
+GITHUB_TAG=	V${PKGVERSION_NOREV}
+
+MAINTAINER=	voidpin%protonmail.com@localhost
+HOMEPAGE=	https://github.com/tsujan/FeatherNotes/
+COMMENT=	Lightweight Qt5 hierarchical notes-manager
+LICENSE=	gnu-gpl-v3
+
+WRKSRC=		${WRKDIR}/FeatherNotes-0.5.1
+USE_LANGUAGES=	c++
+
+USE_TOOLS=	pkg-config
+
+INSTALL_MAKE_FLAGS+=	INSTALL_ROOT=${DESTDIR}
+
+do-configure:
+	cd ${WRKSRC} && \
+	${SETENV} ${CONFIGURE_ENV} \
+	${QTDIR}/bin/qmake -o Makefile PREFIX=${PREFIX}
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtsvg/buildlink3.mk"
+.include "../../x11/qt5-qtx11extras/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/feathernotes/PLIST b/feathernotes/PLIST
new file mode 100644
index 0000000000..7a673dd636
--- /dev/null
+++ b/feathernotes/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD$
+bin/feathernotes
+share/applications/feathernotes.desktop
+share/icons/hicolor/scalable/apps/feathernotes.svg
+share/icons/hicolor/scalable/mimetypes/text-feathernotes-fnx.svg
+share/mime/packages/feathernotes.xml
diff --git a/feathernotes/distinfo b/feathernotes/distinfo
new file mode 100644
index 0000000000..806b3f3cdb
--- /dev/null
+++ b/feathernotes/distinfo
@@ -0,0 +1,9 @@
+$NetBSD$
+
+SHA1 (FeatherNotes-V0.5.1.tar.gz) = 37994687bce772b46d9f363f7aa38dcd3e6583aa
+RMD160 (FeatherNotes-V0.5.1.tar.gz) = 3091679de78c76d3f61db00ff92cbc331d92a153
+SHA512 (FeatherNotes-V0.5.1.tar.gz) = ee52b2069e000cdf1b1971c9b6e94c4b2fabf93505081f485c2f777d6f002cb0621ca49be58c66a520db801c389bfad9502651eebc42d38d0ece2bec4f6c9e9a
+Size (FeatherNotes-V0.5.1.tar.gz) = 335890 bytes
+SHA1 (patch-feathernotes_fn.cpp) = e9e74350d542b75a5bffc46a35f09a0b591fab6a
+SHA1 (patch-feathernotes_x11.cpp) = e1d131d1b85fbe1dc23dde4426fb83415c1fb906
+SHA1 (patch-feathernotes_x11.h) = 748c3a71e596a1d53412bc2d8b4b94cb3d14b159
diff --git a/feathernotes/patches/patch-feathernotes_fn.cpp b/feathernotes/patches/patch-feathernotes_fn.cpp
new file mode 100644
index 0000000000..8d0f8ec170
--- /dev/null
+++ b/feathernotes/patches/patch-feathernotes_fn.cpp
@@ -0,0 +1,24 @@
+$NetBSD$
+
+Define NetBSD
+
+--- feathernotes/fn.cpp.orig	2020-01-06 06:05:04.000000000 +0000
++++ feathernotes/fn.cpp
+@@ -48,7 +48,7 @@
+ #include <QMimeDatabase>
+ 
+ #ifdef HAS_X11
+-#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_OPENBSD || defined Q_OS_HURD
++#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_OPENBSD || defined Q_OS_NETBSD || defined Q_OS_HURD
+ #include <QX11Info>
+ #endif
+ #include "x11.h"
+@@ -65,7 +65,7 @@ FN::FN (const QString& message, QWidget 
+ {
+ #ifdef HAS_X11
+     // For now, the lack of x11 is seen as wayland.
+-#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_FREEBSD || defined Q_OS_OPENBSD || defined Q_OS_HURD
++#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_FREEBSD || defined Q_OS_OPENBSD || defined Q_OS_NETBSD ||  defined Q_OS_HURD
+     isX11_ = QX11Info::isPlatformX11();
+ #else
+     isX11_ = false;
diff --git a/feathernotes/patches/patch-feathernotes_x11.cpp b/feathernotes/patches/patch-feathernotes_x11.cpp
new file mode 100644
index 0000000000..0adc6f5a24
--- /dev/null
+++ b/feathernotes/patches/patch-feathernotes_x11.cpp
@@ -0,0 +1,42 @@
+$NetBSD$
+
+Define NetBSD
+
+--- feathernotes/x11.cpp.orig	2020-01-06 06:05:04.000000000 +0000
++++ feathernotes/x11.cpp
+@@ -18,7 +18,7 @@
+ #include <QString>
+ #include "x11.h"
+ 
+-#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_OPENBSD || defined Q_OS_HURD
++#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_OPENBSD || defined Q_OS_NETBSD || defined Q_OS_HURD
+ #include <X11/Xatom.h>
+ #include <QX11Info>
+ #endif
+@@ -35,7 +35,7 @@ long fromDesktop()
+ {
+     long res = -1;
+ 
+-#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_OPENBSD || defined Q_OS_HURD
++#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_OPENBSD || defined Q_OS_NETBSD || defined Q_OS_HURD
+     Display  *disp = QX11Info::display();
+     if (!disp) return res;
+ 
+@@ -70,7 +70,7 @@ long onWhichDesktop (Window w)
+ {
+     long res = -1;
+ 
+-#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_OPENBSD || defined Q_OS_HURD
++#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_OPENBSD || defined Q_OS_NETBSD || defined Q_OS_HURD
+     Display *disp = QX11Info::display();
+     if (!disp) return res;
+ 
+@@ -102,7 +102,7 @@ long onWhichDesktop (Window w)
+ // which was defined in gdkwindow-x11.c.
+ void moveToCurrentDesktop (Window w)
+ {
+-#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_OPENBSD || defined Q_OS_HURD
++#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_OPENBSD || defined Q_OS_NETBSD || defined Q_OS_HURD
+     Display *disp = QX11Info::display();
+     if (!disp) return;
+ 
diff --git a/feathernotes/patches/patch-feathernotes_x11.h b/feathernotes/patches/patch-feathernotes_x11.h
new file mode 100644
index 0000000000..31404c3457
--- /dev/null
+++ b/feathernotes/patches/patch-feathernotes_x11.h
@@ -0,0 +1,22 @@
+$NetBSD$
+
+Define NetBSD
+
+--- feathernotes/x11.h.orig	2020-01-06 06:05:04.000000000 +0000
++++ feathernotes/x11.h
+@@ -18,13 +18,13 @@
+ #ifndef X11_H
+ #define X11_H
+ 
+-#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_OPENBSD || defined Q_OS_HURD
++#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_OPENBSD || defined Q_OS_NETBSD || defined Q_OS_HURD
+ #include <X11/Xlib.h>
+ #endif
+ 
+ namespace FeatherNotes {
+ 
+-#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_OPENBSD || defined Q_OS_HURD
++#if defined Q_WS_X11 || defined Q_OS_LINUX || defined Q_OS_OPENBSD || defined Q_OS_NETBSD || defined Q_OS_HURD
+ long fromDesktop();
+ #endif
+ 


Home | Main Index | Thread Index | Old Index