diff options
-rw-r--r-- | dev-tex/latex2rtf/ChangeLog | 11 | ||||
-rw-r--r-- | dev-tex/latex2rtf/files/latex2rtf-1.9.16-direntry.patch | 28 | ||||
-rw-r--r-- | dev-tex/latex2rtf/files/latex2rtf-1.9.18-Makefile-gentoo.diff | 74 | ||||
-rw-r--r-- | dev-tex/latex2rtf/files/latex2rtf-Makefile-gentoo.diff | 63 | ||||
-rw-r--r-- | dev-tex/latex2rtf/latex2rtf-1.9.16.ebuild | 41 | ||||
-rw-r--r-- | dev-tex/latex2rtf/latex2rtf-1.9.18.ebuild | 48 |
6 files changed, 9 insertions, 256 deletions
diff --git a/dev-tex/latex2rtf/ChangeLog b/dev-tex/latex2rtf/ChangeLog index 58bd081de71e..288a8b2491e8 100644 --- a/dev-tex/latex2rtf/ChangeLog +++ b/dev-tex/latex2rtf/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-tex/latex2rtf -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2rtf/ChangeLog,v 1.19 2007/12/11 10:34:15 aballier Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2rtf/ChangeLog,v 1.20 2008/03/03 22:21:32 aballier Exp $ + + 03 Mar 2008; Alexis Ballier <aballier@gentoo.org> + -files/latex2rtf-Makefile-gentoo.diff, + -files/latex2rtf-1.9.16-direntry.patch, + -files/latex2rtf-1.9.18-Makefile-gentoo.diff, -latex2rtf-1.9.16.ebuild, + -latex2rtf-1.9.18.ebuild: + remove old 11 Dec 2007; Alexis Ballier <aballier@gentoo.org> latex2rtf-1.9.18.ebuild, latex2rtf-1.9.19.ebuild: diff --git a/dev-tex/latex2rtf/files/latex2rtf-1.9.16-direntry.patch b/dev-tex/latex2rtf/files/latex2rtf-1.9.16-direntry.patch deleted file mode 100644 index 180b77ba22c5..000000000000 --- a/dev-tex/latex2rtf/files/latex2rtf-1.9.16-direntry.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- doc/latex2rtf.info 2005-12-20 19:47:03.000000000 +0100 -+++ doc/latex2rtf.info.new 2005-12-20 19:49:16.000000000 +0100 -@@ -1,6 +1,11 @@ - This is latex2rtf.info, produced by makeinfo version 4.2 from - latex2rtf.texi. - -+INFO-DIR-SECTION TeX -+START-INFO-DIR-ENTRY -+* LaTeX2RTF: (latex2rtf). Convert a LaTeX file to RTF -+END-INFO-DIR-ENTRY -+ - - File: latex2rtf.info, Node: Top, Next: Introduction, Up: (dir) - ---- doc/latex2rtf.texi 2005-12-20 19:47:03.000000000 +0100 -+++ doc/latex2rtf.texi.new 2005-12-20 19:51:32.000000000 +0100 -@@ -52,6 +52,11 @@ - @end iftex - @end macro - -+@dircategory TeX -+@direntry -+* LaTeX2RTF: (latex2rtf). Convert a LaTeX file to RTF -+@end direntry -+ - @titlepage - @title @ltor{} - @subtitle diff --git a/dev-tex/latex2rtf/files/latex2rtf-1.9.18-Makefile-gentoo.diff b/dev-tex/latex2rtf/files/latex2rtf-1.9.18-Makefile-gentoo.diff deleted file mode 100644 index 6314dd9da1ae..000000000000 --- a/dev-tex/latex2rtf/files/latex2rtf-1.9.18-Makefile-gentoo.diff +++ /dev/null @@ -1,74 +0,0 @@ -Index: latex2rtf-1.9.18/Makefile -=================================================================== ---- latex2rtf-1.9.18.orig/Makefile -+++ latex2rtf-1.9.18/Makefile -@@ -1,11 +1,11 @@ - # $Id: latex2rtf-1.9.18-Makefile-gentoo.diff,v 1.1 2007/10/31 12:22:37 aballier Exp $ - --CC=gcc - MKDIR=mkdir -p - TAR=gnutar - RM=rm - --CFLAGS:=-DUNIX -+# Gentoo: Modified to use makefile.conf CFLAGS -+CFLAGS:=$(CFLAGS) -DUNIX - #CFLAGS:=-DMSDOS #Windows/DOS - #CFLAGS:=-DMAC_CLASSIC #MacOS 8/9 - #CFLAGS:=-DOS2 #OS/2 -@@ -23,17 +23,17 @@ LINK_FLAGS = -lm - #CFLAGS:=$(CFLAGS) -Zwin32 - - #Base directory - adapt as needed --PREFIX=$(PREFIX_DRIVE)/usr/local -+PREFIX=/usr - - #Name of executable binary --- beware of 8.3 restriction under DOS - BINARY_NAME=latex2rtf$(EXE_SUFFIX) - - # Location of binary, man, info, and support files - adapt as needed - BIN_INSTALL=$(PREFIX)/bin --MAN_INSTALL=$(PREFIX)/man/man1 --INFO_INSTALL=$(PREFIX)/info --SUPPORT_INSTALL=$(PREFIX)/share/latex2rtf --CFG_INSTALL=$(PREFIX)/share/latex2rtf/cfg -+MAN_INSTALL=$(PREFIX)/share/man/man1 -+INFO_INSTALL=$(PREFIX)/share/info -+SUPPORT_INSTALL=$(PREFIX)/share/doc/latex2rtf -+CFG_INSTALL=$(PREFIX)/share/latex2rtf/ - - # Nothing to change below this line - -@@ -137,7 +137,7 @@ OBJS=fonts.o direct.o encodings.o comman - all : checkdir uptodate latex2rtf - - latex2rtf: $(OBJS) $(HDRS) -- $(CC) $(CFLAGS) $(LINK_FLAGS) $(OBJS) $(LIBS) -o $(BINARY_NAME) -+ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $(BINARY_NAME) $(LINK_FLAGS) - - cfg.o: Makefile cfg.c - $(CC) $(CFLAGS) -DCFGDIR=\"$(CFG_INSTALL)\" -c cfg.c -o cfg.o -@@ -206,23 +206,6 @@ install: latex2rtf doc/latex2rtf.1 $(CFG - cp doc/latex2rtf.1 $(MAN_INSTALL) - cp doc/latex2png.1 $(MAN_INSTALL) - cp $(CFGS) $(CFG_INSTALL) -- cp doc/latex2rtf.html $(SUPPORT_INSTALL) -- cp doc/latex2rtf.pdf $(SUPPORT_INSTALL) -- cp doc/latex2rtf.txt $(SUPPORT_INSTALL) -- @echo "******************************************************************" -- @echo "*** latex2rtf successfully installed as \"$(BINARY_NAME)\"" -- @echo "*** in directory \"$(BIN_INSTALL)\"" -- @echo "***" -- @echo "*** \"make install-info\" will install TeXInfo files " -- @echo "***" -- @echo "*** latex2rtf was compiled to search for its configuration files in" -- @echo "*** \"$(CFG_INSTALL)\" " -- @echo "***" -- @echo "*** If the configuration files are moved then either" -- @echo "*** 1) set the environment variable RTFPATH to this new location, or" -- @echo "*** 2) use the command line option -P /path/to/cfg, or" -- @echo "*** 3) edit the Makefile and recompile" -- @echo "******************************************************************" - - install-info: doc/latex2rtf.info - $(MKDIR) $(INFO_INSTALL) diff --git a/dev-tex/latex2rtf/files/latex2rtf-Makefile-gentoo.diff b/dev-tex/latex2rtf/files/latex2rtf-Makefile-gentoo.diff deleted file mode 100644 index 8f314db02bc8..000000000000 --- a/dev-tex/latex2rtf/files/latex2rtf-Makefile-gentoo.diff +++ /dev/null @@ -1,63 +0,0 @@ ---- Makefile.orig 2004-02-09 11:12:03.000000000 +0900 -+++ Makefile 2004-02-27 03:22:14.563256080 +0900 -@@ -1,9 +1,10 @@ - # $Id: latex2rtf-Makefile-gentoo.diff,v 1.1 2004/02/26 19:05:41 usata Exp $ - --CC=gcc -+CC=$(CC) - MKDIR=mkdir -p - --CFLAGS:=-DUNIX -+# Gentoo: Modified to use makefile.conf CFLAGS -+CFLAGS:=$(CFLAGS) -DUNIX - #CFLAGS:=-DMSDOS #Windows/DOS - #CFLAGS:=-DMAC_CLASSIC #MacOS 8/9 - #CFLAGS:=-DOS2 #OS/2 -@@ -18,17 +19,18 @@ - #CFLAGS:=$(CFLAGS) -Zwin32 - - #Base directory - adapt as needed --PREFIX=$(PREFIX_DRIVE)/usr/local -+PREFIX=/usr - - #Name of executable binary --- beware of 8.3 restriction under DOS - BINARY_NAME=latex2rtf$(EXE_SUFFIX) - - # Location of binary, man, info, and support files - adapt as needed - BIN_INSTALL=$(PREFIX)/bin --MAN_INSTALL=$(PREFIX)/man/man1 --INFO_INSTALL=$(PREFIX)/info --SUPPORT_INSTALL=$(PREFIX)/share/latex2rtf --CFG_INSTALL=$(PREFIX)/share/latex2rtf/cfg -+MAN_INSTALL=$(PREFIX)/share/man/man1 -+INFO_INSTALL=$(PREFIX)/share/info -+SUPPORT_INSTALL=$(PREFIX)/share/doc/latex2rtf -+CFG_INSTALL=$(PREFIX)/share/latex2rtf/ -+ - - # Nothing to change below this line - -@@ -158,23 +160,6 @@ - cp doc/latex2rtf.1 $(MAN_INSTALL) - cp doc/latex2png.1 $(MAN_INSTALL) - cp $(CFGS) $(CFG_INSTALL) -- cp doc/latex2rtf.html $(SUPPORT_INSTALL) -- cp doc/latex2rtf.pdf $(SUPPORT_INSTALL) -- cp doc/latex2rtf.txt $(SUPPORT_INSTALL) -- @echo "******************************************************************" -- @echo "*** latex2rtf successfully installed as \"$(BINARY_NAME)\"" -- @echo "*** in directory \"$(BIN_INSTALL)\"" -- @echo "***" -- @echo "*** \"make install-info\" will install TeXInfo files " -- @echo "***" -- @echo "*** latex2rtf was compiled to search for its configuration files in" -- @echo "*** \"$(CFG_INSTALL)\" " -- @echo "***" -- @echo "*** If the configuration files are moved then either" -- @echo "*** 1) set the environment variable RTFPATH to this new location, or" -- @echo "*** 2) use the command line option -P /path/to/cfg, or" -- @echo "*** 3) edit the Makefile and recompile" -- @echo "******************************************************************" - - install-info: doc/latex2rtf.info - $(MKDIR) $(INFO_INSTALL) diff --git a/dev-tex/latex2rtf/latex2rtf-1.9.16.ebuild b/dev-tex/latex2rtf/latex2rtf-1.9.16.ebuild deleted file mode 100644 index 609cf8668afb..000000000000 --- a/dev-tex/latex2rtf/latex2rtf-1.9.16.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2rtf/latex2rtf-1.9.16.ebuild,v 1.2 2007/10/31 12:28:56 aballier Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="LaTeX to RTF converter" -HOMEPAGE="http://latex2rtf.sourceforge.net/" -SRC_URI="mirror://sourceforge/latex2rtf/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~x86 ~ppc ~sparc ~amd64" -SLOT="0" -IUSE="doc" - -DEPEND="virtual/libc - virtual/tetex - media-gfx/imagemagick" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${PN}-Makefile-gentoo.diff" - epatch "${FILESDIR}/${P}-direntry.patch" -} - -src_compile() { - emake CC=$(tc-getCC) || die -} - -src_install() { - make PREFIX="${D}/usr" CC=$(tc-getCC) install || die - dodoc README doc/latex2rtf.txt - # if doc is not used, only the text version is intalled. - if use doc; then - dohtml doc/latex2rtf.html - dodoc doc/latex2rtf.pdf doc/latex2rtf.txt - sed -i "s/\r/\n/g" doc/latex2rtf.info - doinfo doc/latex2rtf.info - fi -} diff --git a/dev-tex/latex2rtf/latex2rtf-1.9.18.ebuild b/dev-tex/latex2rtf/latex2rtf-1.9.18.ebuild deleted file mode 100644 index 76c4c1a60516..000000000000 --- a/dev-tex/latex2rtf/latex2rtf-1.9.18.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/latex2rtf/latex2rtf-1.9.18.ebuild,v 1.2 2007/12/11 10:34:15 aballier Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="LaTeX to RTF converter" -HOMEPAGE="http://latex2rtf.sourceforge.net/" -SRC_URI="mirror://sourceforge/latex2rtf/${P}.tar.gz" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -SLOT="0" -IUSE="doc test" - -# It needs some german language support packages for the tests -DEPEND="virtual/tetex - media-gfx/imagemagick - test? ( || ( - dev-texlive/texlive-langgerman - app-text/tetex - app-text/ptex - ) - )" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${P}-Makefile-gentoo.diff" - epatch "${FILESDIR}/${PN}-1.9.16-direntry.patch" -} - -src_compile() { - tc-export CC - emake || die "emake failed" -} - -src_install() { - emake PREFIX="${D}/usr" install || die "make install failed" - dodoc README doc/latex2rtf.txt - # if doc is not used, only the text version is intalled. - if use doc; then - dohtml doc/latex2rtf.html - dodoc doc/latex2rtf.pdf doc/latex2rtf.txt - sed -i "s/\r/\n/g" doc/latex2rtf.info - doinfo doc/latex2rtf.info - fi -} |