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
30659f23
Kaydet (Commit)
30659f23
authored
May 15, 2011
tarafından
Tor Lillqvist
Kaydeden (comit)
Tor Lillqvist
May 15, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Initial baby steps for Android cross-compilation
üst
89b31594
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
56 additions
and
5 deletions
+56
-5
config.sub
config.sub
+1
-1
configure.in
configure.in
+22
-4
LibreOfficeAndroid.conf
distro-configs/LibreOfficeAndroid.conf
+22
-0
set_soenv.in
set_soenv.in
+11
-0
No files found.
config.sub
Dosyayı görüntüle @
30659f23
...
...
@@ -1298,7 +1298,7 @@ case $os in
|
-ekkobsd
*
|
-kfreebsd
*
|
-freebsd
*
|
-riscix
*
|
-lynxos
*
\
|
-bosx
*
|
-nextstep
*
|
-cxux
*
|
-aout
*
|
-elf
*
|
-oabi
*
\
|
-ptx
*
|
-coff
*
|
-ecoff
*
|
-winnt
*
|
-domain
*
|
-vsta
*
\
|
-udi
*
|
-eabi
*
|
-lites
*
|
-ieee
*
|
-go32
*
|
-aux
*
\
|
-udi
*
|
-
androideabi
*
|
-
eabi
*
|
-lites
*
|
-ieee
*
|
-go32
*
|
-aux
*
\
|
-chorusos
*
|
-chorusrdb
*
|
-cegcc
*
\
|
-cygwin
*
|
-pe
*
|
-psos
*
|
-moss
*
|
-proelf
*
|
-rtems
*
\
|
-mingw32
*
|
-linux-gnu
*
|
-linux-newlib
*
|
-linux-uclibc
*
\
...
...
configure.in
Dosyayı görüntüle @
30659f23
...
...
@@ -1494,8 +1494,21 @@ case "$host_os" in
PTHREAD_LIBS="-pthread"
_os=DragonFly
;;
androideabi*)
build_gstreamer=no
test_cairo=no
test_cups=no
test_fontconfig=no
test_freetype=no
test_gtk=no
test_kde=no
test_kde4=no
test_randr=no
test_unix_quickstarter=no
_os=Android
;;
*)
AC_MSG_ERROR([$_os operating system is not suitable to build LibreOffice!])
AC_MSG_ERROR([$
host
_os operating system is not suitable to build LibreOffice!])
;;
esac
...
...
@@ -1656,6 +1669,7 @@ if test "$cross_compiling" = "yes"; then
tar cf - \
configure \
config.guess \
oowintool \
solenv/inc/minor.mk \
solenv/inc/postset.mk \
set_soenv.in \
...
...
@@ -1671,11 +1685,14 @@ if test "$cross_compiling" = "yes"; then
test -n "$CXX_FOR_BUILD" && export CXX="$CXX_FOR_BUILD"
cd $tmpdir
sub_conf_opts=""
test -n $with_external_tar && sub_conf_opts="$sub_conf_opts --with-external-tar='$with_external_tar'"
test -n $with_ant_home && sub_conf_opts="$sub_conf_opts --with-ant-home=$with_ant_home"
test $with_junit = no && sub_conf_opts="$sub_conf_opts --without-junit"
./configure \
--disable-mozilla \
--disable-build-mozilla \
$sub_conf_opts \
2>&1 | sed -e 's/^/ /'
test -f ./*Env.Set.sh 2>/dev/null || exit
. ./*Env.Set.sh
for V in COM GUI GUIBASE OS CPU CPUNAME CC CXX GXX_INCLUDE_PATH MACOSX_DEPLOYMENT_TARGET; do
VV='$'$V
...
...
@@ -1686,6 +1703,7 @@ if test "$cross_compiling" = "yes"; then
fi
done
)
test -f $tmpdir/build-config || AC_MSG_ERROR([Running configure script for BUILD system failed, see $tmpdir/config.log])
eval `cat $tmpdir/build-config`
AC_MSG_RESULT([checking for BUILD platform configuration... done])
rm -rf $tmpdir
...
...
@@ -5395,7 +5413,7 @@ if test "$_os" = "Darwin" -a "x$x_includes" = "xno_x_includes"; then
echo "Do Nothing for _os = Darwin"
dnl Mac OS X using Aqua graphics. Don't check for X11.
:
elif test "$_os" != "WINNT" ; then
elif test "$_os" != "WINNT"
-a "$_os" != "Android"
; then
AC_PATH_X
AC_PATH_XTRA
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
...
...
@@ -5445,7 +5463,7 @@ fi
AC_SUBST(XLIB)
AC_SUBST(XAU_LIBS)
if test "$_os" != "WINNT" -a "$_os" != "Darwin"; then
if test "$_os" != "WINNT" -a "$_os" != "Darwin"
-a "$_os" != "Android"
; then
dnl ===================================================================
dnl Check for Composite.h for Mozilla plugin
dnl ===================================================================
...
...
distro-configs/LibreOfficeAndroid.conf
0 → 100644
Dosyayı görüntüle @
30659f23
--
host
=
arm
-
linux
-
androideabi
--
disable
-
cairo
--
disable
-
cups
--
disable
-
fontconfig
--
disable
-
gconf
--
disable
-
gnome
-
vfs
--
disable
-
gstreamer
--
disable
-
lockdown
--
disable
-
mozilla
--
disable
-
nss
-
module
--
disable
-
odk
--
disable
-
opengl
--
disable
-
python
--
disable
-
randr
--
disable
-
randr
-
link
--
disable
-
systray
--
without
-
fonts
--
without
-
java
--
without
-
junit
--
without
-
ppds
--
without
-
stlport
--
without
-
system
-
python
set_soenv.in
Dosyayı görüntüle @
30659f23
...
...
@@ -583,6 +583,17 @@ elsif ( $platform =~ m/linux/ )
$JRETHREADDIR
=
'$JAVA_HOME'
.
$ds
.
"jre"
.
$ds
.
"lib"
.
$ds
.
"arm"
.
$ds
.
"native_threads"
;
$EPM_FLAGS
=
"-a arm"
;
}
elsif
(
$platform
=~
m/^arm.*-androideabi/
)
{
print
"Setting Android ARM specific values... "
;
$outfile
=
"AndroidARMEnv.Set.sh"
;
$CPU
=
"R"
;
$CPUNAME
=
"ARM"
;
$OUTPATH
=
"unxandr"
;
$JRELIBDIR
=
'$JAVA_HOME'
.
$ds
.
"jre"
.
$ds
.
"lib"
.
$ds
.
"arm"
;
$JRETOOLKITDIR
=
'$JAVA_HOME'
.
$ds
.
"jre"
.
$ds
.
"lib"
.
$ds
.
"arm"
.
$ds
.
"server"
;
$JRETHREADDIR
=
'$JAVA_HOME'
.
$ds
.
"jre"
.
$ds
.
"lib"
.
$ds
.
"arm"
.
$ds
.
"native_threads"
;
$EPM_FLAGS
=
"-a arm"
;
}
elsif
(
$platform
=~
m/^mips/
)
{
print
"Setting Linux MIPS specific values... "
;
$outfile
=
"LinuxMIPSEnv.Set.sh"
;
...
...
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