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
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
misc/xiphos: fix build on GCC architectures
Use C11 compiler:
/usr/local/include/unicode/localpointer.h:224: error: expected ';' before
'noexcept'
Also required is bumping GCC for misc/biblesync because of libstdc++ ABI error.
MFH: 2020Q3 (fix build blanket)
misc/biblesync: Update to 2.1.0
Also add a patch to remove the need of USE_GCC=yes.
As a side effect USE_GCC is now unnecessary for misc/xiphos as well and
thus it is removed.
Approved by: gerald (mentor)
Differential Revision: https://reviews.freebsd.org/D24990
New port: misc/biblesync: Multicast shared co-navigation library for Bible
programs
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
(Only the first 15 lines of the commit message are shown above )