pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import UniMRCP as wip/unimrcp



Module Name:	pkgsrc-wip
Committed By:	Angel M. Adames <angelmadames%gmail.com@localhost>
Pushed By:	angelmadames
Date:		Tue May 23 16:57:28 2017 -0400
Changeset:	adb06f2d7414a21253ff6ed756dc69089be24cc9

Modified Files:
	unimrcp-sofiasip/buildlink3.mk
Added Files:
	unimrcp/DESCR
	unimrcp/Makefile
	unimrcp/PLIST
	unimrcp/TODO
	unimrcp/buildlink3.mk
	unimrcp/distinfo
	unimrcp/files/patch-configure

Log Message:
Import UniMRCP as wip/unimrcp

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=adb06f2d7414a21253ff6ed756dc69089be24cc9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 unimrcp-sofiasip/buildlink3.mk |   4 +-
 unimrcp/DESCR                  |   2 +
 unimrcp/Makefile               |  38 +++++++++
 unimrcp/PLIST                  | 178 +++++++++++++++++++++++++++++++++++++++++
 unimrcp/TODO                   |   6 ++
 unimrcp/buildlink3.mk          |  17 ++++
 unimrcp/distinfo               |  10 +++
 unimrcp/files/patch-configure  |  13 +++
 8 files changed, 266 insertions(+), 2 deletions(-)

diffs:
diff --git a/unimrcp-sofiasip/buildlink3.mk b/unimrcp-sofiasip/buildlink3.mk
index 92ffb78cbe..11ec79c094 100644
--- a/unimrcp-sofiasip/buildlink3.mk
+++ b/unimrcp-sofiasip/buildlink3.mk
@@ -5,8 +5,8 @@ BUILDLINK_TREE+=	sofia-sip-1.12.11-204
 .if !defined(SOFIA_SIP_1.12.11_204_BUILDLINK3_MK)
 SOFIA_SIP_1.12.11_204_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.sofia-sip-1.12.11-204+=	sofia-sip>=1.12.11
-BUILDLINK_ABI_DEPENDS.sofia-sip-1.12.11-204?=	sofia-sip>=1.12.11
+BUILDLINK_API_DEPENDS.sofia-sip-1.12.11-204+=	sofia-sip-1.12.11-204>=g6ff5f3f
+BUILDLINK_ABI_DEPENDS.sofia-sip-1.12.11-204+=	sofia-sip-1.12.11-204>=g6ff5f3f
 BUILDLINK_PKGSRCDIR.sofia-sip-1.12.11-204?=	../../wip/unimrcp-sofiasip
 
 .include "../../security/openssl/buildlink3.mk"
