[Libreoffice-commits] core.git: configure.ac distro-configs/LibreOfficeiOS.conf

jan Iversen jani at libreoffice.org
Thu Jan 4 17:19:59 UTC 2018


 configure.ac                       |    7 ++++++-
 distro-configs/LibreOfficeiOS.conf |   12 ++++++++++--
 2 files changed, 16 insertions(+), 3 deletions(-)

New commits:
commit 3584c954337a625c93dae692849a53b6793d5a1e
Author: jan Iversen <jani at libreoffice.org>
Date:   Thu Jan 4 18:17:43 2018 +0100

    iOS disable gpgme
    
    Disable gpgme called for passing parameters to configure, when called
    internally (to generate config_build etc).
    
    Update the distro-conf, with info on the different supported models
    
    Change-Id: I884c8638bf7b1c9fbc8ea4bdaa4dfca019857f45

diff --git a/configure.ac b/configure.ac
index f125bd980be9..ce7598305e54 100644
--- a/configure.ac
+++ b/configure.ac
@@ -633,6 +633,7 @@ darwin*) # Mac OS X or iOS
         AC_MSG_NOTICE([sanitized the PATH to $PATH])
     fi
     if test "$host_cpu" = "arm64" -o "$enable_ios_simulator" = "yes"; then
+        build_for_ios=YES
         _os=iOS
         test_gtk=no
         test_cups=no
@@ -4379,6 +4380,7 @@ if test "$cross_compiling" = "yes"; then
     test $with_junit = no && sub_conf_opts="$sub_conf_opts --without-junit"
     test -n "$TARFILE_LOCATION" && sub_conf_opts="$sub_conf_opts --with-external-tar=$TARFILE_LOCATION"
     test "$with_system_icu_for_build" = "yes" -o "$with_system_icu_for_build" = "force" && sub_conf_opts="$sub_conf_opts --with-system-icu"
+    test "$build_for_ios" = "YES" && sub_conf_opts="$sub_conf_opts build_for_ios=YES"
     sub_conf_opts="$sub_conf_opts $with_build_platform_configure_options"
     # Don't bother having configure look for stuff not needed for the build platform anyway
     ./configure \
@@ -10120,7 +10122,10 @@ fi
 AC_SUBST(ENABLE_PDFIUM)
 
 SYSTEM_GPGMEPP=
-if test "$_os" = "Linux" -o "$_os" = "Darwin" -o "$_os" = "WINNT" ; then
+
+if test "$build_for_ios" = "YES"; then
+    AC_MSG_CHECKING([gpgmepp disabled due to iOS])
+elif test "$_os" = "Linux" -o "$_os" = "Darwin" -o "$_os" = "WINNT" ; then
     dnl ===================================================================
     dnl Check for system gpgme
     dnl ===================================================================
diff --git a/distro-configs/LibreOfficeiOS.conf b/distro-configs/LibreOfficeiOS.conf
index 2041cabe51a9..57080907e3d1 100644
--- a/distro-configs/LibreOfficeiOS.conf
+++ b/distro-configs/LibreOfficeiOS.conf
@@ -27,9 +27,17 @@
 --disable-python
 
 --without-tls
-
---enable-debug
 --enable-werror
 
+# iOS simulator (debug)
+#--enable-ios-simulator
+#--enable-debug
+
+# iOS Device (debug)
 #--enable-ios-simulator
+#--enable-debug
+#--host=arm64-apple-darwin
+
+# iOS Device (release)
 --host=arm64-apple-darwin
+


More information about the Libreoffice-commits mailing list