[ooo-build-commit] Branch 'ooo/master' - 2 commits - odk/docs odk/examples odk/setsdkenv_unix.csh.in odk/setsdkenv_unix.sh.in odk/settings odk/util

Jan Holesovsky kendy at kemper.freedesktop.org
Mon Jul 6 19:29:00 PDT 2009


 odk/docs/images/sdk_head-1.gif                               |binary
 odk/examples/DevelopersGuide/Forms/ButtonOperator.java       |    1 
 odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java |    1 
 odk/examples/DevelopersGuide/Forms/Makefile                  |    3 
 odk/setsdkenv_unix.csh.in                                    |   54 +++++-----
 odk/setsdkenv_unix.sh.in                                     |   59 ++++++-----
 odk/settings/settings.mk                                     |    6 -
 odk/util/makefile.pmk                                        |    2 
 8 files changed, 67 insertions(+), 59 deletions(-)

New commits:
commit e6df877a35c5018340df998cf1c06224d96acdb0
Author: Vladimir Glazounov <vg at openoffice.org>
Date:   Mon Jul 6 14:40:18 2009 +0000

    CWS-TOOLING: integrate CWS sdk311_DEV300
    2009-06-09 10:22:56 +0200 jsc  r272754 : #i101883# adapt number
    2009-06-03 13:25:57 +0200 jsc  r272559 : #i101883# ensure correct archive name for sdk, adapt resolve_variables_in_downloadname to exchange packageversion
    2009-06-03 13:20:14 +0200 jsc  r272558 : #i101883# ensure correct archive or package name
    2009-06-02 14:56:40 +0200 jsc  r272506 : #i101883# ensure correct archive or package name
    2009-05-27 11:26:35 +0200 jsc  r272337 : CWS-TOOLING: rebase CWS sdk311 to branches/OOO310 at 272261 (milestone: OOO310:m12)
    2009-05-26 15:15:13 +0200 jsc  r272305 : #i101883# ifdef links to URE libs for MacOSX and adapt compiler settings

diff --git a/odk/docs/images/sdk_head-1.gif b/odk/docs/images/sdk_head-1.gif
index 13c17cf..96409e2 100644
Binary files a/odk/docs/images/sdk_head-1.gif and b/odk/docs/images/sdk_head-1.gif differ
diff --git a/odk/setsdkenv_unix.csh.in b/odk/setsdkenv_unix.csh.in
index 0ab7486..64b59ae 100644
--- a/odk/setsdkenv_unix.csh.in
+++ b/odk/setsdkenv_unix.csh.in
@@ -237,34 +237,40 @@ else
 endif
 
 
