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
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/libxdiff | 0.23_2 |
| DragonFly | textproc/libxdiff | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.23_2 | 0.23_2 | 0.23_1 | 0.23_2 | 0.23_2 |
| FreeBSD:14:quarterly | 0.23_2 | 0.23_2 | n/a | 0.23_2 | 0.23_2 |
| FreeBSD:15:latest | 0.23_2 | 0.23_2 | n/a | 0.23_2 | 0.23_2 |
| FreeBSD:15:quarterly | 0.23_2 | 0.23_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.23_2 | 0.23_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
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
| File | Size | SHA256 |
|---|---|---|
| libxdiff-0.23.tar.gz | 412088 | e9af96174e83c02b13d452a4827bdf47cb579eafd580953a8cd2c98900309124 |
Master sites 1
- http://www.xmailserver.org/
Commit history 0
No commits in the history this site was built from.