pkgsrc-Changes archive

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

CVS commit: pkgsrc/editors



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Thu Feb 13 03:21:54 UTC 2020

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

Log Message:
feathernotes: import new package, version 0.5.1

FeatherNotes is a lightweight Qt5 hierarchical notes-manager.
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.

Packaged in pkgsrc-wip by pin, as part of a broader effort toward
providing all of LXQt and associated utility applications. General
reviews, feedback, and testing of such by gdt@, ng0@, and myself.


To generate a diff of this commit:
cvs rdiff -u -r1.200 -r1.201 pkgsrc/editors/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/editors/feathernotes/DESCR \
    pkgsrc/editors/feathernotes/Makefile pkgsrc/editors/feathernotes/PLIST \
    pkgsrc/editors/feathernotes/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/editors/feathernotes/patches/patch-feathernotes_fn.cpp \
    pkgsrc/editors/feathernotes/patches/patch-feathernotes_x11.cpp \
    pkgsrc/editors/feathernotes/patches/patch-feathernotes_x11.h

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

Modified files:

Index: pkgsrc/editors/Makefile
diff -u pkgsrc/editors/Makefile:1.200 pkgsrc/editors/Makefile:1.201
--- pkgsrc/editors/Makefile:1.200       Thu Feb 13 03:12:18 2020
+++ pkgsrc/editors/Makefile     Thu Feb 13 03:21:54 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.200 2020/02/13 03:12:18 gutteridge Exp $
+# $NetBSD: Makefile,v 1.201 2020/02/13 03:21:54 gutteridge Exp $
 #
 
 COMMENT=       Editors
@@ -41,6 +41,7 @@ SUBDIR+=      emacs26
 SUBDIR+=       emacs26-nox11
 SUBDIR+=       ex
 SUBDIR+=       fe
+SUBDIR+=       feathernotes
 SUBDIR+=       featherpad
 SUBDIR+=       gate
 SUBDIR+=       gconf-editor

Added files:

Index: pkgsrc/editors/feathernotes/DESCR
diff -u /dev/null pkgsrc/editors/feathernotes/DESCR:1.1
--- /dev/null   Thu Feb 13 03:21:54 2020
+++ pkgsrc/editors/feathernotes/DESCR   Thu Feb 13 03:21:54 2020
@@ -0,0 +1,18 @@
+FeatherNotes is a lightweight Qt5 hierarchical notes-manager.
+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.
Index: pkgsrc/editors/feathernotes/Makefile
diff -u /dev/null pkgsrc/editors/feathernotes/Makefile:1.1
--- /dev/null   Thu Feb 13 03:21:54 2020
+++ pkgsrc/editors/feathernotes/Makefile        Thu Feb 13 03:21:54 2020
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2020/02/13 03:21:54 gutteridge Exp $
+
+DISTNAME=      FeatherNotes-V0.5.1
+PKGNAME=       feathernotes-0.5.1
+CATEGORIES=    editors
+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}
+
+TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools
+
+.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"
Index: pkgsrc/editors/feathernotes/PLIST
diff -u /dev/null pkgsrc/editors/feathernotes/PLIST:1.1
--- /dev/null   Thu Feb 13 03:21:54 2020
+++ pkgsrc/editors/feathernotes/PLIST   Thu Feb 13 03:21:54 2020
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2020/02/13 03:21:54 gutteridge Exp $
+bin/feathernotes
+share/applications/feathernotes.desktop
+share/feathernotes/translations/feathernotes_cs.qm
+share/feathernotes/translations/feathernotes_cy.qm
+share/feathernotes/translations/feathernotes_de.qm
+share/feathernotes/translations/feathernotes_eo.qm
+share/feathernotes/translations/feathernotes_es.qm
+share/feathernotes/translations/feathernotes_fr.qm
+share/feathernotes/translations/feathernotes_he.qm
+share/feathernotes/translations/feathernotes_id.qm
+share/feathernotes/translations/feathernotes_ja.qm
+share/feathernotes/translations/feathernotes_lt.qm
+share/feathernotes/translations/feathernotes_nb_NO.qm
+share/feathernotes/translations/feathernotes_nl.qm
+share/feathernotes/translations/feathernotes_pl.qm
+share/feathernotes/translations/feathernotes_pt_BR.qm
+share/feathernotes/translations/feathernotes_pt_PT.qm
+share/feathernotes/translations/feathernotes_ru.qm
+share/feathernotes/translations/feathernotes_sk_SK.qm
+share/feathernotes/translations/feathernotes_zh_HANT.qm
+share/icons/hicolor/scalable/apps/feathernotes.svg
+share/icons/hicolor/scalable/mimetypes/text-feathernotes-fnx.svg
+share/mime/packages/feathernotes.xml
Index: pkgsrc/editors/feathernotes/distinfo
diff -u /dev/null pkgsrc/editors/feathernotes/distinfo:1.1
--- /dev/null   Thu Feb 13 03:21:54 2020
+++ pkgsrc/editors/feathernotes/distinfo        Thu Feb 13 03:21:54 2020
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2020/02/13 03:21:54 gutteridge Exp $
+
+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

Index: pkgsrc/editors/feathernotes/patches/patch-feathernotes_fn.cpp
diff -u /dev/null pkgsrc/editors/feathernotes/patches/patch-feathernotes_fn.cpp:1.1
--- /dev/null   Thu Feb 13 03:21:54 2020
+++ pkgsrc/editors/feathernotes/patches/patch-feathernotes_fn.cpp       Thu Feb 13 03:21:54 2020
@@ -0,0 +1,24 @@
+$NetBSD: patch-feathernotes_fn.cpp,v 1.1 2020/02/13 03:21:54 gutteridge Exp $
+
+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;
Index: pkgsrc/editors/feathernotes/patches/patch-feathernotes_x11.cpp
diff -u /dev/null pkgsrc/editors/feathernotes/patches/patch-feathernotes_x11.cpp:1.1
--- /dev/null   Thu Feb 13 03:21:54 2020
+++ pkgsrc/editors/feathernotes/patches/patch-feathernotes_x11.cpp      Thu Feb 13 03:21:54 2020
@@ -0,0 +1,42 @@
+$NetBSD: patch-feathernotes_x11.cpp,v 1.1 2020/02/13 03:21:54 gutteridge Exp $
+
+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;
+ 
Index: pkgsrc/editors/feathernotes/patches/patch-feathernotes_x11.h
diff -u /dev/null pkgsrc/editors/feathernotes/patches/patch-feathernotes_x11.h:1.1
--- /dev/null   Thu Feb 13 03:21:54 2020
+++ pkgsrc/editors/feathernotes/patches/patch-feathernotes_x11.h        Thu Feb 13 03:21:54 2020
@@ -0,0 +1,22 @@
+$NetBSD: patch-feathernotes_x11.h,v 1.1 2020/02/13 03:21:54 gutteridge Exp $
+
+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