2021-04-18 09:41:08 +03:00
|
|
|
-- Do nothing unless explicitly requested in tup.config.
|
2014-09-12 19:15:23 +04:00
|
|
|
build_type = tup.getconfig('BUILD_TYPE')
|
|
|
|
if build_type == "" then
|
|
|
|
return
|
|
|
|
end
|
|
|
|
|
|
|
|
--[================================[ DATA ]================================]--
|
|
|
|
|
|
|
|
PROGS = "../programs"
|
|
|
|
|
|
|
|
-- Static data that doesn't need to be compiled
|
|
|
|
-- Files to be included in kolibri.img.
|
|
|
|
-- The first subitem of every item is name inside kolibri.img, the second is name of local file.
|
|
|
|
img_files = {
|
|
|
|
{"MACROS.INC", PROGS .. "/macros.inc"},
|
|
|
|
{"CONFIG.INC", PROGS .. "/config.inc"},
|
|
|
|
{"STRUCT.INC", PROGS .. "/struct.inc"},
|
2016-01-17 03:11:05 +03:00
|
|
|
{"FB2READ", "common/fb2read"},
|
2018-10-02 17:01:29 +03:00
|
|
|
{"ALLGAMES", "common/allgames"},
|
2019-05-14 11:16:37 +03:00
|
|
|
{"HOME.PNG", "common/wallpapers/home.png"},
|
2015-02-19 00:58:18 +03:00
|
|
|
{"ICONS32.PNG", "common/icons32.png"},
|
2017-10-05 18:45:08 +03:00
|
|
|
{"ICONS16.PNG", "common/icons16.png"},
|
2015-08-22 16:59:39 +03:00
|
|
|
{"INDEX.HTM", "common/index_htm"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"KUZKINA.MID", "common/kuzkina.mid"},
|
2020-11-03 20:57:32 +03:00
|
|
|
{"SINE.MP3", "common/sine.mp3"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"LANG.INC", build_type .. "/lang.inc"},
|
|
|
|
{"NOTIFY3.PNG", "common/notify3.png"},
|
2020-05-05 03:40:51 +03:00
|
|
|
{"UNIMG", PROGS .. "/fs/unimg/unimg"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"3D/HOUSE.3DS", "common/3d/house.3ds"},
|
2017-09-07 15:01:52 +03:00
|
|
|
{"DEVELOP/T_EDIT.INI", PROGS .. "/other/t_edit/t_edit.ini"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"File Managers/ICONS.INI", "common/File Managers/icons.ini"},
|
|
|
|
{"File Managers/KFM.INI", "common/File Managers/kfm.ini"},
|
2017-10-05 19:02:59 +03:00
|
|
|
{"File Managers/FNAV/ABOUT.TXT", "common/File Managers/fNav/About.txt"},
|
2017-09-28 00:45:43 +03:00
|
|
|
{"File Managers/FNAV/FNAV", "common/File Managers/fNav/fNav.kex"},
|
|
|
|
{"File Managers/FNAV/FNAV.EXT", "common/File Managers/fNav/fnav.ext"},
|
|
|
|
{"File Managers/FNAV/FNAV.SET", "common/File Managers/fNav/fnav.set"},
|
|
|
|
{"File Managers/FNAV/FNAV_CUR.PNG", "common/File Managers/fNav/fnav_cur.png"},
|
|
|
|
{"File Managers/FNAV/FNAV_FNT.PNG", "common/File Managers/fNav/fnav_fnt.png"},
|
2017-10-05 19:02:59 +03:00
|
|
|
{"File Managers/FNAV/FNAV_ICN.PNG", "common/File Managers/fNav/fnav_icn.png"},
|
2017-09-07 15:01:52 +03:00
|
|
|
{"FONTS/TAHOMA.KF", "common/fonts/tahoma.kf"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"LIB/ICONV.OBJ", "common/lib/iconv.obj"},
|
2015-08-02 16:36:55 +03:00
|
|
|
{"LIB/KMENU.OBJ", "common/lib/kmenu.obj"},
|
2017-09-07 15:01:52 +03:00
|
|
|
{"LIB/NETCODE.OBJ", "common/lib/netcode.obj"},
|
|
|
|
{"LIB/PIXLIB.OBJ", "common/lib/pixlib.obj"},
|
2015-08-02 16:36:55 +03:00
|
|
|
{"MEDIA/IMGF/IMGF", "common/media/ImgF/ImgF"},
|
|
|
|
{"MEDIA/IMGF/CEDG.OBJ", "common/media/ImgF/cEdg.obj"},
|
|
|
|
{"MEDIA/IMGF/DITHER.OBJ", "common/media/ImgF/dither.obj"},
|
|
|
|
{"MEDIA/IMGF/INVSOL.OBJ", "common/media/ImgF/invSol.obj"},
|
2019-04-17 12:03:18 +03:00
|
|
|
{"MEDIA/PIXIESKN.PNG", PROGS .. "/cmm/pixie2/pixieskn.png"},
|
2018-03-27 19:36:56 +03:00
|
|
|
{"NETWORK/FTPC.INI", PROGS .. "/network/ftpc/ftpc.ini"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"NETWORK/FTPD.INI", "common/network/ftpd.ini"},
|
|
|
|
{"NETWORK/USERS.INI", "common/network/users.ini"},
|
2019-04-17 11:50:56 +03:00
|
|
|
{"NETWORK/FTPC_SYS.PNG", PROGS .. "/network/ftpc/ftpc_sys.png"},
|
|
|
|
{"NETWORK/FTPC_NOD.PNG", PROGS .. "/network/ftpc/ftpc_nod.png"},
|
2018-10-03 02:32:56 +03:00
|
|
|
{"SETTINGS/APP.INI", "common/settings/app.ini"},
|
2018-11-01 14:31:45 +03:00
|
|
|
{"SETTINGS/APP_PLUS.INI", "common/settings/app_plus.ini"},
|
2017-09-07 15:01:52 +03:00
|
|
|
{"SETTINGS/ASSOC.INI", "common/settings/assoc.ini"},
|
2018-10-03 02:32:56 +03:00
|
|
|
{"SETTINGS/AUTORUN.DAT", "common/settings/AUTORUN.DAT"},
|
2017-09-07 15:01:52 +03:00
|
|
|
{"SETTINGS/DOCKY.INI", "common/settings/docky.ini"},
|
|
|
|
{"SETTINGS/FB2READ.INI", "common/settings/fb2read.ini"},
|
2018-10-03 02:32:56 +03:00
|
|
|
{"SETTINGS/HOTANGLES.CFG", PROGS .. "/other/ha/SETTINGS/HOTANGLES.CFG"},
|
2017-09-07 15:01:52 +03:00
|
|
|
{"SETTINGS/ICON.INI", build_type .. "/settings/icon.ini"},
|
|
|
|
{"SETTINGS/KEYMAP.KEY", PROGS .. "/system/taskbar/trunk/KEYMAP.KEY"},
|
|
|
|
{"SETTINGS/KOLIBRI.LBL", build_type .. "/settings/kolibri.lbl"},
|
|
|
|
{"SETTINGS/LANG.INI", build_type .. "/settings/lang.ini"},
|
|
|
|
{"SETTINGS/MENU.DAT", build_type .. "/settings/menu.dat"},
|
2017-12-20 06:45:53 +03:00
|
|
|
{"SETTINGS/NETWORK.INI", "common/settings/network.ini"},
|
2017-09-07 15:01:52 +03:00
|
|
|
{"SETTINGS/SYSTEM.INI", "common/settings/system.ini"},
|
2018-10-03 02:32:56 +03:00
|
|
|
{"SETTINGS/TASKBAR.INI", "common/settings/taskbar.ini"},
|
2021-02-10 23:35:30 +03:00
|
|
|
{"SETTINGS/weather.json", PROGS .. "/other/Weather/weather.json"},
|
2014-09-12 19:15:23 +04:00
|
|
|
}
|
2017-09-26 17:17:41 +03:00
|
|
|
|
2014-09-12 19:15:23 +04:00
|
|
|
-- For russian build, add russian-only files.
|
|
|
|
if build_type == "rus" then tup.append_table(img_files, {
|
|
|
|
{"EXAMPLE.ASM", PROGS .. "/develop/examples/example/trunk/rus/example.asm"},
|
2020-05-27 23:51:12 +03:00
|
|
|
{"DEVELOP/BACKY", PROGS .. "/develop/backy/Backy_ru"},
|
2017-09-27 23:08:18 +03:00
|
|
|
{"GAMES/BASEKURS.KLA", build_type .. "/games/basekurs.kla"},
|
2020-04-06 18:22:12 +03:00
|
|
|
{"File Managers/KFAR.INI", build_type .. "/File Managers/kfar.ini"},
|
|
|
|
{"File Managers/KFM_KEYS.TXT", PROGS .. "/fs/kfm/trunk/docs/russian/dos_kolibri/kfm_keys.txt"},
|
2021-01-04 18:14:44 +03:00
|
|
|
{"GAMES/DESCENT", build_type .. "/games/descent"},
|
2020-04-06 18:22:12 +03:00
|
|
|
{"SETTINGS/.shell", PROGS .. "/system/shell/bin/rus/.shell"},
|
|
|
|
{"SETTINGS/GAMES.INI", "rus/settings/games.ini"},
|
|
|
|
{"SETTINGS/MYKEY.INI", PROGS .. "/system/MyKey/trunk/mykey.ini"},
|
|
|
|
{"SETTINGS/SYSPANEL.INI", "rus/settings/syspanel.ini"},
|
2017-09-26 17:17:41 +03:00
|
|
|
}) elseif build_type == "eng" then tup.append_table(img_files, {
|
2020-04-06 18:22:12 +03:00
|
|
|
{"EXAMPLE.ASM", PROGS .. "/develop/examples/example/trunk/example.asm"},
|
2020-05-27 23:51:12 +03:00
|
|
|
{"DEVELOP/BACKY", PROGS .. "/develop/backy/Backy"},
|
2020-04-06 18:22:12 +03:00
|
|
|
{"File Managers/KFAR.INI", "common/File Managers/kfar.ini"},
|
2017-09-26 21:51:22 +03:00
|
|
|
{"File Managers/KFM_KEYS.TXT", PROGS .. "/fs/kfm/trunk/docs/english/kfm_keys.txt"},
|
2021-01-04 18:14:44 +03:00
|
|
|
{"GAMES/DESCENT", "common/games/descent"},
|
2017-09-26 21:51:22 +03:00
|
|
|
{"SETTINGS/.shell", PROGS .. "/system/shell/bin/eng/.shell"},
|
2020-04-06 18:22:12 +03:00
|
|
|
{"SETTINGS/GAMES.INI", "common/settings/games.ini"},
|
2017-09-26 21:51:22 +03:00
|
|
|
{"SETTINGS/MYKEY.INI", PROGS .. "/system/MyKey/trunk/mykey.ini"},
|
2020-04-06 18:22:12 +03:00
|
|
|
{"SETTINGS/SYSPANEL.INI", "common/settings/syspanel.ini"},
|
2017-09-26 17:17:41 +03:00
|
|
|
}) elseif build_type == "sp" then tup.append_table(img_files, {
|
2020-04-06 18:22:12 +03:00
|
|
|
{"EXAMPLE.ASM", PROGS .. "/develop/examples/example/trunk/example.asm"},
|
2020-05-27 23:51:12 +03:00
|
|
|
{"DEVELOP/BACKY", PROGS .. "/develop/backy/Backy"},
|
2020-04-06 18:22:12 +03:00
|
|
|
{"File Managers/KFAR.INI", "common/File Managers/kfar.ini"},
|
2017-09-26 21:51:22 +03:00
|
|
|
{"File Managers/KFM_KEYS.TXT", PROGS .. "/fs/kfm/trunk/docs/english/kfm_keys.txt"},
|
2021-01-04 18:14:44 +03:00
|
|
|
{"GAMES/DESCENT", "common/games/descent"},
|
2017-09-26 21:51:22 +03:00
|
|
|
{"SETTINGS/.shell", PROGS .. "/system/shell/bin/eng/.shell"},
|
2020-04-06 18:22:12 +03:00
|
|
|
{"SETTINGS/GAMES.INI", "common/settings/games.ini"},
|
2017-09-26 21:51:22 +03:00
|
|
|
{"SETTINGS/MYKEY.INI", PROGS .. "/system/MyKey/trunk/mykey.ini"},
|
2020-04-06 18:22:12 +03:00
|
|
|
{"SETTINGS/SYSPANEL.INI", "common/settings/syspanel.ini"},
|
2017-09-26 17:17:41 +03:00
|
|
|
}) elseif build_type == "it" then tup.append_table(img_files, {
|
2020-04-06 18:22:12 +03:00
|
|
|
{"EXAMPLE.ASM", PROGS .. "/develop/examples/example/trunk/example.asm"},
|
2020-05-27 23:51:12 +03:00
|
|
|
{"DEVELOP/BACKY", PROGS .. "/develop/backy/Backy"},
|
2020-04-06 18:22:12 +03:00
|
|
|
{"File Managers/KFAR.INI", "common/File Managers/kfar.ini"},
|
2017-09-26 21:51:22 +03:00
|
|
|
{"File Managers/KFM_KEYS.TXT", PROGS .. "/fs/kfm/trunk/docs/english/kfm_keys.txt"},
|
2021-01-04 18:14:44 +03:00
|
|
|
{"GAMES/DESCENT", "common/games/descent"},
|
2017-09-26 21:51:22 +03:00
|
|
|
{"SETTINGS/.shell", PROGS .. "/system/shell/bin/eng/.shell"},
|
2017-09-26 17:17:41 +03:00
|
|
|
{"SETTINGS/MYKEY.INI", PROGS .. "/system/MyKey/trunk/mykey_it.ini"},
|
2020-04-06 18:22:12 +03:00
|
|
|
{"SETTINGS/GAMES.INI", "common/settings/games.ini"},
|
|
|
|
{"SETTINGS/SYSPANEL.INI", "common/settings/syspanel.ini"},
|
2014-09-12 19:15:23 +04:00
|
|
|
}) else tup.append_table(img_files, {
|
2020-04-06 18:22:12 +03:00
|
|
|
{"EXAMPLE.ASM", PROGS .. "/develop/examples/example/trunk/example.asm"},
|
2020-05-27 23:51:12 +03:00
|
|
|
{"DEVELOP/BACKY", PROGS .. "/develop/backy/Backy"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"File Managers/KFM_KEYS.TXT", PROGS .. "/fs/kfm/trunk/docs/english/kfm_keys.txt"},
|
2020-04-06 18:22:12 +03:00
|
|
|
{"File Managers/KFAR.INI", "common/File Managers/kfar.ini"},
|
2021-01-04 18:14:44 +03:00
|
|
|
{"GAMES/DESCENT", "common/games/descent"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"SETTINGS/.shell", PROGS .. "/system/shell/bin/eng/.shell"},
|
2020-04-06 18:22:12 +03:00
|
|
|
{"SETTINGS/GAMES.INI", "common/settings/games.ini"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"SETTINGS/MYKEY.INI", PROGS .. "/system/MyKey/trunk/mykey.ini"},
|
2020-04-06 18:22:12 +03:00
|
|
|
{"SETTINGS/SYSPANEL.INI", "common/settings/syspanel.ini"},
|
2014-09-12 19:15:23 +04:00
|
|
|
}) end
|
|
|
|
|
|
|
|
--[[
|
|
|
|
Files to be included in kolibri.iso and distribution kit outside of kolibri.img.
|
2014-09-19 14:09:40 +04:00
|
|
|
|
2014-09-12 19:15:23 +04:00
|
|
|
The first subitem of every item is name relative to the root of ISO or distribution kit,
|
|
|
|
the second is name of local file.
|
2014-09-19 14:09:40 +04:00
|
|
|
|
2014-09-12 19:15:23 +04:00
|
|
|
If the first subitem ends in /, the last component of local file name is appended.
|
|
|
|
The last component of the second subitem may contain '*'; if so, it will be expanded
|
|
|
|
according to usual rules, but without matching directories.
|
2014-09-19 14:09:40 +04:00
|
|
|
|
|
|
|
Tup does not allow a direct dependency on a file that is generated in a directory
|
|
|
|
other than where Tupfile.lua is and its children. Most files are generated
|
|
|
|
in the directory with Tupfile.lua; for other files, the item should contain
|
|
|
|
a named subitem "group=path/<groupname>" and the file should be put in <groupname>.
|
2014-09-12 19:15:23 +04:00
|
|
|
--]]
|
|
|
|
extra_files = {
|
2017-12-20 06:45:53 +03:00
|
|
|
{"/", "common/distr_data/autorun.inf"},
|
|
|
|
{"/", "common/distr_data/KolibriOS_icon.ico"},
|
2020-01-14 23:21:38 +03:00
|
|
|
{"Docs/stack.txt", "../kernel/trunk/docs/stack.txt"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"HD_Load/9x2klbr/", "common/HD_load/9x2klbr/LDKLBR.VXD"},
|
|
|
|
{"HD_Load/MeOSLoad/", PROGS .. "/hd_load/meosload/AUTOEXEC.BAT"},
|
|
|
|
{"HD_Load/MeOSLoad/", PROGS .. "/hd_load/meosload/CONFIG.SYS"},
|
|
|
|
{"HD_Load/MeOSLoad/", PROGS .. "/hd_load/meosload/L_readme.txt"},
|
|
|
|
{"HD_Load/MeOSLoad/", PROGS .. "/hd_load/meosload/L_readme_Win.txt"},
|
|
|
|
{"HD_Load/mtldr/", PROGS .. "/hd_load/mtldr/vista_install.bat"},
|
|
|
|
{"HD_Load/mtldr/", PROGS .. "/hd_load/mtldr/vista_remove.bat"},
|
|
|
|
{"HD_Load/", "common/HD_load/memdisk"},
|
|
|
|
{"HD_Load/USB_boot_old/", PROGS .. "/hd_load/usb_boot_old/usb_boot.rtf"},
|
|
|
|
{"HD_Load/USB_boot_old/", PROGS .. "/hd_load/usb_boot_old/usb_boot_866.txt"},
|
|
|
|
{"HD_Load/USB_boot_old/", PROGS .. "/hd_load/usb_boot_old/usb_boot_1251.txt"},
|
2016-02-15 01:03:19 +03:00
|
|
|
{"kolibrios/3D/info3ds/INFO3DS.INI", PROGS .. "/develop/info3ds/info3ds.ini"},
|
|
|
|
{"kolibrios/3D/info3ds/OBJECTS.PNG", PROGS .. "/develop/info3ds/objects.png"},
|
|
|
|
{"kolibrios/3D/info3ds/TOOLBAR.PNG", PROGS .. "/develop/info3ds/toolbar.png"},
|
2016-02-16 17:02:21 +03:00
|
|
|
{"kolibrios/3D/info3ds/FONT8X9.BMP", PROGS .. "/fs/kfar/trunk/font8x9.bmp"},
|
2016-10-07 22:12:37 +03:00
|
|
|
{"kolibrios/3D/md2view/", "common/3d/md2view/*"},
|
2016-10-07 22:13:41 +03:00
|
|
|
{"kolibrios/3D/md2view/md2_model/", "common/3d/md2view/md2_model/*"},
|
2016-02-19 00:08:35 +03:00
|
|
|
{"kolibrios/3D/voxel_editor/VOX_EDITOR.INI", PROGS .. "/media/voxel_editor/trunk/vox_editor.ini"},
|
2016-02-19 00:02:58 +03:00
|
|
|
{"kolibrios/3D/voxel_editor/HOUSE1.VOX", PROGS .. "/media/voxel_editor/trunk/house1.vox"},
|
|
|
|
{"kolibrios/3D/voxel_editor/HOUSE2.VOX", PROGS .. "/media/voxel_editor/trunk/house2.vox"},
|
2016-02-22 01:17:07 +03:00
|
|
|
{"kolibrios/3D/voxel_editor/SQUIRREL.VOX", PROGS .. "/media/voxel_editor/trunk/squirrel.vox"},
|
|
|
|
{"kolibrios/3D/voxel_utilites/VOX_MOVER.INI" , PROGS .. "/media/voxel_editor/utilites/vox_mover.ini"},
|
2016-02-23 20:51:54 +03:00
|
|
|
{"kolibrios/3D/FONT8X9.BMP", PROGS .. "/fs/kfar/trunk/font8x9.bmp"},
|
|
|
|
{"kolibrios/3D/TOOLB_1.PNG", PROGS .. "/develop/libraries/TinyGL/asm_fork/examples/toolb_1.png"},
|
|
|
|
{"kolibrios/3D/TEST_GLU1", PROGS .. "/develop/libraries/TinyGL/asm_fork/examples/test_glu1"},
|
|
|
|
{"kolibrios/3D/TEST_GLU2", PROGS .. "/develop/libraries/TinyGL/asm_fork/examples/test_glu2"},
|
|
|
|
{"kolibrios/3D/TEXT_2.PNG", PROGS .. "/develop/libraries/TinyGL/asm_fork/examples/text_2.png"},
|
2020-11-23 20:00:32 +03:00
|
|
|
{"kolibrios/develop/c--/", PROGS .. "/cmm/c--/*"},
|
|
|
|
{"kolibrios/develop/fpc/", "common/develop/fpc/*"},
|
2020-11-23 20:16:20 +03:00
|
|
|
{"kolibrios/develop/fpc/examples/", PROGS .. "/develop/fp/examples/src/*"},
|
2020-11-23 20:08:19 +03:00
|
|
|
{"kolibrios/develop/fpc/examples/build.sh", "common/develop/fpc/build.sh"},
|
2020-11-23 20:00:32 +03:00
|
|
|
{"kolibrios/develop/lua/lua", "../contrib/other/lua-5.2.0/lua"},
|
|
|
|
{"kolibrios/develop/lua/calc.lua", "../contrib/other/lua-5.2.0/calc.lua"},
|
|
|
|
{"kolibrios/develop/lua/console.lua", "../contrib/other/lua-5.2.0/console.lua"},
|
2016-10-24 02:30:27 +03:00
|
|
|
{"kolibrios/develop/oberon07/", PROGS .. "/develop/oberon07/*"},
|
|
|
|
{"kolibrios/develop/oberon07/Docs/", PROGS .. "/develop/oberon07/Docs/*"},
|
|
|
|
{"kolibrios/develop/oberon07/Lib/KolibriOS/", PROGS .. "/develop/oberon07/Lib/KolibriOS/*"},
|
|
|
|
{"kolibrios/develop/oberon07/Samples/", PROGS .. "/develop/oberon07/Samples/*"},
|
2020-10-14 09:25:03 +03:00
|
|
|
{"kolibrios/develop/oberon07/tools/", PROGS .. "/develop/oberon07/tools/*"},
|
2020-04-30 12:59:56 +03:00
|
|
|
{"kolibrios/develop/tcc/", PROGS .. "/develop/ktcc/trunk/*"},
|
2020-12-16 23:57:29 +03:00
|
|
|
{"kolibrios/develop/tcc/", PROGS .. "/develop/ktcc/trunk/bin/tcc"},
|
2020-04-30 12:59:56 +03:00
|
|
|
{"kolibrios/develop/tcc/lib/", PROGS .. "/develop/ktcc/trunk/bin/lib/*"},
|
|
|
|
{"kolibrios/develop/tcc/include/", PROGS .. "/develop/ktcc/trunk/libc/include/*"},
|
2020-11-10 21:57:51 +03:00
|
|
|
{"kolibrios/develop/tcc/include/clayer/", PROGS .. "/develop/ktcc/trunk/libc/include/clayer/*"},
|
2020-12-17 00:21:38 +03:00
|
|
|
{"kolibrios/develop/tcc/include/cryptal/", PROGS .. "/develop/ktcc/trunk/libc/include/cryptal/*"},
|
|
|
|
{"kolibrios/develop/tcc/include/net/", PROGS .. "/develop/ktcc/trunk/libc/include/net/*"},
|
|
|
|
{"kolibrios/develop/tcc/include/tinygl/", PROGS .. "/develop/ktcc/trunk/libc/include/tinygl/*"},
|
2020-12-16 23:57:29 +03:00
|
|
|
{"kolibrios/develop/tcc/samples/", PROGS .. "/develop/ktcc/trunk/samples/*.c"},
|
|
|
|
{"kolibrios/develop/tcc/samples/", PROGS .. "/develop/ktcc/trunk/samples/*.sh"},
|
2020-11-10 21:57:51 +03:00
|
|
|
{"kolibrios/develop/tcc/samples/clayer/", PROGS .. "/develop/ktcc/trunk/samples/clayer/*"},
|
2020-12-16 23:57:29 +03:00
|
|
|
{"kolibrios/develop/tcc/samples/net/", PROGS .. "/develop/ktcc/trunk/samples/net/*"},
|
|
|
|
{"kolibrios/develop/tcc/samples/tinygl/", PROGS .. "/develop/ktcc/trunk/samples/tinygl/*"},
|
2020-05-05 03:40:51 +03:00
|
|
|
{"kolibrios/emul/", "common/emul/*"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"kolibrios/emul/dosbox/", "common/emul/DosBox/*"},
|
2016-02-14 23:58:08 +03:00
|
|
|
{"kolibrios/emul/e80/readme.txt", PROGS .. "/emulator/e80/trunk/readme.txt"},
|
2019-04-22 21:19:43 +03:00
|
|
|
{"kolibrios/emul/e80/keyboard.png", PROGS .. "/emulator/e80/trunk/keyboard.png"},
|
2016-02-14 23:58:08 +03:00
|
|
|
{"kolibrios/emul/fceu/fceu", PROGS .. "/emulator/fceu/fceu"},
|
|
|
|
{"kolibrios/emul/fceu/FCEU ReadMe.txt", PROGS .. "/emulator/fceu/FCEU ReadMe.txt"},
|
2020-05-06 01:58:18 +03:00
|
|
|
{"kolibrios/emul/kwine/kwine", PROGS .. "/emulator/kwine/bin/kwine"},
|
2020-05-06 02:48:58 +03:00
|
|
|
{"kolibrios/emul/kwine/lib/", PROGS .. "/emulator/kwine/bin/lib/*"},
|
2020-12-12 17:15:43 +03:00
|
|
|
{"kolibrios/emul/uarm/", "common/emul/uarm/*"},
|
2015-09-13 21:22:07 +03:00
|
|
|
{"kolibrios/demos/ak47.lif", "common/demos/ak47.lif"},
|
|
|
|
{"kolibrios/demos/life2", "common/demos/life2"},
|
|
|
|
{"kolibrios/demos/relay.lif", "common/demos/relay.lif"},
|
|
|
|
{"kolibrios/demos/rpento.lif", "common/demos/rpento.lif"},
|
2016-02-09 14:30:40 +03:00
|
|
|
{"kolibrios/games/BabyPainter", "common/games/BabyPainter"},
|
|
|
|
{"kolibrios/games/bomber/ackack.bmp", PROGS .. "/games/bomber/ackack.bmp"},
|
|
|
|
{"kolibrios/games/bomber/bomb.bmp", PROGS .. "/games/bomber/bomb.bmp"},
|
|
|
|
{"kolibrios/games/bomber/plane.bmp", PROGS .. "/games/bomber/plane.bmp"},
|
|
|
|
{"kolibrios/games/bomber/tile.bmp", PROGS .. "/games/bomber/tile.bmp"},
|
|
|
|
{"kolibrios/games/doom1/", "common/games/doom/*"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"kolibrios/games/fara/fara.gfx", "common/games/fara.gfx"},
|
|
|
|
{"kolibrios/games/jumpbump/", "common/games/jumpbump/*"},
|
2016-02-09 14:30:40 +03:00
|
|
|
{"kolibrios/games/knight", "common/games/knight"},
|
2019-09-08 07:48:34 +03:00
|
|
|
{"kolibrios/games/KosChess/", "common/games/KosChess/*"},
|
2020-04-24 21:36:36 +03:00
|
|
|
{"kolibrios/games/KosChess/images/", "common/games/KosChess/images/*"},
|
2015-08-02 16:36:55 +03:00
|
|
|
{"kolibrios/games/LaserTank/", "common/games/LaserTank/*"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"kolibrios/games/lrl/", "common/games/lrl/*"},
|
2016-02-09 16:31:49 +03:00
|
|
|
{"kolibrios/games/mun/data/", "common/games/mun/data/*"},
|
2016-02-09 16:59:21 +03:00
|
|
|
{"kolibrios/games/mun/libc.dll", "common/games/mun/libc.dll"},
|
2016-02-09 16:31:49 +03:00
|
|
|
{"kolibrios/games/mun/mun", "common/games/mun/mun"},
|
2017-09-18 21:16:30 +03:00
|
|
|
{"kolibrios/games/pig/", "common/games/pig/*"},
|
2016-02-10 00:10:59 +03:00
|
|
|
{"kolibrios/games/soko/", "common/games/soko/*"},
|
2020-10-21 19:15:09 +03:00
|
|
|
{"kolibrios/games/fridge/", "common/games/fridge/*"},
|
2017-09-18 21:21:14 +03:00
|
|
|
{"kolibrios/games/the_bus/menu.png", PROGS .. "/cmm/the_bus/menu.png"},
|
|
|
|
{"kolibrios/games/the_bus/objects.png", PROGS .. "/cmm/the_bus/objects.png"},
|
|
|
|
{"kolibrios/games/the_bus/road.png", PROGS .. "/cmm/the_bus/road.png"},
|
2016-10-07 22:12:37 +03:00
|
|
|
{"kolibrios/grafx2/fonts/", "common/media/grafx2/fonts/*"},
|
|
|
|
{"kolibrios/grafx2/scripts/", "common/media/grafx2/scripts/libs/*"},
|
|
|
|
{"kolibrios/grafx2/scripts/libs/", "common/media/grafx2/scripts/*"},
|
|
|
|
{"kolibrios/grafx2/skins/", "common/media/grafx2/skins/*"},
|
|
|
|
{"kolibrios/grafx2/", "common/media/grafx2/*"},
|
2016-11-02 21:18:50 +03:00
|
|
|
{"kolibrios/drivers/drvinf.ini", "common/drivers/drvinf.ini"},
|
2016-02-07 02:54:33 +03:00
|
|
|
{"kolibrios/drivers/ahci/", "common/drivers/ahci/*"},
|
|
|
|
{"kolibrios/drivers/atikms/", "common/drivers/atikms/*"},
|
|
|
|
{"kolibrios/drivers/i915/", "common/drivers/i915/*"},
|
2019-03-10 15:28:19 +03:00
|
|
|
{"kolibrios/drivers/test/", "common/drivers/test/*"},
|
2016-02-07 02:54:33 +03:00
|
|
|
{"kolibrios/drivers/vmware/", "common/drivers/vmware/*"},
|
2019-05-14 16:09:31 +03:00
|
|
|
{"kolibrios/KolibriNext/settings/", "common/KolibriNext/settings/*"},
|
2016-11-16 04:05:10 +03:00
|
|
|
{"kolibrios/lib/avcodec-56.dll", "common/lib/avcodec-56.dll"},
|
|
|
|
{"kolibrios/lib/avdevice-56.dll", "common/lib/avdevice-56.dll"},
|
|
|
|
{"kolibrios/lib/avformat-56.dll", "common/lib/avformat-56.dll"},
|
|
|
|
{"kolibrios/lib/swscale-3.dll", "common/lib/swscale-3.dll"},
|
|
|
|
{"kolibrios/lib/avutil-54.dll", "common/lib/avutil-54.dll"},
|
2018-03-17 11:21:21 +03:00
|
|
|
{"kolibrios/lib/cairo2.dll", "common/lib/cairo2.dll"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"kolibrios/lib/freetype.dll", "common/lib/freetype.dll"},
|
2015-01-15 15:16:22 +03:00
|
|
|
{"kolibrios/lib/i965-video.dll", "common/lib/i965-video.dll"},
|
|
|
|
{"kolibrios/lib/libdrm.dll", "common/lib/libdrm.dll"},
|
|
|
|
{"kolibrios/lib/libegl.dll", "common/lib/libegl.dll"},
|
2018-03-11 13:41:12 +03:00
|
|
|
{"kolibrios/lib/libeglut.dll", "common/lib/libeglut.dll"},
|
2015-01-15 15:16:22 +03:00
|
|
|
{"kolibrios/lib/libGL.dll", "common/lib/libGL.dll"},
|
2017-09-17 12:29:04 +03:00
|
|
|
{"kolibrios/lib/libjpeg.dll", "common/lib/libjpeg.dll"},
|
|
|
|
{"kolibrios/lib/libpng16.dll", "common/lib/libpng16.dll"},
|
2015-01-15 15:16:22 +03:00
|
|
|
{"kolibrios/lib/libva.dll", "common/lib/libva.dll"},
|
|
|
|
{"kolibrios/lib/libz.dll", "common/lib/libz.dll"},
|
2014-09-19 14:09:40 +04:00
|
|
|
{"kolibrios/lib/libc.dll", "../contrib/sdk/bin/libc.dll", group = "../contrib/sdk/lib/<libc.dll.a>"},
|
2018-03-17 11:21:21 +03:00
|
|
|
{"kolibrios/lib/osmesa.dll", "common/lib/osmesa.dll"},
|
2015-01-15 15:16:22 +03:00
|
|
|
{"kolibrios/lib/pixlib-gl.dll", "common/lib/pixlib-gl.dll"},
|
2018-03-17 11:21:21 +03:00
|
|
|
{"kolibrios/lib/pixman-1.dll", "common/lib/pixman-1.dll"},
|
2016-11-16 04:05:10 +03:00
|
|
|
{"kolibrios/lib/swresample-1.dll", "common/lib/swresample-1.dll"},
|
2015-01-15 15:16:22 +03:00
|
|
|
{"kolibrios/lib/i915_dri.drv", "common/lib/i915_dri.drv"},
|
|
|
|
{"kolibrios/media/fplay", "common/media/fplay"},
|
2018-03-22 17:36:04 +03:00
|
|
|
{"kolibrios/media/fplay_run", "common/media/fplay_run"},
|
2019-05-06 11:47:59 +03:00
|
|
|
{"kolibrios/media/minimp3", "common/media/minimp3"},
|
2016-02-07 02:50:22 +03:00
|
|
|
{"kolibrios/media/updf", "common/media/updf"},
|
|
|
|
{"kolibrios/media/vttf", "common/media/vttf"},
|
2020-05-20 16:15:53 +03:00
|
|
|
{"kolibrios/media/beat/Beat", PROGS .. "/media/Beat/Beat"},
|
|
|
|
{"kolibrios/media/beat/Beep1.raw", PROGS .. "/media/Beat/Beep1.raw"},
|
|
|
|
{"kolibrios/media/beat/Beep2.raw", PROGS .. "/media/Beat/Beep2.raw"},
|
|
|
|
{"kolibrios/media/beat/PlayNote", PROGS .. "/media/Beat/PlayNote/PlayNote"},
|
|
|
|
{"kolibrios/media/beat/Readme-en.txt", PROGS .. "/media/Beat/Readme-en.txt"},
|
|
|
|
{"kolibrios/media/beat/Readme-ru.txt", PROGS .. "/media/Beat/Readme-ru.txt"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"kolibrios/media/zsea/zsea.ini", PROGS .. "/media/zsea/zSea.ini"},
|
|
|
|
{"kolibrios/media/zsea/buttons/buttons.png", PROGS .. "/media/zsea/buttons.png"},
|
2020-12-16 15:16:10 +03:00
|
|
|
{"kolibrios/netsurf/netsurf", "common/network/netsurf/netsurf"},
|
2020-12-16 15:17:41 +03:00
|
|
|
{"kolibrios/netsurf/res/", "common/network/netsurf/res/*"},
|
2016-01-26 01:30:12 +03:00
|
|
|
{"kolibrios/res/skins/", "../skins/authors.txt"},
|
2018-11-08 01:32:57 +03:00
|
|
|
{"kolibrios/res/templates/", "common/templates/*"},
|
2019-04-25 20:51:39 +03:00
|
|
|
{"kolibrios/res/templates/", PROGS .. "/emulator/e80/trunk/games/*"},
|
2019-04-27 15:19:55 +03:00
|
|
|
{"kolibrios/res/templates/NES/", "common/templates/NES/*"},
|
2019-01-03 20:57:09 +03:00
|
|
|
{"kolibrios/res/wallpapers/", "common/wallpapers/*"},
|
2020-11-23 19:39:52 +03:00
|
|
|
{"kolibrios/res/system/", build_type .. "/settings/kolibri.lbl"},
|
2020-12-01 04:03:36 +03:00
|
|
|
{"kolibrios/utils/cnc_editor/cnc_editor", PROGS .. "/other/cnc_editor/cnc_editor"},
|
|
|
|
{"kolibrios/utils/cnc_editor/kolibri.NC", PROGS .. "/other/cnc_editor/kolibri.NC"},
|
|
|
|
{"kolibrios/utils/vmode", "common/vmode"},
|
2020-12-02 19:05:33 +03:00
|
|
|
{"kolibrios/utils/texture", "common/utils/texture"},
|
2017-09-07 15:01:52 +03:00
|
|
|
}
|
2014-09-12 19:15:23 +04:00
|
|
|
if build_type == "rus" then tup.append_table(extra_files, {
|
|
|
|
{"Docs/cp866/config.txt", build_type .. "/docs/CONFIG.TXT"},
|
|
|
|
{"Docs/cp866/gnu.txt", build_type .. "/docs/GNU.TXT"},
|
|
|
|
{"Docs/cp866/history.txt", build_type .. "/docs/HISTORY.TXT"},
|
|
|
|
{"Docs/cp866/hot_keys.txt", build_type .. "/docs/HOT_KEYS.TXT"},
|
|
|
|
{"Docs/cp866/install.txt", build_type .. "/docs/INSTALL.TXT"},
|
|
|
|
{"Docs/cp866/readme.txt", build_type .. "/docs/README.TXT"},
|
|
|
|
{"Docs/cp866/sysfuncr.txt", PROGS .. "/system/docpack/trunk/SYSFUNCR.TXT"},
|
|
|
|
{"Docs/cp1251/config.txt", build_type .. "/docs/CONFIG.WIN.TXT", cp1251_from = build_type .. "/docs/CONFIG.TXT"},
|
|
|
|
{"Docs/cp1251/gnu.txt", build_type .. "/docs/GNU.WIN.TXT", cp1251_from = build_type .. "/docs/GNU.TXT"},
|
|
|
|
{"Docs/cp1251/history.txt", build_type .. "/docs/HISTORY.WIN.TXT", cp1251_from = build_type .. "/docs/HISTORY.TXT"},
|
|
|
|
{"Docs/cp1251/hot_keys.txt", build_type .. "/docs/HOT_KEYS.WIN.TXT", cp1251_from = build_type .. "/docs/HOT_KEYS.TXT"},
|
|
|
|
{"Docs/cp1251/install.txt", build_type .. "/docs/INSTALL.WIN.TXT", cp1251_from = build_type .. "/docs/INSTALL.TXT"},
|
|
|
|
{"Docs/cp1251/readme.txt", build_type .. "/docs/README.WIN.TXT", cp1251_from = build_type .. "/docs/README.TXT"},
|
|
|
|
{"Docs/cp1251/sysfuncr.txt", build_type .. "/docs/SYSFUNCR.WIN.TXT", cp1251_from = PROGS .. "/system/docpack/trunk/SYSFUNCR.TXT"},
|
2015-02-25 18:06:21 +03:00
|
|
|
{"HD_Load/9x2klbr/", PROGS .. "/hd_load/9x2klbr/readme_dos.txt"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"HD_Load/9x2klbr/", PROGS .. "/hd_load/9x2klbr/readme_win.txt"},
|
|
|
|
{"HD_Load/mtldr/", PROGS .. "/hd_load/mtldr/install.txt"},
|
|
|
|
{"HD_Load/USB_Boot/", PROGS .. "/hd_load/usb_boot/readme.txt"},
|
2019-05-14 10:33:19 +03:00
|
|
|
{"kolibrios/games/ataka", "common/games/ataka/ataka_ru"},
|
2014-12-31 20:19:43 +03:00
|
|
|
{"kolibrios/games/Dungeons/Resources/Textures/Environment/", PROGS .. "/games/Dungeons/Resources/Textures/Environment/*"},
|
|
|
|
{"kolibrios/games/Dungeons/Resources/Textures/Objects/", PROGS .. "/games/Dungeons/Resources/Textures/Objects/*"},
|
|
|
|
{"kolibrios/games/Dungeons/Resources/Textures/HUD/", PROGS .. "/games/Dungeons/Resources/Textures/HUD/*"},
|
|
|
|
{"kolibrios/games/Dungeons/Resources/Textures/", PROGS .. "/games/Dungeons/Resources/Textures/Licenses.txt"},
|
|
|
|
{"kolibrios/games/Dungeons/", PROGS .. "/games/Dungeons/readme_ru.txt"},
|
2020-05-16 16:32:10 +03:00
|
|
|
{"kolibrios/games/sstartrek/SStarTrek", "common/games/sstartrek/SStarTrek_ru"},
|
2018-09-23 15:01:02 +03:00
|
|
|
{"kolibrios/games/WHOWTBAM/", build_type .. "/games/whowtbam"},
|
|
|
|
{"kolibrios/games/WHOWTBAM/", build_type .. "/games/appdata.dat"},
|
2019-01-03 20:57:09 +03:00
|
|
|
{"kolibrios/media/zsea/zsea_keys.txt", PROGS .. "/media/zsea/Docs/zSea_keys_rus.txt"},
|
|
|
|
{"kolibrios/res/guide/", build_type .. "/docs/guide/*"},
|
2014-09-12 19:15:23 +04:00
|
|
|
}) else tup.append_table(extra_files, {
|
|
|
|
{"Docs/config.txt", build_type .. "/docs/CONFIG.TXT"},
|
|
|
|
{"Docs/copying.txt", build_type .. "/docs/COPYING.TXT"},
|
|
|
|
{"Docs/hot_keys.txt", build_type .. "/docs/HOT_KEYS.TXT"},
|
|
|
|
{"Docs/install.txt", build_type .. "/docs/INSTALL.TXT"},
|
|
|
|
{"Docs/readme.txt", build_type .. "/docs/README.TXT"},
|
|
|
|
{"Docs/sysfuncs.txt", PROGS .. "/system/docpack/trunk/SYSFUNCS.TXT"},
|
|
|
|
{"HD_Load/9x2klbr/", PROGS .. "/hd_load/9x2klbr/readme.txt"},
|
|
|
|
{"HD_Load/mtldr/install.txt", PROGS .. "/hd_load/mtldr/install_eng.txt"},
|
|
|
|
{"HD_Load/USB_Boot/readme.txt", PROGS .. "/hd_load/usb_boot/readme_eng.txt"},
|
2019-05-14 10:33:19 +03:00
|
|
|
{"kolibrios/games/ataka", "common/games/ataka/ataka_en"},
|
2020-05-16 16:32:10 +03:00
|
|
|
{"kolibrios/games/sstartrek/SStarTrek", "common/games/sstartrek/SStarTrek_en"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"kolibrios/media/zsea/zsea_keys.txt", PROGS .. "/media/zsea/Docs/zSea_keys_eng.txt"},
|
|
|
|
}) end
|
|
|
|
--[[
|
|
|
|
Files to be included in distribution kit outside of kolibri.img, but not kolibri.iso.
|
|
|
|
Same syntax as extra_files.
|
|
|
|
]]--
|
|
|
|
if build_type == "rus" then
|
|
|
|
distr_extra_files = {
|
|
|
|
{"/readme_dos.txt", build_type .. "/distr_data/readme_dos_distr.txt"},
|
|
|
|
{"/readme.txt", build_type .. "/distr_data/readme_distr.txt", cp1251_from = build_type .. "/distr_data/readme_dos_distr.txt"},
|
|
|
|
}
|
|
|
|
else
|
|
|
|
distr_extra_files = {
|
|
|
|
{"/readme.txt", build_type .. "/distr_data/readme_distr.txt"},
|
|
|
|
}
|
|
|
|
end
|
|
|
|
--[[
|
|
|
|
Files to be included in kolibri.iso outside of kolibri.img, but not distribution kit.
|
|
|
|
Same syntax as extra_files.
|
|
|
|
]]--
|
|
|
|
if build_type == "rus" then
|
|
|
|
iso_extra_files = {
|
|
|
|
{"/readme_dos.txt", build_type .. "/distr_data/readme_dos.txt"},
|
|
|
|
{"/readme.txt", build_type .. "/distr_data/readme.txt", cp1251_from = build_type .. "/distr_data/readme_dos.txt"},
|
|
|
|
}
|
|
|
|
else
|
|
|
|
iso_extra_files = {
|
|
|
|
{"/readme.txt", build_type .. "/distr_data/readme.txt"},
|
|
|
|
}
|
|
|
|
end
|
|
|
|
|
|
|
|
-- Programs that require FASM to compile.
|
|
|
|
if tup.getconfig('NO_FASM') ~= 'full' then
|
|
|
|
tup.append_table(img_files, {
|
|
|
|
{"KERNEL.MNT", "../kernel/trunk/kernel.mnt"},
|
|
|
|
{"@DOCKY", PROGS .. "/system/docky/trunk/docky"},
|
2018-09-18 20:23:14 +03:00
|
|
|
{"@HOTANGLES", PROGS .. "/other/ha/HOTANGLES"},
|
2017-09-26 21:13:32 +03:00
|
|
|
{"@ICON", PROGS .. "/system/icon_new/icon"},
|
|
|
|
{"@MENU", PROGS .. "/system/menu/trunk/menu"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"@NOTIFY", PROGS .. "/system/notify3/notify"},
|
2017-09-26 21:13:32 +03:00
|
|
|
{"@OPEN", PROGS .. "/system/open/open"},
|
|
|
|
{"@TASKBAR", PROGS .. "/system/taskbar/trunk/TASKBAR"},
|
2019-05-16 13:48:21 +03:00
|
|
|
{"@SS", PROGS .. "/system/scrsaver/scrsaver"},
|
2017-09-26 21:13:32 +03:00
|
|
|
{"@VOLUME", PROGS .. "/media/volume/volume"},
|
2018-09-18 20:23:14 +03:00
|
|
|
{"HACONFIG", PROGS .. "/other/ha/HACONFIG"},
|
2019-05-10 15:51:47 +03:00
|
|
|
{"APM", PROGS .. "/system/apm/apm"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"CALC", PROGS .. "/other/calc/trunk/calc"},
|
|
|
|
{"CALENDAR", PROGS .. "/system/calendar/trunk/calendar"},
|
|
|
|
{"COLRDIAL", PROGS .. "/system/colrdial/color_dialog"},
|
2018-02-16 18:53:51 +03:00
|
|
|
{"CROPFLAT", PROGS .. "/system/cropflat/cropflat"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"CPU", PROGS .. "/system/cpu/trunk/cpu"},
|
2020-05-08 16:02:22 +03:00
|
|
|
{"CPUID", PROGS .. "/testing/cpuid/trunk/CPUID"},
|
2018-02-16 18:53:51 +03:00
|
|
|
{"DOCPACK", PROGS .. "/system/docpack/trunk/docpack"},
|
2016-02-13 00:17:24 +03:00
|
|
|
{"DEFAULT.SKN", "../skins/Leency/Shkvorka/Shkvorka.skn"},
|
2020-05-08 15:54:55 +03:00
|
|
|
{"DISPTEST", PROGS .. "/testing/disptest/trunk/disptest"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"END", PROGS .. "/system/end/light/end"},
|
2018-02-16 18:53:51 +03:00
|
|
|
{"ESKIN", PROGS .. "/system/eskin/trunk/eskin"},
|
2020-05-08 15:54:55 +03:00
|
|
|
{"FSPEED", PROGS .. "/testing/fspeed/fspeed"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"GMON", PROGS .. "/system/gmon/gmon"},
|
|
|
|
{"HDD_INFO", PROGS .. "/system/hdd_info/trunk/hdd_info"},
|
2020-05-08 15:54:55 +03:00
|
|
|
{"KBD", PROGS .. "/testing/kbd/trunk/kbd"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"KPACK", PROGS .. "/other/kpack/trunk/kpack"},
|
|
|
|
{"LAUNCHER", PROGS .. "/system/launcher/trunk/launcher"},
|
2018-02-16 18:53:51 +03:00
|
|
|
{"LOADDRV", PROGS .. "/system/loaddrv/loaddrv"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"MAGNIFY", PROGS .. "/demos/magnify/trunk/magnify"},
|
2020-05-08 15:54:55 +03:00
|
|
|
{"MGB", PROGS .. "/testing/mgb/trunk/mgb"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"MOUSEMUL", PROGS .. "/system/mousemul/trunk/mousemul"},
|
|
|
|
{"MADMOUSE", PROGS .. "/other/madmouse/madmouse"},
|
|
|
|
{"MYKEY", PROGS .. "/system/MyKey/trunk/MyKey"},
|
2020-05-08 16:02:22 +03:00
|
|
|
{"PCIDEV", PROGS .. "/testing/pcidev/trunk/PCIDEV"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"RDSAVE", PROGS .. "/system/rdsave/trunk/rdsave"},
|
|
|
|
{"RTFREAD", PROGS .. "/other/rtfread/trunk/rtfread"},
|
|
|
|
{"SEARCHAP", PROGS .. "/system/searchap/searchap"},
|
|
|
|
{"SCRSHOOT", PROGS .. "/media/scrshoot/scrshoot"},
|
|
|
|
{"SETUP", PROGS .. "/system/setup/trunk/setup"},
|
2018-02-16 18:53:51 +03:00
|
|
|
{"SKINCFG", PROGS .. "/system/skincfg/trunk/skincfg"},
|
|
|
|
{"TERMINAL", PROGS .. "/system/terminal/terminal"},
|
2020-05-08 16:02:22 +03:00
|
|
|
{"TEST", PROGS .. "/testing/protection/trunk/test"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"TINYPAD", PROGS .. "/develop/tinypad/trunk/tinypad"},
|
2018-02-16 18:53:51 +03:00
|
|
|
{"UNZ", PROGS .. "/fs/unz/unz"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"ZKEY", PROGS .. "/system/zkey/trunk/ZKEY"},
|
|
|
|
{"3D/3DWAV", PROGS .. "/demos/3dwav/trunk/3dwav"},
|
|
|
|
{"3D/CROWNSCR", PROGS .. "/demos/crownscr/trunk/crownscr"},
|
2018-09-10 23:47:45 +03:00
|
|
|
{"3D/3DCUBE2", PROGS .. "/demos/3dcube2/trunk/3DCUBE2"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"3D/FREE3D04", PROGS .. "/demos/free3d04/trunk/free3d04"},
|
2016-11-21 23:51:18 +03:00
|
|
|
{"3D/GEARS", PROGS .. "/develop/libraries/TinyGL/asm_fork/examples/gears"},
|
2016-04-02 14:23:16 +03:00
|
|
|
{"3D/RAY", PROGS .. "/demos/ray/ray"},
|
2021-04-04 03:28:11 +03:00
|
|
|
{"3D/VIEW3DS", PROGS .. "/demos/view3ds/view3ds"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"DEMOS/BCDCLK", PROGS .. "/demos/bcdclk/trunk/bcdclk"},
|
|
|
|
{"DEMOS/CIRCLE", PROGS .. "/develop/examples/circle/trunk/circle"},
|
|
|
|
{"DEMOS/COLORREF", PROGS .. "/demos/colorref/trunk/colorref"},
|
|
|
|
{"DEMOS/CSLIDE", PROGS .. "/demos/cslide/trunk/cslide"},
|
|
|
|
{"DEMOS/EYES", PROGS .. "/demos/eyes/trunk/eyes"},
|
|
|
|
{"DEMOS/FIREWORK", PROGS .. "/demos/firework/trunk/firework"},
|
|
|
|
{"DEMOS/MOVBACK", PROGS .. "/demos/movback/trunk/movback"},
|
|
|
|
{"DEMOS/PLASMA", PROGS .. "/demos/plasma/trunk/plasma"},
|
2019-03-13 14:01:38 +03:00
|
|
|
{"DEMOS/SPIRAL", PROGS .. "/demos/spiral/spiral"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"DEMOS/TINYFRAC", PROGS .. "/demos/tinyfrac/trunk/tinyfrac"},
|
|
|
|
{"DEMOS/TRANTEST", PROGS .. "/demos/trantest/trunk/trantest"},
|
|
|
|
{"DEMOS/TUBE", PROGS .. "/demos/tube/trunk/tube"},
|
|
|
|
{"DEMOS/UNVWATER", PROGS .. "/demos/unvwater/trunk/unvwater"},
|
|
|
|
{"DEMOS/WEB", PROGS .. "/demos/web/trunk/web"},
|
2020-12-11 16:33:32 +03:00
|
|
|
{"DEVELOP/ASCIIVJU", PROGS .. "/develop/asciivju/trunk/asciivju"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"DEVELOP/BOARD", PROGS .. "/system/board/trunk/board"},
|
2020-12-11 16:33:32 +03:00
|
|
|
{"DEVELOP/COBJ", PROGS .. "/develop/cObj/trunk/cObj"},
|
2020-04-29 02:30:33 +03:00
|
|
|
{"DEVELOP/FASM", PROGS .. "/develop/fasm/1.73/fasm"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"DEVELOP/H2D2B", PROGS .. "/develop/h2d2b/trunk/h2d2b"},
|
|
|
|
{"DEVELOP/HEED", PROGS .. "/develop/heed/trunk/heed"},
|
|
|
|
{"DEVELOP/KEYASCII", PROGS .. "/develop/keyascii/trunk/keyascii"},
|
|
|
|
{"DEVELOP/MTDBG", PROGS .. "/develop/mtdbg/mtdbg"},
|
|
|
|
{"DEVELOP/SCANCODE", PROGS .. "/develop/scancode/trunk/scancode"},
|
|
|
|
{"DEVELOP/T_EDIT", PROGS .. "/other/t_edit/t_edit"},
|
2020-12-11 16:33:32 +03:00
|
|
|
{"DEVELOP/EXAMPLES/CONGET", PROGS .. "/develop/libraries/console_coff/examples/test_gets"},
|
|
|
|
{"DEVELOP/EXAMPLES/THREAD", PROGS .. "/develop/examples/thread/trunk/thread"},
|
|
|
|
{"DEVELOP/EXAMPLES/USE_MB", PROGS .. "/demos/use_mb/use_mb"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"DEVELOP/INFO/ASM.SYN", PROGS .. "/other/t_edit/info/asm.syn"},
|
2019-04-17 11:48:41 +03:00
|
|
|
{"DEVELOP/INFO/CPP_CLA.SYN", PROGS .. "/other/t_edit/info/cpp_kol_cla.syn"},
|
|
|
|
{"DEVELOP/INFO/CPP_DAR.SYN", PROGS .. "/other/t_edit/info/cpp_kol_dar.syn"},
|
|
|
|
{"DEVELOP/INFO/CPP_DEF.SYN", PROGS .. "/other/t_edit/info/cpp_kol_def.syn"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"DEVELOP/INFO/DEFAULT.SYN", PROGS .. "/other/t_edit/info/default.syn"},
|
|
|
|
{"DEVELOP/INFO/HTML.SYN", PROGS .. "/other/t_edit/info/html.syn"},
|
2019-04-17 11:48:41 +03:00
|
|
|
{"DEVELOP/INFO/INI.SYN", PROGS .. "/other/t_edit/info/ini_files.syn"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"File Managers/KFAR", PROGS .. "/fs/kfar/trunk/kfar"},
|
|
|
|
{"File Managers/KFM", PROGS .. "/fs/kfm/trunk/kfm"},
|
|
|
|
{"File Managers/OPENDIAL", PROGS .. "/fs/opendial/opendial"},
|
|
|
|
{"GAMES/15", PROGS .. "/games/15/trunk/15"},
|
|
|
|
{"GAMES/FREECELL", PROGS .. "/games/freecell/freecell"},
|
|
|
|
{"GAMES/GOMOKU", PROGS .. "/games/gomoku/trunk/gomoku"},
|
2018-09-16 12:42:32 +03:00
|
|
|
{"GAMES/LIGHTS", PROGS .. "/games/sq_game/trunk/SQ_GAME"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"GAMES/LINES", PROGS .. "/games/lines/lines"},
|
|
|
|
{"GAMES/MSQUARE", PROGS .. "/games/MSquare/trunk/MSquare"},
|
|
|
|
{"GAMES/PIPES", PROGS .. "/games/pipes/pipes"},
|
|
|
|
{"GAMES/PONG", PROGS .. "/games/pong/trunk/pong"},
|
|
|
|
{"GAMES/PONG3", PROGS .. "/games/pong3/trunk/pong3"},
|
|
|
|
{"GAMES/RSQUARE", PROGS .. "/games/rsquare/trunk/rsquare"},
|
|
|
|
{"GAMES/SNAKE", PROGS .. "/games/snake/trunk/snake"},
|
|
|
|
{"GAMES/SUDOKU", PROGS .. "/games/sudoku/trunk/sudoku"},
|
|
|
|
{"GAMES/SW", PROGS .. "/games/sw/trunk/sw"},
|
|
|
|
{"GAMES/TANKS", PROGS .. "/games/tanks/trunk/tanks"},
|
|
|
|
{"GAMES/TETRIS", PROGS .. "/games/tetris/trunk/tetris"},
|
|
|
|
{"LIB/ARCHIVER.OBJ", PROGS .. "/fs/kfar/trunk/kfar_arc/kfar_arc.obj"},
|
|
|
|
{"LIB/BOX_LIB.OBJ", PROGS .. "/develop/libraries/box_lib/trunk/box_lib.obj"},
|
|
|
|
{"LIB/BUF2D.OBJ", PROGS .. "/develop/libraries/buf2d/trunk/buf2d.obj"},
|
2016-11-10 22:26:46 +03:00
|
|
|
{"LIB/CONSOLE.OBJ", PROGS .. "/develop/libraries/console_coff/console.obj"},
|
2016-11-22 15:21:04 +03:00
|
|
|
{"LIB/CNV_PNG.OBJ", PROGS .. "/media/zsea/plugins/png/cnv_png.obj"},
|
2021-04-18 09:41:08 +03:00
|
|
|
{"LIB/DLL.OBJ", PROGS .. "/develop/libraries/dll/dll.obj"},
|
2016-11-22 15:21:04 +03:00
|
|
|
{"LIB/HTTP.OBJ", PROGS .. "/develop/libraries/http/http.obj"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"LIB/LIBGFX.OBJ", PROGS .. "/develop/libraries/libs-dev/libgfx/libgfx.obj"},
|
|
|
|
{"LIB/LIBIMG.OBJ", PROGS .. "/develop/libraries/libs-dev/libimg/libimg.obj"},
|
|
|
|
{"LIB/LIBINI.OBJ", PROGS .. "/develop/libraries/libs-dev/libini/libini.obj"},
|
|
|
|
{"LIB/LIBIO.OBJ", PROGS .. "/develop/libraries/libs-dev/libio/libio.obj"},
|
|
|
|
{"LIB/MSGBOX.OBJ", PROGS .. "/develop/libraries/msgbox/msgbox.obj"},
|
|
|
|
{"LIB/NETWORK.OBJ", PROGS .. "/develop/libraries/network/network.obj"},
|
2016-11-22 15:21:04 +03:00
|
|
|
{"LIB/PROC_LIB.OBJ", PROGS .. "/develop/libraries/proc_lib/trunk/proc_lib.obj"},
|
2016-03-07 03:13:35 +03:00
|
|
|
{"LIB/RASTERWORKS.OBJ", PROGS .. "/develop/libraries/fontRasterWorks(unicode)/RasterWorks.obj"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"LIB/SORT.OBJ", PROGS .. "/develop/libraries/sorter/sort.obj"},
|
2016-11-22 15:21:04 +03:00
|
|
|
{"LIB/TINYGL.OBJ", PROGS .. "/develop/libraries/TinyGL/asm_fork/tinygl.obj"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"MEDIA/ANIMAGE", PROGS .. "/media/animage/trunk/animage"},
|
|
|
|
{"MEDIA/KIV", PROGS .. "/media/kiv/trunk/kiv"},
|
|
|
|
{"MEDIA/LISTPLAY", PROGS .. "/media/listplay/trunk/listplay"},
|
|
|
|
{"MEDIA/MIDAMP", PROGS .. "/media/midamp/trunk/midamp"},
|
2018-10-19 12:19:59 +03:00
|
|
|
{"MEDIA/MP3INFO", PROGS .. "/media/mp3info/mp3info"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"MEDIA/PALITRA", PROGS .. "/media/palitra/trunk/palitra"},
|
2019-05-14 10:33:19 +03:00
|
|
|
{"MEDIA/PIANO", PROGS .. "/media/piano/piano"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"MEDIA/STARTMUS", PROGS .. "/media/startmus/trunk/STARTMUS"},
|
2016-01-03 18:20:55 +03:00
|
|
|
{"NETWORK/PING", PROGS .. "/network/ping/ping"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"NETWORK/NETCFG", PROGS .. "/network/netcfg/netcfg"},
|
|
|
|
{"NETWORK/NETSTAT", PROGS .. "/network/netstat/netstat"},
|
2020-12-16 15:05:35 +03:00
|
|
|
{"NETWORK/NSINST", PROGS .. "/network/netsurf/nsinstall"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"NETWORK/NSLOOKUP", PROGS .. "/network/nslookup/nslookup"},
|
|
|
|
{"NETWORK/PASTA", PROGS .. "/network/pasta/pasta"},
|
|
|
|
{"NETWORK/SYNERGYC", PROGS .. "/network/synergyc/synergyc"},
|
2019-04-25 20:51:39 +03:00
|
|
|
{"NETWORK/SNTP", PROGS .. "/network/sntp/sntp"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"NETWORK/TELNET", PROGS .. "/network/telnet/telnet"},
|
2015-03-05 15:39:27 +03:00
|
|
|
{"NETWORK/@ZEROCONF", PROGS .. "/network/zeroconf/zeroconf"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"NETWORK/FTPC", PROGS .. "/network/ftpc/ftpc"},
|
|
|
|
{"NETWORK/FTPD", PROGS .. "/network/ftpd/ftpd"},
|
|
|
|
{"NETWORK/TFTPC", PROGS .. "/network/tftpc/tftpc"},
|
|
|
|
{"NETWORK/IRCC", PROGS .. "/network/ircc/ircc"},
|
|
|
|
{"NETWORK/DOWNLOADER", PROGS .. "/network/downloader/downloader"},
|
2015-10-30 23:50:47 +03:00
|
|
|
{"NETWORK/VNCC", PROGS .. "/network/vncc/vncc"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"DRIVERS/VIDINTEL.SYS", "../drivers/video/vidintel.sys"},
|
|
|
|
{"DRIVERS/3C59X.SYS", "../drivers/ethernet/3c59x.sys"},
|
2020-04-19 21:35:08 +03:00
|
|
|
{"DRIVERS/AR81XX.SYS", "../drivers/ethernet/ar81xx.sys"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"DRIVERS/DEC21X4X.SYS", "../drivers/ethernet/dec21x4x.sys"},
|
|
|
|
{"DRIVERS/FORCEDETH.SYS", "../drivers/ethernet/forcedeth.sys"},
|
|
|
|
{"DRIVERS/I8254X.SYS", "../drivers/ethernet/i8254x.sys"},
|
|
|
|
{"DRIVERS/I8255X.SYS", "../drivers/ethernet/i8255x.sys"},
|
|
|
|
{"DRIVERS/MTD80X.SYS", "../drivers/ethernet/mtd80x.sys"},
|
|
|
|
{"DRIVERS/PCNET32.SYS", "../drivers/ethernet/pcnet32.sys"},
|
|
|
|
{"DRIVERS/R6040.SYS", "../drivers/ethernet/R6040.sys"},
|
|
|
|
{"DRIVERS/RHINE.SYS", "../drivers/ethernet/rhine.sys"},
|
|
|
|
{"DRIVERS/RTL8029.SYS", "../drivers/ethernet/RTL8029.sys"},
|
|
|
|
{"DRIVERS/RTL8139.SYS", "../drivers/ethernet/RTL8139.sys"},
|
|
|
|
{"DRIVERS/RTL8169.SYS", "../drivers/ethernet/RTL8169.sys"},
|
|
|
|
{"DRIVERS/SIS900.SYS", "../drivers/ethernet/sis900.sys"},
|
|
|
|
{"DRIVERS/UHCI.SYS", "../drivers/usb/uhci.sys"},
|
|
|
|
{"DRIVERS/OHCI.SYS", "../drivers/usb/ohci.sys"},
|
|
|
|
{"DRIVERS/EHCI.SYS", "../drivers/usb/ehci.sys"},
|
|
|
|
{"DRIVERS/USBHID.SYS", "../drivers/usb/usbhid/usbhid.sys"},
|
|
|
|
{"DRIVERS/USBSTOR.SYS", "../drivers/usb/usbstor.sys"},
|
|
|
|
{"DRIVERS/RDC.SYS", "../drivers/video/rdc.sys"},
|
|
|
|
{"DRIVERS/COMMOUSE.SYS", "../drivers/mouse/commouse.sys"},
|
|
|
|
{"DRIVERS/PS2MOUSE.SYS", "../drivers/mouse/ps2mouse4d/trunk/ps2mouse.sys"},
|
|
|
|
{"DRIVERS/TMPDISK.SYS", "../drivers/disk/tmpdisk.sys"},
|
|
|
|
{"DRIVERS/intel_hda.sys", "../drivers/audio/intel_hda/intel_hda.sys"},
|
|
|
|
{"DRIVERS/SB16.SYS", "../drivers/audio/sb16/sb16.sys"},
|
|
|
|
{"DRIVERS/SOUND.SYS", "../drivers/audio/sound.sys"},
|
|
|
|
{"DRIVERS/INFINITY.SYS", "../drivers/audio/infinity/infinity.sys"},
|
|
|
|
{"DRIVERS/INTELAC97.SYS", "../drivers/audio/intelac97.sys"},
|
|
|
|
{"DRIVERS/EMU10K1X.SYS", "../drivers/audio/emu10k1x.sys"},
|
|
|
|
{"DRIVERS/FM801.SYS", "../drivers/audio/fm801.sys"},
|
|
|
|
{"DRIVERS/VT823X.SYS", "../drivers/audio/vt823x.sys"},
|
|
|
|
{"DRIVERS/SIS.SYS", "../drivers/audio/sis.sys"},
|
|
|
|
})
|
|
|
|
tup.append_table(extra_files, {
|
|
|
|
{"HD_Load/9x2klbr/", PROGS .. "/hd_load/9x2klbr/9x2klbr.exe"},
|
|
|
|
{"HD_Load/MeOSLoad/", PROGS .. "/hd_load/meosload/MeOSload.com"},
|
|
|
|
{"HD_Load/mtldr/", PROGS .. "/hd_load/mtldr/mtldr"},
|
|
|
|
{"HD_Load/", PROGS .. "/hd_load/mtldr_install/mtldr_install.exe"},
|
|
|
|
{"HD_Load/USB_Boot/", PROGS .. "/hd_load/usb_boot/BOOT_F32.BIN"},
|
|
|
|
{"HD_Load/USB_Boot/", PROGS .. "/hd_load/usb_boot/MTLD_F32"},
|
|
|
|
{"HD_Load/USB_Boot/", PROGS .. "/hd_load/usb_boot/inst.exe"},
|
|
|
|
{"HD_Load/USB_Boot/", PROGS .. "/hd_load/usb_boot/setmbr.exe"},
|
|
|
|
{"HD_Load/USB_boot_old/", PROGS .. "/hd_load/usb_boot_old/MeOSload.com"},
|
|
|
|
{"HD_Load/USB_boot_old/", PROGS .. "/hd_load/usb_boot_old/enable.exe"},
|
2018-10-14 00:20:17 +03:00
|
|
|
{"kolibrios/3D/3dsheart", PROGS .. "/demos/3dsheart/trunk/3dsheart"},
|
2020-05-16 18:15:14 +03:00
|
|
|
{"kolibrios/3D/flatwav", PROGS .. "/demos/flatwav/trunk/flatwav"},
|
2018-04-04 03:07:44 +03:00
|
|
|
{"kolibrios/3D/info3ds/INFO3DS", PROGS .. "/develop/info3ds/info3ds"},
|
|
|
|
{"kolibrios/3D/info3ds/INFO3DS_U", PROGS .. "/develop/info3ds/info3ds_u"},
|
2018-10-14 00:20:17 +03:00
|
|
|
{"kolibrios/3D/mos3de", PROGS .. "/demos/mos3de/mos3de"},
|
2018-04-04 03:07:44 +03:00
|
|
|
{"kolibrios/3D/voxel_editor/VOXEL_EDITOR", PROGS .. "/media/voxel_editor/trunk/voxel_editor"},
|
|
|
|
{"kolibrios/3D/voxel_utilites/VOX_CREATOR" , PROGS .. "/media/voxel_editor/utilites/vox_creator"},
|
|
|
|
{"kolibrios/3D/voxel_utilites/VOX_MOVER" , PROGS .. "/media/voxel_editor/utilites/vox_mover"},
|
|
|
|
{"kolibrios/3D/voxel_utilites/VOX_TGL" , PROGS .. "/media/voxel_editor/utilites/vox_tgl"},
|
|
|
|
{"kolibrios/3D/textures1", PROGS .. "/develop/libraries/TinyGL/asm_fork/examples/textures1"},
|
2017-09-18 21:16:30 +03:00
|
|
|
{"kolibrios/demos/buddhabrot", PROGS .. "/demos/buddhabrot/trunk/buddhabrot"},
|
2018-11-04 03:20:00 +03:00
|
|
|
{"kolibrios/demos/life3", PROGS .. "/games/life3/trunk/life3"},
|
2017-09-18 21:16:30 +03:00
|
|
|
{"kolibrios/demos/qjulia", PROGS .. "/demos/qjulia/trunk/qjulia"},
|
|
|
|
{"kolibrios/games/Almaz", PROGS .. "/games/almaz/almaz"},
|
2016-01-06 04:22:41 +03:00
|
|
|
{"kolibrios/games/arcanii", PROGS .. "/games/arcanii/trunk/arcanii"},
|
2016-02-09 14:30:40 +03:00
|
|
|
{"kolibrios/games/bomber/bomber", PROGS .. "/games/bomber/bomber"},
|
2016-02-09 14:36:07 +03:00
|
|
|
{"kolibrios/games/bomber/bomberdata.bin", PROGS .. "/games/bomber/sounds/bomberdata.bin"},
|
2014-12-31 20:41:28 +03:00
|
|
|
{"kolibrios/games/codemaster/binary_master", PROGS .. "/games/codemaster/binary_master"},
|
|
|
|
{"kolibrios/games/codemaster/hang_programmer", PROGS .. "/games/codemaster/hang_programmer"},
|
2015-01-15 15:23:33 +03:00
|
|
|
{"kolibrios/games/codemaster/kolibri_puzzle", PROGS .. "/games/codemaster/kolibri_puzzle"},
|
2017-09-18 21:16:30 +03:00
|
|
|
{"kolibrios/games/megamaze", PROGS .. "/games/megamaze/trunk/megamaze"},
|
2015-02-25 16:32:13 +03:00
|
|
|
{"kolibrios/games/invaders", PROGS .. "/games/invaders/invaders"},
|
2017-09-18 21:16:30 +03:00
|
|
|
{"kolibrios/games/phenix", PROGS .. "/games/phenix/trunk/phenix"},
|
|
|
|
{"kolibrios/games/soko/soko", PROGS .. "/games/soko/trunk/SOKO"},
|
2020-06-03 18:13:04 +03:00
|
|
|
{"kolibrios/media/img_transform", PROGS .. "/media/img_transform/img_transform"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"kolibrios/media/zsea/zsea", PROGS .. "/media/zsea/zSea"},
|
|
|
|
{"kolibrios/media/zsea/plugins/cnv_bmp.obj", PROGS .. "/media/zsea/plugins/bmp/cnv_bmp.obj"},
|
|
|
|
{"kolibrios/media/zsea/plugins/cnv_gif.obj", PROGS .. "/media/zsea/plugins/gif/cnv_gif.obj"},
|
|
|
|
{"kolibrios/media/zsea/plugins/cnv_jpeg.obj", PROGS .. "/media/zsea/plugins/jpeg/cnv_jpeg.obj"},
|
|
|
|
{"kolibrios/media/zsea/plugins/convert.obj", PROGS .. "/media/zsea/plugins/convert/convert.obj"},
|
|
|
|
{"kolibrios/media/zsea/plugins/rotate.obj", PROGS .. "/media/zsea/plugins/rotate/rotate.obj"},
|
|
|
|
{"kolibrios/media/zsea/plugins/scaling.obj", PROGS .. "/media/zsea/plugins/scaling/scaling.obj"},
|
2017-09-18 21:16:30 +03:00
|
|
|
{"kolibrios/utils/calcplus", PROGS .. "/other/calcplus/calcplus"},
|
2014-09-12 19:15:23 +04:00
|
|
|
})
|
|
|
|
-- For russian build, add russian-only programs.
|
|
|
|
if build_type == "rus" then tup.append_table(img_files, {
|
|
|
|
{"PERIOD", PROGS .. "/other/period/trunk/period"},
|
2019-05-20 13:40:10 +03:00
|
|
|
{"GAMES/KLAVISHA", PROGS .. "/games/klavisha/trunk/klavisha"},
|
2020-12-11 16:33:32 +03:00
|
|
|
{"DEVELOP/EXAMPLES/TESTCON2", PROGS .. "/develop/libraries/console_coff/examples/testcon2_rus"},
|
2014-09-12 19:15:23 +04:00
|
|
|
}) else tup.append_table(img_files, {
|
2016-11-10 22:26:46 +03:00
|
|
|
{"DEVELOP/TESTCON2", PROGS .. "/develop/libraries/console_coff/examples/testcon2_eng"},
|
2014-09-12 19:15:23 +04:00
|
|
|
}) end
|
|
|
|
|
2014-12-31 20:19:43 +03:00
|
|
|
if build_type == "rus" then tup.append_table(extra_files, {
|
|
|
|
{"kolibrios/games/Dungeons/Dungeons", PROGS .. "/games/Dungeons/Dungeons"},
|
|
|
|
}) end
|
|
|
|
|
2014-09-12 19:15:23 +04:00
|
|
|
end -- tup.getconfig('NO_FASM') ~= 'full'
|
|
|
|
|
|
|
|
-- Programs that require NASM to compile.
|
|
|
|
if tup.getconfig('NO_NASM') ~= 'full' then
|
|
|
|
tup.append_table(img_files, {
|
2020-12-11 16:33:32 +03:00
|
|
|
{"ACLOCK", PROGS .. "/demos/aclock/trunk/aclock"},
|
2017-09-06 15:38:31 +03:00
|
|
|
{"LOD", PROGS .. "/fs/lod/lod"},
|
2020-12-11 16:33:32 +03:00
|
|
|
{"TIMER", PROGS .. "/other/Timer/timer"},
|
2017-09-06 15:38:31 +03:00
|
|
|
{"TINFO", PROGS .. "/system/tinfo/tinfo"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"DEVELOP/MSTATE", PROGS .. "/develop/mstate/mstate"},
|
2017-09-06 15:38:31 +03:00
|
|
|
{"GAMES/C4", PROGS .. "/games/c4/trunk/c4"},
|
2017-09-20 14:02:09 +03:00
|
|
|
{"MEDIA/FILLSCR", PROGS .. "/media/FillScr/fillscr"},
|
2014-09-12 19:15:23 +04:00
|
|
|
})
|
2019-05-24 02:38:14 +03:00
|
|
|
tup.append_table(extra_files, {
|
|
|
|
{"kolibrios/develop/utils/GenFiles", PROGS .. "/testing/genfiles/GenFiles"},
|
|
|
|
})
|
2014-09-12 19:15:23 +04:00
|
|
|
end -- tup.getconfig('NO_NASM') ~= 'full'
|
|
|
|
|
2017-10-10 21:54:46 +03:00
|
|
|
-- Programs that require JWASM to compile.
|
|
|
|
if tup.getconfig('NO_JWASM') ~= 'full' then
|
|
|
|
tup.append_table(img_files, {
|
|
|
|
{"RUN", PROGS .. "/system/RunOD/1/RUN"},
|
2018-10-20 19:29:43 +03:00
|
|
|
{"LIB/INPUTBOX.OBJ", PROGS .. "/develop/libraries/InputBox/INPUTBOX.OBJ"},
|
2017-10-10 21:54:46 +03:00
|
|
|
})
|
|
|
|
end -- tup.getconfig('NO_JWASM') ~= 'full'
|
|
|
|
|
2014-09-12 19:15:23 +04:00
|
|
|
-- Programs that require C-- to compile.
|
|
|
|
if tup.getconfig('NO_CMM') ~= 'full' then
|
|
|
|
tup.append_table(img_files, {
|
2016-12-01 01:17:01 +03:00
|
|
|
{"APP_PLUS", PROGS .. "/cmm/app_plus/app_plus.com"},
|
2020-05-11 10:58:18 +03:00
|
|
|
{"EASYSHOT", PROGS .. "/cmm/misc/easyshot.com"},
|
2018-09-15 15:04:52 +03:00
|
|
|
{"MOUSECFG", PROGS .. "/cmm/mousecfg/mousecfg.com"},
|
2019-04-17 11:06:15 +03:00
|
|
|
{"BARSCFG", PROGS .. "/cmm/barscfg/barscfg.com"},
|
2020-05-11 10:58:18 +03:00
|
|
|
{"SYSPANEL", PROGS .. "/cmm/misc/software_widget.com"},
|
2018-09-15 15:04:52 +03:00
|
|
|
{"SYSMON", PROGS .. "/cmm/sysmon/sysmon.com"},
|
2020-05-18 13:47:08 +03:00
|
|
|
{"QUARK", PROGS .. "/cmm/quark/quark.com"},
|
2018-09-15 15:04:52 +03:00
|
|
|
{"TMPDISK", PROGS .. "/cmm/tmpdisk/tmpdisk.com"},
|
2016-10-05 18:22:36 +03:00
|
|
|
{"DEVELOP/CLIPVIEW", PROGS .. "/cmm/clipview/clipview.com"},
|
2020-04-12 00:17:55 +03:00
|
|
|
{"DEVELOP/MENU", PROGS .. "/cmm/menu/menu.com"},
|
2020-05-11 10:58:18 +03:00
|
|
|
{"DEVELOP/PIPET", PROGS .. "/cmm/misc/pipet.com"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"File Managers/EOLITE", PROGS .. "/cmm/eolite/Eolite.com"},
|
2018-10-16 14:24:39 +03:00
|
|
|
{"KF_VIEW", PROGS .. "/cmm/kf_font_viewer/font_viewer.com"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"GAMES/CLICKS", PROGS .. "/games/clicks/trunk/clicks.com"},
|
2020-05-11 10:58:18 +03:00
|
|
|
{"GAMES/MBLOCKS", PROGS .. "/cmm/misc/mblocks.com"},
|
2016-11-23 15:19:41 +03:00
|
|
|
{"DEVELOP/DIFF", PROGS .. "/cmm/diff/diff.com"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"GAMES/FindNumbers", PROGS .. "/games/FindNumbers/trunk/FindNumbers"},
|
2016-12-01 01:17:01 +03:00
|
|
|
{"GAMES/FLOOD-IT", PROGS .. "/games/flood-it/trunk/flood-it.com"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"GAMES/MINE", PROGS .. "/games/mine/trunk/mine"},
|
2019-04-17 11:06:15 +03:00
|
|
|
{"MEDIA/PIXIE", PROGS .. "/cmm/pixie2/pixie.com"},
|
2018-04-22 16:33:01 +03:00
|
|
|
{"MEDIA/ICONEDIT", PROGS .. "/cmm/iconedit/iconedit.com"},
|
2020-11-29 22:08:52 +03:00
|
|
|
{"NETWORK/DL", PROGS .. "/cmm/downloader/dl.com"},
|
2015-07-30 19:23:52 +03:00
|
|
|
{"NETWORK/WEBVIEW", PROGS .. "/cmm/browser/WebView.com"},
|
2016-12-01 01:17:01 +03:00
|
|
|
})
|
|
|
|
tup.append_table(extra_files, {
|
2018-11-07 21:01:58 +03:00
|
|
|
{"kolibrios/drivers/drvinst.kex", PROGS .. "/cmm/drvinst/drvinst.com"},
|
2018-11-07 21:03:01 +03:00
|
|
|
{"kolibrios/games/pig/pigex", PROGS .. "/cmm/examples/pigex.com"},
|
2017-09-18 21:16:30 +03:00
|
|
|
{"kolibrios/games/the_bus/the_bus", PROGS .. "/cmm/the_bus/the_bus.com"},
|
2019-05-14 16:07:29 +03:00
|
|
|
{"kolibrios/KolibriNext/install.kex", PROGS .. "/cmm/installer/install.com"},
|
2017-09-09 02:50:52 +03:00
|
|
|
{"kolibrios/utils/appearance", PROGS .. "/cmm/appearance/appearance.com"},
|
2019-03-10 16:38:11 +03:00
|
|
|
{"kolibrios/utils/dicty.kex", PROGS .. "/cmm/dicty/dicty.com"},
|
2019-04-25 20:51:39 +03:00
|
|
|
{"kolibrios/utils/notes", PROGS .. "/cmm/notes/notes.com"},
|
2014-09-12 19:15:23 +04:00
|
|
|
})
|
|
|
|
end -- tup.getconfig('NO_CMM') ~= 'full'
|
|
|
|
|
|
|
|
-- Programs that require MSVC to compile.
|
|
|
|
if tup.getconfig('NO_MSVC') ~= 'full' then
|
|
|
|
tup.append_table(img_files, {
|
|
|
|
{"GRAPH", PROGS .. "/other/graph/graph"},
|
|
|
|
{"TABLE", PROGS .. "/other/table/table"},
|
|
|
|
{"MEDIA/AC97SND", PROGS .. "/media/ac97snd/ac97snd.bin"},
|
|
|
|
{"GAMES/KOSILKA", PROGS .. "/games/kosilka/kosilka"},
|
2014-09-12 22:47:31 +04:00
|
|
|
{"GAMES/RFORCES", PROGS .. "/games/rforces/trunk/rforces"},
|
2014-09-12 23:13:20 +04:00
|
|
|
{"GAMES/XONIX", PROGS .. "/games/xonix/trunk/xonix"},
|
2014-09-12 19:15:23 +04:00
|
|
|
})
|
2014-09-12 22:10:26 +04:00
|
|
|
tup.append_table(extra_files, {
|
2014-09-12 22:09:50 +04:00
|
|
|
{"kolibrios/games/fara/fara", PROGS .. "/games/fara/trunk/fara"},
|
2014-12-28 21:29:59 +03:00
|
|
|
{"kolibrios/games/LaserTank/LaserTank", PROGS .. "/games/LaserTank/trunk/LaserTank"},
|
2014-09-12 22:09:50 +04:00
|
|
|
})
|
2014-09-12 19:15:23 +04:00
|
|
|
end -- tup.getconfig('NO_MSVC') ~= 'full'
|
|
|
|
|
2020-12-20 19:36:35 +03:00
|
|
|
-- Programs that require TCC to compile.
|
|
|
|
if tup.getconfig('NO_TCC') ~= 'full' then
|
2021-01-05 00:06:24 +03:00
|
|
|
tup.append_table(img_files, {
|
|
|
|
{"NETWORK/WHOIS", PROGS .. "/network/whois/whois"},
|
2021-04-27 00:08:57 +03:00
|
|
|
-- {"NETWORK/WEATHER", PROGS .. "/other/Weather/weather"},
|
2021-01-05 00:06:24 +03:00
|
|
|
})
|
2020-12-20 19:36:35 +03:00
|
|
|
tup.append_table(extra_files, {
|
|
|
|
{"kolibrios/utils/thashview", PROGS .. "/other/TinyHashView/thashview"},
|
2020-12-25 00:00:00 +03:00
|
|
|
{"kolibrios/develop/TinyBasic/", PROGS .. "/develop/tinybasic/TinyBasic"},
|
|
|
|
{"kolibrios/develop/TinyBasic/", PROGS .. "/develop/tinybasic/TBuserMan.txt"},
|
2020-12-25 01:38:37 +03:00
|
|
|
{"kolibrios/utils/teatool", PROGS .. "/other/TEAtool/teatool"},
|
2021-02-01 23:51:09 +03:00
|
|
|
{"kolibrios/utils/passwordgen", PROGS .. "/other/PasswordGen/passwordgen"},
|
2021-02-07 20:35:37 +03:00
|
|
|
{"kolibrios/media/qr_tool", PROGS .. "/media/qr_tool/qr_tool"},
|
2020-12-20 19:36:35 +03:00
|
|
|
})
|
|
|
|
end -- tup.getconfig('NO_TCC') ~= 'full'
|
|
|
|
|
2014-09-12 19:15:23 +04:00
|
|
|
-- Programs that require GCC to compile.
|
|
|
|
if tup.getconfig('NO_GCC') ~= 'full' then
|
|
|
|
tup.append_table(img_files, {
|
2014-09-12 22:30:29 +04:00
|
|
|
{"GAMES/REVERSI", PROGS .. "/games/reversi/trunk/reversi"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"SHELL", PROGS .. "/system/shell/shell"},
|
2021-04-27 20:40:25 +03:00
|
|
|
{"LIB/LIBC.OBJ", PROGS .. "/develop/libraries/kolibri-libc/source/libc.obj"},
|
2014-09-12 19:15:23 +04:00
|
|
|
})
|
|
|
|
tup.append_table(extra_files, {
|
2021-01-09 12:27:14 +03:00
|
|
|
-- {"kolibrios/3D/cubeline", PROGS .. "/demos/cubeline/trunk/cubeline"},
|
2014-09-12 19:15:23 +04:00
|
|
|
{"kolibrios/emul/e80/e80", PROGS .. "/emulator/e80/trunk/e80"},
|
2020-12-12 17:11:03 +03:00
|
|
|
{"kolibrios/emul/uarm/", "../contrib/other/uarm/uARM"},
|
2018-11-04 14:40:03 +03:00
|
|
|
{"kolibrios/games/2048", PROGS .. "/games/2048/2048"},
|
2018-11-04 14:31:32 +03:00
|
|
|
{"kolibrios/games/donkey", PROGS .. "/games/donkey/donkey"},
|
2018-11-04 14:40:03 +03:00
|
|
|
{"kolibrios/games/heliothryx", PROGS .. "/games/heliothryx/heliothryx"},
|
|
|
|
{"kolibrios/games/marblematch3", PROGS .. "/games/marblematch3/marblematch3"},
|
|
|
|
{"kolibrios/games/nsider", PROGS .. "/games/nsider/nsider"},
|
2014-09-18 15:46:53 +04:00
|
|
|
{"kolibrios/games/quake/", "common/games/quake/*"}, -- not really gcc, but no sense without sdlquake
|
|
|
|
{"kolibrios/games/quake/", "../contrib/other/sdlquake-1.0.9/sdlquake"},
|
2020-12-04 10:34:01 +03:00
|
|
|
{"kolibrios/games/fridge/", PROGS .. "/games/fridge/fridge"},
|
2021-03-26 00:43:08 +03:00
|
|
|
{"kolibrios/games/", PROGS .. "/games/checkers/trunk/checkers"},
|
2021-03-26 02:53:43 +03:00
|
|
|
{"kolibrios/games/wolf3d/", "../contrib/games/wolf3d/wolf3d"},
|
|
|
|
{"kolibrios/games/wolf3d/", "common/games/wolf3d/*"},
|
2014-09-12 19:15:23 +04:00
|
|
|
})
|
2014-12-31 18:56:23 +03:00
|
|
|
-- For russian build, add russian-only programs.
|
2014-12-31 19:06:01 +03:00
|
|
|
if build_type == "rus" then tup.append_table(extra_files, {
|
2018-11-04 14:40:03 +03:00
|
|
|
{"kolibrios/games/21days", PROGS .. "/games/21days/21days"},
|
2014-12-31 18:58:07 +03:00
|
|
|
}) end
|
2014-09-12 19:15:23 +04:00
|
|
|
end -- tup.getconfig('NO_GCC') ~= 'full'
|
|
|
|
|
|
|
|
-- Skins.
|
|
|
|
tup.include("../skins/skinlist.lua")
|
|
|
|
|
|
|
|
--[================================[ CODE ]================================]--
|
|
|
|
-- expand extra_files and similar
|
|
|
|
function expand_extra_files(files)
|
|
|
|
local result = {}
|
|
|
|
for i,v in ipairs(files) do
|
|
|
|
if string.match(v[2], "%*")
|
|
|
|
then
|
|
|
|
local g = tup.glob(v[2])
|
|
|
|
for j,x in ipairs(g) do
|
2014-09-19 14:09:40 +04:00
|
|
|
table.insert(result, {v[1], x, group=v.group})
|
2014-09-12 19:15:23 +04:00
|
|
|
end
|
|
|
|
else
|
|
|
|
if v.cp1251_from then
|
|
|
|
tup.definerule{inputs = {v.cp1251_from}, command = 'iconv -f cp866 -t cp1251 "%f" > "%o"', outputs = {v[2]}}
|
|
|
|
end
|
2014-09-19 14:09:40 +04:00
|
|
|
table.insert(result, {v[1], v[2], group=v.group})
|
2014-09-12 19:15:23 +04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
return result
|
|
|
|
end
|
|
|
|
|
|
|
|
-- append skins to extra_files
|
|
|
|
for i,v in ipairs(skinlist) do
|
2016-01-26 01:30:12 +03:00
|
|
|
table.insert(extra_files, {"kolibrios/res/skins/", "../skins/" .. v})
|
2014-09-12 19:15:23 +04:00
|
|
|
end
|
|
|
|
|
|
|
|
-- prepare distr_extra_files and iso_extra_files: expand and append common part
|
|
|
|
extra_files = expand_extra_files(extra_files)
|
|
|
|
distr_extra_files = expand_extra_files(distr_extra_files)
|
|
|
|
iso_extra_files = expand_extra_files(iso_extra_files)
|
|
|
|
tup.append_table(distr_extra_files, extra_files)
|
|
|
|
tup.append_table(iso_extra_files, extra_files)
|
|
|
|
|
|
|
|
-- generate list of directories to be created inside kolibri.img
|
|
|
|
img_dirs = {}
|
|
|
|
input_deps = {}
|
|
|
|
for i,v in ipairs(img_files) do
|
|
|
|
img_file = v[1]
|
|
|
|
local_file = v[2]
|
|
|
|
|
|
|
|
slash_pos = 0
|
|
|
|
while true do
|
|
|
|
slash_pos = string.find(img_file, '/', slash_pos + 1)
|
|
|
|
if not slash_pos then break end
|
|
|
|
table.insert(img_dirs, string.sub(img_file, 1, slash_pos - 1))
|
|
|
|
end
|
|
|
|
|
|
|
|
-- tup does not want to see hidden files as dependencies
|
|
|
|
if not string.match(local_file, "/%.") then
|
2014-09-19 14:09:40 +04:00
|
|
|
table.insert(input_deps, v.group or local_file)
|
2014-09-12 19:15:23 +04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
-- create empty 1.44M file
|
2014-09-12 23:29:13 +04:00
|
|
|
make_img_command = '^ MKIMG kolibri.img^ ' -- for tup: don't write full command to logs
|
|
|
|
make_img_command = make_img_command .. "dd if=/dev/zero of=kolibri.img count=2880 bs=512 2>&1"
|
2014-09-12 19:15:23 +04:00
|
|
|
-- format it as a standard 1.44M floppy
|
|
|
|
make_img_command = make_img_command .. " && mformat -f 1440 -i kolibri.img ::"
|
|
|
|
-- copy bootloader
|
|
|
|
if tup.getconfig("NO_FASM") ~= "full" then
|
|
|
|
bootloader = "../kernel/trunk/bootloader/boot_fat12.bin"
|
|
|
|
make_img_command = make_img_command .. " && dd if=" .. bootloader .. " of=kolibri.img count=1 bs=512 conv=notrunc 2>&1"
|
|
|
|
table.insert(input_deps, bootloader)
|
|
|
|
end
|
|
|
|
-- make folders
|
|
|
|
table.sort(img_dirs)
|
|
|
|
for i,v in ipairs(img_dirs) do
|
|
|
|
if v ~= img_dirs[i-1] then
|
|
|
|
make_img_command = make_img_command .. ' && mmd -i kolibri.img "::' .. v .. '"'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
-- copy files
|
2020-09-10 19:46:01 +03:00
|
|
|
output_deps = {"kolibri.img"}
|
2014-09-12 19:15:23 +04:00
|
|
|
for i,v in ipairs(img_files) do
|
|
|
|
local_file = v[2]
|
|
|
|
if v[1] == "KERNEL.MNT" and tup.getconfig("INSERT_REVISION_ID") ~= ""
|
|
|
|
then
|
|
|
|
-- for kernel.mnt, insert autobuild revision identifier
|
|
|
|
-- from .revision to .kernel.mnt
|
|
|
|
-- note that .revision and .kernel.mnt must begin with .
|
|
|
|
-- to prevent tup from tracking them
|
|
|
|
if build_type == "rus"
|
2020-09-10 19:46:01 +03:00
|
|
|
then str='$(LANG=ru_RU.utf8 date -u +"[автосборка %d %b %Y %R, r$(get-current-revision)]"|iconv -f utf8 -t cp866)'
|
|
|
|
else str='$(date -u +"[auto-build %d %b %Y %R, r$(get-current-revision)]")'
|
2014-09-12 19:15:23 +04:00
|
|
|
end
|
|
|
|
str = string.gsub(str, "%$", "\\$") -- escape $ as \$
|
|
|
|
str = string.gsub(str, "%%", "%%%%") -- escape % as %%
|
|
|
|
make_img_command = make_img_command .. " && cp " .. local_file .. " .kernel.mnt"
|
|
|
|
make_img_command = make_img_command .. " && str=" .. str
|
|
|
|
make_img_command = make_img_command .. ' && echo -n $str | dd of=.kernel.mnt bs=1 seek=`expr 279 - length "$str"` conv=notrunc 2>/dev/null'
|
|
|
|
local_file = ".kernel.mnt"
|
2020-09-10 19:46:01 +03:00
|
|
|
table.insert(output_deps, local_file)
|
2014-09-12 19:15:23 +04:00
|
|
|
end
|
|
|
|
make_img_command = make_img_command .. ' && mcopy -moi kolibri.img "' .. local_file .. '" "::' .. v[1] .. '"'
|
|
|
|
end
|
|
|
|
|
|
|
|
-- generate tup rule for kolibri.img
|
2020-09-10 19:46:01 +03:00
|
|
|
tup.definerule{inputs = input_deps, command = make_img_command, outputs = output_deps}
|
2014-09-12 19:15:23 +04:00
|
|
|
|
|
|
|
-- generate command and dependencies for mkisofs
|
|
|
|
input_deps = {"kolibri.img"}
|
|
|
|
iso_files_list = ""
|
|
|
|
for i,v in ipairs(iso_extra_files) do
|
|
|
|
iso_files_list = iso_files_list .. ' "' .. v[1] .. '=' .. v[2] .. '"'
|
2014-09-19 14:09:40 +04:00
|
|
|
table.insert(input_deps, v.group or v[2])
|
2014-09-12 19:15:23 +04:00
|
|
|
end
|
|
|
|
|
|
|
|
-- generate tup rule for kolibri.iso
|
|
|
|
if tup.getconfig("INSERT_REVISION_ID") ~= ""
|
|
|
|
then volume_id = "KolibriOS r`cat .revision`"
|
|
|
|
else volume_id = "KolibriOS"
|
|
|
|
end
|
|
|
|
tup.definerule{inputs = input_deps, command =
|
2014-09-12 23:29:13 +04:00
|
|
|
'^ MKISOFS kolibri.iso^ ' .. -- for tup: don't write full command to logs
|
2014-09-12 19:15:23 +04:00
|
|
|
'mkisofs -U -J -pad -b kolibri.img -c boot.catalog -hide-joliet boot.catalog -graft-points ' ..
|
|
|
|
'-A "KolibriOS AutoBuilder" -p "CleverMouse" -publisher "KolibriOS Team" -V "' .. volume_id .. '" -sysid "KOLIBRI" ' ..
|
|
|
|
'-iso-level 3 -o kolibri.iso kolibri.img' .. iso_files_list .. ' 2>&1',
|
|
|
|
outputs = {"kolibri.iso"}}
|
|
|
|
|
|
|
|
-- generate command and dependencies for distribution kit
|
2014-09-12 20:24:54 +04:00
|
|
|
cp = 'cp "%f" "%o"'
|
2014-09-12 20:22:57 +04:00
|
|
|
tup.definerule{inputs = {"kolibri.img"}, command = cp, outputs = {"distribution_kit/kolibri.img"}}
|
2014-09-12 19:15:23 +04:00
|
|
|
for i,v in ipairs(distr_extra_files) do
|
2014-09-19 14:09:40 +04:00
|
|
|
cmd = cp:gsub("%%f", v[2]) -- input can be a group, we can't rely on tup's expansion of %f in this case
|
2014-09-12 19:15:23 +04:00
|
|
|
if string.sub(v[1], -1) == "/"
|
2014-09-19 14:09:40 +04:00
|
|
|
then tup.definerule{inputs = {v.group or v[2]}, command = cmd, outputs = {"distribution_kit/" .. v[1] .. tup.file(v[2])}}
|
|
|
|
else tup.definerule{inputs = {v.group or v[2]}, command = cmd, outputs = {"distribution_kit/" .. v[1]}}
|
2014-09-12 19:15:23 +04:00
|
|
|
end
|
|
|
|
end
|
2020-10-04 19:53:59 +03:00
|
|
|
|
2020-11-06 20:52:10 +03:00
|
|
|
-- build kolibri.raw
|
2020-11-06 18:55:42 +03:00
|
|
|
raw_mbr = "../programs/hd_load/usb_boot/mbr"
|
|
|
|
raw_bootsector = "../kernel/trunk/bootloader/extended_primary_loader/fat32/bootsect.bin"
|
|
|
|
raw_files = {
|
|
|
|
{"KOLIBRI.IMG", "kolibri.img"},
|
|
|
|
{"KORDLDR.F32", "../kernel/trunk/bootloader/extended_primary_loader/fat32/kordldr.f32"},
|
|
|
|
{"KERNEL.MNT", "../kernel/trunk/kernel.mnt.ext_loader"},
|
|
|
|
{"CONFIG.INI", "../kernel/trunk/bootloader/extended_primary_loader/config.ini"},
|
2020-11-06 20:52:10 +03:00
|
|
|
{"EFI/BOOT/BOOTX64.EFI", "../kernel/trunk/bootloader/uefi4kos/bootx64.efi"},
|
|
|
|
{"EFI/BOOT/BOOTIA32.EFI", "../kernel/trunk/bootloader/uefi4kos/bootia32.efi"},
|
|
|
|
{"EFI/KOLIBRIOS/KOLIBRI.IMG", "kolibri.img"},
|
|
|
|
{"EFI/KOLIBRIOS/KOLIBRI.INI", "../kernel/trunk/bootloader/uefi4kos/kolibri.ini"},
|
|
|
|
{"EFI/KOLIBRIOS/KOLIBRI.KRN", "../kernel/trunk/kolibri.krn"}
|
2020-11-06 18:55:42 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
for i,v in ipairs(img_files) do
|
|
|
|
raw_file = "KOLIBRIOS/" .. string.upper(v[1])
|
|
|
|
local_file = v[2]
|
|
|
|
tup.append_table(raw_files, {{raw_file, local_file}})
|
|
|
|
end
|
|
|
|
|
|
|
|
tup.append_table(raw_files, extra_files)
|
|
|
|
|
2020-10-04 19:53:59 +03:00
|
|
|
make_raw_command = '^ MKIMG kolibri.raw^ ' -- for tup: don't write full command to logs
|
2020-11-06 18:55:42 +03:00
|
|
|
make_raw_command = make_raw_command .. "dd if=/dev/zero of=kolibri.raw bs=1MiB count=128 2>&1"
|
2020-10-27 00:45:27 +03:00
|
|
|
make_raw_command = make_raw_command .. " && parted --script kolibri.raw mktable gpt"
|
2020-11-06 18:55:42 +03:00
|
|
|
make_raw_command = make_raw_command .. " && parted --script kolibri.raw unit MiB mkpart primary fat32 1 127"
|
2020-10-27 00:45:27 +03:00
|
|
|
make_raw_command = make_raw_command .. " && parted --script kolibri.raw set 1 esp on"
|
|
|
|
make_raw_command = make_raw_command .. " && sgdisk kolibri.raw --hybrid 1:EE"
|
2020-11-06 18:55:42 +03:00
|
|
|
make_raw_command = make_raw_command .. " && dd if=" .. raw_mbr .. " of=kolibri.raw bs=1 count=\\$((0x1b8)) conv=notrunc"
|
|
|
|
make_raw_command = make_raw_command .. " && dd if=" .. raw_mbr .. " of=kolibri.raw bs=1 count=1 skip=\\$((0x5a)) seek=\\$((0x1be)) conv=notrunc"
|
|
|
|
make_raw_command = make_raw_command .. " && mformat -i kolibri.raw@@1M -v KOLIBRIOS -T \\$(((128-1-1)*1024*1024/512)) -h 16 -s 32 -H 2048 -c 1 -F -B " .. raw_bootsector .. " ::"
|
|
|
|
|
|
|
|
-- generate list of directories to be created inside kolibri.raw
|
|
|
|
raw_dirs = {}
|
|
|
|
input_deps = {raw_mbr, raw_bootsector}
|
|
|
|
for i,v in ipairs(raw_files) do
|
|
|
|
raw_file = v[1]
|
|
|
|
local_file = v[2]
|
|
|
|
|
|
|
|
if raw_file ~= "/" then
|
|
|
|
slash_pos = 0
|
|
|
|
while true do
|
|
|
|
slash_pos = string.find(raw_file, '/', slash_pos + 1)
|
|
|
|
if not slash_pos then break end
|
|
|
|
table.insert(raw_dirs, string.sub(raw_file, 1, slash_pos - 1))
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
-- tup does not want to see hidden files as dependencies
|
|
|
|
if not string.match(local_file, "/%.") then
|
|
|
|
table.insert(input_deps, v.group or local_file)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
-- img_files and extra_files have some common dirs with different case
|
|
|
|
for i,d in ipairs(raw_dirs) do
|
|
|
|
raw_dirs[i] = string.upper(raw_dirs[i])
|
|
|
|
end
|
2020-10-04 19:53:59 +03:00
|
|
|
|
|
|
|
-- make folders
|
2020-11-06 18:55:42 +03:00
|
|
|
table.sort(raw_dirs)
|
|
|
|
for i,v in ipairs(raw_dirs) do
|
|
|
|
if v ~= raw_dirs[i-1] then
|
|
|
|
make_raw_command = make_raw_command .. ' && mmd -i kolibri.raw@@1M "::' .. v .. '"'
|
2020-10-04 19:53:59 +03:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2020-11-06 18:55:42 +03:00
|
|
|
-- copy files
|
|
|
|
for i,v in ipairs(raw_files) do
|
2020-10-04 19:53:59 +03:00
|
|
|
local_file = v[2]
|
2020-11-06 18:55:42 +03:00
|
|
|
make_raw_command = make_raw_command .. ' && mcopy -moi kolibri.raw@@1M "' .. local_file .. '" "::' .. v[1] .. '"'
|
2020-10-04 19:53:59 +03:00
|
|
|
end
|
|
|
|
|
|
|
|
-- generate tup rule for kolibri.raw
|
|
|
|
tup.definerule{inputs = input_deps, command = make_raw_command, outputs = {"kolibri.raw"}}
|