texlive.bin.core: Fix build with poppler 0.72
This commit is contained in:
parent
6d36caab18
commit
76725778ce
@ -28,9 +28,19 @@ let
|
||||
|
||||
patches = [
|
||||
(fetchurl {
|
||||
name = "texlive-poppler-0.64.patch";
|
||||
url = https://git.archlinux.org/svntogit/packages.git/plain/trunk/texlive-poppler-0.64.patch?h=packages/texlive-bin&id=da56abf0f8a1e85daca0ec0f031b8fa268519e6b;
|
||||
sha256 = "0443d074zl3c5raba8jyhavish706arjcd80ibb84zwnwck4ai0w";
|
||||
name = "poppler-compat-fixes-up-to-0.70.patch";
|
||||
url = https://git.archlinux.org/svntogit/packages.git/plain/trunk/poppler-compat-fixes-up-to-0.70.patch?h=packages/texlive-bin&id=85ee0539525d8012f134b76c18dfb10d0837a7e2;
|
||||
sha256 = "0a8bvyl7v6zlyyg3ycl0dmg2g2qahxlq3qmc1nv33r24anzb8xhs";
|
||||
})
|
||||
(fetchurl {
|
||||
name = "luatex-poppler-0.70-const-fixes.patch";
|
||||
url = https://git.archlinux.org/svntogit/packages.git/plain/trunk/luatex-poppler-0.70-const-fixes.patch?h=packages/texlive-bin&id=85ee0539525d8012f134b76c18dfb10d0837a7e2;
|
||||
sha256 = "0yiw2x97whdi23dc10xnqpxqj3aja15alir1byp1y03j60zv5n7i";
|
||||
})
|
||||
(fetchurl {
|
||||
name = "texlive-poppler-0.71.patch";
|
||||
url = https://git.archlinux.org/svntogit/packages.git/plain/trunk/texlive-poppler-0.71.patch?h=packages/texlive-bin&id=85ee0539525d8012f134b76c18dfb10d0837a7e2;
|
||||
sha256 = "164wibyf786gdcb0ij4svsmyi13wvcx0cpdr4flki0lpy3igvlnq";
|
||||
})
|
||||
(fetchurl {
|
||||
name = "synctex-missing-header.patch";
|
||||
@ -89,8 +99,10 @@ core = stdenv.mkDerivation rec {
|
||||
for i in texk/kpathsea/mktex*; do
|
||||
sed -i '/^mydir=/d' "$i"
|
||||
done
|
||||
cp -pv texk/web2c/pdftexdir/pdftoepdf{-newpoppler.cc,.cc}
|
||||
cp -pv texk/web2c/pdftexdir/pdftosrc{-newpoppler.cc,.cc}
|
||||
cp -pv texk/web2c/pdftexdir/pdftoepdf{-poppler0.70.0,}.cc
|
||||
cp -pv texk/web2c/pdftexdir/pdftosrc{-newpoppler,}.cc
|
||||
# fix build with poppler 0.71
|
||||
find texk/web2c/{lua,pdf}texdir -type f | xargs sed -e 's|gTrue|true|g' -e 's|gFalse|false|g' -e 's|GBool|bool|g' -e 's|getCString|c_str|g' -i
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user