forked from KolibriOS/kolibrios
add skins to russian autobuild
git-svn-id: svn://kolibrios.org@2777 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
2ae4472707
commit
b1f38b7e9b
26
data/generate_makefile_skins.sh
Normal file
26
data/generate_makefile_skins.sh
Normal file
@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
echo SKIN_SOURCES:=\\
|
||||
while read skinname
|
||||
do
|
||||
skinpath=../../skins/"$skinname"
|
||||
for f in $skinpath/*.{asm,ASM}
|
||||
do
|
||||
if [ ! -f "$f" ]; then continue; fi
|
||||
if expr "$f" : '.*\.dtp' > /dev/null; then continue; fi
|
||||
echo -n allskins/$skinname.skn | sed 's/ /|/g'
|
||||
echo -n ':Skins/:'
|
||||
echo -n $f | sed 's/ /|/g'
|
||||
echo " \\"
|
||||
done
|
||||
for f in ../../skins/"$skinname"/*/*.{asm,ASM}
|
||||
do
|
||||
if [ ! -f "$f" ]; then continue; fi
|
||||
if expr "$f" : '.*\.dtp' > /dev/null; then continue; fi
|
||||
g=`basename "$(dirname "$f")"`
|
||||
echo -n allskins/$g.skn | sed 's/ /|/g'
|
||||
echo -n ':Skins/:'
|
||||
echo -n $f | sed 's/ /|/g'
|
||||
echo " \\"
|
||||
done
|
||||
done
|
||||
echo '# end of list'
|
@ -9,6 +9,9 @@ REPOSITORY:=../..
|
||||
KERNEL:=$(REPOSITORY)/kernel/trunk
|
||||
PROGS:=$(REPOSITORY)/programs
|
||||
|
||||
# The main goal: build kolibri.img and kolibri.iso
|
||||
all: $(BUILD_DIR)/kolibri.img $(BUILD_DIR)/kolibri.iso
|
||||
|
||||
# Docpak requires some documents; we place them
|
||||
# into 'docs' subdir and communicate with FASM
|
||||
# through environment var DOCDIR.
|
||||
@ -270,6 +273,11 @@ OTHER_FILES:=autorun.dat:AUTORUN.DAT \
|
||||
#end of list
|
||||
#3d/logio.bmp:3D/LOGIO.BMP 3d/cubetext:3D/CUBETEXT
|
||||
|
||||
# Generate skins list understandable by gnu make
|
||||
Makefile.skins: $(REPOSITORY)/skins/authors.txt $(REPOSITORY)/data/generate_makefile_skins.sh
|
||||
cut -f1 $< | $(SHELL) $(REPOSITORY)/data/generate_makefile_skins.sh > $@
|
||||
include Makefile.skins
|
||||
|
||||
# Extra targets for LiveCD image in the syntax of mkisofs
|
||||
MKISOFS_EXTRA:=\
|
||||
dosbox/=$(PROGS)/emulator/DosBox/dosbox \
|
||||
@ -277,6 +285,11 @@ MKISOFS_EXTRA:=\
|
||||
dosbox/=$(PROGS)/emulator/DosBox/readme.txt \
|
||||
/=drivers/atikms \
|
||||
/=drivers/atikms.dll \
|
||||
/=distr_data/autorun.inf \
|
||||
/=distr_data/KolibriOS_icon.ico \
|
||||
/=distr_data/readme.txt \
|
||||
/=distr_data/readme_dos.txt \
|
||||
Skins/=$(REPOSITORY)/skins/authors.txt \
|
||||
#end of list
|
||||
|
||||
# Some macro for convenient work.
|
||||
@ -321,12 +334,11 @@ define newline
|
||||
endef
|
||||
mcopy_all_items:=$(foreach f,$(targets_full),$(mcopy_item_command)$(newline))
|
||||
|
||||
# add skins to MKISOFS_EXTRA
|
||||
MKISOFS_EXTRA:=$(MKISOFS_EXTRA) $(foreach f,$(SKIN_SOURCES),$(call imagepart,$(f))=$(call binarypart,$(f)))
|
||||
# dependencies of MKISOFS_EXTRA; we iterate through $(MKISOFS_EXTRA),
|
||||
# substitute "=" with space, get the 2nd word and join all results
|
||||
mkisofs_extra_targets:=$(foreach f,$(MKISOFS_EXTRA),$(word 2,$(subst =, ,$(f))))
|
||||
|
||||
# The main goal: build kolibri.img and kolibri.iso
|
||||
all: $(BUILD_DIR)/kolibri.img $(BUILD_DIR)/kolibri.iso
|
||||
mkisofs_extra_targets:=$(call respace,$(foreach f,$(MKISOFS_EXTRA),$(word 2,$(subst =, ,$(f)))))
|
||||
|
||||
# The first goal: floppy image.
|
||||
$(BUILD_DIR)/kolibri.img: $(BUILD_DIR)/.dir \
|
||||
@ -358,7 +370,7 @@ $(BUILD_DIR)/kolibri.img: $(BUILD_DIR)/.dir \
|
||||
$(BUILD_DIR)/kolibri.iso: $(BUILD_DIR)/kolibri.img $(mkisofs_extra_targets)
|
||||
mkisofs -U -J -pad -b kolibri.img -c boot.catalog -hide-joliet boot.catalog -hide-joliet kolibri.img -graft-points \
|
||||
-A "KolibriOS AutoBuilder" -p "CleverMouse" -publisher "KolibriOS Team" -V "KolibriOS r$(REV)" -sysid "KOLIBRI" \
|
||||
-iso-level 3 -o $(BUILD_DIR)/kolibri.iso $(BUILD_DIR)/kolibri.img $(MKISOFS_EXTRA) 2>&1
|
||||
-iso-level 3 -o $(BUILD_DIR)/kolibri.iso $(BUILD_DIR)/kolibri.img $(call respace,$(MKISOFS_EXTRA)) 2>&1
|
||||
|
||||
# Special targets to modify behaviour of make.
|
||||
.DELETE_ON_ERROR:
|
||||
@ -369,7 +381,7 @@ $(BUILD_DIR)/boot_fat12.bin: $(KERNEL)/bootloader/boot_fat12.asm $(KERNEL)/bootl
|
||||
fasm $(KERNEL)/bootloader/boot_fat12.asm $(BUILD_DIR)/boot_fat12.bin
|
||||
|
||||
$(BUILD_DIR)/.dir 3d/.dir demos/.dir develop/.dir develop/info/.dir drivers/.dir fonts/.dir \
|
||||
games/.dir lib/.dir media/.dir network/.dir .deps/.dir:
|
||||
games/.dir lib/.dir media/.dir network/.dir allskins/.dir .deps/.dir:
|
||||
mkdir -p $(dir $@)
|
||||
touch $@
|
||||
develop/info/.dir: develop/.dir
|
||||
@ -394,6 +406,10 @@ $(DOCDIR)SYSFUNCR.TXT: $(KERNEL)/docs/sysfuncr.txt
|
||||
# Similar for C--.
|
||||
include Makefile.cmm
|
||||
|
||||
# Recode some text files from native encoding aka cp866 to cp1251
|
||||
distr_data/readme.txt: distr_data/readme_dos.txt
|
||||
iconv -f cp866 -t cp1251 $< > $@
|
||||
|
||||
# Sorry, even black magic seems to be insufficient for
|
||||
# auto-handling all subtle effects. So we just define
|
||||
# command lines for compiling and linking, and
|
||||
|
@ -28,7 +28,7 @@
|
||||
# $(4) = name of program - without path and extension,
|
||||
define fasm_meta_rule
|
||||
$(1): $(2) Makefile.fasm .deps/.dir $$(call respace,$$(addsuffix .dir,$(3)))
|
||||
fasm -m 65536 $$< "$$@" -s .deps/$(4).fas
|
||||
fasm -m 65536 "$$<" "$$@" -s .deps/$(4).fas
|
||||
prepsrc .deps/$(4).fas /dev/null
|
||||
prepsrc .deps/$(4).fas /dev/stdout | \
|
||||
perl -n -e 's|\\|/|g;s| |\\ |g;push @a,$$$$1 if/^;include\\ \x27(.*?)\x27/;' \
|
||||
@ -39,11 +39,11 @@ endef
|
||||
|
||||
progname=$(call respace,$(basename $(notdir $(call binarypart,$(f)))))
|
||||
binarydir=$(subst ./,,$(dir $(call binarypart,$(f))))
|
||||
$(foreach f,$(FASM_PROGRAMS) $(FASM_PROGRAMS_CD),$(eval $(call fasm_meta_rule,$(fbinary),$(fsource),$(binarydir),$(progname))))
|
||||
$(foreach f,$(FASM_PROGRAMS) $(FASM_PROGRAMS_CD) $(SKIN_SOURCES),$(eval $(call fasm_meta_rule,$(fbinary),$(fsource),$(binarydir),$(progname))))
|
||||
|
||||
# Rule for the kernel differs: it uses kerpack instead of kpack.
|
||||
kernel.mnt: $(KERNEL)/kernel.asm Makefile.fasm .deps/.dir
|
||||
fasm -m 65536 $< "$@" -s .deps/kernel.fas
|
||||
fasm -m 65536 "$<" "$@" -s .deps/kernel.fas
|
||||
prepsrc .deps/kernel.fas /dev/null
|
||||
prepsrc .deps/kernel.fas /dev/stdout | \
|
||||
perl -n -e 's|\\|/|g;s| |\\ |g;push @a,$$1 if/^;include\\ \x27(.*?)\x27/;' \
|
||||
|
BIN
data/rus/distr_data/KolibriOS_icon.ico
Normal file
BIN
data/rus/distr_data/KolibriOS_icon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
3
data/rus/distr_data/autorun.inf
Normal file
3
data/rus/distr_data/autorun.inf
Normal file
@ -0,0 +1,3 @@
|
||||
[AutoRun]
|
||||
icon=KolibriOS_icon.ico
|
||||
shellexecute=readme.txt
|
13
data/rus/distr_data/readme.txt
Normal file
13
data/rus/distr_data/readme.txt
Normal file
@ -0,0 +1,13 @@
|
||||
Колибри ОС 0.7.7.0+, LiveCD-версия.
|
||||
|
||||
Это загрузочный CD-Rom. Чтобы увидеть систему в действии, перезагрузитесь,
|
||||
указав BIOS либо в загрузочном меню (если такое можно вызвать), либо
|
||||
в настройках загрузку с CD.
|
||||
|
||||
Изменения и доработки по сравнению с Колибри 0.7.7.0 описаны в файлах
|
||||
readme.txt, расположенных в папке Docs. А также в ОС в приложении docpak.
|
||||
История изменений, начиная с первой версии, описана в history.txt.
|
||||
|
||||
Инструкции по установке на другие носители информации, а также минимальные
|
||||
системные требования для установки описаны в файлах install.txt.
|
||||
Инструкции по настройке - в файлах config.txt.
|
13
data/rus/distr_data/readme_dos.txt
Normal file
13
data/rus/distr_data/readme_dos.txt
Normal file
@ -0,0 +1,13 @@
|
||||
Š®«¨¡à¨ Ž‘ 0.7.7.0+, LiveCD-¢¥àá¨ï.
|
||||
|
||||
<EFBFBD>â® § £à㧮çë© CD-Rom. —⮡ë 㢨¤¥âì á¨á⥬㠢 ¤¥©á⢨¨, ¯¥à¥§ £à㧨â¥áì,
|
||||
㪠§ ¢ BIOS «¨¡® ¢ § £à㧮箬 ¬¥î (¥á«¨ â ª®¥ ¬®¦® ¢ë§¢ âì), «¨¡®
|
||||
¢ áâனª å § £à㧪ã á CD.
|
||||
|
||||
ˆ§¬¥¥¨ï ¨ ¤®à ¡®âª¨ ¯® áà ¢¥¨î á Š®«¨¡à¨ 0.7.7.0 ®¯¨á ë ¢ ä ©« å
|
||||
readme.txt, à ᯮ«®¦¥ëå ¢ ¯ ¯ª¥ Docs. € â ª¦¥ ¢ Ž‘ ¢ ¯à¨«®¦¥¨¨ docpak.
|
||||
ˆáâ®à¨ï ¨§¬¥¥¨©, ç¨ ï á ¯¥à¢®© ¢¥àᨨ, ®¯¨á ¢ history.txt.
|
||||
|
||||
ˆáâàãªæ¨¨ ¯® ãáâ ®¢ª¥ ¤à㣨¥ ®á¨â¥«¨ ¨ä®à¬ 樨, â ª¦¥ ¬¨¨¬ «ìë¥
|
||||
á¨áâ¥¬ë¥ âॡ®¢ ¨ï ¤«ï ãáâ ®¢ª¨ ®¯¨á ë ¢ ä ©« å install.txt.
|
||||
ˆáâàãªæ¨¨ ¯® áâனª¥ - ¢ ä ©« å config.txt.
|
Loading…
Reference in New Issue
Block a user