Update to TeX Live 2010.

This year we pre-generate format and maps as requested by kili.

Started adding test cases in the tests/ dir.

Upgrades from 2009 will cause a harmless warning regarding texlinks. Espie is
aware of this, it was not easily fixable.

Uninstalls of texlive 2010 which were previously upgraded from 2009 will make
lots of noise regarding non-empty directories which can not be deleted. This
is due to unregistered package directories in the old texlive 2009 pacakage and
has been fixed in the 2010 package (rblatter script was modified to register
*all* parent dirs in PLISTs).

Installs/uninstalls of texlive 2010 on a fresh system (which has never
seen texlive 2009) are squeaky clean.

This has been in use for a number of months on my work machine, so should be
pretty stable, but I am sure someone will find some obscure bugs. These can be
fixed in tree.

OK espie@
This commit is contained in:
edd 2011-03-08 00:09:42 +00:00
parent 0952fddcd5
commit e735c64ddf
37 changed files with 18475 additions and 5020 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2010/02/01 17:00:14 espie Exp $
# $OpenBSD: Makefile,v 1.5 2011/03/08 00:09:42 edd Exp $
SUBDIR =
SUBDIR += base

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.inc,v 1.5 2010/11/20 09:48:40 espie Exp $
# $OpenBSD: Makefile.inc,v 1.6 2011/03/08 00:09:42 edd Exp $
CATEGORIES ?= print
HOMEPAGE ?= http://tug.org/texlive/
@ -14,7 +14,8 @@ EXTRACT_SUFX ?= .tar.xz
EXTRACT_CASES += *.tar.xz) xzcat ${FULLDISTDIR}/$$archive | tar xf -;;
BUILD_DEPENDS += archivers/xz
V ?= 2009
DIST_V ?= ${V}1107
V ?= 2010
DIST_V ?= ${V}0722
MASTER_SITES ?= ftp://ftp.tug.org/texlive/historic/${V}/
PATCHORIG ?= .origy

48
print/texlive/README Normal file
View File

@ -0,0 +1,48 @@
$OpenBSD: README,v 1.1 2011/03/08 00:09:42 edd Exp $
Porting of TeX Live 2010 is now complete. Any remaining bugs will be
fixed in-tree. This file remains as a reference when the time comes to
port texlive 2011.
TeX Live 2010 - Porting progress.
---------------------------------------
* Get base compilers working: done
* Get xindy linking against clisp: done
* Test build works. done
-> amd64 done
-> i386 done
-> sparc64 done
* Do texmf split: done
* Get basic texmf packaging: done
* Re-add depenedencies: done
* Get -full config working: done
* Hack configs for subsets: done
-> hack texmf.cnf: done
-> fix $HOME ls-R owned root bug: done
-> make fmtutil.cnf configs: not needed this year
* Implement remaining @xxx directives: done
* Test lots: done (several months)
* Link to build as print/texlive: done
--- KNOWN ISSUES ---
* gmverb is broken -- reported upstream, being ignored by package author.
* man pages make noise
At package time:
/usr/ports/pobj/texlive_base-2010/fake-i386//usr/local/man/man1/texmfstart.1 :5: can't find macro file `www.tmac'
At install/uninstall:
Can't parse /usr/local/man/cat1/mendex.0 (not a manpage ?)
* /usr/local/share/texmf* are left behind from previous texlive which cause
a conflict with new texlive2010.
--- EXTRA? ---
* Split down -docs even further this year: docs_srcs + docs_built (?)
Probably not.
* Pre-generate maps and formats and install from FILESDIR
-> check this is platform independent. done - works

View File

