mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 03:16:28 -04:00
deskutils/mindforger: update the port to version 1.54.0
Apply a minor fix so that correct version would be reported in the About dialog and window title (the tree had been tagged for the release before the fix had been committed to the master). Reported by: portscout
This commit is contained in:
parent
159bf5bb4c
commit
864a1f86fa
4 changed files with 18 additions and 15 deletions
|
@ -1,7 +1,7 @@
|
|||
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
||||
|
||||
PORTNAME= mindforger
|
||||
PORTVERSION= 1.53.0
|
||||
PORTVERSION= 1.54.0
|
||||
CATEGORIES= deskutils
|
||||
|
||||
MAINTAINER= danfe@FreeBSD.org
|
||||
|
@ -48,6 +48,7 @@ post-patch:
|
|||
${WRKSRC}/app/src/qt/note_view_presenter.cpp \
|
||||
${WRKSRC}/app/src/qt/note_view_presenter.h \
|
||||
${WRKSRC}/app/src/qt/outline_header_view_presenter.cpp
|
||||
@${REINPLACE_CMD} -e 's/53/54/' ${WRKSRC}/lib/src/app_info.h
|
||||
@${REINPLACE_CMD} -e 's/_current_dir_name(/cwd(nullptr, 0/' \
|
||||
${WRKSRC}/lib/src/gear/file_utils.cpp
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
TIMESTAMP = 1640528172
|
||||
SHA256 (dvorka-mindforger-1.53.0_GH0.tar.gz) = a8a917c4b6eb28b16ab09322108049408c9bcb897baeba786042c1bcb1389ce7
|
||||
SIZE (dvorka-mindforger-1.53.0_GH0.tar.gz) = 2137346
|
||||
TIMESTAMP = 1641748185
|
||||
SHA256 (dvorka-mindforger-1.54.0_GH0.tar.gz) = 1f274b810cf1a4ee31e7d3aa9adc21660f11d2cfff23e1e6950141d96068de5a
|
||||
SIZE (dvorka-mindforger-1.54.0_GH0.tar.gz) = 2128313
|
||||
SHA256 (dvorka-cmark-4ca8688_GH0.tar.gz) = 8486c44ed23ae3865f5ebba034e319ed9e65340ffca1df09a4edd4b4677ab6cb
|
||||
SIZE (dvorka-cmark-4ca8688_GH0.tar.gz) = 288979
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
--- app/app.pro.orig 2021-12-26 14:16:12 UTC
|
||||
--- app/app.pro.orig 2022-01-09 17:09:45 UTC
|
||||
+++ app/app.pro
|
||||
@@ -137,12 +137,8 @@ macx {
|
||||
@@ -160,13 +160,8 @@ macx {
|
||||
./src/qt/spelling/dictionary_provider_voikko.cpp
|
||||
|
||||
} else:unix {
|
||||
- # pkgconfig-based configuration does not work @ Ubuntu distribution build
|
||||
- # pkgconfig-based configuration does not work @ Ubuntu
|
||||
- # CONFIG += link_pkgconfig
|
||||
- # PKGCONFIG += hunspell
|
||||
- # hardcoded paths are unfortunately more robust:
|
||||
-
|
||||
- # hardcoded paths are (unfortunately) more robust:
|
||||
- INCLUDEPATH += /usr/include/hunspell
|
||||
- LIBS += -lhunspell
|
||||
+ CONFIG += link_pkgconfig
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
--- lib/src/gear/string_utils.h.orig 2020-03-08 17:03:52 UTC
|
||||
--- lib/src/gear/string_utils.h.orig 2022-01-09 17:09:45 UTC
|
||||
+++ lib/src/gear/string_utils.h
|
||||
@@ -114,12 +114,12 @@ static inline char *stringTrim(const char *s) {
|
||||
}
|
||||
|
||||
static inline std::string &stringLeftTrim(std::string& s) {
|
||||
- s.erase(s.begin(), std::find_if(s.begin(), s.end(), std::not1(std::ptr_fun<int, int>(isspace))));
|
||||
+ s.erase(s.begin(), std::find_if(s.begin(), s.end(), [](int c) { return !std::isspace(c); }));
|
||||
@@ -118,13 +118,13 @@ static inline std::string &stringLeftTrim(std::string&
|
||||
s.begin(),
|
||||
std::find_if(s.begin(),
|
||||
s.end(),
|
||||
- std::not1(std::ptr_fun<int, int>(isspace)))
|
||||
+ [](int c) { return !std::isspace(c); })
|
||||
);
|
||||
return s;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue