pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/featherpad featherpad: update to 0.13.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/959bdb591a77
branches:  trunk
changeset: 412665:959bdb591a77
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Wed Mar 11 01:15:54 2020 +0000

description:
featherpad: update to 0.13.0

Packaged by pin in pkgsrc-wip. (The change log below doesn't note this,
but NetBSD-specific patches from pin were also merged in 0.13.0.)

V0.13.0
---------
 * Allow dash and some other characters (-,;!@*') in URL schemes.
 * Support syntax color customization, with two separate settings for light and dark color schemes.
 * Also added an option for the whitespace color value.
 * Never use processEvents(); it makes single-instance apps prone to crash in rare cases.
 * Consider the HTML ampersand valid in "&name;", "&number;" and "&hexadecimal;".
 * Yet smarter Shift+Enter with alphabetical lists.
 * Bypass medium focus stealing prevention.
 * Fixed a problem in highlighting of multiline comments (with languages that have regex).
 * Fixed highlighting of Markdown code blocks without language.
 * Remember cursor's horizontal pixel position before Backspace/Enter and restore it after Down/Up. This feature was removed with Backspace due
to a regression in Qt 5.14.1.
 * Found and fixed a potential issue in translations (thanks to Masamichi Ito ? ito32bit at GitHub).
 * Don't read custom shortcuts and syntax colors from global config files because the user should be able to restore their default values.

V0.12.1
---------
 * Removed "changelog" and "gtkrc" from the language menu (like "srt") while keeping their syntax highlighting.
 * Allow searching in the language menu by typing continuously.
 * More informative message when a non-text file isn't opened because of preferences.
 * Fixed disabled sort line actions in context menu.
 * Fixed a case of escaped quote/brace/bracket in YAML.
 * Reformat the visible text rectangle on toggling line wrapping.
 * Considered the new behavior of horizontal wheel scrolling in Qt 5.14.0.
 * Added a workaround for the bug in horizontal scrollbars of Qt 5.14.0.

diffstat:

 editors/featherpad/Makefile                               |  16 ++--
 editors/featherpad/PLIST                                  |   8 +-
 editors/featherpad/distinfo                               |  13 +--
 editors/featherpad/patches/patch-featherpad_singleton.cpp |  39 -----------
 editors/featherpad/patches/patch-featherpad_x11.cpp       |  51 ---------------
 editors/featherpad/patches/patch-featherpad_x11.h         |  15 ----
 6 files changed, 18 insertions(+), 124 deletions(-)

diffs (195 lines):

diff -r 1cc40dbd757e -r 959bdb591a77 editors/featherpad/Makefile
--- a/editors/featherpad/Makefile       Tue Mar 10 23:07:58 2020 +0000
+++ b/editors/featherpad/Makefile       Wed Mar 11 01:15:54 2020 +0000
@@ -1,18 +1,18 @@
-# $NetBSD: Makefile,v 1.4 2020/03/10 22:09:41 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2020/03/11 01:15:54 gutteridge Exp $
 
-DISTNAME=              FeatherPad-V0.12.0
-PKGNAME=               featherpad-0.12.0
-PKGREVISION=           2
-CATEGORIES=            editors
-MASTER_SITES=          ${MASTER_SITE_GITHUB:=tsujan/}
-GITHUB_TAG=            V${PKGVERSION_NOREV}
+VERSION=       0.13.0
+DISTNAME=      FeatherPad-V${VERSION}
+PKGNAME=       featherpad-${VERSION}
+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
 LICENSE=       gnu-gpl-v3
 
-WRKSRC=                ${WRKDIR}/FeatherPad-0.12.0
+WRKSRC=                ${WRKDIR}/FeatherPad-${VERSION}
 USE_CMAKE=     yes
 USE_TOOLS+=    pkg-config
 USE_LANGUAGES= c c++
diff -r 1cc40dbd757e -r 959bdb591a77 editors/featherpad/PLIST
--- a/editors/featherpad/PLIST  Tue Mar 10 23:07:58 2020 +0000
+++ b/editors/featherpad/PLIST  Wed Mar 11 01:15:54 2020 +0000
@@ -1,21 +1,23 @@
-@comment $NetBSD: PLIST,v 1.1 2020/02/13 03:12:18 gutteridge Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/03/11 01:15:54 gutteridge Exp $
 bin/featherpad
 bin/fpad
 share/applications/featherpad.desktop
 share/featherpad/help
-share/featherpad/help_ja_JP
+share/featherpad/help_ja
 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_el.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_hu.qm
 share/featherpad/translations/featherpad_id.qm
 share/featherpad/translations/featherpad_it.qm
-share/featherpad/translations/featherpad_ja_JP.qm
+share/featherpad/translations/featherpad_ja.qm
 share/featherpad/translations/featherpad_lt.qm
 share/featherpad/translations/featherpad_nb_NO.qm
 share/featherpad/translations/featherpad_nl.qm
diff -r 1cc40dbd757e -r 959bdb591a77 editors/featherpad/distinfo
--- a/editors/featherpad/distinfo       Tue Mar 10 23:07:58 2020 +0000
+++ b/editors/featherpad/distinfo       Wed Mar 11 01:15:54 2020 +0000
@@ -1,9 +1,6 @@
-$NetBSD: distinfo,v 1.1 2020/02/13 03:12:18 gutteridge Exp $
+$NetBSD: distinfo,v 1.2 2020/03/11 01:15:54 gutteridge Exp $
 
-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_singleton.cpp) = 2a975b01d35af58f48942f6dc29bb94aeb41ab13
-SHA1 (patch-featherpad_x11.cpp) = 9c7605159a914b67166e1e253bd0f843cf2a92d6
-SHA1 (patch-featherpad_x11.h) = d1c16d999a5eca0332c13b4240d72f2680706c66
+SHA1 (FeatherPad-V0.13.0.tar.gz) = d7467c9bf1d946da2aec99f3dcbe2384353bfc6f
+RMD160 (FeatherPad-V0.13.0.tar.gz) = 89298fe493248219457dd9e20d384897203e2a98
+SHA512 (FeatherPad-V0.13.0.tar.gz) = fb88a13ba49dc9a3be4e6cf2537d246d4514f667238e8d80c5d570ec9ff860cbde34a213be2b0a0b51fcc260a2943bfc7fd929c1f91a44b65fe7b8eaf5460b5d
+Size (FeatherPad-V0.13.0.tar.gz) = 822180 bytes
diff -r 1cc40dbd757e -r 959bdb591a77 editors/featherpad/patches/patch-featherpad_singleton.cpp
--- a/editors/featherpad/patches/patch-featherpad_singleton.cpp Tue Mar 10 23:07:58 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-$NetBSD: patch-featherpad_singleton.cpp,v 1.1 2020/02/13 03:12:18 gutteridge Exp $
-
-Allow building on NetBSD
-
---- featherpad/singleton.cpp.orig      2019-12-26 23:10:16.000000000 +0000
-+++ featherpad/singleton.cpp
-@@ -24,12 +24,12 @@
- #include <QCryptographicHash>
- #include <QThread>
- 
--#if defined Q_OS_LINUX || defined Q_OS_FREEBSD || defined Q_OS_OPENBSD || defined Q_OS_HURD
-+#if defined Q_OS_LINUX || defined Q_OS_FREEBSD || defined Q_OS_OPENBSD || defined Q_OS_NETBSD || defined Q_OS_HURD
- #include <unistd.h> // for geteuid()
- #endif
- 
- #ifdef HAS_X11
--#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 <QX11Info>
- #endif
- #endif
-@@ -46,7 +46,7 @@ FPsingleton::FPsingleton (int &argc, cha
- {
- #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;
-@@ -278,7 +278,7 @@ FPwin* FPsingleton::newWin (const QStrin
-     fp->show();
-     if (socketFailure_)
-         fp->showCrashWarning();
--#if defined Q_OS_LINUX || defined Q_OS_FREEBSD || defined Q_OS_OPENBSD || defined Q_OS_HURD
-+#if defined Q_OS_LINUX || defined Q_OS_FREEBSD || defined Q_OS_OPENBSD || defined Q_OS_NETBSD || defined Q_OS_HURD
-     else if (geteuid() == 0)
-         fp->showRootWarning();
- #endif
diff -r 1cc40dbd757e -r 959bdb591a77 editors/featherpad/patches/patch-featherpad_x11.cpp
--- a/editors/featherpad/patches/patch-featherpad_x11.cpp       Tue Mar 10 23:07:58 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-$NetBSD: patch-featherpad_x11.cpp,v 1.1 2020/02/13 03:12:18 gutteridge Exp $
-
-Allow building on NetBSD
-
---- featherpad/x11.cpp.orig    2019-12-26 23:10:16.000000000 +0000
-+++ featherpad/x11.cpp
-@@ -20,7 +20,7 @@
- #include <QString>
- #include "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/Xatom.h>
- #include <QX11Info>
- #endif
-@@ -37,7 +37,7 @@ long fromDesktop()
- {
-     long res = -1;
- 
--#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
-     Display  *disp = QX11Info::display();
-     if (!disp) return res;
- 
-@@ -72,7 +72,7 @@ long onWhichDesktop (Window window)
- {
-     long res = -1;
- 
--#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
-     Display *disp = QX11Info::display();
-     if (!disp) return res;
- 
-@@ -107,7 +107,7 @@ long onWhichDesktop (Window window)
- 
- bool isWindowShaded (Window window)
- {
--#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
-     Display *disp = QX11Info::display();
-     if (!disp) return false;
- 
-@@ -142,7 +142,7 @@ bool isWindowShaded (Window window)
- /*************************/
- void unshadeWindow (Window window)
- {
--#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
-     Display *disp = QX11Info::display();
-     if (!disp) return;
- 
diff -r 1cc40dbd757e -r 959bdb591a77 editors/featherpad/patches/patch-featherpad_x11.h
--- a/editors/featherpad/patches/patch-featherpad_x11.h Tue Mar 10 23:07:58 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-featherpad_x11.h,v 1.1 2020/02/13 03:12:18 gutteridge Exp $
-
-Allow building on NetBSD
-
---- 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