pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/cmark
Module Name: pkgsrc
Committed By: adam
Date: Mon Aug 5 09:22:23 UTC 2024
Modified Files:
pkgsrc/textproc/cmark: Makefile distinfo
Log Message:
cmark: updated to 0.31.1
0.31.1
* Flag root node as open in `cmark_parser_new_with_mem_into_root`
* Remove `source`, add `search` to list of block tags
(a spec 0.31 change we forgot in last release).
* Accept lowercase inline HTML declarations (Michael Howell).
* Remove unused functions (Nick Wellnhofer).
* utf8:
+ Fix encoding of U+FFFE and U+FFFF
+ Rework case folding (Nick Wellnhofer). Using a table and binary
search instead of a generated switch statement significantly
reduces the size of the compiled code.
* houdini:
+ Rename `houdini_escape_html0` -> `houdini_escape_html`
+ Rework HTML entity table (Nick Wellnhofer).
The new layout saves about 20 KB and removes 50 KB of relocation
entries from the shared library, also speeding up loading.
* cmake:
+ Tell cmake to set `rpath` so the installed `cmark` can find
`libcmark.so` (Michael Witten).
+ Remove unnecessary enabling of target property: MACOSX_RPATH
(Michael Witten).
+ Fix build type checks (Nick Wellnhofer). Make the libFuzzer
target use the Asan build type again.
* Makefile:
+ Fix `libFuzzer` target (Nick Wellnhofer).
+ Use `ctest` and `--output-on-failure` in `test` target.
+ `make debug` should build a shared library (Nick Wellnhofer).
The full test suite is only available to a shared library build.
* wrappers:
+ Fix memory leak in Ruby wrapper (Nick Wellnhofer).
Free the string returned from `cmark_markdown_to_html`.
Fix `cmark_markdown_to_html` argument types.
+ Fix memory leak in Python wrapper (Nick Wellnhofer).
Free the string returned from cmark_markdown_to_html.
Fix cmark_markdown_to_html argument types.
+ Convert to and from UTF-8 under Python 2.
+ Add PHP wraper (Vinicius Dias).
* ci:
+ Test with ASan and rework CI matrix (Nick Wellnhofer).
+ Remove the valgrind leakcheck test. This should be covered now
by testing with LeakSanitizer on static builds, including tests
like spectest_executable. The full test suite is only available
to shared library builds which have to run without leak checks
for now.
+ Separate cflags from cc (Nick Wellnhofer).
+ Make CMake matrix options work (Nick Wellnhofer).
CMAKE_OPTIONS had no effect, leading to the shared library not being
tested. Invoke cmake directly, so we don't have to deal with the mess
in Makefile.
+ Do debug build so that assertions will run
+ Use `-gdwarf-4` with clang for compatibility with valgrind
* test:
+ Fix memory leaks in cmark.py (Nick Wellnhofer).
Free results of libcmark API function calls.
+ Fix memory leaks in api_test (Nick Wellnhofer).
+ Simplify test execution environment handling (Saleem Abdulrasool).
Use generator expressions to compute the new path and avoid
translations. This reduces complexity in the build and allows for a
different build layout.
* fuzz: Test more parser entry points (Nick Wellnhofer).
* Remove superfluous definitions from scanners.re.
* re2c: Disable UTF-8 (Nick Wellnhofer). The regexes don't require UTF-8
features and work in ASCII mode as well. Disabling UTF-8 reduces the
size of the code generated by re2c.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/textproc/cmark/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/textproc/cmark/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/cmark/Makefile
diff -u pkgsrc/textproc/cmark/Makefile:1.14 pkgsrc/textproc/cmark/Makefile:1.15
--- pkgsrc/textproc/cmark/Makefile:1.14 Tue Jan 30 20:00:13 2024
+++ pkgsrc/textproc/cmark/Makefile Mon Aug 5 09:22:23 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2024/01/30 20:00:13 adam Exp $
+# $NetBSD: Makefile,v 1.15 2024/08/05 09:22:23 adam Exp $
-DISTNAME= cmark-0.31.0
+DISTNAME= cmark-0.31.1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=jgm/}
@@ -9,6 +9,7 @@ HOMEPAGE= https://github.com/commonmark/
COMMENT= CommonMark parsing and rendering library and program in C
LICENSE= 2-clause-bsd
+USE_CC_FEATURES= c99
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
PKGCONFIG_OVERRIDE+= src/libcmark.pc.in
@@ -18,9 +19,9 @@ PYTHON_FOR_BUILD_ONLY= yes
PYTHON_VERSIONS_INCOMPATIBLE= 27
-TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC}/build/src
+TEST_ENV+= LD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR}/src
# For Darwin
-TEST_ENV+= DYLD_LIBRARY_PATH=${WRKSRC}/build/src
+TEST_ENV+= DYLD_LIBRARY_PATH=${WRKSRC}/${CMAKE_BUILD_DIR}/src
TEST_TARGET= test
.include "../../devel/cmake/build.mk"
Index: pkgsrc/textproc/cmark/distinfo
diff -u pkgsrc/textproc/cmark/distinfo:1.13 pkgsrc/textproc/cmark/distinfo:1.14
--- pkgsrc/textproc/cmark/distinfo:1.13 Tue Jan 30 20:00:13 2024
+++ pkgsrc/textproc/cmark/distinfo Mon Aug 5 09:22:23 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2024/01/30 20:00:13 adam Exp $
+$NetBSD: distinfo,v 1.14 2024/08/05 09:22:23 adam Exp $
-BLAKE2s (cmark-0.31.0.tar.gz) = bd62fe42325b2f8580cc05c95d7b50e70b1677f41fb4ab77bb3e391febb18f43
-SHA512 (cmark-0.31.0.tar.gz) = 768d456147cb8f5cf36e8122213ad053098201e118109a316518a6a5e721ac94f62af29abe1e69120c84bdc227a5c320803ea2cf320c6d9a719d62909b6533bd
-Size (cmark-0.31.0.tar.gz) = 251922 bytes
+BLAKE2s (cmark-0.31.1.tar.gz) = 9ae8af01d6202f8078dd57aa0e91eec00871242acb358b37ae7c99f372bf88f4
+SHA512 (cmark-0.31.1.tar.gz) = 3b4f8b47d8ea270078ab986aa22fc32b227786459bd33c7225aac578d8dd014e3d8788a6add60ea10571fdb4c7dc6a1ece960815a02f04f153b1775c73ccff8f
+Size (cmark-0.31.1.tar.gz) = 264170 bytes
Home |
Main Index |
Thread Index |
Old Index