Mon May 4 11:04:08 2020 UTC ()
xournalpp: Missing patch.


(nia)
diff -r1.13 -r1.14 pkgsrc/editors/xournalpp/Makefile
diff -r0 -r1.1 pkgsrc/editors/xournalpp/patches/patch-po_CMakeLists.txt

cvs diff -r1.13 -r1.14 pkgsrc/editors/xournalpp/Makefile (expand / switch to unified diff)

--- pkgsrc/editors/xournalpp/Makefile 2020/04/26 14:06:32 1.13
+++ pkgsrc/editors/xournalpp/Makefile 2020/05/04 11:04:07 1.14
@@ -1,16 +1,17 @@ @@ -1,16 +1,17 @@
1# $NetBSD: Makefile,v 1.13 2020/04/26 14:06:32 nia Exp $ 1# $NetBSD: Makefile,v 1.14 2020/05/04 11:04:07 nia Exp $
2 2
3DISTNAME= xournalpp-1.0.18 3DISTNAME= xournalpp-1.0.18
 4PKGREVISION= 1
4CATEGORIES= editors 5CATEGORIES= editors
5MASTER_SITES= ${MASTER_SITE_GITHUB:=xournalpp/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=xournalpp/}
6GITHUB_PROJECT= xournalpp 7GITHUB_PROJECT= xournalpp
7 8
8MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/xournalpp/xournalpp 10HOMEPAGE= https://github.com/xournalpp/xournalpp
10COMMENT= Take notes, sketch and annotate PDFs 11COMMENT= Take notes, sketch and annotate PDFs
11LICENSE= gnu-gpl-v2 12LICENSE= gnu-gpl-v2
12 13
13USE_CMAKE= yes 14USE_CMAKE= yes
14USE_TOOLS+= pkg-config 15USE_TOOLS+= pkg-config
15USE_TOOLS+= msgfmt msgmerge xgettext 16USE_TOOLS+= msgfmt msgmerge xgettext
16USE_LANGUAGES= c c++11 17USE_LANGUAGES= c c++11

File Added: pkgsrc/editors/xournalpp/patches/patch-po_CMakeLists.txt
$NetBSD: patch-po_CMakeLists.txt,v 1.1 2020/05/04 11:04:07 nia Exp $

Fix building of po files. The "NOUPDATE" was added very close
to the release, and there seems to be ongoing discussion in
the bug reports -- not submitted upstream.

--- po/CMakeLists.txt.orig	2020-04-15 19:03:39.000000000 +0000
+++ po/CMakeLists.txt
@@ -20,7 +20,7 @@ if (XGETTEXT_FOUND)
       "${PROJECT_SOURCE_DIR}/ui/*.glade"
   )
 
-  gettext_create_translations ("${potfile}" ALL NOUPDATE)
+  gettext_create_translations ("${potfile}" ALL)
 
 else (XGETTEXT_FOUND)
   message (ERROR "Gettext not found!")