Commit Graph

174 Commits

Author SHA1 Message Date
edd
abc42810ab print/texlive: Update to version 2022.
Partial bulk tested on amd64. A fix for textproc/lgrind will follow.

Tested and "seems to work alright" tb@. Thanks.
2022-11-24 20:01:11 +00:00
ajacoutot
477a45da5b WANTLIB: pcre -> pcre2-8 after recent glib2 update. 2022-11-05 17:07:21 +00:00
sthen
6fd6fd548c add patch from dvisvgm upstream to unbreak build with ghostscript 10.0.0 2022-10-08 13:44:16 +00:00
ajacoutot
7384ef8dd8 Regen more WANTLIB to unbreak following cups update. 2022-05-27 06:11:14 +00:00
sthen
878141c4e9 remove some @comment $OpenBSD$ missed in earlier sweep due to being split 2022-05-26 18:23:58 +00:00
ajacoutot
f4d30a730a Regen WANTLIB to unbreak. 2022-05-26 16:00:59 +00:00
jeremy
1026c9569a Bump ports after switching default ruby version to 3.1
OK sthen@, tb@
2022-05-05 15:41:56 +00:00
sthen
f3b0fc339f sync WANTLIB 2022-03-31 14:43:32 +00:00
naddy
0e126762d0 drop RCS Ids 2022-03-11 19:50:56 +00:00
edd
007726647a print/texlive: update to the 2021 version.
Tested quite a bit by myself and Laurence Tratt.

Also amd64 bulk tested with everything that either BUILD_DEPENDS or
LIB_DEPENDS on texlive. No problems found.
2021-10-26 12:51:59 +00:00
edd
5ced563241 print/texlive: update to the 2021 version.
Tested quite a bit by myself and Laurence Tratt.

Also amd64 bulk tested with everything the either BUILD_DEPENDS or LIB_DEPENDS
on texlive. No problems found.
2021-10-26 12:50:54 +00:00
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
edd
f8025ee039 Fix a confusing error message in TeX Live's pdfjam.
pdfjam tries to use `locale -k` to detect the default paper size, but that
won't work on OpenBSD.

Issue raised upstream:
https://github.com/DavidFirth/pdfjam/issues/29

Noticed by, and patch provided by, Laurie Tratt, thanks!

OK naddy@
2020-09-27 18:45:13 +00:00
bentley
cbde482297 Depend on lcdf-typetools package rather than building it in texlive.
Also update plist generation and bump conflict markers.

requested by edd@ (the one who actually wrote the diff)
2020-09-02 10:42:03 +00:00
edd
54af758222 Update to TeX Live 2020.
User tested by Laurence Tratt and Florian Viehweger.

Input and OK mariani@.

Thanks everyone!
2020-08-18 18:47:59 +00:00
edd
673fe144bf Update to TeX Live 2020.
User tested by Laurence Tratt and Florian Viehweger.

Input and OK mariani@.

Thanks everyone!
2020-08-18 18:40:11 +00:00
jca
5377942b60 Disable xindy on sparc64 until lang/clisp is fixed
ok cwen@ kmos@ and edd@ (maintainer)
2020-04-07 15:34:36 +00:00
jca
cf1792bf4c Use https://ftp.tu-chemnitz.de as primary MASTER_SITES
Documented as a preferred mirror by upstream, has https, and doesn't
have all the problems ftp://tug.org has (overloaded, keepalive broken).
ok sthen@ edd@ (maintainer)
2019-11-12 10:14:08 +00:00
edd
ab87713ed0 Update print/texlive to version 2019.
A few notes:

This year, we install the interpreter symlinks when the supporting texmf
files become available. Before we installed them all in texlive_base and
you could get dangling symlinks and confused users.

There are also a lot of Ruby-1.8 scripts in TeX Live, but we no longer
package such an old Ruby. There's too much to systematically test, so
for now we re-write the #! to a newer Ruby, and we can fix any problems
that arise on a case-by-case basis.

Tested by: matthieu@, cwen@, Jon Bernard and jca@.

