diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 11:50:53 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 11:50:53 -0500 |
| commit | 290aebdea65a02557706eaeda477fef0437b6a48 (patch) | |
| tree | f87a939169a508a2e943570501b64cc16b411cda /app-text/odt2txt | |
| parent | 6783ddcd4b73d9ce586a71770caed352bec93b16 (diff) | |
| download | baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.gz baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.tar.xz baldeagleos-repo-290aebdea65a02557706eaeda477fef0437b6a48.zip | |
Adding metadata
Diffstat (limited to 'app-text/odt2txt')
| -rw-r--r-- | app-text/odt2txt/Manifest | 1 | ||||
| -rw-r--r-- | app-text/odt2txt/files/odt2txt-0.5-makefile.patch | 116 | ||||
| -rw-r--r-- | app-text/odt2txt/metadata.xml | 5 | ||||
| -rw-r--r-- | app-text/odt2txt/odt2txt-0.5-r1.ebuild | 32 |
4 files changed, 0 insertions, 154 deletions
diff --git a/app-text/odt2txt/Manifest b/app-text/odt2txt/Manifest deleted file mode 100644 index 174c42ba0ff0..000000000000 --- a/app-text/odt2txt/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST odt2txt-0.5.tar.gz 24460 BLAKE2B 703dd48447aa38a9a8bc0989231adf6f3dcf2796cb730feef6649cd14bff0265b12d6dba258a2779911f908a8ec322c5543b43222676e78ff12246daa3753b40 SHA512 95d782a088908518191dd0dcd294676fff25c95a2f23a2b8577b8e3adcce2f9d6d5ccaa2a02c7d36be19d05687a4d7a43bed36056c044af0934af810363c7ce0 diff --git a/app-text/odt2txt/files/odt2txt-0.5-makefile.patch b/app-text/odt2txt/files/odt2txt-0.5-makefile.patch deleted file mode 100644 index b87814f3ff58..000000000000 --- a/app-text/odt2txt/files/odt2txt-0.5-makefile.patch +++ /dev/null @@ -1,116 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -2,28 +2,22 @@ - UNAME_S := $(shell uname -s 2>/dev/null || echo unknown) - UNAME_O := $(shell uname -o 2>/dev/null || echo unknown) - --ifdef DEBUG --CFLAGS = -O0 -g -Wextra -DMEMDEBUG -DSTRBUF_CHECK --#LDFLAGS = -lefence --LDFLAGS += -g --else --CFLAGS = -O2 --endif -- - ifdef NO_ICONV --CFLAGS += -DNO_ICONV -+CPPFLAGS += -DNO_ICONV - endif - --LIBS = -lz -+CPPFLAGS += $(shell $(PKG_CONFIG) --cflags zlib) -+LDLIBS += $(shell $(PKG_CONFIG) --libs zlib) -+ - ZIP_OBJS = - ifdef HAVE_LIBZIP -- CFLAGS += -DHAVE_LIBZIP -- LIBS += -lzip -+ CPPFLAGS += -DHAVE_LIBZIP -+ LDLIBS += -lzip - else - ZIP_OBJS = kunzip/fileio.o kunzip/zipfile.o - endif - --OBJ = odt2txt.o regex.o mem.o strbuf.o $(ZIP_OBJS) -+OBJ = regex.o mem.o strbuf.o $(ZIP_OBJS) - TEST_OBJ = t/test-strbuf.o t/test-regex.o - ALL_OBJ = $(OBJ) $(TEST_OBJ) - -@@ -37,50 +31,44 @@ - MAN1DIR = $(MANDIR)/man1 - - ifeq ($(UNAME_S),FreeBSD) -- CFLAGS += -DICONV_CHAR="const char" -I/usr/local/include -+ CPPFLAGS += -DICONV_CHAR="const char" - LDFLAGS += -L/usr/local/lib -- LIBS += -liconv -+ LDLIBS += -liconv - endif - ifeq ($(UNAME_S),OpenBSD) -- CFLAGS += -DICONV_CHAR="const char" -I/usr/local/include -+ CPPFLAGS += -DICONV_CHAR="const char" - LDFLAGS += -L/usr/local/lib -- LIBS += -liconv -+ LDLIBS += -liconv - endif - ifeq ($(UNAME_S),Darwin) -- CFLAGS += -I/opt/local/include -- LDFLAGS += -L/opt/local/lib -- LIBS += -liconv -+ LDLIBS += -liconv - endif - ifeq ($(UNAME_S),NetBSD) -- CFLAGS += -DICONV_CHAR="const char" -+ CPPFLAGS += -DICONV_CHAR="const char" - endif - ifeq ($(UNAME_S),SunOS) -- ifeq ($(CC),cc) -- ifdef DEBUG -- CFLAGS = -v -g -DMEMDEBUG -DSTRBUF_CHECK -- else -- CFLAGS = -xO3 -- endif -- endif -- CFLAGS += -DICONV_CHAR="const char" -+ CPPFLAGS += -DICONV_CHAR="const char" - endif - ifeq ($(UNAME_S),HP-UX) -- CFLAGS += -I$(ZLIB_DIR) -- LIBS = $(ZLIB_DIR)/libz.a -+ CPPFLAGS += -I$(ZLIB_DIR) -+ LDLIBS += $(ZLIB_DIR)/libz.a -+endif -+ifeq ($(UNAME_S),Darwin) -+ LDLIBS += -liconv - endif - ifeq ($(UNAME_O),Cygwin) -- CFLAGS += -DICONV_CHAR="const char" -- LIBS += -liconv -+ CPPFLAGS += -DICONV_CHAR="const char" -+ LDLIBS += -liconv - EXT = .exe - endif - ifneq ($(MINGW32),) -- CFLAGS += -DICONV_CHAR="const char" -I$(REGEX_DIR) -I$(ZLIB_DIR) -- LIBS = $(REGEX_DIR)/regex.o -+ CPPFLAGS += -DICONV_CHAR="const char" -I$(REGEX_DIR) -I$(ZLIB_DIR) -+ LDLIBS += $(REGEX_DIR)/regex.o - ifdef STATIC -- LIBS += $(wildcard $(ICONV_DIR)/lib/.libs/*.o) -- LIBS += $(ZLIB_DIR)/zlib.a -+ LDLIBS += $(wildcard $(ICONV_DIR)/lib/.libs/*.o) -+ LDLIBS += $(ZLIB_DIR)/zlib.a - else -- LIBS += -liconv -+ LDLIBS += -liconv - endif - EXT = .exe - endif -@@ -89,7 +77,6 @@ - MAN = odt2txt.1 - - $(BIN): $(OBJ) -- $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS) - - t/test-strbuf: t/test-strbuf.o strbuf.o mem.o - t/test-regex: t/test-regex.o regex.o strbuf.o mem.o diff --git a/app-text/odt2txt/metadata.xml b/app-text/odt2txt/metadata.xml deleted file mode 100644 index 5f33304011d5..000000000000 --- a/app-text/odt2txt/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> -<pkgmetadata> - <origin>baldeagleos-repo</origin> -</pkgmetadata> diff --git a/app-text/odt2txt/odt2txt-0.5-r1.ebuild b/app-text/odt2txt/odt2txt-0.5-r1.ebuild deleted file mode 100644 index 46c30f587ba7..000000000000 --- a/app-text/odt2txt/odt2txt-0.5-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="A simple converter from OpenDocument Text to plain text" -HOMEPAGE="http://stosberg.net/odt2txt/" -SRC_URI="https://github.com/dstosberg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ppc64 ~sparc x86" - -RDEPEND=" - !app-office/unoconv - virtual/zlib:= - virtual/libiconv" -DEPEND="${RDEPEND}" -BDEPEND="sys-apps/groff" - -PATCHES=( "${FILESDIR}"/${P}-makefile.patch ) - -src_configure() { - tc-export CC PKG_CONFIG -} - -src_install() { - emake install DESTDIR="${D}" PREFIX="${EPREFIX}"/usr - doman odt2txt.1 -} |
