Missing public header synctex_version.h and shlib versions bumps

synctex_parser.h and synctex_parser_utils.h are public headers that both
include synctex_version.h, but the latter isn't installed by the
autotools glue.  Reported by ajacoutot@, ok kili@ edd@ (maintainer)

While here, the libsynctex API/ABI has changed between tl2017 and
tl2018, so bump the major (also bump the minor for libptexenc).
ok edd@ (maintainer)
This commit is contained in:
jca 2019-01-24 16:38:41 +00:00
parent 4374c2eead
commit f720122b3a
4 changed files with 37 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.106 2019/01/20 11:17:32 edd Exp $
# $OpenBSD: Makefile,v 1.107 2019/01/24 16:38:41 jca Exp $
COMMENT-main = base binaries for TeXLive typesetting distribution
COMMENT-mktexlsr = mktexlsr for TeXLive typesetting distribution
@ -7,6 +7,8 @@ DISTNAME = texlive-${DIST_V}-source
PKGNAME = texlive_base-${V}
WRKDIST = ${WRKDIR}/texlive-${DIST_V}-source
REVISION-main = 0
MULTI_PACKAGES = -main -mktexlsr
PKGNAME-mktexlsr = texlive_mktexlsr-${V}
PKGNAME-main = ${PKGNAME}
@ -14,9 +16,9 @@ PKGNAME-main = ${PKGNAME}
DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
texlive-${DIST_V}-extra${EXTRACT_SUFX}
SHARED_LIBS = kpathsea 8.1 # 8.2
SHARED_LIBS += ptexenc 5.1 # 4.4
SHARED_LIBS += synctex 1.0 # 19.0
SHARED_LIBS = kpathsea 8.1 # 8.3
SHARED_LIBS += ptexenc 5.2 # 4.5
SHARED_LIBS += synctex 2.0 # 19.0
SHARED_LIBS += texlua52 0.0 # 7.4
SHARED_LIBS += texlua53 0.0 # 8.4

View File

@ -0,0 +1,23 @@
$OpenBSD: patch-texk_web2c_Makefile_in,v 1.7 2019/01/24 16:38:41 jca Exp $
Install missing header.
Index: texk/web2c/Makefile.in
--- texk/web2c/Makefile.in.orig
+++ texk/web2c/Makefile.in
@@ -1762,6 +1762,7 @@ NROFF = nroff
MANS = $(dist_man_MANS) $(nodist_man_MANS)
DATA = $(pkgconfig_DATA)
am__syncinclude_HEADERS_DIST = synctexdir/synctex_parser.h \
+ synctexdir/synctex_version.h \
synctexdir/synctex_parser_utils.h
HEADERS = $(syncinclude_HEADERS)
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
@@ -4021,6 +4022,7 @@ syncincludedir = ${includedir}/synctex
pkgconfigdir = ${libdir}/pkgconfig
@SYNCTEX_TRUE@syncinclude_HEADERS = \
@SYNCTEX_TRUE@ synctexdir/synctex_parser.h \
+@SYNCTEX_TRUE@ synctexdir/synctex_version.h \
@SYNCTEX_TRUE@ synctexdir/synctex_parser_utils.h
@SYNCTEX_TRUE@pkgconfig_DATA = synctexdir/synctex.pc

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-main,v 1.3 2019/01/20 11:17:46 edd Exp $
@comment $OpenBSD: PLIST-main,v 1.4 2019/01/24 16:38:41 jca Exp $
@conflict teTeX_base-*
@conflict pdfjam-*
@conflict ht-<2
@ -412,6 +412,7 @@ include/ptexenc/unicode.h
include/synctex/
include/synctex/synctex_parser.h
include/synctex/synctex_parser_utils.h
include/synctex/synctex_version.h
include/texlua52/
include/texlua52/lauxlib.h
include/texlua52/lua.h
@ -450,7 +451,6 @@ lib/pkgconfig/texlua53.pc
${P5SITE}/TeXLive/
${P5SITE}/TeXLive/TLConfig.pm
${P5SITE}/TeXLive/TLUtils.pm
share/applications/
share/applications/xdvi.desktop
share/doc/pkg-readmes/${PKGSTEM}
@tag update-desktop-database

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.55 2019/01/20 11:17:48 edd Exp $
# $OpenBSD: Makefile,v 1.56 2019/01/24 16:38:41 jca Exp $
COMMENT-context = texlive texmf for conTeXt
COMMENT-docs = texlive documentation
@ -24,6 +24,9 @@ PKGNAME-docs = texlive_texmf-docs-${V}
PKGNAME-context = texlive_texmf-context-${V}
PKGNAME-buildset = texlive_texmf-buildset-${V}
REVISION-main = 0
REVISION-docs = 0
NO_BUILD = Yes
NO_TEST = Yes
PKG_ARCH = *
@ -39,14 +42,14 @@ MODRUBY_RUNDEP = No
MODPY_BUILDDEP = No
MODPY_RUNDEP = No
RUN_DEPENDS-main += texlive_base-${V}:print/texlive/base,-main \
RUN_DEPENDS-main += texlive_base-${V}p0:print/texlive/base,-main \
${FULLPKGNAME-buildset}:print/texlive/texmf,-buildset
RUN_DEPENDS-full = ${FULLPKGNAME-main}:print/texlive/texmf,-main \
${MODPY_RUN_DEPENDS} \
${_MODLUA_RUNDEPENDS}
RUN_DEPENDS-context += ${FULLPKGNAME-full}:print/texlive/texmf,-full \
${MODRUBY_RUNDEPENDS}
RUN_DEPENDS-docs += texlive_base-${V}:print/texlive/base,-main \
RUN_DEPENDS-docs += texlive_base-${V}p0:print/texlive/base,-main \
x11/p5-Tk
RUN_DEPENDS-buildset += texlive_mktexlsr-${V}:print/texlive/base,-mktexlsr