-# For URE, prepare symbolic links for libraries:
-rm -f "${OO_SDK_OUT}/${directoryname}/lib/libuno_cppu.so" \
-    "${OO_SDK_OUT}/${directoryname}/lib/libuno_cppuhelper${comid}.${soext}" \
-    "${OO_SDK_OUT}/${directoryname}/lib/libuno_sal.${soext}" \
-    "${OO_SDK_OUT}/${directoryname}/lib/libuno_salhelper${comid}.${soext}"
-
-if ( -e "${OO_SDK_OUT}/${directoryname}/lib/libstlport_${pltfrm}${STLDEBUG}.${soext}" ) then
-    rm -rf "${OO_SDK_OUT}/${directoryname}/lib/libstlport_${pltfrm}${STLDEBUG}.${soext}"
-endif
-
-if ( "${OO_SDK_URE_HOME}" != "" ) then
-    mkdir -p "${OO_SDK_OUT}/${directoryname}/lib"
-    ln -s "${OO_SDK_URE_LIB_DIR}/libuno_cppu.${soext}.3" \
-        "${OO_SDK_OUT}/${directoryname}/lib/libuno_cppu.${soext}"
-    ln -s "${OO_SDK_URE_LIB_DIR}/libuno_cppuhelper${comid}.${soext}.3" \
-        "${OO_SDK_OUT}/${directoryname}/lib/libuno_cppuhelper${comid}.${soext}"
-    ln -s "${OO_SDK_URE_LIB_DIR}/libuno_sal.${soext}.3" \
-        "${OO_SDK_OUT}/${directoryname}/lib/libuno_sal.${soext}"
-    ln -s "${OO_SDK_URE_LIB_DIR}/libuno_salhelper${comid}.${soext}.3" \
-        "${OO_SDK_OUT}/${directoryname}/lib/libuno_salhelper${comid}.${soext}"
-
-    if ( -r "${OO_SDK_URE_LIB_DIR}/libstlport_${pltfrm}${STLDEBUG}.${soext}" ) then
-	ln -s "${OO_SDK_URE_LIB_DIR}/libstlport_${pltfrm}${STLDEBUG}.${soext}" \
-	    "${OO_SDK_OUT}/${directoryname}/lib/libstlport_${pltfrm}${STLDEBUG}.${soext}"
+if [ "${platform}" == "MacOSX" ] then
+#    For URE, prepare symbolic links for libraries:
+#    Only necessary on MacOSX, on other Unix systems the links are already prepared
+#    in the SDK installation.
+
+#    cleanup potential old links first
+    rm -f "${OO_SDK_OUT}/${directoryname}/lib/libuno_cppu.so" \
+	"${OO_SDK_OUT}/${directoryname}/lib/libuno_cppuhelper${comid}.${soext}" \
+	"${OO_SDK_OUT}/${directoryname}/lib/libuno_sal.${soext}" \
+	"${OO_SDK_OUT}/${directoryname}/lib/libuno_salhelper${comid}.${soext}"
+
+    if ( -e "${OO_SDK_OUT}/${directoryname}/lib/libstlport_${pltfrm}${STLDEBUG}.${soext}" ) then
+	rm -rf "${OO_SDK_OUT}/${directoryname}/lib/libstlport_${pltfrm}${STLDEBUG}.${soext}"
     endif
 
+    if ( "${OO_SDK_URE_HOME}" != "" ) then
+	mkdir -p "${OO_SDK_OUT}/${directoryname}/lib"
+	ln -s "${OO_SDK_URE_LIB_DIR}/libuno_cppu.${soext}.3" \
+	    "${OO_SDK_OUT}/${directoryname}/lib/libuno_cppu.${soext}"
+	ln -s "${OO_SDK_URE_LIB_DIR}/libuno_cppuhelper${comid}.${soext}.3" \
+	    "${OO_SDK_OUT}/${directoryname}/lib/libuno_cppuhelper${comid}.${soext}"
+	ln -s "${OO_SDK_URE_LIB_DIR}/libuno_sal.${soext}.3" \
+	    "${OO_SDK_OUT}/${directoryname}/lib/libuno_sal.${soext}"
+	ln -s "${OO_SDK_URE_LIB_DIR}/libuno_salhelper${comid}.${soext}.3" \
+	    "${OO_SDK_OUT}/${directoryname}/lib/libuno_salhelper${comid}.${soext}"
+
+	if ( -r "${OO_SDK_URE_LIB_DIR}/libstlport_${pltfrm}${STLDEBUG}.${soext}" ) then
+	    ln -s "${OO_SDK_URE_LIB_DIR}/libstlport_${pltfrm}${STLDEBUG}.${soext}" \
+		"${OO_SDK_OUT}/${directoryname}/lib/libstlport_${pltfrm}${STLDEBUG}.${soext}"
+	endif
+    endif
 endif
 
+ 
 echo 
 echo " ************************************************************************"
 echo " *"                                                  
diff --git a/odk/setsdkenv_unix.sh.in b/odk/setsdkenv_unix.sh.in
index 44fb741..bb3c162 100644
--- a/odk/setsdkenv_unix.sh.in
+++ b/odk/setsdkenv_unix.sh.in
@@ -122,7 +122,7 @@ OO_SDK_OUT=$OO_SDK_HOME
 # Prepare appropriate output directory.
 if [ -n "${OO_SDK_OUTPUT_DIR}" ]
 then
