Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
35583e02
Kaydet (Commit)
35583e02
authored
May 01, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make configury work as well as possible for iOS without options
Change-Id: If28fbe59f55626aeca05fa93446a0e5034ea2b91
üst
f4227c82
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
62 additions
and
31 deletions
+62
-31
configure.ac
configure.ac
+57
-2
LibreOfficeiOS.conf
distro-configs/LibreOfficeiOS.conf
+0
-24
README
distro-configs/README
+5
-5
No files found.
configure.ac
Dosyayı görüntüle @
35583e02
...
...
@@ -1145,6 +1145,11 @@ AC_ARG_WITH(macosx-bundle-identifier,
org.libreoffice.script ("script", huh?).]),
,with_macosx_bundle_identifier=org.libreoffice.script)
AC_ARG_ENABLE(ios-simulator,
AS_HELP_STRING([--enable-ios-simulator],
[Build for the iOS Simulator, not iOS device.]),
,)
AC_ARG_ENABLE(readonly-installset,
AS_HELP_STRING([--enable-readonly-installset],
[Prevents any attempts by LibreOffice to write into its installation. That means
...
...
@@ -2640,6 +2645,42 @@ AC_SUBST(MACOSX_CODESIGNING_IDENTITY)
AC_SUBST(ENABLE_MACOSX_SANDBOX)
AC_SUBST(MACOSX_BUNDLE_IDENTIFIER)
dnl ===================================================================
dnl Check / find iOS SDK and compiler, version checks
dnl ===================================================================
if test $_os = iOS; then
AC_MSG_CHECKING([what iOS SDK to use])
if test "$enable_ios_simulator" = yes; then
platform=iPhoneSimulator
versionmin=-mmacosx-version-min=10.7
arch=i386
else
platform=iPhoneOS
versionmin=-miphoneos-version-min=5.0
arch=armv7
fi
pref_sdk_ver=6.1
for I in 6.1 6.0; do
t=/Applications/Xcode.app/Contents/Developer/Platforms/$platform.platform/Developer/SDKs/$platform$I.sdk
if test -d $t; then
sysroot=$t
break
fi
done
if test -z "$sysroot"; then
AC_MSG_ERROR([Could not find iOS SDK, expected something like /Applications/Xcode.app/Contents/Developer/Platforms/$platform.platform/Developer/SDKs/${platform}${pref_sdk_ver}])
fi
AC_MSG_RESULT($sysroot)
CXX="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch $arch -isysroot $sysroot $versionmin"
CC="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch $arch -isysroot $sysroot $versionmin"
fi
AC_MSG_CHECKING([whether to treat the installation as read-only])
if test \( -z "$enable_readonly_installset" -a "$ENABLE_MACOSX_SANDBOX" = YES \) -o \
...
...
@@ -6937,6 +6978,15 @@ printf ("hello world\n");
fi
AC_SUBST(WINEGCC)
if test $_os = iOS; then
enable_mpl_subset=yes
enable_postgresql_sdbc=no
enable_lotuswordpro=no
enable_neon=no
enable_extension_integration=no
with_ppds=no
fi
ENABLE_LWP=
if test "$enable_lotuswordpro" = "yes"; then
ENABLE_LWP="TRUE"
...
...
@@ -6946,6 +6996,7 @@ AC_SUBST(ENABLE_LWP)
AC_MSG_CHECKING([MPL subset])
MPL_SUBSET=
if test "$enable_mpl_subset" = "yes"; then
if test "x$enable_postgresql_sdbc" != "xno"; then
AC_MSG_ERROR([need to --disable-postgresql-sdbc - the postgress database backend.])
...
...
@@ -9274,7 +9325,7 @@ dnl ===================================================================
ENABLE_GCONF=""
AC_MSG_CHECKING([whether to enable GConf support])
if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$enable_gconf" = "yes"; then
if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$
_os" != "iOS" -a "$
enable_gconf" = "yes"; then
ENABLE_GCONF="TRUE"
AC_MSG_RESULT([yes])
PKG_CHECK_MODULES( GCONF, gconf-2.0 gobject-2.0 )
...
...
@@ -9502,7 +9553,7 @@ if test "$enable_split_opt_features" = "yes"; then
fi
AC_SUBST(SPLIT_OPT_FEATURES)
if test $_os = Darwin -o $_os = WINNT; then
if test $_os = Darwin -o $_os = WINNT
-o $_os = iOS
; then
if test "$enable_cairo_canvas" = yes; then
AC_MSG_ERROR([The cairo canvas should not be used for this platform])
fi
...
...
@@ -9572,6 +9623,10 @@ if test -z "$enable_opengl"; then
# badly and crashes). In other words, use --enable-opengl only if you plan to hack on that
# code for Windows.
enable_opengl=no
elif test $_os = iOS; then
# As such with some suitable minor tweaks the Mac OpenGL transitions code would presumably
# build fine for iOS, too, but let's leave that for later
enable_opengl=no
else
enable_opengl=yes
fi
...
...
distro-configs/LibreOfficeiOS.conf
Dosyayı görüntüle @
35583e02
--
build
=
i386
-
apple
-
darwin10
.
7
.
0
--
host
=
arm
-
apple
-
darwin10
--
disable
-
cairo
-
canvas
--
disable
-
ext
-
presenter
-
minimizer
--
disable
-
extension
-
integration
--
disable
-
gconf
--
disable
-
gnome
-
vfs
--
disable
-
gstreamer
-
0
-
10
--
disable
-
gstreamer
--
disable
-
lockdown
--
disable
-
lotuswordpro
--
disable
-
neon
--
disable
-
odk
--
disable
-
opengl
--
disable
-
postgresql
-
sdbc
--
disable
-
python
--
disable
-
randr
--
disable
-
randr
-
link
--
disable
-
systray
--
disable
-
vba
--
enable
-
mpl
-
subset
--
without
-
afms
--
without
-
fonts
--
without
-
java
--
without
-
junit
--
without
-
ppds
distro-configs/README
Dosyayı görüntüle @
35583e02
...
...
@@ -17,9 +17,9 @@ on the autogen.sh command line thus:
./autogen.sh --with-distro=LibreOfficeFoo
Contrary to the above, in the Android
and iOS cases the amount of
parameters you just must use is so large, that for convenience it i
s
always easiest to use the corresponding distro-configs file. This is a
bug and needs to be fixed; also configuring for those platforms needs
to use sane (or
only possible) defaults and work fine wihout any
Contrary to the above, in the Android
case the amount of parameters
you just must use is so large, that for convenience it is alway
s
easiest to use the corresponding distro-configs file. This is a bug
and needs to be fixed; also configuring for Android should ideally use
sane (or the
only possible) defaults and work fine wihout any
parameters at all.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment