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
5352cbfb
Kaydet (Commit)
5352cbfb
authored
May 07, 2010
tarafından
Ivo Hinkelmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
CWS-TOOLING: integrate CWS sb121
üst
ab7fc9d1
d14f1802
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
64 additions
and
60 deletions
+64
-60
configure
configure
+0
-0
configure.in
configure.in
+49
-36
file_crashrep.scp
scp2/source/crashrep/file_crashrep.scp
+1
-17
packregistry.xslt
solenv/bin/packregistry.xslt
+14
-7
No files found.
configure
Dosyayı görüntüle @
5352cbfb
This diff is collapsed.
Click to expand it.
configure.in
Dosyayı görüntüle @
5352cbfb
...
@@ -1404,6 +1404,9 @@ fi
...
@@ -1404,6 +1404,9 @@ fi
AC_MSG_RESULT($GCC_HOME)
AC_MSG_RESULT($GCC_HOME)
AC_SUBST(GCC_HOME)
AC_SUBST(GCC_HOME)
save_CC=$CC
save_CXX=$CXX
if test -n "$with_gcc_home"; then
if test -n "$with_gcc_home"; then
if test -z "$CC"; then
if test -z "$CC"; then
CC="$with_gcc_home/bin/gcc"
CC="$with_gcc_home/bin/gcc"
...
@@ -1431,7 +1434,6 @@ if test \( "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes" \) -a "$GCC" = "yes"; th
...
@@ -1431,7 +1434,6 @@ if test \( "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes" \) -a "$GCC" = "yes"; th
AC_MSG_CHECKING
([
the
GNU
gcc
compiler
version
])
AC_MSG_CHECKING
([
the
GNU
gcc
compiler
version
])
_gcc_version
=`$
CC
-
dumpversion
`
_gcc_version
=`$
CC
-
dumpversion
`
_gcc_major
=`
echo
$
_gcc_version
|
$
AWK
-
F
.
'{ print \$1 }'
`
_gcc_major
=`
echo
$
_gcc_version
|
$
AWK
-
F
.
'{ print \$1 }'
`
_gcc_longver
=`
echo
$
_gcc_version
|
$
AWK
-
F
.
'{ print \$1*10000+\$2*100+\$3 }'
`
GCCVER
=`
echo
$
_gcc_version
|
$
AWK
-
F
.
'{ print \$1*10000+\$2*100+\$3 }'
`
GCCVER
=`
echo
$
_gcc_version
|
$
AWK
-
F
.
'{ print \$1*10000+\$2*100+\$3 }'
`
if
test
"$_gcc_major"
-
lt
"3"
;
then
if
test
"$_gcc_major"
-
lt
"3"
;
then
...
@@ -1443,7 +1445,22 @@ if test \( "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes" \) -a "$GCC" = "yes"; th
...
@@ -1443,7 +1445,22 @@ if test \( "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes" \) -a "$GCC" = "yes"; th
fi
fi
fi
fi
fi
fi
AC_MSG_RESULT
([
checked
(
gcc
$
_gcc_version
)])
if
test
"$_os"
=
"Darwin"
-
a
"$GCCVER"
-
ge
"040100"
;
then
if
test
-
z
"$save_CC"
-
a
-
x
"$GCC_HOME/bin/gcc-4.0"
;
then
CC
=$
GCC_HOME
/
bin
/
gcc
-
4.0
GCCVER2
=`
"$CC"
-
dumpversion
|
$
AWK
-
F
.
'{ print \$1*10000+\$2*100+\$3 }'
`
if
test
"$GCCVER2"
-
ge
"040000"
-
a
"$GCCVER2"
-
lt
"040100"
;
then
GCCVER
=$
GCCVER2
fi
fi
if
test
"$GCCVER"
-
ge
"040100"
;
then
AC_MSG_ERROR
([
You
need
to
use
the
gcc
-
4.0
compiler
(
gcc
$
_gcc_version
won
't work with the MacOSX10.4u.sdk) - set CC accordingly])
else
AC_MSG_RESULT([implicitly using CC=$CC])
fi
else
AC_MSG_RESULT([checked (gcc $_gcc_version)])
fi
if test "$_os" = "SunOS"; then
if test "$_os" = "SunOS"; then
AC_MSG_CHECKING([gcc linker])
AC_MSG_CHECKING([gcc linker])
if $CC -Wl,--version 2>&1 |head -n 1| grep -v GNU > /dev/null;then
if $CC -Wl,--version 2>&1 |head -n 1| grep -v GNU > /dev/null;then
...
@@ -2048,14 +2065,27 @@ if test "$GXX" = "yes"; then
...
@@ -2048,14 +2065,27 @@ if test "$GXX" = "yes"; then
AC_MSG_CHECKING([the GNU C++ compiler version])
AC_MSG_CHECKING([the GNU C++ compiler version])
_gpp_version=`$CXX -dumpversion`
_gpp_version=`$CXX -dumpversion`
_gpp_major
=`
echo
$
_gpp_version
|
$
AWK
-
F
.
'{ print \$1 }'
`
_gpp_majmin=`echo $_gpp_version | $AWK -F. '
{
print
\$
1
*
100
+\$
2
}
'`
_gpp_minor
=`
echo
$
_gpp_version
|
$
AWK
-
F
.
'{ print \$2 }'
`
if test "$_os" = "Darwin" -a "$_gpp_majmin" -ge "401" ; then
AC_MSG_RESULT
([
checked
(
g
++
$
_gpp_version
)])
if test -z "$save_CXX" -a -x "$GCC_HOME/bin/g++-4.0" ; then
CXX=$GCC_HOME/bin/g++-4.0
_gpp_majmin_2=`"$CXX" -dumpversion | $AWK -F. '
{
print
\$
1
*
100
+\$
2
}
'`
if test "$_gpp_majmin_2" -ge "400" -a "$_gpp_majmin_2" -lt "401" ; then
_gpp_majmin=$_gpp_majmin_2
fi
fi
if test "$_gpp_majmin" -ge "401" ; then
AC_MSG_ERROR([You need to use the g++-4.0 compiler (g++ $_gpp_version won'
t
work
with
the
MacOSX10
.4u
.
sdk
)
-
set
CXX
accordingly
])
else
AC_MSG_RESULT
([
implicitly
using
CXX
=$
CXX
])
fi
else
AC_MSG_RESULT
([
checked
(
g
++
$
_gpp_version
)])
fi
if
test
"$_gpp_major"
=
"3"
;
then
if
test
"$_gpp_majmin"
=
"304"
;
then
if
test
"$_gpp_minor"
=
"4"
;
then
AC_MSG_CHECKING
([
whether
$
CXX
has
the
enum
bug
])
AC_MSG_CHECKING
([
whether
$
CXX
has
the
enum
bug
])
AC_TRY_RUN
([
AC_TRY_RUN
([
extern
"C"
void
abort
(
void
);
extern
"C"
void
abort
(
void
);
extern
"C"
void
exit
(
int
status
);
extern
"C"
void
exit
(
int
status
);
...
@@ -2078,7 +2108,6 @@ main (void)
...
@@ -2078,7 +2108,6 @@ main (void)
return
0
;
return
0
;
}
}
],[
AC_MSG_ERROR
([
your
version
of
the
GNU
C
++
compile
has
a
bug
which
prevents
OpenOffice
.
org
from
being
compiled
correctly
-
please
check
http
://
gcc
.
gnu
.
org
/
ml
/
gcc
-
patches
/
2004
-
07
/
msg00968
.
html
for
details
.])],
[
AC_MSG_RESULT
([
no
])])
],[
AC_MSG_ERROR
([
your
version
of
the
GNU
C
++
compile
has
a
bug
which
prevents
OpenOffice
.
org
from
being
compiled
correctly
-
please
check
http
://
gcc
.
gnu
.
org
/
ml
/
gcc
-
patches
/
2004
-
07
/
msg00968
.
html
for
details
.])],
[
AC_MSG_RESULT
([
no
])])
fi
fi
fi
fi
fi
...
@@ -2218,21 +2247,6 @@ if test "$_os" = "SunOS"; then
...
@@ -2218,21 +2247,6 @@ if test "$_os" = "SunOS"; then
fi
fi
fi
fi
dnl
===================================================================
dnl
===================================================================
dnl
Extra
checking
for
the
DARWIN
compiler
dnl
===================================================================
if
test
"$_os"
=
"Darwin"
;
then
dnl
c
++
packaged
with
cc
(
gcc
)
for
Macosx
if
test
"$CC"
=
"cc"
;
then
AC_MSG_CHECKING
([
Macosx
c
++
Compiler
])
if
test
"$CXX"
!= "c++"; then
AC_MSG_WARN
([
Macosx
C
++
was
not
found
])
echo
"Macosx C++ was not found"
>>
warn
else
AC_MSG_RESULT
([
checked
])
fi
fi
fi
dnl
===================================================================
dnl
Extra
checking
for
the
OSF
compiler
dnl
Extra
checking
for
the
OSF
compiler
dnl
===================================================================
dnl
===================================================================
if
test
"$_os"
=
"OSF1"
;
then
if
test
"$_os"
=
"OSF1"
;
then
...
@@ -3726,26 +3740,25 @@ AC_SUBST(LIBXML_LIBS)
...
@@ -3726,26 +3740,25 @@ AC_SUBST(LIBXML_LIBS)
dnl
===================================================================
dnl
===================================================================
dnl
Check
for
system
python
dnl
Check
for
system
python
dnl
===================================================================
dnl
===================================================================
AC_MSG_CHECKING
([
which
python
to
use
])
if
test
"$_os"
=
"Darwin"
&&
test
"$with_system_python"
!= "no"; then
if
test
"$_os"
=
"Darwin"
&&
test
"$with_system_python"
!= "no"; then
with_system_python
=
yes
with_system_python
=
yes
fi
AC_MSG_RESULT
([
compiling
against
MacOSX10
.4u
.
sdk
(
python
version
2.3
)])
AC_MSG_CHECKING
([
which
python
to
use
])
PYTHON_CFLAGS
=
"-I/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3"
if
test
-
n
"$with_system_python"
-
o
-
n
"$with_system_libs"
&&
\
PYTHON_LIBS
=
"-framework Python"
elif
test
-
n
"$with_system_python"
-
o
-
n
"$with_system_libs"
&&
\
test
"$with_system_python"
!= "no"; then
test
"$with_system_python"
!= "no"; then
SYSTEM_PYTHON
=
YES
with_system_python
=
yes
AC_MSG_RESULT
([
external
])
AC_MSG_RESULT
([
external
])
AM_PATH_PYTHON
([
2.2
])
AM_PATH_PYTHON
([
2.2
])
python_include
=`$
PYTHON
-
c
"import distutils.sysconfig; print distutils.sysconfig.get_config_var('INCLUDEPY');"
`
python_include
=`$
PYTHON
-
c
"import distutils.sysconfig; print distutils.sysconfig.get_config_var('INCLUDEPY');"
`
python_version
=`$
PYTHON
-
c
"import distutils.sysconfig; print distutils.sysconfig.get_config_var('VERSION');"
`
python_version
=`$
PYTHON
-
c
"import distutils.sysconfig; print distutils.sysconfig.get_config_var('VERSION');"
`
PYTHON_CFLAGS
=
"-I$python_include"
PYTHON_CFLAGS
=
"-I$python_include"
PYTHON_LIBS
=
"-lpython$python_version"
if
test
"$_os"
=
"Darwin"
;
then
fi
PYTHON_LIBS
=
"-framework Python"
if
test
"$with_system_python"
=
"yes"
;
then
else
SYSTEM_PYTHON
=
YES
PYTHON_LIBS
=
"-lpython$python_version"
fi
dnl
check
if
the
headers
really
work
:
dnl
check
if
the
headers
really
work
:
save_CPPFLAGS
=
"$CPPFLAGS"
save_CPPFLAGS
=
"$CPPFLAGS"
CPPFLAGS
=
"$CPPFLAGS $PYTHON_CFLAGS"
CPPFLAGS
=
"$CPPFLAGS $PYTHON_CFLAGS"
...
...
scp2/source/crashrep/file_crashrep.scp
Dosyayı görüntüle @
5352cbfb
...
@@ -31,11 +31,7 @@
...
@@ -31,11 +31,7 @@
File gid_Brand_File_Bin_Crashreport
File gid_Brand_File_Bin_Crashreport
BIN_FILE_BODY;
BIN_FILE_BODY;
#ifdef UNX
Name = EXENAME(crashrep);
Name = "crash_report.bin";
#else
Name = "crashrep.exe";
#endif
Dir = gid_Brand_Dir_Program;
Dir = gid_Brand_Dir_Program;
#ifdef WNT
#ifdef WNT
FileDescription = "%PRODUCTNAME Crashreporter";
FileDescription = "%PRODUCTNAME Crashreporter";
...
@@ -66,15 +62,3 @@ File gid_Brand_File_Lib_Dbghelp
...
@@ -66,15 +62,3 @@ File gid_Brand_File_Lib_Dbghelp
End
End
#endif
#endif
#ifdef UNX
File gid_Brand_File_Bin_Crashreport_Script
BIN_FILE_BODY;
Name = "crash_report";
Dir = gid_Brand_Dir_Program;
Styles = (PACKED);
End
#endif
solenv/bin/packregistry.xslt
Dosyayı görüntüle @
5352cbfb
...
@@ -29,7 +29,8 @@
...
@@ -29,7 +29,8 @@
<xsl:stylesheet
version=
"1.0"
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
<xsl:stylesheet
version=
"1.0"
xmlns:xsl=
"http://www.w3.org/1999/XSL/Transform"
xmlns:oor=
"http://openoffice.org/2001/registry"
>
xmlns:oor=
"http://openoffice.org/2001/registry"
>
<xsl:strip-space
elements=
"*"
/>
<xsl:strip-space
elements=
"*"
/>
<xsl:preserve-space
elements=
"value"
/>
<xsl:preserve-space
elements=
"value it"
/>
<!-- TODO: strip space from "value" elements that have "it" children -->
<xsl:template
match=
"/"
>
<xsl:template
match=
"/"
>
<oor:data
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
<oor:data
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
...
@@ -63,19 +64,25 @@
...
@@ -63,19 +64,25 @@
</xsl:template>
</xsl:template>
<xsl:template
<xsl:template
match=
"oor:component-schema|oor:component-data|templates|component|group|
match=
"oor:component-schema|oor:component-data|templates|component|group|
set|node-ref|prop|item|value|node"
>
set|node-ref|prop|item|value|
it|unicode|
node"
>
<xsl:copy
copy-namespaces=
"no"
>
<xsl:copy
copy-namespaces=
"no"
>
<!-- prune oor:component-data xmlns:install="..." namespaces (would only
<!-- prune oor:component-data xmlns:install="..." namespaces (would only
work in XSLT 2.0, however) -->
work in XSLT 2.0, however) -->
<xsl:for-each
select=
"@*"
>
<xsl:apply-templates
select=
"@*"
/>
<xsl:attribute
name=
"{name()}"
>
<xsl:value-of
select=
"."
/>
</xsl:attribute>
</xsl:for-each>
<xsl:apply-templates/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:copy>
</xsl:template>
</xsl:template>
<xsl:template
match=
"value[it]"
>
<xsl:copy
copy-namespaces=
"no"
>
<xsl:apply-templates
select=
"@*"
/>
<xsl:apply-templates
select=
"*"
/>
<!-- ignore text elements (which must be whitespace only) -->
</xsl:copy>
</xsl:template>
<xsl:template
match=
"info|import|uses|constraints"
/>
<xsl:template
match=
"info|import|uses|constraints"
/>
<!-- TODO: no longer strip elements when they are eventually read by
<!-- TODO: no longer strip elements when they are eventually read by
configmgr implementation -->
configmgr implementation -->
<xsl:template
match=
"@*"
>
<xsl:copy/>
</xsl:template>
</xsl:stylesheet>
</xsl:stylesheet>
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