diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-tex/catdvi |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-tex/catdvi')
-rw-r--r-- | dev-tex/catdvi/Manifest | 6 | ||||
-rw-r--r-- | dev-tex/catdvi/catdvi-0.14-r1.ebuild | 38 | ||||
-rw-r--r-- | dev-tex/catdvi/files/catdvi-0.14-kpathsea.patch | 60 | ||||
-rw-r--r-- | dev-tex/catdvi/metadata.xml | 14 |
4 files changed, 118 insertions, 0 deletions
diff --git a/dev-tex/catdvi/Manifest b/dev-tex/catdvi/Manifest new file mode 100644 index 000000000000..c7029e940586 --- /dev/null +++ b/dev-tex/catdvi/Manifest @@ -0,0 +1,6 @@ +AUX catdvi-0.14-kpathsea.patch 1592 SHA256 c15b29d47990a3220f4465490d428286c81ceea66299a9351a128b892797f53c SHA512 8da09a34e41c3ce4fbcf3db0f01b66790714daff2280f1e878c0fa8c432b15285d6b6d888ec81bb399cbdad1f903688c567a97fd20be5a53716ab54f43bb4e3c WHIRLPOOL 3e493276c17121f8b44db1c502820aaf813fbe59ccb67d225aea42a1ff7e8fea234f7267fe1e9612341702a07935dca5099c621cf2984780b9dd1d1787d70ccd +DIST catdvi-0.14.tar.gz 160661 SHA256 6bface4e8a86f861d8de8ba56483ed2ace69fc0eb12c2c6d0e51e869a46b30a8 SHA512 82ea6130ec702b49ed2d2f08b968ca4d5bee6b16c7973500ceae2d412b209f38a6e63a9e80dd8d2866f190340a7758aa23ee31bed76beb35065016fea109982d WHIRLPOOL 0c4be28f029a38f456e065e52323b44c53f00c761fa3e7b4aea8539d7b9305ca386fc91094c69ea162920ba1caa5096d6d45d9b3cdd04d4cfe808e6c10e6687f +EBUILD catdvi-0.14-r1.ebuild 864 SHA256 83e677a7f555e56d04254be3b5eb286f0506f0d0935ff615cb190620a75d8748 SHA512 3ff018fbeb8de97dc5cc521a105d64fd7508e650f61369c1aca26c3dfc3ab7b035dee2163b5aabff22782f395e6e3d44f609678a267d44f2161808460e78dd40 WHIRLPOOL 6a062f62e76a541f15abc0ce6ca32038187917f2828ba79c16443a3497909c9e61efdc7fa18deadde625f1ce5f8b838beec0db22b04201400a2842c946a54cb7 +MISC ChangeLog 2685 SHA256 3a5af21ff4c696d78c7d27c5045a89e1029cfc057f4da44651b11d5ef21fbfc4 SHA512 6662a708e6cf52a68ffe458321ed48002fb5b5078c8c6d06535595367e5a85721aef069804832fcf5ecc35b20c594a2d2d883fdf4ba1017676da6ea5b0863ef2 WHIRLPOOL 643c87e6f6fa2606388cf9423d1a4efbe02e43836c9a0956df74b5aa56ec531fc00da2320e844a67a4a9d8d7eed883478dc22523ea5aa199be120fa1c5a38572 +MISC ChangeLog-2015 1757 SHA256 7dd08f4890e27193c31dd309cb10b9c9fda5c960a41d1689a3116b06ef0c7fda SHA512 d2ebf7a8a0c029daa5bc4fb7d9f902fdc386b62e0ebf275f054eb733f1f68d78ee899c2db4a9bd6b6c9a4603bdfa2dd27da5c9fd8c512b4a3618d5bf08a8ad96 WHIRLPOOL 29e4a56b64fe62cf0067674e27c08d48f14b3f65a4cad9212de0f64043c54f4d070fb44a0eebf3c9217ed4188705fe8b903f91270badb6e3d60979b69336439c +MISC metadata.xml 400 SHA256 02bebf6f957cae83ad8352e44e1a00e097e9175c7f487c76e26fefaa18e444b1 SHA512 145510fdced5783c731d1c1d2dee14f8f6186693dea1b83b7173ff2095f6c45214eb7cedc281c97af92f9db8f5ca1b41b2728a7cf082d828fd714d19755c9a54 WHIRLPOOL 27afaf56e7c925235654f235cb22510407f2576efd57fe05e929692261502f80af2df9fb79d6e01818d69bdf213ed9965eca2f7c10c5db3be982ab35c072ec0e diff --git a/dev-tex/catdvi/catdvi-0.14-r1.ebuild b/dev-tex/catdvi/catdvi-0.14-r1.ebuild new file mode 100644 index 000000000000..7783adcdb420 --- /dev/null +++ b/dev-tex/catdvi/catdvi-0.14-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils autotools toolchain-funcs flag-o-matic + +DESCRIPTION="DVI to plain text translator" +HOMEPAGE="http://catdvi.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="virtual/tex-base + dev-libs/kpathsea" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}/${P}-kpathsea.patch" + eautoconf + has_version '>=dev-libs/kpathsea-6.2.1' && append-cppflags "$($(tc-getPKG_CONFIG) --cflags kpathsea)" +} + +src_compile() { + # Do not use plain emake here, because make tests + # may cache fonts and generate sandbox violations. + emake catdvi CC="$(tc-getCC)" +} + +src_install() { + dobin catdvi + doman catdvi.1 + dodoc AUTHORS ChangeLog NEWS README TODO +} diff --git a/dev-tex/catdvi/files/catdvi-0.14-kpathsea.patch b/dev-tex/catdvi/files/catdvi-0.14-kpathsea.patch new file mode 100644 index 000000000000..799cd1512018 --- /dev/null +++ b/dev-tex/catdvi/files/catdvi-0.14-kpathsea.patch @@ -0,0 +1,60 @@ +http://bugs.gentoo.org/342817 + +--- 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); + } + diff --git a/dev-tex/catdvi/metadata.xml b/dev-tex/catdvi/metadata.xml new file mode 100644 index 000000000000..08715096c303 --- /dev/null +++ b/dev-tex/catdvi/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ulm@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>tex@gentoo.org</email> + <name>Gentoo TeX Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">catdvi</remote-id> + </upstream> +</pkgmetadata> |