From: ericonr <ericonr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] Enable libsynctex for zathura
Date: Sun, 16 Aug 2020 06:19:33 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24305@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 484 bytes --]
There is a new pull request by ericonr against master on the void-packages repository
https://github.com/ericonr/void-packages zat
https://github.com/void-linux/void-packages/pull/24305
Enable libsynctex for zathura
Depends on #24300 to avoid rebuilding texlive too many times. The texlive commit will be removed from here once that's merged.
Along with #24300, fixes #24013 .
@lemmi
A patch file from https://github.com/void-linux/void-packages/pull/24305.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zat-24305.patch --]
[-- Type: text/x-diff, Size: 2601 bytes --]
From 7c0f52d9f8a2385cebf8185c3bf20c7920273733 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
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..b95ebe84211 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 7cee35c42177a894016ae8867ecc8f35d5d3036a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89rico=20Rolim?= <erico.erc@gmail.com>
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 <lemmi@nerd2nerd.org>"
license="Zlib"
next reply other threads:[~2020-08-16 4:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-16 4:19 ericonr [this message]
2020-08-16 4:30 ` [PR PATCH] [Updated] " ericonr
2020-08-16 5:28 ` ericonr
2020-08-17 2:26 ` ericonr
2020-08-17 14:35 ` ericonr
2020-08-17 14:54 ` [PR PATCH] [Closed]: " ahesford
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24305@inbox.vuxu.org \
--to=ericonr@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).