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
010a2a8e
Kaydet (Commit)
010a2a8e
authored
Agu 02, 2016
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Don't use spaces in the product names when packaging.
Change-Id: I55f332117cc7530eb6d562846db379d95e628a22
üst
cc252e16
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
CustomTarget_install.mk
instsetoo_native/CustomTarget_install.mk
+5
-3
ooinstall
solenv/bin/ooinstall
+4
-1
No files found.
instsetoo_native/CustomTarget_install.mk
Dosyayı görüntüle @
010a2a8e
...
...
@@ -59,6 +59,8 @@ export LOCAL_COMMON_OUT := $(instsetoo_OUT)
instsetoo_native_WITH_LANG := en-US $(filter-out en-US,$(gb_WITH_LANG))
PRODUCTNAME_no_spaces := $(subst $(WHITESPACE),,$(PRODUCTNAME))
ifeq (WNT,$(OS))
define instsetoo_native_msitemplates
...
...
@@ -80,7 +82,7 @@ $(foreach pkgformat,$(5),\
&& $(PERL) -w $< \
-f $(BUILDDIR)/instsetoo_native/util/openoffice.lst \
-l $(subst $(WHITESPACE),$(COMMA),$(strip $(2))) \
-p $(PRODUCTNAME)$(3) \
-p $(PRODUCTNAME
_no_spaces
)$(3) \
-u $(instsetoo_OUT) \
-buildid $(if $(filter deb0 rpm0,$(pkgformat)$(LIBO_VERSION_PATCH)),1,$(LIBO_VERSION_PATCH)) \
$(if $(filter WNT,$(OS)), \
...
...
@@ -98,13 +100,13 @@ $(call gb_CustomTarget_get_workdir,instsetoo_native/install)/install.phony:
rm -rf $(instsetoo_OUT)
ifeq (TRUE,$(LIBO_TEST_INSTALL))
$(call instsetoo_native_install_command,openoffice,en-US,,,archive)
unzip -q -d $(TESTINSTALLDIR) $(instsetoo_OUT)/$(PRODUCTNAME)/archive/install/en-US/LibreOffice*_archive.zip
unzip -q -d $(TESTINSTALLDIR) $(instsetoo_OUT)/$(PRODUCTNAME
_no_spaces
)/archive/install/en-US/LibreOffice*_archive.zip
mv $(TESTINSTALLDIR)/LibreOffice*_archive/LibreOffice*/* $(TESTINSTALLDIR)/
rmdir $(TESTINSTALLDIR)/LibreOffice*_archive/LibreOffice*
rmdir $(TESTINSTALLDIR)/LibreOffice*_archive
ifeq (ODK,$(filter ODK,$(BUILD_TYPE)))
$(call instsetoo_native_install_command,sdkoo,en-US,_SDK,,archive)
unzip -q -d $(TESTINSTALLDIR) $(instsetoo_OUT)/$(PRODUCTNAME)_SDK/archive/install/en-US/LibreOffice*_archive_sdk.zip
unzip -q -d $(TESTINSTALLDIR) $(instsetoo_OUT)/$(PRODUCTNAME
_no_spaces
)_SDK/archive/install/en-US/LibreOffice*_archive_sdk.zip
mv $(TESTINSTALLDIR)/LibreOffice*_archive_sdk/LibreOffice*_SDK/sdk \
$(TESTINSTALLDIR)/
rmdir $(TESTINSTALLDIR)/LibreOffice*_archive_sdk/LibreOffice*_SDK
...
...
solenv/bin/ooinstall
Dosyayı görüntüle @
010a2a8e
...
...
@@ -89,11 +89,14 @@ if ($destdir && "$ENV{DESTDIR}" ne "/" && -d "$ENV{DESTDIR}") {
print
"Running LibreOffice installer\n"
;
my
$PRODUCTNAME_no_spaces
=
$ENV
{
PRODUCTNAME
};
$PRODUCTNAME_no_spaces
=~
s/ //g
;
system
(
"cd $ENV{SRC_ROOT}/instsetoo_native/util ; "
.
"perl "
.
(
scalar
keys
(
%
DB::
sub
)
?
"-d "
:
""
)
.
"-w $ENV{SRCDIR}/solenv/bin/make_installer.pl "
.
"-f $ENV{BUILDDIR}/instsetoo_native/util/openoffice.lst -l $langs -p $
ENV{PRODUCTNAME}"
.
"
"
.
"-f $ENV{BUILDDIR}/instsetoo_native/util/openoffice.lst -l $langs -p $
PRODUCTNAME_no_spaces
"
.
"-u $tmp_dir "
.
"-buildid $BUILD $destdir $strip $msi "
.
"-simple $path"
)
&&
die
"Failed to install: $!"
;
...
...
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