[arch-commits] Commit in texlive-pictures/repos/extra-any (6 files)

Rémy Oudompheng remy at archlinux.org
Sun Mar 4 10:04:55 UTC 2018


    Date: Sunday, March 4, 2018 @ 10:04:54
  Author: remy
Revision: 317809

archrelease: copy trunk to extra-any

Added:
  texlive-pictures/repos/extra-any/PKGBUILD
    (from rev 317808, texlive-pictures/trunk/PKGBUILD)
  texlive-pictures/repos/extra-any/texlive-pictures.maps
    (from rev 317808, texlive-pictures/trunk/texlive-pictures.maps)
  texlive-pictures/repos/extra-any/xypdf-rev1.21.patch
    (from rev 317808, texlive-pictures/trunk/xypdf-rev1.21.patch)
Deleted:
  texlive-pictures/repos/extra-any/PKGBUILD
  texlive-pictures/repos/extra-any/texlive-pictures.maps
  texlive-pictures/repos/extra-any/xypdf-rev1.21.patch

-----------------------+
 PKGBUILD              |  136 +++++-----
 texlive-pictures.maps |    4 
 xypdf-rev1.21.patch   |  598 ++++++++++++++++++++++++------------------------
 3 files changed, 369 insertions(+), 369 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-04 10:04:47 UTC (rev 317808)
+++ PKGBUILD	2018-03-04 10:04:54 UTC (rev 317809)
@@ -1,68 +0,0 @@
-# $Id: PKGBUILD$
-# Maintainer: Rémy Oudompheng <remy at archlinux.org>
-
-pkgname=texlive-pictures
-pkgver=2017.45569
-_revnr=${pkgver#2017.}
-pkgrel=1
-pkgdesc="TeX Live - Packages for drawings graphics"
-license=('GPL')
-arch=(any)
-depends=('texlive-core')
-groups=('texlive-most')
-url='http://tug.org/texlive/'
-source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip"
-        "$pkgname.maps"
-        "xypdf-rev1.21.patch")
-options=('!emptydirs')
-sha256sums=('37f85042c33364e1cf12e02f9767ef33df396d7e45b5481f0d1181dad9c40be3'
-            '847676e2322065219992ef249a68cddb26d71e192e8d59db58f264c5e11c8be9'
-            '4e5cedf4775542461b442c06bdabb3eb4e20a04f54e493bc753a958577e78175')
-
-build() {
-   cd "$srcdir"
-   for p in *.tar.xz; do
-	   bsdtar -xf $p
-   done
-   rm -rf {tlpkg,doc,source} || true
-
-   patch -Np1 -i "${srcdir}/xypdf-rev1.21.patch" -d "${srcdir}/tex/generic/xypic"
-}
-
-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
-   install -m644 $pkgname.maps $pkgdir/var/lib/texmf/arch/installedpkgs/
-   install -m755 -d $pkgdir/usr/share
-   wanteddirs=$(for d in *; do test -d $d && [[ $d != texmf* ]] && echo $d; done) || true
-   for dir in $wanteddirs; do
-     find $dir -type d -exec install -d -m755 $pkgdir/usr/share/texmf-dist/'{}' \;
-     find $dir -type f -exec install -m644 '{}' $pkgdir/usr/share/texmf-dist/'{}' \;
-   done
-   if [[ -d texmf-dist ]]; then
-     find texmf-dist -type d -exec install -d -m755 $pkgdir/usr/share/'{}' \;
-     find texmf-dist -type f -exec install -m644 '{}' $pkgdir/usr/share/'{}' \;
-   fi
-   if [[ -d $pkgdir/usr/share/texmf-dist/scripts ]]; then
-     find $pkgdir/usr/share/texmf-dist/scripts -type f -exec chmod a+x '{}' \;
-   fi
-
-    _linked_scripts="
-cachepic/cachepic.tlu
-epspdf/epspdftk.tcl
-epspdf/epspdf.tlu
-fig4latex/fig4latex
-getmap/getmapdl.lua
-mathspic/mathspic.pl
-mkpic/mkpic
-petri-nets/pn2pdf
-"
-    install -m755 -d $pkgdir/usr/bin
-    for _script in ${_linked_scripts}; do
-        _scriptbase=$(basename $_script)
-        _scriptbase=${_scriptbase%.*}
-        ln -s /usr/share/texmf-dist/scripts/${_script} ${pkgdir}/usr/bin/${_scriptbase}
-    done
-}

