Broken: Fails to build with expat2 2.9.0, error.c:91:10: error: 'XML_GetCurrentLineNumber' is deprecated
textproc/scew 1.2.0 FreeBSD
Simple C Expat Wrapper
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
00c4de5378- License
- LGPL21
- Categories
- textproc
Description
The aim of SCEW is to provide an easy interface around the XML Expat parser, as well as a simple interface for creating new XML documents. It provides functions to load and access XML elements without the need to create Expat event handling routines every time you want to load a new XML document.
These are the main SCEW features:
- Uses a DOM-like object model for new or parsed XML documents.
- Supports loading concatenated XML documents.
- Can copy and compare full XML documents, elements or attributes.
- Writes XML documents to multiple outputs.
- Allows adding new I/O sources easily.
- UTF-8, ISO-8859-1 and US-ASCII encodings (and UTF-16 in Windows).
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/scew | 1.2.0 |
| NetBSD | textproc/scew | 0.3.1nb3 |
| DragonFly | textproc/scew | 1.2.0 |
Install
Binary package:
pkg install scew
From the ports tree:
cd /usr/ports/textproc/scew/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= scew>0:textproc/scew
LIB_DEPENDS= libscew.so:textproc/scew
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | - | 1.2.0 | 1.2.0 | - |
| FreeBSD:14:quarterly | 1.2.0 | 1.2.0 | n/a | 1.2.0 | 1.2.0 |
| FreeBSD:15:latest | - | - | n/a | 1.2.0 | 1.2.0 |
| FreeBSD:15:quarterly | 1.2.0 | 1.2.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.2.0 | - | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 1
libexpat.so: textproc/expat2
The full lists below include those, and their dependencies in turn.
Build dependencies 5
Run dependencies 1
No port depends on this one.
Configuration
Options name: textproc_scew
| Option | Default | Description |
|---|---|---|
| TEST | off | Build and/or run tests |
- USES
- gmake libtool localbase pkgconfig
- Service scripts
- none
Files
pkg-plist 25
- bin/scew_print
- bin/scew_stream
- bin/scew_write
- include/scew/attribute.h
- include/scew/bool.h
- include/scew/element.h
- include/scew/error.h
- include/scew/export.h
- include/scew/list.h
- include/scew/parser.h
- include/scew/printer.h
- include/scew/reader.h
- include/scew/reader_buffer.h
- include/scew/reader_file.h
- include/scew/scew.h
- include/scew/str.h
- include/scew/tree.h
- include/scew/writer.h
- include/scew/writer_buffer.h
- include/scew/writer_file.h
- lib/libscew.a
- lib/libscew.so
- lib/libscew.so.1
- lib/libscew.so.1.0.10
- libdata/pkgconfig/scew.pc
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| scew-1.2.0.tar.gz | 508324 | 16ca96e00424b3bd80f53ea64d1d7a294e4162fa890d0eb1c01e3c4f2b804ebd |
Master sites 1
- SAVANNAH