From 3f611cd58346262b01a601630471e0b06dd8aa7e Mon Sep 17 00:00:00 2001
From: Yuri Victorovich <yuri@FreeBSD.org>
Date: Tue, 22 Sep 2020 21:31:06 +0000
Subject: [PATCH] graphics/xournalpp: Update 1.0.18.20200819 -> 1.0.18.20200921

---
 graphics/xournalpp/Makefile  | 7 ++-----
 graphics/xournalpp/distinfo  | 6 +++---
 graphics/xournalpp/pkg-plist | 2 ++
 3 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/graphics/xournalpp/Makefile b/graphics/xournalpp/Makefile
index 120d96cc6f39..c04eb5030043 100644
--- a/graphics/xournalpp/Makefile
+++ b/graphics/xournalpp/Makefile
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	xournalpp
-DISTVERSION=	1.0.18.20200819
+DISTVERSION=	1.0.18.20200921
 CATEGORIES=	graphics
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -19,14 +19,11 @@ LIB_DEPENDS=	libpoppler-glib.so:graphics/poppler-glib \
 
 USES=		cmake compiler:c++11-lang gettext-tools gnome pkgconfig xorg
 USE_GITHUB=	yes
-GH_TAGNAME=	cdebec61151f968e6fafb2074be182aff970b0af
+GH_TAGNAME=	03963b53944329a3d26d9a8d6f0c111949aa717f
 USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk30 libxml2 pango
 USE_XORG=	x11 xi
 USE_TEX=	latex
 
-post-patch: # TEMP workaround for the bug in release 1.0.17: https://github.com/xournalpp/xournalpp/issues/1734#event-3018678460
-	@${REINPLACE_CMD} 's|gettext_create_translations ("$${potfile}")|gettext_create_translations ("$${potfile}" ALL)|' ${WRKSRC}/po/CMakeLists.txt
-
 # CAVEAT: crashes when built with gcc: https://github.com/xournalpp/xournalpp/issues/851
 
 .include <bsd.port.mk>
diff --git a/graphics/xournalpp/distinfo b/graphics/xournalpp/distinfo
index e3f0acdcefbd..97f2a2f830fd 100644
--- a/graphics/xournalpp/distinfo
+++ b/graphics/xournalpp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1600539245
-SHA256 (xournalpp-xournalpp-1.0.18.20200819-cdebec61151f968e6fafb2074be182aff970b0af_GH0.tar.gz) = aa3dc888fbd047a2518714a62993cc70e27aba948f53f3dd8813050dda531e2d
-SIZE (xournalpp-xournalpp-1.0.18.20200819-cdebec61151f968e6fafb2074be182aff970b0af_GH0.tar.gz) = 15355181
+TIMESTAMP = 1600809093
+SHA256 (xournalpp-xournalpp-1.0.18.20200921-03963b53944329a3d26d9a8d6f0c111949aa717f_GH0.tar.gz) = f1198d6674b69975b5f7b5f8c495b08edae685527f4bd2eea6a30efb637ceab6
+SIZE (xournalpp-xournalpp-1.0.18.20200921-03963b53944329a3d26d9a8d6f0c111949aa717f_GH0.tar.gz) = 15357366
diff --git a/graphics/xournalpp/pkg-plist b/graphics/xournalpp/pkg-plist
index 09b51f24cb12..a3f0408c91ca 100644
--- a/graphics/xournalpp/pkg-plist
+++ b/graphics/xournalpp/pkg-plist
@@ -40,6 +40,8 @@ share/locale/zh/LC_MESSAGES/xournalpp.mo
 share/locale/zh_CN/LC_MESSAGES/xournalpp.mo
 share/locale/zh_HK/LC_MESSAGES/xournalpp.mo
 share/locale/zh_TW/LC_MESSAGES/xournalpp.mo
+%%DATADIR%%/plugins/ColorCycle/main.lua
+%%DATADIR%%/plugins/ColorCycle/plugin.ini
 %%DATADIR%%/plugins/Example/main.lua
 %%DATADIR%%/plugins/Example/plugin.ini
 %%DATADIR%%/plugins/Example/var_dump.lua