pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
New package, featherpad-0.12.0
Module Name: pkgsrc-wip
Committed By: pin <voidpin%protonmail.com@localhost>
Pushed By: pin
Date: Thu Jan 23 11:38:16 2020 +0100
Changeset: 2c749dd0ec6c8c7668c29519724e6518fe8e6484
Modified Files:
Makefile
Added Files:
featherpad/DESCR
featherpad/Makefile
featherpad/PLIST
featherpad/distinfo
featherpad/patches/patch-featherpad_x11.h
Log Message:
New package, featherpad-0.12.0
FeatherPad (by Pedram Pourang, a.k.a. Tsu Jan tsujan2000%gmail.com@localhost)
is a lightweight Qt5 plain-text editor for Linux.
It is independent of any desktop environment.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2c749dd0ec6c8c7668c29519724e6518fe8e6484
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
featherpad/DESCR | 18 ++++++++++++++++
featherpad/Makefile | 36 +++++++++++++++++++++++++++++++
featherpad/PLIST | 30 ++++++++++++++++++++++++++
featherpad/distinfo | 7 ++++++
featherpad/patches/patch-featherpad_x11.h | 15 +++++++++++++
6 files changed, 107 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 6c8df104a8..84785f013d 100644
--- a/Makefile
+++ b/Makefile
@@ -788,6 +788,7 @@ SUBDIR+= fbpanel
SUBDIR+= fbsd2pkg
SUBDIR+= fceux
SUBDIR+= feathercoin
+SUBDIR+= featherpad
SUBDIR+= felt
SUBDIR+= festvox-awb
SUBDIR+= festvox-bdl
diff --git a/featherpad/DESCR b/featherpad/DESCR
new file mode 100644
index 0000000000..498c3c372b
--- /dev/null
+++ b/featherpad/DESCR
@@ -0,0 +1,18 @@
+FeatherPad is a lightweight Qt5 plain-text editor for Linux.
+It is independent of any desktop environment and has:
+ * Drag-and-drop support, including tab detachment and attachment;
+ * X11 virtual desktop awareness;
+ * An optionally permanent search-bar;
+ * Instant highlighting of found matches when searching;
+ * A docked window for text replacement;
+ * Support for line numbers and jumping to a specific line;
+ * Automatic detection of text encoding;
+ * Syntax highlighting for common programming languages;
+ * Ability to open URLs with appropriate applications;
+ * Session management;
+ * Side-pane mode;
+ * Auto-saving;
+ * Spell checking with Hunspell;
+ * Printing;
+ * Text zooming;
+ * Haiku OS and macOS support.
diff --git a/featherpad/Makefile b/featherpad/Makefile
new file mode 100644
index 0000000000..7be5b950eb
--- /dev/null
+++ b/featherpad/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD$
+
+DISTNAME= FeatherPad-V0.12.0
+PKGNAME= featherpad-0.12.0
+CATEGORIES= editors
+MASTER_SITES= ${MASTER_SITE_GITHUB:=tsujan/}
+GITHUB_TAG= V${PKGVERSION_NOREV}
+
+MAINTAINER= voidpin%protonmail.com@localhost
+HOMEPAGE= https://github.com/tsujan/FeatherPad/
+COMMENT= Lightweight Qt5 plain-text editor for Linux
+LICENSE= gnu-gpl-v3
+
+WRKSRC= ${WRKDIR}/FeatherPad-0.12.0
+USE_CMAKE= yes
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+
+CONFIGURE_DIRS= build
+CMAKE_ARG_PATH= ..
+
+INSTALLATION_DIRS+= bin
+
+pre-configure:
+ ${MKDIR} -p ${WRKSRC}/build
+
+TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtx11extras/buildlink3.mk"
+.include "../../x11/qt5-qtsvg/buildlink3.mk"
+.include "../../textproc/hunspell/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/featherpad/PLIST b/featherpad/PLIST
new file mode 100644
index 0000000000..f32b84eb94
--- /dev/null
+++ b/featherpad/PLIST
@@ -0,0 +1,30 @@
+@comment $NetBSD$
+bin/featherpad
+bin/fpad
+share/applications/featherpad.desktop
+share/featherpad/help
+share/featherpad/help_ja_JP
+share/featherpad/translations/featherpad_ar_DZ.qm
+share/featherpad/translations/featherpad_cs.qm
+share/featherpad/translations/featherpad_cy.qm
+share/featherpad/translations/featherpad_da.qm
+share/featherpad/translations/featherpad_de.qm
+share/featherpad/translations/featherpad_eo.qm
+share/featherpad/translations/featherpad_es.qm
+share/featherpad/translations/featherpad_fa.qm
+share/featherpad/translations/featherpad_fr.qm
+share/featherpad/translations/featherpad_id.qm
+share/featherpad/translations/featherpad_it.qm
+share/featherpad/translations/featherpad_ja_JP.qm
+share/featherpad/translations/featherpad_lt.qm
+share/featherpad/translations/featherpad_nb_NO.qm
+share/featherpad/translations/featherpad_nl.qm
+share/featherpad/translations/featherpad_pl.qm
+share/featherpad/translations/featherpad_pt_BR.qm
+share/featherpad/translations/featherpad_pt_PT.qm
+share/featherpad/translations/featherpad_ru.qm
+share/featherpad/translations/featherpad_sk_SK.qm
+share/featherpad/translations/featherpad_tr.qm
+share/featherpad/translations/featherpad_zh_CN.qm
+share/featherpad/translations/featherpad_zh_TW.qm
+share/icons/hicolor/scalable/apps/featherpad.svg
diff --git a/featherpad/distinfo b/featherpad/distinfo
new file mode 100644
index 0000000000..086298df49
--- /dev/null
+++ b/featherpad/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (FeatherPad-V0.12.0.tar.gz) = b0bd8ba27ae7a8111b0a848c782f3d5c1d875d3e
+RMD160 (FeatherPad-V0.12.0.tar.gz) = 80c8454a0766f502b8fb4778b452dc9ab8304c9a
+SHA512 (FeatherPad-V0.12.0.tar.gz) = ce02a75e62723bb7d8bec345c352fae18b917bcce39c667b870f70f025740c428e8b34387c00710cb4979238930575f87809d54d70ef30ce131801526fcb998d
+Size (FeatherPad-V0.12.0.tar.gz) = 774318 bytes
+SHA1 (patch-featherpad_x11.h) = 137904f26e6c0ec8711a369a3f6d141374232bd4
diff --git a/featherpad/patches/patch-featherpad_x11.h b/featherpad/patches/patch-featherpad_x11.h
new file mode 100644
index 0000000000..9ee6145113
--- /dev/null
+++ b/featherpad/patches/patch-featherpad_x11.h
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Include NetBSD xlib.h
+
+--- featherpad/x11.h.orig 2019-12-26 23:10:16.000000000 +0000
++++ featherpad/x11.h
+@@ -20,7 +20,7 @@
+ #ifndef X11_H
+ #define X11_H
+
+-#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
+ #include <X11/Xlib.h>
+ #endif
+
Home |
Main Index |
Thread Index |
Old Index