SHA256
1
0
forked from pool/ansifilter

Update to version 2.21

OBS-URL: https://build.opensuse.org/package/show/devel:tools/ansifilter?expand=0&rev=47
This commit is contained in:
Dirk Mueller 2024-09-11 08:12:11 +00:00 committed by Git OBS Bridge
commit 59eaad8a1c
9 changed files with 481 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
ansifilter-2.20.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35ec9d71a7f4e5601337937c7734b32a6e346c0f054f4d316376823cfe679067
size 439551

View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEuMVVdBh/SRgO3HY3UP4CedgFp8cFAmSN+wcACgkQUP4CedgF
p8dJKwgAvg6mafX7mgGHmVZp0Asjr7yUURjqWX4miTkCQxEm0ARoDg8pXhFbdsAV
TjbSPa2lFuQHMHGYYg1ev68MTSAwHOIktgOJ0TpeRYPhrPEq9xg6T0IpksTo88tg
YsMqDN9Njh3TCgAcmeO91xY/7W7NnU6gmtycmQ3tUO6Ya6WoPI+ddPwJ9hivi6ZN
iibQg3Ro0dEw7BSevI72r3yryu6bTwRNtm00cDhOxFmxkWNi3IVKGFdh7IR2eie1
NN/SYUY19gnpHtWEqvqhbcRuDjWbt36PBkmvWlwiNH1aBCemPvmfpCKt414W5G9R
hwwz3RNfbHoDUIzyG/a5v4HBwyh5tQ==
=iR3P
-----END PGP SIGNATURE-----

3
ansifilter-2.21.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5ea7cfdfd0752d5a169259da005c18b9037628036fd89d8b82624bacec9c1390
size 434994

View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEuMVVdBh/SRgO3HY3UP4CedgFp8cFAmbaCm8ACgkQUP4CedgF
p8fpZggAmdMmnLRJWcvOGXk9BljC7GlOzthUtwYUYxz3Wr1+NT5Ob2lTOVIkxu2B
12cXKHzirN6BY8g23cj971JfubtAwjwW+OLxz6LY69xeagQgXa1QcNMlkcNtTGhD
3uWLKb76piySd71WkckiCh3O/wGRRbxGhL6Hh85IHkLF3zaIN2K0If7X5ZjMIqLs
mwOuHMnYAu410PbBlZx5nn61d85JffTnj6xx9klTrML28c3gg+4jPY9gXZp2veEA
W1NvN9WIV9HkpugYsS29xRzDAIrbvEi8IQc7SHLdIe+K6rSVYmijBb4+gDGAt9jh
IfPjfw1SdPdi3mZE/FY/9dM6w3BBug==
=nU2V
-----END PGP SIGNATURE-----

236
ansifilter.changes Normal file
View File

