pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/xournalpp xournalpp: Make x11 library dependen...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d9bfc03862c9
branches:  trunk
changeset: 404299:d9bfc03862c9
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Nov 10 21:42:15 2019 +0000

description:
xournalpp: Make x11 library dependencies explicit on all platforms.

diffstat:

 editors/xournalpp/Makefile                     |   4 +++-
 editors/xournalpp/distinfo                     |   4 ++--
 editors/xournalpp/patches/patch-CMakeLists.txt |  13 +++++++++++--
 3 files changed, 16 insertions(+), 5 deletions(-)

diffs (57 lines):

diff -r 94b15e1a7a2d -r d9bfc03862c9 editors/xournalpp/Makefile
--- a/editors/xournalpp/Makefile        Sun Nov 10 21:33:52 2019 +0000
+++ b/editors/xournalpp/Makefile        Sun Nov 10 21:42:15 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2019/11/07 12:38:05 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2019/11/10 21:42:15 nia Exp $
 
 DISTNAME=      xournalpp-1.0.15
 PKGREVISION=   3
@@ -34,4 +34,6 @@
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../x11/gtk3/buildlink3.mk"
+.include "../../x11/libXi/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 94b15e1a7a2d -r d9bfc03862c9 editors/xournalpp/distinfo
--- a/editors/xournalpp/distinfo        Sun Nov 10 21:33:52 2019 +0000
+++ b/editors/xournalpp/distinfo        Sun Nov 10 21:42:15 2019 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.2 2019/11/02 14:44:15 nia Exp $
+$NetBSD: distinfo,v 1.3 2019/11/10 21:42:15 nia Exp $
 
 SHA1 (xournalpp-1.0.15.tar.gz) = 6934c8de1260ca580988c421c55c2a44999a235c
 RMD160 (xournalpp-1.0.15.tar.gz) = 8f53fd4b74507e28e28a4fffa9fe4d8c5f434c45
 SHA512 (xournalpp-1.0.15.tar.gz) = 7a015c1d48e26eed313f994aa293f6d2ab711ac6970568edef4ba10dcf1551c87279daa2b361731ac58ef236e1dd59e0eebf41e4739fba9db954a718450d5b79
 Size (xournalpp-1.0.15.tar.gz) = 14938798 bytes
-SHA1 (patch-CMakeLists.txt) = 52b9a70a3242b618f8092b94a21c276c522e749d
+SHA1 (patch-CMakeLists.txt) = 3ead1546fe20e7481e93f2976c3e7b98c0a7699f
 SHA1 (patch-src_control_tools_StrokeHandler.cpp) = 80df57a9776a9919a95a04bf6c057dc021fc789e
 SHA1 (patch-src_util_DeviceListHelper.cpp) = 8f3534c80c79ec49dd9562c3ed4e3ff7c36b2ecb
diff -r 94b15e1a7a2d -r d9bfc03862c9 editors/xournalpp/patches/patch-CMakeLists.txt
--- a/editors/xournalpp/patches/patch-CMakeLists.txt    Sun Nov 10 21:33:52 2019 +0000
+++ b/editors/xournalpp/patches/patch-CMakeLists.txt    Sun Nov 10 21:42:15 2019 +0000
@@ -1,11 +1,20 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2019/10/16 13:34:08 nia Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.2 2019/11/10 21:42:15 nia Exp $
 
 Find pkgsrc lua with pkg-config.
 
-Unconditionally install desktop files.
+Unconditionally install desktop files and make dependencies explicit.
 
 --- CMakeLists.txt.orig        2019-10-15 17:47:34.000000000 +0000
 +++ CMakeLists.txt
+@@ -50,7 +50,7 @@ else ()
+ endif ()
+ 
+ ## For touch workaround, may need to be disabled for a Wayland Build
+-if (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
++if (TRUE)
+     set (xournalpp_LDFLAGS ${xournalpp_LDFLAGS} "-lX11 -lXi")
+ endif ()
+ 
 @@ -130,7 +130,7 @@ if (MacIntegration_FOUND)
  endif ()
  



Home | Main Index | Thread Index | Old Index