Accepting request 827665 from home:dirkmueller:branches:Publishing

- update to 1.9.9:
  - Added support for a `HTMLDOC.filename` META keyword that controls the filename
    reported in CGI mode; the default remains "htmldoc.pdf" (Issue #367)
  - Fixed a paragraph formatting issue with large inline images (Issue #369)
  - Fixed a buffer underflow issue (Issue #370)
  - Fixed PDF page numbers (Issue #371)
  - Added support for a new `L` header/footer format (`$LETTERHEAD`), which
    inserts a letterhead image at its full size (Issue #372, Issue #373,
    Issue #375)
  - Updated the build documentation (Issue #374)
  - Refactored the PRE rendering code to work around compiler optimization bugs
  - Added support for links with targets (Issue #351)
  - Fixed a table rowspan + valign bug (Issue #360)
  - Added support for data URIs (Issue #340)
  - HTMLDOC no longer includes a PDF table of contents when converting a single
    web page (Issue #344)
  - Updated the markdown support with external links, additional inline markup,
    and hard line breaks.
  - Links in markdown text no longer render with a leading space as part of the
    link (Issue #346)
  - Fixed a buffer underflow bug discovered by AddressSanitizer.
  - Fixed a bug in UTF-8 support (Issue #348)
  - PDF output now includes the base language of the input document(s)
  - Optimized the loading of font widths (Issue #354)
  - Optimized PDF page resources (Issue #356)
  - Optimized the base memory used for font widths (Issue #357)
  - Added proper `­` support (Issue #361)
  - Title files can now be markdown.
  - The GUI did not support EPUB output.
  - Empty markdown table cells were not rendered in PDF or PostScript output.

OBS-URL: https://build.opensuse.org/request/show/827665
OBS-URL: https://build.opensuse.org/package/show/Publishing/htmldoc?expand=0&rev=23
This commit is contained in:
Martin Pluskal 2020-08-19 06:02:09 +00:00 committed by Git OBS Bridge
parent b0b23dd687
commit 6c3e2a6005
4 changed files with 63 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:11ffc85d35d571690b8318d96c0996f4820d0bea9efcc9de038a30ee66e49314
size 4465739

3
htmldoc-1.9.9.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59c699f7ae9f6e9a291e28870f93a824cf5ecf7b3ea6634773cc5a7f9ccd1000
size 4496717

View File

@ -1,3 +1,54 @@
-------------------------------------------------------------------
Tue Aug 18 18:57:22 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 1.9.9:
- Added support for a `HTMLDOC.filename` META keyword that controls the filename
reported in CGI mode; the default remains "htmldoc.pdf" (Issue #367)
- Fixed a paragraph formatting issue with large inline images (Issue #369)
- Fixed a buffer underflow issue (Issue #370)
- Fixed PDF page numbers (Issue #371)
- Added support for a new `L` header/footer format (`$LETTERHEAD`), which
inserts a letterhead image at its full size (Issue #372, Issue #373,
Issue #375)
- Updated the build documentation (Issue #374)
- Refactored the PRE rendering code to work around compiler optimization bugs
- Added support for links with targets (Issue #351)
- Fixed a table rowspan + valign bug (Issue #360)
- Added support for data URIs (Issue #340)
- HTMLDOC no longer includes a PDF table of contents when converting a single
web page (Issue #344)
- Updated the markdown support with external links, additional inline markup,
and hard line breaks.
- Links in markdown text no longer render with a leading space as part of the
link (Issue #346)
- Fixed a buffer underflow bug discovered by AddressSanitizer.
- Fixed a bug in UTF-8 support (Issue #348)
- PDF output now includes the base language of the input document(s)
- Optimized the loading of font widths (Issue #354)
- Optimized PDF page resources (Issue #356)
- Optimized the base memory used for font widths (Issue #357)
- Added proper `&shy;` support (Issue #361)
- Title files can now be markdown.
- The GUI did not support EPUB output.
- Empty markdown table cells were not rendered in PDF or PostScript output.
- The automatically-generated title page now supports both "docnumber" and
"version" metadata.
- Added support for dc:subject and dc:language metadata in EPUB output from the
HTML keywords and lang values.
- Added support for the subject and language metadata in markdown input.
- Fixed a buffer underflow bug (Issue #338)
- `htmldoc --help` now reports whether HTTPS URLs are supported (Issue #339)
- Fixed an issue with HTML title pages and EPUB output.
- Inline fixed-width text is no longer reduced in size automatically
- Optimized initialization of font width data (Issue #334)
- Fixed formatting bugs with aligned images (Issue #322, Issue #324)
- Fixed support for three digit "#RGB" color values (Issue #323)
- Fixed character set support for markdown metadata.
- Updated libpng to v1.6.34 (Issue #326)
- The makefiles did not use the CPPFLAGS value (Issue #328)
- Added Markdown table support.
- Fixed parsing of TBODY, TFOOT, and THEAD elements in HTML files.
-------------------------------------------------------------------
Mon Dec 4 08:06:31 UTC 2017 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package htmldoc
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,17 +12,17 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: htmldoc
Version: 1.9.1
Version: 1.9.9
Release: 0
Summary: HTML Processor that Generates HTML, PostScript, and PDF Files
License: LGPL-2.1+
License: LGPL-2.1-or-later
Group: Productivity/Publishing/HTML/Tools
Url: https://michaelrsweet.github.io/htmldoc/index.html
URL: https://michaelrsweet.github.io/htmldoc/index.html
Source: https://github.com/michaelrsweet/htmldoc/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: fltk-devel
BuildRequires: gcc-c++
@ -44,7 +44,7 @@ Portable Document Format (PDF) files that can be viewed online or printed.
%build
%configure \
--with-gui
make %{?_smp_mflags} V=1
%make_build
%install
%make_install
@ -58,12 +58,13 @@ rm -rf %{buildroot}/home %{buildroot}%{_datadir}/doc/%{name}
%suse_update_desktop_file %{name} -G%{name}
%files
%doc CHANGES.md COPYING README.md
%license COPYING
%doc CHANGES.md README.md
%{_bindir}/htmldoc
%{_datadir}/htmldoc
%{_datadir}/pixmaps/htmldoc.xpm
%{_datadir}/mime/packages/htmldoc.xml
%{_datadir}/applications/htmldoc.desktop
%{_mandir}/man1/htmldoc.1%{ext_man}
%{_mandir}/man1/htmldoc.1%{?ext_man}
%changelog