[arch-commits] Commit in catdvi/repos/community-x86_64 (4 files)

Giancarlo Razzolini grazzolini at archlinux.org
Thu May 31 13:58:51 UTC 2018


    Date: Thursday, May 31, 2018 @ 13:58:51
  Author: grazzolini
Revision: 334833

archrelease: copy trunk to community-x86_64

Added:
  catdvi/repos/community-x86_64/PKGBUILD
    (from rev 334832, catdvi/trunk/PKGBUILD)
  catdvi/repos/community-x86_64/texlive2008.patch
    (from rev 334832, catdvi/trunk/texlive2008.patch)
Deleted:
  catdvi/repos/community-x86_64/PKGBUILD
  catdvi/repos/community-x86_64/texlive2008.patch

-------------------+
 PKGBUILD          |   72 ++++++++++++++++----------------
 texlive2008.patch |  116 ++++++++++++++++++++++++++--------------------------
 2 files changed, 94 insertions(+), 94 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-31 13:58:13 UTC (rev 334832)
+++ PKGBUILD	2018-05-31 13:58:51 UTC (rev 334833)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Pierre Neidhardt <ambrevar at gmail.com>
-# Contributor:: Stefan Husmann <stefan-husmann at t-online.de>
-# Contributor: Xilon <xilonmu at gmail.com>
-
-pkgname=catdvi
-pkgver=0.14
-pkgrel=7
-pkgdesc="A DVI to plain text translator"
-arch=('x86_64')
-url="http://catdvi.sourceforge.net"
-license=('GPL')
-depends=('glibc' 'texlive-core')
-makedepends=('texlive-fontsextra')
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
-        'texlive2008.patch')
-md5sums=('b18eac65baf522c1e37bb3dc37ab42c3'
-         '509f61a30d3758e5d102c124bc5fa9a0')
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-  patch -p1 -i "${srcdir}"/texlive2008.patch
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  autoconf
-  ./configure --prefix=/usr --mandir=/usr/share/man
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  install -d "$pkgdir"/usr/bin "$pkgdir"/usr/share/man/man1
-  make DESTDIR="$pkgdir" install bindir="$pkgdir"/usr/bin mandir="$pkgdir"/usr/share/man
-}

Copied: catdvi/repos/community-x86_64/PKGBUILD (from rev 334832, catdvi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-31 13:58:51 UTC (rev 334833)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Pierre Neidhardt <ambrevar at gmail.com>
+# Contributor:: Stefan Husmann <stefan-husmann at t-online.de>
+# Contributor: Xilon <xilonmu at gmail.com>
+
+pkgname=catdvi
+pkgver=0.14
+pkgrel=8
+pkgdesc="A DVI to plain text translator"
+arch=('x86_64')
+url="http://catdvi.sourceforge.net"
+license=('GPL')
+depends=('glibc' 'texlive-core')
+makedepends=('texlive-fontsextra')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
+        'texlive2008.patch')
+md5sums=('b18eac65baf522c1e37bb3dc37ab42c3'
+         '509f61a30d3758e5d102c124bc5fa9a0')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -p1 -i "${srcdir}"/texlive2008.patch
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  autoconf
+  ./configure --prefix=/usr --mandir=/usr/share/man
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  install -d "$pkgdir"/usr/bin "$pkgdir"/usr/share/man/man1
+  make DESTDIR="$pkgdir" install bindir="$pkgdir"/usr/bin mandir="$pkgdir"/usr/share/man
+}

