17 Commits

Author SHA256 Message Date
9462bdce9b Accepting request 1319799 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1319799
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lowdown?expand=0&rev=8
2025-11-25 14:53:31 +00:00
5834bae2dc - Update to version 2.0.4:
* Hot-fix version bump
  * Simplify Makefile with some variables
  * Makefile: change dylib's suffix

OBS-URL: https://build.opensuse.org/package/show/Base:System/lowdown?expand=0&rev=19
2025-11-17 15:57:48 +00:00
c8ace80fd5 - Update to version 2.0.3:
* Get ready for version bump
  * Tweak OSC8-decorated -tterm link images
  * Attempt to fix UB in unsigned promotion
  * Build dylib libraries and enable Mac CI
  * Inhibit link for -tterm images in links
  * Add compats for shared build
  * Use latest oconfigure
  * White-space adjustments for style(9)
  * Ignore index.{html,xml} files
  * Refactor the www documentation for simplicity
  * Allow for shared-object linking
  * Bring up to date with newest oconfigure (0.5.0)
  * Proper URL escape for -tlatex
  * Add regression for link types
  * Fix percent- and space-encoding in roff
  * Fix typos in manual pages
  * Have `make regress` error out on any failures

OBS-URL: https://build.opensuse.org/package/show/Base:System/lowdown?expand=0&rev=18
2025-11-16 03:17:47 +00:00
36ddf858cc Accepting request 1246282 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1246282
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lowdown?expand=0&rev=7
2025-02-17 19:54:25 +00:00
494346e28a Accepting request 1246281 from home:sbradnick:branches:Base:System
- Update to version 2.0.2:
  * Bump hot-fix version.
  * Fix `regress` run without locale
  * Bump for version.
  * Fix off-by-one table header row glyph in -tterm

OBS-URL: https://build.opensuse.org/request/show/1246281
OBS-URL: https://build.opensuse.org/package/show/Base:System/lowdown?expand=0&rev=16
2025-02-16 22:54:48 +00:00
b57c84cb7d Accepting request 1242275 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1242275
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lowdown?expand=0&rev=6
2025-02-03 20:44:28 +00:00
b8f7249fcc Accepting request 1240408 from home:sbradnick:branches:Base:System
- Updating soname from liblowdown1 -> liblowdown2
- Switching to using bmake vs. make otherwise the following error is thrown:
  Makefile:131: *** missing separator.  Stop.
- Update to version 2.0.0:
  * Add latest version notes.
  * Tidy -fsanitize options.
  * Remove white-space.
  * Fix term test cases with links
  * term: Close link after closing style
  * Sync changes from lowdown.1.
  * Get ready for "semver" version.
  * Enhance Mac OSX sandbox_init() ignoring.
  * Allow sandbox_init() errors to be ignored.
  * Don't use tiny font sizes.
  * Simplify www page.
  * Add an sblg template.
  * Add forgotten template directories.

OBS-URL: https://build.opensuse.org/request/show/1240408
OBS-URL: https://build.opensuse.org/package/show/Base:System/lowdown?expand=0&rev=14
2025-01-26 21:41:33 +00:00
5354eeff90 Accepting request 1233410 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1233410
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lowdown?expand=0&rev=5
2024-12-26 11:24:43 +00:00
d59a378465 Accepting request 1233409 from home:sbradnick:branches:Base:System
- Update to version 1.4.0:
  * Bump version.
  * Document template literals.
  * Handle delimiters in literal strings.
  * Literal strings in --template.
  * Add more regressions.
  * Make --template escaperoff() escape initial delim.
  * On-going version notes.
  * Add more possible contributions nobody will do.
  * Simplify and cohere -tterm images and links.
  * Document RELLINKS in library manpage.
  * Rehyphenate some command-line arguments.
  * Tidy up options-parsing area.
  * Hook up --term-no-rellinks.
  * Add -tterm ignoring of relative links.
  * Remove unused styles.
  * Have -tterm footnote block header be an hrule.
  * Use -tterm unicode lines for blocks/tables.
  * Use horizontal UTF-8 sequence for hrule.
  * Horizontal rule gets full vertical space.
  * Have CI use -fsanitize during build.
  * Don't pass NULL to strndup.
  * Fix UB found by -fsanitize.
  * Process --version, -h, --help.
  * Document --term-hmargin=auto.
  * Document consumer of lowdown_opts_term.
  * Document new lowdown_opts_term.
  * Document hpadding/hmargin.
  * Refactor padding, margin, width, columns.
  * Specify padding/margin for -tterm.

OBS-URL: https://build.opensuse.org/request/show/1233409
OBS-URL: https://build.opensuse.org/package/show/Base:System/lowdown?expand=0&rev=12
2024-12-26 01:08:32 +00:00
07fa3fccba Accepting request 1228812 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1228812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lowdown?expand=0&rev=4
2024-12-08 10:37:16 +00:00
5035d4c4a7 Accepting request 1228811 from home:sbradnick:branches:Base:System
- Update to version 1.3.1:
  * Version bump.
  * Internal template documentation.
  * Add --template functionality to -tlatex.
  * Only use --template along with -s.
  * Update docs.
  * Add regressions and fix corner case.
  * Add boolean operators and() and or().
  * Add latex escaping to template.
  * Rename hesc and move latex escape.

OBS-URL: https://build.opensuse.org/request/show/1228811
OBS-URL: https://build.opensuse.org/package/show/Base:System/lowdown?expand=0&rev=10
2024-12-06 16:06:22 +00:00
bfe445e2d4 Accepting request 1227669 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1227669
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lowdown?expand=0&rev=3
2024-12-02 15:59:11 +00:00
7c6c31a67e Accepting request 1227633 from home:darix:apps
- Update to version 1.3.0:
  * New coverage.
  * Get ready for versions.
  * Note experimental status.
  * Synchronise manpages.
  * Add default HTML template.
  * Case insensitive, allow arguments, meta().
  * Add HTML-escaping functions.
  * Settle on case insensitive for templates.
  * Add some manpage bits for ongoing progress.
  * Use "dot" notation instead of "::".
  * Template "body" special value.
  * Add looping and listing to template.
  * Make valgrind run test cases.
  * Clarify corner case behaviour of templates.
  * Further specify metadata key canonicalisation.
  * Initial template functionality.

OBS-URL: https://build.opensuse.org/request/show/1227633
OBS-URL: https://build.opensuse.org/package/show/Base:System/lowdown?expand=0&rev=8
2024-12-02 06:10:58 +00:00
a2d313715e Accepting request 1218397 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1218397
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lowdown?expand=0&rev=2
2024-10-27 10:25:19 +00:00
8176d89dc4 Accepting request 1218224 from home:darix:apps
- Update to version 1.2.0:
  * Restructure.
  * Update images.
  * Simplify language.
  * Update coverage.
  * Get ready for version.
  * Add --nroff-endnotes for -tms.
  * Linked footnotes now enabled.
  * Ignore footnotes in headers.
  * Proper printing of -tms footnotes.
  * Ongoing version notes.
  * Use lowdown_get_meta() for -tfodt.
  * Use lowdown_get_meta().
  * Use lowdown_add_meta() instead of repeating.
  * Move shared metadata node->buffer into utility.
  * Document newly-recognised metadata.
  * Add msheader and manheader metadata and fix.
  * Initialise value.
  * Fix -thtml special characters in metadata.
  * Add regression test.
  * Version notes.
  * Add "latex header" and clean up.
  * Initialise no-escape statement.
  * Allow arbitrary HTML header content from metadata.
  * Update coverage.
  * Keep running version notes.
  * --nroff-no-groff -> nroff-traditional
  * Use UR/UE and MT/ME for -man links.
  * Remove unused.
  * Support OSC8 hyperlinking in -tterm.

OBS-URL: https://build.opensuse.org/request/show/1218224
OBS-URL: https://build.opensuse.org/package/show/Base:System/lowdown?expand=0&rev=6
2024-10-25 16:09:02 +00:00
13f377778c Accepting request 1205308 from home:darix:apps
- Update to version 1.1.2:
  * Bump version.
  * Exercise entities, remove dead function.
  * Exercise RCS convention conversions.
  * Add html regressions to bundle.
  * More regressions (coverage).
  * Document --html-titleblock and tweak.
  * Github link in coverage table.
  * Fix regress/standalone invocation and add HTML.
  * DOS regressions.
  * More pandoc metadata testing (coverage).
  * More rigorous metadata testing (coverage).
  * More regressions (test coverage).
  * Introduce test coverage.
  * Tweak.

