[arch-commits] Commit in texlive-bin/trunk (PKGBUILD dvipng-fix-options.patch)
Rémy Oudompheng
remy at archlinux.org
Mon Oct 11 13:51:08 UTC 2010
Date: Monday, October 11, 2010 @ 09:51:08
Author: remy
Revision: 94852
upgpkg: texlive-bin 2010.1-3
Rebuild for poppler. Patch dvipng to fix FS #20157 (dvipng ignores -T).
Added:
texlive-bin/trunk/dvipng-fix-options.patch
Modified:
texlive-bin/trunk/PKGBUILD
--------------------------+
PKGBUILD | 14 ++++++++++----
dvipng-fix-options.patch | 10 ++++++++++
2 files changed, 20 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-10-11 12:10:58 UTC (rev 94851)
+++ PKGBUILD 2010-10-11 13:51:08 UTC (rev 94852)
@@ -3,7 +3,7 @@
pkgname=texlive-bin
pkgver=2010.1
_luatex_ver=0.62.0
-pkgrel=2
+pkgrel=3
pkgdesc="TeX Live binaries"
license=('GPL')
arch=('i686' 'x86_64')
@@ -16,6 +16,7 @@
source=('texmf.cnf'
'fix-fontforge-encoding.patch'
'09-texlive-fonts.conf'
+ 'dvipng-fix-options.patch'
'ftp://ftp.archlinux.org/other/texlive/texlive-bin-source-20100926.tar.xz'
'ftp://ftp.archlinux.org/other/texlive/texlive-bin-texmf-20100928.tar.xz'
"http://foundry.supelec.fr/gf/download/frsrelease/381/1533/luatex-beta-${_luatex_ver}.tar.bz2")
@@ -40,9 +41,7 @@
fi
cd $srcdir
- # this patch removes spurious error message with locale "xx_YY.utf8"
- patch -p0 -i fix-fontforge-encoding.patch
-
+ # Building LuaTeX
cd luatex-beta-${_luatex_ver}
patch -p0 -i ../fix-fontforge-encoding.patch
mkdir build
@@ -80,6 +79,12 @@
make -C texk/web2c luatex
cd "$srcdir"
+ # this patch removes spurious error message with locale "xx_YY.utf8"
+ patch -p0 -i fix-fontforge-encoding.patch
+ ## fix dvipng (bug #20157)
+ pushd "source/texk/dvipng/dvipng-1.13"
+ patch -p0 -i "$srcdir/dvipng-fix-options.patch"
+ popd
#############################################################
### configure
@@ -281,6 +286,7 @@
md5sums=('626f900fb59f036d6fea95f08c74b00b'
'bfb9716aa00c86c08cd31e5b32edeb98'
'393a4bf67adc7ca5df2b386759d1a637'
+ '60e405158f53519348d9783e8d420670'
'0b2c3a4a1b1e4befb90d7fbb5f08a6e9'
'61f7ccf3c3f750ab0a284491acef535f'
'4b22a50866849ec14886906474a72a01')
Added: dvipng-fix-options.patch
===================================================================
--- dvipng-fix-options.patch (rev 0)
+++ dvipng-fix-options.patch 2010-10-11 13:51:08 UTC (rev 94852)
@@ -0,0 +1,10 @@
+--- papersiz.c 2010/03/17 21:40:00 1.16
++++ papersiz.c 2010/09/29 21:14:40 1.17
+@@ -52,6 +52,7 @@
+ while (*q != ',' && *q !='\0')
+ q++;
+ tmp = tmp*lengthsp[i]*dpi/4736286L; /* sp * dots/in / (sp/in), convert sp to pixels */
++ *p=q;
+ return((int32_t) tmp);
+ }
+
More information about the arch-commits
mailing list