@ -0,0 +1,236 @@
-------------------------------------------------------------------
Mon Sep 9 06:41:55 UTC 2024 - ming li <mli@suse.com>
- Update to version 2.21:
* removed `using namespace std;` in header files
* src/makefile: added `-std=c++17` to enable modern C++ features
* added cmake build script
* fix open span tag with CR as opening sequence
(https://gitlab.com/saalen/ansifilter/-/issues/43)
* adapted TCL extension for C++17 compilation
(https://gitlab.com/saalen/ansifilter/-/issues/42)
- Remove the judgment line about GUI from the spec file
-------------------------------------------------------------------
Sat Jun 17 18:38:15 UTC 2023 - antoine.belvire@opensuse.org
- Update to version 2.20:
* Fixed invalid array access (gl#saalen/ansifilter#35).
* CLI: Added `--no-default-fg` option to omit default foreground
color (gl#saalen/ansifilter#37).
-------------------------------------------------------------------
Wed Mar 15 20:54:22 UTC 2023 - antoine.belvire@opensuse.org
- Update to version 2.19:
* Added stdin/stdio default stream hints in `--help`
(gl#saalen/ansifilter#34).
* Added shell completion scripts (gl#saalen/ansifilter#36).
- Update ansifilter.keyring.
-------------------------------------------------------------------
Thu Feb 4 22:07:51 UTC 2021 - antoine.belvire@opensuse.org
- Update to version 2.18:
* Added support for OSC 8 (iterm2) Hyperlinks
(gl#saalen/ansifilter#27).
-------------------------------------------------------------------
Thu Oct 1 21:00:49 UTC 2020 - antoine.belvire@opensuse.org
- Update to version 2.17:
- Improved handling of carriage return (gl#saalen/ansifilter#25).
- Applied makefile patch to address Portage warnings
(gl#saalen/ansifilter#24).
- Fixed section naming of LaTeX files if input path contained
slashes.
- CLI: Added `--max-size` option to limit input file size
(default: 256 MB).
- Update ansifilter.keyring.
- Update list of generated source files cleaned in prep section.
-------------------------------------------------------------------
Wed Jan 29 19:32:03 UTC 2020 - antoine.belvire@opensuse.org
- Update to version 2.16:
* CLI: Added --ignore-csi option to improve UTF-8 input handling.
- Remove obsolete macros.
-------------------------------------------------------------------
Wed Nov 13 07:09:54 UTC 2019 - antoine.belvire@opensuse.org
- Update to version 2.15:
* Added optional argument to --ignore-clear, the default setting
is now true.
* CLI: fixed -e argument description.
-------------------------------------------------------------------
Wed Apr 24 05:36:05 UTC 2019 - antoine.belvire@opensuse.org
- Update to version 2.14:
* Added SVG output option (gl#saalen/ansifilter#20).
-------------------------------------------------------------------
Fri Dec 14 16:29:15 UTC 2018 - antoine.belvire@opensuse.org
- Update to version 2.13:
* Line numbers do not trigger default style span in HTML
(gl#saalen/ansifilter#19).
* Fixed line numbering in batch mode.
* CLI: Added --derived-styles option for HTML output
(gl#saalen/ansifilter#11).
* CLI: Added "self" argument to --anchors to generate
self-referencing anchors.
- Changes from version 2.12:
* Fixed -w char count if line contains escape sequences.
* GUI: Added stylesheet input filed.
-------------------------------------------------------------------
Sun Oct 14 07:40:37 UTC 2018 - antoine.belvire@opensuse.org
- Update to version 2.11:
* Fixed parsing of "7" and "8" sequences
(gl#saalen/ansifilter#16).
* Added --ignore-clear option.
* Converted README and ChangeLog to AsciiDoc
-------------------------------------------------------------------
Sat Jul 7 09:18:02 UTC 2018 - antoine.belvire@opensuse.org
- Minor spec file cleanups.
-------------------------------------------------------------------
Wed Mar 7 20:30:17 UTC 2018 - antoine.belvire@opensuse.org
- Update to 2.10:
* Fix parsing of "K" sequence.
* Fix memory leak in BIN parser.
- Ran spec-cleaner, use SPDX-3.0 format for license.
-------------------------------------------------------------------
Wed Nov 29 18:18:17 UTC 2017 - antoine.belvire@opensuse.org
- Update to 2.9:
* Fix parsing of "(B" reset sequence.
* CLI: Add --no-version-info option.
* GUI: Layout adjustments.
- Remove desktop file from sources (now included in upstream
tarball).
-------------------------------------------------------------------
Sun Aug 6 14:40:57 UTC 2017 - antoine.belvire@opensuse.org
- Update to 2.8:
* Fix reading from stdin.
-------------------------------------------------------------------
Sat Aug 5 14:45:11 UTC 2017 - antoine.belvire@opensuse.org
- Update to 2.7:
* Fix processing of very small input files.
* Add -fPIC to CXXFLAGS in src/makefile (no impact for openSUSE
as default CXXFLAGS were already overriden with "%%{optflags}
-fPIC" in spec file).
-------------------------------------------------------------------
Sun Jul 30 16:10:45 UTC 2017 - antoine.belvire@opensuse.org
- Update to 2.6:
* Add support for Tundra 24bit ANSI art (--art-tundra option).
* Fix Pango output.
* Add EXTRA_CXXFLAGS in src/makefile.
- Fix rpmlint warnings:
* Add conditional in order not to call desktop_database_post(un)
macros on Tumbleweed, as it's now handled by RPM filetriggers.
-------------------------------------------------------------------
Mon Jul 3 20:55:21 UTC 2017 - antoine.belvire@opensuse.org
- Update to 2.5:
* CLI: Add --no-trailing-nl option.
* CLI: Add support for environment variable ANSIFILTER_OPTIONS.
- Changes from 2.4:
* Fix crash reading irregular escape codes.
- Clean spec file.
- Update GPG public key (key had expired).
-------------------------------------------------------------------
Mon Sep 26 14:02:25 UTC 2016 - antoine.belvire@opensuse.org
- Update to 2.3:
* Add support for true color escape codes
-------------------------------------------------------------------
Sat Sep 17 21:23:23 UTC 2016 - antoine.belvire@opensuse.org
- Update to 2.2:
* A lot of changes happened since 1.7. Please refer to
/usr/share/doc/packages/ansifilter/ChangeLog
* Build with Qt 5 instead of Qt 4
- Drop ansifilter-compiler_flags.patch: this can be handled in
%%build with environment variables.
- Add signature verification:
* Add ansifilter.keyring (ansifilter's main developer Andre Simon
public key)
* Add ansifilter-2.2.tar.bz2.asc
- Clean spec file:
* Remove obsolete conditional for openSUSE < 10.3
* Simplify build requirements, move GUI specific dependencies
to GUI subpackage
* Clean with spec-cleaner
-------------------------------------------------------------------
Thu Nov 14 12:01:52 UTC 2013 - cfarrell@suse.com
- license update: GPL-3.0+
No indication that the package is GPL-3.0 (i.e. only). Also, include the
COPYING file in the %doc section of the package
-------------------------------------------------------------------
Tue Oct 29 16:43:55 CET 2013 - pth@suse.de
- Fix options passed to make.
- Add copyright to spec file.
-------------------------------------------------------------------
Mon Oct 28 14:00:25 CET 2013 - pth@suse.de
- Reorder compiler flags and use CXX and CXXFLAGS instead of
CC and CFLAGS.
-------------------------------------------------------------------
Thu Jun 13 17:07:02 CEST 2013 - pth@suse.de
- Update to 1.7:
* add --wrap option to wrap long lines
* fix tab output in plain text mode
- Fix license specification.
- Regenerate moc_mydialog.cpp to cater for changing Qt versions.
- Pass RPM_OPT_FLAGS to compiler and do not use processor specific
flags (-march -mtune):
ansifilter-compiler_flags.patch
-------------------------------------------------------------------
Thu Mar 31 15:54:51 UTC 2011 - pascal.bleser@opensuse.org
- fix license: it's GPLv3, not GPLv2
- update to 1.6:
* fixed tab output
* added support for aixterm codes
* added bbcode output
* brightened default colours
- changes from 1.5:
* fixed parsing of grep escape sequences
- changes from 1.4:
* fixed parsing of xterm escape sequences
-------------------------------------------------------------------
Fri Jul 24 00:00:00 UTC 2009 - pascal.bleser@opensuse.org
- new package

58
ansifilter.keyring Normal file
View File

@ -0,0 +1,58 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBE6UkgwBCADMZje+4d+kTDrnSXxNQ8OxsEtBDLc3VfhgNAHUFYt/btWc19eh
cxDB2uKUeBjVE4xVnOULHvX+HyLkogA4hJp7xzW5fWBBbC2w86WtG3GlQMTabw3i
DKw9856Yhwsqj0R47HGFchdFSz/6Tatj25Ks6N0W1ZlIAwShpJUKlIyrMgfpgLwv
Gdfgke26FMy8MrxxmS1TSJ2mZtHHKBpB2Ege0VVr9w0B4RATgQuy5YHsFsK/pjdI
O+mn5BlvzXusAhbpMrArHlISuS9wXAhmXTaWmLuS5mB35u2CYolxtHBUQ2thfw5A
wj7uKNdWinZcAgo5OD49eUqolZfbFt5f5etFABEBAAG0KEFuZHJlIFNpbW9uIChT
YWFsZW4pIDxhc0BhbmRyZS1zaW1vbi5kZT6JAVUEEwECAD8CGwMGCwkIBwMCBhUI
AgkKCwQWAgMBAh4BAheAFiEEuMVVdBh/SRgO3HY3UP4CedgFp8cFAli1vmEFCQwC
X9UACgkQUP4CedgFp8dZDggAxmDMsfbTIMtrzYwDEs1POu8umRwA6D40COouBdrk
ljExLSwFgJ9HucuCDw8StpW5kNc5yDe+MrHnArD33EEhqTQGJs+eCR/oynbMepas
aaP1sft4nSLKXUoFH0hUOtp79ur/U0cchdLSmLWUkgmLXujaq/wkxieyrkyCAplW
qMZdUXHE2M+2Q0fiMELBz+EBLDgmLwHh18EDWhHd/8JbRCaNrCvz9YeXleLbcZoO
oWl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MDfqQYoy1CW5mzIORRSihOkidCv0kYZYM/uFCjFickSUVj/SVOLJL6Y2kqX+L
dlo8jMSkb6rFG+Vu6CchbInA9M9RS0VZ+5h6nLn8+7bYSam4qaUttnnCNkoDOesA
EQEAAYkBJQQYAQIADwUCTpSSDAIbDAUJAeEzgAAKCRBQ/gJ52AWnx3duB/9++IGn
mwO3Zw2f7TSzQPmGwFqfYueQtCeHRJeJ8bjqna2Zqf3ZlNREgpvvH3zYbrFCEJOp
sTKKN8gMak8I1EnLB1UBoyPh5rEihDnTeni5sxkL55syrGuPZJpbRkkOTUVvw+sY
YANZnLvddVFdUdUD64qR8TM8aF+og4Fg57nHhQEOkwJRQgreUs68Je2QmUBw7ibw
yBntZtFD5PwVVJ/xPKGID+0JHJaSLpd+rZw5I5AinQAB0oADOAR+Ux48uDbOFLVd
v7KMkm+zIGTsF1j3G14p9U55T1/XHnOIV8XybaIvOGmNBjXy/TTEoiH++0sbyCiT
8ivgQJWbxGF4w+7z
=Nc7N
-----END PGP PUBLIC KEY BLOCK-----

135
ansifilter.spec Normal file
View File

@ -0,0 +1,135 @@
#
# spec file for package ansifilter
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2013 Pascal Bleser.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%bcond_without gui
Name: ansifilter
Version: 2.21
Release: 0
Summary: ANSI Terminal Escape Code Converter
License: GPL-3.0-or-later
Group: Development/Tools/Other
URL: http://www.andre-simon.de/
Source: http://www.andre-simon.de/zip/ansifilter-%{version}.tar.bz2
Source2: http://www.andre-simon.de/zip/ansifilter-%{version}.tar.bz2.asc
Source99: ansifilter.keyring
BuildRequires: gcc-c++
%description
Ansifilter handles text files containing ANSI terminal escape codes.
The command sequences may be stripped or be interpreted to generate formatted
output (HTML, RTF, TeX, LaTeX, BBCode).
%if %{with gui}
%package gui
Summary: ANSI Terminal Escape Code Converter - Qt GUI
Group: Development/Tools/Other
BuildRequires: libqt5-qtbase-devel
Requires: %{name} = %{version}
%description gui
This package provides a Qt Graphical User Interface to run %{name}.
%endif
%package bash-completion
Summary: Bash completion for %{name}
Group: System/Shells
Requires: %{name}
Requires: bash-completion
Supplements: (bash-completion and %{name})
BuildArch: noarch
%description bash-completion
This package provides Bash command-line completion support for %{name}.
%package fish-completion
Summary: Fish completion for %{name}
Group: System/Shells
Requires: %{name}
Requires: fish
Supplements: (fish and %{name})
BuildArch: noarch
%description fish-completion
This package provides Fish command-line completion support for %{name}.
%package zsh-completion
Summary: Zsh completion for %{name}
Group: System/Shells
Requires: %{name}
Requires: zsh
Supplements: (zsh and %{name})
BuildArch: noarch
%description zsh-completion
This package provides Zsh command-line completion support for %{name}.
%prep
%setup -q
%build
make \
CFLAGS="%{optflags} -fPIC" \
CXXFLAGS="%{optflags} -std=c++17 -fPIC" \
QMAKE="qmake-qt5" \
all \
%if %{with gui}
all-gui \
%endif
%{?_smp_mflags}
%install
make \
DESTDIR=%{buildroot} \
doc_dir="%{_docdir}/%{name}" \
install \
%if %{with gui}
install-gui
%endif
rm %{buildroot}%{_docdir}/%{name}/INSTALL
%files
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/COPYING
%{_docdir}/%{name}/ChangeLog.adoc
%{_docdir}/%{name}/README.adoc
%{_bindir}/ansifilter
%{_mandir}/man1/ansifilter.1%{ext_man}
%if %{with gui}
%files gui
%{_bindir}/ansifilter-gui
%{_datadir}/applications/ansifilter.desktop
%{_datadir}/pixmaps/ansifilter.xpm
%endif
%files bash-completion
%{_datadir}/bash-completion/completions/%{name}
%files fish-completion
%dir %{_datadir}/fish
%dir %{_datadir}/fish/vendor_completions.d
%{_datadir}/fish/vendor_completions.d/%{name}.fish
%files zsh-completion
%dir %{_datadir}/zsh
%dir %{_datadir}/zsh/site-functions
%{_datadir}/zsh/site-functions/_%{name}
%changelog