[Pkg-voip-commits] [linphone] 11/16: debian/patches/fix-spelling-errors.patch: fix more spelling mistakes

Johannes Schauer josch-guest at moszumanska.debian.org
Tue Apr 25 03:59:10 UTC 2017


This is an automated email from the git hooks/post-receive script.

josch-guest pushed a commit to branch master
in repository linphone.

commit 0ec32385e38dbc4e9b1915f1556051eb34162e7b
Author: Johannes 'josch' Schauer <josch at mister-muffin.de>
Date:   Mon Apr 24 21:45:40 2017 +0200

    debian/patches/fix-spelling-errors.patch: fix more spelling mistakes
---
 debian/patches/fix-spelling-errors.patch | 346 ++++++++++++++++++++++++++++++-
 1 file changed, 342 insertions(+), 4 deletions(-)

diff --git a/debian/patches/fix-spelling-errors.patch b/debian/patches/fix-spelling-errors.patch
index 93fa7f7..68eb16f 100644
--- a/debian/patches/fix-spelling-errors.patch
+++ b/debian/patches/fix-spelling-errors.patch
@@ -6,7 +6,34 @@ Last-Update: 2015-05-22
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 --- a/coreapi/linphonecore.c
 +++ b/coreapi/linphonecore.c
-@@ -2987,7 +2987,7 @@ int linphone_core_start_invite(LinphoneC
+@@ -1970,7 +1970,7 @@ static void linphone_core_init(LinphoneC
+ 	linphone_core_register_default_codecs(lc);
+ 	linphone_core_register_offer_answer_providers(lc);
+ 	/* Get the mediastreamer2 event queue */
+-	/* This allows to run event's callback in linphone_core_iterate() */
++	/* This allows one to run event's callback in linphone_core_iterate() */
+ 	lc->msevq=ms_factory_create_event_queue(lc->factory);
+ 
+ 	lc->sal=sal_init(lc->factory);
+@@ -2929,7 +2929,7 @@ LinphoneCall * linphone_core_start_refer
+ 		cp->has_video = call->current_params->has_video; /*start the call to refer-target with video enabled if original call had video*/
+ 	}
+ 	cp->referer=call;
+-	ms_message("Starting new call to refered address %s",call->refer_to);
++	ms_message("Starting new call to referred address %s",call->refer_to);
+ 	call->refer_pending=FALSE;
+ 	newcall=linphone_core_invite_with_params(lc,call->refer_to,cp);
+ 	linphone_call_params_unref(cp);
+@@ -2993,7 +2993,7 @@ LinphoneProxyConfig * linphone_core_look
+ 	LinphoneProxyConfig *default_cfg=lc->default_proxy;
+ 
+ 	if (linphone_address_get_domain(uri) == NULL) {
+-		ms_message("cannot seach for proxy for uri [%p] if no domain set. returning default",uri);
++		ms_message("cannot search for proxy for uri [%p] if no domain set. returning default",uri);
+ 		return default_cfg;
+ 	}
+ 	/*return default proxy if it is matching the destination uri*/
+@@ -3092,7 +3092,7 @@ int linphone_core_start_invite(LinphoneC
  
  	if (lc->ringstream==NULL) {
  		if (lc->sound_conf.play_sndcard && lc->sound_conf.capt_sndcard){
@@ -15,7 +42,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
  			if (call->localdesc->streams[0].max_rate>0) {
  				ms_snd_card_set_preferred_sample_rate(lc->sound_conf.play_sndcard, call->localdesc->streams[0].max_rate);
  			}
-@@ -3806,9 +3806,9 @@ int linphone_core_accept_call_with_param
+@@ -3781,9 +3781,9 @@ int linphone_core_accept_call_with_param
  		sal_op_set_sent_custom_header(call->op,params->custom_headers);
  	}
  
@@ -29,7 +56,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
  		if (lc->sound_conf.capt_sndcard)
 --- a/coreapi/sal.c
 +++ b/coreapi/sal.c
-@@ -666,7 +666,7 @@ const char* sal_reason_to_string(const S
+@@ -825,7 +825,7 @@ const char* sal_reason_to_string(const S
  	case SalReasonUnknown: return "SalReasonUnknown";
  	case SalReasonServiceUnavailable: return "SalReasonServiceUnavailable";
  	case SalReasonNotAcceptable: return "SalReasonNotAcceptable";
@@ -40,7 +67,7 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
  const SalAddress* sal_op_get_service_route(const SalOp *op) {
 --- a/console/linphonec.c
 +++ b/console/linphonec.c
-@@ -286,7 +286,7 @@ linphonec_transfer_state_changed(Linphon
+@@ -278,7 +278,7 @@ linphonec_transfer_state_changed(Linphon
  {
  	char *remote=linphone_call_get_remote_address_as_string(call);
  	if (new_call_state==LinphoneCallConnected){
@@ -49,3 +76,314 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
  		              remote,(long)linphone_call_get_user_pointer (call));
  	}
  	ms_free(remote);
+--- a/coreapi/bellesip_sal/sal_impl.c
++++ b/coreapi/bellesip_sal/sal_impl.c
+@@ -853,7 +853,7 @@ const char *sal_get_root_ca(Sal* ctx) {
+ }
+ 
+ int sal_reset_transports(Sal *ctx){
+-	ms_message("Reseting transports");
++	ms_message("Resetting transports");
+ 	belle_sip_provider_clean_channels(ctx->prov);
+ 	return 0;
+ }
+--- a/coreapi/callbacks.c
++++ b/coreapi/callbacks.c
+@@ -669,7 +669,7 @@ static void call_updated_by_remote(Linph
+ 		}
+ 	}else{
+ 		if (call->state == LinphoneCallUpdatedByRemote){
+-			ms_message("LinphoneCall [%p]: UpdatedByRemoted was signaled but defered. LinphoneCore expects the application to call "
++			ms_message("LinphoneCall [%p]: UpdatedByRemoted was signaled but deferred. LinphoneCore expects the application to call "
+ 				"linphone_core_accept_call_update() later.", call);
+ 		}
+ 	}
+--- a/coreapi/friendlist.c
++++ b/coreapi/friendlist.c
+@@ -828,7 +828,7 @@ void linphone_friend_list_update_subscri
+ 					list->event = NULL;
+ 					ms_message("Friends list [%p] subscription terminated because proxy config lost connection", list);
+ 				}else{
+-					ms_message("Friends list [%p] subscription update skipped since dependant proxy config is not yet registered", list);
++					ms_message("Friends list [%p] subscription update skipped since dependent proxy config is not yet registered", list);
+ 				}
+ 			}
+ 		} else {
+@@ -922,7 +922,7 @@ void linphone_friend_list_subscription_s
+ 				   , list);
+ 
+ 		if (state == LinphoneSubscriptionOutgoingProgress && linphone_event_get_reason(lev) == LinphoneReasonNoMatch) {
+-			ms_message("Reseting version count for friend list [%p]",list);
++			ms_message("Resetting version count for friend list [%p]",list);
+ 			list->expected_notification_version = 0;
+ 		}
+ 	}
+--- a/coreapi/help/doxygen.dox
++++ b/coreapi/help/doxygen.dox
+@@ -203,7 +203,7 @@ void text_received(LinphoneCore *lc, Lin
+ 
+ /**
+  * @defgroup conferencing Making an audio conference.
+- * This API allows to create a conference entirely managed by the client. No server capabilities are required.
++ * This API allows one to create a conference entirely managed by the client. No server capabilities are required.
+  * The way such conference is created is by doing the following:<br>
+  * The application shall makes "normal" calls to several destinations (using linphone_core_invite() ), one after another.
+  * While initiating the second call, the first one is automatically paused.
+--- a/coreapi/lime.c
++++ b/coreapi/lime.c
+@@ -1104,6 +1104,6 @@ char *lime_error_code_to_string(int erro
+ 		case LIME_INVALID_ENCRYPTED_MESSAGE: return "Invalid encrypted message";
+ 		case LIME_NOT_ENABLED: return "Lime not enabled at build";
+ 	}
+-	return "Unknow error";
++	return "Unknown error";
+ 
+ }
+--- a/gtk/config-uri.ui
++++ b/gtk/config-uri.ui
+@@ -59,7 +59,7 @@
+           <object class="GtkLabel" id="label1">
+             <property name="visible">True</property>
+             <property name="can_focus">False</property>
+-            <property name="label" translatable="yes">This dialog allows to set an http or https address when configuration is to be fetched at startup.
++            <property name="label" translatable="yes">This dialog allows one to set an http or https address when configuration is to be fetched at startup.
+ Please enter or modify the configuration URI below. After clicking OK, Linphone will restart automatically in order to fetch and take into account the new configuration. </property>
+             <property name="wrap">True</property>
+             <property name="width_chars">80</property>
+--- a/gtk/main.c
++++ b/gtk/main.c
+@@ -137,7 +137,7 @@ static GOptionEntry linphone_options[]={
+ 	LINPHONE_OPTION("no-video",            '\0', G_OPTION_ARG_NONE,     (gpointer)&no_video,             N_("Start linphone with video disabled.")),
+ 	LINPHONE_OPTION("iconified",           '\0', G_OPTION_ARG_NONE,     (gpointer)&iconified,            N_("Start only in the system tray, do not show the main interface.")),
+ 	LINPHONE_OPTION("call",                'c',  G_OPTION_ARG_STRING,   &addr_to_call,                   N_("address to call right now")),
+-	LINPHONE_OPTION("workdir",             '\0', G_OPTION_ARG_STRING,   (gpointer) & workingdir,         N_("Specifiy a working directory (should be the base of the installation, eg: c:\\Program Files\\Linphone)")),
++	LINPHONE_OPTION("workdir",             '\0', G_OPTION_ARG_STRING,   (gpointer) & workingdir,         N_("Specify a working directory (should be the base of the installation, eg: c:\\Program Files\\Linphone)")),
+ 	LINPHONE_OPTION("config",              '\0', G_OPTION_ARG_FILENAME, (gpointer) &custom_config_file,  N_("Configuration file")),
+ 	LINPHONE_OPTION("run-audio-assistant", '\0', G_OPTION_ARG_NONE,     (gpointer) &run_audio_assistant, N_("Run the audio assistant")),
+ 	LINPHONE_OPTION("selftest",            '\0', G_OPTION_ARG_NONE,     (gpointer) &selftest,            N_("Run self test and exit 0 if succeed")),
+--- a/gtk/propertybox.c
++++ b/gtk/propertybox.c
+@@ -1181,7 +1181,7 @@ static LangCodes supported_langs[]={
+ 	{	"sv"	,	N_("Swedish")	},
+ 	{	"it"	,	N_("Italian")	},
+ 	{	"es"	,	N_("Spanish")	},
+-	{	"pt_BR"	,	N_("Brazilian Portugese")	},
++	{	"pt_BR"	,	N_("Brazilian Portuguese")	},
+ 	{	"pl"	,	N_("Polish")	},
+ 	{	"de"	,	N_("German")	},
+ 	{	"ru"	,	N_("Russian")	},
+--- a/gtk/status_icon.c
++++ b/gtk/status_icon.c
+@@ -297,7 +297,7 @@ void linphone_status_icon_uninit(void) {
+ LinphoneStatusIcon *linphone_status_icon_get(void) {
+ 	if(_linphone_status_icon_instance == NULL) {
+ 		if(_linphone_status_icon_selected_desc)
+-			ms_message("StatusIcon: instanciating singleton");
++			ms_message("StatusIcon: instantiating singleton");
+ 			_linphone_status_icon_instance = _linphone_status_icon_new(_linphone_status_icon_selected_desc);
+ 	}
+ 	return _linphone_status_icon_instance;
+--- a/include/linphone/core.h
++++ b/include/linphone/core.h
+@@ -1143,7 +1143,7 @@ LINPHONE_PUBLIC LinphoneCall * linphone_
+  * The notified states are #LinphoneCallOutgoingInit , #LinphoneCallOutgoingProgress, #LinphoneCallOutgoingRinging and #LinphoneCallConnected.
+  * @param[in] lc LinphoneCore object
+  * @param[in] call The call to be transfered
+- * @param[in] refer_to The destination the call is to be refered to
++ * @param[in] refer_to The destination the call is to be referred to
+  * @return 0 on success, -1 on failure
+  * @ingroup call_control
+ **/
+@@ -1797,7 +1797,7 @@ LINPHONE_PUBLIC void linphone_core_set_p
+  * Get the bitrate explicitely set with linphone_core_set_payload_type_bitrate().
+  * @param[in] lc the #LinphoneCore object
+  * @param[in] pt the #LinphonePayloadType to modify.
+- * @return bitrate the IP bitrate in kbit/s, or -1 if an error occured.
++ * @return bitrate the IP bitrate in kbit/s, or -1 if an error occurred.
+  * @ingroup media_parameters
+ **/
+ LINPHONE_PUBLIC int linphone_core_get_payload_type_bitrate(LinphoneCore *lc, const LinphonePayloadType *pt);
+@@ -3771,7 +3771,7 @@ LINPHONE_PUBLIC void linphone_core_set_m
+ /**
+  * Check if a call will need the sound resources in near future (typically an outgoing call that is awaiting
+  * response).
+- * In liblinphone, it is not possible to have two independant calls using sound device or camera at the same time.
++ * In liblinphone, it is not possible to have two independent calls using sound device or camera at the same time.
+  * In order to prevent this situation, an application can use linphone_core_sound_resources_locked() to know whether
+  * it is possible at a given time to start a new outgoing call.
+  * When the function returns TRUE, an application should not allow the user to start an outgoing call.
+@@ -3980,7 +3980,7 @@ LINPHONE_PUBLIC void linphone_core_set_c
+ 
+ /**
+  * Assign an audio file to be played as a specific tone id.
+- * This function typically allows to customize telephony tones per country.
++ * This function typically allows one to customize telephony tones per country.
+  * @param lc the core
+  * @param id the tone id
+  * @param audiofile a wav file to be played.
+--- a/include/linphone/types.h
++++ b/include/linphone/types.h
+@@ -235,7 +235,7 @@ typedef enum _LinphoneCallState{
+  * The LinphoneCallStats objects carries various statistic informations regarding quality of audio or video streams.
+  *
+  * To receive these informations periodically and as soon as they are computed, the application is invited to place a #LinphoneCoreCallStatsUpdatedCb callback in the LinphoneCoreVTable structure
+- * it passes for instanciating the LinphoneCore object (see linphone_core_new() ).
++ * it passes for instantiating the LinphoneCore object (see linphone_core_new() ).
+  *
+  * At any time, the application can access last computed statistics using linphone_call_get_audio_stats() or linphone_call_get_video_stats().
+  * @ingroup call_misc
+--- a/java/common/org/linphone/core/TunnelConfig.java
++++ b/java/common/org/linphone/core/TunnelConfig.java
+@@ -1,7 +1,7 @@
+ package org.linphone.core;
+ 
+ /**
+- * The TunnelConfig interface allows to configure information about a tunnel server (voip anti blocking).
++ * The TunnelConfig interface allows one to configure information about a tunnel server (voip anti blocking).
+  * @author smorlat
+  *
+  */
+--- a/java/common/org/linphone/core/package.html
++++ b/java/common/org/linphone/core/package.html
+@@ -200,7 +200,7 @@ from a peer sip uri.
+ </h3>
+ <b>Sound levels</b>
+ <br> 
+-It is possible to tune the microphone input gain and speaker/receiver output gain by setting parameters into the linphonerc factory config file loaded when instanciating the {@link org.linphone.core.LinphoneCore LinphoneCore}. These gains are liblinphone's internal software gains and are unrelated to volume levels managed by the operating system. For example: <br>
++It is possible to tune the microphone input gain and speaker/receiver output gain by setting parameters into the linphonerc factory config file loaded when instantiating the {@link org.linphone.core.LinphoneCore LinphoneCore}. These gains are liblinphone's internal software gains and are unrelated to volume levels managed by the operating system. For example: <br>
+ <pre>
+ <code>
+ [sound]
+@@ -298,4 +298,4 @@ Up to date settings must be found from l
+ <br>
+ 
+ </body>
+-</html>
+\ No newline at end of file
++</html>
+--- a/m4/lib-link.m4
++++ b/m4/lib-link.m4
+@@ -154,7 +154,7 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
+     fi
+ ])
+   dnl Search the library and its dependencies in $additional_libdir and
+-  dnl $LDFLAGS. Using breadth-first-seach.
++  dnl $LDFLAGS. Using breadth-first-search.
+   LIB[]NAME=
+   LTLIB[]NAME=
+   INC[]NAME=
+--- a/tester/call_single_tester.c
++++ b/tester/call_single_tester.c
+@@ -4696,7 +4696,7 @@ end:
+ 	linphone_core_manager_destroy(pauline);
+ }
+ 
+-static void call_with_sip_and_rtp_independant_switches(void){
++static void call_with_sip_and_rtp_independent_switches(void){
+ 	LinphoneCoreManager* marie = linphone_core_manager_new("marie_rc");
+ 	LinphoneCoreManager* pauline = linphone_core_manager_new(transport_supported(LinphoneTransportTls) ? "pauline_rc" : "pauline_tcp_rc");
+ 	bctbx_list_t *lcs = NULL;
+@@ -5533,7 +5533,7 @@ test_t call_tests[] = {
+ 	TEST_ONE_TAG("Call with network switch and ICE", call_with_network_switch_and_ice, "ICE"),
+ 	TEST_ONE_TAG("Call with network switch, ICE and RTT", call_with_network_switch_ice_and_rtt, "ICE"),
+ 	TEST_NO_TAG("Call with network switch with socket refresh", call_with_network_switch_and_socket_refresh),
+-	TEST_NO_TAG("Call with SIP and RTP independant switches", call_with_sip_and_rtp_independant_switches),
++	TEST_NO_TAG("Call with SIP and RTP independent switches", call_with_sip_and_rtp_independent_switches),
+ 	TEST_NO_TAG("Call with rtcp-mux", call_with_rtcp_mux),
+ 	TEST_NO_TAG("Call with rtcp-mux not accepted", call_with_rtcp_mux_not_accepted),
+ 	TEST_ONE_TAG("Call with ICE and rtcp-mux", call_with_ice_and_rtcp_mux, "ICE"),
+--- a/tester/flexisip_tester.c
++++ b/tester/flexisip_tester.c
+@@ -1130,7 +1130,7 @@ static void test_list_subscribe (void) {
+ 	linphone_proxy_config_edit(proxy_config);
+ 	linphone_proxy_config_enable_publish(proxy_config,TRUE);
+ 	linphone_proxy_config_done(proxy_config);
+-	/*make sure notify is not sent "imadiatly but defered*/
++	/*make sure notify is not sent "imadiatly but deferred*/
+ 	BC_ASSERT_FALSE(wait_for_list(lcs,&marie->stat.number_of_NotifyReceived,3,1000));
+ 
+ 	BC_ASSERT_TRUE(wait_for_list(lcs,&marie->stat.number_of_NotifyReceived,3,5000));
+--- a/console/commands.c
++++ b/console/commands.c
+@@ -2163,7 +2163,7 @@ static int lpc_cmd_speak(LinphoneCore *l
+ #else
+ 	if (mkstemp(wavfile)==-1){
+ 		ms_error("Could not create temporary filename: %s", strerror(errno));
+-		linphonec_out("An error occured, please consult logs for details.");
++		linphonec_out("An error occurred, please consult logs for details.");
+ 		return 1;
+ 	}
+ #endif
+--- a/coreapi/linphonecall.c
++++ b/coreapi/linphonecall.c
+@@ -1630,7 +1630,7 @@ void linphone_call_fix_call_parameters(L
+ 		}
+ 
+ 		if (rcp->has_video && call->core->video_policy.automatically_accept && linphone_core_video_enabled(call->core) && !call->params->has_video){
+-			ms_message("Call [%p]: re-enabling video in our call params because the remote wants it and the policy allows to automatically accept.", call);
++			ms_message("Call [%p]: re-enabling video in our call params because the remote wants it and accepting automatically is allowed by the policy.", call);
+ 			linphone_call_params_enable_video(call->params, TRUE);
+ 		}
+ 
+@@ -3355,7 +3355,7 @@ static void linphone_call_start_audio_st
+ 				}else{
+ 					io.input.type = MSResourceFile;
+ 					file_to_play = playfile;
+-					io.input.file = NULL; /*we prefer to use the remote_play api, that allows to play multimedia files */
++					io.input.file = NULL; /*we prefer to use the remote_play api, that allows one to play multimedia files */
+ 				}
+ 
+ 			}
+--- a/include/linphone/event.h
++++ b/include/linphone/event.h
+@@ -139,7 +139,7 @@ LINPHONE_PUBLIC void linphone_event_paus
+ LINPHONE_PUBLIC LinphoneReason linphone_event_get_reason(const LinphoneEvent *lev);
+ 
+ /**
+- * Get full details about an error occured.
++ * Get full details about an error occurred.
+ **/
+ LINPHONE_PUBLIC const LinphoneErrorInfo *linphone_event_get_error_info(const LinphoneEvent *lev);
+ 
+--- a/include/linphone/presence.h
++++ b/include/linphone/presence.h
+@@ -42,7 +42,7 @@ extern "C" {
+  * Creates a presence model specifying an activity.
+  * @param[in] activity The activity to set for the created presence model.
+  * @param[in] description An additional description of the activity (mainly useful for the 'other' activity). Set it to NULL to not add a description.
+- * @return The created presence model, or NULL if an error occured.
++ * @return The created presence model, or NULL if an error occurred.
+  * @see linphone_presence_model_new
+  * @see linphone_presence_model_new_with_activity_and_note
+  *
+@@ -56,7 +56,7 @@ LINPHONE_PUBLIC LinphonePresenceModel *
+  * @param[in] description An additional description of the activity (mainly useful for the 'other' activity). Set it to NULL to not add a description.
+  * @param[in] note An additional note giving additional information about the contact presence.
+  * @param[in] lang The language the note is written in. It can be set to NULL in order to not specify the language of the note.
+- * @return The created presence model, or NULL if an error occured.
++ * @return The created presence model, or NULL if an error occurred.
+  * @see linphone_presence_model_new_with_activity
+  * @see linphone_presence_model_new_with_activity_and_note
+  *
+--- a/tools/python/apixml2python/linphone_testing_module.mustache
++++ b/tools/python/apixml2python/linphone_testing_module.mustache
+@@ -48,7 +48,7 @@ static PyObject * pylinphone_testing_mod
+ 
+ static PyMethodDef pylinphone_TestingModuleMethods[] = {
+ 	{ "get_random_token", pylinphone_testing_module_method_get_random_token, METH_VARARGS, "Gets a random token of the specified length." },
+-	{ "set_dns_user_hosts_file", pylinphone_testing_module_method_set_dns_user_hosts_file, METH_VARARGS, "Allows to set a user specified hosts file." },
++	{ "set_dns_user_hosts_file", pylinphone_testing_module_method_set_dns_user_hosts_file, METH_VARARGS, "Allows one to set a user specified hosts file." },
+ 	/* Sentinel */
+ 	{ NULL, NULL, 0, NULL }
+ };
+--- a/README.mingw
++++ b/README.mingw
+@@ -16,7 +16,7 @@ In the package list, select and install:
+ For more information:
+ http://www.mingw.org/wiki/Getting_Started
+ 
+-In mingw shell (also refered as msys), run
++In mingw shell (also referred as msys), run
+ 
+ mkdir -p /opt/perl/bin
+ cp /bin/perl /opt/perl/bin/.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/linphone.git



More information about the Pkg-voip-commits mailing list