OBS-URL: https://build.opensuse.org/request/show/1205308
OBS-URL: https://build.opensuse.org/package/show/Base:System/lowdown?expand=0&rev=5
2024-10-02 19:09:09 +00:00
fd60f0ab47 Accepting request 1203376 from home:darix:apps
- Update to version 1.1.1:
  * Tweak website, bump version.
  * Silence compiler warning.
  * Document code fences.
  * Improve Mac OS X buggy SH handling.
  * Synchronise source/man for --term-all-metadata.
  * Add regressions for tighter utf8 handling.
  * Tweak previous.
  * Don't output a newline after `.SH`
  * Ignore `test-*.dSYM` directories for macOS configure
  * Fix `iscntrl` on macOS
- cleanup the _service file:
  - Given we only package taged releases change the version to use
    the PARENT_TAG only and provide a better pattern as a comment
    in case we ever need a snapshot
  - instead of hardcoding the match and rewrite string actually use
    a regexp

OBS-URL: https://build.opensuse.org/request/show/1203376
OBS-URL: https://build.opensuse.org/package/show/Base:System/lowdown?expand=0&rev=4
2024-09-25 15:22:14 +00:00
7 changed files with 252 additions and 18 deletions

View File

@@ -2,12 +2,15 @@
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/kristapsdz/lowdown</param>
<param name="scm">git</param>
<param name="versionformat">@PARENT_TAG@+git%cd.%h</param>
<param name="versionformat">@PARENT_TAG@</param>
<!-- If we ever have to package a snapshot, use this format pattern:
<param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.%h</param>
-->
<!-- Default rewrite-pattern
<param name="versionrewrite-pattern">v(.*)</param>
-->
<param name="versionrewrite-pattern">VERSION_1_1_0</param>
<param name="versionrewrite-replacement">1.1.0</param>
<param name="versionrewrite-pattern">VERSION_(\d+)_(\d+)_(\d+)</param>
<param name="versionrewrite-replacement">\1.\2.\3</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="manual"/>

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/kristapsdz/lowdown</param>
<param name="changesrevision">1200b9f4ceceb5795ccc0a02a2105310f0819222</param></service></servicedata>
<param name="changesrevision">bafe7df27e6fd3bd118691e252e537398578cdcd</param></service></servicedata>

View File

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