Deleted: texlive2008.patch
===================================================================
--- texlive2008.patch	2018-05-31 13:58:13 UTC (rev 334832)
+++ texlive2008.patch	2018-05-31 13:58:51 UTC (rev 334833)
@@ -1,58 +0,0 @@
---- catdvi-0.14-orig/config.mk.in
-+++ catdvi-0.14/config.mk.in
-@@ -23,6 +23,7 @@
- 
- CFG_HAS_GETOPT_LONG = @CFG_HAS_GETOPT_LONG@
- CFG_HAS_KPATHSEA = @CFG_HAS_KPATHSEA@
-+CFG_HAS_KPATHSEA_VERSION_H = @CFG_HAS_KPATHSEA_VERSION_H@
- CFG_KPATHSEA_HAS_GETOPT_LONG = @CFG_KPATHSEA_HAS_GETOPT_LONG@
- CFG_SHOW_PSE2UNIC_WARNINGS = @CFG_SHOW_PSETOUNIC_WARNINGS@
- 
---- catdvi-0.14-orig/configure.in
-+++ catdvi-0.14/configure.in
-@@ -48,6 +48,9 @@
-     AC_MSG_ERROR([*** kpathsea library (required) not found; try to use the --with-kpathsea-prefix option ***])
- fi
- 
-+AC_CHECK_HEADERS([kpathsea/version.h], CFG_HAS_KPATHSEA_VERSION_H=yes, CFG_HAS_KPATHSEA_VERSION_H=no)
-+AC_SUBST(CFG_HAS_KPATHSEA_VERSION_H)
-+
- dnl It seem libkpathsea provides a getopt_long() implementation
- dnl if and only if the C library does not.
- dnl
---- catdvi-0.14-orig/GNUmakefile
-+++ catdvi-0.14/GNUmakefile
-@@ -36,6 +36,10 @@
- endif
- endif
- 
-+ifeq ($(CFG_HAS_KPATHSEA_VERSION_H),yes)
-+CPPFLAGS += -DCFG_HAS_KPATHSEA_VERSION_H
-+endif
-+
- ifeq ($(CFG_HAS_KPATHSEA),yes)
- FINDTFM = kpathsea.o
- LDLIBS = -lkpathsea
---- catdvi-0.14-orig/kpathsea.c
-+++ catdvi-0.14/kpathsea.c
-@@ -21,6 +21,12 @@
- #include "findtfm.h"
- #include "version.h"
- 
-+#ifdef CFG_HAS_KPATHSEA_VERSION_H
-+#include <kpathsea/version.h>
-+#else 
-+extern char * kpathsea_version_string;
-+#endif
-+
- void setup_findtfm(char const * progname)
- {
-         kpse_set_program_name(progname, PACKAGE);
-@@ -36,7 +42,6 @@
- 
- void version_findtfm(void)
- {
--        extern char * kpathsea_version_string;
-         puts(kpathsea_version_string);
- }
- 

Copied: catdvi/repos/community-x86_64/texlive2008.patch (from rev 334832, catdvi/trunk/texlive2008.patch)
===================================================================
--- texlive2008.patch	                        (rev 0)
+++ texlive2008.patch	2018-05-31 13:58:51 UTC (rev 334833)
@@ -0,0 +1,58 @@
+--- catdvi-0.14-orig/config.mk.in
++++ catdvi-0.14/config.mk.in
+@@ -23,6 +23,7 @@
+ 
+ CFG_HAS_GETOPT_LONG = @CFG_HAS_GETOPT_LONG@
+ CFG_HAS_KPATHSEA = @CFG_HAS_KPATHSEA@
++CFG_HAS_KPATHSEA_VERSION_H = @CFG_HAS_KPATHSEA_VERSION_H@
+ CFG_KPATHSEA_HAS_GETOPT_LONG = @CFG_KPATHSEA_HAS_GETOPT_LONG@
+ CFG_SHOW_PSE2UNIC_WARNINGS = @CFG_SHOW_PSETOUNIC_WARNINGS@
+ 
+--- catdvi-0.14-orig/configure.in
++++ catdvi-0.14/configure.in
+@@ -48,6 +48,9 @@
+     AC_MSG_ERROR([*** kpathsea library (required) not found; try to use the --with-kpathsea-prefix option ***])
+ fi
+ 
++AC_CHECK_HEADERS([kpathsea/version.h], CFG_HAS_KPATHSEA_VERSION_H=yes, CFG_HAS_KPATHSEA_VERSION_H=no)
++AC_SUBST(CFG_HAS_KPATHSEA_VERSION_H)
++
+ dnl It seem libkpathsea provides a getopt_long() implementation
+ dnl if and only if the C library does not.
+ dnl
+--- catdvi-0.14-orig/GNUmakefile
++++ catdvi-0.14/GNUmakefile
+@@ -36,6 +36,10 @@
+ endif
+ endif
+ 
++ifeq ($(CFG_HAS_KPATHSEA_VERSION_H),yes)
++CPPFLAGS += -DCFG_HAS_KPATHSEA_VERSION_H
++endif
++
+ ifeq ($(CFG_HAS_KPATHSEA),yes)
+ FINDTFM = kpathsea.o
+ LDLIBS = -lkpathsea
+--- catdvi-0.14-orig/kpathsea.c
++++ catdvi-0.14/kpathsea.c
+@@ -21,6 +21,12 @@
+ #include "findtfm.h"
+ #include "version.h"
+ 
++#ifdef CFG_HAS_KPATHSEA_VERSION_H
++#include <kpathsea/version.h>
++#else 
++extern char * kpathsea_version_string;
++#endif
++
+ void setup_findtfm(char const * progname)
+ {
+         kpse_set_program_name(progname, PACKAGE);
+@@ -36,7 +42,6 @@
+ 
+ void version_findtfm(void)
+ {
+-        extern char * kpathsea_version_string;
+         puts(kpathsea_version_string);
+ }
+ 



More information about the arch-commits mailing list