[arch-commits] Commit in latex2rtf/trunk (PKGBUILD texinfo-5-fix.patch)
Rémy Oudompheng
remy at archlinux.org
Sun Dec 21 08:44:08 UTC 2014
Date: Sunday, December 21, 2014 @ 09:44:08
Author: remy
Revision: 227859
upgpkg: latex2rtf 2.3.8-1
Added:
latex2rtf/trunk/texinfo-5-fix.patch
Modified:
latex2rtf/trunk/PKGBUILD
---------------------+
PKGBUILD | 20 ++++++++++++--------
texinfo-5-fix.patch | 46 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-12-21 07:12:19 UTC (rev 227858)
+++ PKGBUILD 2014-12-21 08:44:08 UTC (rev 227859)
@@ -3,7 +3,7 @@
# Contributor: John Proctor <jproctor at prium.net>
pkgname=latex2rtf
-pkgver=2.3.3
+pkgver=2.3.8
pkgrel=1
pkgdesc="LaTeX to RTF converter"
arch=('i686' 'x86_64')
@@ -10,15 +10,19 @@
url="http://latex2rtf.sourceforge.net/"
license=('GPL')
depends=('glibc' 'imagemagick' 'ghostscript')
-checkdepends=(
- 'texlive-bin'
- 'texlive-core'
- 'texlive-latexextra' # for a4wide package
-)
+makedepends=('texinfo' 'texlive-bin' 'texlive-plainextra')
+checkdepends=('texlive-latexextra') # for a4wide package
install=latex2rtf.install
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-sha1sums=('85dd36e8595f92f41b0b173a6b42279333bbb1a9')
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ "texinfo-5-fix.patch")
+sha1sums=('334de546342078c7a3213cb5b554a0a900952641'
+ 'e5f2020004ba2aa428eabdce07f4a68ea11f3882')
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i "${srcdir}/texinfo-5-fix.patch"
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=/usr
Added: texinfo-5-fix.patch
===================================================================
--- texinfo-5-fix.patch (rev 0)
+++ texinfo-5-fix.patch 2014-12-21 08:44:08 UTC (rev 227859)
@@ -0,0 +1,46 @@
+--- latex2rtf-2.3.5.orig/doc/latex2rtf.texi 2013-11-12 11:24:58.000000000 +0100
++++ latex2rtf-2.3.5/doc/latex2rtf.texi 2014-12-21 09:17:30.224252473 +0100
+@@ -1,7 +1,3 @@
+-\def\LaTeX{L\kern-.36em\raise.3ex\hbox{\sc a}\kern-.15em\TeX}
+-\def\LaTeXe{\LaTeX\kern.15em 2$_\varepsilon$}
+-\def\BibTeX{B\kern-.05em{\sc i\kern-.025em b}\kern-.08em\TeX}
+-
+ \input texinfo
+ @c -*-texinfo-*-
+ @c %**start of header
+@@ -22,7 +18,7 @@
+ LaTeX
+ @end ifnottex
+ @iftex
+- at LaTeX{}
++\\LaTeX{}
+ @end iftex
+ @end macro
+
+@@ -31,7 +27,7 @@
+ BibTeX
+ @end ifnottex
+ @iftex
+- at BibTeX{}
++\\BibTeX{}
+ @end iftex
+ @end macro
+
+@@ -40,7 +36,7 @@
+ LaTeX2e
+ @end ifnottex
+ @iftex
+- at LaTeXe{}
++\\LaTeXe{}
+ @end iftex
+ @end macro
+
+@@ -49,7 +45,7 @@
+ LaTeX2RTF
+ @end ifnottex
+ @iftex
+- at LaTeX{}2RTF
++\\LaTeX{}2RTF
+ @end iftex
+ @end macro
+
More information about the arch-commits
mailing list