Package Details: ansi2html 0.23-15

Git Clone URL: https://aur.archlinux.org/ansi2html.git (read-only, click to copy)
Package Base: ansi2html
Description: Convert ANSI (terminal) colours and attributes to HTML
Upstream URL: http://www.pixelbeat.org/docs/terminal_colours/
Licenses: GPL
Submitter: None
Maintainer: psyriccio
Last Packager: psyriccio
Votes: 11
Popularity: 0.000000
First Submitted: 2010-04-17 16:43 (UTC)
Last Updated: 2020-07-22 08:02 (UTC)

Latest Comments

m040601 commented on 2021-06-02 05:14 (UTC)

This package and its installed binary should be renamed:

ansi2html -> ansi2html.sh

The reason is, there already exists an official Arch package "python-ansi2html" that also installs a binary called "ansi2html"

$ pacman -Fl python-ansi2html | grep --color=auto -i bin -

python-ansi2html usr/bin/
python-ansi2html usr/bin/ansi2html

pacman -Si python-ansi2html

Repository      : community
Name            : python-ansi2html
Version         : 1.6.0-1
Description     : Convert text with ANSI color codes to HTML
Architecture    : any
URL             : https://pypi.python.org/pypi/ansi2html
Licenses        : GPL
Groups          : None
Provides        : None
Depends On      : python-six  python-setuptools  python-wheel  python-pip
Optional Deps   : None
Conflicts With  : None
Replaces        : None
Download Size   : 21.56 KiB
Installed Size  : 74.26 KiB
Packager        : Florian Pritz <bluewind@xinu.at>
Build Date      : Sat 06 Feb 2021 01:06:08 PM WET
Validated By    : MD5 Sum  SHA-256 Sum  Signature

so if one tries one after having the other a conflict arises:

yay -S ansi2html

error: failed to commit transaction (conflicting files)
ansi2html: /usr/bin/ansi2html exists in filesystem (owned by python-ansi2html)
Errors occurred, no packages were upgraded.

rixx commented on 2018-08-09 19:57 (UTC)

The checksum still fails – do you plan to update itthe PKGBUILD?

eigengrau commented on 2016-01-06 09:11 (UTC) (edited on 2016-01-06 09:11 (UTC) by eigengrau)

Checksum fails. You really don’t want to target the master branch unless you make it a full-blown VCS package.

eigengrau commented on 2015-10-24 16:00 (UTC)

The PKGBUILD is valid UTF-8, but it contains mojibake. The author’s name is «Pádraig Brady», not «Pádraig Brady». Since this is effectively a -vcs package, you might want to add a pkgver() function as well and maybe ask for it to be renamed. Alternatively, you might want to point the source array to a fixed ref instead of the master branch, or else the package version won’t match the version that’s actually installed. E.g., when you install this now, you’ll get ansi2html 0.22, but the package will still say 0.16.

csllbr commented on 2015-08-11 03:41 (UTC)

thanks! should work now! File encoding looks good on my side: file -bi PKGBUILD text/plain; charset=utf-8

eigengrau commented on 2015-07-18 17:06 (UTC)

The checksum currently fails. (Also, the PKGBUILD seems to be encoded in latin-1).

csllbr commented on 2015-06-26 08:06 (UTC)

thanks! it should work now!

dickiteemerald commented on 2015-06-26 07:52 (UTC)

hey there pkgbuild s out of date package not passing validity check error

kaptoxic commented on 2014-12-31 17:25 (UTC)

Indeed, works like a charm! Happy New Year! :) :)

csllbr commented on 2014-12-30 17:49 (UTC)

thanks for reporting! it should work now!

kaptoxic commented on 2014-12-30 16:46 (UTC)

Problem: ==> Building and installing package ==> ERROR: Missing package() function in /tmp/yaourt-tmp-x/aur-ansi2html/./PKGBUILD ==> ERROR: Makepkg was unable to build ansi2html.

csllbr commented on 2014-12-22 08:09 (UTC)

thanks for reporting! - updated to version 0.15

commented on 2014-12-21 23:15 (UTC)

Please, update the checksum

commented on 2014-12-21 21:44 (UTC)

I cannot build it! Here is my output: ==> ansi2html dependencies: - sh (already installed) ==> Continue building ansi2html ? [Y/n] ==> ----------------------------------- ==> ==> Building and installing package ==> Making package: ansi2html 0.14-8 (Mon Dec 22 00:42:30 MSK 2014) ==> WARNING: Using a PKGBUILD without a package() function is deprecated. ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading ansi2html.sh... ... ==> Validating source files with md5sums... ansi2html.sh ... FAILED ==> ERROR: One or more files did not pass the validity check! ==> ERROR: Makepkg was unable to build ansi2html. ==> Restart building ansi2html ? [y/N] ==> ----------------------------------

kaptoxic commented on 2014-06-04 10:46 (UTC)

excellent, it works now, thanks! :)

csllbr commented on 2014-06-02 06:41 (UTC)

thanks! I have updated the checksum!

kaptoxic commented on 2014-06-01 23:17 (UTC)

==> Validating source files with md5sums... ansi2html.sh ... FAILED ==> ERROR: One or more files did not pass the validity check! ==> ERROR: Makepkg was unable to build ansi2html. Can we fix this?

csllbr commented on 2013-07-09 11:24 (UTC)

updated to version 0.14

AlD commented on 2013-07-08 12:25 (UTC)

The script has version 0.14 now. Due to that the PKGBUILD is currently broken: ==> Validating source files with md5sums... ansi2html.sh ... FAILED ==> ERROR: One or more files did not pass the validity check! In order to prevent that, you could include the commit id in your source link like so: https://raw.github.com/pixelb/scripts/9da2bcc0c008ac7145014967e0df8080ed504c74/scripts/ansi2html.sh

csllbr commented on 2013-01-03 12:57 (UTC)

Updated to version 0.13

allencch commented on 2013-01-03 07:41 (UTC)

The direct URL is https://raw.github.com/pixelb/scripts/master/scripts/ansi2html.sh

csllbr commented on 2012-04-19 06:31 (UTC)

Has been moved to: https://github.com/pixelb/scripts/commits/master/scripts/ansi2html.sh

commented on 2011-11-20 01:10 (UTC)

The file is sent using the gzip compression that's part of HTTP, for some reason makepkg was saving it as a gzipped text file. I think this was a configuration problem on the server or something (server's only supposed to send a gzipped file if the client says it's capable of handling it) 'coz it seems to be working correctly now.

commented on 2011-11-19 16:24 (UTC)

The PKGBUILD is broken. It tries to gunzip the source file for some reason, while the website has a plain text file. The source is just one file, if you need it it might be easiest to just copy it in your /usr/bin directory.

commented on 2011-03-22 01:01 (UTC)

looks like this has been moved to github: https://github.com/pixelb/scripts/ But for now I'm still gonna fetch the version from the site; that seems to be the "official" build version, since he isn't using github tagging.