diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-text/catdoc | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-text/catdoc')
-rw-r--r-- | app-text/catdoc/Manifest | 1 | ||||
-rw-r--r-- | app-text/catdoc/catdoc-0.94.4-r1.ebuild | 59 | ||||
-rw-r--r-- | app-text/catdoc/catdoc-0.94.4.ebuild | 54 | ||||
-rw-r--r-- | app-text/catdoc/files/catdoc-0.94.2+autoconf-2.63.patch | 12 | ||||
-rw-r--r-- | app-text/catdoc/files/catdoc-0.94.2-flags.patch | 35 | ||||
-rw-r--r-- | app-text/catdoc/files/catdoc-0.94.4-desktop.patch | 11 | ||||
-rw-r--r-- | app-text/catdoc/files/catdoc-0.94.4-destdir.patch | 17 | ||||
-rw-r--r-- | app-text/catdoc/metadata.xml | 5 |
8 files changed, 194 insertions, 0 deletions
diff --git a/app-text/catdoc/Manifest b/app-text/catdoc/Manifest new file mode 100644 index 000000000000..8959ce1a582c --- /dev/null +++ b/app-text/catdoc/Manifest @@ -0,0 +1 @@ +DIST catdoc_0.94.4.orig.tar.gz 679156 SHA256 c06fd69d2a218fcc2ed1320988cef07a67cf5555a12f25752766d746e25758ee SHA512 63e492c40e0abb82df0c93c43d1bd63f15d0c8b60579cf3858f26a0814731920ff621b3384035c9a85da5c448b699801ff3376e7a02cf8e7a413195bd9847ba9 WHIRLPOOL 73675ee3b2facf03e894257132ee7766802ee3ab347701dfa7cd313855ebb22976b9e44f1d9d4eceee6f87008160df371a0cda409a623f61a35413d480a2a8d5 diff --git a/app-text/catdoc/catdoc-0.94.4-r1.ebuild b/app-text/catdoc/catdoc-0.94.4-r1.ebuild new file mode 100644 index 000000000000..099c9bf5bad1 --- /dev/null +++ b/app-text/catdoc/catdoc-0.94.4-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +WANT_AUTOMAKE=none + +inherit autotools eutils + +DESCRIPTION="Converter for Microsoft Word, Excel, PowerPoint and RTF files to text" +HOMEPAGE="http://www.wagner.pp.ru/~vitus/software/catdoc/" +SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="tk" + +DEPEND="tk? ( >=dev-lang/tk-8.1 )" + +DOCS="CODING.STD CREDITS NEWS README TODO" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.94.2-flags.patch + epatch "${FILESDIR}"/${PN}-0.94.2+autoconf-2.63.patch + epatch "${FILESDIR}"/${P}-destdir.patch + epatch "${FILESDIR}"/${P}-desktop.patch + + # only install wordview.desktop when tk is enabled (bug #522766) + if ! use tk ; then + sed -i 's/ desktop//' Makefile.in || die + fi + + # Fix for case-insensitive filesystems + echo ".PHONY: all install clean distclean dist" >> Makefile.in + + eautoconf +} + +src_configure() { + econf --with-install-root="${D}" \ + $(use_with tk wish "${EPREFIX}"/usr/bin/wish) \ + $(use_enable tk wordview) +} + +src_compile() { + emake LIB_DIR="${EPREFIX}"/usr/share/catdoc +} + +src_install() { + emake -j1 mandir="${EPREFIX}"/usr/share/man/man1 install + + if [[ -e ${ED}/usr/bin/xls2csv ]]; then + einfo "Renaming xls2csv to xls2csv-${PN} because of bug 314657." + mv -vf "${ED}"/usr/bin/xls2csv "${ED}"/usr/bin/xls2csv-${PN} || die + fi + + dodoc ${DOCS} +} diff --git a/app-text/catdoc/catdoc-0.94.4.ebuild b/app-text/catdoc/catdoc-0.94.4.ebuild new file mode 100644 index 000000000000..183893d208e7 --- /dev/null +++ b/app-text/catdoc/catdoc-0.94.4.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +WANT_AUTOMAKE=none + +inherit autotools eutils + +DESCRIPTION="Converter for Microsoft Word, Excel, PowerPoint and RTF files to text" +HOMEPAGE="http://www.wagner.pp.ru/~vitus/software/catdoc/" +SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="tk" + +DEPEND="tk? ( >=dev-lang/tk-8.1 )" + +DOCS="CODING.STD CREDITS NEWS README TODO" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.94.2-flags.patch + epatch "${FILESDIR}"/${PN}-0.94.2+autoconf-2.63.patch + epatch "${FILESDIR}"/${P}-destdir.patch + epatch "${FILESDIR}"/${P}-desktop.patch + + # Fix for case-insensitive filesystems + echo ".PHONY: all install clean distclean dist" >> Makefile.in + + eautoconf +} + +src_configure() { + econf --with-install-root="${D}" \ + $(use_with tk wish "${EPREFIX}"/usr/bin/wish) \ + $(use_enable tk wordview) +} + +src_compile() { + emake LIB_DIR="${EPREFIX}"/usr/share/catdoc +} + +src_install() { + emake -j1 mandir="${EPREFIX}"/usr/share/man/man1 install + + if [[ -e ${ED}/usr/bin/xls2csv ]]; then + einfo "Renaming xls2csv to xls2csv-${PN} because of bug 314657." + mv -vf "${ED}"/usr/bin/xls2csv "${ED}"/usr/bin/xls2csv-${PN} || die + fi + + dodoc ${DOCS} +} diff --git a/app-text/catdoc/files/catdoc-0.94.2+autoconf-2.63.patch b/app-text/catdoc/files/catdoc-0.94.2+autoconf-2.63.patch new file mode 100644 index 000000000000..7fc70d33fd9b --- /dev/null +++ b/app-text/catdoc/files/catdoc-0.94.2+autoconf-2.63.patch @@ -0,0 +1,12 @@ +Index: catdoc-0.94.2/configure.in +=================================================================== +--- catdoc-0.94.2.orig/configure.in ++++ catdoc-0.94.2/configure.in +@@ -119,6 +119,6 @@ AC_SUBST(charsetcheck) + AC_SUBST(installroot) + AC_SUBST(catdoc_version) + AC_SUBST(CFLAGS) +-AC_SUBST(WORDS_BIGENDIAN DEFS) ++AC_SUBST(DEFS) + AC_CONFIG_HEADER(src/config.h) + AC_OUTPUT(doc/Makefile charsets/Makefile src/Makefile Makefile doc/catdoc.1 doc/xls2csv.1 doc/wordview.1 doc/catppt.1) diff --git a/app-text/catdoc/files/catdoc-0.94.2-flags.patch b/app-text/catdoc/files/catdoc-0.94.2-flags.patch new file mode 100644 index 000000000000..eb4e7e469e91 --- /dev/null +++ b/app-text/catdoc/files/catdoc-0.94.2-flags.patch @@ -0,0 +1,35 @@ +Index: catdoc-0.94.2/configure.in +=================================================================== +--- catdoc-0.94.2.orig/configure.in ++++ catdoc-0.94.2/configure.in +@@ -100,10 +100,6 @@ AC_C_CONST + dnl Checks for library functions. + AC_FUNC_SETVBUF_REVERSED + +-if test "$GCC" = "yes"; then +- CFLAGS="-g -O2 -Wall" +-fi +- + AC_DEFINE_UNQUOTED([SOURCE_CHARSET],"$sourcecharset",[Character encoding used by default for 8-bit source files]) + AC_DEFINE_UNQUOTED([TARGET_CHARSET],"$targetcharset",[Output character encoding used by default, if impossible to determine encoding from locale]) + AC_DEFINE_UNQUOTED([SPEC_EXT],"$specsuffix",[Suffix for files with special symbols map (ones to be replaced regardless of availability in target encoding)]) +Index: catdoc-0.94.2/src/Makefile.in +=================================================================== +--- catdoc-0.94.2.orig/src/Makefile.in ++++ catdoc-0.94.2/src/Makefile.in +@@ -74,12 +74,12 @@ OBJPPT=catppt.o pptparse.o $(COMMONOBJ) + # $(CC) -c $(CFLAGS) $* + all: @buildtargets@ + catdoc: $(OBJ) +- $(CC) -o catdoc $(OBJ) ++ $(CC) $(LDFLAGS) -o catdoc $(OBJ) + xls2csv: $(OBJXLS) +- $(CC) -o xls2csv $(OBJXLS) -lm ++ $(CC) $(LDFLAGS) -o xls2csv $(OBJXLS) -lm + + catppt: $(OBJPPT) +- $(CC) -o catppt $(OBJPPT) -lm ++ $(CC) $(LDFLAGS) -o catppt $(OBJPPT) -lm + + install: @installtargets@ + install-catdoc:catdoc xls2csv catppt diff --git a/app-text/catdoc/files/catdoc-0.94.4-desktop.patch b/app-text/catdoc/files/catdoc-0.94.4-desktop.patch new file mode 100644 index 000000000000..f92792293cea --- /dev/null +++ b/app-text/catdoc/files/catdoc-0.94.4-desktop.patch @@ -0,0 +1,11 @@ +--- catdoc-0.94.4/desktop/wordview.desktop ++++ catdoc-0.94.4/desktop/wordview.desktop +@@ -2,7 +2,7 @@ + Name=Wordview Microsoft doc Viewer + Comment=Microsoft doc document file viewer + Exec=wordview +-Icon=wordview.xpm ++Icon=wordview + Terminal=false + Categories=Office;GNOME; + Type=Application diff --git a/app-text/catdoc/files/catdoc-0.94.4-destdir.patch b/app-text/catdoc/files/catdoc-0.94.4-destdir.patch new file mode 100644 index 000000000000..9e6ac0986b2a --- /dev/null +++ b/app-text/catdoc/files/catdoc-0.94.4-destdir.patch @@ -0,0 +1,17 @@ +--- catdoc-0.94.4/desktop/Makefile.in ++++ catdoc-0.94.4/desktop/Makefile.in +@@ -20,10 +20,10 @@ + clean: + + install: all +- ../mkinstalldirs $(prefix)$(desktopdir) +- ../mkinstalldirs $(prefix)$(iconsdir) +- $(INSTALL) -m 644 wordview.desktop $(prefix)$(desktopdir)/wordview.desktop +- $(INSTALL) -m 644 wordview.xpm $(prefix)$(iconsdir)/wordview.xpm ++ ../mkinstalldirs $(installroot)$(prefix)$(desktopdir) ++ ../mkinstalldirs $(installroot)$(prefix)$(iconsdir) ++ $(INSTALL) -m 644 wordview.desktop $(installroot)$(prefix)$(desktopdir)/wordview.desktop ++ $(INSTALL) -m 644 wordview.xpm $(installroot)$(prefix)$(iconsdir)/wordview.xpm + + distclean: clean + rm Makefile diff --git a/app-text/catdoc/metadata.xml b/app-text/catdoc/metadata.xml new file mode 100644 index 000000000000..ba6a8a8800d5 --- /dev/null +++ b/app-text/catdoc/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>tex</herd> +</pkgmetadata> |