mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 09:57:14 +08:00
update texlive
This commit is contained in:
parent
64151cd960
commit
84be369903
@ -6,8 +6,8 @@
|
||||
|
||||
|
||||
pkgname=texlive-bibtexextra
|
||||
pkgver=2011.24688
|
||||
_revnr=${pkgver#2011.}
|
||||
pkgver=2012.26868
|
||||
_revnr=${pkgver#2012.}
|
||||
pkgrel=1
|
||||
pkgdesc="TeX Live - Additional BibTeX styles and bibliography databases"
|
||||
license=('GPL')
|
||||
@ -15,9 +15,9 @@ arch=(any)
|
||||
depends=('texlive-core')
|
||||
groups=('texlive-most')
|
||||
url='http://tug.org/texlive/'
|
||||
source=("http://mirror.ancl.hawaii.edu/linux/archlinux/other/texlive/${pkgname}-${pkgver}-src.zip")
|
||||
source=("ftp://ftp.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip")
|
||||
install=texlive.install
|
||||
md5sums=('0d9e2606d39e901b820aaa0dee70b8e3')
|
||||
md5sums=('6781ae49bf64b298037028d627bb4870')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}"
|
||||
@ -53,6 +53,7 @@ package() {
|
||||
install -m755 -d $pkgdir/usr/bin
|
||||
|
||||
ln -s /usr/share/texmf-dist/scripts/bibexport/bibexport.sh $pkgdir/usr/bin/bibexport
|
||||
ln -s /usr/share/texmf-dist/scripts/listbib/listbib $pkgdir/usr/bin/listbib
|
||||
ln -s /usr/share/texmf-dist/scripts/urlbst/urlbst $pkgdir/usr/bin/urlbst
|
||||
}
|
||||
|
||||
|
@ -4,49 +4,48 @@
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Drake Justice <djustice[at]chakra-linux[dot]org>
|
||||
|
||||
|
||||
pkgname=texlive-bin
|
||||
pkgver=2011.3
|
||||
_luatex_ver=0.70.1
|
||||
pkgver=2012.0
|
||||
pkgrel=1
|
||||
pkgdesc="TeX Live binaries"
|
||||
license=('GPL')
|
||||
arch=('i686' 'x86_64')
|
||||
depends=('t1lib' 'gd' 'poppler' 'libsigsegv' 'zziplib')
|
||||
depends=('t1lib' 'gd' 'poppler' 'libsigsegv' 'zziplib' 'libpng' 'libjpeg' 'freetype2')
|
||||
makedepends=('perl' 'clisp' 'ffcall')
|
||||
optdepends=('ed: for texconfig')
|
||||
provides=('lcdf-typetools' 'kpathsea' 'xindy' 'pdfjam')
|
||||
conflicts=('pdfjam')
|
||||
options=('!libtool')
|
||||
options=('!libtool' '!strip')
|
||||
url='http://tug.org/texlive/'
|
||||
install="texlive.install"
|
||||
source=('texmf.cnf'
|
||||
'fix-fontforge-encoding.patch'
|
||||
'09-texlive-fonts.conf'
|
||||
'http://mirror.ancl.hawaii.edu/linux/archlinux/other/texlive/texlive-bin-source-20111210.tar.xz'
|
||||
'http://mirror.ancl.hawaii.edu/linux/archlinux/other/texlive/texlive-bin-texmf-20111210.tar.xz'
|
||||
'http://mirror.ancl.hawaii.edu/linux/archlinux/other/texlive/luatex-svn4356.tar.xz'
|
||||
'poppler-0.20.patch'
|
||||
'http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-source-20120623.tar.xz'
|
||||
'http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-texmf-20120623.tar.xz'
|
||||
'luatex-r4449-radical-rule-thickness.patch'
|
||||
)
|
||||
backup=(etc/texmf/web2c/texmf.cnf \
|
||||
etc/texmf/chktex/chktexrc \
|
||||
etc/texmf/web2c/mktex.cnf \
|
||||
etc/texmf/web2c/updmap.cfg \
|
||||
etc/texmf/web2c/fmtutil.cnf \
|
||||
etc/texmf/chktex/chktexrc \
|
||||
etc/texmf/dvipdfm/config/config \
|
||||
etc/texmf/dvipdfmx/dvipdfmx.cfg \
|
||||
etc/texmf/dvips/config/config.ps \
|
||||
etc/texmf/tex/generic/config/language.dat \
|
||||
etc/texmf/tex/generic/config/language.def \
|
||||
etc/texmf/tex/generic/config/pdftexconfig.tex \
|
||||
etc/texmf/ttf2pk/ttf2pk.cfg \
|
||||
etc/texmf/dvips/config/config.ps \
|
||||
etc/texmf/dvipdfmx/dvipdfmx.cfg \
|
||||
etc/texmf/dvipdfm/config/config \
|
||||
etc/texmf/web2c/fmtutil.cnf \
|
||||
etc/texmf/web2c/mktex.cnf \
|
||||
etc/texmf/xdvi/XDvi)
|
||||
|
||||
md5sums=('220a4f4cc0d915bf8fcbcb553dcee1ae'
|
||||
'bfb9716aa00c86c08cd31e5b32edeb98'
|
||||
'393a4bf67adc7ca5df2b386759d1a637'
|
||||
'c7bb38c0ab30c2b64cf4cf83a736b35c'
|
||||
'5d8f06a3683ce88a3c33e15f5ba6a858'
|
||||
'e7f0197559ef865d8c01683dab3b8526')
|
||||
'34e8168fbf6c3d07c4bec1893c089798'
|
||||
'ac2c3c3aa765581f8504e21a5edbfb9f'
|
||||
'f315a860158cfc952c82a6d759961024'
|
||||
'5190f3295eb9a604c5f17f5bd607299b')
|
||||
|
||||
build() {
|
||||
if [ "${CARCH}" = "x86_64" ]; then
|
||||
@ -54,54 +53,15 @@ build() {
|
||||
export CXXFLAGS="${CXXFLAGS} -fPIC"
|
||||
fi
|
||||
|
||||
cd ${srcdir}
|
||||
# Building LuaTeX
|
||||
|
||||
cd luatex
|
||||
|
||||
patch -p0 -i ../fix-fontforge-encoding.patch
|
||||
|
||||
(cd source && ./texk/web2c/luatexdir/getluatexsvnversion.sh)
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
../source/configure --prefix=/usr -C \
|
||||
--disable-native-texlive-build \
|
||||
--with-banner-add="/Chakra Linux" \
|
||||
--enable-cxx-runtime-hack \
|
||||
--disable-all-pkgs \
|
||||
--disable-dump-share \
|
||||
--disable-ptex \
|
||||
--enable-luatex \
|
||||
--without-system-ptexenc \
|
||||
--with-system-graphite \
|
||||
--without-system-icu \
|
||||
--without-system-kpathsea \
|
||||
--with-system-freetype2 \
|
||||
--with-system-poppler \
|
||||
--with-freetype2-libdir=/usr/lib \
|
||||
--with-freetype2-include=/usr/include/freetype2 \
|
||||
--with-system-gd \
|
||||
--with-system-libpng \
|
||||
--without-system-teckit \
|
||||
--with-system-zlib \
|
||||
--with-system-zziplib \
|
||||
--with-system-t1lib \
|
||||
--disable-shared \
|
||||
--disable-largefile \
|
||||
--disable-ipc \
|
||||
--without-mf-x-toolkit \
|
||||
--without-x
|
||||
|
||||
make
|
||||
make -C libs/obsdcompat
|
||||
make -C texk/kpathsea
|
||||
make -C texk/web2c luatex
|
||||
|
||||
cd "${srcdir}"
|
||||
cd "$srcdir"
|
||||
# this patch removes spurious error message with locale "xx_YY.utf8"
|
||||
patch -p0 -i fix-fontforge-encoding.patch
|
||||
# t4ht expects to be un /usr/share/texmf/bin/t4ht (FS#27251)
|
||||
# fix build with poppler >= 0.20
|
||||
# patch -p0 -i poppler-0.20.patch
|
||||
# fix radical rule thickness regression in Luatex
|
||||
# http://tex.stackexchange.com/q/61952/729
|
||||
patch -p0 -i luatex-r4449-radical-rule-thickness.patch
|
||||
# t4ht expects to be un /usr/share/texmf/bin/t4ht
|
||||
sed -i s/SELFAUTOPARENT/TEXMFROOT/ source/texk/tex4htk/t4ht.c
|
||||
#############################################################
|
||||
### configure
|
||||
@ -111,7 +71,8 @@ build() {
|
||||
test ! -d Work && mkdir Work
|
||||
cd Work
|
||||
echo "--> Initial configuration..."
|
||||
# we use temporary prefix to avoid messing the existing $pkgdir/usr/share/texmf tree
|
||||
# we use temporary prefix to avoid messing the existing
|
||||
# $pkgdir/usr/share/texmf tree
|
||||
../configure --prefix=/usr -C \
|
||||
--sysconfdir=/etc \
|
||||
--datarootdir=/usr/share \
|
||||
@ -140,7 +101,7 @@ build() {
|
||||
--with-xdvi-x-toolkit=xaw \
|
||||
--disable-dump-share \
|
||||
--disable-aleph \
|
||||
--disable-luatex \
|
||||
--enable-luatex \
|
||||
--with-clisp-runtime=default \
|
||||
--enable-xindy --disable-xindy-rules --disable-xindy-docs
|
||||
#############################################################
|
||||
@ -152,63 +113,63 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir
|
||||
cd "$srcdir"
|
||||
#############################################################
|
||||
### install texmf tree
|
||||
echo "-------------------------------------------------------"
|
||||
echo "--> installing the texmf tree"
|
||||
echo "-------------------------------------------------------"
|
||||
install -m755 -d $pkgdir/usr/share
|
||||
cp -r texmf $pkgdir/usr/share/
|
||||
install -d -m755 $pkgdir/etc/texmf/web2c
|
||||
install -d -m755 $pkgdir/etc/texmf/chktex
|
||||
install -d -m755 $pkgdir/etc/texmf/dvips/config
|
||||
install -d -m755 $pkgdir/etc/texmf/dvipdfm/config
|
||||
install -d -m755 $pkgdir/etc/texmf/dvipdfmx
|
||||
install -d -m755 $pkgdir/etc/texmf/tex/generic/config
|
||||
install -d -m755 $pkgdir/etc/texmf/ttf2pk
|
||||
install -d -m755 $pkgdir/etc/texmf/xdvi
|
||||
install -d -m755 $pkgdir/etc/fonts/conf.avail
|
||||
install -m644 $srcdir/09-texlive-fonts.conf $pkgdir/etc/fonts/conf.avail/
|
||||
install -m755 -d "$pkgdir"/usr/share
|
||||
cp -r texmf "$pkgdir"/usr/share/
|
||||
install -d -m755 "$pkgdir"/etc/texmf/web2c
|
||||
install -d -m755 "$pkgdir"/etc/texmf/chktex
|
||||
install -d -m755 "$pkgdir"/etc/texmf/dvips/config
|
||||
install -d -m755 "$pkgdir"/etc/texmf/dvipdfm/config
|
||||
install -d -m755 "$pkgdir"/etc/texmf/dvipdfmx
|
||||
install -d -m755 "$pkgdir"/etc/texmf/tex/generic/config
|
||||
install -d -m755 "$pkgdir"/etc/texmf/ttf2pk
|
||||
install -d -m755 "$pkgdir"/etc/texmf/xdvi
|
||||
install -d -m755 "$pkgdir"/etc/fonts/conf.avail
|
||||
install -m644 "$srcdir"/09-texlive-fonts.conf "$pkgdir"/etc/fonts/conf.avail/
|
||||
# move man files to /usr/share/man
|
||||
for i in 1 5; do
|
||||
install -d -m755 $pkgdir/usr/share/man/man$i
|
||||
mv $pkgdir/usr/share/texmf/doc/man/man$i/*.$i $pkgdir/usr/share/man/man$i/
|
||||
install -d -m755 "$pkgdir"/usr/share/man/man$i
|
||||
mv "$pkgdir"/usr/share/texmf/doc/man/man$i/*.$i "$pkgdir"/usr/share/man/man$i/
|
||||
done
|
||||
# move info files to /usr/share/info
|
||||
install -d -m755 $pkgdir/usr/share/info
|
||||
mv $pkgdir/usr/share/texmf/doc/info/*.info $pkgdir/usr/share/info/
|
||||
rm -rf $pkgdir/usr/share/texmf/doc/{man,info}
|
||||
install -d -m755 "$pkgdir"/usr/share/info
|
||||
mv "$pkgdir"/usr/share/texmf/doc/info/*.info "$pkgdir"/usr/share/info/
|
||||
rm -rf "$pkgdir"/usr/share/texmf/doc/{man,info}
|
||||
# copy config files to $TEXMFCONFIG tree
|
||||
cp -a $pkgdir/usr/share/texmf/chktex/chktexrc \
|
||||
$pkgdir/etc/texmf/chktex/
|
||||
cp -a $pkgdir/usr/share/texmf/web2c/mktex.cnf \
|
||||
$pkgdir/etc/texmf/web2c/
|
||||
cp -a $pkgdir/usr/share/texmf/web2c/updmap.cfg \
|
||||
$pkgdir/etc/texmf/web2c/
|
||||
cp -a $pkgdir/usr/share/texmf/web2c/fmtutil.cnf \
|
||||
$pkgdir/etc/texmf/web2c/
|
||||
cp -a $pkgdir/usr/share/texmf/dvips/config/config.ps \
|
||||
$pkgdir/etc/texmf/dvips/config/
|
||||
cp -a $pkgdir/usr/share/texmf/dvipdfm/config/config \
|
||||
$pkgdir/etc/texmf/dvipdfm/config/
|
||||
cp -a $pkgdir/usr/share/texmf/dvipdfmx/dvipdfmx.cfg \
|
||||
$pkgdir/etc/texmf/dvipdfmx/
|
||||
cp -a $pkgdir/usr/share/texmf/tex/generic/config/pdftexconfig.tex \
|
||||
$pkgdir/etc/texmf/tex/generic/config/
|
||||
cp -a $pkgdir/usr/share/texmf/tex/generic/config/language.dat \
|
||||
$pkgdir/etc/texmf/tex/generic/config/
|
||||
cp -a $pkgdir/usr/share/texmf/tex/generic/config/language.def \
|
||||
$pkgdir/etc/texmf/tex/generic/config/
|
||||
cp -a $pkgdir/usr/share/texmf/ttf2pk/ttf2pk.cfg \
|
||||
$pkgdir/etc/texmf/ttf2pk/
|
||||
cp -a $pkgdir/usr/share/texmf/xdvi/XDvi \
|
||||
$pkgdir/etc/texmf/xdvi/
|
||||
cp -a "$pkgdir"/usr/share/texmf/chktex/chktexrc \
|
||||
"$pkgdir"/etc/texmf/chktex/
|
||||
cp -a "$pkgdir"/usr/share/texmf/web2c/mktex.cnf \
|
||||
"$pkgdir"/etc/texmf/web2c/
|
||||
cp -a "$pkgdir"/usr/share/texmf/web2c/updmap.cfg \
|
||||
"$pkgdir"/etc/texmf/web2c/
|
||||
cp -a "$pkgdir"/usr/share/texmf/web2c/fmtutil.cnf \
|
||||
"$pkgdir"/etc/texmf/web2c/
|
||||
cp -a "$pkgdir"/usr/share/texmf/dvips/config/config.ps \
|
||||
"$pkgdir"/etc/texmf/dvips/config/
|
||||
cp -a "$pkgdir"/usr/share/texmf/dvipdfm/config/config \
|
||||
"$pkgdir"/etc/texmf/dvipdfm/config/
|
||||
cp -a "$pkgdir"/usr/share/texmf/dvipdfmx/dvipdfmx.cfg \
|
||||
"$pkgdir"/etc/texmf/dvipdfmx/
|
||||
cp -a "$pkgdir"/usr/share/texmf/tex/generic/config/pdftexconfig.tex \
|
||||
"$pkgdir"/etc/texmf/tex/generic/config/
|
||||
cp -a "$pkgdir"/usr/share/texmf/tex/generic/config/language.dat \
|
||||
"$pkgdir"/etc/texmf/tex/generic/config/
|
||||
cp -a "$pkgdir"/usr/share/texmf/tex/generic/config/language.def \
|
||||
"$pkgdir"/etc/texmf/tex/generic/config/
|
||||
cp -a "$pkgdir"/usr/share/texmf/ttf2pk/ttf2pk.cfg \
|
||||
"$pkgdir"/etc/texmf/ttf2pk/
|
||||
cp -a "$pkgdir"/usr/share/texmf/xdvi/XDvi \
|
||||
"$pkgdir"/etc/texmf/xdvi/
|
||||
# remove TL specific warnings in the language.{dat,def} files:
|
||||
sed -i -e '/DO NOT EDIT/,+3 d' $pkgdir/etc/texmf/tex/generic/config/language.*
|
||||
sed -i -e '/DO NOT EDIT/,+3 d' "$pkgdir"/etc/texmf/tex/generic/config/language.*
|
||||
# clean updmap.cfg
|
||||
sed -i '/^\(Map\|MixedMap\)/d' $pkgdir/etc/texmf/web2c/updmap.cfg
|
||||
sed -i '/^#! \(Map\|MixedMap\)/d' $pkgdir/etc/texmf/web2c/updmap.cfg
|
||||
sed -i '/^\(Map\|MixedMap\)/d' "$pkgdir"/etc/texmf/web2c/updmap.cfg
|
||||
sed -i '/^#! \(Map\|MixedMap\)/d' "$pkgdir"/etc/texmf/web2c/updmap.cfg
|
||||
|
||||
#############################################################
|
||||
### install
|
||||
@ -220,38 +181,32 @@ package() {
|
||||
echo "--> Proceeding with make install ..."
|
||||
echo "-------------------------------------------------------"
|
||||
cd Work
|
||||
make DESTDIR=${pkgdir} texmf=$pkgdir/usr/share/texmf install
|
||||
rm -rf ${pkgdir}/usr/{texmf,share/texmf-dist}
|
||||
make DESTDIR="${pkgdir}" texmf="$pkgdir"/usr/share/texmf install
|
||||
rm -rf "${pkgdir}"/usr/{texmf,share/texmf-dist}
|
||||
|
||||
# replace upstream texmf.cnf with ours
|
||||
rm -f $pkgdir/usr/share/texmf/web2c/texmf.cnf
|
||||
install -m644 $srcdir/texmf.cnf $pkgdir/etc/texmf/web2c/texmf.cnf
|
||||
rm -f "$pkgdir"/usr/share/texmf/web2c/texmf.cnf
|
||||
install -m644 "$srcdir"/texmf.cnf "$pkgdir"/etc/texmf/web2c/texmf.cnf
|
||||
# since the location of texmf.cnf is hard-wired to be under /usr/share/texmf/web2c
|
||||
# we make a symlink from /etc/texmf/web2c/texmf.cnf to the latter
|
||||
ln -sf /etc/texmf/web2c/texmf.cnf $pkgdir/usr/share/texmf/web2c/texmf.cnf
|
||||
ln -sf /etc/texmf/web2c/texmf.cnf "$pkgdir"/usr/share/texmf/web2c/texmf.cnf
|
||||
# fix location of TEXMFCACHE for luatools
|
||||
sed -i 's#texlive2010#texlive#' $pkgdir/usr/share/texmf/web2c/texmfcnf.lua
|
||||
sed -i 's#texlive2010#texlive#' "$pkgdir"/usr/share/texmf/web2c/texmfcnf.lua
|
||||
## remove aleph from fmtutil.cnf
|
||||
sed -i -e '/aleph/d' $pkgdir/usr/share/texmf/web2c/fmtutil.cnf
|
||||
|
||||
## install luatex binary
|
||||
#install -m755 $srcdir/luatex-beta-${_luatex_ver}/build/texk/web2c/luatex $pkgdir/usr/bin/
|
||||
install -m755 $srcdir/luatex/build/texk/web2c/luatex $pkgdir/usr/bin/
|
||||
cd $pkgdir/usr/bin
|
||||
/bin/ln -s luatex texlua
|
||||
/bin/ln -s luatex texluac
|
||||
sed -i -e '/aleph/d' "$pkgdir"/usr/share/texmf/web2c/fmtutil.cnf
|
||||
|
||||
## install Perl libraries
|
||||
mkdir -p $pkgdir/usr/share/tlpkg/TeXLive
|
||||
install -m644 ${srcdir}/source/utils/biber/TeXLive/*.pm $pkgdir/usr/share/tlpkg/TeXLive
|
||||
mkdir -p "$pkgdir"/usr/share/tlpkg/TeXLive
|
||||
install -m644 "${srcdir}"/source/utils/biber/TeXLive/*.pm "$pkgdir"/usr/share/tlpkg/TeXLive
|
||||
|
||||
# create symlinks for formats
|
||||
echo "--> Create symlinks for TeX formats ..."
|
||||
PATH="$PATH:${pkgdir}/usr/bin" texlinks -f $pkgdir/usr/share/texmf/web2c/fmtutil.cnf $pkgdir/usr/bin/
|
||||
PATH="$PATH:${pkgdir}/usr/bin" texlinks -f "$pkgdir"/usr/share/texmf/web2c/fmtutil.cnf "$pkgdir"/usr/bin/
|
||||
#############################################################
|
||||
# remove dangling symlinks
|
||||
_bibtexextra_scripts="
|
||||
bibexport
|
||||
listbib
|
||||
urlbst
|
||||
"
|
||||
_core_scripts="
|
||||
@ -259,6 +214,7 @@ afm2afm
|
||||
arlatex
|
||||
autoinst
|
||||
bundledoc
|
||||
checkcites
|
||||
cmap2enc
|
||||
ctanify
|
||||
ctanupload
|
||||
@ -273,6 +229,7 @@ installfont-tl
|
||||
latex2man
|
||||
latexdiff
|
||||
latexdiff-vc
|
||||
latexfileversion
|
||||
latexmk
|
||||
latexrevise
|
||||
listings-ext.sh
|
||||
@ -311,31 +268,35 @@ texdiff
|
||||
texdirflatten
|
||||
texliveonfly
|
||||
texloganalyser
|
||||
typeoutfileinfo
|
||||
thumbpdf
|
||||
vpl2ovp
|
||||
vpl2vpl
|
||||
"
|
||||
_htmlxml_scripts="ht htcontext htlatex htmex httex httexi htxelatex htxetex mk4ht"
|
||||
_langcjk_scripts="convbkmk updmap-setup-kanji"
|
||||
_langextra_scripts="ebong"
|
||||
_langgreek_scripts="mkgrkindex"
|
||||
_latexextra_scripts="authorindex \
|
||||
makeglossaries \
|
||||
pdfannotextractor \
|
||||
pdfthumb \
|
||||
perltex \
|
||||
ppower4 \
|
||||
ps4pdf \
|
||||
splitindex \
|
||||
svn-multi \
|
||||
_latexextra_scripts="
|
||||
authorindex
|
||||
exceltex
|
||||
makeglossaries
|
||||
pdfannotextractor
|
||||
perltex
|
||||
ppower4
|
||||
ps4pdf
|
||||
splitindex
|
||||
svn-multi
|
||||
vpe"
|
||||
_music_scripts="musixtex musixflx"
|
||||
_music_scripts="m-tx musixtex musixflx pmx2pdf"
|
||||
_pictures_scripts="cachepic epspdf epspdftk fig4latex mathspic"
|
||||
_pstricks_scripts="pst2pdf"
|
||||
_pstricks_scripts="pedigree pst2pdf"
|
||||
_science_scripts="ulqda"
|
||||
for s in \
|
||||
${_bibtexextra_scripts} \
|
||||
${_core_scripts} \
|
||||
${_htmlxml_scripts} \
|
||||
${_langcjk_scripts} \
|
||||
${_langextra_scripts} \
|
||||
${_langgreek_scripts} \
|
||||
${_latexextra_scripts} \
|
||||
@ -344,8 +305,7 @@ vpe"
|
||||
${_pstricks_scripts} \
|
||||
${_science_scripts} \
|
||||
tlmgr; do
|
||||
rm -f $pkgdir/usr/bin/$s
|
||||
rm -f "$pkgdir"/usr/bin/$s
|
||||
done
|
||||
###################################################################
|
||||
}
|
||||
|
||||
|
23
texlive-bin/luatex-r4449-radical-rule-thickness.patch
Normal file
23
texlive-bin/luatex-r4449-radical-rule-thickness.patch
Normal file
@ -0,0 +1,23 @@
|
||||
Index: source/texk/web2c/luatexdir/tex/mlist.w
|
||||
===================================================================
|
||||
--- source/texk/web2c/luatexdir/tex/mlist.w (revision 4448)
|
||||
+++ source/texk/web2c/luatexdir/tex/mlist.w (revision 4449)
|
||||
@@ -1798,7 +1798,17 @@
|
||||
theta = fraction_rule(cur_style);
|
||||
y = var_delimiter(left_delimiter(q), cur_size,
|
||||
height(x) + depth(x) + clr + theta, NULL, cur_style);
|
||||
- theta = height(y);
|
||||
+ /* If |y| is a composite then set |theta| to the height of its top
|
||||
+ character, else set it to the height of |y|. */
|
||||
+ if (list_ptr(y) != null
|
||||
+ && type(list_ptr(y)) == hlist_node
|
||||
+ && list_ptr(list_ptr(y)) != null
|
||||
+ && type(list_ptr(list_ptr(y))) == glyph_node) { /* and it should be */
|
||||
+ theta = char_height(font(list_ptr(list_ptr(y))),
|
||||
+ character(list_ptr(list_ptr(y))));
|
||||
+ } else {
|
||||
+ theta = height(y);
|
||||
+ }
|
||||
} else {
|
||||
y = var_delimiter(left_delimiter(q), cur_size,
|
||||
height(x) + depth(x) + clr + theta, NULL, cur_style);
|
22
texlive-bin/poppler-0.20.patch
Normal file
22
texlive-bin/poppler-0.20.patch
Normal file
@ -0,0 +1,22 @@
|
||||
--- source/texk/web2c/luatexdir/lua/lepdflib.cc.orig 2011-10-06 06:14:20.000000000 +0000
|
||||
+++ source/texk/web2c/luatexdir/lua/lepdflib.cc 2012-05-17 11:30:26.327236883 +0000
|
||||
@@ -1433,7 +1433,7 @@
|
||||
|
||||
static int m_Object_getTypeName(lua_State * L)
|
||||
{
|
||||
- char *s;
|
||||
+ const char *s;
|
||||
udstruct *uin;
|
||||
uin = (udstruct *) luaL_checkudata(L, 1, M_Object);
|
||||
if (uin->pd != NULL && uin->pd->pc != uin->pc)
|
||||
--- source/texk/web2c/pdftexdir/pdftosrc.cc.orig 2012-06-24 17:12:34.376329435 +0200
|
||||
+++ source/texk/web2c/pdftexdir/pdftosrc.cc 2012-06-24 17:12:25.490003152 +0200
|
||||
@@ -134,7 +134,7 @@
|
||||
exit(1);
|
||||
}
|
||||
if (extract_xref_table) {
|
||||
- int size = xref->getSize();
|
||||
+ int size = xref->getNumObjects();
|
||||
int i;
|
||||
for (i = 0; i < size; i++) {
|
||||
if (xref->getEntry(i)->offset == 0xffffffff)
|
@ -6,7 +6,7 @@
|
||||
|
||||
|
||||
pkgname=texlive-core
|
||||
pkgver=2011.24722
|
||||
pkgver=2012.26892
|
||||
_revnr=${pkgver#2011.}
|
||||
pkgrel=1
|
||||
pkgdesc="TeX Live core distribution"
|
||||
@ -27,13 +27,12 @@ conflicts=('tetex' 'texlive-latex3')
|
||||
provides=('tetex' 'texlive-latex3')
|
||||
replaces=('tetex' 'texlive-latex3')
|
||||
url='http://tug.org/texlive/'
|
||||
source=("http://mirror.ancl.hawaii.edu/linux/archlinux/other/texlive/$pkgname-$pkgver-src.zip"
|
||||
source=("ftp://ftp.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip"
|
||||
"$pkgname.maps")
|
||||
options=(!strip)
|
||||
install=texlive.install
|
||||
md5sums=('3c02f6dd6b3b03b37a5cfd60457bc07a'
|
||||
'b71ac4faaf8a8dd13a2c544c9a64c2e8')
|
||||
|
||||
md5sums=('c913b3c01bdcf81da80e4833cd4cc691'
|
||||
'82c03f7226e1df4440f30c89c05ee653')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}"
|
||||
@ -73,6 +72,9 @@ package() {
|
||||
rm -f $pkgdir/usr/share/texmf-dist/tex/plain/config/{omega,aleph}.ini
|
||||
rm -rf $pkgdir/usr/share/texmf-dist/scripts/context/stubs/mswin/
|
||||
|
||||
# remove upstream updmap.cfg: it contains too many maps.
|
||||
rm "${pkgdir}/usr/share/texmf-dist/web2c/updmap.cfg"
|
||||
|
||||
# link programs from /usr/share/texmf-dist/scripts
|
||||
_linked_scripts="
|
||||
accfonts/mkt1font
|
||||
@ -80,6 +82,7 @@ accfonts/vpl2ovp
|
||||
accfonts/vpl2vpl
|
||||
bundledoc/arlatex
|
||||
bundledoc/bundledoc
|
||||
checkcites/checkcites.lua
|
||||
context/perl/mptopdf.pl
|
||||
ctanify/ctanify
|
||||
ctanupload/ctanupload.pl
|
||||
@ -89,17 +92,14 @@ epstopdf/epstopdf.pl
|
||||
findhyph/findhyph
|
||||
fontools/afm2afm
|
||||
fontools/autoinst
|
||||
fontools/cmap2enc
|
||||
fontools/font2afm
|
||||
fontools/ot2kpx
|
||||
fontools/pfm2kpx
|
||||
fontools/showglyphs
|
||||
fragmaster/fragmaster.pl
|
||||
installfont/installfont-tl
|
||||
latex2man/latex2man
|
||||
latexdiff/latexdiff-vc.pl
|
||||
latexdiff/latexdiff.pl
|
||||
latexdiff/latexrevise.pl
|
||||
latexfileversion/latexfileversion
|
||||
latexmk/latexmk.pl
|
||||
luaotfload/mkluatexfontdb.lua
|
||||
match_parens/match_parens
|
||||
|
@ -4,6 +4,7 @@ Map fpls.map
|
||||
Map l7x-urwvn.map
|
||||
Map lm.map
|
||||
Map marvosym.map
|
||||
Map mathpple.map
|
||||
Map original-context-symbol.map
|
||||
Map pazo.map
|
||||
Map pxfonts.map
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
|
||||
pkgname=texlive-fontsextra
|
||||
pkgver=2011.24706
|
||||
_revnr=${pkgver#2011.}
|
||||
pkgver=2012.26866
|
||||
_revnr=${pkgver#2012.}
|
||||
pkgrel=1
|
||||
pkgdesc="TeX Live - all sorts of extra fonts"
|
||||
license=('GPL')
|
||||
@ -15,12 +15,12 @@ arch=(any)
|
||||
depends=('texlive-core')
|
||||
groups=('texlive-most')
|
||||
url='http://tug.org/texlive/'
|
||||
source=("http://mirror.ancl.hawaii.edu/linux/archlinux/other/texlive/${pkgname}-${pkgver}-src.zip" "$pkgname.maps")
|
||||
source=("ftp://ftp.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip" "$pkgname.maps")
|
||||
options=('!emptydirs')
|
||||
options=(!strip)
|
||||
install=texlive.install
|
||||
md5sums=('cae6076c03573799db348923a4582d97'
|
||||
'6e84e4a8ee6a25adec39cd6310d9bef2')
|
||||
md5sums=('f75e552c4573ce73d3eee03fffee723f'
|
||||
'4a2f2b3b4527655fb47ab0d59b01bfea')
|
||||
|
||||
build() {
|
||||
cd $srcdir
|
||||
@ -31,6 +31,8 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir"
|
||||
|
||||
install -m755 -d $pkgdir/var/lib/texmf/arch/installedpkgs
|
||||
sed -i '/^#/d' CONTENTS
|
||||
install -m644 CONTENTS $pkgdir/var/lib/texmf/arch/installedpkgs/${pkgname}_${_revnr}.pkgs
|
||||
|
@ -5,6 +5,7 @@ Map ArtNouv.map
|
||||
Map ArtNouvc.map
|
||||
Map BulletsADF.map
|
||||
Map Carrickc.map
|
||||
Map CountriesOfEurope.map
|
||||
Map ESSTIX.map
|
||||
Map Eichenla.map
|
||||
Map Eileen.map
|
||||
@ -31,6 +32,7 @@ Map ap.map
|
||||
Map archaicprw.map
|
||||
Map arev.map
|
||||
Map ascii.map
|
||||
Map aspectratio.map
|
||||
Map augie.map
|
||||
Map auncial.map
|
||||
Map aurical.map
|
||||
@ -77,7 +79,9 @@ Map linearA.map
|
||||
Map mathabx.map
|
||||
Map mdbch.map
|
||||
Map mdput.map
|
||||
Map mdsymbol.map
|
||||
Map mdugm.map
|
||||
Map ntx.map
|
||||
Map ocrb.map
|
||||
Map opensans.map
|
||||
Map paratype-type1.map
|
||||
@ -87,6 +91,7 @@ Map prodint.map
|
||||
Map pxtx.map
|
||||
Map recycle.map
|
||||
Map rsfso.map
|
||||
Map sansmathaccent.map
|
||||
Map sqrcaps.map
|
||||
Map starfont.map
|
||||
Map tfrupee.map
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
|
||||
pkgname=texlive-htmlxml
|
||||
pkgver=2011.24013
|
||||
pkgver=2012.24013
|
||||
_revnr=${pkgver#2011.}
|
||||
pkgrel=1
|
||||
pkgdesc="TeX Live - Packages to convert LaTeX to XML/HTML, and typeset XML/SGML"
|
||||
@ -14,10 +14,10 @@ arch=(any)
|
||||
depends=('texlive-core')
|
||||
groups=('texlive-most')
|
||||
url='http://tug.org/texlive/'
|
||||
source=("http://mirror.ancl.hawaii.edu/linux/archlinux/other/texlive/${pkgname}-${pkgver}-src.zip")
|
||||
source=("ftp://ftp.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip")
|
||||
options=('!emptydirs')
|
||||
install=texlive.install
|
||||
md5sums=('1fd5dbf7fd8ae85708643486548da0ce')
|
||||
md5sums=('1e468991ffadc7a36f9cc6ed01b83fcb')
|
||||
|
||||
build() {
|
||||
for p in *.tar.xz; do
|
||||
|
@ -7,8 +7,8 @@
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=texlive-latexextra
|
||||
pkgver=2011.24718
|
||||
_revnr=${pkgver#2011.}
|
||||
pkgver=2012.26807
|
||||
_revnr=${pkgver#2012.}
|
||||
pkgrel=1
|
||||
pkgdesc="TeX Live - Large collection of add-on packages for LaTeX"
|
||||
license=('GPL')
|
||||
@ -20,12 +20,12 @@ optdepends=(
|
||||
)
|
||||
groups=('texlive-most')
|
||||
url='http://tug.org/texlive/'
|
||||
source=("http://mirror.ancl.hawaii.edu/linux/archlinux/other/texlive/${pkgname}-${pkgver}-src.zip"
|
||||
source=("ftp://ftp.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip"
|
||||
"$pkgname.maps")
|
||||
options=('!emptydirs')
|
||||
options=(!strip)
|
||||
install=texlive.install
|
||||
md5sums=('23462bd44d924c087b683369f58d3830'
|
||||
md5sums=('868dc1824391768e120fdd71ba28e520'
|
||||
'9e4825f47dac663dd62c4bfa67899e84')
|
||||
|
||||
build() {
|
||||
@ -64,7 +64,6 @@ package() {
|
||||
ln -s /usr/share/texmf-dist/scripts/pax/pdfannotextractor.pl $pkgdir/usr/bin/pdfannotextractor
|
||||
ln -s /usr/share/texmf-dist/scripts/ppower4/pdfthumb.tlu $pkgdir/usr/bin/pdfthumb
|
||||
ln -s /usr/share/texmf-dist/scripts/perltex/perltex.pl $pkgdir/usr/bin/perltex
|
||||
#ln -s /usr/share/texmf-dist/scripts/ppower4/ppower4.tlu $pkgdir/usr/bin/ppower4
|
||||
ln -s /usr/share/texmf-dist/scripts/pst-pdf/ps4pdf $pkgdir/usr/bin/ps4pdf
|
||||
ln -s /usr/share/texmf-dist/scripts/splitindex/perl/splitindex.pl $pkgdir/usr/bin/splitindex
|
||||
ln -s /usr/share/texmf-dist/scripts/svn-multi/svn-multi.pl $pkgdir/usr/bin/svn-multi
|
||||
|
Loading…
Reference in New Issue
Block a user