-    OO_SDK_OUT=${OO_SDK_OUTPUT_DIR}/$OO_SDK_NAME
+    OO_SDK_OUT=${OO_SDK_OUTPUT_DIR}/${OO_SDK_NAME}
     export OO_SDK_OUT
 fi
 
@@ -278,37 +278,44 @@ then
     export STLDEBUG
 fi
 
-# For URE, prepare symbolic links for libraries:
-rm -f "${OO_SDK_OUT}/${directoryname}/lib/libuno_cppu.${soext}" \
-    "${OO_SDK_OUT}/${directoryname}/lib/libuno_cppuhelper${comid}.${soext}" \
-    "${OO_SDK_OUT}/${directoryname}/lib/libuno_sal.${soext}" \
-    "${OO_SDK_OUT}/${directoryname}/lib/libuno_salhelper${comid}.${soext}"
-
-if [ -L "${OO_SDK_OUT}/${directoryname}/lib/libstlport_${pltfrm}${STLDEBUG}.${soext}" ]
+if [ "${platform}" = "MacOSX" ]
 then
-    rm -rf "${OO_SDK_OUT}/${directoryname}/lib/libstlport_${pltfrm}${STLDEBUG}.${soext}"
-fi
+#    For URE, prepare symbolic links for libraries:
+#    Only necessary on MacOSX, on other Unix systems the links are already prepared
+#    in the SDK installation.
 
+#    cleanup potential old links first
+    rm -f "${OO_SDK_OUT}/${directoryname}/lib/libuno_cppu.${soext}" \
+	"${OO_SDK_OUT}/${directoryname}/lib/libuno_cppuhelper${comid}.${soext}" \
+	"${OO_SDK_OUT}/${directoryname}/lib/libuno_sal.${soext}" \
+	"${OO_SDK_OUT}/${directoryname}/lib/libuno_salhelper${comid}.${soext}"
 
-if [ "${OO_SDK_URE_HOME}" ]
-then
-    mkdir -p "${OO_SDK_OUT}/${directoryname}/lib"
-    ln -s "${OO_SDK_URE_LIB_DIR}/libuno_cppu.${soext}.3" \
-        "${OO_SDK_OUT}/${directoryname}/lib/libuno_cppu.${soext}"
-    ln -s "${OO_SDK_URE_LIB_DIR}/libuno_cppuhelper${comid}.${soext}.3" \
-        "${OO_SDK_OUT}/${directoryname}/lib/libuno_cppuhelper${comid}.${soext}"
-    ln -s "${OO_SDK_URE_LIB_DIR}/libuno_sal.${soext}.3" \
-        "${OO_SDK_OUT}/${directoryname}/lib/libuno_sal.${soext}"
-    ln -s "${OO_SDK_URE_LIB_DIR}/libuno_salhelper${comid}.${soext}.3" \
-        "${OO_SDK_OUT}/${directoryname}/lib/libuno_salhelper${comid}.${soext}"
-
-    if [ -r "${OO_SDK_URE_LIB_DIR}/libstlport_${pltfrm}${STLDEBUG}.${soext}" ]
+    if [ -L "${OO_SDK_OUT}/${directoryname}/lib/libstlport_${pltfrm}${STLDEBUG}.${soext}" ]
     then
-	ln -s "${OO_SDK_URE_LIB_DIR}/libstlport_${pltfrm}${STLDEBUG}.${soext}" \
-	    "${OO_SDK_OUT}/${directoryname}/lib/libstlport_${pltfrm}${STLDEBUG}.${soext}"
+	rm -rf "${OO_SDK_OUT}/${directoryname}/lib/libstlport_${pltfrm}${STLDEBUG}.${soext}"
     fi
 
