[Libreoffice-commits] .: 3 commits - lpsolve/lp_solve_5.5.patch lpsolve/makefile.mk postprocess/packcomponents sccomp/Module_sccomp.mk vcl/ios vcl/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Aug 27 01:38:04 PDT 2012
lpsolve/lp_solve_5.5.patch | 15 ---------------
lpsolve/makefile.mk | 14 ++++++++++----
postprocess/packcomponents/makefile.mk | 2 +-
sccomp/Module_sccomp.mk | 4 ++++
vcl/ios/source/gdi/salcoretextlayout.cxx | 2 +-
vcl/source/gdi/outdev.cxx | 8 ++++++++
6 files changed, 24 insertions(+), 21 deletions(-)
New commits:
commit 123393ca342e1865cdc9acaa654e27eabb14f232
Author: Tor Lillqvist <tml at iki.fi>
Date: Sun Aug 26 21:36:25 2012 +0300
Fix dbgutil iOS build
Change-Id: Ie05a958411683cc4ea5adcac0f1ab6ea0c4736de
diff --git a/vcl/source/gdi/outdev.cxx b/vcl/source/gdi/outdev.cxx
index 0d73827..c8a0345 100644
--- a/vcl/source/gdi/outdev.cxx
+++ b/vcl/source/gdi/outdev.cxx
@@ -75,8 +75,16 @@
using namespace ::com::sun::star;
DBG_NAME( OutputDevice )
+#ifdef IOS // Static linking, these already exist in the tools
+ // library, so put them in the anonymous namespace here to
+ // avoid clash...
+namespace {
+#endif
DBG_NAME( Polygon )
DBG_NAME( PolyPolygon )
+#ifdef IOS
+}
+#endif
DBG_NAMEEX( Region )
// -----------------------------------------------------------------------
commit 611a04bc3e023d88c26e1915d45c2b877f92e08e
Author: Tor Lillqvist <tml at iki.fi>
Date: Sun Aug 26 21:34:36 2012 +0300
Undefined variable mnTrailingSpaceWidth
Change-Id: Id3bf0bbeecbf4b36eb629bc5a80db7443fff4395
diff --git a/vcl/ios/source/gdi/salcoretextlayout.cxx b/vcl/ios/source/gdi/salcoretextlayout.cxx
index 4fd1baf..99151e8 100644
--- a/vcl/ios/source/gdi/salcoretextlayout.cxx
+++ b/vcl/ios/source/gdi/salcoretextlayout.cxx
@@ -173,7 +173,7 @@ long CoreTextLayout::FillDXArray( long* pDXArray ) const
return GetTextWidth();
}
// check assumptions
- DBG_ASSERT( !mnTrailingSpaceWidth, "CoreText::FillDXArray() with nTSW!=0" );
+ // DBG_ASSERT( !mnTrailingSpaceWidth, "CoreText::FillDXArray() with nTSW!=0" );
// initialize details about the resulting layout
InitGIA();
commit bec74ec286e1d1671763a2e5b2a6f4614f0d7669
Author: Tor Lillqvist <tml at iki.fi>
Date: Fri Aug 24 16:03:19 2012 +0300
Bypass the solver component for iOS for now
Change-Id: I09551ef015d31d2337ba3ab40e720210c095670f
diff --git a/lpsolve/lp_solve_5.5.patch b/lpsolve/lp_solve_5.5.patch
index bca62f4..2fdd679 100644
--- a/lpsolve/lp_solve_5.5.patch
+++ b/lpsolve/lp_solve_5.5.patch
@@ -133,18 +133,3 @@
+fi
+
+rm *.o 2>/dev/null
---- misc/build/lp_solve_5.5/lpsolve55/ccc.ios.orig Sun May 22 11:19:48 2011
-+++ misc/build/lp_solve_5.5/lpsolve55/ccc.ios Sun May 22 11:19:48 2011
-@@ -1 +1,11 @@
--dummy
-+src='../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c'
-+obj=`echo $src|sed -e 's/\.c/.o/g' -e 's!\([^ ]*/\)*!!g'`
-+
-+opts='-O3'
-+
-+def=
-+
-+$CC -I.. -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I../shared $opts $def -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c $src
-+ls -l
-+ar -r liblpsolve55.a $obj
-+rm $obj
diff --git a/lpsolve/makefile.mk b/lpsolve/makefile.mk
index c91e3a0..cfc3985 100644
--- a/lpsolve/makefile.mk
+++ b/lpsolve/makefile.mk
@@ -36,6 +36,8 @@ TARGET=lpsolve
# --- Files --------------------------------------------------------
+.IF "$(OS)" != "IOS"
+
TARFILE_NAME=lp_solve_5.5
TARFILE_MD5=26b3e95ddf3d9c077c480ea45874b3b8
@@ -77,10 +79,6 @@ OUT2BIN=$(BUILD_DIR)$/lpsolve55.dll
.EXPORT: EXTRA_CDEFS EXTRA_LINKFLAGS verbose
BUILD_ACTION=sh ccc.osx
OUT2LIB=$(BUILD_DIR)$/liblpsolve55.dylib
-.ELIF "$(OS)"=="IOS"
-.EXPORT: EXTRA_CDEFS EXTRA_LINKFLAGS
-BUILD_ACTION=sh ccc.ios
-OUT2LIB=$(BUILD_DIR)$/liblpsolve55.a
.ELSE
.IF "$(COMNAME)"=="sunpro5"
BUILD_ACTION=sh ccc.solaris
@@ -95,9 +93,17 @@ OUT2LIB=$(BUILD_DIR)$/liblpsolve55.so
OUT2INC=lp_lib.h lp_types.h lp_utils.h lp_Hash.h lp_matrix.h lp_mipbb.h lp_SOS.h
+
# --- Targets ------------------------------------------------------
.INCLUDE : set_ext.mk
+
+.ENDIF
+
.INCLUDE : target.mk
+
+.IF "$(OS)" != "IOS"
+
.INCLUDE : tg_ext.mk
+.ENDIF
diff --git a/postprocess/packcomponents/makefile.mk b/postprocess/packcomponents/makefile.mk
index a5f2f81..a40841a 100644
--- a/postprocess/packcomponents/makefile.mk
+++ b/postprocess/packcomponents/makefile.mk
@@ -85,7 +85,6 @@ my_components = \
component/sc/util/scfilt \
component/scaddins/source/analysis/analysis \
component/scaddins/source/datefunc/date \
- component/sccomp/source/solver/solver \
component/sd/util/sd \
component/sd/util/sdd \
component/sd/util/sdfilt \
@@ -209,6 +208,7 @@ my_components += \
.IF "$(OS)" != "IOS"
my_components += \
+ component/sccomp/source/solver/solver \
component/writerfilter/util/writerfilter \
component/writerperfect/util/wpftwriter \
component/writerperfect/util/wpftdraw \
diff --git a/sccomp/Module_sccomp.mk b/sccomp/Module_sccomp.mk
index 634c0e2..9eb167a 100644
--- a/sccomp/Module_sccomp.mk
+++ b/sccomp/Module_sccomp.mk
@@ -28,9 +28,13 @@
$(eval $(call gb_Module_Module,sccomp))
+ifneq ($(OS),IOS)
+
$(eval $(call gb_Module_add_targets,sccomp,\
AllLangResTarget_solver \
Library_solver \
))
+endif
+
# vim: set noet sw=4 ts=4:
More information about the Libreoffice-commits
mailing list