diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-19 12:02:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-28 13:51:07 +0200 |
commit | c25eee44966703cb27d632bccb39b20978341ffd (patch) | |
tree | 436b0f7c78cd56e70c4e42ea3b4d5f5ef64c28b2 /external/boost | |
parent | da57421b366dfd5bef840f5caeffcd030b19c643 (diff) |
build boost::locale library
Change-Id: I40b89a0df483645fc743fb092d3d39ea682c510c
Reviewed-on: https://gerrit.libreoffice.org/37060
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'external/boost')
-rw-r--r-- | external/boost/Module_boost.mk | 1 | ||||
-rw-r--r-- | external/boost/StaticLibrary_boost_locale.mk | 67 | ||||
-rw-r--r-- | external/boost/include/boost/circular_buffer.hpp | 23 | ||||
-rw-r--r-- | external/boost/include/boost/locale.hpp | 23 | ||||
-rw-r--r-- | external/boost/include/boost/locale/gnu_gettext.hpp | 23 | ||||
-rw-r--r-- | external/boost/include/boost/type_index.hpp | 23 |
6 files changed, 160 insertions, 0 deletions
diff --git a/external/boost/Module_boost.mk b/external/boost/Module_boost.mk index 8bb1c0ad7223..252bf1c9a3b3 100644 --- a/external/boost/Module_boost.mk +++ b/external/boost/Module_boost.mk @@ -12,6 +12,7 @@ $(eval $(call gb_Module_Module,boost)) $(eval $(call gb_Module_add_targets,boost,\ StaticLibrary_boost_date_time \ StaticLibrary_boost_filesystem \ + StaticLibrary_boost_locale \ StaticLibrary_boost_system \ StaticLibrary_boost_iostreams \ UnpackedTarball_boost \ diff --git a/external/boost/StaticLibrary_boost_locale.mk b/external/boost/StaticLibrary_boost_locale.mk new file mode 100644 index 000000000000..9f9338c69984 --- /dev/null +++ b/external/boost/StaticLibrary_boost_locale.mk @@ -0,0 +1,67 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_StaticLibrary_StaticLibrary,boost_locale)) + +$(eval $(call gb_StaticLibrary_use_unpacked,boost_locale,boost)) + +$(eval $(call gb_StaticLibrary_set_warnings_not_errors,boost_locale)) + +# disable "auto link" "feature" on MSVC +$(eval $(call gb_StaticLibrary_add_defs,boost_locale,\ + -DBOOST_ALL_NO_LIB -DBOOST_LOCALE_NO_WINAPI_BACKEND -DBOOST_LOCALE_NO_POSIX_BACKEND \ +)) + +ifneq ($(OS),WNT) + +$(eval $(call gb_StaticLibrary_add_defs,boost_locale,\ + -DBOOST_LOCALE_WITH_ICONV \ +)) + +endif + +$(eval $(call gb_StaticLibrary_use_external,boost_locale,boost_headers)) + +$(eval $(call gb_StaticLibrary_set_generated_cxx_suffix,boost_locale,cpp)) + +$(eval $(call gb_StaticLibrary_add_generated_exception_objects,boost_locale,\ + UnpackedTarball/boost/libs/locale/src/encoding/codepage \ + UnpackedTarball/boost/libs/locale/src/shared/date_time \ + UnpackedTarball/boost/libs/locale/src/shared/format \ + UnpackedTarball/boost/libs/locale/src/shared/formatting \ + UnpackedTarball/boost/libs/locale/src/shared/generator \ + UnpackedTarball/boost/libs/locale/src/shared/ids \ + UnpackedTarball/boost/libs/locale/src/shared/localization_backend \ + UnpackedTarball/boost/libs/locale/src/shared/message \ + UnpackedTarball/boost/libs/locale/src/shared/mo_lambda \ + UnpackedTarball/boost/libs/locale/src/std/codecvt \ + UnpackedTarball/boost/libs/locale/src/std/collate \ + UnpackedTarball/boost/libs/locale/src/std/converter \ + UnpackedTarball/boost/libs/locale/src/std/numeric \ + UnpackedTarball/boost/libs/locale/src/std/std_backend \ + UnpackedTarball/boost/libs/locale/src/util/codecvt_converter \ + UnpackedTarball/boost/libs/locale/src/util/default_locale \ + UnpackedTarball/boost/libs/locale/src/util/gregorian \ + UnpackedTarball/boost/libs/locale/src/util/info \ + UnpackedTarball/boost/libs/locale/src/util/locale_data \ +)) + +ifeq ($(OS),WNT) + +$(eval $(call gb_StaticLibrary_add_generated_exception_objects,boost_locale,\ + UnpackedTarball/boost/libs/locale/src/win32/collate \ + UnpackedTarball/boost/libs/locale/src/win32/converter \ + UnpackedTarball/boost/libs/locale/src/win32/lcid \ + UnpackedTarball/boost/libs/locale/src/win32/numeric \ + UnpackedTarball/boost/libs/locale/src/win32/win_backend \ +)) + +endif + +# vim: set noet sw=4 ts=4: diff --git a/external/boost/include/boost/circular_buffer.hpp b/external/boost/include/boost/circular_buffer.hpp new file mode 100644 index 000000000000..ac2f040692fa --- /dev/null +++ b/external/boost/include/boost/circular_buffer.hpp @@ -0,0 +1,23 @@ +/* generated by bin/gen-boost-headers, do not edit! */ +#pragma once +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunknown-pragmas" /* first! for clang */ +#pragma GCC diagnostic ignored "-Wpragmas" /* second! for GCC */ +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#pragma GCC diagnostic ignored "-Wextra" +#pragma GCC diagnostic ignored "-Wignored-qualifiers" +#pragma GCC diagnostic ignored "-Wimplicit-fallthrough" +#pragma GCC diagnostic ignored "-Winvalid-constexpr" +#pragma GCC diagnostic ignored "-Wplacement-new" +#pragma GCC diagnostic ignored "-Wreturn-type" +#pragma GCC diagnostic ignored "-Wshadow" +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#pragma GCC diagnostic ignored "-Wtautological-constant-out-of-range-compare" +#pragma GCC diagnostic ignored "-Wtype-limits" +#pragma GCC diagnostic ignored "-Wundef" +#pragma GCC diagnostic ignored "-Wunused-local-typedefs" +#pragma GCC diagnostic ignored "-Wunused-macros" +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-variable" +#include_next <boost/circular_buffer.hpp> +#pragma GCC diagnostic pop diff --git a/external/boost/include/boost/locale.hpp b/external/boost/include/boost/locale.hpp new file mode 100644 index 000000000000..297ed0ea135a --- /dev/null +++ b/external/boost/include/boost/locale.hpp @@ -0,0 +1,23 @@ +/* generated by bin/gen-boost-headers, do not edit! */ +#pragma once +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunknown-pragmas" /* first! for clang */ +#pragma GCC diagnostic ignored "-Wpragmas" /* second! for GCC */ +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#pragma GCC diagnostic ignored "-Wextra" +#pragma GCC diagnostic ignored "-Wignored-qualifiers" +#pragma GCC diagnostic ignored "-Wimplicit-fallthrough" +#pragma GCC diagnostic ignored "-Winvalid-constexpr" +#pragma GCC diagnostic ignored "-Wplacement-new" +#pragma GCC diagnostic ignored "-Wreturn-type" +#pragma GCC diagnostic ignored "-Wshadow" +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#pragma GCC diagnostic ignored "-Wtautological-constant-out-of-range-compare" +#pragma GCC diagnostic ignored "-Wtype-limits" +#pragma GCC diagnostic ignored "-Wundef" +#pragma GCC diagnostic ignored "-Wunused-local-typedefs" +#pragma GCC diagnostic ignored "-Wunused-macros" +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-variable" +#include_next <boost/locale.hpp> +#pragma GCC diagnostic pop diff --git a/external/boost/include/boost/locale/gnu_gettext.hpp b/external/boost/include/boost/locale/gnu_gettext.hpp new file mode 100644 index 000000000000..810278a1aab5 --- /dev/null +++ b/external/boost/include/boost/locale/gnu_gettext.hpp @@ -0,0 +1,23 @@ +/* generated by bin/gen-boost-headers, do not edit! */ +#pragma once +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunknown-pragmas" /* first! for clang */ +#pragma GCC diagnostic ignored "-Wpragmas" /* second! for GCC */ +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#pragma GCC diagnostic ignored "-Wextra" +#pragma GCC diagnostic ignored "-Wignored-qualifiers" +#pragma GCC diagnostic ignored "-Wimplicit-fallthrough" +#pragma GCC diagnostic ignored "-Winvalid-constexpr" +#pragma GCC diagnostic ignored "-Wplacement-new" +#pragma GCC diagnostic ignored "-Wreturn-type" +#pragma GCC diagnostic ignored "-Wshadow" +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#pragma GCC diagnostic ignored "-Wtautological-constant-out-of-range-compare" +#pragma GCC diagnostic ignored "-Wtype-limits" +#pragma GCC diagnostic ignored "-Wundef" +#pragma GCC diagnostic ignored "-Wunused-local-typedefs" +#pragma GCC diagnostic ignored "-Wunused-macros" +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-variable" +#include_next <boost/locale/gnu_gettext.hpp> +#pragma GCC diagnostic pop diff --git a/external/boost/include/boost/type_index.hpp b/external/boost/include/boost/type_index.hpp new file mode 100644 index 000000000000..fe2fd1ffc483 --- /dev/null +++ b/external/boost/include/boost/type_index.hpp @@ -0,0 +1,23 @@ +/* generated by bin/gen-boost-headers, do not edit! */ +#pragma once +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunknown-pragmas" /* first! for clang */ +#pragma GCC diagnostic ignored "-Wpragmas" /* second! for GCC */ +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#pragma GCC diagnostic ignored "-Wextra" +#pragma GCC diagnostic ignored "-Wignored-qualifiers" +#pragma GCC diagnostic ignored "-Wimplicit-fallthrough" +#pragma GCC diagnostic ignored "-Winvalid-constexpr" +#pragma GCC diagnostic ignored "-Wplacement-new" +#pragma GCC diagnostic ignored "-Wreturn-type" +#pragma GCC diagnostic ignored "-Wshadow" +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#pragma GCC diagnostic ignored "-Wtautological-constant-out-of-range-compare" +#pragma GCC diagnostic ignored "-Wtype-limits" +#pragma GCC diagnostic ignored "-Wundef" +#pragma GCC diagnostic ignored "-Wunused-local-typedefs" +#pragma GCC diagnostic ignored "-Wunused-macros" +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-variable" +#include_next <boost/type_index.hpp> +#pragma GCC diagnostic pop |