miktex-kiss-repo

KISS Linux repo for MiKTeX
git clone git://bvnf.space/miktex-kiss-repo.git
Log | Files | Refs | README | LICENSE

commit dad7e601365c4421c94a827d91f9e1201d2064a1
parent 16db58c60120e457c8e103f391c9dc8a4c992ce6
Author: aabacchus <ben@bvnf.space>
Date:   Fri, 22 Jul 2022 03:39:51 +0100

boost: import version with locale support

Diffstat:
MREADME.md | 10++++++++++
Aboost/build | 30++++++++++++++++++++++++++++++
Aboost/checksums | 1+
Aboost/depends | 3+++
Aboost/sources | 1+
Aboost/version | 1+
6 files changed, 46 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -35,6 +35,16 @@ Of course, it is less featureful. To use, clone the repo and add it to `KISS_PATH`, then run: ``` +$ cd boost && kiss b +``` +This builds the version of boost from this repo, which includes locale support. (Keep +that in mind when a boost update comes along - or put this repo earlier in `KISS_PATH` +than the community repo. +By the way, I really do intend to patch out all the locale requirements from MiKTeX. +One day. + +Next, +``` $ kiss b graphite-harfbuzz ``` This will take a moment, then print a message telling you to run diff --git a/boost/build b/boost/build @@ -0,0 +1,30 @@ +#!/bin/sh -e + +read -r pymaj pymin <<EOF +$(python -c 'import sys; print(sys.version_info.major, sys.version_info.minor)') +EOF + +./bootstrap.sh \ + --prefix="$1/usr" \ + --without-icu + +for action in stage install; do + ./b2 $action \ + variant=release \ + threading=multi \ + link=shared \ + python="$pymaj.$pymin" \ + cflags="$CFLAGS -O3" \ + cxxflags="$CXXFLAGS -std=c++14 -O3" \ + linkflags="$LDFLAGS" \ + --disable-icu boost.locale.icu=off \ + --without-mpi \ + --without-context \ + --without-coroutine \ + --without-fiber \ + --without-stacktrace +done + +# https://github.com/boostorg/python/issues/203#issuecomment-391477685 +ln -s "/usr/lib/libboost_python$pymaj$pymin.so" "$1/usr/lib/libboost_python$pymaj.so" +ln -s "/usr/lib/libboost_numpy$pymaj$pymin.so" "$1/usr/lib/libboost_numpy$pymaj.so" diff --git a/boost/checksums b/boost/checksums @@ -0,0 +1 @@ +475d589d51a7f8b3ba2ba4eda022b170e562ca3b760ee922c146b6c65856ef39 diff --git a/boost/depends b/boost/depends @@ -0,0 +1,3 @@ +linux-headers make +gettext-tiny +python diff --git a/boost/sources b/boost/sources @@ -0,0 +1 @@ +https://boostorg.jfrog.io/artifactory/main/release/VERSION/source/boost_MAJOR_MINOR_PATCH.tar.bz2 diff --git a/boost/version b/boost/version @@ -0,0 +1 @@ +1.79.0 1