[arch-commits] Commit in latex2rtf/trunk (PKGBUILD texinfo-5-fix.patch)

Rémy Oudompheng remy at archlinux.org
Thu Nov 9 21:23:27 UTC 2017


    Date: Thursday, November 9, 2017 @ 21:23:24
  Author: remy
Revision: 309335

upgpkg: latex2rtf 2.3.16-1

Upstream update.

Modified:
  latex2rtf/trunk/PKGBUILD
Deleted:
  latex2rtf/trunk/texinfo-5-fix.patch

---------------------+
 PKGBUILD            |   19 ++++++++-----------
 texinfo-5-fix.patch |   46 ----------------------------------------------
 2 files changed, 8 insertions(+), 57 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-09 21:19:52 UTC (rev 309334)
+++ PKGBUILD	2017-11-09 21:23:24 UTC (rev 309335)
@@ -3,7 +3,7 @@
 # Contributor: John Proctor <jproctor at prium.net>
 
 pkgname=latex2rtf
-pkgver=2.3.10
+pkgver=2.3.16
 pkgrel=1
 pkgdesc="LaTeX to RTF converter"
 arch=('i686' 'x86_64')
@@ -12,16 +12,10 @@
 depends=('glibc' 'imagemagick' 'ghostscript')
 makedepends=('texinfo' 'texlive-bin' 'texlive-plainextra')
 checkdepends=('texlive-latexextra') # for a4wide package
-source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
-        "texinfo-5-fix.patch")
-sha1sums=('aa6adc7d6c25658aed1bc0bb70cf0274f7a770aa'
-          'e5f2020004ba2aa428eabdce07f4a68ea11f3882')
+source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('79aff771ee014300606560f18fde74c9eb3a250d')
+md5sums=('a7e705af414753c01b04ff15bf4c0af6')
 
-prepare() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np1 -i "${srcdir}/texinfo-5-fix.patch"
-}
-
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR=/usr latex2rtf
@@ -29,11 +23,14 @@
 
 check() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-#  make check
+  sed -i 's,s/\\\\,s/\\\\\\,' test/bracecheck
+  chmod u+x test/bracecheck
+  make check
 }
 
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}/usr" install install-info
+  chmod 755 "${pkgdir}/usr/bin/latex2png"
   sed -i -e 's|error "no input file specified"| echo "error: no input file specified"|' "${pkgdir}/usr/bin/latex2png"
 }

Deleted: texinfo-5-fix.patch
===================================================================
--- texinfo-5-fix.patch	2017-11-09 21:19:52 UTC (rev 309334)
+++ texinfo-5-fix.patch	2017-11-09 21:23:24 UTC (rev 309335)
@@ -1,46 +0,0 @@
---- 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