svn commit: r526881 - in head/misc: . biblesync
Tobias C. Berner
tcberner at FreeBSD.org
Sun Feb 23 07:21:52 UTC 2020
Author: tcberner
Date: Sun Feb 23 07:21:50 2020
New Revision: 526881
URL: https://svnweb.freebsd.org/changeset/ports/526881
Log:
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
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
WWW: https://github.com/karlkleinpaste/biblesync
PR: 243916
Submitted by: salvadore
Added:
head/misc/biblesync/
head/misc/biblesync/Makefile (contents, props changed)
head/misc/biblesync/distinfo (contents, props changed)
head/misc/biblesync/pkg-descr (contents, props changed)
head/misc/biblesync/pkg-plist (contents, props changed)
Modified:
head/misc/Makefile
Modified: head/misc/Makefile
==============================================================================
--- head/misc/Makefile Sun Feb 23 07:18:01 2020 (r526880)
+++ head/misc/Makefile Sun Feb 23 07:21:50 2020 (r526881)
@@ -25,6 +25,7 @@
SUBDIR += bible-kjv
SUBDIR += bibletime
SUBDIR += biblical-curse
+ SUBDIR += biblesync
SUBDIR += binclock
SUBDIR += biosfont-demos
SUBDIR += birthday
Added: head/misc/biblesync/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/biblesync/Makefile Sun Feb 23 07:21:50 2020 (r526881)
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME= biblesync
+DISTVERSION= 2.0.1
+CATEGORIES= misc
+
+MAINTAINER= salvadore at FreeBSD.org
+COMMENT= Multicast shared co-navigation library for Bible programs
+
+LICENSE= PD
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid
+
+USES= cmake gettext-runtime
+
+USE_GCC= yes
+
+USE_GITHUB= yes
+GH_ACCOUNT= karlkleinpaste
+
+USE_LDCONFIG= yes
+
+CMAKE_ON= BUILD_SHARED_LIBS
+
+post-patch:
+ ${REINPLACE_CMD} s,/bibleysnc,, ${WRKSRC}/biblesync.pc.in
+
+post-install:
+ ${INSTALL_MAN} ${STAGEDIR}${PREFIX}/share/man/man7/biblesync.7 ${STAGEDIR}${MAN7PREFIX}/man/man7
+ ${RM} -R ${STAGEDIR}${PREFIX}/share/man
+
+.include <bsd.port.mk>
Added: head/misc/biblesync/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/biblesync/distinfo Sun Feb 23 07:21:50 2020 (r526881)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1580898650
+SHA256 (karlkleinpaste-biblesync-2.0.1_GH0.tar.gz) = 953eed0b0ee7e4f8c6c34f7871babed26f03049e4dad5fc222fe3a65811a4d16
+SIZE (karlkleinpaste-biblesync-2.0.1_GH0.tar.gz) = 89139
Added: head/misc/biblesync/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/biblesync/pkg-descr Sun Feb 23 07:21:50 2020 (r526881)
@@ -0,0 +1,24 @@
+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
+
+WWW: https://github.com/karlkleinpaste/biblesync
Added: head/misc/biblesync/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/biblesync/pkg-plist Sun Feb 23 07:21:50 2020 (r526881)
@@ -0,0 +1,6 @@
+include/biblesync/biblesync-version.hh
+include/biblesync/biblesync.hh
+lib/libbiblesync.so
+lib/libbiblesync.so.2.0.1
+libdata/pkgconfig/biblesync.pc
+man/man7/biblesync.7.gz
More information about the svn-ports-all
mailing list