From f387f89e60469512dc1126be289a3033750e84eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Sun, 16 Aug 2020 01:09:40 -0300 Subject: [PATCH 1/2] texlive: create libsynctex sub-package. Other packages can link against this library, and they don't need to pull in the whole texlive package. --- common/shlibs | 1 + srcpkgs/texlive/template | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/common/shlibs b/common/shlibs index 4d3dfa3c7fe..ea8a526b870 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3973,6 +3973,7 @@ libkpathsea.so.6 texlive-20200406_1 libtexluajit.so.2 texlive-LuaTeX-20200406_1 libtexlua53.so.5 texlive-LuaTeX-20200406_1 libptexenc.so.1 texlive-20200406_1 +libsynctex.so.2 libsynctex-20200406_3 libdolphinvcs.so.5 dolphin-20.04.3_1 libcglm.so.0 cglm-0.7.6_1 libfcft.so.3 fcft-2.2.2_1 diff --git a/srcpkgs/texlive/template b/srcpkgs/texlive/template index 27a2b7a9d8a..aad127ee9c0 100644 --- a/srcpkgs/texlive/template +++ b/srcpkgs/texlive/template @@ -1,7 +1,7 @@ # Template file for 'texlive' pkgname=texlive version=20200406 -revision=2 +revision=3 wrksrc="texlive-${version}-source" build_wrksrc="build" build_style=gnu-configure @@ -335,6 +335,13 @@ texlive-Xdvi_package() { } } +libsynctex_package() { + short_desc+=" - libsynctex" + pkg_install() { + vmove "usr/lib/libsynctex.so.*" + } +} + texlive-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" From 029db0dbd9cebeb8814987fb8a37b4b9cb046da9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Sun, 16 Aug 2020 01:10:36 -0300 Subject: [PATCH 2/2] zathura: enable synctex. --- srcpkgs/zathura/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/zathura/template b/srcpkgs/zathura/template index 356cdc6efb7..2c1f2b95cc2 100644 --- a/srcpkgs/zathura/template +++ b/srcpkgs/zathura/template @@ -1,13 +1,13 @@ # Template file for 'zathura' pkgname=zathura version=0.4.6 -revision=1 +revision=2 build_style=meson -configure_args="-Dsynctex=disabled -Dtests=disabled" +configure_args="-Dsynctex=enabled -Dtests=disabled" hostmakedepends="pkg-config intltool python3-Sphinx desktop-file-utils appstream-glib glib-devel librsvg-utils" makedepends="girara-devel sqlite-devel file-devel zlib-devel libseccomp-devel - libglib-devel" + libglib-devel texlive-devel" short_desc="Highly customizable and functional document viewer" maintainer="lemmi " license="Zlib"