Copied: texlive-pictures/repos/extra-any/PKGBUILD (from rev 317808, texlive-pictures/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-03-04 10:04:54 UTC (rev 317809)
@@ -0,0 +1,68 @@
+# $Id: PKGBUILD$
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=texlive-pictures
+pkgver=2017.46740
+_revnr=${pkgver#2017.}
+pkgrel=1
+pkgdesc="TeX Live - Packages for drawings graphics"
+license=('GPL')
+arch=(any)
+depends=('texlive-core')
+groups=('texlive-most')
+url='http://tug.org/texlive/'
+source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip"
+        "$pkgname.maps"
+        "xypdf-rev1.21.patch")
+options=('!emptydirs')
+sha256sums=('2dccd8d34c097dedd3dba8f8f26f141afd5bc90f86d5f6106f39e993fe8144c1'
+            '847676e2322065219992ef249a68cddb26d71e192e8d59db58f264c5e11c8be9'
+            '4e5cedf4775542461b442c06bdabb3eb4e20a04f54e493bc753a958577e78175')
+
+build() {
+   cd "$srcdir"
+   for p in *.tar.xz; do
+	   bsdtar -xf $p
+   done
+   rm -rf {tlpkg,doc,source} || true
+
+   patch -Np1 -i "${srcdir}/xypdf-rev1.21.patch" -d "${srcdir}/tex/generic/xypic"
+}
+
+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
+   install -m644 $pkgname.maps $pkgdir/var/lib/texmf/arch/installedpkgs/
+   install -m755 -d $pkgdir/usr/share
+   wanteddirs=$(for d in *; do test -d $d && [[ $d != texmf* ]] && echo $d; done) || true
+   for dir in $wanteddirs; do
+     find $dir -type d -exec install -d -m755 $pkgdir/usr/share/texmf-dist/'{}' \;
+     find $dir -type f -exec install -m644 '{}' $pkgdir/usr/share/texmf-dist/'{}' \;
+   done
+   if [[ -d texmf-dist ]]; then
+     find texmf-dist -type d -exec install -d -m755 $pkgdir/usr/share/'{}' \;
+     find texmf-dist -type f -exec install -m644 '{}' $pkgdir/usr/share/'{}' \;
+   fi
+   if [[ -d $pkgdir/usr/share/texmf-dist/scripts ]]; then
+     find $pkgdir/usr/share/texmf-dist/scripts -type f -exec chmod a+x '{}' \;
+   fi
+
+    _linked_scripts="
+cachepic/cachepic.tlu
+epspdf/epspdftk.tcl
+epspdf/epspdf.tlu
+fig4latex/fig4latex
+getmap/getmapdl.lua
+mathspic/mathspic.pl
+mkpic/mkpic
+petri-nets/pn2pdf
+"
+    install -m755 -d $pkgdir/usr/bin
+    for _script in ${_linked_scripts}; do
+        _scriptbase=$(basename $_script)
+        _scriptbase=${_scriptbase%.*}
+        ln -s /usr/share/texmf-dist/scripts/${_script} ${pkgdir}/usr/bin/${_scriptbase}
+    done
+}

Deleted: texlive-pictures.maps
===================================================================
--- texlive-pictures.maps	2018-03-04 10:04:47 UTC (rev 317808)
+++ texlive-pictures.maps	2018-03-04 10:04:54 UTC (rev 317809)
@@ -1,2 +0,0 @@
-Map knitfont.map
-MixedMap xypic.map

Copied: texlive-pictures/repos/extra-any/texlive-pictures.maps (from rev 317808, texlive-pictures/trunk/texlive-pictures.maps)
===================================================================
--- texlive-pictures.maps	                        (rev 0)
+++ texlive-pictures.maps	2018-03-04 10:04:54 UTC (rev 317809)
@@ -0,0 +1,2 @@
+Map knitfont.map
+MixedMap xypic.map

