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
03996d64
Kaydet (Commit)
03996d64
authored
Eyl 19, 2011
tarafından
Baptiste Daroussin
Kaydeden (comit)
Tomas Chvatal
Eyl 19, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use PREFIXDIR each time possible to allow installing where /usr is not the prefix
üst
5f98bc4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
distro-install-desktop-integration
bin/distro-install-desktop-integration
+13
-13
No files found.
bin/distro-install-desktop-integration
Dosyayı görüntüle @
03996d64
...
@@ -12,10 +12,10 @@ create_wrapper()
...
@@ -12,10 +12,10 @@ create_wrapper()
echo
"Install
$PREFIXDIR
/bin/
$1
"
echo
"Install
$PREFIXDIR
/bin/
$1
"
if
test
-L
"
$DESTDIR$PREFIXDIR
/bin/
$1
"
;
then
if
test
-L
"
$DESTDIR$PREFIXDIR
/bin/
$1
"
;
then
# do not overwrite
/usr
/bin/libreoffice symlink created by create_tree.sh
# do not overwrite
$PREFIXDIR
/bin/libreoffice symlink created by create_tree.sh
# the symlink is necessary by java UNO components to find
# the symlink is necessary by java UNO components to find
# the UNO installation using $PATH; this function used to be provided
# the UNO installation using $PATH; this function used to be provided
# by
/usr
/bin/soffice symlink, see
# by
$PREFIXDIR
/bin/soffice symlink, see
# http://udk.openoffice.org/common/man/spec/transparentofficecomponents.html
# http://udk.openoffice.org/common/man/spec/transparentofficecomponents.html
# Note: if you want to support parallel installation of more OOo versions
# Note: if you want to support parallel installation of more OOo versions
# you cannot include this link directly into the package
# you cannot include this link directly into the package
...
@@ -87,7 +87,7 @@ add_wrapper()
...
@@ -87,7 +87,7 @@ add_wrapper()
test
-n
"
$oowrapper_name
"
&&
create_man_link
"
$oowrapper_name
"
"
$used_man_page
"
"
$file_list
"
test
-n
"
$oowrapper_name
"
&&
create_man_link
"
$oowrapper_name
"
"
$used_man_page
"
"
$file_list
"
# add desktop file to the right file list
# add desktop file to the right file list
test
-n
"
$desktop_file
"
-a
-f
"
$DESTDIR
/
$file_list
"
&&
echo
"
/usr
/share/applications/
$desktop_file
"
>>
"
$DESTDIR
/
$file_list
"
test
-n
"
$desktop_file
"
-a
-f
"
$DESTDIR
/
$file_list
"
&&
echo
"
$PREFIXDIR
/share/applications/
$desktop_file
"
>>
"
$DESTDIR
/
$file_list
"
}
}
# install desktop integration from plain packages
# install desktop integration from plain packages
...
@@ -109,8 +109,8 @@ sed -i \
...
@@ -109,8 +109,8 @@ sed -i \
export
ICON_PREFIX
=
$INSTALLDIRNAME
export
ICON_PREFIX
=
$INSTALLDIRNAME
export
ICON_SOURCE_DIR
=
$builddir
/sysui/desktop/icons
export
ICON_SOURCE_DIR
=
$builddir
/sysui/desktop/icons
export
PRODUCTVERSION
=
export
PRODUCTVERSION
=
export
KDEMAINDIR
=
/usr
export
KDEMAINDIR
=
$PREFIXDIR
export
GNOMEDIR
=
/usr
export
GNOMEDIR
=
$PREFIXDIR
export
GNOME_MIME_THEME
=
hicolor
export
GNOME_MIME_THEME
=
hicolor
/bin/bash ./create_tree.sh
/bin/bash ./create_tree.sh
)
)
...
@@ -119,8 +119,8 @@ rm -rf $sysui_temp
...
@@ -119,8 +119,8 @@ rm -rf $sysui_temp
# we do not want some stuff from the plain packages
# we do not want some stuff from the plain packages
rm
-f
$DESTDIR
/
$PREFIXDIR
/bin/
$INSTALLDIRNAME
-printeradmin
rm
-f
$DESTDIR
/
$PREFIXDIR
/bin/
$INSTALLDIRNAME
-printeradmin
rm
-f
$DESTDIR
/usr
/share/applications/libreoffice-javafilter.desktop
rm
-f
$DESTDIR
$PREFIXDIR
/share/applications/libreoffice-javafilter.desktop
rm
-f
$DESTDIR
/usr
/share/applications/libreoffice-printeradmin.desktop
rm
-f
$DESTDIR
$PREFIXDIR
/share/applications/libreoffice-printeradmin.desktop
if
test
-d
$DESTDIR
/opt
;
then
if
test
-d
$DESTDIR
/opt
;
then
rm
-f
$DESTDIR
/opt/
$INSTALLDIRNAME
rm
-f
$DESTDIR
/opt/
$INSTALLDIRNAME
rmdir
--ignore-fail-on-non-empty
$DESTDIR
/opt
rmdir
--ignore-fail-on-non-empty
$DESTDIR
/opt
...
@@ -139,11 +139,11 @@ cd -
...
@@ -139,11 +139,11 @@ cd -
# put the stuff installed by create_tree.sh into the right file lists
# put the stuff installed by create_tree.sh into the right file lists
# desktop files will be added by the corresponding add_wrapper command
# desktop files will be added by the corresponding add_wrapper command
if
test
-f
$DESTDIR
/gid_Module_Root_Brand
;
then
if
test
-f
$DESTDIR
/gid_Module_Root_Brand
;
then
for
dir
in
/usr
/share/application-registry
\
for
dir
in
$PREFIXDIR
/share/application-registry
\
/usr
/share/mimelnk/application
\
$PREFIXDIR
/share/mimelnk/application
\
/usr
/share/mime/packages
\
$PREFIXDIR
/share/mime/packages
\
/usr
/share/mime-info
\
$PREFIXDIR
/share/mime-info
\
/usr
/share/icons
;
do
$PREFIXDIR
/share/icons
;
do
find
"
$DESTDIR$dir
"
\(
-type
f
-o
-type
l
\)
-printf
"
$dir
/%P
\n
"
>>
$DESTDIR
/gid_Module_Root_Brand
find
"
$DESTDIR$dir
"
\(
-type
f
-o
-type
l
\)
-printf
"
$dir
/%P
\n
"
>>
$DESTDIR
/gid_Module_Root_Brand
done
done
fi
fi
...
@@ -162,7 +162,7 @@ add_wrapper libreoffice soffice "" "libreoffice" "libreoffice-star
...
@@ -162,7 +162,7 @@ add_wrapper libreoffice soffice "" "libreoffice" "libreoffice-star
add_wrapper loffice soffice
""
"libreoffice"
""
"gid_Module_Root_Brand"
add_wrapper loffice soffice
""
"libreoffice"
""
"gid_Module_Root_Brand"
add_wrapper unopkg unopkg
""
"unopkg"
""
"gid_Module_Root_Brand"
add_wrapper unopkg unopkg
""
"unopkg"
""
"gid_Module_Root_Brand"
#
/usr
/bin/ooffice symlink is necessary by java UNO components to find
#
$PREFIXDIR
/bin/ooffice symlink is necessary by java UNO components to find
# the UNO installation using $PATH, see
# the UNO installation using $PATH, see
# http://udk.openoffice.org/common/man/spec/transparentofficecomponents.html
# http://udk.openoffice.org/common/man/spec/transparentofficecomponents.html
# Note: if you want to support parallel installation of more OOo versions
# Note: if you want to support parallel installation of more OOo versions
...
...
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