gsrc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gsrc-commit] trunk r6556: upgrade tidy to tidy-html5 5.6


From: Carl Hansen
Subject: [Gsrc-commit] trunk r6556: upgrade tidy to tidy-html5 5.6
Date: Sat, 25 May 2019 02:55:25 -0400 (EDT)
User-agent: Bazaar (2.7.0dev1)

------------------------------------------------------------
revno: 6556
revision-id: address@hidden
parent: address@hidden
committer: address@hidden
branch nick: trunk
timestamp: Fri 2019-05-24 23:55:20 -0700
message:
  upgrade tidy to tidy-html5 5.6
added:
  pkg/other/tidy-html5/          tidyhtml5-20190525065346-2gr9qlcb4w9byavf-1
  pkg/other/tidy-html5/Makefile  makefile-20190525065346-2gr9qlcb4w9byavf-3
  pkg/other/tidy-html5/config.mk config.mk-20190525065346-2gr9qlcb4w9byavf-2
  pkg/other/tidy-html5/sha256sums sha256sums-20190525065346-2gr9qlcb4w9byavf-4
=== added directory 'pkg/other/tidy-html5'
=== added file 'pkg/other/tidy-html5/Makefile'
--- a/pkg/other/tidy-html5/Makefile     1970-01-01 00:00:00 +0000
+++ b/pkg/other/tidy-html5/Makefile     2019-05-25 06:55:20 +0000
@@ -0,0 +1,86 @@
+# Copyright © 2018, 2019 Carl Hansen <address@hidden>
+#
+# This file is part of GSRC, the GNU Source Release Collection.
+# http://www.gnu.org/software/gsrc
+#
+# GSRC is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# GSRC is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
+# License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GSRC.  If not, see <http://www.gnu.org/licenses/>.
+#
+# Send bug reports and comments about GSRC problems to address@hidden
+
+NAME =    tidy-html5
+GARNAME = tidy-html5
+GARVERSION = 5.6.0
+#GARVERSION =  20091223cvs.orig
+HOME_URL = http://html-tidy.org
+DESCRIPTION =  HTML validator and pretty-printer
+define BLURB
+endef
+
+######################################################################
+MASTER_SITES = https://github.com/
+MASTER_SUBDIR = htacg/tidy-html5/archive/
+
+# find a Debian mirror that works for you  http://www.debian.org/mirror/list
+#MASTER_SITES = http://mirrors.ocf.berkeley.edu/
+#MASTER_SUBDIR = debian/pool/main/t/tidy/
+#WORKSRC= $(WORKDIR)/tidy-20091223cvs
+
+#https://github.com/htacg/tidy-html5/archive/5.6.0.tar.gz
+#DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz 
+
+DISTFILES = $(GARVERSION).tar.gz 
+#DISTNAME = $(GARNAME)-$(GARVERSION).tar.gz
+SIGFILES = 
+
+WORKSRC = $(WORKDIR)/tidy-html5-5.6.0
+BUILDDEPS =
+LIBDEPS =
+
+######################################################################
+
+include ../../../gar/gar.lib/cmake.mk
+include config.mk
+
+
+# HINT: executable is still called "tidy"
+
+
+# github names--- to be fixed, somehow
+
+#custom-fetch:
+#      wget $(WGET_OPTS) -O $(DOWNLOADDIR)/$(notdir $*).partial 
https://github.com/$(MASTER_SUBDIR)/$(GARVERSION).tar.gz 
+#      mv $(DOWNLOADDIR)/$(notdir $*).partial $(DOWNLOADDIR)/$(notdir 
$(GARVERSION).tar.gz 
+#      echo github kludge
+#      ( cd $(DOWNLOADDIR) && mv $(GARVERSION).tar.gz 
$(GARNAME)_$(GARVERSION).tar.gz)
+
+# I didn't like the output but it is easy to pipe to sed to improve it.
+# suggested improvements:
+#
+# .tidyrc is just:
+# break-before-br: yes
+#
+#
+#  #!/bin/sh
+#  #   /usr/bin/tidy   -config ~/.tidyrc  $@ | \
+   #   sed -e "s/\n\?<p>/\n<p>/g" | \
+   #   sed -e "s/\n\?<blockquote>/\n<blockquote>/g" | \
+   #   sed -e "s/\n\?<li>/\n<li>/g"  | \
+   #   sed -e "s/\n\?<h1>/\n<h1>/g"  | \
+   #   sed -e "s/\n\?<h2>/\n<h2>/g"  | \
+   #   sed -e "s/\n\?<h3>/\n<h3>/g"  | \
+   #   sed -e "s/\n\?<h4>/\n<h4>/g"  | \
+   #   sed -e "s/ \?<!--/ <!--/g"    | \
+   #   sed -e "s/--> \?/--> /g"
+#
+#

=== added file 'pkg/other/tidy-html5/config.mk'
--- a/pkg/other/tidy-html5/config.mk    1970-01-01 00:00:00 +0000
+++ b/pkg/other/tidy-html5/config.mk    2019-05-25 06:55:20 +0000
@@ -0,0 +1,5 @@
+## Configuration options for  ##
+## adjust as needed
+
+CONFIGURE_OPTS ?= 
+BUILD_OPTS ?=

=== added file 'pkg/other/tidy-html5/sha256sums'
--- a/pkg/other/tidy-html5/sha256sums   1970-01-01 00:00:00 +0000
+++ b/pkg/other/tidy-html5/sha256sums   2019-05-25 06:55:20 +0000
@@ -0,0 +1,1 @@
+08a63bba3d9e7618d1570b4ecd6a7daa83c8e18a41c82455b6308bc11fe34958  
download/5.6.0.tar.gz


reply via email to

[Prev in Thread] Current Thread [Next in Thread]