Date: Sun, 27 Mar 2022 11:15:14 GMT From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 517405950222 - main - editors/ghostwriter: Update to 2.1.2 and take maintainership Message-ID: <202203271115.22RBFEIH008809@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by madpilot: URL: https://cgit.FreeBSD.org/ports/commit/?id=5174059502221cde3c3a7a5b96a385590d278809 commit 5174059502221cde3c3a7a5b96a385590d278809 Author: Guido Falsi <madpilot@FreeBSD.org> AuthorDate: 2022-03-27 11:13:05 +0000 Commit: Guido Falsi <madpilot@FreeBSD.org> CommitDate: 2022-03-27 11:13:05 +0000 editors/ghostwriter: Update to 2.1.2 and take maintainership This version includes qt resources containing spaces which cause build failures due to the incorrectly escaped spaces that end up in the Makefile. Added a port-configure patch that removes the offending lines. --- editors/ghostwriter/Makefile | 11 ++++++++--- editors/ghostwriter/distinfo | 6 +++--- editors/ghostwriter/files/patch-src_MarkdownEditor.cpp | 10 ---------- editors/ghostwriter/pkg-plist | 6 ++++-- 4 files changed, 15 insertions(+), 18 deletions(-) diff --git a/editors/ghostwriter/Makefile b/editors/ghostwriter/Makefile index 5f7c7e34edfe..8e2ace8d8aaf 100644 --- a/editors/ghostwriter/Makefile +++ b/editors/ghostwriter/Makefile @@ -1,9 +1,8 @@ PORTNAME= ghostwriter -DISTVERSIONPREFIX= v -DISTVERSION= 1.8.1 +DISTVERSION= 2.1.2 CATEGORIES= editors -MAINTAINER= ports@FreeBSD.org +MAINTAINER= madpilot@FreeBSD.org COMMENT= Distraction-free Markdown editor LICENSE= GPLv3+ @@ -20,4 +19,10 @@ USE_QT= core gui svg webchannel webengine widgets buildtools_build \ # cf. PR 224488 LDFLAGS+= -Wl,--as-needed +post-configure: + @${REINPLACE_CMD} -e 's|^\(build/release/qrc_QtAwesomeFree.cpp:[^\\]*\)\\|\1|' \ + -e '/3rdparty\/QtAwesome\/fonts\/Font/d' \ + -e '/\/lib\/qt5\/bin\/rcc \\/d' \ + ${WRKSRC}/Makefile + .include <bsd.port.mk> diff --git a/editors/ghostwriter/distinfo b/editors/ghostwriter/distinfo index ebe99a81b285..970ff8bf6a29 100644 --- a/editors/ghostwriter/distinfo +++ b/editors/ghostwriter/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1582434096 -SHA256 (wereturtle-ghostwriter-v1.8.1_GH0.tar.gz) = 2b73fed6a95ebcd45333fe4b12acb491eb4171fca8a11eea1af9bbdc73ed4b69 -SIZE (wereturtle-ghostwriter-v1.8.1_GH0.tar.gz) = 1220000 +TIMESTAMP = 1648229424 +SHA256 (wereturtle-ghostwriter-2.1.2_GH0.tar.gz) = 65aa523a9c3d4f4c68f2cb6f5ab600cf24c98b4f0673a622d757a8e28eab120f +SIZE (wereturtle-ghostwriter-2.1.2_GH0.tar.gz) = 7722873 diff --git a/editors/ghostwriter/files/patch-src_MarkdownEditor.cpp b/editors/ghostwriter/files/patch-src_MarkdownEditor.cpp deleted file mode 100644 index 89c3e7114850..000000000000 --- a/editors/ghostwriter/files/patch-src_MarkdownEditor.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- src/MarkdownEditor.cpp.orig 2020-05-21 07:40:36 UTC -+++ src/MarkdownEditor.cpp -@@ -34,6 +34,7 @@ - #include <QUrl> - #include <QPixmap> - #include <QPainter> -+#include <QPainterPath> - #include <QFileInfo> - #include <QDir> - diff --git a/editors/ghostwriter/pkg-plist b/editors/ghostwriter/pkg-plist index 199d1c40018f..15bcc8f07041 100644 --- a/editors/ghostwriter/pkg-plist +++ b/editors/ghostwriter/pkg-plist @@ -1,7 +1,7 @@ bin/ghostwriter -share/appdata/ghostwriter.appdata.xml share/applications/ghostwriter.desktop %%DATADIR%%/translations/ghostwriter_ar.qm +%%DATADIR%%/translations/ghostwriter_ca.qm %%DATADIR%%/translations/ghostwriter_cs.qm %%DATADIR%%/translations/ghostwriter_de.qm %%DATADIR%%/translations/ghostwriter_en.qm @@ -9,10 +9,12 @@ share/applications/ghostwriter.desktop %%DATADIR%%/translations/ghostwriter_fr.qm %%DATADIR%%/translations/ghostwriter_it.qm %%DATADIR%%/translations/ghostwriter_ja.qm +%%DATADIR%%/translations/ghostwriter_nb_NO.qm %%DATADIR%%/translations/ghostwriter_nl.qm %%DATADIR%%/translations/ghostwriter_pl.qm %%DATADIR%%/translations/ghostwriter_pt_BR.qm %%DATADIR%%/translations/ghostwriter_ru.qm +%%DATADIR%%/translations/ghostwriter_sv.qm %%DATADIR%%/translations/ghostwriter_zh.qm share/icons/hicolor/128x128/apps/ghostwriter.png share/icons/hicolor/16x16/apps/ghostwriter.png @@ -24,4 +26,4 @@ share/icons/hicolor/48x48/apps/ghostwriter.png share/icons/hicolor/64x64/apps/ghostwriter.png share/icons/hicolor/scalable/apps/ghostwriter.svg share/man/man1/ghostwriter.1.gz -share/pixmaps/ghostwriter.xpm +share/metainfo/ghostwriter.appdata.xml
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203271115.22RBFEIH008809>