Additional input from sthen@ and cwen@.

OK cwen@ and jca@.

Thank you all for your help!
2019-11-11 22:54:07 +00:00
sthen
b8d12a3b20 update various simple PERMIT_* in Makefile.inc files 2019-07-13 10:59:26 +00:00
sthen
22de3ff02c set png16 WANTLIB entries back to png following the change in soname
part done by portbump, part by hand (it is easily confused)
2019-05-17 16:45:25 +00:00
cwen
df36273cd8 texlive/base: unbreak when building with ports-gcc-4.9
The included dvisvgm contains a bundled version of brotli, that uses
__has_attribute(), only available with gcc>=5. Spotted by landry@,
tested successfully on sparc64 (jca@), macppc (landry@) and amd64 (me).

OK jca@, edd@ (MAINTAINER)
2019-03-12 21:19:29 +00:00
edd
1332470ca1 TeX Live: Split out synctex into its own multi-package.
OK jca@
2019-02-13 18:14:12 +00:00
jca
594f1373d4 Force -std=gnu++11 to unbreak on non-clang archs
ICU headers now assume C++11 and char16_t.

ok sthen@ edd@ (maintainer)
2019-02-10 18:53:49 +00:00
jca
79af821518 Stop enforcing strict version requirements on texlive_base
This strict version requirement doesn't look very useful but is a pain
to maintain.  The idea is now to force a dep on a minimal version
(latest major).

ok edd@ (maintainer)
2019-02-10 18:14:36 +00:00
jca
f720122b3a 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)
2019-01-24 16:38:41 +00:00
edd
955fa02afa Update TeX Live to 2018.
User tested by Jon Bernard, bulk tested by kili@.

OK kili@, thanks!
2019-01-20 11:17:30 +00:00
landry
25f41afe75 Set USE_LIBTOOL=gnu on powerpc, allows texlive-base to package there for 6.4.
Of course this is an ugly kludge, so someone (tm) should dig into our
libtool internals and figure out why -lpng disappears from the
commandline when linking xetex on !x86.
2018-10-16 16:48:27 +00:00
sthen
41554484f1 warn others of the texmf RUN_DEPENDS trap in a comment 2018-10-10 15:18:40 +00:00
sthen
2ae434ce86 update RUN_DEPENDS versions to unbreak following bumps in texlive/base
thanks aja@ for the report and exoscale for the superfast build VM cluster!
2018-10-10 15:17:59 +00:00
sthen
0a64f8b779 set USE_LIBTOOL=gnu on sparc64 to unbreak.
somehow, between builds starting 2018-05-13 and 2018-07-31 building xetex
started failing because the libtool-generated linker command stopped including
-lpng (https://marc.info/?l=openbsd-ports&m=153911844712950&w=2).

unsure of the reason and it's not a satisfying fix, but does at least get
TeX packaging on sparc64 for 6.4.

ok naddy@
2018-10-09 23:36:19 +00:00
edd
4433a57b4f Overhaul the TeX Live PLIST generation scripts.
Although this is a "no functional change" commit, the change does two
things:

 * Removes the dependency on py-texscythe for generating the PLISTs.
   Instead, I've added a small TLPDB parser which works (unlike
   py-texsythe) entirely in-memory. This means that generating the
   PLISTs now takes seconds instead of minutes.

 * Splits the generation of the PLISTs into two scripts. The first --
   update_plist_hints.py -- emits one line for file under the fake
   install dir, advising which PLIST the file should go in. The second
   -- write_plists.py -- reads those lines and writes them to the
   correct PLIST. Eventually write_plists.py will be killed, as we plan
   to integrate update_plist_hints.py with update-plist(1) itself.

At a later date, I will port all of these scripts to Python3, since that
seems to be the way the world is going.

The idea to integrate with update-plist(1) is espie@'s, and this change
is also OK espie@.

