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
a673974e
Kaydet (Commit)
a673974e
authored
Haz 07, 2013
tarafından
Jürgen Schmidt
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#122478# further cleanup for 3layer changes
üst
01df80b4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
43 deletions
+14
-43
unoinfo.sh
desktop/scripts/unoinfo.sh
+5
-5
unopkg.sh
desktop/scripts/unopkg.sh
+1
-1
unoinfo.cxx
desktop/win32/source/unoinfo.cxx
+8
-37
No files found.
desktop/scripts/unoinfo.sh
Dosyayı görüntüle @
a673974e
...
@@ -34,14 +34,14 @@ sd_prog=`pwd`
...
@@ -34,14 +34,14 @@ sd_prog=`pwd`
case
$1
in
case
$1
in
c++
)
c++
)
printf
'%s'
"
$sd_prog
/../basis-link/ure-link/lib
"
printf
'%s'
"
$sd_prog
"
;;
;;
java
)
java
)
printf
'0%s\0%s\0%s\0%s\0%s'
\
printf
'0%s\0%s\0%s\0%s\0%s'
\
"
$sd_prog
/
../basis-link/ure-link/share/java
/ridl.jar"
\
"
$sd_prog
/
classes
/ridl.jar"
\
"
$sd_prog
/
../basis-link/ure-link/share/java
/jurt.jar"
\
"
$sd_prog
/
classes
/jurt.jar"
\
"
$sd_prog
/
../basis-link/ure-link/share
/java/juh.jar"
\
"
$sd_prog
/
classes
/java/juh.jar"
\
"
$sd_prog
/
../basis-link/program/
classes/unoil.jar"
"
$sd_prog
"
"
$sd_prog
/classes/unoil.jar"
"
$sd_prog
"
;;
;;
*
)
*
)
exit
1
exit
1
...
...
desktop/scripts/unopkg.sh
Dosyayı görüntüle @
a673974e
...
@@ -58,7 +58,7 @@ fi
...
@@ -58,7 +58,7 @@ fi
# extend the ld_library_path for java: javaldx checks the sofficerc for us
# extend the ld_library_path for java: javaldx checks the sofficerc for us
if
[
-x
"
$sd_prog
/../basis-link/ure-link/bin/javaldx"
]
;
then
if
[
-x
"
$sd_prog
/../basis-link/ure-link/bin/javaldx"
]
;
then
my_path
=
`
"
$sd_prog
/
../basis-link/ure-link/bin/
javaldx"
$BOOTSTRAPVARS
$JVMFWKPARAMS
\
my_path
=
`
"
$sd_prog
/javaldx"
$BOOTSTRAPVARS
$JVMFWKPARAMS
\
"-env:INIFILENAME=vnd.sun.star.pathname:
$sd_prog
/redirectrc"
`
"-env:INIFILENAME=vnd.sun.star.pathname:
$sd_prog
/redirectrc"
`
if
[
-n
"
$my_path
"
]
;
then
if
[
-n
"
$my_path
"
]
;
then
LD_LIBRARY_PATH
=
$my_path
${
LD_LIBRARY_PATH
:+:
$LD_LIBRARY_PATH
}
LD_LIBRARY_PATH
=
$my_path
${
LD_LIBRARY_PATH
:+:
$LD_LIBRARY_PATH
}
...
...
desktop/win32/source/unoinfo.cxx
Dosyayı görüntüle @
a673974e
...
@@ -66,10 +66,7 @@ void writePath(
...
@@ -66,10 +66,7 @@ void writePath(
if
(
end
==
NULL
)
{
if
(
end
==
NULL
)
{
exit
(
EXIT_FAILURE
);
exit
(
EXIT_FAILURE
);
}
}
std
::
size_t
n
=
(
end
-
path
)
*
sizeof
(
wchar_t
);
fprintf
(
stdout
,
"%S"
,
path
);
if
(
fwrite
(
path
,
1
,
n
,
stdout
)
!=
n
)
{
exit
(
EXIT_FAILURE
);
}
}
}
}
}
...
@@ -83,23 +80,12 @@ int wmain(int argc, wchar_t ** argv, wchar_t **) {
...
@@ -83,23 +80,12 @@ int wmain(int argc, wchar_t ** argv, wchar_t **) {
#endif
#endif
wchar_t
path
[
MAX_PATH
];
wchar_t
path
[
MAX_PATH
];
wchar_t
*
pathEnd
=
getBrandPath
(
path
);
wchar_t
*
pathEnd
=
getBrandPath
(
path
);
if
(
tools
::
buildPath
(
path
,
path
,
pathEnd
,
MY_STRING
(
L"..
\\
basis-link"
))
==
NULL
)
{
exit
(
EXIT_FAILURE
);
}
pathEnd
=
tools
::
resolveLink
(
path
);
if
(
pathEnd
==
NULL
||
(
tools
::
buildPath
(
path
,
path
,
pathEnd
,
MY_STRING
(
L"
\\
ure-link"
))
==
NULL
))
{
exit
(
EXIT_FAILURE
);
}
pathEnd
=
tools
::
resolveLink
(
path
);
if
(
pathEnd
==
NULL
)
{
if
(
pathEnd
==
NULL
)
{
exit
(
EXIT_FAILURE
);
exit
(
EXIT_FAILURE
);
}
}
writePath
(
path
,
pathEnd
,
MY_STRING
(
L"
\\
bin"
));
writePath
(
path
,
pathEnd
,
MY_STRING
(
L""
));
#ifdef __MINGW32__
#ifdef __MINGW32__
}
else
if
(
argc
==
2
&&
strcmp
(
argv
[
1
],
"java"
)
==
0
)
{
}
else
if
(
argc
==
2
&&
strcmp
(
argv
[
1
],
"java"
)
==
0
)
{
#else
#else
...
@@ -111,32 +97,17 @@ int wmain(int argc, wchar_t ** argv, wchar_t **) {
...
@@ -111,32 +97,17 @@ int wmain(int argc, wchar_t ** argv, wchar_t **) {
wchar_t
path
[
MAX_PATH
];
wchar_t
path
[
MAX_PATH
];
wchar_t
*
pathEnd
=
getBrandPath
(
path
);
wchar_t
*
pathEnd
=
getBrandPath
(
path
);
writePath
(
path
,
pathEnd
,
MY_STRING
(
L""
));
writePath
(
path
,
pathEnd
,
MY_STRING
(
L""
));
if
(
tools
::
buildPath
(
path
,
path
,
pathEnd
,
MY_STRING
(
L"..
\\
basis-link"
))
==
NULL
)
{
exit
(
EXIT_FAILURE
);
}
pathEnd
=
tools
::
resolveLink
(
path
);
if
(
pathEnd
==
NULL
)
{
if
(
pathEnd
==
NULL
)
{
exit
(
EXIT_FAILURE
);
exit
(
EXIT_FAILURE
);
}
}
writeNull
();
writeNull
();
writePath
(
path
,
pathEnd
,
MY_STRING
(
L"
\\
program
\\
classes
\\
unoil.jar"
));
writePath
(
path
,
pathEnd
,
MY_STRING
(
L"classes
\\
unoil.jar"
));
if
(
tools
::
buildPath
(
path
,
path
,
pathEnd
,
MY_STRING
(
L"
\\
ure-link"
))
==
NULL
)
{
exit
(
EXIT_FAILURE
);
}
pathEnd
=
tools
::
resolveLink
(
path
);
if
(
pathEnd
==
NULL
)
{
exit
(
EXIT_FAILURE
);
}
writeNull
();
writeNull
();
writePath
(
path
,
pathEnd
,
MY_STRING
(
L"
\
\
java
\\
ridl.jar"
));
writePath
(
path
,
pathEnd
,
MY_STRING
(
L"\
classes
\\
ridl.jar"
));
writeNull
();
writeNull
();
writePath
(
path
,
pathEnd
,
MY_STRING
(
L"
\\
java
\\
jurt.jar"
));
writePath
(
path
,
pathEnd
,
MY_STRING
(
L"
classes
\\
jurt.jar"
));
writeNull
();
writeNull
();
writePath
(
path
,
pathEnd
,
MY_STRING
(
L"
\\
java
\\
juh.jar"
));
writePath
(
path
,
pathEnd
,
MY_STRING
(
L"
classes
\\
juh.jar"
));
}
else
{
}
else
{
exit
(
EXIT_FAILURE
);
exit
(
EXIT_FAILURE
);
}
}
...
...
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