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/xml2doc | |
| 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/xml2doc')
| -rw-r--r-- | app-text/xml2doc/Manifest | 1 | ||||
| -rw-r--r-- | app-text/xml2doc/files/xml2doc-20030510-c99.patch | 51 | ||||
| -rw-r--r-- | app-text/xml2doc/files/xml2doc-20030510-gcc10-no-common.patch | 18 | ||||
| -rw-r--r-- | app-text/xml2doc/files/xml2doc-20030510-makefile.patch | 100 | ||||
| -rw-r--r-- | app-text/xml2doc/files/xml2doc-pointer_fix.patch | 20 | ||||
| -rw-r--r-- | app-text/xml2doc/metadata.xml | 5 | ||||
| -rw-r--r-- | app-text/xml2doc/xml2doc-20030510-r4.ebuild | 60 |
7 files changed, 0 insertions, 255 deletions
diff --git a/app-text/xml2doc/Manifest b/app-text/xml2doc/Manifest deleted file mode 100644 index 80ed00ef1f68..000000000000 --- a/app-text/xml2doc/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST xml2doc-20030510.tgz 53307 BLAKE2B 3f7e44ede6ac0a2ec4762e66181de34ffe553035b54ee302345d1b38a5063106fc4ba65abec042b4ec693b173d70fc4b548ebc942b2a8f6636f84e7beeed2bd6 SHA512 9eb2970b7adef1669b9b0aede2b3d2b42ba234c8294f0f8e6e230d8fcc6cf878675b2f0bff87ee36a255ab29376be844d92d382be7aad0ab11972847cfe49dbd diff --git a/app-text/xml2doc/files/xml2doc-20030510-c99.patch b/app-text/xml2doc/files/xml2doc-20030510-c99.patch deleted file mode 100644 index e38f703146d4..000000000000 --- a/app-text/xml2doc/files/xml2doc-20030510-c99.patch +++ /dev/null @@ -1,51 +0,0 @@ -https://bugs.gentoo.org/923170 ---- a/src/defs.c -+++ b/src/defs.c -@@ -1,5 +1,7 @@ - #include "defs.h" - -+#include <stdlib.h> -+ - int defs_init() - { - DocS.page=0; ---- a/src/defs.h -+++ b/src/defs.h -@@ -1,6 +1,7 @@ - #ifndef _INCLUDE_DEFS_H_ - #define _INCLUDE_DEFS_H_ - -+#include <stdlib.h> - #include <stdio.h> - #include <string.h> - #include <unistd.h> ---- a/src/main.c -+++ b/src/main.c -@@ -1,5 +1,7 @@ - #include "main.h" - -+#include <stdlib.h> -+ - /* - * - * PDF_set_value(p,"nameofvalue",(float)value); // get/set ---- a/src/parse.c -+++ b/src/parse.c -@@ -1,5 +1,7 @@ - #include "defs.h" - -+#include <stdlib.h> -+ - int parse(const char *file) - { - Doc[n].doc=xmlParseFile(file); ---- a/src/defs.c -+++ b/src/defs.c -@@ -12,6 +12,7 @@ int defs_init() - DocS.add.colors=(struct_colors *)malloc(1); - DocS.add.pages =(struct_pages *)malloc(1); - DocS.add.sizes =(struct_sizes *)malloc(1); -+ return 0; - } - - int defs_default() // Set default values diff --git a/app-text/xml2doc/files/xml2doc-20030510-gcc10-no-common.patch b/app-text/xml2doc/files/xml2doc-20030510-gcc10-no-common.patch deleted file mode 100644 index 17965c946abe..000000000000 --- a/app-text/xml2doc/files/xml2doc-20030510-gcc10-no-common.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/src/defs.h -+++ b/src/defs.h -@@ -18,13 +18,13 @@ - - /* Global vars */ - --enum -+enum align - { - ALIGN_RIGHT, - ALIGN_LEFT, - ALIGN_JUSTIFY, - ALIGN_CENTER --} align; -+}; - - typedef struct - { diff --git a/app-text/xml2doc/files/xml2doc-20030510-makefile.patch b/app-text/xml2doc/files/xml2doc-20030510-makefile.patch deleted file mode 100644 index 1023352d0a77..000000000000 --- a/app-text/xml2doc/files/xml2doc-20030510-makefile.patch +++ /dev/null @@ -1,100 +0,0 @@ ---- a/src/Makefile.in -+++ b/src/Makefile.in -@@ -9,19 +9,16 @@ - DEBUG=@DEBUG@ - PREFIX=@PREFIX@ - --CC=gcc - OBJ=main.o defs.o parse.o parse_include.o parse_info.o parse_img.o parse_t.o parse_page.o parse_default.o parse_bookmark.o parse_add.o parse_list.o parse_sep.o output_t.o output_doc.o output_img.o output_info.o output_page.o output_sep.o output_list.o parm.o - IPATH=-I/usr/pkg/include/libxml2 -I/usr/include/libxml2 -I. -I/usr/pkg/include -I/usr/local/include - LPATH=-L/usr/pkg/lib -L/usr/local/lib - CFLAGS+=-Wall -c $(IPATH) $(I_PDF)\ - -DVERSION=\"$(VERSION)\" $(DEBUG)\ -- -fno-asm -funroll-all-loops -fstrength-reduce -frerun-loop-opt \ - -x c -fshort-enums - LFLAGS=-lxml2 $(L_PDF) $(LPATH) - BIN=xml2doc - --all: -- @printf "\e[32mUse make in the parent directory :)\e[0m\n" -+all: build - - install: build - @printf "\e[32mInstalling binaries...\e[0m\n" -@@ -34,75 +31,49 @@ - - build: $(OBJ) - @printf "\n\e[32mLinking objects...\e[0m\n" -- $(CC) $(LFLAGS) $(OBJ) -o $(BIN) -- @if ( test -z "$(DEBUG)" ); then \ -- echo "Stripping symbols..."; \ -- strip -s $(BIN); \ -- fi -- @printf "\n\n\e[32mCompilation process done.\e[0m\n" -+ $(CC) $(LDFLAGS) $(L_PDF) $^ -lxml2 -o $(BIN) - - main.o: main.c main.h -- $(CC) $(CFLAGS) main.c - - parm.o: parm.c parm.h -- $(CC) $(CFLAGS) parm.c - - output_doc.o: output_doc.c output.h -- $(CC) $(CFLAGS) output_doc.c - - output_img.o: output_img.c output.h -- $(CC) $(CFLAGS) output_img.c - - output_info.o: output_info.c output.h -- $(CC) $(CFLAGS) output_info.c - - output_page.o: output_page.c output.h -- $(CC) $(CFLAGS) output_page.c - - output_sep.o: output_sep.c output.h -- $(CC) $(CFLAGS) output_sep.c - - output_list.o: output_list.c output.h -- $(CC) $(CFLAGS) output_list.c - - output_t.o: output_t.c output.h -- $(CC) $(CFLAGS) output_t.c - - parse_add.o: parse_add.c defs.h -- $(CC) $(CFLAGS) parse_add.c - - parse_sep.o: parse_sep.c defs.h -- $(CC) $(CFLAGS) parse_sep.c - - defs.o: defs.c defs.h -- $(CC) $(CFLAGS) defs.c - - parse.o: parse.c defs.h -- $(CC) $(CFLAGS) parse.c - - parse_include.o: parse_include.c defs.h -- $(CC) $(CFLAGS) parse_include.c - - parse_info.o: parse_info.c defs.h -- $(CC) $(CFLAGS) parse_info.c - - parse_img.o: parse_img.c defs.h -- $(CC) $(CFLAGS) parse_img.c - - parse_t.o: parse_t.c defs.h -- $(CC) $(CFLAGS) parse_t.c - - parse_page.o: parse_page.c defs.h -- $(CC) $(CFLAGS) parse_page.c - - parse_default.o: parse_default.c defs.h -- $(CC) $(CFLAGS) parse_default.c - - parse_bookmark.o: parse_bookmark.c defs.h -- $(CC) $(CFLAGS) parse_bookmark.c - - parse_list.o: parse_list.c defs.h -- $(CC) $(CFLAGS) parse_list.c - - clean: - rm -rf $(OBJ) $(BIN) *.o a.out *~ DEADJOE .*.swp *.txt *.pdf *.html *.xml diff --git a/app-text/xml2doc/files/xml2doc-pointer_fix.patch b/app-text/xml2doc/files/xml2doc-pointer_fix.patch deleted file mode 100644 index b6adabe3c1a3..000000000000 --- a/app-text/xml2doc/files/xml2doc-pointer_fix.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -NurdpB xml2doc/src/output_info.c xml2doc-patched/src/output_info.c ---- xml2doc/src/output_info.c 2003-04-25 05:11:27.000000000 -0500 -+++ xml2doc-patched/src/output_info.c 2007-03-14 15:07:59.000000000 -0500 -@@ -9,11 +9,11 @@ void output_info() - *subject = xmlGetProp(Doc[n].cur,"subject"), - *keywords = xmlGetProp(Doc[n].cur,"keywords"), - *trapped = xmlGetProp(Doc[n].cur,"trapped"); -- struct time_t *timet; -- struct tm *clk; -- -- time((time_t *)&timet); -- clk=localtime((const time_t *)&timet); -+ time_t timet; -+ struct tm *clk; -+ -+ time(&timet); -+ clk=localtime(&timet); - - switch(DocS.output) - { diff --git a/app-text/xml2doc/metadata.xml b/app-text/xml2doc/metadata.xml deleted file mode 100644 index 5f33304011d5..000000000000 --- a/app-text/xml2doc/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/xml2doc/xml2doc-20030510-r4.ebuild b/app-text/xml2doc/xml2doc-20030510-r4.ebuild deleted file mode 100644 index 978e573aa69e..000000000000 --- a/app-text/xml2doc/xml2doc-20030510-r4.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic toolchain-funcs - -DESCRIPTION="Tool to convert simple XML to a variety of formats (pdf, html, txt, manpage)" -HOMEPAGE="http://xml2doc.sourceforge.net" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tgz" -S="${WORKDIR}/${PN}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~hppa ~mips ppc ppc64 ~sparc x86" - -DEPEND="dev-libs/libxml2:2=" -RDEPEND="${DEPEND}" - -PATCHES=( - # Fix pointer-related bug detected by a QA notice - "${FILESDIR}"/${PN}-pointer_fix.patch - # Don't strip symbols from binary (bug #152266) - "${FILESDIR}"/${P}-makefile.patch - # Fix GCC 10 -fno-common change - "${FILESDIR}"/${P}-gcc10-no-common.patch - # bug #923170 - "${FILESDIR}"/${P}-c99.patch -) - -src_prepare() { - default - - # Clang 16, bug #900539 - eautoreconf -} - -src_configure() { - tc-export CC - # bug #944764 - append-cflags -std=gnu17 - econf --disable-pdf -} - -src_compile() { - default - - cd doc || die - "${S}"/src/xml2doc -oM manpage.xml xml2doc.1 || die -} - -src_install() { - dobin src/xml2doc - - einstalldocs - docinto examples - dodoc examples/*.{xml,png} - - doman doc/xml2doc.1 -} |
