[arch-commits] Commit in texlive-bin/trunk (PKGBUILD dvipng-fix-options.patch)

2011-06-02 Thread Rémy Oudompheng
Date: Thursday, June 2, 2011 @ 06:50:58
  Author: remy
Revision: 126175

Remove now useless dvipng patch

Modified:
  texlive-bin/trunk/PKGBUILD
Deleted:
  texlive-bin/trunk/dvipng-fix-options.patch

--+
 PKGBUILD |9 ++---
 dvipng-fix-options.patch |   10 --
 2 files changed, 2 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2011-06-02 09:10:26 UTC (rev 126174)
+++ PKGBUILD2011-06-02 10:50:58 UTC (rev 126175)
@@ -1,4 +1,5 @@
-# Maintainer: francois francois.archlinux.org
+# Maintainer: Rémy Oudompheng r...@archlinux.org
+# Contributor: francois francois.archlinux.org
 
 pkgname=texlive-bin
 pkgver=2010.1
@@ -17,7 +18,6 @@
 source=('texmf.cnf'
 'fix-fontforge-encoding.patch'
 '09-texlive-fonts.conf'
-'dvipng-fix-options.patch'
 
'http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-source-20100926.tar.xz'
 
'http://mirrors.kernel.org/archlinux/other/texlive/texlive-bin-texmf-20101105.tar.xz'
 
#http://foundry.supelec.fr/gf/download/frsrelease/387/1715/luatex-beta-${_luatex_ver}-source.tar.bz2;
@@ -40,7 +40,6 @@
 md5sums=('626f900fb59f036d6fea95f08c74b00b'
  'bfb9716aa00c86c08cd31e5b32edeb98'
  '393a4bf67adc7ca5df2b386759d1a637'
- '60e405158f53519348d9783e8d420670'
  '0b2c3a4a1b1e4befb90d7fbb5f08a6e9'
  '7ae1400dafdb079dcd08d233de83ec44'
  '523802a23bc174374403415d9cc87946')
@@ -93,10 +92,6 @@
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

Deleted: dvipng-fix-options.patch
===
--- dvipng-fix-options.patch2011-06-02 09:10:26 UTC (rev 126174)
+++ dvipng-fix-options.patch2011-06-02 10:50:58 UTC (rev 126175)
@@ -1,10 +0,0 @@
 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);
- }
- 



[arch-commits] Commit in texlive-bin/trunk (PKGBUILD dvipng-fix-options.patch)

2010-10-11 Thread Rémy Oudompheng
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
===
--- PKGBUILD2010-10-11 12:10:58 UTC (rev 94851)
+++ PKGBUILD2010-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.patch2010-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);
+ }
+