diff --git a/unimrcp/DESCR b/unimrcp/DESCR
new file mode 100644
index 0000000000..11889734af
--- /dev/null
+++ b/unimrcp/DESCR
@@ -0,0 +1,2 @@
+UniMRCP is an open source project compliant with the
+IETF RFC6787 (MRCPv2) and RFC4463 (MRCPv1) specifications.
diff --git a/unimrcp/Makefile b/unimrcp/Makefile
new file mode 100644
index 0000000000..49e2f2b046
--- /dev/null
+++ b/unimrcp/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD$
+
+DISTNAME=	unimrcp-1.4.0
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=unispeech/}
+EXTRACT_SUFX=	.zip
+GITHUB_TAG=	unimrcp-${PKGVERSION_NOREV}
+
+MAINTAINER=	angelmadames%gmail.com@localhost
+HOMEPAGE=	https://github.com/unispeech/unimrcp/
+COMMENT=	Open-souce cross-platform implementation of MRCP[v1-2]
+LICENSE=	apache-2.0
+
+HAS_CONFIGURE=		yes
+USE_LIBTOOL=		yes
+USE_LANGUAGES=		c c++
+USE_TOOLS+=		aclocal autoconf automake patch
+
+CONFIGURE_ARGS+=	--prefix=${PREFIX}/unimrcp
+CONFIGURE_ARGS+=	--with-apr=${PREFIX}/unimrcp/apr
+CONFIGURE_ARGS+=	--with-apr-util=${PREFIX}/unimrcp/apr
+CONFIGURE_ARGS+=	--with-sofia-sip=${PREFIX}/unimrcp/sofia-sip
+
+#LDFLAGS+=	${COMPILER_RPATH_FLAG}${PREFIX}/apr/lib -L${PREFIX}/apr/lib
+#CPPFLAGS+=	-I${PREFIX}/apr/include/apr-1 -I${PREFIX}/include/
+
+INSTALLATION_DIRS+=	unimrcp/include
+INSTALLATION_DIRS+=	unimrcp/lib
+
+pre-configure:
+	set -x; cd ${WRKSRC}; autoreconf -fiv; aclocal -I build/acmacros; ${RM} -rf autom4te.cache
+	${PATCH} ${WRKSRC}/configure ${BUILD_DIR}/files/patch-configure
+
+.include "../../wip/unimrcp-sofiasip/buildlink3.mk"
+.include "../../wip/unimrcp-apr/buildlink3.mk"
+.include "../../wip/unimrcp-aprutil/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
+.include "../../mk/bsd.prefs.mk"
diff --git a/unimrcp/PLIST b/unimrcp/PLIST
new file mode 100644
index 0000000000..2c69427af8
--- /dev/null
+++ b/unimrcp/PLIST
@@ -0,0 +1,178 @@
+@comment $NetBSD$
+unimrcp/bin/asrclient
+unimrcp/bin/umc
+unimrcp/bin/unimrcpclient
+unimrcp/bin/unimrcpserver
+unimrcp/conf/client-profiles/lumenvox.xml
+unimrcp/conf/client-profiles/nuance.xml
+unimrcp/conf/client-profiles/speechpro.xml
+unimrcp/conf/client-profiles/unimrcp.xml
+unimrcp/conf/dirlayout.xml
+unimrcp/conf/logger.xml
+unimrcp/conf/umcscenarios.xml
+unimrcp/conf/unimrcpclient.xml
+unimrcp/conf/unimrcpclient.xsd
+unimrcp/conf/unimrcpserver.xml
+unimrcp/conf/unimrcpserver.xsd
+unimrcp/data/demo-16kHz.pcm
+unimrcp/data/demo-8kHz.pcm
+unimrcp/data/grammar.jsgf
+unimrcp/data/grammar.mixed
+unimrcp/data/grammar.srgs
+unimrcp/data/grammar.xml
+unimrcp/data/johnsmith-16kHz.pcm
+unimrcp/data/johnsmith-8kHz.pcm
+unimrcp/data/one-16kHz.pcm
+unimrcp/data/one-8kHz.pcm
+unimrcp/data/result-verification.xml
+unimrcp/data/result.xml
+unimrcp/data/speak.txt
+unimrcp/data/speak.xml
+unimrcp/include/apt.h
+unimrcp/include/apt_consumer_task.h
+unimrcp/include/apt_cyclic_queue.h
+unimrcp/include/apt_dir_layout.h
+unimrcp/include/apt_header_field.h
+unimrcp/include/apt_log.h
+unimrcp/include/apt_multipart_content.h
+unimrcp/include/apt_net.h
+unimrcp/include/apt_nlsml_doc.h
+unimrcp/include/apt_obj_list.h
+unimrcp/include/apt_pair.h
+unimrcp/include/apt_poller_task.h
+unimrcp/include/apt_pollset.h
+unimrcp/include/apt_pool.h
+unimrcp/include/apt_string.h
+unimrcp/include/apt_string_table.h
+unimrcp/include/apt_task.h
+unimrcp/include/apt_task_msg.h
+unimrcp/include/apt_test_suite.h
+unimrcp/include/apt_text_message.h
+unimrcp/include/apt_text_stream.h
+unimrcp/include/apt_timer_queue.h
+unimrcp/include/asr_engine.h
+unimrcp/include/g711.h
+unimrcp/include/mpf.h
+unimrcp/include/mpf_activity_detector.h
+unimrcp/include/mpf_audio_file_descriptor.h
+unimrcp/include/mpf_audio_file_stream.h
+unimrcp/include/mpf_bridge.h
+unimrcp/include/mpf_buffer.h
+unimrcp/include/mpf_codec.h
+unimrcp/include/mpf_codec_descriptor.h
+unimrcp/include/mpf_codec_manager.h
+unimrcp/include/mpf_context.h
+unimrcp/include/mpf_decoder.h
+unimrcp/include/mpf_dtmf_detector.h
+unimrcp/include/mpf_dtmf_generator.h
+unimrcp/include/mpf_encoder.h
+unimrcp/include/mpf_engine.h
+unimrcp/include/mpf_engine_factory.h
+unimrcp/include/mpf_file_termination_factory.h
+unimrcp/include/mpf_frame.h
+unimrcp/include/mpf_frame_buffer.h
+unimrcp/include/mpf_jitter_buffer.h
+unimrcp/include/mpf_message.h
+unimrcp/include/mpf_mixer.h
+unimrcp/include/mpf_multiplier.h
+unimrcp/include/mpf_named_event.h
+unimrcp/include/mpf_object.h
+unimrcp/include/mpf_resampler.h
+unimrcp/include/mpf_rtcp_packet.h
+unimrcp/include/mpf_rtp_attribs.h
+unimrcp/include/mpf_rtp_defs.h
+unimrcp/include/mpf_rtp_descriptor.h
+unimrcp/include/mpf_rtp_header.h
+unimrcp/include/mpf_rtp_pt.h
+unimrcp/include/mpf_rtp_stat.h
+unimrcp/include/mpf_rtp_stream.h
+unimrcp/include/mpf_rtp_termination_factory.h
+unimrcp/include/mpf_scheduler.h
+unimrcp/include/mpf_stream.h
+unimrcp/include/mpf_stream_descriptor.h
+unimrcp/include/mpf_termination.h
+unimrcp/include/mpf_termination_factory.h
+unimrcp/include/mpf_types.h
+unimrcp/include/mrcp.h
+unimrcp/include/mrcp_application.h
+unimrcp/include/mrcp_ca_factory.h
+unimrcp/include/mrcp_client.h
+unimrcp/include/mrcp_client_connection.h
+unimrcp/include/mrcp_client_session.h
+unimrcp/include/mrcp_client_types.h
+unimrcp/include/mrcp_connection.h
+unimrcp/include/mrcp_connection_types.h
+unimrcp/include/mrcp_control_descriptor.h
+unimrcp/include/mrcp_engine_factory.h
+unimrcp/include/mrcp_engine_iface.h
+unimrcp/include/mrcp_engine_impl.h
+unimrcp/include/mrcp_engine_loader.h
+unimrcp/include/mrcp_engine_plugin.h
+unimrcp/include/mrcp_engine_types.h
+unimrcp/include/mrcp_generic_header.h
+unimrcp/include/mrcp_header.h
+unimrcp/include/mrcp_header_accessor.h
+unimrcp/include/mrcp_message.h
+unimrcp/include/mrcp_recog_engine.h
+unimrcp/include/mrcp_recog_header.h
+unimrcp/include/mrcp_recog_resource.h
+unimrcp/include/mrcp_recog_state_machine.h
+unimrcp/include/mrcp_recorder_engine.h
+unimrcp/include/mrcp_recorder_header.h
+unimrcp/include/mrcp_recorder_resource.h
+unimrcp/include/mrcp_recorder_state_machine.h
+unimrcp/include/mrcp_resource.h
+unimrcp/include/mrcp_resource_engine.h
+unimrcp/include/mrcp_resource_factory.h
+unimrcp/include/mrcp_resource_loader.h
+unimrcp/include/mrcp_sdp.h
+unimrcp/include/mrcp_server.h
+unimrcp/include/mrcp_server_connection.h
+unimrcp/include/mrcp_server_session.h
+unimrcp/include/mrcp_server_types.h
+unimrcp/include/mrcp_session.h
+unimrcp/include/mrcp_session_descriptor.h
+unimrcp/include/mrcp_sig_agent.h
+unimrcp/include/mrcp_sig_types.h
+unimrcp/include/mrcp_sofiasip_client_agent.h
+unimrcp/include/mrcp_sofiasip_logger.h
+unimrcp/include/mrcp_sofiasip_server_agent.h
+unimrcp/include/mrcp_start_line.h
+unimrcp/include/mrcp_state_machine.h
+unimrcp/include/mrcp_stream.h
+unimrcp/include/mrcp_synth_engine.h
+unimrcp/include/mrcp_synth_header.h
+unimrcp/include/mrcp_synth_resource.h
+unimrcp/include/mrcp_synth_state_machine.h
+unimrcp/include/mrcp_types.h
+unimrcp/include/mrcp_unirtsp_client_agent.h
+unimrcp/include/mrcp_unirtsp_logger.h
+unimrcp/include/mrcp_unirtsp_sdp.h
+unimrcp/include/mrcp_unirtsp_server_agent.h
+unimrcp/include/mrcp_verifier_engine.h
+unimrcp/include/mrcp_verifier_header.h
+unimrcp/include/mrcp_verifier_resource.h
+unimrcp/include/mrcp_verifier_state_machine.h
+unimrcp/include/rtsp.h
+unimrcp/include/rtsp_client.h
+unimrcp/include/rtsp_header.h
+unimrcp/include/rtsp_message.h
+unimrcp/include/rtsp_server.h
+unimrcp/include/rtsp_start_line.h
+unimrcp/include/rtsp_stream.h
+unimrcp/include/uni_revision.h
+unimrcp/include/uni_version.h
+unimrcp/include/unimrcp_client.h
+unimrcp/include/unimrcp_server.h
+unimrcp/lib/libasrclient.la
+unimrcp/lib/libunimrcpclient.la
+unimrcp/lib/libunimrcpserver.la
+unimrcp/lib/pkgconfig/unimrcpclient.pc
+unimrcp/lib/pkgconfig/unimrcpplugin.pc
+unimrcp/lib/pkgconfig/unimrcpserver.pc
+unimrcp/plugin/demorecog.la
+unimrcp/plugin/demosynth.la
+unimrcp/plugin/demoverifier.la
+unimrcp/plugin/mrcprecorder.la
+@pkgdir unimrcp/var
+@pkgdir unimrcp/log
diff --git a/unimrcp/TODO b/unimrcp/TODO
new file mode 100644
index 0000000000..0125413cbb
--- /dev/null
+++ b/unimrcp/TODO
@@ -0,0 +1,6 @@
+* There are libtool errors in the install stage:
+	libtool: warning: 'path/to/file.la' has not been installed in 'path/to/install'
+* This package has been only tested in FreeBSD 11.
+* This package depends on some pre-installed patched dependencies that were previously
+  imported to pkgsrc-wip as: unimrcp-{apr|aprutil|sofiasip}. Thus, these dependencies
+  as well as this package, may need further review and optimization. 
diff --git a/unimrcp/buildlink3.mk b/unimrcp/buildlink3.mk
new file mode 100644
index 0000000000..f56a3672ac
--- /dev/null
+++ b/unimrcp/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	unimrcp
+
+.if !defined(UNIMRCP_BUILDLINK3_MK)
+UNIMRCP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.unimrcp+=	unimrcp>=1.4.0
+BUILDLINK_ABI_DEPENDS.unimrcp+=	unimrcp>=1.4.0
+BUILDLINK_PKGSRCDIR.unimrcp?=	../../wip/unimrcp
+
+#.include "../../wip/unimrcp-sofiasip/buildlink3.mk"
+#.include "../../wip/unimrcp-apr/buildlink3.mk"
+#.include "../../wip/unimrcp-aprutil/buildlink3.mk"
+.endif	# UNIMRCP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-unimrcp
diff --git a/unimrcp/distinfo b/unimrcp/distinfo
new file mode 100644
index 0000000000..acfe9b68f2
--- /dev/null
+++ b/unimrcp/distinfo
@@ -0,0 +1,10 @@
+$NetBSD$
+
+SHA1 (download) = 7450d83f16d55de3e0f725585c36744c7bb822fd
+RMD160 (download) = 89363e435ee55e5ac414ff517df35138b7d9c16c
+SHA512 (download) = 11a9e0a09a5be5c6d816fd88608eeec2513c807edfe0a2d17c776e88f271baae2911e1b8c13f39cbd0cd256127ae6600534024a9da72a5788db6ef33d86f9465
+Size (download) = 2857176 bytes
+SHA1 (unimrcp-1.4.0.zip) = e3b531a8e7b58293d829988a4270eac8f426c5d9
+RMD160 (unimrcp-1.4.0.zip) = 41e9ccf7667cb76ab48d05d36c162ab725cc7c99
+SHA512 (unimrcp-1.4.0.zip) = 10615b4eb3944cb6113128f08561132f5cdfe62eb9d82a8c14b3e2358670c6bb4731fa1c0249cdffabb4a989557e0651282fb13d9d9e8686a031ce69fa5fcbba
+Size (unimrcp-1.4.0.zip) = 1022095 bytes
diff --git a/unimrcp/files/patch-configure b/unimrcp/files/patch-configure
new file mode 100644
index 0000000000..7c1388ff75
--- /dev/null
+++ b/unimrcp/files/patch-configure
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- configure.orig	2017-05-09 16:19:32.742834000 +0000
++++ configure
+@@ -18340,7 +18340,7 @@ fi
+ 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: enable inter-library dependencies: $enable_interlib_deps" >&5
+ $as_echo "$as_me: enable inter-library dependencies: $enable_interlib_deps" >&6;}
+-if test "${enable_interlib_deps}" == "yes"; then
++if test "${enable_interlib_deps}" = "yes"; then
+     link_all_deplibs=yes
+     link_all_deplibs_CXX=yes
+ else


Home | Main Index | Thread Index | Old Index