-fi
+#    prepare links 
+    if [ "${OO_SDK_URE_HOME}" ]
+    then
+	mkdir -p "${OO_SDK_OUT}/${directoryname}/lib"
+	ln -s "${OO_SDK_URE_LIB_DIR}/libuno_cppu.${soext}.3" \
+	    "${OO_SDK_OUT}/${directoryname}/lib/libuno_cppu.${soext}"
+	ln -s "${OO_SDK_URE_LIB_DIR}/libuno_cppuhelper${comid}.${soext}.3" \
+	    "${OO_SDK_OUT}/${directoryname}/lib/libuno_cppuhelper${comid}.${soext}"
+	ln -s "${OO_SDK_URE_LIB_DIR}/libuno_sal.${soext}.3" \
+	    "${OO_SDK_OUT}/${directoryname}/lib/libuno_sal.${soext}"
+	ln -s "${OO_SDK_URE_LIB_DIR}/libuno_salhelper${comid}.${soext}.3" \
+	    "${OO_SDK_OUT}/${directoryname}/lib/libuno_salhelper${comid}.${soext}"
+
+	if [ -r "${OO_SDK_URE_LIB_DIR}/libstlport_${pltfrm}${STLDEBUG}.${soext}" ]
+	then
+	    ln -s "${OO_SDK_URE_LIB_DIR}/libstlport_${pltfrm}${STLDEBUG}.${soext}" \
+		"${OO_SDK_OUT}/${directoryname}/lib/libstlport_${pltfrm}${STLDEBUG}.${soext}"
+	fi
+    fi
+fi 
+
 
 # Prepare shell with all necessary environment variables.
 echo 
diff --git a/odk/settings/settings.mk b/odk/settings/settings.mk
index 350a78c..7f6d408 100644
--- a/odk/settings/settings.mk
+++ b/odk/settings/settings.mk
@@ -216,7 +216,7 @@ endif
 COMP_LINK_FLAGS=$(LIBRARY_LINK_FLAGS) -M $(PRJ)/settings/component.uno.map
 
 EXE_LINK_FLAGS=-w -mt -z combreloc -PIC -temp=/tmp -norunpath -Bdirect -z defs
-LINK_LIBS=-L$(OUT)/lib -L$(OO_SDK_OUT)/$(PLATFORM)/lib -L"$(OO_SDK_URE_LIB_DIR)"
+LINK_LIBS=-L"$(OUT)/lib" -L"$(OO_SDK_HOME)/lib" -L"$(OO_SDK_URE_LIB_DIR)"
 LINK_JAVA_LIBS=-L"$(OO_SDK_JAVA_HOME)/jre/lib/$(JAVA_PROC_TYPE)"
 
 ifeq "$(PROCTYPE)" "sparc64"
@@ -362,7 +362,7 @@ COMP_LINK_FLAGS=$(LIBRARY_LINK_FLAGS) -Wl,--version-script,$(PRJ)/settings/compo
 
 #EXE_LINK_FLAGS=-Wl,--allow-shlib-undefined -Wl,-export-dynamic -Wl,-z,defs -Wl,--whole-archive -lsalcpprt -Wl,--no-whole-archive
 EXE_LINK_FLAGS=-Wl,--allow-shlib-undefined -Wl,-export-dynamic -Wl,-z,defs -Wl,--no-whole-archive
-LINK_LIBS=-L$(OUT)/lib -L$(OO_SDK_OUT)/$(PLATFORM)/lib -L"$(OO_SDK_URE_LIB_DIR)"
+LINK_LIBS=-L"$(OUT)/lib" -L"$(OO_SDK_HOME)/lib" -L"$(OO_SDK_URE_LIB_DIR)"
 LINK_JAVA_LIBS=-L"$(OO_SDK_JAVA_HOME)/jre/lib/$(JAVA_PROC_TYPE)"
 
 ifneq "$(OO_SDK_URE_HOME)" ""
@@ -570,7 +570,7 @@ COMP_LINK_FLAGS=$(LIBRARY_LINK_FLAGS) -Wl,--version-script,$(PRJ)/settings/compo
 
 EXE_LINK_FLAGS=-Wl,--allow-shlib-undefined 
 #EXE_LINK_FLAGS+=-Wl,-export-dynamic -Wl,-z,defs
