Move to new iconv package

This commit is contained in:
Mickael Remond 2016-02-03 11:17:16 +01:00
parent bad50b8dd1
commit 99b5c5712c
3 changed files with 5 additions and 5 deletions

View File

@ -54,7 +54,7 @@ defmodule Ejabberd.Mixfile do
{:p1_pgsql, "~> 1.0"},
{:sqlite3, "~> 1.1"},
{:p1_zlib, git: "https://github.com/processone/zlib", tag: "1.0.0"},
{:p1_iconv, git: "https://github.com/processone/eiconv", tag: "0.9.0"},
{:iconv, "~> 1.0"},
{:eredis, "~> 1.0"},
{:exrm, "~> 1.0.0-rc7", only: :dev}]
end

View File

@ -30,7 +30,7 @@
{if_var_true, elixir, {elixir, ".*", {git, "https://github.com/elixir-lang/elixir", {tag, "v1.1.0"}}}},
%% TODO: When modules are fully migrated to new structure and mix, we will not need anymore rebar_elixir_plugin
{if_var_true, elixir, {rebar_elixir_plugin, ".*", {git, "https://github.com/processone/rebar_elixir_plugin", "0.1.0"}}},
{if_var_true, iconv, {p1_iconv, ".*", {git, "https://github.com/processone/eiconv", {tag, "0.9.0"}}}},
{if_var_true, iconv, {iconv, ".*", {git, "https://github.com/processone/iconv", {tag, "1.0.0"}}}},
{if_var_true, tools, {meck, "0.8.2", {git, "https://github.com/eproxus/meck", {tag, "0.8.2"}}}},
{if_var_true, redis, {eredis, ".*", {git, "https://github.com/wooga/eredis", {tag, "v1.0.8"}}}}]}.
@ -49,7 +49,7 @@
p1_pgsql,
p1_pam,
p1_zlib,
p1_iconv]}}.
iconv]}}.
{erl_opts, [nowarn_deprecated_function,
{if_var_false, debug, no_debug_info},
@ -101,7 +101,7 @@
{"p1_xml", [{if_var_true, full_xml, "--enable-full-xml"}]},
{if_var_true, pam, {"p1_pam", []}},
{if_var_true, zlib, {"p1_zlib", []}},
{if_var_true, iconv, {"p1_iconv", []}}]}.
{if_var_true, iconv, {"iconv", []}}]}.
{port_env, [{"CFLAGS", "-g -O2 -Wall"}]}.

View File

@ -116,7 +116,7 @@ stop(Host) ->
%% Description: Initiates the server
%%--------------------------------------------------------------------
init([Host, Opts]) ->
ejabberd:start_app(p1_iconv),
ejabberd:start_app(iconv),
MyHost = gen_mod:get_opt_host(Host, Opts,
<<"irc.@HOST@">>),
case gen_mod:db_type(Host, Opts) of