Notification time stamped 2022-02-22 10:05:35 UTC
From 1edc829b1e0fd533e58a1adb3937732d588e36a0 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul(a)city-fan.org>
Date: Feb 22 2022 10:05:29 +0000
Subject: Retired upstream
The upstream maintainer has stopped work on tidyp, and has archived the
upstream repository in a read-only state:
https://github.com/petdance/tidyp
The tidyp package existed to be a back-end of perl-HTML-Tidy, which has
also stopped development upstream:
https://github.com/petdance/html-tidy
The perl-HTML-Tidy package has also been retired in Fedora.
---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index eb3382d..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/tidyp-1.02.tar.gz
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..38d673e
--- /dev/null
+++ b/dead.package
@@ -0,0 +1,8 @@
+Retired upstream
+
+The upstream maintainer has stopped work on tidyp, and has archived the
+upstream repository in a read-only state:
https://github.com/petdance/tidyp
+
+The tidyp package existed to be a back-end of perl-HTML-Tidy, which has
+also stopped development upstream:
https://github.com/petdance/html-tidy
+The perl-HTML-Tidy package has also been retired in Fedora.
diff --git a/sources b/sources
deleted file mode 100644
index dc37389..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-4fc6f0ba8fb1e2ffafbf8f5963f58969 tidyp-1.02.tar.gz
diff --git a/tidy-outfile-raw.patch b/tidy-outfile-raw.patch
deleted file mode 100644
index 0cac5a0..0000000
--- a/tidy-outfile-raw.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- tidy/src/config.c.orig 2008-06-18 21:18:54.000000000 +0100
-+++ tidy/src/config.c 2011-07-26 13:19:45.688344233 +0100
-@@ -919,7 +919,10 @@
- TidyBuffer inbuf; /* Set up input source */
- tidyBufInitWithAllocator( &inbuf, doc->allocator );
- tidyBufAttach( &inbuf, (byte*)optval, TY_(tmbstrlen)(optval)+1 );
-- doc->config.cfgIn = TY_(BufferInput)( doc, &inbuf, ASCII );
-+ if (optId == TidyOutFile)
-+ doc->config.cfgIn = TY_(BufferInput)( doc, &inbuf, RAW );
-+ else
-+ doc->config.cfgIn = TY_(BufferInput)( doc, &inbuf, ASCII );
- doc->config.c = GetC( &doc->config );
-
- status = option->parser( doc, option );
diff --git a/tidyp-1.02-format.patch b/tidyp-1.02-format.patch
deleted file mode 100644
index 9a509cf..0000000
--- a/tidyp-1.02-format.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-https://github.com/w3c/tidy-html5/issues/11
-https://github.com/w3c/tidy-html5/pull/12
-
-From 8727af8a7c8a2d11743bb6d35f07f4a21ade7266 Mon Sep 17 00:00:00 2001
-From: John Schember <john(a)nachtimwald.com>
-Date: Sun, 26 Feb 2012 11:53:53 -0500
-Subject: [PATCH] Fix format string warnings.
-
----
- src/localize.c | 12 ++++++------
- 1 file changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/src/localize.c b/src/localize.c
-index 1b95923..9823f12 100644
---- a/src/localize.c
-+++ b/src/localize.c
-@@ -1373,14 +1373,14 @@ void TY_(ReportAccessWarning)( TidyDocImpl* doc, Node* node, uint
code )
- {
- ctmbstr fmt = GetFormatFromCode(code);
- doc->badAccess |= BA_WAI;
-- messageNode( doc, TidyAccess, node, fmt );
-+ messageNode( doc, TidyAccess, node, "%s", fmt );
- }
-
- void TY_(ReportAccessError)( TidyDocImpl* doc, Node* node, uint code )
- {
- ctmbstr fmt = GetFormatFromCode(code);
- doc->badAccess |= BA_WAI;
-- messageNode( doc, TidyAccess, node, fmt );
-+ messageNode( doc, TidyAccess, node, "%s", fmt );
- }
-
- #endif /* SUPPORT_ACCESSIBILITY_CHECKS */
-@@ -1399,7 +1399,7 @@ void TY_(ReportWarning)(TidyDocImpl* doc, Node *element, Node
*node, uint code)
- switch (code)
- {
- case NESTED_QUOTATION:
-- messageNode(doc, TidyWarning, rpt, fmt);
-+ messageNode(doc, TidyWarning, rpt, "%s", fmt);
- break;
-
- case OBSOLETE_ELEMENT:
-@@ -1480,7 +1480,7 @@ void TY_(ReportError)(TidyDocImpl* doc, Node *element, Node *node,
uint code)
- case INCONSISTENT_NAMESPACE:
- case DOCTYPE_AFTER_TAGS:
- case DTYPE_NOT_UPPER_CASE:
-- messageNode(doc, TidyWarning, rpt, fmt);
-+ messageNode(doc, TidyWarning, rpt, "%s", fmt);
- break;
-
- case COERCE_TO_ENDTAG:
-@@ -1499,7 +1499,7 @@ void TY_(ReportError)(TidyDocImpl* doc, Node *element, Node *node,
uint code)
- case ENCODING_IO_CONFLICT:
- case MISSING_DOCTYPE:
- case SPACE_PRECEDING_XMLDECL:
-- messageNode(doc, TidyWarning, node, fmt);
-+ messageNode(doc, TidyWarning, node, "%s", fmt);
- break;
-
- case TRIM_EMPTY_ELEMENT:
-@@ -1548,7 +1548,7 @@ void TY_(ReportFatal)( TidyDocImpl* doc, Node *element, Node *node,
uint code)
- {
- case SUSPECTED_MISSING_QUOTE:
- case DUPLICATE_FRAMESET:
-- messageNode(doc, TidyError, rpt, fmt);
-+ messageNode(doc, TidyError, rpt, "%s", fmt);
- break;
-
- case UNKNOWN_ELEMENT:
---
-1.8.4
-
diff --git a/tidyp-1.04-aarch64.patch b/tidyp-1.04-aarch64.patch
deleted file mode 100644
index e4d3557..0000000
--- a/tidyp-1.04-aarch64.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Add aarch64 support (
http://bugzilla.redhat.com/926635)
-
---- config.guess
-+++ config.guess
-@@ -808,6 +808,13 @@ EOF
- i*86:Minix:*:*)
- echo ${UNAME_MACHINE}-pc-minix
- exit 0 ;;
-+ aarch64:Linux:*:*)
-+ echo ${UNAME_MACHINE}-unknown-linux-gnu
-+ exit 0 ;;
-+ aarch64_be:Linux:*:*)
-+ UNAME_MACHINE=aarch64_be
-+ echo ${UNAME_MACHINE}-unknown-linux-gnu
-+ exit 0 ;;
- arm*:Linux:*:*)
- echo ${UNAME_MACHINE}-unknown-linux-gnu
- exit 0 ;;
---- config.sub
-+++ config.sub
-@@ -226,6 +226,7 @@ case $basic_machine in
- # Some are omitted here because they have special meanings below.
- 1750a | 580 \
- | a29k \
-+ | aarch64 | aarch64_be \
- | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
- | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
-@@ -291,6 +292,7 @@ case $basic_machine in
- # Recognize the basic CPU types with company name.
- 580-* \
- | a29k-* \
-+ | aarch64-* | aarch64_be-* \
- | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
- | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
- | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
diff --git a/tidyp-cflags.patch b/tidyp-cflags.patch
deleted file mode 100644
index 62a9fa3..0000000
--- a/tidyp-cflags.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- tidyp-1.00/configure.ac 2010-04-25 06:25:59.000000000 +0100
-+++ tidyp-1.00/configure.ac 2010-04-26 11:19:26.379099622 +0100
-@@ -62,7 +62,7 @@
- if test $debug_build = yes; then
- CFLAGS="$save_cflags -g"
- else
-- CFLAGS="-O2 $save_cflags"
-+ CFLAGS="$save_cflags"
- fi
- #
- # =============================================
---- tidyp-0.99/configure 2010-02-22 06:25:50.000000000 +0000
-+++ tidyp-0.99/configure 2010-03-01 14:39:35.461711475 +0000
-@@ -3110,7 +3110,7 @@
- if test $debug_build = yes; then
- CFLAGS="$save_cflags -g"
- else
-- CFLAGS="-O2 $save_cflags"
-+ CFLAGS="$save_cflags"
- fi
- #
- # =============================================
diff --git a/tidyp.spec b/tidyp.spec
deleted file mode 100644
index 1814f73..0000000
--- a/tidyp.spec
+++ /dev/null
@@ -1,284 +0,0 @@
-Summary: Clean up and pretty-print HTML/XHTML/XML
-Name: tidyp
-Version: 1.02
-Release: 29%{?dist}
-License: W3C
-Url:
http://www.tidyp.com/
-Source0:
http://github.com/downloads/petdance/tidyp/tidyp-%{version}.tar.gz
-Patch0: tidy-outfile-raw.patch
-Patch1: tidyp-cflags.patch
-Patch2: tidyp-1.04-aarch64.patch
-Patch3: tidyp-1.02-format.patch
-BuildRequires: coreutils
-BuildRequires: gcc
-BuildRequires: make
-BuildRequires: sed
-Requires: libtidyp%{?_isa} = %{version}-%{release}
-
-%description
-tidyp is a fork of tidy on SourceForge. The library name is "tidyp", and the
-command-line tool is also "tidyp" but all internal API stays the same.
-
-%package -n libtidyp
-Summary: Shared libraries for tidyp
-
-%description -n libtidyp
-Shared libraries for tidyp.
-
-%package -n libtidyp-devel
-Summary: Development files for libtidyp
-Requires: libtidyp%{?_isa} = %{version}-%{release}
-
-%description -n libtidyp-devel
-Development files for libtidyp.
-
-%prep
-%setup -q
-
-# Fix mangling of output file names (#725651)
-# Sent upstream:
https://github.com/petdance/tidyp/pull/18
-%patch0 -p1
-
-# Remove unwanted CFLAGS
-%patch1 -p1
-
-# Tweak config.guess and config.sub to add aarch64 support (#926635)
-%patch2
-
-# Fix format string issues
-#
https://github.com/w3c/tidy-html5/issues/11
-%patch3 -p1
-
-# Fix permissions for debuginfo
-chmod -x src/{mappedio.*,version.h}
-
-# Fix timestamp order to avoid trying to re-run autotools
-touch aclocal.m4
-find . -name Makefile.in -exec touch {} \;
-touch configure
-
-%build
-%configure --disable-static --disable-dependency-tracking
-
-# Remove RPATH to libdir
-sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g'
libtool
-sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
-
-%{make_build}
-
-%install
-%{make_install}
-
-%check
-make check
-
-%ldconfig_scriptlets
-
-%files
-%doc ChangeLog README
-%{_bindir}/tidyp
-
-%files -n libtidyp
-%{_libdir}/libtidyp-%{version}.so.0*
-
-%files -n libtidyp-devel
-%{_includedir}/tidyp/
-%{_libdir}/libtidyp.so
-%exclude %{_libdir}/libtidyp.la
-
-%changelog
-* Sat Jan 22 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.02-29
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Sun Jul 25 2021 Paul Howarth <paul(a)city-fan.org> - 1.02-28
-- Use %%{make_build} and %%{make_install}
-- Remove RPATH to libdir
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.02-27
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.02-26
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.02-25
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Fri Jan 31 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.02-24
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Sat Jul 27 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.02-23
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Sun Feb 03 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.02-22
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Sat Jul 14 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.02-21
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Tue Feb 6 2018 Paul Howarth <paul(a)city-fan.org> - 1.02-20
-- Switch to %%ldconfig_scriptlets
-- Drop legacy BuildRoot: and Group: tags
-- Drop redundant explicit buildroot cleaning
-
-* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.02-19
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.02-18
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Sat Feb 11 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.02-17
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Fri Feb 05 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.02-16
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Tue Jan 26 2016 Paul Howarth <paul(a)city-fan.org> - 1.02-15
-- Drop %%defattr, redundant since rpm 4.4
-
-* Fri Jun 19 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.02-14
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-
-* Mon Aug 18 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.02-13
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
-
-* Sun Jun 08 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
1.02-12
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
-
-* Thu Nov 21 2013 Paul Howarth <paul(a)city-fan.org> 1.02-11
-- fix format string issues (
https://github.com/w3c/tidy-html5/issues/11)
-
-* Sun Aug 4 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org>
1.02-10
-- rebuilt for
https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
-
-* Mon Mar 25 2013 Paul Howarth <paul(a)city-fan.org> 1.02-9
-- tweak config.guess and config.sub to add aarch64 support (#926635)
-
-* Fri Feb 15 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org>
1.02-8
-- rebuilt for
https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
-
-* Sat Jul 21 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org>
1.02-7
-- rebuilt for
https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
-
-* Wed Jan 11 2012 Paul Howarth <paul(a)city-fan.org> 1.02-6
-- rebuilt for gcc 4.7 in Rawhide
-
-* Thu Aug 11 2011 Paul Howarth <paul(a)city-fan.org> 1.02-5
-- fix mangling of output file names (#725651)
-
-* Wed Feb 9 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org>
1.02-4
-- rebuilt for
https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
-
-* Wed Sep 29 2010 Jesse Keating <jkeating(a)redhat.com> 1.02-3
-- rebuilt for gcc bug (#634757)
-
-* Fri Jul 23 2010 Paul Howarth <paul(a)city-fan.org> 1.02-2
-- re-jig for Fedora submission
-- add ChangeLog and README as %%doc
-- upstream URL now
http://www.tidyp.com/
-- drop obsolete of old libtidyp versions in main package
-
-* Mon May 10 2010 Paul Howarth <paul(a)city-fan.org> 1.02-1
-- update to 1.02
- - metatag check fixed
- - missing files for "make check" included
-- drop upstreamed metatag patch
-- fix dist tag for RHEL-6 Beta
-- touch autotools-generated files in order to prevent attempted
- re-running of autotools at build time
-
-* Mon Apr 26 2010 Paul Howarth <paul(a)city-fan.org> 1.00-1
-- update to 1.00
- - removed -Wextra compiler flag for gcc, incompatible with older versions
- - added "check" and "tags" make targets
- - removed commented-out code
-- add %%check section, using test data from upstream git since it was omitted
- from the distribution tarball
-- drop upstreamed parts of patches
-- merge autotools patch into cflags patch
-- add patch to update "generator" metatag properly
-
-* Mon Mar 1 2010 Paul Howarth <paul(a)city-fan.org> 0.99-2
-- main package renamed to tidyp, as per upstream
-- new subpackage libtidyp (same split as tidy in Fedora)
-- upstream has now provided a proper tarball, with pre-built configure script,
- so rework build system patches and drop autotools buildreqs
-- reworked upstream tarball no longer includes docs
-
-* Wed Feb 17 2010 Paul Howarth <paul(a)city-fan.org> 0.99-1
-- libtidyp forked from tidy
-- add patches to autotools build to make it work more sanely
-
-* Tue Dec 8 2009 Paul Howarth <paul(a)city-fan.org> 0.99.0-20.20091203.1
-- 20091203 snapshot
-- spec housecleaning
-- tidy erroneously removed whitespace, causing mangled text (#481350)
-
-* Fri Jul 31 2009 Paul Howarth <paul(a)city-fan.org> 0.99.0-19.20070615.1
-- rebuilt for
https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
-
-* Tue Mar 3 2009 Paul Howarth <paul(a)city-fan.org> 0.99.0-18.20070615.1
-- rebuilt for
https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
-
-* Tue Feb 19 2008 Paul Howarth <paul(a)city-fan.org> 0.99.0-17.20070615.1
-- respin (gcc 4.3.0)
-
-* Mon Aug 27 2007 Paul Howarth <paul(a)city-fan.org> 0.99.0-16.20070615.1
-- respin (BuildID)
-
-* Fri Aug 24 2007 Paul Howarth <paul(a)city-fan.org> 0.99.0-15.20070615.1
-- use standard shortname "WSC" for license tag
-
-* Tue Jul 10 2007 Paul Howarth <paul(a)city-fan.org> 0.99.0-13.20070615.1
-- 15th June 2007 snapshot
-
-* Mon Jun 25 2007 Paul Howarth <paul(a)city-fan.org> 0.99.0-12.20070228.1
-- upstream has stopped releasing tarballs and advocates CVS snapshots
- instead
-- 28th February 2007 snapshot
-- run setup.sh in %%prep rather than %%build
-- fileio.h no longer included in -devel package
-
-* Fri Sep 15 2006 Paul Howarth <paul(a)city-fan.org> 0.99.0-10.20051026
-- add dist tag
-
-* Tue Jun 20 2006 Paul Howarth <paul(a)city-fan.org> 0.99.0-9.20051026.4
-- libtidy-devel depends on libtidy, not tidy
-
-* Mon Jan 23 2006 Paul Howarth <paul(a)city-fan.org> 0.99.0-9.20051026
-- Update source to 26 October 2005 version
-- Bring back libtidy as per Fedora Extras package
-- Never strip binaries
-
-* Fri Oct 21 2005 Paul Howarth <paul(a)city-fan.org> 0.99.0-6.20051020
-- Drop obsoletes/provides for libtidy-progs, which didn't work anyway
-- Update to 051020 releases of both src and docs
-- Remove buildroot unconditionally in %%clean and %%install
-- Don't use macros for pathnames in build-time commands, hardcode them instead
-- Wrap %%description at 80 columns
-
-* Tue Aug 9 2005 Paul Howarth <paul(a)city-fan.org> 0.99.0-6.20050803
-- Clean up doc generation
-- Build quickref.html
-- Strip binaries if we're not making a debuginfo package
-
-* Tue Aug 9 2005 Paul Howarth <paul(a)city-fan.org> 0.99.0-5.20050803
-- Update to 050803 and docs to 050705
-- Rename packages *again* to be compatible with Fedora Extras
-
-* Thu Jun 2 2005 Paul Howarth <paul(a)city-fan.org> 0.99.0-5.20050531
-- Update to 050531 version
-- Incorporate documentation, version 050502
-- Rename/reversion package for Fedora Extras compatibility
-- Exclude libtidy.la, not needed
-
-* Tue Feb 01 2005 Paul Howarth <paul(a)city-fan.org>
-- Update to 050120 version
-
-* Wed Oct 27 2004 Paul Howarth <paul(a)city-fan.org>
-- Update to 041026 version
-
-* Tue Jul 20 2004 Paul Howarth <paul(a)city-fan.org>
-- Update to 040706 version
-
-* Thu May 13 2004 Paul Howarth <paul(a)city-fan.org>
-- Initial RPM build
https://src.fedoraproject.org/rpms/tidyp/c/1edc829b1e0fd533e58a1adb393773...