mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-13 19:49:03 +08:00
texlive-bin/core 2017
This commit is contained in:
parent
0303dd6dfb
commit
52b353b2b2
@ -1,9 +1,9 @@
|
|||||||
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/texlive-bin
|
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/texlive-bin
|
||||||
|
|
||||||
pkgname=('texlive-bin' 'libsynctex')
|
pkgname=('texlive-bin' 'libsynctex')
|
||||||
pkgver=2016.41290
|
pkgver=2017.44590
|
||||||
pkgrel=8
|
pkgrel=2
|
||||||
_biber_ver=2.5 # for biblatex 3.4 only.
|
_biber_ver=2.6 # for biblatex 3.5 only.
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
makedepends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler'
|
makedepends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler'
|
||||||
@ -12,27 +12,44 @@ makedepends=('cairo' 'pixman' 'graphite' 't1lib' 'gd' 'poppler'
|
|||||||
'perl' 'clisp' 'ffcall')
|
'perl' 'clisp' 'ffcall')
|
||||||
url='http://tug.org/texlive/'
|
url='http://tug.org/texlive/'
|
||||||
source=("http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-source-${pkgver}.tar.xz"
|
source=("http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-source-${pkgver}.tar.xz"
|
||||||
"http://downloads.sourceforge.net/project/biblatex-biber/biblatex-biber/${_biber_ver}/binaries/Linux/biber-linux_x86_64.tar.gz")
|
"http://downloads.sourceforge.net/project/biblatex-biber/biblatex-biber/${_biber_ver}/binaries/Linux/biber-linux_x86_64.tar.gz"
|
||||||
|
"luatex-gcc7.patch"
|
||||||
|
"texlive-poppler-0.59.patch")
|
||||||
noextract=(biber-linux_x86_64.tar.gz)
|
noextract=(biber-linux_x86_64.tar.gz)
|
||||||
md5sums=('7303361f2d441eb5c962a996fd77e8fa'
|
md5sums=('aef593aa0021ececdaeb0845e85ec70b'
|
||||||
'688235040e2cab1020b7e75a03845a1c')
|
'25709fa4b66c57ec2dfe9e382f23d72c'
|
||||||
|
'd5d1671308eba33b4f23b697834485c6'
|
||||||
|
'382d5c6a3261d35055bd65974ebbd5f5')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
tar xf biber-linux_x86_64.tar.gz
|
||||||
|
|
||||||
|
cd "$srcdir/source"
|
||||||
|
|
||||||
|
# t4ht expects to be un /usr/share/texmf/bin/t4ht (FS#27251)
|
||||||
|
sed -i s/SELFAUTOPARENT/TEXMFROOT/ texk/tex4htk/t4ht.c
|
||||||
|
|
||||||
|
## prevent compiling Xdvi with libXp
|
||||||
|
sed -i~ 's|-lXp ||' texk/xdvik/configure
|
||||||
|
|
||||||
|
# Luatex crashes when compiled with GCC7.1
|
||||||
|
patch -Np0 -i "${srcdir}/luatex-gcc7.patch"
|
||||||
|
|
||||||
|
# Poppler 0.58 introduces API changes by hiding internal object
|
||||||
|
# management.
|
||||||
|
patch -Np1 -i "${srcdir}/texlive-poppler-0.59.patch"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
export CFLAGS="${CFLAGS} -fPIC"
|
cd "$srcdir"
|
||||||
export CXXFLAGS="${CXXFLAGS} -fPIC"
|
|
||||||
tar xf biber-linux_x86_64.tar.gz
|
#############################################################
|
||||||
|
### configure
|
||||||
# t4ht expects to be un /usr/share/texmf/bin/t4ht
|
cd source
|
||||||
# t4ht expects to be un /usr/share/texmf/bin/t4ht (FS#27251)
|
mkdir -p Work
|
||||||
sed -i s/SELFAUTOPARENT/TEXMFROOT/ source/texk/tex4htk/t4ht.c
|
cd Work
|
||||||
#############################################################
|
echo "--> Initial configuration..."
|
||||||
### configure
|
|
||||||
cd source
|
|
||||||
## prevent compiling Xdvi with libXp
|
|
||||||
sed -i~ 's|-lXp ||' texk/xdvik/configure
|
|
||||||
test ! -d Work && mkdir Work
|
|
||||||
cd Work
|
|
||||||
echo "--> Initial configuration..."
|
|
||||||
# we use temporary prefix to avoid messing the existing
|
# we use temporary prefix to avoid messing the existing
|
||||||
# $pkgdir/usr/share/texmf tree
|
# $pkgdir/usr/share/texmf tree
|
||||||
# system zlib is disabled due to issues with zlib 1.2.6 (FS#28221)
|
# system zlib is disabled due to issues with zlib 1.2.6 (FS#28221)
|
||||||
@ -91,9 +108,8 @@ package_libsynctex() {
|
|||||||
|
|
||||||
install -d "$pkgdir"/usr/lib
|
install -d "$pkgdir"/usr/lib
|
||||||
|
|
||||||
for lib in "$srcdir"/source/Work/texk/web2c/.libs/libsynctex.so*; do
|
cd "${srcdir}/source/Work"
|
||||||
cp -P $lib "$pkgdir"/usr/lib/
|
make -C texk/web2c DESTDIR="${pkgdir}" install-data-am install-libLTLIBRARIES
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_texlive-bin() {
|
package_texlive-bin() {
|
||||||
@ -109,67 +125,65 @@ package_texlive-bin() {
|
|||||||
options=('!strip')
|
options=('!strip')
|
||||||
|
|
||||||
#############################################################
|
#############################################################
|
||||||
### install
|
### install
|
||||||
cd source
|
cd source
|
||||||
# fixes for xindy
|
# fixes for xindy
|
||||||
find utils/xindy -name Makefile \
|
find utils/xindy -name Makefile -exec sed -i -e "s|^prefix =.\+$|prefix = $pkgdir/usr|" -e "s|^mandir =.\+$|mandir = \${prefix}/share/man|" -e "s|^datadir =.\+$|datadir = \${datarootdir}/texmf|" -e "s|^docdir =.\+$|docdir = \${datadir}/doc/xindy|" '{}' \;
|
||||||
-exec sed -i -e "s|^prefix =.\+$|prefix = $pkgdir/usr|" \
|
|
||||||
-e "s|^mandir =.\+$|mandir = \${prefix}/share/man|" \
|
|
||||||
-e "s|^datadir =.\+$|datadir = \${datarootdir}/texmf|" \
|
|
||||||
-e "s|^docdir =.\+$|docdir = \${datadir}/doc/xindy|" '{}' \;
|
|
||||||
|
|
||||||
echo "-------------------------------------------------------"
|
## install biber
|
||||||
echo "--> Proceeding with make install ..."
|
install -m755 "${srcdir}"/biber "${pkgdir}/usr/bin/biber"
|
||||||
echo "-------------------------------------------------------"
|
|
||||||
cd Work
|
echo "-------------------------------------------------------"
|
||||||
make DESTDIR="${pkgdir}" texmf="$pkgdir"/usr/share/texmf install
|
echo "--> Proceeding with make install ..."
|
||||||
rm -rf "${pkgdir}"/usr/{texmf,share/texmf-dist}
|
echo "-------------------------------------------------------"
|
||||||
|
cd Work
|
||||||
|
make DESTDIR="${pkgdir}" texmf="$pkgdir"/usr/share/texmf install
|
||||||
|
rm -rf "${pkgdir}"/usr/{texmf,share/texmf-dist}
|
||||||
|
|
||||||
## install biber
|
## symlink engines by hand. texlinks has moved to texlive-core...
|
||||||
install -m755 "${srcdir}"/biber "${pkgdir}/usr/bin/biber"
|
mkdir -p ${pkgdir}/usr/bin
|
||||||
|
ln -s eptex ${pkgdir}/usr/bin/platex
|
||||||
|
ln -s euptex ${pkgdir}/usr/bin/uplatex
|
||||||
|
ln -s luatex ${pkgdir}/usr/bin/dvilualatex
|
||||||
|
ln -s luatex ${pkgdir}/usr/bin/dviluatex
|
||||||
|
ln -s luatex ${pkgdir}/usr/bin/lualatex
|
||||||
|
ln -s pdftex ${pkgdir}/usr/bin/amstex
|
||||||
|
ln -s pdftex ${pkgdir}/usr/bin/cslatex
|
||||||
|
ln -s pdftex ${pkgdir}/usr/bin/csplain
|
||||||
|
ln -s pdftex ${pkgdir}/usr/bin/eplain
|
||||||
|
ln -s pdftex ${pkgdir}/usr/bin/etex
|
||||||
|
ln -s pdftex ${pkgdir}/usr/bin/jadetex
|
||||||
|
ln -s pdftex ${pkgdir}/usr/bin/latex
|
||||||
|
ln -s tex ${pkgdir}/usr/bin/lollipop
|
||||||
|
ln -s pdftex ${pkgdir}/usr/bin/mex
|
||||||
|
ln -s pdftex ${pkgdir}/usr/bin/mllatex
|
||||||
|
ln -s pdftex ${pkgdir}/usr/bin/mltex
|
||||||
|
ln -s pdftex ${pkgdir}/usr/bin/pdfetex
|
||||||
|
ln -s pdftex ${pkgdir}/usr/bin/pdfcslatex
|
||||||
|
ln -s pdftex ${pkgdir}/usr/bin/pdfcsplain
|
||||||
|
ln -s pdftex ${pkgdir}/usr/bin/pdfjadetex
|
||||||
|
ln -s pdftex ${pkgdir}/usr/bin/pdflatex
|
||||||
|
ln -s pdftex ${pkgdir}/usr/bin/pdfmex
|
||||||
|
ln -s pdftex ${pkgdir}/usr/bin/pdfxmltex
|
||||||
|
ln -s pdftex ${pkgdir}/usr/bin/texsis
|
||||||
|
ln -s pdftex ${pkgdir}/usr/bin/utf8mex
|
||||||
|
ln -s pdftex ${pkgdir}/usr/bin/xmltex
|
||||||
|
ln -s xetex ${pkgdir}/usr/bin/xelatex
|
||||||
|
|
||||||
## symlink engines by hand. texlinks has moved to texlive-core...
|
#############################################################
|
||||||
mkdir -p ${pkgdir}/usr/bin
|
# remove dangling symlinks
|
||||||
ln -s eptex ${pkgdir}/usr/bin/platex
|
_bibtexextra_scripts="
|
||||||
ln -s euptex ${pkgdir}/usr/bin/uplatex
|
bbl2bib
|
||||||
ln -s luatex ${pkgdir}/usr/bin/dvilualatex
|
|
||||||
ln -s luatex ${pkgdir}/usr/bin/dviluatex
|
|
||||||
ln -s luatex ${pkgdir}/usr/bin/lualatex
|
|
||||||
ln -s pdftex ${pkgdir}/usr/bin/amstex
|
|
||||||
ln -s pdftex ${pkgdir}/usr/bin/cslatex
|
|
||||||
ln -s pdftex ${pkgdir}/usr/bin/csplain
|
|
||||||
ln -s pdftex ${pkgdir}/usr/bin/eplain
|
|
||||||
ln -s pdftex ${pkgdir}/usr/bin/etex
|
|
||||||
ln -s pdftex ${pkgdir}/usr/bin/jadetex
|
|
||||||
ln -s pdftex ${pkgdir}/usr/bin/latex
|
|
||||||
ln -s tex ${pkgdir}/usr/bin/lollipop
|
|
||||||
ln -s pdftex ${pkgdir}/usr/bin/mex
|
|
||||||
ln -s pdftex ${pkgdir}/usr/bin/mllatex
|
|
||||||
ln -s pdftex ${pkgdir}/usr/bin/mltex
|
|
||||||
ln -s pdftex ${pkgdir}/usr/bin/pdfetex
|
|
||||||
ln -s pdftex ${pkgdir}/usr/bin/pdfcslatex
|
|
||||||
ln -s pdftex ${pkgdir}/usr/bin/pdfcsplain
|
|
||||||
ln -s pdftex ${pkgdir}/usr/bin/pdfjadetex
|
|
||||||
ln -s pdftex ${pkgdir}/usr/bin/pdflatex
|
|
||||||
ln -s pdftex ${pkgdir}/usr/bin/pdfmex
|
|
||||||
ln -s pdftex ${pkgdir}/usr/bin/pdfxmltex
|
|
||||||
ln -s pdftex ${pkgdir}/usr/bin/texsis
|
|
||||||
ln -s pdftex ${pkgdir}/usr/bin/utf8mex
|
|
||||||
ln -s pdftex ${pkgdir}/usr/bin/xmltex
|
|
||||||
ln -s xetex ${pkgdir}/usr/bin/xelatex
|
|
||||||
|
|
||||||
#############################################################
|
|
||||||
# remove dangling symlinks
|
|
||||||
_bibtexextra_scripts="
|
|
||||||
bibexport
|
|
||||||
bibdoiadd
|
bibdoiadd
|
||||||
|
bibexport
|
||||||
|
bibmradd
|
||||||
bibzbladd
|
bibzbladd
|
||||||
listbib
|
listbib
|
||||||
ltx2crossrefxml
|
ltx2crossrefxml
|
||||||
multibibliography
|
multibibliography
|
||||||
urlbst
|
urlbst
|
||||||
"
|
"
|
||||||
_core_scripts="
|
_core_scripts="
|
||||||
a2ping
|
a2ping
|
||||||
a5toa4
|
a5toa4
|
||||||
adhocfilelist
|
adhocfilelist
|
||||||
@ -202,15 +216,26 @@ epstopdf
|
|||||||
findhyph
|
findhyph
|
||||||
fmtutil
|
fmtutil
|
||||||
fmtutil-sys
|
fmtutil-sys
|
||||||
|
fmtutil-user
|
||||||
fontinst
|
fontinst
|
||||||
fragmaster
|
fragmaster
|
||||||
|
ht
|
||||||
|
htcontext
|
||||||
|
htlatex
|
||||||
|
htmex
|
||||||
|
httex
|
||||||
|
httexi
|
||||||
|
htxelatex
|
||||||
|
htxetex
|
||||||
installfont-tl
|
installfont-tl
|
||||||
kpsepath
|
kpsepath
|
||||||
kpsetool
|
kpsetool
|
||||||
kpsewhere
|
kpsewhere
|
||||||
kpsexpand
|
kpsexpand
|
||||||
latex-git-log
|
latex-git-log
|
||||||
|
latex-papersize
|
||||||
latex2man
|
latex2man
|
||||||
|
latex2nemeth
|
||||||
latexdiff
|
latexdiff
|
||||||
latexdiff-vc
|
latexdiff-vc
|
||||||
latexfileversion
|
latexfileversion
|
||||||
@ -224,9 +249,11 @@ ltximg
|
|||||||
lua2dox_filter
|
lua2dox_filter
|
||||||
luaotfload-tool
|
luaotfload-tool
|
||||||
luatools
|
luatools
|
||||||
|
lwarpmk
|
||||||
make4ht
|
make4ht
|
||||||
match_parens
|
match_parens
|
||||||
mf2pt1
|
mf2pt1
|
||||||
|
mk4ht
|
||||||
mkjobtexmf
|
mkjobtexmf
|
||||||
mkt1font
|
mkt1font
|
||||||
mktexfmt
|
mktexfmt
|
||||||
@ -247,6 +274,7 @@ pdfjam-pocketmod
|
|||||||
pdfjam-slides3up
|
pdfjam-slides3up
|
||||||
pdfjam-slides6up
|
pdfjam-slides6up
|
||||||
pdfjoin
|
pdfjoin
|
||||||
|
pdflatexpicscale
|
||||||
pdfnup
|
pdfnup
|
||||||
pdfpun
|
pdfpun
|
||||||
pdfxup
|
pdfxup
|
||||||
@ -281,27 +309,32 @@ texlinks
|
|||||||
texliveonfly
|
texliveonfly
|
||||||
texloganalyser
|
texloganalyser
|
||||||
texmfstart
|
texmfstart
|
||||||
|
texosquery
|
||||||
|
texosquery-jre5
|
||||||
|
texosquery-jre8
|
||||||
thumbpdf
|
thumbpdf
|
||||||
typeoutfileinfo
|
typeoutfileinfo
|
||||||
updmap
|
updmap
|
||||||
updmap-sys
|
updmap-sys
|
||||||
|
updmap-user
|
||||||
vpl2ovp
|
vpl2ovp
|
||||||
vpl2vpl
|
vpl2vpl
|
||||||
|
xhlatex
|
||||||
xindy
|
xindy
|
||||||
"
|
"
|
||||||
_games_scripts="rubikrotation"
|
_games_scripts="rubikrotation"
|
||||||
_htmlxml_scripts="ht htcontext htlatex htmex httex httexi htxelatex htxetex mk4ht"
|
|
||||||
_humanities_scripts="diadia"
|
_humanities_scripts="diadia"
|
||||||
_langcyrillic_scripts="rubibtex rumakeindex"
|
_langcyrillic_scripts="rubibtex rumakeindex"
|
||||||
_langextra_scripts="ebong"
|
_langextra_scripts="ebong"
|
||||||
_langgreek_scripts="mkgrkindex"
|
_langgreek_scripts="mkgrkindex"
|
||||||
_langjapanese_scripts="convbkmk ptex2pdf
|
_langjapanese_scripts="convbkmk ptex2pdf
|
||||||
kanji-fontmap-creator
|
kanji-fontmap-creator
|
||||||
kanji-config-updmap
|
kanji-config-updmap
|
||||||
kanji-config-updmap-sys
|
kanji-config-updmap-sys
|
||||||
|
kanji-config-updmap-user
|
||||||
"
|
"
|
||||||
_langkorean_scripts="jamo-normalize komkindex ttf2kotexfont"
|
_langkorean_scripts="jamo-normalize komkindex ttf2kotexfont"
|
||||||
_latexextra_scripts="
|
_latexextra_scripts="
|
||||||
authorindex
|
authorindex
|
||||||
exceltex
|
exceltex
|
||||||
makedtx
|
makedtx
|
||||||
@ -314,8 +347,8 @@ splitindex
|
|||||||
svn-multi
|
svn-multi
|
||||||
vpe
|
vpe
|
||||||
yplan"
|
yplan"
|
||||||
_music_scripts="lily-glyph-commands lily-image-commands lily-rebuild-pdfs
|
_music_scripts="lily-glyph-commands lily-image-commands lily-rebuild-pdfs
|
||||||
m-tx musixtex musixflx pmx2pdf pmxchords"
|
m-tx musixtex musixflx pmxchords"
|
||||||
_pictures_scripts="
|
_pictures_scripts="
|
||||||
cachepic
|
cachepic
|
||||||
epspdf
|
epspdf
|
||||||
@ -325,29 +358,32 @@ getmapdl
|
|||||||
mathspic
|
mathspic
|
||||||
mkpic
|
mkpic
|
||||||
pn2pdf"
|
pn2pdf"
|
||||||
_pstricks_scripts="pedigree pst2pdf"
|
_pstricks_scripts="pedigree pst2pdf"
|
||||||
_science_scripts="pygmentex ulqda"
|
_science_scripts="pygmentex ulqda"
|
||||||
for s in \
|
for s in \
|
||||||
${_bibtexextra_scripts} \
|
${_bibtexextra_scripts} \
|
||||||
${_core_scripts} \
|
${_core_scripts} \
|
||||||
${_games_scripts} \
|
${_games_scripts} \
|
||||||
${_htmlxml_scripts} \
|
${_htmlxml_scripts} \
|
||||||
${_humanities_scripts} \
|
${_humanities_scripts} \
|
||||||
${_langcyrillic_scripts} \
|
${_langcyrillic_scripts} \
|
||||||
${_langextra_scripts} \
|
${_langextra_scripts} \
|
||||||
${_langgreek_scripts} \
|
${_langgreek_scripts} \
|
||||||
${_langjapanese_scripts} \
|
${_langjapanese_scripts} \
|
||||||
${_langkorean_scripts} \
|
${_langkorean_scripts} \
|
||||||
${_latexextra_scripts} \
|
${_latexextra_scripts} \
|
||||||
${_music_scripts} \
|
${_music_scripts} \
|
||||||
${_pictures_scripts} \
|
${_pictures_scripts} \
|
||||||
${_pstricks_scripts} \
|
${_pstricks_scripts} \
|
||||||
${_science_scripts} \
|
${_science_scripts} \
|
||||||
tlmgr; do
|
tlmgr; do
|
||||||
! readlink -e "$pkgdir"/usr/bin/$s && rm "$pkgdir"/usr/bin/$s
|
! readlink -e "$pkgdir"/usr/bin/$s && rm "$pkgdir"/usr/bin/$s
|
||||||
done
|
done
|
||||||
###################################################################
|
###################################################################
|
||||||
|
|
||||||
# remove libsynctex
|
# remove libsynctex
|
||||||
rm -f "$pkgdir"/usr/lib/libsynctex.*
|
rm -f "$pkgdir"/usr/include/synctex/*
|
||||||
|
rm -f "$pkgdir"/usr/lib/libsynctex.*
|
||||||
|
rm -f "$pkgdir"/usr/lib/pkgconfig/synctex.pc
|
||||||
|
rm -f "$pkgdir"/usr/share/man/man*/synctex.*
|
||||||
}
|
}
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
--- source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/noprefs.c.orig 2009-09-30 19:27:00.935039526 +0200
|
|
||||||
+++ source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/noprefs.c 2009-09-30 19:28:04.908364646 +0200
|
|
||||||
@@ -495,6 +495,9 @@
|
|
||||||
{ "Big5HKSCS", e_big5hkscs },
|
|
||||||
{ "Big5-HKSCS", e_big5hkscs },
|
|
||||||
{ "UTF-8", e_utf8 },
|
|
||||||
+ { "utf-8", e_utf8 },
|
|
||||||
+ { "UTF8", e_utf8 },
|
|
||||||
+ { "utf8", e_utf8 },
|
|
||||||
{ "ISO-10646/UTF-8", e_utf8 },
|
|
||||||
{ "ISO_10646/UTF-8", e_utf8 },
|
|
||||||
{ "UCS2", e_unicode },
|
|
32
texlive-bin/luatex-gcc7.patch
Normal file
32
texlive-bin/luatex-gcc7.patch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
Author: Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
---
|
||||||
|
texk/web2c/luatexdir/luaffi/ctype.c | 4 ++++
|
||||||
|
texk/web2c/luatexdir/luaffi/ffi.h | 2 +-
|
||||||
|
2 files changed, 5 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
--- texk/web2c/luatexdir/luaffi/ctype.c
|
||||||
|
+++ texk/web2c/luatexdir/luaffi/ctype.c 2017-05-31 13:08:25.421741873 +0000
|
||||||
|
@@ -245,6 +245,10 @@ void* to_cdata(lua_State* L, int idx, st
|
||||||
|
|
||||||
|
lua_pop(L, 1); /* mt */
|
||||||
|
cd = (struct cdata*) lua_touserdata(L, idx);
|
||||||
|
+ if (!cd) {
|
||||||
|
+ lua_pushnil(L);
|
||||||
|
+ return NULL;
|
||||||
|
+ }
|
||||||
|
*ct = cd->type;
|
||||||
|
lua_getuservalue(L, idx);
|
||||||
|
|
||||||
|
--- texk/web2c/luatexdir/luaffi/ffi.h
|
||||||
|
+++ texk/web2c/luatexdir/luaffi/ffi.h 2017-06-01 09:12:45.128442092 +0000
|
||||||
|
@@ -370,7 +370,7 @@ __declspec(align(16))
|
||||||
|
#endif
|
||||||
|
struct cdata {
|
||||||
|
const struct ctype type
|
||||||
|
-#ifdef __GNUC__
|
||||||
|
+#if 0 /* def __GNUC__ */
|
||||||
|
__attribute__ ((aligned(16)))
|
||||||
|
#endif
|
||||||
|
;
|
||||||
|
|
1142
texlive-bin/texlive-poppler-0.59.patch
Normal file
1142
texlive-bin/texlive-poppler-0.59.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -27,7 +27,7 @@ post_upgrade() {
|
|||||||
_pacout=$(pacman -Q texlive-core 2>/dev/null)
|
_pacout=$(pacman -Q texlive-core 2>/dev/null)
|
||||||
read corename corever <<< ${_pacout}
|
read corename corever <<< ${_pacout}
|
||||||
# only recreate formats if texlive-core has right version
|
# only recreate formats if texlive-core has right version
|
||||||
if [[ ${corever} == 2016* ]]; then
|
if [[ ${corever} == 2017* ]]; then
|
||||||
if [[ -f usr/bin/fmtutil-sys ]]; then
|
if [[ -f usr/bin/fmtutil-sys ]]; then
|
||||||
echo -n "recreating all formats..."
|
echo -n "recreating all formats..."
|
||||||
usr/bin/fmtutil-sys --all 1>/dev/null
|
usr/bin/fmtutil-sys --all 1>/dev/null
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/texlive-core
|
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/texlive-core
|
||||||
|
|
||||||
pkgname=texlive-core
|
pkgname=texlive-core
|
||||||
pkgver=2016.41471
|
pkgver=2017.44918
|
||||||
_revnr=${pkgver#2016.}
|
_revnr=${pkgver#2017.}
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="TeX Live core distribution"
|
pkgdesc="TeX Live core distribution"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
@ -26,6 +26,7 @@ replaces=('tetex' 'texlive-latex3')
|
|||||||
url='http://tug.org/texlive/'
|
url='http://tug.org/texlive/'
|
||||||
source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip"
|
source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip"
|
||||||
"$pkgname.maps"
|
"$pkgname.maps"
|
||||||
|
"$pkgname.fmts"
|
||||||
"texmf.cnf"
|
"texmf.cnf"
|
||||||
"texmfcnf.lua"
|
"texmfcnf.lua"
|
||||||
"09-texlive-fonts.conf")
|
"09-texlive-fonts.conf")
|
||||||
@ -41,8 +42,9 @@ backup=(etc/texmf/web2c/texmf.cnf \
|
|||||||
etc/texmf/web2c/fmtutil.cnf \
|
etc/texmf/web2c/fmtutil.cnf \
|
||||||
etc/texmf/web2c/mktex.cnf \
|
etc/texmf/web2c/mktex.cnf \
|
||||||
etc/texmf/xdvi/XDvi)
|
etc/texmf/xdvi/XDvi)
|
||||||
md5sums=('7e73ca95a2c2da5cb59af6fbb2aa40fe'
|
md5sums=('feee8bb3f8ea6c55941c5dcd9b423ac2'
|
||||||
'54a34f8ddbeccec2427e4d5763349f9b'
|
'54a34f8ddbeccec2427e4d5763349f9b'
|
||||||
|
'd38aaf62ad1e4d09113c44cd68d82fed'
|
||||||
'df537245012f3e5f05bdc55644b7a3df'
|
'df537245012f3e5f05bdc55644b7a3df'
|
||||||
'16ad4dc53deb00029baef1b01ba1d984'
|
'16ad4dc53deb00029baef1b01ba1d984'
|
||||||
'393a4bf67adc7ca5df2b386759d1a637')
|
'393a4bf67adc7ca5df2b386759d1a637')
|
||||||
@ -61,6 +63,7 @@ package() {
|
|||||||
sed -i '/^#/d' CONTENTS
|
sed -i '/^#/d' CONTENTS
|
||||||
install -m644 -D CONTENTS $pkgdir/var/lib/texmf/chakra/installedpkgs/${pkgname}_${_revnr}.pkgs
|
install -m644 -D CONTENTS $pkgdir/var/lib/texmf/chakra/installedpkgs/${pkgname}_${_revnr}.pkgs
|
||||||
install -m644 $pkgname.maps $pkgdir/var/lib/texmf/chakra/installedpkgs/
|
install -m644 $pkgname.maps $pkgdir/var/lib/texmf/chakra/installedpkgs/
|
||||||
|
install -m644 $pkgname.fmts $pkgdir/var/lib/texmf/chakra/installedpkgs/
|
||||||
install -m755 -d $pkgdir/usr/share
|
install -m755 -d $pkgdir/usr/share
|
||||||
wanteddirs=$(for d in *; do test -d $d && [[ $d != texmf* ]] && echo $d; done) || true
|
wanteddirs=$(for d in *; do test -d $d && [[ $d != texmf* ]] && echo $d; done) || true
|
||||||
for dir in $wanteddirs; do
|
for dir in $wanteddirs; do
|
||||||
@ -113,10 +116,6 @@ package() {
|
|||||||
"$pkgdir"/etc/texmf/xdvi/
|
"$pkgdir"/etc/texmf/xdvi/
|
||||||
# remove TL specific warnings in the language.{dat,def} files:
|
# 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
|
|
||||||
|
|
||||||
|
|
||||||
# replace upstream texmf.cnf with ours
|
# replace upstream texmf.cnf with ours
|
||||||
rm -f "$pkgdir"/usr/share/texmf-dist/web2c/texmf.cnf
|
rm -f "$pkgdir"/usr/share/texmf-dist/web2c/texmf.cnf
|
||||||
@ -126,8 +125,6 @@ package() {
|
|||||||
ln -sf /etc/texmf/web2c/texmf.cnf "$pkgdir"/usr/share/texmf-dist/web2c/texmf.cnf
|
ln -sf /etc/texmf/web2c/texmf.cnf "$pkgdir"/usr/share/texmf-dist/web2c/texmf.cnf
|
||||||
# replace upstream texmfcnf.lua with ours
|
# replace upstream texmfcnf.lua with ours
|
||||||
install -m644 "$srcdir"/texmfcnf.lua "$pkgdir"/usr/share/texmf-dist/web2c/texmfcnf.lua
|
install -m644 "$srcdir"/texmfcnf.lua "$pkgdir"/usr/share/texmf-dist/web2c/texmfcnf.lua
|
||||||
## remove aleph from fmtutil.cnf
|
|
||||||
sed -i -e '/aleph/d' "$pkgdir"/usr/share/texmf-dist/web2c/fmtutil.cnf
|
|
||||||
|
|
||||||
# create symlinks for formats
|
# create symlinks for formats
|
||||||
echo "--> Create symlinks for TeX formats ..."
|
echo "--> Create symlinks for TeX formats ..."
|
||||||
@ -187,6 +184,7 @@ de-macro/de-macro
|
|||||||
dosepsbin/dosepsbin.pl
|
dosepsbin/dosepsbin.pl
|
||||||
dtxgen/dtxgen
|
dtxgen/dtxgen
|
||||||
dviasm/dviasm.py
|
dviasm/dviasm.py
|
||||||
|
dviinfox/dviinfox.pl
|
||||||
epstopdf/epstopdf.pl
|
epstopdf/epstopdf.pl
|
||||||
findhyph/findhyph
|
findhyph/findhyph
|
||||||
fontools/afm2afm
|
fontools/afm2afm
|
||||||
@ -195,7 +193,9 @@ fontools/ot2kpx
|
|||||||
fragmaster/fragmaster.pl
|
fragmaster/fragmaster.pl
|
||||||
installfont/installfont-tl
|
installfont/installfont-tl
|
||||||
latex-git-log/latex-git-log
|
latex-git-log/latex-git-log
|
||||||
|
latex-papersize/latex-papersize.py
|
||||||
latex2man/latex2man
|
latex2man/latex2man
|
||||||
|
latex2nemeth/latex2nemeth
|
||||||
latexdiff/latexdiff-vc.pl
|
latexdiff/latexdiff-vc.pl
|
||||||
latexdiff/latexdiff.pl
|
latexdiff/latexdiff.pl
|
||||||
latexdiff/latexrevise.pl
|
latexdiff/latexrevise.pl
|
||||||
@ -207,13 +207,14 @@ ltxfileinfo/ltxfileinfo
|
|||||||
ltximg/ltximg.pl
|
ltximg/ltximg.pl
|
||||||
lua2dox/lua2dox_filter
|
lua2dox/lua2dox_filter
|
||||||
luaotfload/luaotfload-tool.lua
|
luaotfload/luaotfload-tool.lua
|
||||||
|
lwarp/lwarpmk.lua
|
||||||
make4ht/make4ht
|
make4ht/make4ht
|
||||||
match_parens/match_parens
|
match_parens/match_parens
|
||||||
mf2pt1/mf2pt1.pl
|
mf2pt1/mf2pt1.pl
|
||||||
mkjobtexmf/mkjobtexmf.pl
|
mkjobtexmf/mkjobtexmf.pl
|
||||||
oberdiek/pdfatfi.pl
|
oberdiek/pdfatfi.pl
|
||||||
pdfbook2/pdfbook2
|
pdfbook2/pdfbook2
|
||||||
pdfcrop/pdfcr
|
pdfcrop/pdfcrop.pl
|
||||||
pdfjam/pdf180
|
pdfjam/pdf180
|
||||||
pdfjam/pdf270
|
pdfjam/pdf270
|
||||||
pdfjam/pdf90
|
pdfjam/pdf90
|
||||||
@ -226,6 +227,7 @@ pdfjam/pdfjam-slides6up
|
|||||||
pdfjam/pdfjoin
|
pdfjam/pdfjoin
|
||||||
pdfjam/pdfnup
|
pdfjam/pdfnup
|
||||||
pdfjam/pdfpun
|
pdfjam/pdfpun
|
||||||
|
pdflatexpicscale/pdflatexpicscale.pl
|
||||||
pdfxup/pdfxup
|
pdfxup/pdfxup
|
||||||
pfarrei/a5toa4.tlu
|
pfarrei/a5toa4.tlu
|
||||||
pfarrei/pfarrei.tlu
|
pfarrei/pfarrei.tlu
|
||||||
@ -240,6 +242,16 @@ srcredact/srcredact.pl
|
|||||||
sty2dtx/sty2dtx.pl
|
sty2dtx/sty2dtx.pl
|
||||||
texcount/texcount.pl
|
texcount/texcount.pl
|
||||||
tex4ebook/tex4ebook
|
tex4ebook/tex4ebook
|
||||||
|
tex4ht/ht.sh
|
||||||
|
tex4ht/htcontext.sh
|
||||||
|
tex4ht/htlatex.sh
|
||||||
|
tex4ht/htmex.sh
|
||||||
|
tex4ht/httex.sh
|
||||||
|
tex4ht/httexi.sh
|
||||||
|
tex4ht/htxelatex.sh
|
||||||
|
tex4ht/htxetex.sh
|
||||||
|
tex4ht/mk4ht.pl
|
||||||
|
tex4ht/xhlatex.sh
|
||||||
texdef/texdef.pl
|
texdef/texdef.pl
|
||||||
texdiff/texdiff
|
texdiff/texdiff
|
||||||
texdirflatten/texdirflatten
|
texdirflatten/texdirflatten
|
||||||
@ -252,6 +264,7 @@ texlive/dvi2fax.sh
|
|||||||
texlive/dvired.sh
|
texlive/dvired.sh
|
||||||
texlive/e2pall.pl
|
texlive/e2pall.pl
|
||||||
texlive/fmtutil-sys.sh
|
texlive/fmtutil-sys.sh
|
||||||
|
texlive/fmtutil-user.sh
|
||||||
texlive/fmtutil.pl
|
texlive/fmtutil.pl
|
||||||
texlive/fontinst.sh
|
texlive/fontinst.sh
|
||||||
texlive/kpsetool.sh
|
texlive/kpsetool.sh
|
||||||
@ -264,6 +277,7 @@ texlive/texconfig-sys.sh
|
|||||||
texlive/texconfig.sh
|
texlive/texconfig.sh
|
||||||
texlive/texlinks.sh
|
texlive/texlinks.sh
|
||||||
texlive/updmap-sys.sh
|
texlive/updmap-sys.sh
|
||||||
|
texlive/updmap-user.sh
|
||||||
texlive/updmap.pl
|
texlive/updmap.pl
|
||||||
texliveonfly/texliveonfly.py
|
texliveonfly/texliveonfly.py
|
||||||
texloganalyser/texloganalyser
|
texloganalyser/texloganalyser
|
||||||
|
32
texlive-core/texlive-core.fmts
Normal file
32
texlive-core/texlive-core.fmts
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
cont-en pdftex cont-usr.tex -8bit *cont-en.mkii
|
||||||
|
cont-en xetex cont-usr.tex -8bit *cont-en.mkii
|
||||||
|
#! cont-fr pdftex cont-usr.tex -8bit *cont-fr.mkii
|
||||||
|
#! cont-it pdftex cont-usr.tex -8bit *cont-it.mkii
|
||||||
|
#! cont-nl pdftex cont-usr.tex -8bit *cont-nl.mkii
|
||||||
|
#! cont-ro pdftex cont-usr.tex -8bit *cont-ro.mkii
|
||||||
|
cslatex pdftex - -etex cslatex.ini
|
||||||
|
csplain pdftex - -etex -enc csplain-utf8.ini
|
||||||
|
dvilualatex luatex language.dat,language.dat.lua dvilualatex.ini
|
||||||
|
dviluatex luatex language.def,language.dat.lua dviluatex.ini
|
||||||
|
etex pdftex language.def -translate-file=cp227.tcx *etex.ini
|
||||||
|
latex pdftex language.dat -translate-file=cp227.tcx *latex.ini
|
||||||
|
#! luajitlatex luajittex language.dat,language.dat.lua lualatex.ini
|
||||||
|
luajittex luajittex language.def,language.dat.lua luatex.ini
|
||||||
|
lualatex luatex language.dat,language.dat.lua lualatex.ini
|
||||||
|
luatex luatex language.def,language.dat.lua luatex.ini
|
||||||
|
mex pdftex mexconf.tex -translate-file=cp227.tcx *mex.ini
|
||||||
|
mf mf-nowin - -translate-file=cp227.tcx mf.ini
|
||||||
|
#! mflua mflua-nowin - mf.ini
|
||||||
|
mptopdf pdftex - -translate-file=cp227.tcx mptopdf.tex
|
||||||
|
pdfcslatex pdftex - -etex cslatex.ini
|
||||||
|
pdfcsplain luatex - -etex csplain.ini
|
||||||
|
pdfcsplain pdftex - -etex -enc csplain-utf8.ini
|
||||||
|
pdfcsplain xetex - -etex csplain.ini
|
||||||
|
pdfetex pdftex language.def -translate-file=cp227.tcx *pdfetex.ini
|
||||||
|
pdflatex pdftex language.dat -translate-file=cp227.tcx *pdflatex.ini
|
||||||
|
pdfmex pdftex mexconf.tex -translate-file=cp227.tcx *pdfmex.ini
|
||||||
|
pdftex pdftex language.def -translate-file=cp227.tcx *pdfetex.ini
|
||||||
|
tex tex - tex.ini
|
||||||
|
utf8mex pdftex mexconf.tex -enc *utf8mex.ini
|
||||||
|
xelatex xetex language.dat -etex xelatex.ini
|
||||||
|
xetex xetex language.def -etex xetex.ini
|
Loading…
Reference in New Issue
Block a user