3
lowdown-2.0.4.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,228 @@
-------------------------------------------------------------------
Mon Nov 17 15:39:09 UTC 2025 - Scott Bradnick <scott.bradnick@suse.com>
- Update to version 2.0.4:
* Hot-fix version bump
* Simplify Makefile with some variables
* Makefile: change dylib's suffix
-------------------------------------------------------------------
Sun Nov 16 00:51:33 UTC 2025 - Scott Bradnick <scott.bradnick@suse.com>
- Update to version 2.0.3:
* Get ready for version bump
* Tweak OSC8-decorated -tterm link images
* Attempt to fix UB in unsigned promotion
* Build dylib libraries and enable Mac CI
* Inhibit link for -tterm images in links
* Add compats for shared build
* Use latest oconfigure
* White-space adjustments for style(9)
* Ignore index.{html,xml} files
* Refactor the www documentation for simplicity
* Allow for shared-object linking
* Bring up to date with newest oconfigure (0.5.0)
* Proper URL escape for -tlatex
* Add regression for link types
* Fix percent- and space-encoding in roff
* Fix typos in manual pages
* Have `make regress` error out on any failures
-------------------------------------------------------------------
Sun Feb 16 21:39:46 UTC 2025 - scott.bradnick@suse.com
- Update to version 2.0.2:
* Bump hot-fix version.
* Fix `regress` run without locale
* Bump for version.
* Fix off-by-one table header row glyph in -tterm
-------------------------------------------------------------------
Sun Jan 26 21:22:44 UTC 2025 - scott.bradnick@suse.com
- Updating soname from liblowdown1 -> liblowdown2
- Switching to using bmake vs. make otherwise the following error is thrown:
Makefile:131: *** missing separator. Stop.
- Update to version 2.0.0:
* Add latest version notes.
* Tidy -fsanitize options.
* Remove white-space.
* Fix term test cases with links
* term: Close link after closing style
* Sync changes from lowdown.1.
* Get ready for "semver" version.
* Enhance Mac OSX sandbox_init() ignoring.
* Allow sandbox_init() errors to be ignored.
* Don't use tiny font sizes.
* Simplify www page.
* Add an sblg template.
* Add forgotten template directories.
-------------------------------------------------------------------
Thu Dec 26 00:53:43 UTC 2024 - scott.bradnick@suse.com
- Update to version 1.4.0:
* Bump version.
* Document template literals.
* Handle delimiters in literal strings.
* Literal strings in --template.
* Add more regressions.
* Make --template escaperoff() escape initial delim.
* On-going version notes.
* Add more possible contributions nobody will do.
* Simplify and cohere -tterm images and links.
* Document RELLINKS in library manpage.
* Rehyphenate some command-line arguments.
* Tidy up options-parsing area.
* Hook up --term-no-rellinks.
* Add -tterm ignoring of relative links.
* Remove unused styles.
* Have -tterm footnote block header be an hrule.
* Use -tterm unicode lines for blocks/tables.
* Use horizontal UTF-8 sequence for hrule.
* Horizontal rule gets full vertical space.
* Have CI use -fsanitize during build.
* Don't pass NULL to strndup.
* Fix UB found by -fsanitize.
* Process --version, -h, --help.
* Document --term-hmargin=auto.
* Document consumer of lowdown_opts_term.
* Document new lowdown_opts_term.
* Document hpadding/hmargin.
* Refactor padding, margin, width, columns.
* Specify padding/margin for -tterm.
* Fix off-by-one when outputting -tterm words.
* Add --template debugging.
* Rename "--nroff-xxx" arguments as "--roff-xxx".
* Bumping version.
* Document escapegemini*.
* Document --template accepted by -tgemini.
* Add --template to -tgemini.
* Remove stray space.
* Specify Gemtext.
* Update to proper Gemini version used.
* Move -tgemini escape into its own file.
* Add --template to -tman, -tms.
* Add templating abilities to -tman, -tms.
* Running version documentation.
* Document new template features.
* Add not(), "--$", and clarify empty for/ifdef.
* Move nroff escape to its own file.
* Simplify template literals and add eoln statement.
-------------------------------------------------------------------
Fri Dec 06 15:58:50 UTC 2024 - scott.bradnick@suse.com
- Update to version 1.3.1:
* Version bump.
* Internal template documentation.
* Add --template functionality to -tlatex.
* Only use --template along with -s.
* Update docs.
* Add regressions and fix corner case.
* Add boolean operators and() and or().
* Add latex escaping to template.
* Rename hesc and move latex escape.
-------------------------------------------------------------------
Sun Dec 01 20:45:50 UTC 2024 - mrueckert@suse.de
- Update to version 1.3.0:
* New coverage.
* Get ready for versions.
* Note experimental status.
* Synchronise manpages.
* Add default HTML template.
* Case insensitive, allow arguments, meta().
* Add HTML-escaping functions.
* Settle on case insensitive for templates.
* Add some manpage bits for ongoing progress.
* Use "dot" notation instead of "::".
* Template "body" special value.
* Add looping and listing to template.
* Make valgrind run test cases.
* Clarify corner case behaviour of templates.
* Further specify metadata key canonicalisation.
* Initial template functionality.
-------------------------------------------------------------------
Fri Oct 25 11:22:02 UTC 2024 - mrueckert@suse.de
- Update to version 1.2.0:
* Restructure.
* Update images.
* Simplify language.
* Update coverage.
* Get ready for version.
* Add --nroff-endnotes for -tms.
* Linked footnotes now enabled.
* Ignore footnotes in headers.
* Proper printing of -tms footnotes.
* Ongoing version notes.
* Use lowdown_get_meta() for -tfodt.
* Use lowdown_get_meta().
* Use lowdown_add_meta() instead of repeating.
* Move shared metadata node->buffer into utility.
* Document newly-recognised metadata.
* Add msheader and manheader metadata and fix.
* Initialise value.
* Fix -thtml special characters in metadata.
* Add regression test.
* Version notes.
* Add "latex header" and clean up.
* Initialise no-escape statement.
* Allow arbitrary HTML header content from metadata.
* Update coverage.
* Keep running version notes.
* --nroff-no-groff -> nroff-traditional
* Use UR/UE and MT/ME for -man links.
* Remove unused.
* Support OSC8 hyperlinking in -tterm.
* More regression tests.
* Be explicit about disallowing nested links.
* Tweak style.
-------------------------------------------------------------------
Wed Oct 02 18:15:56 UTC 2024 - mrueckert@suse.de
- Update to version 1.1.2:
* Bump version.
* Exercise entities, remove dead function.
* Exercise RCS convention conversions.
* Add html regressions to bundle.
* More regressions (coverage).
* Document --html-titleblock and tweak.
* Github link in coverage table.
* Fix regress/standalone invocation and add HTML.
* DOS regressions.
* More pandoc metadata testing (coverage).
* More rigorous metadata testing (coverage).
* More regressions (test coverage).
* Introduce test coverage.
* Tweak.
-------------------------------------------------------------------
Wed Sep 25 08:51:01 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- Update to version 1.1.1:
* Tweak website, bump version.
* Silence compiler warning.
* Document code fences.
* Improve Mac OS X buggy SH handling.
* Synchronise source/man for --term-all-metadata.
* Add regressions for tighter utf8 handling.
* Tweak previous.
* Don't output a newline after `.SH`
* Ignore `test-*.dSYM` directories for macOS configure
* Fix `iscntrl` on macOS
- cleanup the _service file:
- Given we only package taged releases change the version to use
the PARENT_TAG only and provide a better pattern as a comment
in case we ever need a snapshot
- instead of hardcoding the match and rewrite string actually use
a regexp
-------------------------------------------------------------------
Fri Jul 26 15:31:55 UTC 2024 - Scott Bradnick <scott.bradnick@suse.com>