Many thanks.
2018-09-11 21:32:28 +00:00
espie
f4b7f81318 convert to PKGSTEM 2018-09-04 12:46:09 +00:00
edd
0dd3a62af7 Ensure the TeX Live PLIST generation scripts output @tag.
OK espie@
2018-08-11 10:43:24 +00:00
espie
7922e825d0 use supersedes for mktexlsr-local
requires -current pkg_add
2018-07-11 09:38:44 +00:00
espie
4c48b3d934 split mktexlsr so that we can depend on it for a simple @define-tag
okay edd@ for the initial idea.

also includes missing @pkgpath marker
2018-07-01 08:59:32 +00:00
espie
b944999970 blarf, blech, puke
let's hardcode REVISION all over the place instead of using variables
that bsd.port.mk provides.
2018-06-24 15:14:25 +00:00
edd
0226f45905 Move TeX deps for tex-by-topic and cocinelle into the buildset to avoid depending on texmf-full.
Also add a script for finding which subsets a tex file uses.

OK sthen@, thanks.
2018-04-11 13:40:29 +00:00
edd
4152e32f2f print/texlive/base: Make it build with clang 6.
OK naddy@, thanks.
2018-04-10 20:43:51 +00:00
kili
c691dba21c Some parts of texlive now only build with a C++-11 capable compiler,
so re-add COMPILER = base-clang ports-gcc.

However, do not yet set CXXFLAGS = -std=c++11 globally, because other
ports will currently break with it (speficically luatex). This will
be done after re-add the luatex patch dropped during the texlive
update and collect proper patches for pdftex (using our poppler
instead of the bundled one).

Successfully test-built on sparc64 and macppc by landry@.
2018-02-21 21:00:27 +00:00
edd
cc111cfae5 Update to TeX Live 2017.
Seems to work fine on all papers I've thrown at it.

Tested by myself and kili@ on all BUILD_DEPENDS too. No tree breakage
that we can see.

Like what is currently in-tree, this update is currently using the
in-built poppler, as it seems TeX Live only works with old versions.
Kili is working on fixing this.

OK kili@, thanks!

----------------------------------------------------------------------
----------------------------------------------------------------------
2018-01-30 20:35:30 +00:00
edd
20d6a63dbd Some TeX Live 2016 house keeping.
* Fix a missing trailing slash in the PLIST generation script.
 * Fix a broken conflict marker.

OK kili@, thanks.
2017-12-29 17:43:35 +00:00
kili
7364b62125 Temporarily build print/texlive/base with the bundled version of
poppler.

It doesn't build without patches against the new poppler object API
(which it shouldn't use at all in the first place) and the patch I
wrote for this leads to memory corruption.

Switching back and forth between different versions of poppler and
differently patched versions of texlive and at the same time letting
our poppler port rotting in the tree doesn't help, so for now people
using pdftex (and luatex?) will have to live with a very outdated
version of poppler (0.42).

ok aja@, jca@ (how also caught a missing removal of -std=c++11 from
CPPFLAGS in my initial diff)
2017-12-25 22:50:42 +00:00
sthen
cd095cec5e Handle pthread-stubs removal. 2017-10-23 17:11:02 +00:00
kili
3d0ac20b0a Actually pass -std=c++11 instead of just using a C++11 capable
compiler.

Add a patch to let pdftoepdf from luatex to still build (found by
sthen@).

I hope this will also help architectures without clang in base
(where this port is currently broken).
2017-10-15 19:07:33 +00:00
sthen
1dd1aed429 bump; textproc/icu4c now uses multi-packages for -wwwdata 2017-08-24 09:45:23 +00:00
kili
a432b80c90 Switch to c++-11 to make it possible to update print/poppler.
Should have no ill effects on archs with clang in base, and I did
some light testing before the switch of amd64 and i386 to clang
(when both COMPILER_LIBCXX and LIBCXX were used) without hitting
any problem.

Tentative ok from edd@, a long time ago.
2017-08-20 23:57:19 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
espie
8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +00:00
sthen
40ffcab1b6 tweak the comment about ftp.tug.org which doesn't work with ftp(1)'s keepalive
implementation

drop the ftp.math.utah.edu mirror as some people have had problems with it
stalling

ok edd@
2017-05-22 09:05:49 +00:00