xournalpp: update to 1.1.0.

Also:
- add libsrvg-devel (new dependency)
- add lua53-devel (plugins dep - @tornaria)
- add help2man to hostmakedepends ( man page - @tornaria)
- remove virtual?tex
- remove INSTALL.msg
- add patch by @tornaria to load plugins from the users home dir.
This commit is contained in:
mobinmob 2021-07-19 20:54:47 +03:00 committed by Érico Nogueira Rolim
parent 2ee4c935bb
commit a8b4e16b71
3 changed files with 26 additions and 8 deletions

View file

@ -1,4 +0,0 @@
You need to install the standalone package to use LaTeX with
xournalpp. The following command will install it (needs root privileges).
'tlmgr install standalone'

View file

@ -0,0 +1,19 @@
Temporary patch to load plugins from $CONFIG_FOLDER/plugins/,
usually $HOME/.config/xournalpp/plugins/
Otherwise, the only way to load plugins is to place them in the
system directory /usr/share/xournalpp/plugins.
A more general approach for plugin paths is planned, see
https://github.com/xournalpp/xournalpp/issues/1155#issuecomment-623234420
--- a/src/plugin/PluginController.cpp 2021-03-14 00:26:17.633925344 -0300
+++ b/src/plugin/PluginController.cpp 2021-03-14 00:27:08.487299784 -0300
@@ -15,6 +15,7 @@
PluginController::PluginController(Control* control): control(control) {
#ifdef ENABLE_PLUGINS
auto searchPath = control->getGladeSearchPath()->getFirstSearchPath();
+ loadPluginsFrom(Util::getConfigSubfolder("plugins"));
loadPluginsFrom((searchPath /= "../plugins").lexically_normal());
#endif
}

View file

@ -1,19 +1,22 @@
# Template file for 'xournalpp'
pkgname=xournalpp
version=1.0.20
version=1.1.0
revision=1
build_style=cmake
hostmakedepends="pkg-config gettext"
makedepends="libxml2-devel libcppunit-devel poppler-glib-devel gtk+3-devel
portaudio-cpp-devel libsndfile-devel libzip-devel"
depends="virtual?tex"
portaudio-cpp-devel libsndfile-devel libzip-devel librsvg-devel lua53-devel"
short_desc="Handwriting Notetaking software with PDF annotation support"
maintainer="mobinmob <mobinmob@disroot.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/xournalpp/xournalpp"
changelog="https://raw.githubusercontent.com/xournalpp/xournalpp/master/CHANGELOG.md"
distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz"
checksum=1abf9925f11f0944c8142194be3e72541e230afa83490b074f5c6e613b0e2a02
checksum=31b99282bcd1d829f05f1c9ccd07c5d599acc0e69725d135cdc97e1dcaf2baee
if [ -z "$CROSS_BUILD" ]; then
hostmakedepends+=" help2man"
fi
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" libexecinfo-devel"