@ -1,16 +1,17 @@
# $OpenBSD: Makefile,v 1.44 2010/11/22 10:16:08 espie Exp $
# $OpenBSD: Makefile,v 1.45 2011/03/08 00:09:42 edd Exp $
COMMENT = base binaries for TeXLive typesetting distribution
DISTNAME = texlive-${DIST_V}-source
PKGNAME = texlive_base-${V}
REVISION = 9
SHARED_LIBS = kpathsea 2.0
WANTLIB = m X11 ICE freetype Xt c Xext fontconfig Xpm SM Xmu gd \
ncurses openjpeg Xaw Xau Xdmcp expat iconv jpeg lcms \
png>=3 poppler pthread pthread-stubs stdc++ t1>=4 \
ttf xcb xml2 z
SHARED_LIBS = kpathsea 3.0
SHARED_LIBS += ptexenc 0.0
WANTLIB += ICE SM X11 Xau Xaw Xdmcp Xext Xmu Xpm Xt c expat
WANTLIB += fontconfig freetype gd jpeg lcms m ncurses
WANTLIB += openjpeg png>=3 poppler pthread pthread-stubs stdc++
WANTLIB += t1>=4 ttf xcb xml2 z
RUN_DEPENDS = print/ghostscript/gnu \
print/detex \
@ -18,7 +19,8 @@ RUN_DEPENDS = print/ghostscript/gnu \
print/ps2eps \
print/psutils \
print/t1utils \
texlive_texmf-minimal-${V}:print/texlive/texmf,-main
texlive_texmf-minimal-${V}:print/texlive2010/texmf,-main \
print/latex-mk
LIB_DEPENDS = devel/t1lib \
graphics/png \
@ -26,12 +28,14 @@ LIB_DEPENDS = devel/t1lib \
print/freetype \
print/poppler
MODULES = textproc/intltool converters/libiconv
# Never set SEPARATE_BUILD
CONFIGURE_STYLE = gnu
# Don't put ${PREFIX}/include in CPPFLAGS or system icu .h's are picked up
CONFIGURE_ENV += TL_MAKE=${GMAKE} \
CPPFLAGS=-I${LOCALBASE}/include/poppler
CPPFLAGS="-I${TRUEPREFIX}/include/poppler -I${X11BASE}/include"
WRKBUILD = ${WRKSRC}/Work # Can't build in same dir
CONFIGURE_SCRIPT = ../configure
@ -40,7 +44,7 @@ NO_REGRESS = Yes # not worth the effort.
USE_GMAKE = Yes
USE_LIBTOOL = Yes
USE_GROFF = Yes
USE_GROFF= Yes
.if ${MACHINE_ARCH} == "sparc64"
CFLAGS += -fPIC
@ -49,19 +53,17 @@ CFLAGS += -fPIC
# clisp limits which arches we can use xindy on
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
BUILD_DEPENDS += lang/clisp
LIB_DEPENDS += devel/libsigsegv \
devel/ffcall
WANTLIB += sigsegv avcall callback
CONFIGURE_ARGS += --enable-xindy
LIB_DEPENDS += devel/ffcall # XXX still needed? try build on fresh sys
CONFIGURE_ARGS += --enable-xindy \
--disable-xindy-rules
PKG_ARGS += -Dxindy=1
WANTLIB += readline
MODULES += devel/gettext
.else
PKG_ARGS += -Dxindy=0
.endif
# Do not link with system icu. TeXLive ICU is not vanilla (Yet)!
CONFIGURE_ARGS += --x-includes=${X11BASE}/include \
CONFIGURE_ARGS += --mandir=${PREFIX}/man \
--x-includes=${X11BASE}/include \
--x-libraries=${X11BASE}/lib \
--with-system-freetype2 \
--with-system-freetype \
@ -92,29 +94,30 @@ CONFIGURE_ARGS += --x-includes=${X11BASE}/include \
--enable-t1utils=no \
--disable-threads \
--with-old-mac-fonts \
--with-tex-banner=PuffTeX-2009 \
--disable-multiplatform \
--disable-native-texlive-build \
--with-system-xpdf # link poppler, yay :)
--with-banner-add="-OpenBSD_Ports" \
--with-system-xpdf # link poppler instead of internal xpdf
SUBST_VARS += TRUEPREFIX LOCALBASE
# clear upstreams .orig files, so update-patches is not confused
post-extract:
find ${WRKDIST} -name '*.orig' | xargs rm
post-patch:
${SUBST_CMD} ${WRKSRC}/utils/xindy/rte/ordrules/Makefile.in
# just to silence error - never used
pre-install:
mkdir ${WRKSRC}/inst
post-install:
${INSTALL_SCRIPT} ${FILESDIR}/tl-link-config ${PREFIX}/bin
${SUBST_CMD} ${PREFIX}/bin/tl-link-config
${INSTALL_DATA_DIR} ${PREFIX}/share/texmf/web2c
${INSTALL_DATA} -c ${FILESDIR}/fmtutil.cnf-minimal \
${PREFIX}/share/texmf/web2c
rm -Rf ${WRKSRC}/inst
# following tradition, texmf is in ${PREFIX}/share
mv ${PREFIX}/texmf ${PREFIX}/share/texmf
mv ${PREFIX}/texmf-dist ${PREFIX}/share/texmf-dist
# translate some sylinks from ../texmf* to ../share/texmf*
for link in `find ${PREFIX}/bin -type l`; do \
dest=`stat -f %Y $${link}`; \
if ! [ -z "`echo $${dest} | grep -e '^\.\.\/texmf'`" ]; then \
newdest=`echo $${dest} | sed -e 's/\.\.\/texmf/\.\.\/share\/texmf/g'`; \
ln -sf $${newdest} $${link}; \
fi \
done
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (texlive-20091107-source.tar.xz) = GPmStOY5R3D7gOQnGcDshA==
RMD160 (texlive-20091107-source.tar.xz) = 6spt6YRMWH58k8JwZOvjDcL2Ctg=
SHA1 (texlive-20091107-source.tar.xz) = PhEofxZZUgkYHcLgrnwjgJ4uc+4=
SHA256 (texlive-20091107-source.tar.xz) = roav3GpizAJcmMBU8pRN6RXGJ4dtPjmiXH9midT5aLI=
SIZE (texlive-20091107-source.tar.xz) = 29672256
MD5 (texlive-20100722-source.tar.xz) = FW+jTFasuQH9xoe42YYPHw==
RMD160 (texlive-20100722-source.tar.xz) = GFnViGyEZ2MGgSDLkAXQnBK1mwk=
SHA1 (texlive-20100722-source.tar.xz) = xVc8BhfxpEI1ISJ3lZ9I+3ZZBUI=
SHA256 (texlive-20100722-source.tar.xz) = 2BPRSCu4LgLlx0BgH0qfxEQRUTykIYl6l9X2iqIhJBc=
SIZE (texlive-20100722-source.tar.xz) = 33482988

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-configure,v 1.3 2010/09/14 20:29:56 edd Exp $
--- configure.orig Sat Oct 10 13:05:04 2009
+++ configure Fri Sep 10 13:42:00 2010
@@ -20460,7 +20460,7 @@ fi
$OpenBSD: patch-configure,v 1.4 2011/03/08 00:09:42 edd Exp $
--- configure.origy Tue Jul 20 15:04:38 2010
+++ configure Thu Sep 23 15:04:33 2010
@@ -18918,7 +18918,7 @@ fi
if test "x$with_libpng_includes" != x && test "x$with_libpng_includes" != xyes; then
LIBPNG_INCLUDES="-I$with_libpng_includes"
fi
@ -10,15 +10,15 @@ $OpenBSD: patch-configure,v 1.3 2010/09/14 20:29:56 edd Exp $
if test "x$with_libpng_libdir" != x && test "x$with_libpng_libdir" != xyes; then
LIBPNG_LIBS="-L$with_libpng_libdir $LIBPNG_LIBS"
fi
@@ -20683,9 +20683,9 @@ else
@@ -19139,9 +19139,10 @@ else
fi
if $PKG_CONFIG poppler --atleast-version=0.10; then
- POPPLER_VERSION='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"'
+ POPPLER_VERSION='-DPOPPLER_VERSION="'`$PKG_CONFIG poppler --modversion`'"'
XPDF_INCLUDES="$POPPLER_VERSION `$PKG_CONFIG poppler --cflags`"
- XPDF_LIBS=`$PKG_CONFIG poppler --libs`
+ XPDF_LIBS=`$PKG_CONFIG poppler --libs` -pthread
elif test "x$need_xpdf:$with_system_xpdf" = 'xyes:yes'; then
{ { $as_echo "$as_me:$LINENO: error: did not find poppler-0.10 or better" >&5
$as_echo "$as_me: error: did not find poppler-0.10 or better" >&2;}
XPDF_LIBS=`$PKG_CONFIG poppler --libs`
+ XPDF_LIBS="$XPDF_LIBS -pthread"
elif test "x$need_xpdf:$with_system_xpdf" = xyes:yes; then
as_fn_error "did not find poppler-0.10 or better" "$LINENO" 5
fi

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-texk_web2c_Makefile_in,v 1.3 2009/12/12 17:48:34 edd Exp $
--- texk/web2c/Makefile.in.orig Sun Jul 5 19:11:04 2009
+++ texk/web2c/Makefile.in Sun Jul 5 19:16:53 2009
@@ -953,7 +953,7 @@ WARNING_CXXFLAGS = @WARNING_CXXFLAGS@
$OpenBSD: patch-texk_web2c_Makefile_in,v 1.4 2011/03/08 00:09:42 edd Exp $
--- texk/web2c/Makefile.in.origy Tue Jul 6 10:17:20 2010
+++ texk/web2c/Makefile.in Thu Sep 23 16:53:27 2010
@@ -1080,7 +1080,7 @@ WARNING_OBJCXXFLAGS = @WARNING_OBJCXXFLAGS@
WEB2CVERSION = @WEB2CVERSION@
XMKMF = @XMKMF@
XPDF_DEPEND = @XPDF_DEPEND@
@ -10,30 +10,3 @@ $OpenBSD: patch-texk_web2c_Makefile_in,v 1.3 2009/12/12 17:48:34 edd Exp $
XPDF_LIBS = @XPDF_LIBS@
X_CFLAGS = @X_CFLAGS@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
@@ -6850,7 +6850,7 @@ xetex-synctex-xe.obj: synctex-xe.c
@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
libluatex_a-pdftoepdf.o: luatexdir/image/pdftoepdf.cc
-@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libluatex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libluatex_a-pdftoepdf.o -MD -MP -MF $(DEPDIR)/libluatex_a-pdftoepdf.Tpo -c -o libluatex_a-pdftoepdf.o `test -f 'luatexdir/image/pdftoepdf.cc' || echo '$(srcdir)/'`luatexdir/image/pdftoepdf.cc
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(FONTCONFIG_INCLUDES) $(INCLUDES) $(libluatex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libluatex_a-pdftoepdf.o -MD -MP -MF $(DEPDIR)/libluatex_a-pdftoepdf.Tpo -c -o libluatex_a-pdftoepdf.o `test -f 'luatexdir/image/pdftoepdf.cc' || echo '$(srcdir)/'`luatexdir/image/pdftoepdf.cc
@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libluatex_a-pdftoepdf.Tpo $(DEPDIR)/libluatex_a-pdftoepdf.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='luatexdir/image/pdftoepdf.cc' object='libluatex_a-pdftoepdf.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@@ -6864,7 +6864,7 @@ libluatex_a-pdftoepdf.obj: luatexdir/image/pdftoepdf.c
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libluatex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libluatex_a-pdftoepdf.obj `if test -f 'luatexdir/image/pdftoepdf.cc'; then $(CYGPATH_W) 'luatexdir/image/pdftoepdf.cc'; else $(CYGPATH_W) '$(srcdir)/luatexdir/image/pdftoepdf.cc'; fi`
libpdftex_a-pdftoepdf.o: pdftexdir/pdftoepdf.cc
-@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpdftex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libpdftex_a-pdftoepdf.o -MD -MP -MF $(DEPDIR)/libpdftex_a-pdftoepdf.Tpo -c -o libpdftex_a-pdftoepdf.o `test -f 'pdftexdir/pdftoepdf.cc' || echo '$(srcdir)/'`pdftexdir/pdftoepdf.cc
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(FONTCONFIG_INCLUDES) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpdftex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libpdftex_a-pdftoepdf.o -MD -MP -MF $(DEPDIR)/libpdftex_a-pdftoepdf.Tpo -c -o libpdftex_a-pdftoepdf.o `test -f 'pdftexdir/pdftoepdf.cc' || echo '$(srcdir)/'`pdftexdir/pdftoepdf.cc
@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libpdftex_a-pdftoepdf.Tpo $(DEPDIR)/libpdftex_a-pdftoepdf.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pdftexdir/pdftoepdf.cc' object='libpdftex_a-pdftoepdf.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@@ -7088,7 +7088,7 @@ pdftex-dummy.obj: dummy.cxx
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pdftex_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o pdftex-dummy.obj `if test -f 'dummy.cxx'; then $(CYGPATH_W) 'dummy.cxx'; else $(CYGPATH_W) '$(srcdir)/dummy.cxx'; fi`
pdftosrc-pdftosrc.o: pdftexdir/pdftosrc.cc
-@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(pdftosrc_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT pdftosrc-pdftosrc.o -MD -MP -MF $(DEPDIR)/pdftosrc-pdftosrc.Tpo -c -o pdftosrc-pdftosrc.o `test -f 'pdftexdir/pdftosrc.cc' || echo '$(srcdir)/'`pdftexdir/pdftosrc.cc
+@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(FONTCONFIG_INCLUDES) $(DEFAULT_INCLUDES) $(INCLUDES) $(pdftosrc_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT pdftosrc-pdftosrc.o -MD -MP -MF $(DEPDIR)/pdftosrc-pdftosrc.Tpo -c -o pdftosrc-pdftosrc.o `test -f 'pdftexdir/pdftosrc.cc' || echo '$(srcdir)/'`pdftexdir/pdftosrc.cc
@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/pdftosrc-pdftosrc.Tpo $(DEPDIR)/pdftosrc-pdftosrc.Po
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='pdftexdir/pdftosrc.cc' object='pdftosrc-pdftosrc.o' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@

View File

@ -1,22 +1,14 @@
$OpenBSD: patch-texk_web2c_luatexdir_image_pdftoepdf_cc,v 1.1 2009/12/12 17:48:34 edd Exp $
--- texk/web2c/luatexdir/image/pdftoepdf.cc.orig Thu Jun 25 15:05:10 2009
+++ texk/web2c/luatexdir/image/pdftoepdf.cc Tue Oct 13 17:43:02 2009
@@ -666,7 +666,7 @@ static void writeEncodings()
}
for (r = encodingList; r != NULL; r = n) {
n = r->next;
- delete r->font;
+ r->font->decRefCnt();
delete r;
}
}
@@ -720,7 +720,8 @@ read_pdf_info(image_dict * idict, integer minor_pdf_ve
// this works only for PDF 1.x -- but since any versions of PDF newer
// than 1.x will not be backwards compatible to PDF 1.x, pdfTeX will
// then have to changed drastically anyway.
- pdf_version_found = pdf_doc->doc->getPDFVersion();
+ pdf_version_found = pdf_doc->doc->getPDFMajorVersion() +
+ 0.1 * pdf_doc->doc->getPDFMinorVersion();
pdf_version_wanted = 1 + (minor_pdf_version_wanted * 0.1);
if (pdf_version_found > pdf_version_wanted + 0.01) {
char msg[] =
$OpenBSD: patch-texk_web2c_luatexdir_image_pdftoepdf_cc,v 1.2 2011/03/08 00:09:42 edd Exp $
--- texk/web2c/luatexdir/image/pdftoepdf.cc.origy Fri Sep 24 11:15:56 2010
+++ texk/web2c/luatexdir/image/pdftoepdf.cc Fri Sep 24 11:17:01 2010
@@ -34,6 +34,10 @@ static const char _svn_version[] =
#define pdfkeyprefix "PTEX"
+#ifdef __OpenBSD__
+#define HAVE_GETPDFMAJORVERSION
+#endif
+
static GBool isInit = gFalse;
//**********************************************************************

View File

@ -1,22 +1,14 @@
$OpenBSD: patch-texk_web2c_pdftexdir_pdftoepdf_cc,v 1.1 2009/12/12 17:48:34 edd Exp $
--- texk/web2c/pdftexdir/pdftoepdf.cc.orig Wed May 6 10:19:56 2009
+++ texk/web2c/pdftexdir/pdftoepdf.cc Tue Oct 13 17:23:48 2009
@@ -650,7 +650,7 @@ static void writeEncodings()
}
for (r = encodingList; r != 0; r = n) {
n = r->next;
- delete r->font;
+ r->font->decRefCnt();
delete r;
}
}
@@ -705,7 +705,8 @@ read_pdf_info(char *image_name, char *page_name, integ
// this works only for PDF 1.x -- but since any versions of PDF newer
// than 1.x will not be backwards compatible to PDF 1.x, pdfTeX will
// then have to changed drastically anyway.
- pdf_version_found = pdf_doc->doc->getPDFVersion();
+ pdf_version_found = pdf_doc->doc->getPDFMajorVersion() +
+ 0.1 * pdf_doc->doc->getPDFMinorVersion();
pdf_version_wanted = 1 + (minor_pdf_version_wanted * 0.1);
if (pdf_version_found > pdf_version_wanted) {
char msg[] =
$OpenBSD: patch-texk_web2c_pdftexdir_pdftoepdf_cc,v 1.2 2011/03/08 00:09:42 edd Exp $
--- texk/web2c/pdftexdir/pdftoepdf.cc.origy Fri Sep 24 11:10:16 2010
+++ texk/web2c/pdftexdir/pdftoepdf.cc Fri Sep 24 11:14:51 2010
@@ -61,6 +61,10 @@ Franklin Street, Fifth Floor, Boston, MA 02110-1301 US
#undef boolean
+#ifdef __OpenBSD__
+#define HAVE_GETPDFMAJORVERSION
+#endif
+
// This file is mostly C and not very much C++; it's just used to interface
// the functions of xpdf, which happens to be written in C++.

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-texk_web2c_ptexdir_ptex-base_ch,v 1.1 2011/03/08 00:09:42 edd Exp $
Patch from upstream to workaround a seg fault when making format.
--- texk/web2c/ptexdir/ptex-base.ch.origy Sun Oct 31 20:28:16 2010
+++ texk/web2c/ptexdir/ptex-base.ch Sun Oct 31 20:28:56 2010
@@ -6719,7 +6719,7 @@ begin@/
jc:=toDVI(kcode);
sp:=1; { start position }
ep:=font_num_ext[f]-1; { end position }
-if (kchar_code(f)(sp)<=jc)and(jc<=kchar_code(f)(ep)) then
+if (ep>=1)and(kchar_code(f)(sp)<=jc)and(jc<=kchar_code(f)(ep)) then
begin while (sp <= ep) do
begin mp:=sp+((ep-sp) div 2);
if jc<kchar_code(f)(mp) then ep:=mp-1

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-utils_xindy_rte_Makefile_in,v 1.1 2010/01/07 10:57:17 edd Exp $
A fix for the newer versions of clisp where clisp-link invocation no longer
uses add-module-set.
--- utils/xindy/rte/Makefile.in.orig Wed Aug 5 12:36:50 2009
+++ utils/xindy/rte/Makefile.in Sat Jan 2 14:49:00 2010
@@ -548,7 +548,6 @@ $(binariesdir)/$(XINDY_RUN):
test -f ordrules/link.sh || for i in $(ORDRULES_FILES); do cp -p $(top_srcdir)/rte/ordrules/$$i ordrules/$$i; done
$(MAKE) -C ordrules ordrulei.c
env CLISP_LINKKIT='$(CLISP_LIB)/linkkit' MAKE="$(MAKE)" \
- sh '$(CLISP_LIB)/clisp-link' add-module-set ordrules '$(CLISP_LIB)/full' xindy-build-dir || \
sh '$(CLISP_LIB)/clisp-link' add '$(CLISP_LIB)/full' xindy-build-dir ordrules
$(INSTALL_STRIP_PROGRAM) xindy-build-dir/$(LISP_RUN) $(binariesdir)/$(XINDY_RUN)

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-utils_xindy_rte_ordrules_Makefile_in,v 1.1 2009/12/12 17:48:34 edd Exp $
--- utils/xindy/rte/ordrules/Makefile.in.orig Fri Jul 3 20:26:15 2009
+++ utils/xindy/rte/ordrules/Makefile.in Sat Jul 4 18:46:06 2009
@@ -343,11 +343,15 @@ uninstall-am:
ordrulei.c: $(srcdir)/ordrulei.lsp
$(CLISP) -q -norc -c $(srcdir)/ordrulei.lsp -o ordrulei.fas
+# OpenBSD
+# Do not add $(LOCALBASE)/include to global CPPFLAGS or
+# the vanilla ICU will be picked up. TL uses a modified
+# version of ICU.
ordrulei.o: ordrulei.c
- $(CC) $(CFLAGS) $(CPPFLAGS) -I$(INCLUDES) -c ordrulei.c
+ $(CC) $(CFLAGS) $(CPPFLAGS) -I$(INCLUDES) -I${PREFIX}/include -c ordrulei.c
ordrules.o: ordrules.c ordrules.h rxsub.h debug.h mkind.h
- $(CC) $(CFLAGS) $(CPPFLAGS) -I$(INCLUDES) -funsigned-char -I. -c ordrules.c
+ $(CC) $(CFLAGS) $(CPPFLAGS) -I$(INCLUDES) -funsigned-char -I. -I${PREFIX}/include -c ordrules.c
rxsub.o: rxsub.c rxsub.h mkind.h
$(CC) $(CFLAGS) $(CPPFLAGS) -I. -c rxsub.c

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-utils_xindy_user-commands_xindy_in,v 1.1 2010/01/10 16:43:36 edd Exp $
Fix path for xindy modules dir on OpenBSD
--- utils/xindy/user-commands/xindy.in.orig Sun Jan 10 14:37:33 2010
+++ utils/xindy/user-commands/xindy.in Sun Jan 10 14:37:57 2010
@@ -334,8 +334,8 @@ BEGIN {
$modules_dir = "$lib_dir/modules";
} elsif ( -d "$lib_dir/../../texmf/xindy" ) { # texlive multiplatform style
$modules_dir = "$lib_dir/../../texmf/xindy";
- } elsif ( -d "$lib_dir/../texmf/xindy" ) { # texlive non-multiplatform style
- $modules_dir = "$lib_dir/../texmf/xindy";
+ } elsif ( -d "$lib_dir/../share/texmf/xindy" ) { # texlive non-multiplatform style
+ $modules_dir = "$lib_dir/../share/texmf/xindy";
} elsif ( -d "/usr/share/xindy" ) { # FSH style
$modules_dir = "/usr/share/xindy";
} else {

View File

@ -1,2 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.2 2009/12/12 17:48:34 edd Exp $
@comment $OpenBSD: PFRAG.shared,v 1.3 2011/03/08 00:09:42 edd Exp $
@lib lib/libkpathsea.so.${LIBkpathsea_VERSION}
@lib lib/libptexenc.so.${LIBptexenc_VERSION}

View File

@ -1,8 +1,11 @@
@comment $OpenBSD: PFRAG.xindy,v 1.1 2009/12/12 17:48:34 edd Exp $
@comment $OpenBSD: PFRAG.xindy,v 1.2 2011/03/08 00:09:42 edd Exp $
@bin bin/tex2xindy
bin/texindy
bin/xindy
bin/xindy.mem
@bin bin/xindy.run
texmf/scripts/xindy/texindy.pl
texmf/scripts/xindy/xindy.pl
@man man/man1/tex2xindy.1
@man man/man1/texindy.1
@man man/man1/xindy.1
share/texmf/scripts/xindy/
share/texmf/scripts/xindy/texindy.pl
share/texmf/scripts/xindy/xindy.pl

View File

@ -1,14 +1,11 @@
@comment $OpenBSD: PLIST,v 1.15 2010/11/14 16:58:39 edd Exp $
@comment $OpenBSD: PLIST,v 1.16 2011/03/08 00:09:42 edd Exp $
@conflict teTeX_base-*
@conflict ht-<2
@pkgpath print/teTeX/base
@pkgpath print/teTeX/base,-fmt
@comment mptopdf must be before texlinks -u
bin/mptopdf
@unexec texlinks -u
%%SHARED%%
%%xindy%%
share/texmf/web2c/fmtutil.cnf-minimal
bin/texlinks
bin/a2ping
bin/afm2afm
@bin bin/afm2pl
@ -17,14 +14,19 @@ bin/afm2afm
bin/allcm
bin/allec
bin/allneeded
bin/arlatex
bin/authorindex
bin/autoinst
bin/bg5+latex
bin/bg5+pdflatex
@bin bin/bg5conv
bin/bg5latex
bin/bg5pdflatex
bin/bibexport
@bin bin/bibtex
@bin bin/bibtex8
@bin bin/bibtexu
bin/bundledoc
bin/cachepic
@bin bin/cef5conv
bin/cef5latex
@ -36,13 +38,17 @@ bin/cefpdflatex
bin/cefslatex
bin/cefspdflatex
@bin bin/cfftot1
@bin bin/chktex
bin/chkweb
bin/cmap2enc
bin/context
@bin bin/ctangle
@bin bin/ctie
bin/ctxtools
@bin bin/cweave
bin/de-macro
@bin bin/devnag
bin/deweb
@bin bin/dt2dv
@bin bin/dv2dt
bin/dvi2fax
@ -66,6 +72,7 @@ bin/dvipdft
@bin bin/dvips
bin/dvired
@bin bin/dviselect
@bin bin/dvisvgm
@bin bin/dvitodvi
bin/dvitomp
@bin bin/dvitype
@ -86,8 +93,6 @@ bin/fontinst
bin/fragmaster
bin/gbklatex
bin/gbkpdflatex
bin/getnonfreefonts
bin/getnonfreefonts-sys
@bin bin/gftodvi
@bin bin/gftopk
@bin bin/gftype
@ -111,16 +116,19 @@ bin/kpsewhere
bin/kpsexpand
@bin bin/lacheck
bin/latex2man
bin/latexmk
bin/latexdiff
bin/latexdiff-vc
@comment bin/latexmk
bin/latexrevise
bin/listings-ext.sh
@bin bin/luatangle
@bin bin/luatex
bin/luatools
@bin bin/mag
bin/makeglossaries
@bin bin/makeindex
bin/makempy
bin/man
@bin bin/makejvf
bin/mathspic
@bin bin/mendex
@bin bin/mf
@bin bin/mf-nowin
@bin bin/mft
@ -128,6 +136,7 @@ bin/mk4ht
bin/mkgrkindex
bin/mkindex
bin/mkjobtexmf
bin/mkluatexfontdb
bin/mkocp
bin/mkofm
bin/mkt1font
@ -139,9 +148,9 @@ bin/mktextfm
@bin bin/mmafm
@bin bin/mmpfb
@bin bin/mpost
bin/mpstools
%%SHARED%%
%%xindy%%
bin/mtxrun
bin/mtxtools
@bin bin/musixflx
@bin bin/odvicopy
@bin bin/odvitype
@ -157,15 +166,28 @@ bin/ot2kpx
bin/ovf2ovp
bin/ovp2ovf
@bin bin/patgen
@bin bin/pbibtex
@comment bin/pdf180
@comment bin/pdf270
@comment bin/pdf90
bin/pdfannotextractor
bin/pdfatfi
@comment bin/pdfbook
@bin bin/pdfclose
bin/pdfcrop
@comment bin/pdfflip
@comment bin/pdfjam
@comment bin/pdfjam-pocketmod
@comment bin/pdfjam-slides3up
@comment bin/pdfjam-slides6up
@comment bin/pdfjoin
@comment bin/pdfnup
@bin bin/pdfopen
@comment bin/pdfpun
@bin bin/pdftex
bin/pdfthumb
bin/pdftools
@bin bin/pdftosrc
@bin bin/pdvitype
bin/perltex
@bin bin/pfb2pfa
bin/pfm2kpx
@ -176,6 +198,7 @@ bin/pkfix-helper
@bin bin/pktype
@bin bin/pltotf
@bin bin/pooltype
@bin bin/ppltotf
bin/ppower4
bin/ps2frag
@bin bin/ps2pk
@ -183,6 +206,8 @@ bin/ps4pdf
bin/pslatex
bin/pst2pdf
bin/pstopdf
@bin bin/ptex
@bin bin/ptftopl
bin/purifyeps
bin/repstopdf
bin/rlxtools
@ -190,7 +215,6 @@ bin/rpdfcrop
bin/rubibtex
bin/rumakeindex
bin/rungs
bin/runtools
bin/showglyphs
bin/simpdftex
@bin bin/sjisconv
@ -219,20 +243,18 @@ bin/texdirflatten
bin/texdoc
bin/texdoctk
bin/texexec
bin/texfont
bin/texhash
bin/texlinks
bin/texloganalyser
bin/texlua
bin/texluac
bin/texmfstart
bin/textools
bin/texutil
@bin bin/tftopl
bin/thumbpdf
@bin bin/tie
bin/tl-link-config
@comment bin/tl-link-config
@comment bin/tl-link-config.beforesubst
@comment bin/tlmgr
bin/tmftools
bin/tpic2pdftex
@bin bin/ttf2afm
@bin bin/ttf2pk
@ -253,7 +275,6 @@ bin/xdvi
@bin bin/xdvi-xaw
@bin bin/xdvipdfmx
@bin bin/xetex
bin/xmltools
include/kpathsea/
include/kpathsea/absolute.h
include/kpathsea/c-auto.h
@ -305,14 +326,19 @@ include/kpathsea/truncate.h
include/kpathsea/types.h
include/kpathsea/variable.h
include/kpathsea/version.h
include/kpathsea/win32lib.h
include/kpathsea/xopendir.h
include/kpathsea/xstat.h
include/ptexenc/
include/ptexenc/ptexenc.h
@info info/dvipng.info
@info info/dvips.info
@info info/kpathsea.info
@info info/web2c.info
lib/libkpathsea.a
lib/libkpathsea.la
lib/libptexenc.a
lib/libptexenc.la
@man man/man1/afm2pl.1
@man man/man1/afm2tfm.1
@man man/man1/aleph.1
@ -322,11 +348,14 @@ lib/libkpathsea.la
@man man/man1/amstex.1
@man man/man1/bibtex.1
@man man/man1/cfftot1.1
@man man/man1/chktex.1
@man man/man1/chkweb.1
@man man/man1/ctangle.1
@man man/man1/ctie.1
@man man/man1/ctxtools.1
@man man/man1/cweave.1
@man man/man1/cweb.1
@man man/man1/deweb.1
@man man/man1/dt2dv.1
@man man/man1/dv2dt.1
@man man/man1/dvi2fax.1
@ -346,6 +375,7 @@ lib/libkpathsea.la
@man man/man1/dvips.1
@man man/man1/dvired.1
@man man/man1/dviselect.1
@man man/man1/dvisvgm.1
@man man/man1/dvitodvi.1
@man man/man1/dvitomp.1
@man man/man1/dvitype.1
@ -354,8 +384,6 @@ lib/libkpathsea.la
@man man/man1/fmtutil-sys.1
@man man/man1/fmtutil.1
@man man/man1/fontinst.1
@man man/man1/getnonfreefonts-sys.1
@man man/man1/getnonfreefonts.1
@man man/man1/gftodvi.1
@man man/man1/gftopk.1
@man man/man1/gftype.1
@ -370,12 +398,12 @@ lib/libkpathsea.la
@man man/man1/kpsewhich.1
@man man/man1/kpsexpand.1
@man man/man1/lacheck.1
@man man/man1/lambda.1
@man man/man1/lamed.1
@man man/man1/latex.1
@man man/man1/luatex.1
@man man/man1/mag.1
@man man/man1/makeindex.1
@man man/man1/makempy.1
@man man/man1/mendex.1
@man man/man1/mf-nowin.1
@man man/man1/mf.1
@man man/man1/mft.1
@ -396,6 +424,7 @@ lib/libkpathsea.la
@man man/man1/odvitype.1
@man man/man1/ofm2opl.1
@man man/man1/opl2ofm.1
@man man/man1/otangle.1
@man man/man1/otfinfo.1
@man man/man1/otftotfm.1
@man man/man1/otp2ocp.1
@ -406,7 +435,6 @@ lib/libkpathsea.la
@man man/man1/pdfetex.1
@man man/man1/pdflatex.1
@man man/man1/pdftex.1
@man man/man1/pdftools.1
@man man/man1/pdftosrc.1
@man man/man1/pfb2pfa.1
@man man/man1/pk2bm.1
@ -429,17 +457,15 @@ lib/libkpathsea.la
@man man/man1/tangle.1
@man man/man1/tcdialog.1
@man man/man1/tex.1
@comment @man man/man1/tex2xindy.1
@man man/man1/texconfig-sys.1
@man man/man1/texconfig.1
@man man/man1/texdoctk.1
@man man/man1/texexec.1
@man man/man1/texfind.1
@man man/man1/texfont.1
@man man/man1/texhash.1
@comment @man man/man1/texindy.1
@man man/man1/texlinks.1
@man man/man1/texmfstart.1
@man man/man1/textools.1
@man man/man1/texutil.1
@man man/man1/tftopl.1
@man man/man1/thumbpdf.1
@man man/man1/tie.1
@ -456,283 +482,285 @@ lib/libkpathsea.la
@man man/man1/vptovf.1
@man man/man1/weave.1
@man man/man1/xdvi.1
@comment @man man/man1/xindy.1
@man man/man5/fmtutil.cnf.5
@man man/man5/synctex.5
@man man/man5/updmap.cfg.5
share/doc/pkg-readmes/${FULLPKGNAME}
share/lcdf-typetools/
share/texmf/
share/texmf/web2c/
texmf/
@comment texmf-dist/
@comment texmf-dist/bibtex/
@comment texmf-dist/bibtex/csf/
@comment texmf-dist/bibtex/csf/base/
@comment texmf-dist/bibtex/csf/base/88591lat.csf
@comment texmf-dist/bibtex/csf/base/88591sca.csf
@comment texmf-dist/bibtex/csf/base/ascii.csf
@comment texmf-dist/bibtex/csf/base/cp437lat.csf
@comment texmf-dist/bibtex/csf/base/cp850lat.csf
@comment texmf-dist/bibtex/csf/base/cp850sca.csf
@comment texmf-dist/bibtex/csf/base/cp866rus.csf
@comment texmf-dist/bibtex/csf/base/csfile.txt
@comment texmf-dist/fonts/
@comment texmf-dist/fonts/enc/
@comment texmf-dist/fonts/enc/dvips/
@comment texmf-dist/fonts/enc/dvips/base/
@comment texmf-dist/fonts/enc/dvips/base/7t.enc
@comment texmf-dist/fonts/map/
@comment texmf-dist/fonts/map/glyphlist/
@comment texmf-dist/fonts/map/glyphlist/glyphlist.txt
@comment texmf-dist/fonts/map/glyphlist/pdfglyphlist.txt
@comment texmf-dist/fonts/map/glyphlist/texglyphlist.txt
texmf-dist/scripts/
texmf-dist/scripts/accfonts/
texmf-dist/scripts/accfonts/mkt1font
texmf-dist/scripts/accfonts/vpl2ovp
texmf-dist/scripts/accfonts/vpl2vpl
texmf-dist/scripts/bengali/
texmf-dist/scripts/bengali/ebong.py
texmf-dist/scripts/cachepic/
texmf-dist/scripts/cachepic/cachepic.tlu
texmf-dist/scripts/context/
texmf-dist/scripts/context/lua/
texmf-dist/scripts/context/lua/luatools.lua
texmf-dist/scripts/context/lua/mtxrun.lua
texmf-dist/scripts/context/ruby/
texmf-dist/scripts/context/ruby/texmfstart.rb
texmf-dist/scripts/context/stubs/
texmf-dist/scripts/context/stubs/unix/
texmf-dist/scripts/context/stubs/unix/context
texmf-dist/scripts/context/stubs/unix/ctxtools
texmf-dist/scripts/context/stubs/unix/makempy
texmf-dist/scripts/context/stubs/unix/mpstools
texmf-dist/scripts/context/stubs/unix/mptopdf
texmf-dist/scripts/context/stubs/unix/mtxtools
texmf-dist/scripts/context/stubs/unix/pdftools
texmf-dist/scripts/context/stubs/unix/pstopdf
texmf-dist/scripts/context/stubs/unix/rlxtools
texmf-dist/scripts/context/stubs/unix/runtools
texmf-dist/scripts/context/stubs/unix/texexec
texmf-dist/scripts/context/stubs/unix/texfont
texmf-dist/scripts/context/stubs/unix/textools
texmf-dist/scripts/context/stubs/unix/texutil
texmf-dist/scripts/context/stubs/unix/tmftools
texmf-dist/scripts/context/stubs/unix/xmltools
texmf-dist/scripts/dviasm/
texmf-dist/scripts/dviasm/dviasm.py
texmf-dist/scripts/epspdf/
texmf-dist/scripts/epspdf/epspdf
texmf-dist/scripts/epspdf/epspdftk
texmf-dist/scripts/epstopdf/
texmf-dist/scripts/epstopdf/epstopdf.pl
texmf-dist/scripts/fig4latex/
texmf-dist/scripts/fig4latex/fig4latex
texmf-dist/scripts/findhyph/
texmf-dist/scripts/findhyph/findhyph
texmf-dist/scripts/fontools/
texmf-dist/scripts/fontools/afm2afm
texmf-dist/scripts/fontools/autoinst
texmf-dist/scripts/fontools/cmap2enc
texmf-dist/scripts/fontools/font2afm
texmf-dist/scripts/fontools/ot2kpx
texmf-dist/scripts/fontools/pfm2kpx
texmf-dist/scripts/fontools/showglyphs
texmf-dist/scripts/fragmaster/
texmf-dist/scripts/fragmaster/fragmaster.pl
texmf-dist/scripts/glossaries/
texmf-dist/scripts/glossaries/makeglossaries
texmf-dist/scripts/latex2man/
texmf-dist/scripts/latex2man/latex2man
texmf-dist/scripts/latexmk/
texmf-dist/scripts/latexmk/latexmk.pl
texmf-dist/scripts/listings-ext/
texmf-dist/scripts/listings-ext/listings-ext.sh
texmf-dist/scripts/mkgrkindex/
texmf-dist/scripts/mkgrkindex/mkgrkindex
texmf-dist/scripts/mkjobtexmf/
texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl
texmf-dist/scripts/oberdiek/
texmf-dist/scripts/oberdiek/pdfatfi.pl
texmf-dist/scripts/pax/
texmf-dist/scripts/pax/pdfannotextractor.pl
texmf-dist/scripts/pdfcrop/
texmf-dist/scripts/pdfcrop/pdfcrop.pl
texmf-dist/scripts/perltex/
texmf-dist/scripts/perltex/perltex
texmf-dist/scripts/pkfix/
texmf-dist/scripts/pkfix-helper/
texmf-dist/scripts/pkfix-helper/pkfix-helper
texmf-dist/scripts/pkfix/pkfix.pl
texmf-dist/scripts/ppower4/
texmf-dist/scripts/ppower4/pdfthumb.tlu
texmf-dist/scripts/ppower4/ppower4.tlu
texmf-dist/scripts/pst-pdf/
texmf-dist/scripts/pst-pdf/ps4pdf
texmf-dist/scripts/pst2pdf/
texmf-dist/scripts/pst2pdf/pst2pdf.pl
texmf-dist/scripts/purifyeps/
texmf-dist/scripts/purifyeps/purifyeps
texmf-dist/scripts/splitindex/
texmf-dist/scripts/splitindex/perl/
texmf-dist/scripts/splitindex/perl/splitindex.pl
texmf-dist/scripts/svn-multi/
texmf-dist/scripts/svn-multi/svn-multi.pl
texmf-dist/scripts/tex4ht/
texmf-dist/scripts/tex4ht/ht.sh
texmf-dist/scripts/tex4ht/htcontext.sh
texmf-dist/scripts/tex4ht/htlatex.sh
texmf-dist/scripts/tex4ht/htmex.sh
texmf-dist/scripts/tex4ht/httex.sh
texmf-dist/scripts/tex4ht/httexi.sh
texmf-dist/scripts/tex4ht/htxelatex.sh
texmf-dist/scripts/tex4ht/htxetex.sh
texmf-dist/scripts/tex4ht/mk4ht.pl
texmf-dist/scripts/texcount/
texmf-dist/scripts/texcount/texcount.pl
texmf-dist/scripts/texdiff/
texmf-dist/scripts/texdiff/texdiff
texmf-dist/scripts/texdirflatten/
texmf-dist/scripts/texdirflatten/texdirflatten
texmf-dist/scripts/texloganalyser/
texmf-dist/scripts/texloganalyser/texloganalyser
texmf-dist/scripts/thumbpdf/
texmf-dist/scripts/thumbpdf/thumbpdf.pl
texmf-dist/scripts/ulqda/
texmf-dist/scripts/ulqda/ulqda.pl
texmf-dist/scripts/vpe/
texmf-dist/scripts/vpe/vpe.pl
@comment texmf/doc/
@comment texmf/doc/bibtex8/
@comment texmf/doc/bibtex8/00readme.txt
@comment texmf/doc/bibtex8/HISTORY
@comment texmf/doc/bibtex8/csfile.txt
@comment texmf/doc/bibtex8/file_id.diz
@comment texmf/doc/man/
@comment texmf/doc/man/man1/
@comment @man texmf/doc/man/man1/tex2xindy.1
@comment @man texmf/doc/man/man1/texindy.1
@comment @man texmf/doc/man/man1/xindy.1
@comment texmf/doc/tetex/
@comment texmf/doc/tetex/TETEXDOC.dvi
@comment texmf/doc/tetex/TETEXDOC.pdf
@comment texmf/doc/tetex/TETEXDOC.ps
@comment texmf/doc/tetex/teTeX-FAQ
@comment texmf/doc/xindy/
@comment texmf/doc/xindy/NEWS
@comment texmf/doc/xindy/README.distrib-source
@comment texmf/dvipdfmx/
@comment texmf/dvipdfmx/dvipdfmx.cfg
@comment texmf/dvips/
@comment texmf/dvips/base/
@comment texmf/dvips/base/color.pro
@comment texmf/dvips/base/crop.pro
@comment texmf/dvips/base/finclude.pro
@comment texmf/dvips/base/hps.pro
@comment texmf/dvips/base/special.pro
@comment texmf/dvips/base/tex.pro
@comment texmf/dvips/base/texc.pro
@comment texmf/dvips/base/texps.pro
@comment texmf/dvips/gsftopk/
@comment texmf/dvips/gsftopk/render.ps
@comment texmf/fonts/
@comment texmf/fonts/cmap/
@comment texmf/fonts/cmap/dvipdfmx/
@comment texmf/fonts/cmap/dvipdfmx/EUC-UCS2
@comment texmf/fonts/map/
@comment texmf/fonts/map/dvipdfm/
@comment texmf/fonts/map/dvipdfm/dvipdfmx/
@comment texmf/fonts/map/dvipdfm/dvipdfmx/cid-x.map
texmf/scripts/
texmf/scripts/a2ping/
texmf/scripts/a2ping/a2ping.pl
texmf/scripts/getnonfreefonts/
texmf/scripts/getnonfreefonts/getnonfreefonts.pl
texmf/scripts/simpdftex/
texmf/scripts/simpdftex/simpdftex
texmf/scripts/tetex/
texmf/scripts/tetex/e2pall.pl
texmf/scripts/tetex/texdoctk.pl
texmf/scripts/texdoc/
texmf/scripts/texdoc/texdoc.tlu
texmf/scripts/texlive/
texmf/scripts/texlive/rungs.tlu
@comment texmf/scripts/texlive/tlmgr.pl
texmf/scripts/xindy/
@comment texmf/texconfig/
@comment texmf/texconfig/README
@comment texmf/texconfig/g/
@comment texmf/texconfig/g/generic
@comment texmf/texconfig/generic
@comment texmf/texconfig/tcfmgr
@comment texmf/texconfig/tcfmgr.map
@comment texmf/texconfig/v/
@comment texmf/texconfig/v/vt100
@comment texmf/texconfig/x/
@comment texmf/texconfig/x/xterm
@comment texmf/web2c/
@comment texmf/web2c/fmtutil.cnf
@comment texmf/web2c/mktex.opt
@comment texmf/web2c/mktexdir
@comment texmf/web2c/mktexdir.opt
@comment texmf/web2c/mktexnam
@comment texmf/web2c/mktexnam.opt
@comment texmf/web2c/mktexupd
@comment texmf/web2c/texmf.cnf
@comment texmf/xdvi/
@comment texmf/xdvi/XDvi
@comment texmf/xdvi/pixmap/
@comment texmf/xdvi/pixmap/toolbar.xpm
@comment texmf/xdvi/pixmap/toolbar2.xpm
@comment texmf/xdvi/xdvi.cfg
@comment texmf/xindy/
@comment texmf/xindy/base/
@comment texmf/xindy/base/book-order.xdy
@comment texmf/xindy/base/ff-ranges-only.xdy
@comment texmf/xindy/base/ff-ranges.xdy
@comment texmf/xindy/base/german-sty.xdy
@comment texmf/xindy/base/ignore-hyphen.xdy
@comment texmf/xindy/base/ignore-punctuation.xdy
@comment texmf/xindy/base/keep-blanks.xdy
@comment texmf/xindy/base/latex-loc-fmts.xdy
@comment texmf/xindy/base/latex.xdy
@comment texmf/xindy/base/latin-lettergroups.xdy
@comment texmf/xindy/base/letter-order.xdy
@comment texmf/xindy/base/makeindex.xdy
@comment texmf/xindy/base/numeric-sort.xdy
@comment texmf/xindy/base/page-ranges.xdy
@comment texmf/xindy/base/tex.xdy
@comment texmf/xindy/base/texindy.xdy
@comment texmf/xindy/base/word-order.xdy
@comment texmf/xindy/class/
@comment texmf/xindy/class/pagenums.xdy
@comment texmf/xindy/lang/
@comment texmf/xindy/lang/german/
@comment texmf/xindy/lang/german/din5007.xdy
@comment texmf/xindy/lang/german/duden.xdy
@comment texmf/xindy/lang/german/tex.xdy
@comment texmf/xindy/lang/latin/
@comment texmf/xindy/lang/latin/caseisrt.xdy
@comment texmf/xindy/lang/latin/letgroup.xdy
@comment texmf/xindy/ord/
@comment texmf/xindy/ord/letorder.xdy
@comment texmf/xindy/rules/
@comment texmf/xindy/rules/isolatin1-exchange.xdy
@comment texmf/xindy/rules/isolatin1-tolower.xdy
@comment texmf/xindy/rules/latin-exchange.xdy
@comment texmf/xindy/rules/latin-tolower.xdy
@comment texmf/xindy/styles/
@comment texmf/xindy/styles/basic.xdy
@comment texmf/xindy/styles/makeidx.xdy
@exec %D/bin/tl-link-config
share/lcdf-typetools-for-tex-live/
@exec mktexlsr > /dev/null 2>&1
@exec texlinks
@exec fmtutil-sys --all > /dev/null 2>&1
@exec updmap-sys --syncwithtrees > /dev/null 2>&1
@extraunexec rm -Rf %D/share/texmf-var/
@extraunexec rm -Rf %D/share/texmf-config/
@comment share/texmf-dist/bibtex/csf/base/88591lat.csf
@comment share/texmf-dist/bibtex/csf/base/88591sca.csf
@comment share/texmf-dist/bibtex/csf/base/ascii.csf
@comment share/texmf-dist/bibtex/csf/base/cp437lat.csf
@comment share/texmf-dist/bibtex/csf/base/cp850lat.csf
@comment share/texmf-dist/bibtex/csf/base/cp850sca.csf
@comment share/texmf-dist/bibtex/csf/base/cp866rus.csf
@comment share/texmf-dist/bibtex/csf/base/csfile.txt
@comment share/texmf-dist/fonts/enc/dvips/base/7t.enc
@comment share/texmf-dist/fonts/map/glyphlist/glyphlist.txt
@comment share/texmf-dist/fonts/map/glyphlist/pdfglyphlist.txt
@comment share/texmf-dist/fonts/map/glyphlist/texglyphlist.txt
share/texmf-dist/scripts/accfonts/mkt1font
share/texmf-dist/scripts/accfonts/vpl2ovp
share/texmf-dist/scripts/accfonts/vpl2vpl
share/texmf-dist/scripts/authorindex/
share/texmf-dist/scripts/authorindex/authorindex
share/texmf-dist/scripts/bengali/
share/texmf-dist/scripts/bengali/ebong.py
share/texmf-dist/scripts/bibexport/
share/texmf-dist/scripts/bibexport/bibexport.sh
share/texmf-dist/scripts/bundledoc/
share/texmf-dist/scripts/bundledoc/arlatex
share/texmf-dist/scripts/bundledoc/bundledoc
share/texmf-dist/scripts/cachepic/cachepic.tlu
share/texmf-dist/scripts/context/perl/mptopdf.pl
share/texmf-dist/scripts/de-macro/
share/texmf-dist/scripts/de-macro/de-macro
share/texmf-dist/scripts/dviasm/
share/texmf-dist/scripts/dviasm/dviasm.py
share/texmf-dist/scripts/epspdf/epspdf
share/texmf-dist/scripts/epspdf/epspdftk
share/texmf-dist/scripts/epstopdf/epstopdf.pl
share/texmf-dist/scripts/fig4latex/fig4latex
share/texmf-dist/scripts/findhyph/
share/texmf-dist/scripts/findhyph/findhyph
share/texmf-dist/scripts/fontools/
share/texmf-dist/scripts/fontools/afm2afm
share/texmf-dist/scripts/fontools/autoinst
share/texmf-dist/scripts/fontools/cmap2enc
share/texmf-dist/scripts/fontools/font2afm
share/texmf-dist/scripts/fontools/ot2kpx
share/texmf-dist/scripts/fontools/pfm2kpx
share/texmf-dist/scripts/fontools/showglyphs
share/texmf-dist/scripts/fragmaster/
share/texmf-dist/scripts/fragmaster/fragmaster.pl
share/texmf-dist/scripts/glossaries/
share/texmf-dist/scripts/glossaries/makeglossaries
share/texmf-dist/scripts/latex2man/
share/texmf-dist/scripts/latex2man/latex2man
share/texmf-dist/scripts/latexdiff/
share/texmf-dist/scripts/latexdiff/latexdiff-vc.pl
share/texmf-dist/scripts/latexdiff/latexdiff.pl
share/texmf-dist/scripts/latexdiff/latexrevise.pl
@comment share/texmf-dist/scripts/latexmk/
@comment share/texmf-dist/scripts/latexmk/latexmk.pl
share/texmf-dist/scripts/listings-ext/
share/texmf-dist/scripts/listings-ext/listings-ext.sh
share/texmf-dist/scripts/luaotfload/
share/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua
share/texmf-dist/scripts/mathspic/
share/texmf-dist/scripts/mathspic/mathspic.pl
share/texmf-dist/scripts/mkgrkindex/
share/texmf-dist/scripts/mkgrkindex/mkgrkindex
share/texmf-dist/scripts/mkjobtexmf/
share/texmf-dist/scripts/mkjobtexmf/mkjobtexmf.pl
share/texmf-dist/scripts/oberdiek/pdfatfi.pl
share/texmf-dist/scripts/pax/
share/texmf-dist/scripts/pax/pdfannotextractor.pl
share/texmf-dist/scripts/pdfcrop/
share/texmf-dist/scripts/pdfcrop/pdfcrop.pl
@comment share/texmf-dist/scripts/pdfjam/
@comment share/texmf-dist/scripts/pdfjam/pdf180
@comment share/texmf-dist/scripts/pdfjam/pdf270
@comment share/texmf-dist/scripts/pdfjam/pdf90
@comment share/texmf-dist/scripts/pdfjam/pdfbook
@comment share/texmf-dist/scripts/pdfjam/pdfflip
@comment share/texmf-dist/scripts/pdfjam/pdfjam
@comment share/texmf-dist/scripts/pdfjam/pdfjam-pocketmod
@comment share/texmf-dist/scripts/pdfjam/pdfjam-slides3up
@comment share/texmf-dist/scripts/pdfjam/pdfjam-slides6up
@comment share/texmf-dist/scripts/pdfjam/pdfjoin
@comment share/texmf-dist/scripts/pdfjam/pdfnup
@comment share/texmf-dist/scripts/pdfjam/pdfpun
share/texmf-dist/scripts/perltex/
share/texmf-dist/scripts/perltex/perltex.pl
share/texmf-dist/scripts/pkfix/
share/texmf-dist/scripts/pkfix-helper/
share/texmf-dist/scripts/pkfix-helper/pkfix-helper
share/texmf-dist/scripts/pkfix/pkfix.pl
share/texmf-dist/scripts/ppower4/
share/texmf-dist/scripts/ppower4/pdfthumb.tlu
share/texmf-dist/scripts/ppower4/ppower4.tlu
share/texmf-dist/scripts/pst-pdf/ps4pdf
share/texmf-dist/scripts/pst2pdf/
share/texmf-dist/scripts/pst2pdf/pst2pdf
share/texmf-dist/scripts/purifyeps/
share/texmf-dist/scripts/purifyeps/purifyeps
share/texmf-dist/scripts/splitindex/
share/texmf-dist/scripts/splitindex/perl/
share/texmf-dist/scripts/splitindex/perl/splitindex.pl
share/texmf-dist/scripts/svn-multi/
share/texmf-dist/scripts/svn-multi/svn-multi.pl
share/texmf-dist/scripts/tex4ht/
share/texmf-dist/scripts/tex4ht/ht.sh
share/texmf-dist/scripts/tex4ht/htcontext.sh
share/texmf-dist/scripts/tex4ht/htlatex.sh
share/texmf-dist/scripts/tex4ht/htmex.sh
share/texmf-dist/scripts/tex4ht/httex.sh
share/texmf-dist/scripts/tex4ht/httexi.sh
share/texmf-dist/scripts/tex4ht/htxelatex.sh
share/texmf-dist/scripts/tex4ht/htxetex.sh
share/texmf-dist/scripts/tex4ht/mk4ht.pl
share/texmf-dist/scripts/texcount/
share/texmf-dist/scripts/texcount/texcount.pl
share/texmf-dist/scripts/texdiff/
share/texmf-dist/scripts/texdiff/texdiff
share/texmf-dist/scripts/texdirflatten/
share/texmf-dist/scripts/texdirflatten/texdirflatten
share/texmf-dist/scripts/texloganalyser/
share/texmf-dist/scripts/texloganalyser/texloganalyser
share/texmf-dist/scripts/thumbpdf/thumbpdf.pl
share/texmf-dist/scripts/ulqda/
share/texmf-dist/scripts/ulqda/ulqda.pl
share/texmf-dist/scripts/vpe/
share/texmf-dist/scripts/vpe/vpe.pl
@comment share/texmf/chktex/
@comment share/texmf/chktex/chktexrc
@comment share/texmf/doc/bibtex8/
@comment share/texmf/doc/bibtex8/00readme.txt
@comment share/texmf/doc/bibtex8/HISTORY
@comment share/texmf/doc/bibtex8/csfile.txt
@comment share/texmf/doc/bibtex8/file_id.diz
@comment share/texmf/doc/bibtexu/
@comment share/texmf/doc/bibtexu/00readme.txt
@comment share/texmf/doc/bibtexu/HISTORY
@comment share/texmf/doc/bibtexu/csfile.txt
@comment share/texmf/doc/bibtexu/file_id.diz
@comment share/texmf/doc/chktex/
@comment share/texmf/doc/chktex/ChkTeX.pdf
@comment share/texmf/doc/tetex/
@comment share/texmf/doc/tetex/TETEXDOC.pdf
@comment share/texmf/doc/tetex/teTeX-FAQ
@comment share/texmf/doc/xindy/
@comment share/texmf/doc/xindy/README
@comment share/texmf/doc/xindy/dataflow.gif
@comment share/texmf/doc/xindy/faq-1.html
@comment share/texmf/doc/xindy/faq-2.html
@comment share/texmf/doc/xindy/faq-3.html
@comment share/texmf/doc/xindy/faq-4.html
@comment share/texmf/doc/xindy/faq.html
@comment share/texmf/doc/xindy/index.gif
@comment share/texmf/doc/xindy/makeindex4.pdf
@comment share/texmf/doc/xindy/manual-1.html
@comment share/texmf/doc/xindy/manual-2.html
@comment share/texmf/doc/xindy/manual-3.html
@comment share/texmf/doc/xindy/manual-4.html
@comment share/texmf/doc/xindy/manual-5.html
@comment share/texmf/doc/xindy/manual-6.html
@comment share/texmf/doc/xindy/manual-7.html
@comment share/texmf/doc/xindy/manual.html
@comment share/texmf/doc/xindy/mappings.gif
@comment share/texmf/doc/xindy/next.gif
@comment share/texmf/doc/xindy/prev.gif
@comment share/texmf/doc/xindy/style-tutorial/
@comment share/texmf/doc/xindy/style-tutorial-1.html
@comment share/texmf/doc/xindy/style-tutorial-2.html
@comment share/texmf/doc/xindy/style-tutorial-3.html
@comment share/texmf/doc/xindy/style-tutorial-4.html
@comment share/texmf/doc/xindy/style-tutorial.html
@comment share/texmf/doc/xindy/style-tutorial/ex1.raw
@comment share/texmf/doc/xindy/style-tutorial/ex1.tex
@comment share/texmf/doc/xindy/style-tutorial/ex2.raw
@comment share/texmf/doc/xindy/style-tutorial/ex2.tex
@comment share/texmf/doc/xindy/style-tutorial/index.tex
@comment share/texmf/doc/xindy/style-tutorial/style1.xdy
@comment share/texmf/doc/xindy/style-tutorial/style2.xdy
@comment share/texmf/doc/xindy/tex2xindy.pdf
@comment share/texmf/doc/xindy/texindy.pdf
@comment share/texmf/doc/xindy/toc.gif
@comment share/texmf/doc/xindy/xindy.pdf
@comment share/texmf/dvipdfmx/dvipdfmx.cfg
@comment share/texmf/dvips/base/color.pro
@comment share/texmf/dvips/base/crop.pro
@comment share/texmf/dvips/base/finclude.pro
@comment share/texmf/dvips/base/hps.pro
@comment share/texmf/dvips/base/special.pro
@comment share/texmf/dvips/base/tex.pro
@comment share/texmf/dvips/base/texc.pro
@comment share/texmf/dvips/base/texps.pro
@comment share/texmf/dvips/gsftopk/render.ps
@comment share/texmf/fonts/cmap/dvipdfmx/EUC-UCS2
@comment share/texmf/fonts/map/dvipdfm/dvipdfmx/
@comment share/texmf/fonts/map/dvipdfm/dvipdfmx/cid-x.map
share/texmf/scripts/a2ping/
share/texmf/scripts/a2ping/a2ping.pl
share/texmf/scripts/simpdftex/
share/texmf/scripts/simpdftex/simpdftex
share/texmf/scripts/tetex/e2pall.pl
share/texmf/scripts/tetex/texdoctk.pl
share/texmf/scripts/texdoc/
share/texmf/scripts/texdoc/texdoc.tlu
share/texmf/scripts/texlive/
share/texmf/scripts/texlive/rungs.tlu
share/texmf/scripts/texlive/tlmgr.pl
@comment share/texmf/scripts/xindy/
@comment share/texmf/scripts/xindy/texindy.pl
@comment share/texmf/scripts/xindy/xindy.pl
@comment share/texmf/texconfig/README
@comment share/texmf/texconfig/g/generic
@comment share/texmf/texconfig/generic
@comment share/texmf/texconfig/tcfmgr
@comment share/texmf/texconfig/tcfmgr.map
@comment share/texmf/texconfig/v/vt100
@comment share/texmf/texconfig/x/xterm
@comment share/texmf/web2c/fmtutil.cnf
@comment share/texmf/web2c/mktex.opt
@comment share/texmf/web2c/mktexdir
@comment share/texmf/web2c/mktexdir.opt
@comment share/texmf/web2c/mktexnam
@comment share/texmf/web2c/mktexnam.opt
@comment share/texmf/web2c/mktexupd
@comment share/texmf/web2c/texmf.cnf
@comment share/texmf/xdvi/XDvi
@comment share/texmf/xdvi/pixmap/toolbar.xpm
@comment share/texmf/xdvi/pixmap/toolbar2.xpm
@comment share/texmf/xdvi/xdvi.cfg
@comment share/texmf/xindy/
@comment share/texmf/xindy/VERSION
@comment share/texmf/xindy/modules/
@comment share/texmf/xindy/modules/base/
@comment share/texmf/xindy/modules/base/book-order.xdy
@comment share/texmf/xindy/modules/base/ff-ranges-only.xdy
@comment share/texmf/xindy/modules/base/ff-ranges.xdy
@comment share/texmf/xindy/modules/base/german-sty.xdy
@comment share/texmf/xindy/modules/base/ignore-hyphen.xdy
@comment share/texmf/xindy/modules/base/ignore-punctuation.xdy
@comment share/texmf/xindy/modules/base/keep-blanks.xdy
@comment share/texmf/xindy/modules/base/latex-loc-fmts.xdy
@comment share/texmf/xindy/modules/base/latex.xdy
@comment share/texmf/xindy/modules/base/latin-lettergroups.xdy
@comment share/texmf/xindy/modules/base/letter-order.xdy
@comment share/texmf/xindy/modules/base/makeindex.xdy
@comment share/texmf/xindy/modules/base/numeric-sort.xdy
@comment share/texmf/xindy/modules/base/page-ranges.xdy
@comment share/texmf/xindy/modules/base/tex.xdy
@comment share/texmf/xindy/modules/base/texindy.xdy
@comment share/texmf/xindy/modules/base/word-order.xdy
@comment share/texmf/xindy/modules/class/
@comment share/texmf/xindy/modules/class/pagenums.xdy
@comment share/texmf/xindy/modules/lang/
@comment share/texmf/xindy/modules/lang/german/
@comment share/texmf/xindy/modules/lang/german/din5007.xdy
@comment share/texmf/xindy/modules/lang/german/duden.xdy
@comment share/texmf/xindy/modules/lang/german/tex.xdy
@comment share/texmf/xindy/modules/lang/latin/
@comment share/texmf/xindy/modules/lang/latin/caseisrt.xdy
@comment share/texmf/xindy/modules/lang/latin/letgroup.xdy
@comment share/texmf/xindy/modules/ord/
@comment share/texmf/xindy/modules/ord/letorder.xdy
@comment share/texmf/xindy/modules/rules/
@comment share/texmf/xindy/modules/rules/isolatin1-exchange.xdy
@comment share/texmf/xindy/modules/rules/isolatin1-tolower.xdy
@comment share/texmf/xindy/modules/rules/latin-exchange.xdy
@comment share/texmf/xindy/modules/rules/latin-tolower.xdy
@comment share/texmf/xindy/modules/styles/
@comment share/texmf/xindy/modules/styles/basic.xdy
@comment share/texmf/xindy/modules/styles/makeidx.xdy
@extra share/texmf/ls-R
@extra share/texmf-dist/ls-R
@extra share/texmf-var/ls-R
@extra share/texmf-config/ls-R
@extra share/texmf/web2c/fmtutil.cnf

View File

@ -1,31 +1,39 @@
$OpenBSD: README,v 1.3 2010/11/14 19:53:51 edd Exp $
TeX Live for OpenBSD (PuffTeX) - Notes
$OpenBSD: README,v 1.4 2011/03/08 00:09:42 edd Exp $
TeX Live for OpenBSD - Notes
=======================================================================
There are a number of texmf trees in the OpenBSD packages:
texmf-minimal:
A teTeX like tree, suitable for casual TeX users
who do not need many extra macros or ConTeXt (approx 237MB).
who do not need many extra macros or ConTeXt (approx 302MB).
texmf-full:
Extra macros and ConTeXt support (approx 191MB).
Extra macros and ConTeXt support (approx 163MB).
texmf-doc:
Documentation for all of TeX Live (approx 612MB).
Documentation for all of TeX Live (approx 760MB).
All sizes are compressed package sizes.
The texmf package contents do not overlap.
Individual users may override or add to the tex class and style files
supplied by TeX Live by installing them into ~/texmf and running
mktexlsr(1) (as themselves). After this you can test the installation by
searching for the files using kpsewhich(1).
supplied by TeX Live by installing them into ~/texmf. There is no need
to run mktexlsr(1) for a texmf tree in a user's $HOME. You can test the
installation by searching for the files using kpsewhich(1). Eg:
Be warned that the package tools manipulate TeX configuration files
(texmf.cnf, fmtutil.cnf, etc.) when adding/deleting texlive related
packages.
% find $HOME/texmf
/home/edd/texmf
/home/edd/texmf/tex
/home/edd/texmf/tex/latex
/home/edd/texmf/tex/latex/acronym
/home/edd/texmf/tex/latex/acronym/acronym.sty
% kpsewhich acronym.sty
/home/edd/texmf/tex/latex/acronym/acronym.sty
Note that gmverb is broken upstream. When I see a fix, it will be fixed.
The 'tlmgr' script was disabled in the OpenBSD package. This is because
updating TeX Live in this way will upset the package tools due to
@ -36,7 +44,9 @@ package less bloated for people who don't need those features.
As far as I know:
* You should install ruby and ImageMagick if you wish to use ConTeXt.
* For texdoctk you will need p5-Tk
Don't forget to link your chosen ruby version to the default as detailed in
the ruby package's installation message.
* asymptote is in ports: graphics/asymptote
If you know more, please mail the package maintainer: <edd@openbsd.org>

View File

@ -0,0 +1,22 @@
$OpenBSD: README,v 1.1 2011/03/08 00:09:42 edd Exp $
TeX Live Testing
================
* The simple test case is sample2e, distributed in the texmf tree. You can test
this easily, eg: `pdflatex sample2e` (anywhere on the filesystem, its indexed
by kpse). Try this with a few common typesetters: pdflatex, latex, xelatex.
* Xelatex: see the ./xelatex-fontspec directory for a good test.
* Xindy: Go and download the xindy tarball and run through the example
in doc/style-tutorial. Remember that xindy will only run where clisp can; some
architectures can not have clisp.
* Context: see ./context dir.
* Texdoc: Install texmf-docs and try some doc searches. For example:
`texdoc beamer` should show the documentation for the beamer package.
* Test some of your own docs. Make sure you open them to check they *look* right,
not just build

View File

@ -0,0 +1,4 @@
\starttext
Hey it works on OpenBSD
\stoptext

View File

@ -0,0 +1,36 @@
% $OpenBSD: xelatex-fontspec.tex,v 1.1 2011/03/08 00:09:42 edd Exp $
%
% XeLaTeX Unicode Test for OpenBSD
%
% To insert unicode in gvim:
% Enter insert mode and type `CTRL+v uxxxx`, where xxxx is the unicode base.
%
% Build with `xelatex xelatex-fontspec`
\documentclass{article}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\begin{document}
\title{\XeLaTeX\ Unicode Test}
\author{edd@openbsd.org}
\maketitle
This document tests xelatex/fontspec's native unicode ability.
\newcommand{\testglyph}[1]{%
#1 {\large #1} {\Large #1} {\huge #1} {\Huge #1}\newline%
}
\noindent\testglyph{}
\testglyph{¢}
\testglyph{©}
\testglyph{¼}
\testglyph{ß}
\testglyph{Ą}
\end{document}

View File

@ -1,19 +1,18 @@
# $OpenBSD: Makefile,v 1.16 2011/01/17 18:20:08 edd Exp $
# $OpenBSD: Makefile,v 1.17 2011/03/08 00:09:42 edd Exp $
COMMENT-main = texlive texmf for laTeX/PdfTeX
COMMENT-full = texlive texmf for XeTeX/ConTeXt and extra macros
COMMENT-docs = texlive documentation
DISTNAME = texlive-${DIST_V}-texmf
MASTER_SITES0 = http://theunixzoo.co.uk/distfiles/
DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
texmf-var-pregen-2010${EXTRACT_SUFX}:0
PKGNAME-main = texlive_texmf-minimal-${V}
PKGNAME-full = texlive_texmf-full-${V}
PKGNAME-docs = texlive_texmf-docs-${V}
REVISION-main = 2
REVISION-full = 4
REVISION-docs = 2
NO_BUILD = Yes
NO_REGRESS = Yes
PKG_ARCH = *
@ -21,7 +20,8 @@ PKG_ARCH = *
BUILD_DEPENDS = archivers/xz
RUN_DEPENDS-full = texlive_texmf-minimal-${V}:print/texlive/texmf,-main \
texlive_base-${V}:print/texlive/base
RUN_DEPENDS-docs = texlive_base-${V}:print/texlive/base
RUN_DEPENDS-docs = texlive_base-${V}:print/texlive/base \
x11/p5-Tk
MULTI_PACKAGES = -main -full -docs
@ -30,13 +30,11 @@ SUBST_VARS += LOCALBASE
do-install:
mv ${WRKDIST}/texmf ${PREFIX}/share
mv ${WRKDIST}/texmf-dist ${PREFIX}/share
# plug in my pregenerated map and formats
mv ${WRKDIR}/texmf-var ${PREFIX}/share
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/*
post-install:
mv ${PREFIX}/share/texmf/web2c/updmap.cfg \
${PREFIX}/share/texmf/web2c/updmap.cfg-dist
${SUBST_CMD} ${PREFIX}/share/texmf/web2c/texmf.cnf
mv ${PREFIX}/share/texmf/web2c/fmtutil.cnf \
${PREFIX}/share/texmf/web2c/fmtutil.cnf-full
.include <bsd.port.mk>

View File

@ -1,5 +1,10 @@
MD5 (texlive-20091107-texmf.tar.xz) = XGszI1qzMwYm9YymZdU6PA==
RMD160 (texlive-20091107-texmf.tar.xz) = yTLq9LNBInXnac/v0ycbhkpUYIc=
SHA1 (texlive-20091107-texmf.tar.xz) = qF0z4pFf0r+thuWhzkmAWKOA2Vk=
SHA256 (texlive-20091107-texmf.tar.xz) = Y+OKIYwE4oCB4StPSJaafiXPX4GoxIB6roFaSbV1rl0=
SIZE (texlive-20091107-texmf.tar.xz) = 939751324
MD5 (texlive-20100722-texmf.tar.xz) = Et7DoyPE63W5ijFgxi3IZQ==
MD5 (texmf-var-pregen-2010.tar.xz) = qNdvyLW7EldON2CP9GxnGQ==
RMD160 (texlive-20100722-texmf.tar.xz) = YIwA8D1MDvCOlX7ABxIybnXu4E4=
RMD160 (texmf-var-pregen-2010.tar.xz) = i1n0mVovkMvxowFyk0QXro2b+XE=
SHA1 (texlive-20100722-texmf.tar.xz) = 32ugUJcFkvD184y53TbU0NZx+oA=
SHA1 (texmf-var-pregen-2010.tar.xz) = pjLgp19E0fzxB0NQM64Vq3YQMZw=
SHA256 (texlive-20100722-texmf.tar.xz) = LTED3JEAqevQDbtQDWeInaLj096J+N8RGA1bSlLgD4U=
SHA256 (texmf-var-pregen-2010.tar.xz) = na3foQLh9WAqHvo21+vXu6l8JA+MafsszEonH9zqZWY=
SIZE (texlive-20100722-texmf.tar.xz) = 1137115288
SIZE (texmf-var-pregen-2010.tar.xz) = 13799604

View File

@ -14,7 +14,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
# RBlatter
# $Id: eqnparser.rb,v 1.1.1.1 2010/08/20 12:04:30 edd Exp $
# $Id: eqnparser.rb,v 1.2 2011/03/08 00:09:42 edd Exp $
#
# Parse equation and put into data structure.

View File

@ -14,7 +14,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
# RBlatter
# $Id: pkgfilter.rb,v 1.1.1.1 2010/08/20 12:04:30 edd Exp $
# $Id: pkgfilter.rb,v 1.2 2011/03/08 00:09:42 edd Exp $
#
# Filters package contents based upon a subsetconf

View File

@ -14,7 +14,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
# RBlatter
# $Id: pkgscanner.rb,v 1.1.1.1 2010/08/20 12:04:30 edd Exp $
# $Id: pkgscanner.rb,v 1.2 2011/03/08 00:09:42 edd Exp $
#
# Takes packages from tlpdb
@ -37,7 +37,7 @@ class PkgScanner
seekLine = @dbIndex.index[indexName]
if seekLine == nil then
puts "*warning: package not found: #{indexName}"
puts "\b*warning: package not found: #{indexName}"
return ""
end

View File

@ -14,7 +14,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
# RBlatter
# $Id: plistdeduper.rb,v 1.1.1.1 2010/08/20 12:04:30 edd Exp $
# $Id: plistdeduper.rb,v 1.2 2011/03/08 00:09:42 edd Exp $
#
# De-duplicate Packing Lists

View File

@ -14,7 +14,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
# RBlatter
# $Id: spinner.rb,v 1.1.1.1 2010/08/20 12:04:30 edd Exp $
# $Id: spinner.rb,v 1.2 2011/03/08 00:09:42 edd Exp $
#
# A pretty spinner

View File

@ -14,7 +14,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
# RBlatter
# $Id: subsetconf.rb,v 1.1.1.1 2010/08/20 12:04:30 edd Exp $
# $Id: subsetconf.rb,v 1.2 2011/03/08 00:09:42 edd Exp $
#
# Holds a subset configuration

View File

@ -14,7 +14,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
# RBlatter
# $Id: subsetshaper.rb,v 1.1.1.1 2010/08/20 12:04:30 edd Exp $
# $Id: subsetshaper.rb,v 1.2 2011/03/08 00:09:42 edd Exp $
#
# Adds and subtracts texmf subset file lists in order to make new subsets.
@ -52,6 +52,7 @@ class SubsetShaper
@excludeFormats = Set.new
@finalFormats = Set.new
@dirList = Set.new # need to add dirs in plist
@subsetConfigs = []
@again = true # Will need another pass?
eqns = EqnParser.new $EQN
@ -136,7 +137,7 @@ class SubsetShaper
@again = false
if !$QUIET then
print "pass #{@pass}: "
print "pass #{@pass}: \n"
end
@spinner.rewind
@ -161,13 +162,12 @@ class SubsetShaper
outHandle.close
if !$QUIET then
puts
print "\b"
end
PListDeduper.new "#{$TMPOUT}/" +
subset.uniq.to_s +
"-" + name + "_#{@pass}"
end #while
if !$QUIET then
@ -218,6 +218,10 @@ class SubsetShaper
handle.close
end
if !$QUIET then
print "\b"
end
@finalFiles = @includeFiles.subtract @excludeFiles
@finalMaps = @includeMaps.subtract @excludeMaps
@finalFormats = @includeFormats.subtract @excludeFormats
@ -238,10 +242,22 @@ class SubsetShaper
end
# add directories and their parent directories
def addDir(basefile)
dir = File.dirname(basefile)
# recurse - add parent dirs also
if (dir != ".") then
@dirList << dir
addDir(dir)
end
end
# Write packing list to the output directory
def writePlist()
def writePlist
File.open("#{$OUTDIR}/PLIST", "w") do |plist|
for line in @finalFiles do
line = line.chomp
ok = true
if $MISSING_FILES == false then
@ -253,7 +269,17 @@ class SubsetShaper
end
if ok then
plist.write $FILEPREFIX + line
plist.write $FILEPREFIX + line + "\n"
if $ADD_DIRS then
addDir(line)
end
end
end
# add directory entries to satisfy openbsd pkgtools
if $ADD_DIRS then
for file in @dirList do
plist.write $FILEPREFIX + file + "/\n"
end
end
end

View File

@ -14,7 +14,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
# RBlatter
# $Id: tlpdbindex.rb,v 1.1.1.1 2010/08/20 12:04:30 edd Exp $
# $Id: tlpdbindex.rb,v 1.2 2011/03/08 00:09:42 edd Exp $
#
# Index a tlpdb file for faster lookups

View File

@ -1,9 +1,9 @@
#!/bin/sh
# $Id: mk_openbsd_plists.sh,v 1.1.1.1 2010/08/20 12:04:30 edd Exp $
# $OpenBSD: mk_openbsd_plists.sh,v 1.2 2011/03/08 00:09:42 edd Exp $
#
# This is how the texlive 2009 port packing lists were generated.
# This is how the texlive port packing lists were generated.
# Please be aware that a *full* texmf/texmf-dist and tlpdb from the
# texlive svn is required.
# texlive svn are required.
if [ "$1" = "" ]; then
TMF="/usr/local/share";
@ -18,14 +18,37 @@ fi
mkdir sets
echo "minimal..."
./rblatter -v -n -t ${TMF} -p share/ -o sets/tetex +scheme-tetex,run
echo "\nCalculating PLIST of texlive_texmf-minimal (tetex)..."
./rblatter -d -v -n -t ${TMF} -p share/ -o sets/tetex +scheme-tetex,run
cat sets/tetex/PLIST | sed 's/share\/texmf\/doc\/man/share\/man/g' \
| sort > sets/tetex/PLIST_final
echo "full..."
./rblatter -v -n -t ${TMF} -p share/ -o sets/full \
+scheme-full,run:-scheme-tetex,doc,src,run
echo "\nCalculating PLIST of texlive_texmf-full..."
./rblatter -d -v -n -t ${TMF} -p share/ -o sets/full \
+scheme-full,run:-scheme-tetex,doc,src,run
cat sets/full/PLIST | sed 's/share\/texmf\/doc\/man/share\/man/g' \
| sort > sets/full/PLIST_final
echo "docs..."
./rblatter -v -n -t ${TMF} -p share/ -o sets/docs +scheme-full,doc
echo "\nCalculating PLIST of texlive_texmf-docs..."
./rblatter -d -v -n -t ${TMF} -p share/ -o sets/docs +scheme-full,doc
cat sets/docs/PLIST | sed 's/share\/texmf\/doc\/man/share\/man/g' \
| sort > sets/docs/PLIST_final
echo "done"
# XXX need to figure out how to futher split docs
#grep -ie '\.1$' -e '\.pdf$' -e '\.html$' -e '\.dvi$' -e '\.ps$' \
# sets/docs/PLIST | sed 's/share\/texmf\/doc\/man/share\/man/g' \
# | sort > sets/docs/PLIST_final
#grep -ive '\.1$' -e '\.pdf$' -e '\.html$' -e '\.dvi$' -e '\.ps$' \
# sets/docs/PLIST | sed 's/share\/texmf\/doc\/man/share\/man/g' \
# | sort > sets/docs/PLIST_final-sources
echo "\ndone - PLISTS in sets/"
echo "now inspect:"
echo " - share/texmf/scripts/texlive/* probably un-needed"
echo " - *.exe obviously a waste of space"
echo " - search for 'win32' and 'w32' and 'windows'"
echo " - comment out manual pages and include in _base"
echo " - bibarts is a DOS program"
echo " - Not all texworks related stuff is needed"
echo " - make sure no tlpkg/ sneaked in"
echo " - etc..."

View File

@ -1,4 +1,4 @@
#!/usr/bin/env ruby
#!/usr/bin/env ruby18
# Copyright (c) 2008-2010, Edd Barrett <vext01@gmail.com>
#
# Permission to use, copy, modify, and/or distribute this software for any
@ -14,7 +14,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
# RBlatter
# $Id: rblatter,v 1.1.1.1 2010/08/20 12:04:30 edd Exp $
# $Id: rblatter,v 1.2 2011/03/08 00:09:42 edd Exp $
#
# == Synopsis
# RBlatter is a ruby script which allows you to add and subtract TeXmf
@ -28,6 +28,10 @@
# specific files. Should specify always.
# defaults to i386-openbsd
#
# -d, --dirs:
# add directories to conatin files to packing list.
# used for openbsd packing lists
#
# -h, --help:
# show this message
#
@ -53,11 +57,12 @@
#
# Available file types are 'run', 'src', 'bin' and 'doc'.
$RBLATTER_V = "$Id: rblatter,v 1.1.1.1 2010/08/20 12:04:30 edd Exp $"
$RBLATTER_V = "$OpenBSD: rblatter,v 1.2 2011/03/08 00:09:42 edd Exp $"
$QUIET = true;
$FILEPREFIX = ""
$ARCH = "i386-openbsd"
$MISSING_FILES = true
$ADD_DIRS = false
path = File.dirname $0
$: << path + "/lib"
@ -70,6 +75,7 @@ require "eqnparser"
# Parse args
opts = GetoptLong.new(
["--arch", "-a", GetoptLong::REQUIRED_ARGUMENT],
["--dirs", "-d", GetoptLong::NO_ARGUMENT],
["--help", "-h", GetoptLong::NO_ARGUMENT],
["--no-missing-files", "-n", GetoptLong::NO_ARGUMENT],
["--outdir", "-o", GetoptLong::REQUIRED_ARGUMENT],
@ -82,10 +88,12 @@ opts.each do | opt, arg |
case opt
when '--arch'
$ARCH = arg
when '--dirs'
$ADD_DIRS = true
when '--help'
RDoc::usage
exit 1
when '--no-missing-files':
when '--no-missing-files'
$MISSING_FILES = false
when '--outdir'
$OUTDIR = arg

View File

@ -1,22 +0,0 @@
$OpenBSD: patch-texmf-dist_tex_jadetex_base_pdfjadetex_ini,v 1.1 2010/02/17 10:19:08 jsg Exp $
--- texmf-dist/tex/jadetex/base/pdfjadetex.ini.orig Mon Jun 15 02:13:54 2009
+++ texmf-dist/tex/jadetex/base/pdfjadetex.ini Wed Feb 17 10:57:06 2010
@@ -1,4 +1,14 @@
-% public domain
-\input pdftexconfig.tex
-\input jadetex.ini
-
+% revision 16978 from svn to fix broken jadetex in texlive 2009 release
+%
+% public domain.
+%
+% do what we do for pdflatex, but don't dump now.
+\let\primitivedump=\dump
+\let\dump=\relax
+\input pdflatex.ini
+\let\dump=\primitivedump
+%
+% then read jadetex. pdf output must be set first, since it needs hyperref.
+\input jadetex.ltx
+%
+\dump

View File

@ -1,21 +1,20 @@
$OpenBSD: patch-texmf_web2c_texmf_cnf,v 1.2 2010/04/12 12:49:24 edd Exp $
--- texmf/web2c/texmf.cnf.orig Sun Nov 22 12:44:20 2009
+++ texmf/web2c/texmf.cnf Sun Nov 22 12:50:47 2009
@@ -6,6 +6,8 @@
% entire copy of the full texmf.cnf! -- in ../../texmf.cnf. That is, if
% this file is installed in /some/path/to/texlive/2009/texmf/web2c/texmf.cnf,
% add your custom settings to /some/path/to/texlive/2009/texmf.cnf.
$OpenBSD: patch-texmf_web2c_texmf_cnf,v 1.3 2011/03/08 00:09:42 edd Exp $
--- texmf/web2c/texmf.cnf.origy Wed Oct 20 22:10:45 2010
+++ texmf/web2c/texmf.cnf Wed Oct 20 22:13:34 2010
@@ -41,7 +41,11 @@
% separator as well as the comma for this: /usr/local/{mytex:othertex}
% also expands to /usr/local/mytex:/usr/local/othertex. We make
% extensive use of this.
+%
+% Modified for OpenBSD ports.
%
% What follows is a super-summary of what this .cnf file can
% contain. Please read the Kpathsea manual for more information.
@@ -51,17 +53,19 @@
% find where to look dynamically. See the manual and the definition
% below of TEXMFCNF.
+% Hacked for OpenBSD ports
+OBSD_TMF = ${LOCALBASE}/share
+
% Part 1: Search paths and directories.
% You can set an environment variable to override TEXMF if you're testing
@@ -53,15 +57,15 @@
% The tree containing the runtime files closely related to the specific
% program version used:
-TEXMFMAIN = $SELFAUTOPARENT/texmf
@ -29,7 +28,7 @@ $OpenBSD: patch-texmf_web2c_texmf_cnf,v 1.2 2010/04/12 12:49:24 edd Exp $
% This tree is not used for local configuration maintained by
% texconfig, it uses TEXMFCONFIG below.
-TEXMFLOCAL = $SELFAUTOPARENT/../texmf-local
+TEXMFLOCAL = $OBSD_TMF/texmf-local
+TEXMFLOCAL = $OBSD_TMF/../texmf-local
% TEXMFSYSVAR, where texconfig-sys stores variable runtime data.
% With teTeX-3.0 or later, this must be set.
@ -51,21 +50,3 @@ $OpenBSD: patch-texmf_web2c_texmf_cnf,v 1.2 2010/04/12 12:49:24 edd Exp $
% User texmf trees are allowed as follows.
% This used to be HOMETEXMF.
@@ -117,7 +121,7 @@ TEXMFCONFIG = ~/.texlive2009/texmf-config
% versions should take precedence over those (although it is generally a
% source of confusion to have different versions of a package installed,
% whatever the trees, so try to avoid it).
-TEXMF = {$TEXMFCONFIG,$TEXMFVAR,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST}
+TEXMF = {$TEXMFCONFIG,$TEXMFVAR,!!$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST}
% The system trees. These are the trees that are shared by all the users.
% If a tree appears in this list, the mktex* scripts will use
@@ -137,7 +141,7 @@ VARTEXFONTS = $TEXMFVAR/fonts
% ls-R is present, it will be used, and the disk will not be searched.
% This is arguably a bug in kpathsea.
%
-TEXMFDBS = {!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST}
+TEXMFDBS = {!!$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFMAIN,!!$TEXMFLOCAL,!!$TEXMFDIST}
% On some systems, there will be a system tree which contains all the font
% files that may be created as well as the formats. For example

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff