BSD Ports

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

SystemPortVersion
FreeBSDtextproc/scew1.2.0
NetBSDtextproc/scew0.3.1nb3
DragonFlytextproc/scew1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest--1.2.01.2.0-
FreeBSD:14:quarterly1.2.01.2.0n/a1.2.01.2.0
FreeBSD:15:latest--n/a1.2.01.2.0
FreeBSD:15:quarterly1.2.01.2.0n/an/an/a
FreeBSD:16:latest1.2.0-n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

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

OptionDefaultDescription
TESToffBuild 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
FileSizeSHA256
scew-1.2.0.tar.gz50832416ca96e00424b3bd80f53ea64d1d7a294e4162fa890d0eb1c01e3c4f2b804ebd
Master sites 1
  • SAVANNAH

Commit history 1

DateCommitCreditsLog message
00c4de5378 Daniel Engberg textproc/scew: Mark BROKEN
Fails to build with expat2 2.9.0 PR: 299160