View File

@@ -1,4 +1,4 @@
name: lowdown
version: 1.1.0+git20231119.1200b9f
mtime: 1700431489
commit: 1200b9f4ceceb5795ccc0a02a2105310f0819222
version: 2.0.4
mtime: 1763349946
commit: bafe7df27e6fd3bd118691e252e537398578cdcd

View File

@@ -1,7 +1,7 @@
#
# spec file for package lowdown
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,11 +15,12 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global soname liblowdown1
%global soname liblowdown2
#%%global version_string VERSION_1_1_0
Name: lowdown
Version: 1.1.0+git20231119.1200b9f
Version: 2.0.4
Release: 0
Summary: Simple markdown translator
License: ISC
@@ -27,7 +28,9 @@ License: ISC
URL: https://github.com/kristapsdz/lowdown
#Source: %%{name}-%%{version_string}.tar.gz
Source: %{name}-%{version}.tar.gz
BuildRequires: bmake
BuildRequires: fdupes
%description
lowdown is a Markdown translator producing HTML5, roff documents in the ms and
man formats, LaTeX, gemini, OpenDocument, and terminal output.
@@ -60,11 +63,14 @@ significantly.
%build
export CFLAGS="%{optflags}"
./configure PREFIX=%{_prefix} MANDIR=%{_mandir} LIBDIR=%{_libdir}
%make_build
#%%make_build
bmake
%install
%make_install
%make_install install_libs
#%%make_install
bmake install DESTDIR=%{buildroot}
#%%make_install install_libs
bmake install DESTDIR=%{buildroot} install_libs
rm %{buildroot}%{_libdir}/*.a
chmod a+rx %{buildroot}%{_libdir}/liblowdown.so*
%fdupes -s %{buildroot}
@@ -72,7 +78,8 @@ chmod a+rx %{buildroot}%{_libdir}/liblowdown.so*
%ldconfig_scriptlets -n %{soname}
%files
%{_bindir}/*
%{_bindir}/lowdown
%{_bindir}/lowdown-diff
%{_mandir}/man1/*
%{_mandir}/man5/*
%{_datadir}/%{name}/
@@ -87,4 +94,3 @@ chmod a+rx %{buildroot}%{_libdir}/liblowdown.so*
%{_includedir}/*.h
%changelog