Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=texlivetesting.git;a=commitdiff;h=b50f7329a6cbbd63eb44b8e7ac32b70e6f02e477
commit b50f7329a6cbbd63eb44b8e7ac32b70e6f02e477 Author: Elentir <elen...@frugalware.org> Date: Fri Jun 19 11:29:52 2015 +0200 texlive-20150523-1-x86_64 * version bump diff --git a/source/xapps-extra/texlive/FrugalBuild b/source/xapps-extra/texlive/FrugalBuild index 8eae58c..e1565e7 100644 --- a/source/xapps-extra/texlive/FrugalBuild +++ b/source/xapps-extra/texlive/FrugalBuild @@ -4,32 +4,32 @@ options+=('asneeded') pkgname=texlive -pkgver=20120701 -pkgrel=8 +pkgver=20150523 +pkgrel=1 pkgdesc="A complete TeX distribution" archs=('i686' 'x86_64') -depends=('t1lib' 'gd' 'ncurses' 'poppler>=0.24.1-2' 'icu4c>=55.1' 'zlib>=1.2.8') +depends=('t1lib' 'gd' 'ncurses' 'poppler>=0.24.1-2' 'icu4c>=55.1' 'zlib>=1.2.8' 'graphite2' 'zziplib' 'libpaper' 'harfbuzz') rodepends=('ghostscript' 'perl') makedepends=('clisp' 'ffcall') url='http://tug.org/texlive/' -source=("ftp://tug.org/historic/systems/texlive/2012/$pkgname-$pkgver-source.tar.xz" \ - "ftp://tug.org/historic/systems/texlive/2012/$pkgname-$pkgver-texmf.tar.xz" \ - fix-fontforge-encoding.patch \ - texmf.cnf - 09-texlive.conf \ - luatex-radical-rule-thickness.patch) -up2date="Flasttar ftp://tug.org/historic/systems/texlive/2012/ | sed 's/_source//' | sed 's/_texmf//' | sed 's/_extra//'" +source=("ftp://tug.org/historic/systems/texlive/2015/$pkgname-20150521-source.tar.xz" \ + "ftp://tug.org/historic/systems/texlive/2015/$pkgname-$pkgver-texmf.tar.xz" \ + "ftp://tug.org/historic/systems/texlive/2015/$pkgname-$pkgver-extra.tar.xz" \ + texmf.cnf \ + texmfcnf.lua \ + 09-texlive.conf) +up2date="Flasttar ftp://tug.org/historic/systems/texlive/2015/ | sed 's/_source//' | sed 's/_texmf//' | sed 's/_extra//'" groups=('xapps-extra') conflicts=('tetex' 'tetex-kpathsea') provides=('tetex' 'tetex-kpathsea') replaces=('tetex' 'tetex-kpathsea') -sha1sums=('e41ef31eba27891f3434e01638d3559cc6958016' \ - '7248a27a8f278ff80b412b45e98aab9803859353' \ - '5301263529702ccfda0adb3706f461888dea22eb' \ - 'a58c7445f5544da89c13681e21f3b578727eb641' \ - 'bf7ba21d45bee78657105a5f2c5e7e24b8614859' \ - '73cb530b6b2b1146a477a17dd98ecaaedce42c58') -_F_cd_path="$pkgname-$pkgver-source" +sha1sums=('a32df8d5d6b61f87f7dab907e864fb51b14f4143' \ + '47780387d4061abaad62f955e0dddd0dbd13a3ef' \ + 'a71947b7d19d9b84a2005e8a41d1e1ff2cc32733' \ + '4fec5aa2a4eb504d96b802bd11376270658f923f' \ + '438b6ea0f2ee6813bed725a24313db1408189f0d' \ + 'bf7ba21d45bee78657105a5f2c5e7e24b8614859') +_F_cd_path="$pkgname-20150521-source" Fconfopts+=" \ --enable-build-in-source-tree \ --disable-native-texlive-build \ @@ -48,11 +48,21 @@ Fconfopts+=" \ --with-system-freetype2 \ --with-system-icu \ --disable-dump-share \ - --without-graphite \ + --with-system-graphite2 \ + --with-system-gmp \ + --with-system-mpfr \ + --with-system-cairo \ + --with-system-pixman \ + --with-system-poppler \ + --with-system-zziplib \ + --with-system-libpaper \ + --with-system-harfbuzz \ --enable-shared \ --with-clisp-runtime=default \ --enable-xindy --disable-xindy-rules --disable-xindy-docs" +#TODO: harfbuzz need to be recompiled with --with-graphite2=yes to be included here - use harfbuzz in TL source tree for now + subpkgs=("$pkgname-xindy" "$pkgname-docs" "$pkgname-fonts-extra" "$pkgname-bibtex-extra" "$pkgname-misc" \ "$pkgname-formats-extra" "$pkgname-templates-extra" "$pkgname-pstricks" "$pkgname-sciences" \ "$pkgname-htmlxml" "$pkgname-graphics" "$pkgname-latex-extra" "$pkgname-lang-cyrillic" \ @@ -97,13 +107,13 @@ build() { fi ## disable ptex from format list by default - Fsed "^ptex ptex - ptex.ini" "#ptex ptex - ptex.ini" ../$pkgname-$pkgver-texmf/texmf/web2c/fmtutil.cnf - Fsed "^eptex eptex" "#eptex eptex" ../$pkgname-$pkgver-texmf/texmf/web2c/fmtutil.cnf - Fsed "^platex eptex" "#platex eptex" ../$pkgname-$pkgver-texmf/texmf/web2c/fmtutil.cnf - + Fsed "^ptex ptex - ptex.ini" "#ptex ptex - ptex.ini" ../$pkgname-$pkgver-texmf/texmf-dist/web2c/fmtutil.cnf + Fsed "^eptex eptex" "#eptex eptex" ../$pkgname-$pkgver-texmf/texmf-dist/web2c/fmtutil.cnf + Fsed "^platex eptex" "#platex eptex" ../$pkgname-$pkgver-texmf/texmf-dist/web2c/fmtutil.cnf + ## remove original ls-R from texmf, that fix conflict with previous texlive ## mkteslsr 'll restore them - rm -rf $Fsrcdir/$pkgname-$pkgver-texmf/{texmf,texmf-dist}/ls-R || Fdie + rm -rf $Fsrcdir/$pkgname-$pkgver-texmf/texmf-dist/ls-R || Fdie Fsed "-lXp" "" texk/xdvik/configure Fsed "SELFAUTOPARENT" "TEXMFROOT" texk/tex4htk/t4ht.c @@ -112,44 +122,42 @@ build() { ## remove useless source files rm -rf $Fsrcdir/$pkgname-$pkgver-texmf/texmf-dist/source || Fdie + # copy tlpkg package (needed by udpmap and fmtutil) + Fcp $pkgname-$pkgver-extra/tlpkg usr/share/ # copy the extra packages - Fcp $pkgname-$pkgver-texmf/texmf/* usr/share/texmf/ Fcp $pkgname-$pkgver-texmf/texmf-dist/* usr/share/texmf-dist/ - ## files for tlpkg required by updmap - Fmkdir /usr/share/tlpkg/ - Fcp $pkgname-$pkgver-source/utils/biber/TeXLive /usr/share/tlpkg/ - ## install the config file with correct paths for kpathsea - Finstall 644 texmf.cnf usr/share/texmf/web2c/ + Finstall 644 texmf.cnf usr/share/texmf-dist/web2c/ + Finstall 644 texmfcnf.lua usr/share/texmf-dist/web2c/ # fix the broken symlinks since texmf{-dist} has move - for f in $Fdestdir/usr/bin/* ; do - if [ -L $f ]; then - target=$(file "$f" | sed "s/.*\`\(.*\)'/\1/") - if [[ "$target" == ..* ]]; then - newtarget=`echo $target | sed -e 's#../#/usr/#'` - rm -f $f - ln -s $newtarget $f - test -f $Fdestdir/$newtarget && chmod a+x $Fdestdir/$newtarget - fi - fi - done - - ## this link is not created by texlinks anymore - Frm usr/bin/mfplain + #for f in $Fdestdir/usr/bin/* ; do + # if [ -L $f ]; then + # target=`ls -l "$f" | sed 's/^.\+ -> //'` + # if [[ "$target" == ..* ]]; then + # newtarget=`echo $target | sed -e 's#../#/usr/#'` + # rm -f $f + # ln -sf $newtarget $f + # test -f $Fdestdir/$newtarget && chmod a+x $Fdestdir/$newtarget + # fi + # fi + #done # remove asymptote, we already have this =) - Frm usr/share/texmf/asymptote - Frm usr/share/texmf/doc/asymptote - Frm usr/share/texmf/tex/latex/asymptote - Frm usr/share/texmf/tex/context/asymptote + Frm usr/share/texmf-dist/asymptote + Frm usr/share/texmf-dist/doc/asymptote + Frm usr/share/texmf-dist/tex/latex/asymptote + Frm usr/share/texmf-dist/tex/context/asymptote for f in asy xasy; do Frm usr/share/man/man1/$f.1 done # remove xdvi, we already have this in xdvik =) - Frm usr/share/texmf/xdvi + Frm usr/share/texmf-dist/xdvi + + # This is not created by texlinks, remove it here and deal with this in .install + Frm usr/bin/mfplain ## Split all extra packages to a set of coherent subpkg ## If their is too many subpkg then finding a specific tex package @@ -157,9 +165,8 @@ build() { ## pkg is too big. cd $Fdestdir || Fdie - + ## Split the docs - Fsplit $pkgname-docs usr/share/texmf/doc Fsplit $pkgname-docs usr/share/texmf-dist/doc ## Split extra fonts @@ -182,7 +189,13 @@ build() { ptsans ptserif realscripts tfrupee urwchancal iwona kurier bbold-type1 starfont rsfso \ ocr-b-outline ocr-b mdputu dejavu dutchcal fonts-tlwg libertine-legacy opensans libertineotf \ mdsymbol tex-gyre-math jknappen aspectratio bartel-chess-fonts jablantile mdsymbol mflogo \ - musixtex-fonts pxtxalfa sansmathaccent newtx ; do + musixtex-fonts pxtxalfa sansmathaccent newtx ebgaramond librebaskerville newpx quattrocento \ + raleway sourcecodepro ascii-font bguq hacm ipaex-type1 sansmathfonts superiors cabin fontawesome \ + sansmathfonts schulschriften sourcesanspro aecc hacm punk-latex accanthis aleÂgreya anonyÂmousÂpro \ + baskervaldx caladea carlito cinzel clearsans countriesofeurope dantelogo drm ebgaramond-maths \ + erewhon fbb fetamont fira fontmfizz gentium-tug heuristica librecaslon lobster2 marvosym \ + merriweather mintspirit newtxsf newtxtt obnov overlock playfair roboto universalis venturisold \ + venturissans venturissans2 xcharter zlmtt alegreya anonymouspro; do listdir=`find usr/share/texmf-dist/ -name $i -type d ` for j in $listdir ; do Fsplit $pkgname-fonts-extra $j @@ -197,24 +210,39 @@ build() { abstyles biblatex biblatex-apa biblatex-chem biblatex-chicago-notes-dfbiblatex-dw biblatex-historian \ biblatex-nature biblatex-philosophy biblatex-science biblatex-ieee biblatex-chicago biblatex-dw \ biblatex-mla logreq polski adfathesis bgteubner cascadilla ksfh_nat vak babelbib usebib biblatex-bwl \ - biblatex-fiwi biblatex-juradiss biblatex-luh-ipw biblatex-musuos biblatex-nejm biblatex-swiss-legal ; do - listdir=`find usr/share/texmf-dist/ -name $i -type d ` + biblatex-fiwi biblatex-juradiss biblatex-luh-ipw biblatex-musuos biblatex-nejm biblatex-swiss-legal \ + multibibliography francais-bst multibibliography oscola biblatex-caspervector biblatex-gost \ + biblatex-phys biblatex-publist biblatex-trad uni-wtal-ger uni-wtal-lin biblatex-anonymous \ + biblatex-bookinarticle biblatex-manuscripts-philology biblatex-multiple-dm biblatex-realauthor \ + biblatex-source-division biblatex-subseries biblatex-true-citepages-omit chscite citeall \ + crossrefware germbib showtags turabian turabian-formatting; do + listdir=`find usr/share/texmf-dist/ -name $i -type d -prune` for j in $listdir ; do Fsplit $pkgname-bibtex-extra $j done + listfile=`find usr/bin/ -name $i -type f ` + for j in $listfile ; do + Fsplit $pkgname-bibtex-extra $j + done + for k in usr/bin/* ; do + if [ -L $k ]; then + target=`ls -l "$k" | sed 's/^.\+ -> //' | grep "\(^\|/\)$i\($\|/\)"` + if [[ "$target" != "" ]]; then + Fsplit $pkgname-bibtex-extra $k + fi + fi + done done ## htmlxml packages for i in jadetex tex4ht xmltex ; do listdir=`find usr/share/texmf-dist/ -name $i -type d ` - listdir+=' ' - listdir+=`find usr/share/texmf/ -name $i -type d ` for j in $listdir ; do Fsplit $pkgname-htmlxml $j done for k in usr/bin/* ; do if [ -L $k ]; then - target=`ls -l "$k" | sed 's/^.\+ -> //' | grep "/$i/"` + target=`ls -l "$k" | sed 's/^.\+ -> //' | grep "\(^\|/\)$i\($\|/\)"` if [[ "$target" != "" ]]; then Fsplit $pkgname-htmlxml $k fi @@ -240,7 +268,12 @@ build() { uiucthesis umich-thesis umthesis ut-thesis uwthesis vancouver vxu york-thesis elbioimp jmlr onrannual \ revtex4 ryethesis seuthesis soton unamthesis aomart apa6e cmpj dfgproposal elteikthesis fbithesis \ msuthesis powerdot suftesi uafthesis uothesis uowthesis msu-thesis sapthesis przechlewski-book ejpecp \ - fcltxdoc ; do + fcltxdoc abntex2 resphilosophica uestcthesis ebook matc3 matc3mem opteng pkuthss proposal scrjrnl \ + tabriz-thesis uadocs uestcthesis uiucredborder ulthese unswcover uspatent xcookybooky afparticle apa6 \ + bangorcsthesis brandeis-dissertation cnbwp csbulletin dccpaper dithesis ekaia elzcards feupphdteses \ + flipbook frletter gillius grundgesetze gsemthesis gzt komacv mcmthesis mugsthesis ndsu-thesis \ + pressrelease recipebook sduthesis sesamanuel sphdthesis sr-vorl thesis-ekf tudscr ucbthesis udesoftec \ + uowthesistitlepage urcls wsemclassic yathesis; do listdir=`find usr/share/texmf-dist/ -name $i -type d ` for j in $listdir ; do Fsplit $pkgname-templates-extra $j @@ -250,20 +283,36 @@ build() { ## games related packages for i in cchess chess chess-problem-diagrams chessboard chessfss crossword crosswrd egameps \ go hexgame jeopardy othello psgo sgame skak skaknew sudoku sudokubundle xq xskak piano \ - othelloboard schwalbe-chess gamebook ; do + othelloboard schwalbe-chess gamebook logicpuzzle rubik; do listdir=`find usr/share/texmf-dist/ -name $i -type d ` for j in $listdir ; do Fsplit $pkgname-misc $j done + for k in usr/bin/* ; do + if [ -L $k ]; then + target=`ls -l "$k" | sed 's/^.\+ -> //' | grep "\(^\|/\)$i\($\|/\)"` + if [[ "$target" != "" ]]; then + Fsplit $pkgname-misc $k + fi + fi + done done ## music related packages for i in abc figbas gchords guitar harmony musictex musixflx musixtex musixlyr musixps songbook \ - musixguit gtrcrd ; do + musixguit gtrcrd songs guitarchordschemes leadsheets pmxchords lilyglyphs; do listdir=`find usr/share/texmf-dist/ -name $i -type d ` for j in $listdir ; do Fsplit $pkgname-misc $j done + for k in usr/bin/* ; do + if [ -L $k ]; then + target=`ls -l "$k" | sed 's/^.\+ -> //' | grep "\(^\|/\)$i\($\|/\)"` + if [[ "$target" != "" ]]; then + Fsplit $pkgname-misc $k + fi + fi + done done ## misc packages that we don't want to see in main package @@ -275,7 +324,9 @@ build() { juramisc jurarsp jura juraabbrev bibleref xlop \ historische-zeitschrift texapi xcomment variations yax bibleref-french \ bibleref-german bibleref-parse edfnotes hausarbeit-jura latexfileinfo-pkgs \ - nowidow bibleref-lds bibleref-mouth codicefiscaleitaliano ; do + nowidow bibleref-lds bibleref-mouth codicefiscaleitaliano catcodes commado \ + langcode plainpkg schemata dvgloss eledform eledmac horoscop leipzig loops rrgtrees \ + textglos fifo-stack lexref metrix phonrule thalie; do listdir=`find usr/share/texmf-dist/ -name $i -type d ` for j in $listdir ; do Fsplit $pkgname-extra $j @@ -285,7 +336,7 @@ build() { ## plain packages for i in figflow fixpdfmag font-change fontch hyplain jsmisc mkpattern newsletr placeins-plain \ plgraph plnfss resumemac timetable treetex typespec varisize vertex graphics-pln js-misc pitex \ - getoptk hanoi ifetex ; do + getoptk hanoi ifetex plipsum plstmary present ; do listdir=`find usr/share/texmf-dist/ -name $i -type d ` for j in $listdir ; do Fsplit $pkgname-plain $j @@ -304,14 +355,15 @@ build() { ## extra languages packages for i in arabi arabtex armenian bangtex bengali burmese cjhebrew croatian ctib devnag ethiop ethiop-t1 \ fc hrlatex itrans malayalam mongolian-babel montex sanskrit soyombo velthuis vntex wnri otibet turkmen \ - persian-bib xepersian ocherokee oinuit spanglish wnri-latex persian-modern ; do + persian-bib xepersian ocherokee oinuit spanglish wnri-latex persian-modern aramaic-serto amiri basque-book \ + basque-date frenchle germkorr itnumpar lithuanian schule tracklang translations dad; do listdir=`find usr/share/texmf-dist/ -name $i -type d ` for j in $listdir ; do Fsplit $pkgname-lang-extra $j done for k in usr/bin/* ; do if [ -L $k ]; then - target=`ls -l "$k" | sed 's/^.\+ -> //' | grep "/$i/"` + target=`ls -l "$k" | sed 's/^.\+ -> //' | grep "\(^\|/\)$i\($\|/\)"` if [[ "$target" != "" ]]; then Fsplit $pkgname-lang-extra $k fi @@ -322,14 +374,14 @@ build() { ## greek language support for i in betababel bgreek cbfonts gfsbaskerville gfsporson greek-inputenc greekdates greektex grverb \ ibycus-babel ibygrk kdgreek kerkis levy lgreek mkgrkindex teubner xgreek yannisgr pxgreeks textgreek \ - lgrx ; do + lgrx greek-fontenc begingreek cbfonts-fd; do listdir=`find usr/share/texmf-dist/ -name $i -type d ` for j in $listdir ; do Fsplit $pkgname-lang-greek $j done for k in usr/bin/* ; do if [ -L $k ]; then - target=`ls -l "$k" | sed 's/^.\+ -> //' | grep "/$i/"` + target=`ls -l "$k" | sed 's/^.\+ -> //' | grep "\(^\|/\)$i\($\|/\)"` if [[ "$target" != "" ]]; then Fsplit $pkgname-lang-greek $k fi @@ -339,15 +391,30 @@ build() { ## chineese, corean, japaneese language packages for i in arphic c90 cjk cjkpunct cjkutils cns ctex dnp garuda-c90 norasi-c90 thailatex uhc \ - wadalab zhmetrics zhspacing adobemapping japanese-otf japanese-otf-uptex jfontmaps ; do + wadalab zhmetrics zhspacing adobemapping japanese-otf japanese-otf-uptex jfontmaps kanji-config-updmap \ + kanji-config-updmap-sys kanji-fontmap-creator ptex2pdf nanumtype1 pxchfon bxbase bxjscls cjk-ko pxcjkcat \ + xpinyin zxjafbfont bxcjkjatype kotex-oblivoir kotex-utf xcjk2uni zhnumber zxjafont zxjatype fandol \ + kotex-utils cjk-gs-integrate; do listdir=`find usr/share/texmf-dist/ -maxdepth 4 -name $i -type d` for j in $listdir ; do Fsplit $pkgname-lang-cjk $j done + listfile=`find usr/bin/ -name $i -type f ` + for j in $listfile ; do + Fsplit $pkgname-lang-cjk $j + done + for k in usr/bin/* ; do + if [ -L $k ]; then + target=`ls -l "$k" | sed 's/^.\+ -> //' | grep "\(^\|/\)$i\($\|/\)"` + if [[ "$target" != "" ]]; then + Fsplit $pkgname-lang-cjk $k + fi + fi + done done ## some latex3 packages - for i in expl3 keys3 mh xpackages l3experimental l3kernel l3packages ; do + for i in expl3 keys3 mh xpackages l3experimental l3kernel l3packages lt3graph ; do listdir=`find usr/share/texmf-dist/ -name $i -type d ` for j in $listdir ; do Fsplit $pkgname-latex3 $j @@ -433,14 +500,39 @@ build() { subfiles substitutefont tabfigures tablefootnote tagging tcolorbox tram tsemlines tui verbments vocaltract \ xcite xpatch xpunctuate friulan decorule bhcexam beameraudience collectbox cookingsymbols copyrightbox \ coseoul crbox delim dhua diagbox documentation droit-fr easyfig emarks floatflt fnpct fontaxes fullwidth \ - fundus-calligra fundus-cyr fundus-sueterlin ; do + fundus-calligra fundus-cyr fundus-sueterlin abraces acro actuarialangle apptools autopdf bxdpx-beamer \ + calcage calculator chkfloat classics clipboard concepts GS1 contracard counttexruns download dynblocks \ + embrac enotez esami etoc exsheets exsol factura filedate fixmetodonotes fnumprint footnotebackref \ + foreign frege iitem incgraph ktv-texdata lisp-on-tex mandi memory mnotes multiexpand nestquot newenviron \ + noconflict numberedblock ocg-p ocgx poetrytex python ran_toks readarray scalerel showcharinbox skdoc \ + skrapport snotez tableof tamefloats threadcol titlecaps typeface typehtml underoverlap uwmslide vdmlisting \ + xpeek akktex alnumsec anyÂsize appendixnumberbeamer arraysort articleingud arydshln assoccnt avremu \ + bankstatement basicarith bchart beamerdarkthemes beamersubframe beamerthemephnompenh beamertheme-upenn-bc \ + bnumexpr bookcover booktabs boxedminipage2e calculation cfr-initials cite classpack cnltx cntformats \ + cntperchap codesection colorspace colorweb cv4tw cyber cybercic dataref datetime2 datetime2-bahasai \ + datetime2-basque datetime2-breton datetime2-bulgarian datetime2-catalan datetime2-croatian datetime2-czech \ + datetime2-danish datetime2-dutch datetime2-en-fulltext datetime2-english datetime2-esperanto datetime2-estonian \ + datetime2-finnish datetime2-french datetime2-galician datetime2-german datetime2-greek datetime2-hebrew \ + datetime2-icelandic datetime2-irish datetime2-italian datetime2-it-fulltext datetime2-latin datetime2-lsorbian \ + datetime2-magyar datetime2-norsk datetime2-polish datetime2-portuges datetime2-romanian datetime2-russian \ + datetime2-samin datetime2-scottish datetime2-serbian datetime2-slovak datetime2-slovene datetime2-spanish \ + datetime2-swedish datetime2-turkish datetime2-ukrainian datetime2-usorbian datetime2-welsh denisbdoc detlev-cm \ + diadia doclicense doctools efbox embedall epyt europasscv exam-n fcolumn fixocgx frontespizio gender getmap \ + gitinfo2 glossaries-danish glossaries-dutch glossaries-english glossaries-french glossaries-german \ + glossaries-irish glossaries-italian glossaries-magyar glossaries-polish glossaries-portuges glossaries-serbian \ + glossaries-spanish grid-system handout hang idxcmds inputtrc interfaces jslectureplanner jumplines l3build \ + lastpackage lengthconvert listlbls longfigure macroswap minorrevision morewrites mweights noindentafter nox \ + pas-cours pas-crosswords pas-cv pas-tableur pgf-umlcd pkgloader refenums repltext romanbarpagenumber \ + scanpages seealso sslides stackengine statex sympytexpackage tablestyles tabstackengine tagpair tasks \ + templatetools testhyphens textpath unravel uri verbasef versonotes vgrid withargs xcolor-solarized xhfill \ + xprintlen fancyslides fancylabel polyglossia simurgh; do listdir=`find usr/share/texmf-dist/ -name $i -type d ` for j in $listdir ; do Fsplit $pkgname-latex-extra $j done for k in usr/bin/* ; do if [ -L $k ]; then - target=`ls -l "$k" | sed 's/^.\+ -> //' | grep "/$i/"` + target=`ls -l "$k" | sed 's/^.\+ -> //' | grep "\(^\|/\)$i\($\|/\)"` if [[ "$target" != "" ]]; then Fsplit $pkgname-latex-extra $k fi @@ -456,17 +548,21 @@ build() { petri-nets pgf-soroban pgfopts pgfplots picinpar pict2e pictex pictex2 pinlabel pmgraph randbild \ schemabloc swimgraf texdraw tikz-inet tikz-timing tkz-doc tkz-linknodes tkz-tab tufte-latex xypic \ combinedgraphics duotenzor drs esk here knitting knittingpattern mathspic tikz-3dplot tikz-qtree \ - tkz-orm xypdf chemfig bloques bodegraph bondgraph gincltex gmp gradientframe graphcet lpic \ + tkz-orm xypdf chemfig bloques bodegraph bondgraphs gincltex gmp gradientframe graphcet lpic \ numericplots pgf pgfgantt pgf-umlsd productbox randomwalk tkz-base tkz-berge tkz-euclide \ tkz-fct tkz-graph tkz-kiviat graphcet lapdf pgf-blur pgfkeyx tikz-cd tikz-dependency \ - tikzpagenodes tikzpfeile tqft ; do + tikzpagenodes tikzpfeile tqft bxeepic flowchart forest hf-tikz hobby makeshape pxpgfmark \ + sa-tikz setdeck smartdiagram spath3 svg tikzinclude tikzmark tikzorbital tikzposter \ + tikzscale tikzsymbols xpicture aobs-tikz asypictureb blox celtic genealogytree grafcet \ + graphbox graphicxbox graphviz harveyballs havannah labyrinth qrcode reflectgraphics \ + rulercompass ticollege tikz-dimline tikz-opm tikz-palattice timing-diagrams; do listdir=`find usr/share/texmf-dist/ -maxdepth 4 -name $i -type d ` for j in $listdir ; do Fsplit $pkgname-graphics $j done for k in usr/bin/* ; do if [ -L $k ]; then - target=`ls -l "$k" | sed 's/^.\+ -> //' | grep "/$i/"` + target=`ls -l "$k" | sed 's/^.\+ -> //' | grep "\(^\|/\)$i\($\|/\)"` if [[ "$target" != "" ]]; then Fsplit $pkgname-graphics $k fi @@ -483,14 +579,15 @@ build() { pst-soroban pst-spectra pst-stru pst-support pst-text pst-tree pst-uml pst-vowel pst-vue3d pst2pdf \ pstricks pstricks-add uml vaucanson-g pst-knot pst-am pst-electricfield pst-exa pst-magneticfield \ pst-mirror pst-node pst-platon pst-plot pst-thick pst-tvz pst-layout pst-pulley pst-rubans \ - pst-solarsystem pst-tools ; do + pst-solarsystem pst-tools pst-ode pst-vectorian pst-fit pst-graphicx pdftricks2 pst-intersect \ + pst-ovl pst-perspective pst-spirograph; do listdir=`find usr/share/texmf-dist/ -name $i -type d ` for j in $listdir ; do Fsplit $pkgname-pstricks $j done for k in usr/bin/* ; do if [ -L $k ]; then - target=`ls -l "$k" | sed 's/^.\+ -> //' | grep "/$i/"` + target=`ls -l "$k" | sed 's/^.\+ -> //' | grep "\(^\|/\)$i\($\|/\)"` if [[ "$target" != "" ]]; then Fsplit $pkgname-pstricks $k fi @@ -505,14 +602,17 @@ build() { hepunits karnaugh mhchem mhs miller objectz pseudocode scientificpaper sciposter sfg siunitx \ steinmetz struktex t-angles textopo ulqda unitsdef youngtab engtlc feynmf c-pascal fltpoint \ r_und_s chemexec chemmacros drawstack mychemestry nuc ot-tableau physymb rec-thy modiagram \ - mychemistry sasnrdisplay ; do + mychemistry sasnrdisplay bohr chemnum endiagram enigma substances askmaps autonum chemformula \ + chemgreek chemschemex clrscode3e cryptocode dsptricks esrelation feynmp-auto ghsystem karnaughmap \ + logicproof lplfitch matlab-prettifier neuralnetwork pygmentex qcircuit ribbonproofs rterface \ + sclang-prettifier shdoc xymtex ytableau; do listdir=`find usr/share/texmf-dist/ -name $i -type d ` for j in $listdir ; do Fsplit $pkgname-sciences $j done for k in usr/bin/* ; do if [ -L $k ]; then - target=`ls -l "$k" | sed 's/^.\+ -> //' | grep "/$i/"` + target=`ls -l "$k" | sed 's/^.\+ -> //' | grep "\(^\|/\)$i\($\|/\)"` if [[ "$target" != "" ]]; then Fsplit $pkgname-sciences $k fi @@ -523,8 +623,9 @@ build() { ## maths related packages for i in 12many amstex boldtensors bosisio ccfonts commath concmath concmath-fonts concrete extarrows extpfeil \ faktor ionumbers isomath mathcomp mathdots mattens mhequ multiobjective nath proba shuffle statex2 \ - stex stmaryrd susy syllogism synproof tablor tensor tex-ewd thmbox turnstile venn yhmath \ - sansmath tdsfrmath eqnarray libgreek mathalfa mathastext coolthms ; do + stex stmaryrd susy syllogism synproof tablor tensor tex-ewd thmbox turnstile venn yhmath fast-diagram \ + sansmath tdsfrmath eqnarray libgreek mathalfa mathastext coolthms minifp xint bropd conteq interval \ + physics skmath venndiagram braids breqn ebproof mafr mfpic4ode backnaur; do listdir=`find usr/share/texmf-dist/ -name $i -type d ` for j in $listdir ; do Fsplit $pkgname-sciences $j @@ -536,10 +637,8 @@ build() { mft ttfutils a2ping bibtex8 ctie cweb detex dtl dvi2tty dviasm dvicopy dviljk dvipos findhyph \ getnonfreefonts hyphenex latex2man listings-ext mkind-english mkjobtexmf patgen pdfcrop pdftools \ pkfix pkfix-helper seetexk synctex texcount texdiff texdirflatten texloganalyser texware tie \ - tpic2pdftex web ; do + tpic2pdftex web pfarrei; do listdir=`find usr/share/texmf-dist/ -name $i -type d ` - listdir+=' ' - listdir+=`find usr/share/texmf/ -name $i -type d ` for j in $listdir ; do Fsplit $pkgname-utils $j done @@ -549,7 +648,7 @@ build() { done for k in usr/bin/* ; do if [ -L $k ]; then - target=`ls -l "$k" | sed 's/^.\+ -> //' | grep "/$i"` + target=`ls -l "$k" | sed 's/^.\+ -> //' | grep "\(^\|/\)$i\($\|/\)"` if [[ "$target" != "" ]]; then Fsplit $pkgname-utils $k fi @@ -560,8 +659,6 @@ build() { ## Split Omega Tex extension for i in omega aleph lambda antomega mxd mxedruli omegaware ; do listdir=`find usr/share/texmf-dist/ -name $i -type d ` - listdir+=' ' - listdir+=`find usr/share/texmf/ -name $i -type d ` for j in $listdir ; do # two omega in a path so the bad one is moved before the other if [ -d $j ]; then @@ -583,10 +680,10 @@ build() { Fsplit $pkgname-ptex usr/bin/{makejvf,mendex,pdvitype,ppltotf,ptftopl} ## Split xindy - Fmv usr/share/texmf/xindy usr/share/ + Fmv usr/share/texmf-dist/xindy usr/share/ Fsplit $pkgname-xindy usr/share/xindy Fsplit $pkgname-xindy usr/bin/*xindy* - Fsplit $pkgname-xindy usr/share/texmf/scripts/xindy + Fsplit $pkgname-xindy usr/share/texmf-dist/scripts/xindy ## Add 09-texlive.conf font file (for XeteX) Fmkdir etc/fonts/conf.avail/ diff --git a/source/xapps-extra/texlive/fix-fontforge-encoding.patch b/source/xapps-extra/texlive/fix-fontforge-encoding.patch deleted file mode 100644 index 8104b32..0000000 --- a/source/xapps-extra/texlive/fix-fontforge-encoding.patch +++ /dev/null @@ -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 }, diff --git a/source/xapps-extra/texlive/luatex-radical-rule-thickness.patch b/source/xapps-extra/texlive/luatex-radical-rule-thickness.patch deleted file mode 100644 index f925a1a..0000000 --- a/source/xapps-extra/texlive/luatex-radical-rule-thickness.patch +++ /dev/null @@ -1,23 +0,0 @@ -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); diff --git a/source/xapps-extra/texlive/texlive-ptex.install b/source/xapps-extra/texlive/texlive-ptex.install index fb378bc..140074f 100644 --- a/source/xapps-extra/texlive/texlive-ptex.install +++ b/source/xapps-extra/texlive/texlive-ptex.install @@ -3,18 +3,18 @@ post_install() { mktexlsr > /dev/null 2>&1 echo " done." echo "creating missing formats..." - sed -i "s/^#ptex ptex - ptex.ini/ptex ptex - ptex.ini/" /usr/share/texmf/web2c/fmtutil.cnf - sed -i "s/^#eptex eptex/eptex eptex/" /usr/share/texmf/web2c/fmtutil.cnf - sed -i "s/^#platex eptex/platex eptex/" /usr/share/texmf/web2c/fmtutil.cnf + sed -i "s/^#ptex ptex - ptex.ini/ptex ptex - ptex.ini/" /usr/share/texmf-dist/web2c/fmtutil.cnf + sed -i "s/^#eptex eptex/eptex eptex/" /usr/share/texmf-dist/web2c/fmtutil.cnf + sed -i "s/^#platex eptex/platex eptex/" /usr/share/texmf-dist/web2c/fmtutil.cnf fmtutil-sys --missing > /dev/null 2>&1 - texlinks -f /usr/share/texmf/web2c/fmtutil.cnf /usr/bin/ > /dev/null 2>&1 + texlinks -f /usr/share/texmf-dist/web2c/fmtutil.cnf /usr/bin/ > /dev/null 2>&1 echo " done." } pre_remove() { - sed -i "s/^ptex ptex - ptex.ini/#ptex ptex - ptex.ini/" /usr/share/texmf/web2c/fmtutil.cnf - sed -i "s/^eptex eptex/#eptex eptex/" /usr/share/texmf/web2c/fmtutil.cnf - sed -i "s/^platex eptex/#platex eptex/" /usr/share/texmf/web2c/fmtutil.cnf + sed -i "s/^ptex ptex - ptex.ini/#ptex ptex - ptex.ini/" /usr/share/texmf-dist/web2c/fmtutil.cnf + sed -i "s/^eptex eptex/#eptex eptex/" /usr/share/texmf-dist/web2c/fmtutil.cnf + sed -i "s/^platex eptex/#platex eptex/" /usr/share/texmf-dist/web2c/fmtutil.cnf } op=$1 diff --git a/source/xapps-extra/texlive/texlive.install b/source/xapps-extra/texlive/texlive.install index 05c2807..8a186e3 100644 --- a/source/xapps-extra/texlive/texlive.install +++ b/source/xapps-extra/texlive/texlive.install @@ -3,17 +3,26 @@ post_install() { echo "updating the filename database..." mktexlsr > /dev/null 2>&1 echo " done." - echo "updating the fontmap files with updmap..." + echo "updating the fontmap files with updmap..." updmap-sys --quiet --nohash --syncwithtrees < /usr/bin/yes > /dev/null 2>&1 - echo " done." + echo " done." echo "creating all formats..." fmtutil-sys --all > /dev/null 2>&1 - texlinks -f /usr/share/texmf/web2c/fmtutil.cnf /usr/bin/ > /dev/null 2>&1 + # luatex format return error in fmtutil for some unknown reason, for now fix them by hand + cd /var/lib/texmf/web2c/luatex + luatex -ini -jobname=luatex -progname=luatex luatex.ini > /dev/null 2>&1 + luajittex -ini -jobname=luajittex -progname=luajittex luatex.ini > /dev/null 2>&1 + luatex -ini -jobname=lualatex -progname=lualatex lualatex.ini > /dev/null 2>&1 + luatex -ini -jobname=dvilualatex -progname=dvilualatex dvilualatex.ini > /dev/null 2>&1 + luatex -ini -jobname=dviluatex -progname=dviluatex dviluatex.ini > /dev/null 2>&1 + # create links, deal with mfpain by hand for historical reason > /dev/null 2>&1 + texlinks -f /usr/share/texmf-dist/web2c/fmtutil.cnf /usr/bin/ > /dev/null 2>&1 + ln -sf mpost /usr/bin/mfplain echo " done." } pre_upgrade() { - texlinks -u + texlinks -u > /dev/null 2>&1 [ -e /usr/bin/mfplain ] && rm -f /usr/bin/mfplain } @@ -22,8 +31,11 @@ post_upgrade() { } pre_remove() { - texlinks -u + texlinks -u > /dev/null 2>&1 [ -e /usr/bin/mfplain ] && rm -f /usr/bin/mfplain + # directories created by texlive + [ -e /var/lib/texmf ] && rm -rf /var/lib/texmf + [ -e /etc/texmf ] && rm -rf /etc/texmf } op=$1 diff --git a/source/xapps-extra/texlive/texmf.cnf b/source/xapps-extra/texlive/texmf.cnf index 5130925..3d7a550 100644 --- a/source/xapps-extra/texlive/texmf.cnf +++ b/source/xapps-extra/texlive/texmf.cnf @@ -59,7 +59,7 @@ TEXMFMAIN = $TEXMFROOT/texmf TEXMFDIST = $TEXMFROOT/texmf-dist % Local additions to the distribution trees. -TEXMFLOCAL = /usr/local/share/texmf +TEXMFLOCAL = /usr/share/texmf % TEXMFSYSVAR, where *-sys store cached runtime data. TEXMFSYSVAR = /var/lib/texmf diff --git a/source/xapps-extra/texlive/texmfcnf.lua b/source/xapps-extra/texlive/texmfcnf.lua new file mode 100644 index 0000000..4409692 --- /dev/null +++ b/source/xapps-extra/texlive/texmfcnf.lua @@ -0,0 +1,190 @@ +-- public domain + +-- ConTeXt needs a properly expanded TEXMFLOCAL, so here is a +-- bit of lua code to make that happen + +local texmflocal = resolvers.prefixes.selfautoparent(); +texmflocal = string.gsub(texmflocal, "20%d%d$", "texmf-local"); + +return { + + type = "configuration", + version = "1.1.0", + date = "2012-05-24", + time = "12:12:12", + comment = "ConTeXt MkIV configuration file", + author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", + + content = { + + -- Originally there was support for engines and progname but I don't expect + -- other engines to use this file, so first engines were removed. After that + -- if made sense also to get rid of progname. At some point specific formats + -- will be supported but then as a subtable with fallbacks, which sounds more + -- natural. Also, at some point the paths will become tables. For the moment + -- I don't care too much about it as extending is easy. + + variables = { + + -- The following variable is predefined (but can be overloaded) and in + -- most cases you can leve this one untouched. The built-in definition + -- permits relocation of the tree. + -- + -- TEXMFCNF = "{selfautodir:,selfautoparent:}{,{/share,}/texmf{-local,}/web2c}" + -- + -- more readable than "selfautoparent:{/texmf{-local,}{,/web2c},}}" is: + -- + -- TEXMFCNF = { + -- "selfautoparent:/texmf-local", + -- "selfautoparent:/texmf-local/web2c", + -- "selfautoparent:/texmf-dist", + -- "selfautoparent:/texmf/web2c", + -- "selfautoparent:", + -- } + + -- only used for FONTCONFIG_PATH & TEXMFCACHE in TeX Live + + TEXMFSYSVAR = "/var/lib/texmf", + TEXMFVAR = "home:.texlive/texmf-var", + + -- We have only one cache path but there can be more. The first writable one + -- will be chosen but there can be more readable paths. + + TEXMFCACHE = "$TEXMFSYSVAR;$TEXMFVAR", + TEXMFCONFIG = "home:.texlive/texmf-config", + + -- I don't like this texmf under home and texmf-home would make more + -- sense. One never knows what installers put under texmf anywhere and + -- sorting out problems will be a pain. But on the other hand ... home + -- mess is normally under the users own responsibility. + -- + -- By using prefixes we don't get expanded paths in the cache __path__ + -- entry. This makes the tex root relocatable. + + TEXMFOS = "selfautodir:share", + TEXMFDIST = "selfautodir:share/texmf-dist", + + TEXMFLOCAL = texmflocal, + TEXMFSYSCONFIG = "/etc/texmf", + TEXMFFONTS = "selfautoparent:texmf-fonts", + TEXMFPROJECT = "selfautoparent:texmf-project", + + TEXMFHOME = "home:texmf", + -- TEXMFHOME = os.name == "macosx" and "home:Library/texmf" or "home:texmf", + + -- We need texmfos for a few rare files but as I have a few more bin trees + -- a hack is needed. Maybe other users also have texmf-platform-new trees. + + TEXMF = "{$TEXMFCONFIG,$TEXMFHOME,!!$TEXMFSYSCONFIG,!!$TEXMFSYSVAR,!!$TEXMFPROJECT,!!$TEXMFFONTS,!!$TEXMFLOCAL,!!$TEXMFDIST}", + + TEXFONTMAPS = ".;$TEXMF/fonts/data//;$TEXMF/fonts/map/{pdftex,dvips}//", + ENCFONTS = ".;$TEXMF/fonts/data//;$TEXMF/fonts/enc/{dvips,pdftex}//", + VFFONTS = ".;$TEXMF/fonts/{data,vf}//", + TFMFONTS = ".;$TEXMF/fonts/{data,tfm}//", + T1FONTS = ".;$TEXMF/fonts/{data,type1}//;$OSFONTDIR", + AFMFONTS = ".;$TEXMF/fonts/{data,afm}//;$OSFONTDIR", + TTFONTS = ".;$TEXMF/fonts/{data,truetype}//;$OSFONTDIR", + OPENTYPEFONTS = ".;$TEXMF/fonts/{data,opentype}//;$OSFONTDIR", + CMAPFONTS = ".;$TEXMF/fonts/cmap//", + FONTFEATURES = ".;$TEXMF/fonts/{data,fea}//;$OPENTYPEFONTS;$TTFONTS;$T1FONTS;$AFMFONTS", + FONTCIDMAPS = ".;$TEXMF/fonts/{data,cid}//", + OFMFONTS = ".;$TEXMF/fonts/{data,ofm,tfm}//", + OVFFONTS = ".;$TEXMF/fonts/{data,ovf,vf}//", + + TEXINPUTS = ".;$TEXMF/tex/{context,plain/base,generic}//", + MPINPUTS = ".;$TEXMF/metapost/{context,base,}//", + + -- In the next variable the inputs path will go away. + + TEXMFSCRIPTS = ".;$TEXMF/scripts/context/{lua,ruby,python,perl}//;$TEXINPUTS", + PERLINPUTS = ".;$TEXMF/scripts/context/perl", + PYTHONINPUTS = ".;$TEXMF/scripts/context/python", + RUBYINPUTS = ".;$TEXMF/scripts/context/ruby", + LUAINPUTS = ".;$TEXINPUTS;$TEXMF/scripts/context/lua//", + CLUAINPUTS = ".;$SELFAUTOLOC/lib/{context,luatex,}/lua//", + + -- Not really used by MkIV so they might go away. + + BIBINPUTS = ".;$TEXMF/bibtex/bib//", + BSTINPUTS = ".;$TEXMF/bibtex/bst//", + + -- Experimental + + ICCPROFILES = ".;$TEXMF/tex/context/colors/{icc,profiles}//;$OSCOLORDIR", + + -- A few special ones that will change some day. + + FONTCONFIG_FILE = "fonts.conf", + FONTCONFIG_PATH = "$TEXMFSYSVAR/fonts/conf", + + }, + + -- We have a few reserved subtables. These control runtime behaviour. The + -- keys have names like 'foo.bar' which means that you have to use keys + -- like ['foo.bar'] so for convenience we also support 'foo_bar'. + + directives = { + + -- There are a few variables that determine the engines + -- limits. Most will fade away when we close in on version 1. + + ["luatex.expanddepth"] = "10000", -- 10000 + ["luatex.hashextra"] = "100000", -- 0 + ["luatex.nestsize"] = "1000", -- 50 + ["luatex.maxinopen"] = "500", -- 15 + ["luatex.maxprintline"] = " 10000", -- 79 + ["luatex.maxstrings"] = "500000", -- 15000 -- obsolete + ["luatex.paramsize"] = "25000", -- 60 + ["luatex.savesize"] = "50000", -- 4000 + ["luatex.stacksize"] = "10000", -- 300 + + -- A few process related variables come next. + + -- ["system.checkglobals"] = "10", + -- ["system.nostatistics"] = "yes", + ["system.errorcontext"] = "10", + ["system.compile.cleanup"] = "no", -- remove tma files + ["system.compile.strip"] = "yes", -- strip tmc files + + -- The io modes are similar to the traditional ones. Possible values + -- are all, paranoid and restricted. + + ["system.outputmode"] = "restricted", + ["system.inputmode"] = "any", + + -- The following variable is under consideration. We do have protection + -- mechanims but it's not enabled by default. + + ["system.commandmode"] = "any", -- any none list + ["system.commandlist"] = "mtxrun, convert, inkscape, gs, imagemagick, curl, bibtex, pstoedit", + + -- The mplib library support mechanisms have their own + -- configuration. Normally these variables can be left as + -- they are. + + ["mplib.texerrors"] = "yes", + + -- Normally you can leave the font related directives untouched + -- as they only make sense when testing. + + -- ["fonts.autoreload"] = "no", + -- ["fonts.otf.loader.method"] = "table", -- table mixed sparse + -- ["fonts.otf.loader.cleanup"] = "0", -- 0 1 2 3 + + -- In an edit cycle it can be handy to launch an editor. The + -- preferred one can be set here. + + -- ["pdfview.method"] = "okular", -- default (often acrobat) xpdf okular + + }, + + experiments = { + ["fonts.autorscale"] = "yes", + }, + + trackers = { + }, + + }, + +}
_______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git