Changes

Jump to navigation Jump to search
495 bytes removed ,  16:02, 20 November 2012
m
{{Installation navbox}}
this page contains instructions how to get the ''latest'' ConTeXt up and running on OpenBSD 3.8+== Introduction ==
== The easiest way to install gmake ==the latest ConTeXt on OpenBSD is using [[ConTeXt_Standalone|ConTeXt Standalone]]'s Linux version and use it with OpenBSD's Linux emulation layer. Alternative, native methods may be described on this page in the future. The full installation is ~210M (without the 3rd party modules ~185M).
<code> $ sudo pkg_add gmake</code> == install teTeX 3.0 Using Linux Emulation ==
<code>
$ sudo pkg_add teTex_basersync fedora_base $ sudo sysctl kern.emul.linux=1 $ mkdir $HOME/context $ cd $HOME/context $ ftp http://minimals.contextgarden.net/setup/first-3setup.0p3sh
</code>
Modify this adds all the dependencies with newer pkg tools. if using older ones,add the other packages manually (script to override <tt>teTeX_texmf, teTeX_base-fmtplatform=linux</tt>). strictly speaking, one doesn't need X11 for using teTeX, in this case installthe <tt>*-no_x11</tt> packages. == update pdftex == get the latest version from from [[http://sarovar.org/projects/pdftex sarovar]].
<code>
$ tar xvzf pdftexsh ./first-1setup.30.6.tgzsh --modules=all $ export PATH="$PATH:$HOME/context/tex/texmf-linux/bin" $ context --make $ cd pdftexcontext --1.30.6version
</code>
apply the following diff This setup will use mkiv (scratch the bashism luatex version) and use <tt>gmake</tt>): <code> --- build.sh.orig Mon Feb 27 21:45:29 2006 +++ build.sh Mon Feb 27 23:32:31 2006 @@ -1,7 +1,7 @@ -#! /usr/bin/env bash +#!/bin/sh # $Id$ # builds new does not need either pdftex binaries -MAKE=make +MAKE=gmake STRIP=strip # this deletes all previous builds.</code> run the build: <code> $ sh ./build.sh</code> when finished, replace the binaries (<tt>pdftex</tt> is only a symlink to <tt>pdfetex</tt>): <code> $ sudo mv build/texk/web2c/pdfetex `which pdfetex` $ sudo mv build/texk/web2c/pdfetex.pool `kpsewhich pdfetexor ruby.pool` $ sudo mv build/texk/web2c/ttf2afm `which ttf2afm` $ sudo fmtutil-sys --all</code>
...{{Installation navbox}}
[[Category:Installation]]

Navigation menu