-LINK_LIBS=-L$(OUT)/lib -L$(OO_SDK_OUT)/$(PLATFORM)/lib -L"$(OO_SDK_URE_LIB_DIR)" $(PTHREAD_LIBS)
+LINK_LIBS=-L"$(OUT)/lib" -L"$(OO_SDK_HOME)/lib" -L"$(OO_SDK_URE_LIB_DIR)" $(PTHREAD_LIBS)
 LINK_JAVA_LIBS=-L"$(OO_SDK_JAVA_HOME)/jre/lib/$(JAVA_PROC_TYPE)"
 
 ifneq "$(OO_SDK_URE_HOME)" ""
diff --git a/odk/util/makefile.pmk b/odk/util/makefile.pmk
index c179f10..5f4ff8f 100644
--- a/odk/util/makefile.pmk
+++ b/odk/util/makefile.pmk
@@ -30,7 +30,7 @@
 #*************************************************************************
 
 # used for sdk common files
-PRODUCT_RELEASE=3.1
+PRODUCT_RELEASE=3.1.1
 OFFICENAME=OpenOffice.org
 SDKDIRNAME=openoffice.org$(PRODUCT_RELEASE)_sdk
 OFFICEPRODUCTNAME=$(OFFICENAME) $(PRODUCT_RELEASE)
commit c6c6c7fc6c7f98fa63120aa3a02a653b8e0a9ded
Author: Vladimir Glazounov <vg at openoffice.org>
Date:   Mon Jul 6 09:00:26 2009 +0000

    CWS-TOOLING: integrate CWS dba32d
    2009-06-30 08:58:13 +0200 fs  r273488 : merging latest changes from CWS dba32c
    2009-06-29 11:40:42 +0200 oj  r273459 : #i101652# fix token handling
    2009-06-26 09:27:30 +0200 oj  r273394 : #i101994# wrong condition checked
    2009-06-22 12:09:04 +0200 fs  r273210 : merging latest changes from CWS dba32c
    2009-06-18 11:01:06 +0200 fs  r273108 : merge latest changes from CWS dba32c
    2009-06-17 14:19:33 +0200 oj  r273072 : handle images at the correct position
    2009-06-17 13:37:19 +0200 oj  r273067 : compile error
    2009-06-17 13:35:58 +0200 oj  r273066 : #i102201# handle images
    2009-06-17 13:27:21 +0200 oj  r273065 : #i80917# disable checkbox for internal copy
    2009-06-17 13:25:38 +0200 oj  r273064 : #i80917# disable checkbox for internal copy
    2009-06-15 12:59:16 +0200 fs  r272978 : merging latest changes from CWS dba32c
    2009-06-15 10:45:58 +0200 fs  r272967 : CWS-TOOLING: rebase CWS dba32d to trunk at 272827 (milestone: DEV300:m50)
    2009-06-15 08:41:05 +0200 fs  r272960 : merging changes from CWS dba32c (resulting from rebasing dba32c to m50)
    2009-06-03 12:22:32 +0200 fs  r272554 : merging latest changes from CWS dba32c
    2009-06-03 11:11:27 +0200 fs  r272549 : #i100818# special treatment for DataAwareness not needed anymore
    2009-06-03 11:07:01 +0200 fs  r272548 : #i10000# removed package declaration
    2009-06-03 09:21:03 +0200 oj  r272537 : #i93465# save window states
    2009-06-03 08:56:25 +0200 oj  r272535 : solve compiler warnings
    2009-06-03 08:55:02 +0200 oj  r272534 : #i102295# export shapes i the first cell
    2009-06-03 07:35:18 +0200 oj  r272533 : #i101994# check for - and + prefix
    2009-06-03 06:51:38 +0200 oj  r272531 : #i101463# use uncomposed table name
    2009-06-03 06:33:06 +0200 oj  r272530 : #i102019# word corrected
    2009-06-02 14:58:28 +0200 fs  r272507 : #i102443# call initializeParser from LoadFinished
    2009-06-02 14:30:10 +0200 oj  r272504 : #i102019# introduce static ints
    2009-06-02 13:51:02 +0200 oj  r272501 : #i102439# wrong method used
    2009-06-02 13:44:09 +0200 fs  r272500 : #i102440# when tampering with Order/GroupBy, reset the cached columns
    2009-06-02 10:53:01 +0200 fs  r272487 : #i102234# preserve the original filter when using a 0=1 filter
    2009-06-02 10:21:21 +0200 oj  r272486 : #i100535# handle time values as float
    2009-06-02 10:19:07 +0200 fs  r272485 : merging latest changes from CWS dba32c
    2009-05-29 16:00:15 +0200 fs  r272467 : merging latest changes from dba32c
    2009-05-29 15:31:25 +0200 fs  r272462 : merging latest changes from dba32c
    2009-05-29 10:58:03 +0200 oj  r272438 : #101135# export embedded-text
    2009-05-29 08:17:57 +0200 oj  r272431 : #i80917# make attribute not optional
    2009-05-29 08:17:32 +0200 oj  r272430 : remoe unused token
    2009-05-29 07:17:15 +0200 oj  r272429 : #i80917# make attribute not optional
    2009-05-28 12:48:14 +0200 oj  r272401 : #i102201# insert images in context menu
    2009-05-28 12:47:44 +0200 oj  r272400 : #i80917# add new attribute to handle first line
    2009-05-28 12:16:12 +0200 oj  r272397 : #i96134# add / to path when it doesn't exist
    2009-05-28 12:11:08 +0200 oj  r272390 : #i80917# add new attribute to handle first line
    2009-05-28 11:33:35 +0200 oj  r272388 : #i101652# add new checkbox to handle header line as column names
    2009-05-28 11:30:15 +0200 oj  r272387 : #i101652# add localize
    2009-05-28 11:15:53 +0200 oj  r272386 : merge from dba32c
    2009-05-28 09:08:25 +0200 fs  r272378 : merged a build fix from CWS dba32c

