SHA256
1
0
forked from pool/serd

8 Commits

Author SHA256 Message Date
b755c6af60 Accepting request 1321917 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1321917
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/serd?expand=0&rev=25
2025-12-11 17:34:42 +00:00
85a3a5701b - update to 0.32.6
* Avoid over-use of yielding meson options
  * Drop graphs when writing Turtle output
  * Eliminate recursion in the writer
  * Fix handling of bad predicates in anonymous blank nodes
  * Fix handling of some invalid EOF cases in lax mode
  * Fix indentation of named objects after anonymous objects
  * Fix indentation when ending anonymous nodes with many objects
  * Fix invalid characters in error messages
  * Fix reading numbers with no space before the final dot
  * Fix reading prefix names that start with "true." or "false."
  * Refuse to write incoherent statements
  * Remove project and version number from man page OS field
  * Write a blank line between statements and Turtle/TriG directives

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/serd?expand=0&rev=42
2025-12-10 09:54:59 +00:00
6bf92ab9fe Accepting request 1268128 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1268128
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/serd?expand=0&rev=24
2025-04-10 19:57:45 +00:00
03744f0bbc - Fix Leap build
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/serd?expand=0&rev=40
2025-04-09 10:37:17 +00:00
8c0379310f Accepting request 1251938 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1251938
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/serd?expand=0&rev=23
2025-03-11 19:42:14 +00:00
748ca79e2a Accepting request 1251880 from home:AndreasStieger:branches:multimedia:libs
serd 0.32.4

OBS-URL: https://build.opensuse.org/request/show/1251880
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/serd?expand=0&rev=38
2025-03-11 06:10:33 +00:00
3d16a40cf6 Accepting request 1240146 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/1240146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/serd?expand=0&rev=22
2025-01-28 13:58:08 +00:00
7cf7e1fe4d - Update to 0.32.2
* Enable clang nullability checks
  * Fix writing empty list objects within blank nodes
- Set build docs for TW only as it requires sphixygen since now
- Refresh 001-serd-docdir.patch
- Update to 0.32.0
  * Add Windows path separator support to serd_node_new_file_uri()
  * Add long "help" and "version" options to serdi
  * Add options to disable html or singlehtml documentation
  * Add serd_reader_skip_until_byte() to public API
  * Allow SERD_API to be defined by the user
  * Avoid creating test files in the current directory
  * Avoid using ASCII grave as a quote
  * Check for POSIX features with the build system
  * Clean up and improve test suite
  * Clean up code
  * Fix crash when trying to read chunks without starting
  * Fix hang when skipping an error at EOF when lax parsing
  * Fix incorrect parsing of strange quote escape patterns
  * Fix possible hang when writing nested Turtle lists
  * Fix potential memory leaks when a write is aborted
  * Fix relative URI creation
  * Gracefully handle bad characters in Turtle blank node syntax
  * Gracefully handle bad characters in Turtle datatype syntax
  * Improve TriG pretty-printing and remove trailing newlines
  * Improve pretty-printing of lists and inline subjects
  * Improve serdi man page
  * Improve writer error handling
  * Make URI writing stricter by default
  * Make serd_reader_read_chunk() work with NQuads
  * Override pkg-config dependency within meson
  * Remove junk files from documentation install
  * Remove support for writing Turtle named inline nodes extension
  * Replace duplicated dox_to_sphinx script with sphinxygen dependency
  * Test header for warnings more strictly
  * Update standard test suites

OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/serd?expand=0&rev=36
2025-01-24 12:01:01 +00:00
5 changed files with 114 additions and 17 deletions

View File

@@ -1,11 +1,11 @@
--- ./doc/meson.build.orig 2022-12-26 22:48:38.800134462 +1000
+++ doc/meson.build 2022-12-26 22:49:09.232891680 +1000
--- doc/meson.build.orig 2023-10-22 12:39:24.000000000 -0700
+++ doc/meson.build 2023-10-29 21:16:36.448489411 -0700
@@ -1,7 +1,7 @@
# Copyright 2020-2022 David Robillard <d@drobilla.net>
# Copyright 2020-2023 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR ISC
-docdir = get_option('datadir') / 'doc'
+docdir = get_option('datadir') / 'doc' / 'packages'
doxygen = find_program('doxygen', required: get_option('docs'))
dox_to_sphinx = files('../scripts/dox_to_sphinx.py')
#############
# Man pages #

Binary file not shown.

3
serd-0.32.6.tar.xz Normal file
View File

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

View File

@@ -1,3 +1,87 @@
-------------------------------------------------------------------
Wed Dec 10 08:21:49 UTC 2025 - Konstantin Voinov <kv@kott.no-ip.biz>
- update to 0.32.6
* Avoid over-use of yielding meson options
* Drop graphs when writing Turtle output
* Eliminate recursion in the writer
* Fix handling of bad predicates in anonymous blank nodes
* Fix handling of some invalid EOF cases in lax mode
* Fix indentation of named objects after anonymous objects
* Fix indentation when ending anonymous nodes with many objects
* Fix invalid characters in error messages
* Fix reading numbers with no space before the final dot
* Fix reading prefix names that start with "true." or "false."
* Refuse to write incoherent statements
* Remove project and version number from man page OS field
* Write a blank line between statements and Turtle/TriG directives
-------------------------------------------------------------------
Sat Apr 5 17:06:10 UTC 2025 - Luigi Baldoni <aloisio@gmx.com>
- Fix Leap build
-------------------------------------------------------------------
Mon Mar 10 20:34:45 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 0.32.4:
* Fix overly permissive parsing of syntax names on the command
line
* Fix parsing NQuads lines with no space before the final dot
* Fix reading chunks from files without trailing newlines
* Fix rewriting special literals when datatype URIs are prefixed
names
* Gracefully handle errors while writing the end of anonymous
nodes
* Support reading lone lists in lax mode
* Treat out of range unicode characters as errors
* Write blank lines between graphs and statements in TriG
* developer visible fixes
-------------------------------------------------------------------
Sun Jan 19 00:25:07 UTC 2025 - Konstantin Voinov <kv@kott.no-ip.biz>
- Update to 0.32.2
* Enable clang nullability checks
* Fix writing empty list objects within blank nodes
-------------------------------------------------------------------
Mon Oct 30 04:13:33 UTC 2023 - Konstantin Voinov <kv@kott.no-ip.biz>
- Set build docs for TW only as it requires sphixygen since now
- Refresh 001-serd-docdir.patch
- Update to 0.32.0
* Add Windows path separator support to serd_node_new_file_uri()
* Add long "help" and "version" options to serdi
* Add options to disable html or singlehtml documentation
* Add serd_reader_skip_until_byte() to public API
* Allow SERD_API to be defined by the user
* Avoid creating test files in the current directory
* Avoid using ASCII grave as a quote
* Check for POSIX features with the build system
* Clean up and improve test suite
* Clean up code
* Fix crash when trying to read chunks without starting
* Fix hang when skipping an error at EOF when lax parsing
* Fix incorrect parsing of strange quote escape patterns
* Fix possible hang when writing nested Turtle lists
* Fix potential memory leaks when a write is aborted
* Fix relative URI creation
* Gracefully handle bad characters in Turtle blank node syntax
* Gracefully handle bad characters in Turtle datatype syntax
* Improve TriG pretty-printing and remove trailing newlines
* Improve pretty-printing of lists and inline subjects
* Improve serdi man page
* Improve writer error handling
* Make URI writing stricter by default
* Make serd_reader_read_chunk() work with NQuads
* Override pkg-config dependency within meson
* Remove junk files from documentation install
* Remove support for writing Turtle named inline nodes extension
* Replace duplicated dox_to_sphinx script with sphinxygen dependency
* Test header for warnings more strictly
* Update standard test suites
-------------------------------------------------------------------
Mon Dec 26 12:54:01 UTC 2022 - Konstantin Voinov <kv@kott.no-ip.biz>

View File

@@ -1,7 +1,8 @@
#
# spec file for package serd
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +18,11 @@
%define sover 0
%if 0%{?suse_version} > 1600
%define with_docs 1
%endif
Name: serd
Version: 0.30.16
Version: 0.32.6
Release: 0
Summary: A lightweight C library for RDF syntax
License: ISC
@@ -27,12 +31,15 @@ URL: https://drobilla.net/software/serd.html
Source0: https://download.drobilla.net/serd-%{version}.tar.xz
Source1: baselibs.conf
Patch0: 001-serd-docdir.patch
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: graphviz
BuildRequires: meson
BuildRequires: pkgconfig
%if %{with docs}
BuildRequires: %{python_module sphinxygen}
BuildRequires: doxygen
BuildRequires: mandoc-bin
BuildRequires: python3-Sphinx
%endif
%description
A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples.
@@ -62,13 +69,16 @@ Obsoletes: libserd-0-devel < %{version}
Development files for libserd.
%prep
%setup -q
%autopatch -p0
%autosetup -p0
#Convert all file headers to python3
for i in `grep -rl "%{_bindir}/env python"`;do sed -i '1s/^#!.*/#!\/usr\/bin\/python3/' ${i} ;done
%build
%meson
%meson \
%if %{without docs}
-Ddocs=disabled \
-Dman_html=disabled
%endif
%meson_build
%install
@@ -76,10 +86,10 @@ for i in `grep -rl "%{_bindir}/env python"`;do sed -i '1s/^#!.*/#!\/usr\/bin\/py
%fdupes -s %{buildroot}%{_docdir}
%post -n libserd-0-%{sover} -p /sbin/ldconfig
%postun -n libserd-0-%{sover} -p /sbin/ldconfig
%ldconfig_scriptlets -n libserd-0-%{sover}
%files -n serdi
%license COPYING
%attr(0755,root,root) %{_bindir}/serdi
%{_mandir}/man1/serdi.1%{?ext_man}
@@ -89,7 +99,10 @@ for i in `grep -rl "%{_bindir}/env python"`;do sed -i '1s/^#!.*/#!\/usr\/bin\/py
%{_libdir}/libserd-0.so.%{sover}*
%files devel
%license COPYING
%if %{with docs}
%doc %{_docdir}/serd-0
%endif
%{_libdir}/libserd-0.so
%{_includedir}/serd-0/
%{_libdir}/pkgconfig/serd-0.pc