BSD Ports

converters/xml2c 20151019_1 MidnightBSD

Convert an XML file into C struct/string declarations

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
a05b377b53
License
bsd2
Categories
converters

Description

xml2c reads in an XML file and produces equivalent C source code, suitable for #including in your program. The C version is probably easier deal with in your code. You don't have to read and parse the XML file and then look for the nodes you want; instead you just loop through a bunch of structs. Or maybe you just don't want to distribute extra files with your app, and would rather build them into the executable.

In the other systems

SystemPortVersion
MidnightBSDconverters/xml2c20151019_1
FreeBSDconverters/xml2c20151019_3
DragonFlyconverters/xml2c20151019_2
HardenedBSDconverters/xml2c20151019_3
GhostBSDconverters/xml2c20151019_3

Install

Binary package:

mport install xml2c

From mports:

cd /usr/mports/converters/xml2c && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	xml2c>0:converters/xml2c

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
gnome
Service scripts
none

Files

distinfo 1
FileSizeSHA256
xml2c_19Oct2015.tar.gz671629129966413119e1a070ac3495368e992eb2f99dda6be9143fd96265a6ac183d
Master sites 1
  • https://acme.com/software/xml2c/

Commit history 1

DateCommitCreditsLog message
a05b377b53 Lucas Holt *: bump PORTREVISION for the textproc/libxml2 2.15 shared library change (#848)
`textproc/libxml2` 2.15 changed SONAME from `libxml2.so.2` to `libxml2.so.16` **and** removed ELF symbol versioning entirely — the new library defines no `LIBXML2_*` versions at all. Consumers built against the old library were never rebuilt, so they still record a dependency on `libxml2.so.2` plus version requirements nothing can satisfy, and fail at load time: ``` ld-elf.so.1: /usr/local/lib/libxml2.so.2: version LIBXML2_2.4.30 required by /usr/local/lib/libevdocument3.so.4 not defined ``` ### Scope `Tools/scripts/bump_revision.pl -f -l textproc/libxml2` — **436 Makefiles**: 323 revisions incremented, 113 gained a `PORTREVISION` line. The diff touches nothing but `PORTREVISION` lines (verified: `git diff -U0` shows no other changed line), and spot-checked ports still …