Deleted: xypdf-rev1.21.patch
===================================================================
--- xypdf-rev1.21.patch	2018-03-04 10:04:47 UTC (rev 317808)
+++ xypdf-rev1.21.patch	2018-03-04 10:04:54 UTC (rev 317809)
@@ -1,299 +0,0 @@
-diff -u xypdf.orig/xypdf-co.tex xypdf/xypdf-co.tex
---- xypdf.orig/xypdf-co.tex	2016-11-19 12:24:53.457219331 +0100
-+++ xypdf/xypdf-co.tex	2016-11-19 12:24:07.314492681 +0100
-@@ -8,7 +8,7 @@
- %% 
- %% The xypdf package for TeX and LaTeX
- %% Copyright (c) 2010 by Daniel Müllner (M\"ullner)
--%% <http://math.stanford.edu/~muellner>
-+%% <http://danifold.net>
- %% --------------------------------------------------------------------------
- %% 
- %% This program is free software: you can redistribute it and/or modify it
-@@ -64,28 +64,75 @@
- \@ifdefinable\xP at colB\relax
- \@ifdefinable\xP at colC\relax
- \@ifdefinable\xP at colD\relax
-+\@ifdefinable\xP at colE\relax
- \xP at hook{color}{newxycolor}
--\newcommand*\xP at newxycolor[2]{\def\xP at colorname{#1}\xP at parsecolor#2 @}
-+\newcommand*\xP at newxycolor[2]{\def\xP at colorname{#1}\expandafter\xP at parsecolor\@firstofone#2 @}
- \xP at color@on
-+\@ifdefinable\xP at parsetwo\relax
-+\def\xP at parsetwo#1 #2@{\def\xP at colC{#1}\def\xP at colD{#2}}
-+\@ifdefinable\xP at parsethree\relax
-+\def\xP at parsethree#1 #2 #3@{\def\xP at colC{#1}\def\xP at colD{#2}\def\xP at colE{#3}}
- \@ifdefinable\xP at parsecolor\relax
--\def\xP at parsecolor#1 #2 #3@{\def\xP at colA{#1}\def\xP at colB{#2}\ifx\xP at colB\xP at gray
-+\def\xP at parsecolor#1 #2 #3@{\def\xP at colA{#1}\def\xP at colB{#2}\ifx\xP at colA\xP at cmyk
-+\xP at parsethree#3@\xP at newcolor\xP at colorname{\xP at colB,\xP at colC,\xP at colD,\xP at colE}\xP at cmyk
-+\newxycolor
-+\else
-+\ifx\xP at colA\xP at CMYK
-+\xP at parsethree#3@\xP at newcolor\xP at colorname{\xP at colB,\xP at colC,\xP at colD,\xP at colE}\xP at cmyk
-+\newxycolor
-+\else
-+\ifx\xP at colA\xP at rgb
-+\xP at parsetwo#3@\xP at newcolor\xP at colorname{\xP at colB,\xP at colC,\xP at colD}\xP at rgb\newxycolor
-+\else
-+\ifx\xP at colA\xP at RGB
-+\xP at parsetwo#3@\xP at newcolor\xP at colorname{\xP at colB,\xP at colC,\xP at colD}\xP at rgb
-+\newxycolor
-+\else
-+\ifx\xP at colA\xP at gray
-+\xP at newcolor\xP at colorname\xP at colB\xP at gray\newxycolor
-+\else
-+\ifx\xP at colA\xP at GRAY
-+\xP at newcolor\xP at colorname\xP at colB\xP at gray\newxycolor
-+\else
-+\ifx\xP at colB\xP at gray
-+\xP at newcolor\xP at colorname\xP at colA\xP at gray\newxycolor
-+\else
-+\ifx\xP at colB\xP at GRAY
- \xP at newcolor\xP at colorname\xP at colA\xP at gray\newxycolor
- \else
- \xP at parsecolor@#3 @\fi
-+\fi
-+\fi
-+\fi
-+\fi
-+\fi
-+\fi
-+\fi
- }
- \@ifdefinable\xP at parsecolor@\relax
- \def\xP at parsecolor@#1 #2 #3 #4@{\def\xP at colC{#1}\def\xP at colD{#2}\ifx\xP at colD\xP at rgb
- \xP at newcolor\xP at colorname{\xP at colA,\xP at colB,\xP at colC}\xP at rgb\newxycolor
- \else
-+\ifx\xP at colD\xP at RGB
-+\xP at newcolor\xP at colorname{\xP at colA,\xP at colB,\xP at colC}\xP at rgb\newxycolor
-+\else
- \def\@tempa{#3}\ifx\@tempa\xP at cmyk
--\xP at newcolor\xP at colorname{\xP at colA,\xP at colB,\xP at colC,\xP at colD}{cmyk}\newxycolor
-+\xP at newcolor\xP at colorname{\xP at colA,\xP at colB,\xP at colC,\xP at colD}\xP at cmyk\newxycolor
-+\else
-+\ifx\@tempa\xP at CMYK
-+\xP at newcolor\xP at colorname{\xP at colA,\xP at colB,\xP at colC,\xP at colD}\xP at cmyk\newxycolor
- \else
- \PackageError{xypdf}{Syntax error in \string\newxycolor}{}\fi
- \fi
-+\fi
-+\fi
- }
- \newcommand*\xP at gray{gray}
- \newcommand*\xP at rgb{rgb}
- \newcommand*\xP at cmyk{cmyk}
-+\newcommand*\xP at GRAY{GRAY}
-+\newcommand*\xP at RGB{RGB}
-+\newcommand*\xP at CMYK{CMYK}
- \xP at hook{color}{OBJECT at shape}
- \newcommand*\xP at OBJECT@shape[1]{\DN@{shape [#1]}\expandafter\let\expandafter\nextii@\csname\codeof\next@\endcsname
- \ifx\nextii@\relax\DN@{style [#1]}\expandafter\let\expandafter\nextii@\csname\codeof\next@\endcsname
-@@ -120,10 +167,5 @@
- \xywithoption{crayon}{\xP at installCrayolaColors
- \renewcommand*\installCrayolaColors@{}}
- \xyendinput
--
--
--
--
--
- %%
- %% End of file `xypdf-co.tex'.
-diff -u xypdf.orig/xypdf-cu.tex xypdf/xypdf-cu.tex
---- xypdf.orig/xypdf-cu.tex	2016-11-19 12:24:53.457219331 +0100
-+++ xypdf/xypdf-cu.tex	2016-11-19 12:24:07.314492681 +0100
-@@ -8,7 +8,7 @@
- %% 
- %% The xypdf package for TeX and LaTeX
- %% Copyright (c) 2010 by Daniel Müllner (M\"ullner)
--%% <http://math.stanford.edu/~muellner>
-+%% <http://danifold.net>
- %% --------------------------------------------------------------------------
- %% 
- %% This program is free software: you can redistribute it and/or modify it
-@@ -1178,10 +1178,5 @@
- \@for\@tempa:={#1}\do{\the\toks@}\xP at stroke{\the\@temptokena}}}
- \newcommand*\xP at paintbrokensquiggle[5]{\xP at squigglevectors{#1}\xP at append\@temptokena{\xP at coor\xP at posX\xP at posY m \xP at coor{\xP at posX+\Y at max}{\xP at posY+\X at max}}\xP at squigglevectors{#2}\xP at append\@temptokena{\xP at coor{\xP at posX-\D at p-\X at min}{\xP at posY+\R at p-\Y at min}\xP at coor{\xP at posX-\D at p}{\xP at posY+\R at p}c \xP at coor{\xP at posX-\D at p+\X at min}{\xP at posY+\R at p+\Y at min}}\xP at squigglevectors{#3}\xP at append\@temptokena{\xP at coor{\xP at posX-\X at max}{\xP at posY+\Y at max}\xP at coor\xP at posX\xP at posY c \xP at coor{\xP at posX+\X at max}{\xP at posY-\Y at max}}\xP at squigglevectors{#4}\xP at append\@temptokena{\xP at coor{\xP at posX+\D at p-\X at min}{\xP at posY-\R at p-\Y at min}\xP at coor{\xP at posX+\D at p}{\xP at posY-\R at p}c \xP at coor{\xP at posX+\D at p+\X at min}{\xP at posY-\R at p+\Y at min}}\xP at squigglevectors{#5}\xP at append\@temptokena{\xP at coor{\xP at posX-\Y at max}{\xP at posY-\X at max}\xP at coor\xP at posX\xP at posY c }}
- \xyendinput
--
--
--
--
--
- %%
- %% End of file `xypdf-cu.tex'.
-diff -u xypdf.orig/xypdf-fr.tex xypdf/xypdf-fr.tex
---- xypdf.orig/xypdf-fr.tex	2016-11-19 12:24:53.457219331 +0100
-+++ xypdf/xypdf-fr.tex	2016-11-19 12:24:07.314492681 +0100
-@@ -8,7 +8,7 @@
- %% 
- %% The xypdf package for TeX and LaTeX
- %% Copyright (c) 2010 by Daniel Müllner (M\"ullner)
--%% <http://math.stanford.edu/~muellner>
-+%% <http://danifold.net>
- %% --------------------------------------------------------------------------
- %% 
- %% This program is free software: you can redistribute it and/or modify it
-@@ -429,10 +429,5 @@
- 0 \xP at dim\B@ c }\@temptokena\expandafter{\@tempa}\xP at mirrorpath
- \xP at fillorstroke{\the\@temptokena}}
- \xyendinput
--
--
--
--
--
- %%
- %% End of file `xypdf-fr.tex'.
-diff -u xypdf.orig/xypdf-li.tex xypdf/xypdf-li.tex
---- xypdf.orig/xypdf-li.tex	2016-11-19 12:24:53.457219331 +0100
-+++ xypdf/xypdf-li.tex	2016-11-19 12:24:07.314492681 +0100
-@@ -8,7 +8,7 @@
- %% 
- %% The xypdf package for TeX and LaTeX
- %% Copyright (c) 2010 by Daniel Müllner (M\"ullner)
--%% <http://math.stanford.edu/~muellner>
-+%% <http://danifold.net>
- %% --------------------------------------------------------------------------
- %% 
- %% This program is free software: you can redistribute it and/or modify it
-@@ -60,10 +60,5 @@
- \xycatcodes
- \expandafter\let\csname xypdf-li at loaded\endcsname\@empty
- \xyendinput
--
--
--
--
--
- %%
- %% End of file `xypdf-li.tex'.
-diff -u xypdf.orig/xypdf-ro.tex xypdf/xypdf-ro.tex
---- xypdf.orig/xypdf-ro.tex	2016-11-19 12:24:53.457219331 +0100
-+++ xypdf/xypdf-ro.tex	2016-11-19 12:24:07.314492681 +0100
-@@ -8,7 +8,7 @@
- %% 
- %% The xypdf package for TeX and LaTeX
- %% Copyright (c) 2010 by Daniel Müllner (M\"ullner)
--%% <http://math.stanford.edu/~muellner>
-+%% <http://danifold.net>
- %% --------------------------------------------------------------------------
- %% 
- %% This program is free software: you can redistribute it and/or modify it
-@@ -124,10 +124,5 @@
- }\@tempdimb\dimen at i
- }
- \xyendinput
--
--
--
--
--
- %%
- %% End of file `xypdf-ro.tex'.
-diff -u xypdf.orig/xypdf.tex xypdf/xypdf.tex
---- xypdf.orig/xypdf.tex	2016-11-19 12:24:53.457219331 +0100
-+++ xypdf/xypdf.tex	2016-11-19 12:24:07.314492681 +0100
-@@ -8,7 +8,7 @@
- %% 
- %% The xypdf package for TeX and LaTeX
- %% Copyright (c) 2010 by Daniel Müllner (M\"ullner)
--%% <http://math.stanford.edu/~muellner>
-+%% <http://danifold.net>
- %% --------------------------------------------------------------------------
- %% 
- %% This program is free software: you can redistribute it and/or modify it
-@@ -58,9 +58,9 @@
- %% (Muellner, M\"ullner).
- %% 
- \ifx\xyloaded\undefined\input xy \fi
--\xyprovide{pdf}{PDF driver}{1.7}{Daniel M\"ullner\newline}{\url{http://math.stanford.edu/~muellner}}{}
-+\xyprovide{pdf}{PDF driver}{1.9}{Daniel M\"ullner\newline}{\url{http://danifold.net}}{}
- \ifx\makeatletter\undefined\input miniltx \fi
--\newcommand*\xypdfdate{2011/03/20}
-+\newcommand*\xypdfdate{2016/07/25}
- \newdriver{\xyaddsupport{pdf}\xP at pdf@on
- \xyaddsupport{color}\xP at color@on
- \xyaddsupport{curve}\xP at curve@on
-@@ -91,7 +91,10 @@
- \fi
- \newcommand*\xP at testpdfsave{\ifpdf
- \ifx\pdfsave\@undefined
--\PackageError{xypdf}{pdfTeX version 1.40.0 or higher is needed for the xypdf^^Jpackage with PDF output}{}\fi
-+\ifx\pdfextension\@undefined
-+\PackageError{xypdf}{LuaTeX or pdfTeX version 1.40.0
-+or higher is needed for^^Jthe xypdf package with PDF output}{}\fi
-+\fi
- \fi
- \let\xP at testpdfsave\@undefined
- }
-@@ -120,12 +123,24 @@
- \expandafter\noexpand\csname xP at old@#2\endcsname
- }}
- \newcommand*\xP at defpdfliteral{\ifpdf
-+\ifx\pdfextension\@undefined
- \newcommand*\xP at literal[1]{\pdfsave\pdfliteral{##1}\pdfrestore}
- \newcommand*\xP at cm[5]{\pdfsave
- \pdfsetmatrix{##1 ##2 ##3 ##4}##5\pdfrestore
- }
--\@ifundefined{@pdfcolorstack}{\def\@pdfcolorstack{\z@}}{}\newcommand*\xP at setcolor[3]{\pdfcolorstack\@pdfcolorstack push{##1 ##2 ##1 ##3}}
-+\else
-+\newcommand*\xP at literal[1]{\pdfextension save\pdfextension literal{##1}\pdfextension restore\relax
-+}
-+\newcommand*\xP at cm[5]{\pdfextension save\pdfextension setmatrix{##1 ##2 ##3 ##4}##5\pdfextension restore\relax
-+}
-+\fi
-+\@ifundefined{@pdfcolorstack}{\def\@pdfcolorstack{\z@}}{}\ifx\pdfextension\@undefined
-+\newcommand*\xP at setcolor[3]{\pdfcolorstack\@pdfcolorstack push{##1 ##2 ##1 ##3}}
- \newcommand*\xP at resetcolor{\pdfcolorstack\@pdfcolorstack pop\relax}\else
-+\newcommand*\xP at setcolor[3]{\pdfextension colorstack\@pdfcolorstack push{##1 ##2 ##1 ##3}}
-+\newcommand*\xP at resetcolor{\pdfextension colorstack\@pdfcolorstack pop\relax
-+}\fi
-+\else
- \newcommand*\xP at literal{\xP at warning{xypdf}{The produced DVI file is NOT PORTABLE. Convert it with^^Jdvipdfm(x) to the PDF format but do not expect the DVI file itself to be^^Jdisplayed correctly\@gobble}\global\let\xP at literal\xP at literal@
- \xP at literal
- }
-@@ -145,14 +160,20 @@
- \next@
- {\RequirePackage{ifpdf}\xP at testpdfsave
- \xP at defpdfliteral}
-+\@ifdefinable\xP at digits\relax
-+\ifx\pdfvariable\@undefined
- \ifx\pdfdecimaldigits\@undefined
- \newcommand*\xP at digits{2}
- \else
--\@ifdefinable\xP at digits\relax
- \xdef\xP at digits{\the\pdfdecimaldigits}
--\ifnum\pdfdecimaldigits<2
--\xP at warning{xypdf}{The precision in \string\pdfdecimaldigits\space is only \xP at digits\space
--decimals.^^JIt is recommended to set \string\pdfdecimaldigits\space to 2 or 3 for best output quality\@gobble}
-+\ifnum\xP at digits<2
-+\xP at warning{xypdf}{The precision in \string\pdfdecimaldigits\space is only \xP at digits\space decimals.^^JIt is recommended to set \string\pdfdecimaldigits\space to 2 or 3 for best output quality\@gobble}
-+\fi
-+\fi
-+\else
-+\xdef\xP at digits{\the\pdfvariable decimaldigits}
-+\ifnum\xP at digits<2
-+\xP at warning{xypdf}{The precision in "\string\pdfvariable\space decimaldigits" is only \xP at digits^^Jdecimals. It is recommended to set "decimaldigits" to 2 or 3 for best output^^Jquality\@gobble}
- \fi
- \fi
- \newcommand*\xP at dim[1]{\expandafter\xP at removePT\the\dimexpr(#1)*800/803\relax\space}
-@@ -329,10 +350,15 @@
- \fi
- ]\xP at precdim{\dimexpr\xP at preclw+\@tempdima/2\relax}d}}
- \newcommand*\xP at abs[1]{\ifdim#1<\z@\multiply#1\m at ne\fi}
--\newcommand*\xP at ifabsless[2]{\ifpdfabsdim#1<#2}
- \ifx\ifpdfabsdim\@undefined
--\renewcommand*\xP at ifabsless[2]{\ifdim\ifdim#1<\z at -\fi#1<\ifdim#2<\z at -\fi#2}
-+\newcommand*\xP at ifabsless[2]{\ifdim\ifdim#1<\z at -\fi#1<\ifdim#2<\z at -\fi#2}
- \@gobble\fi
-+\else
-+\newcommand*\xP at ifabsless[2]{\ifpdfabsdim#1<#2}
-+\fi
-+\ifx\ifabsdim\@undefined
-+\else
-+\renewcommand*\xP at ifabsless[2]{\ifabsdim#1<#2}
- \fi
- \newcommand*\xP at swapdim[2]{\@tempdima#1#1#2#2\@tempdima}
- \newcommand*\xP at swapnum[2]{\@tempcnta#1#1#2#2\@tempcnta}

Copied: texlive-pictures/repos/extra-any/xypdf-rev1.21.patch (from rev 317808, texlive-pictures/trunk/xypdf-rev1.21.patch)
===================================================================
--- xypdf-rev1.21.patch	                        (rev 0)
+++ xypdf-rev1.21.patch	2018-03-04 10:04:54 UTC (rev 317809)
@@ -0,0 +1,299 @@
+diff -u xypdf.orig/xypdf-co.tex xypdf/xypdf-co.tex
+--- xypdf.orig/xypdf-co.tex	2016-11-19 12:24:53.457219331 +0100
++++ xypdf/xypdf-co.tex	2016-11-19 12:24:07.314492681 +0100
+@@ -8,7 +8,7 @@
+ %% 
+ %% The xypdf package for TeX and LaTeX
+ %% Copyright (c) 2010 by Daniel Müllner (M\"ullner)
+-%% <http://math.stanford.edu/~muellner>
++%% <http://danifold.net>
+ %% --------------------------------------------------------------------------
+ %% 
+ %% This program is free software: you can redistribute it and/or modify it
+@@ -64,28 +64,75 @@
+ \@ifdefinable\xP at colB\relax
+ \@ifdefinable\xP at colC\relax
+ \@ifdefinable\xP at colD\relax
++\@ifdefinable\xP at colE\relax
+ \xP at hook{color}{newxycolor}
+-\newcommand*\xP at newxycolor[2]{\def\xP at colorname{#1}\xP at parsecolor#2 @}
++\newcommand*\xP at newxycolor[2]{\def\xP at colorname{#1}\expandafter\xP at parsecolor\@firstofone#2 @}
+ \xP at color@on
++\@ifdefinable\xP at parsetwo\relax
++\def\xP at parsetwo#1 #2@{\def\xP at colC{#1}\def\xP at colD{#2}}
++\@ifdefinable\xP at parsethree\relax
++\def\xP at parsethree#1 #2 #3@{\def\xP at colC{#1}\def\xP at colD{#2}\def\xP at colE{#3}}
+ \@ifdefinable\xP at parsecolor\relax
+-\def\xP at parsecolor#1 #2 #3@{\def\xP at colA{#1}\def\xP at colB{#2}\ifx\xP at colB\xP at gray
++\def\xP at parsecolor#1 #2 #3@{\def\xP at colA{#1}\def\xP at colB{#2}\ifx\xP at colA\xP at cmyk
++\xP at parsethree#3@\xP at newcolor\xP at colorname{\xP at colB,\xP at colC,\xP at colD,\xP at colE}\xP at cmyk
++\newxycolor
++\else
++\ifx\xP at colA\xP at CMYK
++\xP at parsethree#3@\xP at newcolor\xP at colorname{\xP at colB,\xP at colC,\xP at colD,\xP at colE}\xP at cmyk
++\newxycolor
++\else
++\ifx\xP at colA\xP at rgb
++\xP at parsetwo#3@\xP at newcolor\xP at colorname{\xP at colB,\xP at colC,\xP at colD}\xP at rgb\newxycolor
++\else
++\ifx\xP at colA\xP at RGB
++\xP at parsetwo#3@\xP at newcolor\xP at colorname{\xP at colB,\xP at colC,\xP at colD}\xP at rgb
++\newxycolor
++\else
++\ifx\xP at colA\xP at gray
++\xP at newcolor\xP at colorname\xP at colB\xP at gray\newxycolor
++\else
++\ifx\xP at colA\xP at GRAY
++\xP at newcolor\xP at colorname\xP at colB\xP at gray\newxycolor
++\else
++\ifx\xP at colB\xP at gray
++\xP at newcolor\xP at colorname\xP at colA\xP at gray\newxycolor
++\else
++\ifx\xP at colB\xP at GRAY
+ \xP at newcolor\xP at colorname\xP at colA\xP at gray\newxycolor
+ \else
+ \xP at parsecolor@#3 @\fi
++\fi
++\fi
++\fi
++\fi
++\fi
++\fi
++\fi
+ }
+ \@ifdefinable\xP at parsecolor@\relax
+ \def\xP at parsecolor@#1 #2 #3 #4@{\def\xP at colC{#1}\def\xP at colD{#2}\ifx\xP at colD\xP at rgb
+ \xP at newcolor\xP at colorname{\xP at colA,\xP at colB,\xP at colC}\xP at rgb\newxycolor
+ \else
++\ifx\xP at colD\xP at RGB
++\xP at newcolor\xP at colorname{\xP at colA,\xP at colB,\xP at colC}\xP at rgb\newxycolor
++\else
+ \def\@tempa{#3}\ifx\@tempa\xP at cmyk
+-\xP at newcolor\xP at colorname{\xP at colA,\xP at colB,\xP at colC,\xP at colD}{cmyk}\newxycolor
++\xP at newcolor\xP at colorname{\xP at colA,\xP at colB,\xP at colC,\xP at colD}\xP at cmyk\newxycolor
++\else
++\ifx\@tempa\xP at CMYK
++\xP at newcolor\xP at colorname{\xP at colA,\xP at colB,\xP at colC,\xP at colD}\xP at cmyk\newxycolor
+ \else
+ \PackageError{xypdf}{Syntax error in \string\newxycolor}{}\fi
+ \fi
++\fi
++\fi
+ }
+ \newcommand*\xP at gray{gray}
+ \newcommand*\xP at rgb{rgb}
+ \newcommand*\xP at cmyk{cmyk}
++\newcommand*\xP at GRAY{GRAY}
++\newcommand*\xP at RGB{RGB}
++\newcommand*\xP at CMYK{CMYK}
+ \xP at hook{color}{OBJECT at shape}
+ \newcommand*\xP at OBJECT@shape[1]{\DN@{shape [#1]}\expandafter\let\expandafter\nextii@\csname\codeof\next@\endcsname
+ \ifx\nextii@\relax\DN@{style [#1]}\expandafter\let\expandafter\nextii@\csname\codeof\next@\endcsname
+@@ -120,10 +167,5 @@
+ \xywithoption{crayon}{\xP at installCrayolaColors
+ \renewcommand*\installCrayolaColors@{}}
+ \xyendinput
+-
+-
+-
+-
+-
+ %%
+ %% End of file `xypdf-co.tex'.
+diff -u xypdf.orig/xypdf-cu.tex xypdf/xypdf-cu.tex
+--- xypdf.orig/xypdf-cu.tex	2016-11-19 12:24:53.457219331 +0100
++++ xypdf/xypdf-cu.tex	2016-11-19 12:24:07.314492681 +0100
+@@ -8,7 +8,7 @@
+ %% 
+ %% The xypdf package for TeX and LaTeX
+ %% Copyright (c) 2010 by Daniel Müllner (M\"ullner)
+-%% <http://math.stanford.edu/~muellner>
++%% <http://danifold.net>
+ %% --------------------------------------------------------------------------
+ %% 
+ %% This program is free software: you can redistribute it and/or modify it
+@@ -1178,10 +1178,5 @@
+ \@for\@tempa:={#1}\do{\the\toks@}\xP at stroke{\the\@temptokena}}}
+ \newcommand*\xP at paintbrokensquiggle[5]{\xP at squigglevectors{#1}\xP at append\@temptokena{\xP at coor\xP at posX\xP at posY m \xP at coor{\xP at posX+\Y at max}{\xP at posY+\X at max}}\xP at squigglevectors{#2}\xP at append\@temptokena{\xP at coor{\xP at posX-\D at p-\X at min}{\xP at posY+\R at p-\Y at min}\xP at coor{\xP at posX-\D at p}{\xP at posY+\R at p}c \xP at coor{\xP at posX-\D at p+\X at min}{\xP at posY+\R at p+\Y at min}}\xP at squigglevectors{#3}\xP at append\@temptokena{\xP at coor{\xP at posX-\X at max}{\xP at posY+\Y at max}\xP at coor\xP at posX\xP at posY c \xP at coor{\xP at posX+\X at max}{\xP at posY-\Y at max}}\xP at squigglevectors{#4}\xP at append\@temptokena{\xP at coor{\xP at posX+\D at p-\X at min}{\xP at posY-\R at p-\Y at min}\xP at coor{\xP at posX+\D at p}{\xP at posY-\R at p}c \xP at coor{\xP at posX+\D at p+\X at min}{\xP at posY-\R at p+\Y at min}}\xP at squigglevectors{#5}\xP at append\@temptokena{\xP at coor{\xP at posX-\Y at max}{\xP at posY-\X at max}\xP at coor\xP at posX\xP at posY c }}
+ \xyendinput
+-
+-
+-
+-
+-
+ %%
+ %% End of file `xypdf-cu.tex'.
+diff -u xypdf.orig/xypdf-fr.tex xypdf/xypdf-fr.tex
+--- xypdf.orig/xypdf-fr.tex	2016-11-19 12:24:53.457219331 +0100
++++ xypdf/xypdf-fr.tex	2016-11-19 12:24:07.314492681 +0100
+@@ -8,7 +8,7 @@
+ %% 
+ %% The xypdf package for TeX and LaTeX
+ %% Copyright (c) 2010 by Daniel Müllner (M\"ullner)
+-%% <http://math.stanford.edu/~muellner>
++%% <http://danifold.net>
+ %% --------------------------------------------------------------------------
+ %% 
+ %% This program is free software: you can redistribute it and/or modify it
+@@ -429,10 +429,5 @@
+ 0 \xP at dim\B@ c }\@temptokena\expandafter{\@tempa}\xP at mirrorpath
+ \xP at fillorstroke{\the\@temptokena}}
+ \xyendinput
+-
+-
+-
+-
+-
+ %%
+ %% End of file `xypdf-fr.tex'.
+diff -u xypdf.orig/xypdf-li.tex xypdf/xypdf-li.tex
+--- xypdf.orig/xypdf-li.tex	2016-11-19 12:24:53.457219331 +0100
++++ xypdf/xypdf-li.tex	2016-11-19 12:24:07.314492681 +0100
+@@ -8,7 +8,7 @@
+ %% 
+ %% The xypdf package for TeX and LaTeX
+ %% Copyright (c) 2010 by Daniel Müllner (M\"ullner)
+-%% <http://math.stanford.edu/~muellner>
++%% <http://danifold.net>
+ %% --------------------------------------------------------------------------
+ %% 
+ %% This program is free software: you can redistribute it and/or modify it
+@@ -60,10 +60,5 @@
+ \xycatcodes
+ \expandafter\let\csname xypdf-li at loaded\endcsname\@empty
+ \xyendinput
+-
+-
+-
+-
+-
+ %%
+ %% End of file `xypdf-li.tex'.
+diff -u xypdf.orig/xypdf-ro.tex xypdf/xypdf-ro.tex
+--- xypdf.orig/xypdf-ro.tex	2016-11-19 12:24:53.457219331 +0100
++++ xypdf/xypdf-ro.tex	2016-11-19 12:24:07.314492681 +0100
+@@ -8,7 +8,7 @@
+ %% 
+ %% The xypdf package for TeX and LaTeX
+ %% Copyright (c) 2010 by Daniel Müllner (M\"ullner)
+-%% <http://math.stanford.edu/~muellner>
++%% <http://danifold.net>
+ %% --------------------------------------------------------------------------
+ %% 
+ %% This program is free software: you can redistribute it and/or modify it
+@@ -124,10 +124,5 @@
+ }\@tempdimb\dimen at i
+ }
+ \xyendinput
+-
+-
+-
+-
+-
+ %%
+ %% End of file `xypdf-ro.tex'.
+diff -u xypdf.orig/xypdf.tex xypdf/xypdf.tex
+--- xypdf.orig/xypdf.tex	2016-11-19 12:24:53.457219331 +0100
++++ xypdf/xypdf.tex	2016-11-19 12:24:07.314492681 +0100
+@@ -8,7 +8,7 @@
+ %% 
+ %% The xypdf package for TeX and LaTeX
+ %% Copyright (c) 2010 by Daniel Müllner (M\"ullner)
+-%% <http://math.stanford.edu/~muellner>
++%% <http://danifold.net>
+ %% --------------------------------------------------------------------------
+ %% 
+ %% This program is free software: you can redistribute it and/or modify it
+@@ -58,9 +58,9 @@
+ %% (Muellner, M\"ullner).
+ %% 
+ \ifx\xyloaded\undefined\input xy \fi
+-\xyprovide{pdf}{PDF driver}{1.7}{Daniel M\"ullner\newline}{\url{http://math.stanford.edu/~muellner}}{}
++\xyprovide{pdf}{PDF driver}{1.9}{Daniel M\"ullner\newline}{\url{http://danifold.net}}{}
+ \ifx\makeatletter\undefined\input miniltx \fi
+-\newcommand*\xypdfdate{2011/03/20}
++\newcommand*\xypdfdate{2016/07/25}
+ \newdriver{\xyaddsupport{pdf}\xP at pdf@on
+ \xyaddsupport{color}\xP at color@on
+ \xyaddsupport{curve}\xP at curve@on
+@@ -91,7 +91,10 @@
+ \fi
+ \newcommand*\xP at testpdfsave{\ifpdf
+ \ifx\pdfsave\@undefined
+-\PackageError{xypdf}{pdfTeX version 1.40.0 or higher is needed for the xypdf^^Jpackage with PDF output}{}\fi
++\ifx\pdfextension\@undefined
++\PackageError{xypdf}{LuaTeX or pdfTeX version 1.40.0
++or higher is needed for^^Jthe xypdf package with PDF output}{}\fi
++\fi
+ \fi
+ \let\xP at testpdfsave\@undefined
+ }
+@@ -120,12 +123,24 @@
+ \expandafter\noexpand\csname xP at old@#2\endcsname
+ }}
+ \newcommand*\xP at defpdfliteral{\ifpdf
++\ifx\pdfextension\@undefined
+ \newcommand*\xP at literal[1]{\pdfsave\pdfliteral{##1}\pdfrestore}
+ \newcommand*\xP at cm[5]{\pdfsave
+ \pdfsetmatrix{##1 ##2 ##3 ##4}##5\pdfrestore
+ }
+-\@ifundefined{@pdfcolorstack}{\def\@pdfcolorstack{\z@}}{}\newcommand*\xP at setcolor[3]{\pdfcolorstack\@pdfcolorstack push{##1 ##2 ##1 ##3}}
++\else
++\newcommand*\xP at literal[1]{\pdfextension save\pdfextension literal{##1}\pdfextension restore\relax
++}
++\newcommand*\xP at cm[5]{\pdfextension save\pdfextension setmatrix{##1 ##2 ##3 ##4}##5\pdfextension restore\relax
++}
++\fi
++\@ifundefined{@pdfcolorstack}{\def\@pdfcolorstack{\z@}}{}\ifx\pdfextension\@undefined
++\newcommand*\xP at setcolor[3]{\pdfcolorstack\@pdfcolorstack push{##1 ##2 ##1 ##3}}
+ \newcommand*\xP at resetcolor{\pdfcolorstack\@pdfcolorstack pop\relax}\else
++\newcommand*\xP at setcolor[3]{\pdfextension colorstack\@pdfcolorstack push{##1 ##2 ##1 ##3}}
++\newcommand*\xP at resetcolor{\pdfextension colorstack\@pdfcolorstack pop\relax
++}\fi
++\else
+ \newcommand*\xP at literal{\xP at warning{xypdf}{The produced DVI file is NOT PORTABLE. Convert it with^^Jdvipdfm(x) to the PDF format but do not expect the DVI file itself to be^^Jdisplayed correctly\@gobble}\global\let\xP at literal\xP at literal@
+ \xP at literal
+ }
+@@ -145,14 +160,20 @@
+ \next@
+ {\RequirePackage{ifpdf}\xP at testpdfsave
+ \xP at defpdfliteral}
++\@ifdefinable\xP at digits\relax
++\ifx\pdfvariable\@undefined
+ \ifx\pdfdecimaldigits\@undefined
+ \newcommand*\xP at digits{2}
+ \else
+-\@ifdefinable\xP at digits\relax
+ \xdef\xP at digits{\the\pdfdecimaldigits}
+-\ifnum\pdfdecimaldigits<2
+-\xP at warning{xypdf}{The precision in \string\pdfdecimaldigits\space is only \xP at digits\space
+-decimals.^^JIt is recommended to set \string\pdfdecimaldigits\space to 2 or 3 for best output quality\@gobble}
++\ifnum\xP at digits<2
++\xP at warning{xypdf}{The precision in \string\pdfdecimaldigits\space is only \xP at digits\space decimals.^^JIt is recommended to set \string\pdfdecimaldigits\space to 2 or 3 for best output quality\@gobble}
++\fi
++\fi
++\else
++\xdef\xP at digits{\the\pdfvariable decimaldigits}
++\ifnum\xP at digits<2
++\xP at warning{xypdf}{The precision in "\string\pdfvariable\space decimaldigits" is only \xP at digits^^Jdecimals. It is recommended to set "decimaldigits" to 2 or 3 for best output^^Jquality\@gobble}
+ \fi
+ \fi
+ \newcommand*\xP at dim[1]{\expandafter\xP at removePT\the\dimexpr(#1)*800/803\relax\space}
+@@ -329,10 +350,15 @@
+ \fi
+ ]\xP at precdim{\dimexpr\xP at preclw+\@tempdima/2\relax}d}}
+ \newcommand*\xP at abs[1]{\ifdim#1<\z@\multiply#1\m at ne\fi}
+-\newcommand*\xP at ifabsless[2]{\ifpdfabsdim#1<#2}
+ \ifx\ifpdfabsdim\@undefined
+-\renewcommand*\xP at ifabsless[2]{\ifdim\ifdim#1<\z at -\fi#1<\ifdim#2<\z at -\fi#2}
++\newcommand*\xP at ifabsless[2]{\ifdim\ifdim#1<\z at -\fi#1<\ifdim#2<\z at -\fi#2}
+ \@gobble\fi
++\else
++\newcommand*\xP at ifabsless[2]{\ifpdfabsdim#1<#2}
++\fi
++\ifx\ifabsdim\@undefined
++\else
++\renewcommand*\xP at ifabsless[2]{\ifabsdim#1<#2}
+ \fi
+ \newcommand*\xP at swapdim[2]{\@tempdima#1#1#2#2\@tempdima}
+ \newcommand*\xP at swapnum[2]{\@tempcnta#1#1#2#2\@tempcnta}



More information about the arch-commits mailing list