BSD Ports

textproc/libxdiff 0.23_2 FreeBSD

Create file differences/patches to both binary and text files

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
LGPL3
Categories
textproc
Package size
40.0 KiB, 118.2 KiB installed

Description

The LibXDiff library implements basic and yet complete functionalities to create file differences/patches to both binary and text files. The library uses memory files as file abstraction to achieve both performance and portability. For binary files, LibXDiff implements (with some modification) the algorithm described in File System Support for Delta Compression by Joshua P. MacDonald, while for text files it follows directives described in An O(ND) Difference Algorithm and Its Variations by Eugene W. Myers. Memory files used by the library are basically a collection of buffers that store the file content. There are two different requirements for memory files when passed to diff/patch functions. Text files for diff/patch functions require that a single line do not have to spawn across two different memory file blocks. Binary diff/patch functions require memory files to be compact. A compact memory files is a file whose content is stored inside a single block.

In the other systems

SystemPortVersion
FreeBSDtextproc/libxdiff0.23_2
DragonFlytextproc/libxdiff0.23_2

Install

Binary package:

pkg install libxdiff

From the ports tree:

cd /usr/ports/textproc/libxdiff/ && make install clean

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

RUN_DEPENDS=	libxdiff>0:textproc/libxdiff
LIB_DEPENDS=	libxdiff.so:textproc/libxdiff

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:latest0.23_20.23_20.23_10.23_20.23_2
FreeBSD:14:quarterly0.23_20.23_2n/a0.23_20.23_2
FreeBSD:15:latest0.23_20.23_2n/a0.23_20.23_2
FreeBSD:15:quarterly0.23_20.23_2n/an/an/a
FreeBSD:16:latest0.23_20.23_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Required by 1

Configuration

No options to configure.

USES
libtool
Service scripts
none

Message after installing

===>   NOTICE:

The libxdiff port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

Manual pages 1
  • xdiff(3)
pkg-plist 6
  • include/xdiff.h
  • lib/libxdiff.a
  • lib/libxdiff.so
  • lib/libxdiff.so.0
  • lib/libxdiff.so.0.0.0
  • share/man/man3/xdiff.3.gz
distinfo 1
FileSizeSHA256
libxdiff-0.23.tar.gz412088e9af96174e83c02b13d452a4827bdf47cb579eafd580953a8cd2c98900309124
Master sites 1
  • http://www.xmailserver.org/

Commit history 0

No commits in the history this site was built from.