misc/biblesync 2.2.0 FreeBSD
Multicast shared co-navigation library for Bible programs
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
be4d9d3115- License
- PD
- Categories
- misc
- Package size
- 37.4 KiB, 82.2 KiB installed
Description
This is a C++ single class library encapsulating a protocol conduit. The premise is that there is a local network over which to multicast Bible navigation, and someone, possibly several someones, will transmit, and others will receive. The choices for when you decide to xmit and what to do when you recv are up to you as the application designer.
Access to the conduit is by creating the object, setting the mode, calling Transmit() to xmit nav events, and arranging the frequent polling of Receive() to recv nav events. There is more than just navigation to be handled; there are live/dead events for potential Speakers as well as mismatches, presence announcements, and errors. There is a programming reference biblesync.7 which explains the details, both from a high level view of the essentials of the protocol's behavior and at a low level of how you create, access, and use the conduit class. The (single) BibleSync object should persist throughout the life of your application, but at any time you can set the mode to "disable," and preferably stop the receive polling, and then re-enable it later as the user needs.
Much work has been done in integrating this library into its first application, Xiphos. It is useful to examine Xiphos' code to see where and how integration has been done. Get a Xiphos source tree using: git clone https://github.com/crosswire/xiphos
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | misc/biblesync | 2.2.0 |
| DragonFly | misc/biblesync | 2.1.0_1 |
Install
Binary package:
pkg install biblesync
From the ports tree:
cd /usr/ports/misc/biblesync/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= biblesync>0:misc/biblesync
LIB_DEPENDS= libbiblesync.so:misc/biblesync
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 | 2.2.0 | 2.2.0 | 2.1.0 | 2.1.0_2 | 2.2.0 |
| FreeBSD:14:quarterly | 2.2.0 | 2.2.0 | n/a | 2.1.0_2 | 2.2.0 |
| FreeBSD:15:latest | 2.2.0 | 2.2.0 | n/a | 2.1.0_2 | 2.1.0_2 |
| FreeBSD:15:quarterly | 2.2.0 | 2.2.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.2.0 | 2.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
libuuid.so: misc/libuuid
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 3
Required by 1
Configuration
No options to configure.
- USES
- cmake compiler:c++11-lang gettext-runtime
- Service scripts
- none
Message after installing
Files
Manual pages 1
- biblesync(7)
pkg-plist 6
- include/biblesync/biblesync-version.hh
- include/biblesync/biblesync.hh
- lib/libbiblesync.so
- lib/libbiblesync.so.2.2.0
- libdata/pkgconfig/biblesync.pc
- share/man/man7/biblesync.7.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| karlkleinpaste-biblesync-2.2.0_GH0.tar.gz | 88377 | 0574204e4ef529dfe0d71642f2876e61d21763299fd7293f318e9bf1fde8b76f |