From: Kei Kebreau <kei@openmailbox.org>
To: contact.ng0@cryptolab.net
Cc: guix-devel@gnu.org, ng0 <ng0@libertad.pw>
Subject: Re: [PATCH 2/5] gnu: Add tidy-html.
Date: Tue, 07 Feb 2017 15:27:45 -0500 [thread overview]
Message-ID: <877f50it6f.fsf@openmailbox.org> (raw)
In-Reply-To: <20170131133501.30273-3-contact.ng0@cryptolab.net> (contact's message of "Tue, 31 Jan 2017 13:34:58 +0000")
[-- Attachment #1: Type: text/plain, Size: 3412 bytes --]
contact.ng0@cryptolab.net writes:
> From: ng0 <ng0@libertad.pw>
>
> * gnu/packages/web.scm (tidy-html): New variable.
> ---
> gnu/packages/web.scm | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 50 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
> index 67b9797bb..8a29eead1 100644
> --- a/gnu/packages/web.scm
> +++ b/gnu/packages/web.scm
> @@ -13,7 +13,7 @@
> ;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
> ;;; Copyright © 2016 Ben Woodcroft <donttrustben@gmail.com>
> ;;; Copyright © 2016 Clément Lassieur <clement@lassieur.org>
> -;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
> +;;; Copyright © 2016, 2017 ng0 <contact.ng0@cryptolab.net>
> ;;; Copyright © 2016 Arun Isaac <arunisaac@systemreboot.net>
> ;;; Copyright © 2016 Tobias Geerinckx-Rice <me@tobias.gr>
> ;;; Copyright © 2016 Bake Timmons <b3timmons@speedymail.org>
> @@ -3995,3 +3995,52 @@ programs' code. Its architecture is optimized for security, portability, and
> scalability (including load-balancing), making it suitable for large
> deployments.")
> (license l:gpl2+)))
> +
> +(define-public tidy-html
> + (package
> + (name "tidy-html")
> + (version "5.2.0")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append "https://github.com/htacg/tidy-html5/archive/"
> + version ".tar.gz"))
> + (file-name (string-append name "-" version ".tar.gz"))
> + (sha256
> + (base32
> + "0kbwzh15dlapp3s3vff2qgz0yfcf8hwsnx5q4igwa6pimhak8lw0"))))
> + (build-system cmake-build-system)
> + (outputs '("out"
> + "static")) ; 1.0MiB of .a files
> + (arguments
> + `(#:tests? #f ; No tests available
> + #:configure-flags (list "-DCMAKE_BUILD_TYPE=Release")
> + #:phases
> + (modify-phases %standard-phases
> + (add-after 'install 'move-static-libraries
> + (lambda* (#:key outputs #:allow-other-keys)
> + ;; Move static libraries to the "static" output.
> + (let* ((out (assoc-ref outputs "out"))
> + (lib (string-append out "/lib"))
> + (static (assoc-ref outputs "static"))
> + (slib (string-append static "/lib")))
> + (mkdir-p slib)
> + (for-each (lambda (file)
> + (install-file file slib)
> + (delete-file file))
> + (find-files lib "\\.a$"))
> + #t))))))
> + (native-inputs
> + `(("libxslt" ,libxslt)))
> + (home-page "http://www.html-tidy.org/")
> + (synopsis "HTML Tidy with HTML5 support")
> + (description
> + "Tidy is a console application for Mac OS X, Linux, Windows,
> +UNIX, and more. It corrects and cleans up HTML and XML documents by
> +fixing markup errors and upgrading legacy code to modern standards.
> +
> +libtidy is a C static and dynamic library that developers can integrate
> +into their applications in order to bring all of Tidy’s power to your
> +favorite tools. libtidy is used today in desktop applications,
> +web servers, and more.")
Sentences in the description should be followed by two spaces.
> + (license l:bsd-3)))
The rest LGTM.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2017-02-08 21:17 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-31 13:34 libextractor dependencies: libmp4v2, tidy-html, libsmf contact.ng0
2017-01-31 13:34 ` [PATCH 1/5] gnu: Add libmp4v2 contact.ng0
2017-02-07 20:16 ` Kei Kebreau
2017-02-07 20:16 ` Kei Kebreau
2017-02-07 20:16 ` Kei Kebreau
2017-02-07 20:16 ` Kei Kebreau
2017-02-07 20:16 ` Kei Kebreau
2017-01-31 13:34 ` [PATCH 2/5] gnu: Add tidy-html contact.ng0
2017-02-07 20:27 ` Kei Kebreau
2017-02-07 20:27 ` Kei Kebreau
2017-02-07 20:27 ` Kei Kebreau
2017-02-07 20:27 ` Kei Kebreau [this message]
2017-01-31 13:34 ` [PATCH 3/5] gnu: Add libsmf contact.ng0
2017-01-31 13:35 ` [PATCH 4/5] gnu: libextractor: Add dependencies contact.ng0
2017-01-31 13:35 ` [PATCH 5/5] gnu: libextractor: Move .a files to output "static" contact.ng0
2017-02-02 17:13 ` Maxim Cournoyer
2017-02-07 20:46 ` libextractor dependencies: libmp4v2, tidy-html, libsmf Kei Kebreau
2017-02-09 12:50 ` ng0
2017-02-09 13:36 ` libextractor changes, v2 contact.ng0
2017-02-09 13:37 ` [PATCH 1/5] gnu: Add libmp4v2 contact.ng0
2017-02-09 13:37 ` [PATCH 2/5] gnu: Add tidy-html contact.ng0
2017-02-09 13:37 ` [PATCH 3/5] gnu: Add libsmf contact.ng0
2017-02-09 13:37 ` [PATCH 4/5] gnu: libextractor: Add dependencies contact.ng0
2017-02-09 13:37 ` [PATCH 5/5] gnu: libextractor: Move .a files to output "static" contact.ng0
2017-02-09 17:17 ` libextractor changes, v2 Kei Kebreau
2017-02-07 20:46 ` libextractor dependencies: libmp4v2, tidy-html, libsmf Kei Kebreau
2017-02-07 20:46 ` Kei Kebreau
-- strict thread matches above, loose matches on Subject: below --
2016-12-22 16:44 libextractor enhancements up for review ng0
2016-12-22 16:44 ` [PATCH 2/5] gnu: Add tidy-html ng0
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877f50it6f.fsf@openmailbox.org \
--to=kei@openmailbox.org \
--cc=contact.ng0@cryptolab.net \
--cc=guix-devel@gnu.org \
--cc=ng0@libertad.pw \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.