diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2010-05-27 14:38:17 +0200 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2010-05-27 14:38:17 +0200 |
commit | 6d7096776af5f158cdc8f1ee0a1372ff746dcc94 (patch) | |
tree | d83bf732a235a191cad609904e1f9d114a3e3713 /solenv | |
parent | 50bfcdd1309fd0212fbcd1bce4e559429dccd12c (diff) | |
parent | 60107536ed98be1eb4c042ab680f43072072118e (diff) |
CWS-TOOLING: integrate CWS sb122
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/bin/macosx-change-install-names.pl | 4 | ||||
-rw-r--r-- | solenv/bin/packregistry.xslt | 10 | ||||
-rw-r--r-- | solenv/inc/libs.mk | 2 | ||||
-rw-r--r-- | solenv/inc/settings.mk | 1 | ||||
-rw-r--r-- | solenv/inc/unxlng.mk | 1 | ||||
-rw-r--r-- | solenv/inc/unxmacx.mk | 1 | ||||
-rw-r--r-- | solenv/inc/unxsoli4.mk | 1 | ||||
-rw-r--r-- | solenv/inc/unxsols4.mk | 1 | ||||
-rw-r--r-- | solenv/inc/unxsolu4.mk | 2 |
9 files changed, 16 insertions, 7 deletions
diff --git a/solenv/bin/macosx-change-install-names.pl b/solenv/bin/macosx-change-install-names.pl index 6f824f34ff0c..5ccedccb6027 100644 --- a/solenv/bin/macosx-change-install-names.pl +++ b/solenv/bin/macosx-change-install-names.pl @@ -44,6 +44,8 @@ sub action($$$) 'shl/OOO/URELIB' => '@loader_path/../ure-link/lib', 'shl/OOO/OOO' => '@loader_path', 'shl/OXT/URELIB' => '@executable_path/urelibs', + 'shl/BOXT/URELIB' => '@executable_path/urelibs', + 'shl/BOXT/OOO' => '@loader_path/../../../../../../basis-link/program', 'shl/NONE/URELIB' => '@__VIA_LIBRARY_PATH__', 'shl/NONE/OOO' => '@__VIA_LIBRARY_PATH__', 'shl/NONE/NONE' => '@__VIA_LIBRARY_PATH__'); @@ -54,7 +56,7 @@ sub action($$$) } @ARGV == 3 || @ARGV >= 2 && $ARGV[0] eq "extshl" or die - 'Usage: app|shl|extshl UREBIN|URELIB|OOO|SDK|BRAND|OXT|NONE <filepath>*'; + 'Usage: app|shl|extshl UREBIN|URELIB|OOO|SDK|BRAND|OXT|BOXT|NONE <filepath>*'; $type = shift @ARGV; $loc = shift @ARGV; if ($type eq "extshl") diff --git a/solenv/bin/packregistry.xslt b/solenv/bin/packregistry.xslt index 76b4c5eeffe8..7c118f90136f 100644 --- a/solenv/bin/packregistry.xslt +++ b/solenv/bin/packregistry.xslt @@ -28,6 +28,7 @@ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:oor="http://openoffice.org/2001/registry"> + <xsl:param name="prefix"/> <xsl:strip-space elements="*"/> <xsl:preserve-space elements="value it"/> <!-- TODO: strip space from "value" elements that have "it" children --> @@ -45,12 +46,13 @@ (e.g., xcs files preceeding xcu files). --> <xsl:for-each select="list/filename"> + <xsl:variable name="doc" select="document(concat($prefix, .))"/> <xsl:choose> - <xsl:when test="count(document(.)/oor:component-schema) = 1"> - <xsl:apply-templates select="document(.)/oor:component-schema"/> + <xsl:when test="count($doc/oor:component-schema) = 1"> + <xsl:apply-templates select="$doc/oor:component-schema"/> </xsl:when> - <xsl:when test="count(document(.)/oor:component-data) = 1"> - <xsl:apply-templates select="document(.)/oor:component-data"/> + <xsl:when test="count($doc/oor:component-data) = 1"> + <xsl:apply-templates select="$doc/oor:component-data"/> </xsl:when> <xsl:otherwise> <xsl:message terminate="yes"> diff --git a/solenv/inc/libs.mk b/solenv/inc/libs.mk index 09b4169048a6..9f758f687a3e 100644 --- a/solenv/inc/libs.mk +++ b/solenv/inc/libs.mk @@ -349,7 +349,6 @@ PYUNOLIB=-lpyuno LPSOLVELIB=-llpsolve55 SOFFICELIB=-lsofficeapp UNOPKGAPPLIB=-lunopkgapp -CONFIGMGRLIB=-lconfigmgr TESTLIB=-ltest .ELSE # ("$(GUI)"=="UNX" || "$(COM)"=="GCC") && "$(GUI)"!="OS2" @@ -531,7 +530,6 @@ PYUNOLIB=ipyuno.lib LPSOLVELIB=lpsolve55.lib SOFFICELIB=isofficeapp.lib UNOPKGAPPLIB=iunopkgapp.lib -CONFIGMGRLIB=iconfigmgr.lib TESTLIB=itest.lib .ENDIF # ("$(GUI)"=="UNX" || "$(COM)"=="GCC") && "$(GUI)"!="OS2" diff --git a/solenv/inc/settings.mk b/solenv/inc/settings.mk index d2fcafa3fe13..ccd8f929d5fe 100644 --- a/solenv/inc/settings.mk +++ b/solenv/inc/settings.mk @@ -1276,6 +1276,7 @@ LINKFLAGSRUNPATH_OOO*= LINKFLAGSRUNPATH_SDK*= LINKFLAGSRUNPATH_BRAND*= LINKFLAGSRUNPATH_OXT*= +LINKFLAGSRUNPATH_BOXT*= LINKFLAGSRUNPATH_NONE*= # make sure both linker variables are set diff --git a/solenv/inc/unxlng.mk b/solenv/inc/unxlng.mk index b27afb8c1fa4..62a96f9c5f49 100644 --- a/solenv/inc/unxlng.mk +++ b/solenv/inc/unxlng.mk @@ -151,6 +151,7 @@ LINKFLAGSRUNPATH_OOO=-Wl,-rpath,\''$$ORIGIN:$$ORIGIN/../ure-link/lib'\' LINKFLAGSRUNPATH_SDK=-Wl,-rpath,\''$$ORIGIN/../../ure-link/lib'\' LINKFLAGSRUNPATH_BRAND=-Wl,-rpath,\''$$ORIGIN:$$ORIGIN/../basis-link/program:$$ORIGIN/../basis-link/ure-link/lib'\' LINKFLAGSRUNPATH_OXT= +LINKFLAGSRUNPATH_BOXT=-Wl,-rpath,\''$$ORIGIN/../../../../../../basis-link/program'\' LINKFLAGSRUNPATH_NONE= # flag -Wl,-z,noexecstack sets the NX bit on the stack LINKFLAGS=-Wl,-z,noexecstack -Wl,-z,combreloc $(LINKFLAGSDEFS) diff --git a/solenv/inc/unxmacx.mk b/solenv/inc/unxmacx.mk index 6ea51ae6ccfe..77a348138e30 100644 --- a/solenv/inc/unxmacx.mk +++ b/solenv/inc/unxmacx.mk @@ -206,6 +206,7 @@ LINKFLAGSRUNPATH_OOO=-install_name '@___________________________________________ LINKFLAGSRUNPATH_SDK= LINKFLAGSRUNPATH_BRAND= LINKFLAGSRUNPATH_OXT= +LINKFLAGSRUNPATH_BOXT= LINKFLAGSRUNPATH_NONE=-install_name '@__________________________________________________NONE/$(@:f)' LINKFLAGS=$(LINKFLAGSDEFS) diff --git a/solenv/inc/unxsoli4.mk b/solenv/inc/unxsoli4.mk index 0f227f9520fc..5ddbe058b299 100644 --- a/solenv/inc/unxsoli4.mk +++ b/solenv/inc/unxsoli4.mk @@ -137,6 +137,7 @@ LINKFLAGSRUNPATH_OOO=-R\''$$ORIGIN:$$ORIGIN/../ure-link/lib'\' LINKFLAGSRUNPATH_SDK=-R\''$$ORIGIN/../../ure-link/lib'\' LINKFLAGSRUNPATH_BRAND=-R\''$$ORIGIN:$$ORIGIN/../basis-link/program:$$ORIGIN/../basis-link/ure-link/lib'\' LINKFLAGSRUNPATH_OXT= +LINKFLAGSRUNPATH_BOXT=-R\''$$ORIGIN/../../../../../../basis-link/program'\' LINKFLAGSRUNPATH_NONE= LINKFLAGS=-w -mt -z combreloc -PIC -temp=/tmp -norunpath -library=no%Cstd LINKCFLAGS=-w -mt -z combreloc -norunpath diff --git a/solenv/inc/unxsols4.mk b/solenv/inc/unxsols4.mk index 0bd85aa0bd4f..92720da3de47 100644 --- a/solenv/inc/unxsols4.mk +++ b/solenv/inc/unxsols4.mk @@ -143,6 +143,7 @@ LINKFLAGSRUNPATH_OOO=-R\''$$ORIGIN:$$ORIGIN/../ure-link/lib'\' LINKFLAGSRUNPATH_SDK=-R\''$$ORIGIN/../../ure-link/lib'\' LINKFLAGSRUNPATH_BRAND=-R\''$$ORIGIN:$$ORIGIN/../basis-link/program:$$ORIGIN/../basis-link/ure-link/lib'\' LINKFLAGSRUNPATH_OXT= +LINKFLAGSRUNPATH_BOXT=-R\''$$ORIGIN/../../../../../../basis-link/program'\' LINKFLAGSRUNPATH_NONE= LINKFLAGS=-w -mt -z combreloc -PIC -temp=/tmp -norunpath -library=no%Cstd LINKCFLAGS=-w -mt -z combreloc -norunpath diff --git a/solenv/inc/unxsolu4.mk b/solenv/inc/unxsolu4.mk index 494ecb0478b3..45dadc53f533 100644 --- a/solenv/inc/unxsolu4.mk +++ b/solenv/inc/unxsolu4.mk @@ -137,6 +137,8 @@ LINKFLAGSRUNPATH_UREBIN=-R\''$$ORIGIN/../lib:$$ORIGIN'\' LINKFLAGSRUNPATH_OOO=-R\''$$ORIGIN:$$ORIGIN/../ure-link/lib'\' LINKFLAGSRUNPATH_BRAND=-R\''$$ORIGIN:$$ORIGIN/../basis-link/program:$$ORIGIN/../basis-link/ure-link/lib'\' LINKFLAGSRUNPATH_OXT= +LINKFLAGSRUNPATH_BOXT=-R\''$$ORIGIN/../../../../../../basis-link/program'\' +LINKFLAGSRUNPATH_NONE= LINKFLAGS=-m64 -w -mt -z combreloc -PIC -temp=/tmp -norunpath -library=stlport4 LINKCFLAGS=-m64 -w -mt -z combreloc -norunpath |