diff --git a/odk/examples/DevelopersGuide/Forms/ButtonOperator.java b/odk/examples/DevelopersGuide/Forms/ButtonOperator.java
index 72cdc11..07aea59 100644
--- a/odk/examples/DevelopersGuide/Forms/ButtonOperator.java
+++ b/odk/examples/DevelopersGuide/Forms/ButtonOperator.java
@@ -39,7 +39,6 @@
  *************************************************************************/
 package org.openoffice.sdk.forms;
 
-
 // java base stuff
 import com.sun.star.awt.ActionEvent;
 import com.sun.star.awt.XActionListener;
diff --git a/odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java b/odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java
index 3ab244c..300c15f 100644
--- a/odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java
+++ b/odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java
@@ -29,7 +29,6 @@
  ************************************************************************/
 package org.openoffice.sdk.forms;
 
-
 import com.sun.star.bridge.XUnoUrlResolver;
 import com.sun.star.lang.XMultiComponentFactory;
 import com.sun.star.uno.UnoRuntime;
diff --git a/odk/examples/DevelopersGuide/Forms/Makefile b/odk/examples/DevelopersGuide/Forms/Makefile
index 37b1fa6..b461e92 100644
--- a/odk/examples/DevelopersGuide/Forms/Makefile
+++ b/odk/examples/DevelopersGuide/Forms/Makefile
@@ -194,9 +194,6 @@ FormsExample : $(APP1_JAR)  $(APP2_JAR)  $(APP3_JAR)  $(APP4_JAR)
 ProgrammaticScriptAssignment.odt.load : $(COMP_REGISTERFLAG)
 	"$(OFFICE_PROGRAM_PATH)$(PS)soffice" $(basename $@)
 
-DataAwareness.run: $(SAMPLE_CLASS_OUT)/DataAwareness.jar
-	$(SDK_JAVA) -Dcom.sun.star.lib.loader.unopath="$(OFFICE_PROGRAM_PATH)" -jar $< -d OO_SDK_Demo_DB -t bugs
-
 %.run: $(SAMPLE_CLASS_OUT)/%.jar
 	$(SDK_JAVA) -Dcom.sun.star.lib.loader.unopath="$(OFFICE_PROGRAM_PATH)" -jar $<
 


More information about the ooo-build-commit mailing list