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
364f8a57
Kaydet (Commit)
364f8a57
authored
Eki 30, 2013
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
setup_native: these 2 mac files are already hard-coded in installer
Change-Id: Ie7cbd70018a58a43ed25b207b243e1ebc2f2b9d6
üst
bfc11089
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
+6
-9
Package_misc.mk
setup_native/Package_misc.mk
+0
-2
simplepackage.pm
solenv/bin/modules/installer/simplepackage.pm
+6
-7
No files found.
setup_native/Package_misc.mk
Dosyayı görüntüle @
364f8a57
...
...
@@ -11,8 +11,6 @@ $(eval $(call gb_Package_Package,setup_native/misc,$(SRCDIR)/setup_native/source
$(eval $(call gb_Package_set_outdir,setup_native/misc,$(OUTDIR)))
$(eval $(call gb_Package_add_file,setup_native/misc,bin/Info.plist.langpack,mac/Info.plist.langpack))
$(eval $(call gb_Package_add_file,setup_native/misc,bin/ooo3_installer.icns,mac/ooo3_installer.icns))
$(eval $(call gb_Package_add_file,setup_native/misc,bin/osl/DS_Store,mac/ooo/DS_Store))
$(eval $(call gb_Package_add_file,setup_native/misc,bin/osl/DS_Store_Dev,mac/ooo/DS_Store_Dev))
$(eval $(call gb_Package_add_file,setup_native/misc,bin/osl/DS_Store_Langpack,mac/ooo/DS_Store_Langpack))
...
...
solenv/bin/modules/installer/simplepackage.pm
Dosyayı görüntüle @
364f8a57
...
...
@@ -377,19 +377,18 @@ sub create_package
# Copy also Info.plist and icon file
# Finding both files in solver
my
$iconfile
=
"ooo3_installer.icns"
;
my
$iconfileref
=
installer::scriptitems::
get_sourcepath_from_filename_and_includepath
(
\
$iconfile
,
$includepatharrayref
,
0
)
;
if
(
$$iconfileref
eq
""
)
{
installer::exiter::
exit_program
(
"ERROR: Could not find Apple script icon file $iconfile
!"
,
"create_package"
);
}
my
$iconfileref
=
$ENV
{
'SRCDIR'
}
.
"/setup_native/source/mac/"
.
$iconfile
;
if
(
!
-
f
$iconfileref
)
{
installer::exiter::
exit_program
(
"ERROR: Could not find Apple script icon file $iconfile ($iconfileref)
!"
,
"create_package"
);
}
my
$subdir
=
$contentsfolder
.
"/"
.
"Resources"
;
if
(
!
-
d
$subdir
)
{
installer::systemactions::
create_directory
(
$subdir
);
}
$destfile
=
$subdir
.
"/"
.
$iconfile
;
installer::systemactions::
copy_one_file
(
$
$
iconfileref
,
$destfile
);
installer::systemactions::
copy_one_file
(
$iconfileref
,
$destfile
);
my
$infoplistfile
=
"Info.plist.langpack"
;
my
$installname
=
"Info.plist"
;
my
$infoplistfile
ref
=
installer::scriptitems::
get_sourcepath_from_filename_and_includepath
(
\
$infoplistfile
,
$includepatharrayref
,
0
)
;
if
(
$$infoplistfileref
eq
""
)
{
installer::exiter::
exit_program
(
"ERROR: Could not find Apple script Info.plist: $infoplistfile!"
,
"create_package"
);
}
my
$infoplistfile
=
$ENV
{
'SRCDIR'
}
.
"/setup_native/source/mac/Info.plist.langpack"
;
if
(
!
-
f
$infoplistfile
)
{
installer::exiter::
exit_program
(
"ERROR: Could not find Apple script Info.plist: $infoplistfile!"
,
"create_package"
);
}
$destfile
=
$contentsfolder
.
"/"
.
$installname
;
installer::systemactions::
copy_one_file
(
$
$infoplistfileref
,
$destfile
);
installer::systemactions::
copy_one_file
(
$
infoplistfile
,
$destfile
);
# Replacing variables in Info.plist
$scriptfilecontent
=
installer::files::
read_file
(
$destfile
);
...
...
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