#!/bin/bash #italiano txt_tc="toolchain" txt_tpl="Modello" txt_lib="Biblioteca" txt_create='creato in'; txt_bmenu_user="Nome utente "; txt_bmenu_comp="Compilatore "; txt_bmenu_debu="Informazioni di Debug "; txt_bmenu_acti="Caratteristiche attive"; txt_wait="attendere prego..."; txt_build="compilo"; txt_lc="utilizzare"; txt_to="verso"; txt_force="Checkout rapido"; txt_back="Torna al menu Toolchain"; txt_back_main="Torna al menu precedente" txt_end="Termina Simplebuild"; txt_offline="offline"; txt_error="Errore"; txt_LOAD="CARICA"; txt_DOWNLOAD="Sto scaricando"; txt_REMOVE="RIMUOVI"; txt_found_in="trovato in"; txt_found_in_archiv="trovato in archivio"; txt_buildtime="tempo di compilazione"; txt_nosvn="nessuna svn trovata"; txt_with="con"; txt_old="vecchio"; txt_no_stapi="nessun sh4 STAPI presente!"; txt_rm="rimosso"; txt_help1="inizia con"; txt_help2="Le linee di comando sono"; txt_help3="Premi [ENTER] per continuare..." txt_compressor1="Scegli la COMPRESSIONE BINARIA\n per il tuo SISTEMA DI COMPILAZIONE"; txt_compressor2="Risultato : "; txt_compressor3="Trovato"; txt_compressor4="Non trovato"; txt_packok="è compresso nell'arvhivio"; txt_packfail="errore durante la compressione"; txt_rcheckout=" manca SVN. Vengono cerati aggioranmenti. Attendere prego...\n"; txt_extra1=" Scegliere le caratteristiche :\n [*] = on; [ ] = off"; txt_extra2="supporto periferiche USB"; txt_extra3="supporto periferiche PCSC"; txt_extra4="utilizza la funzione STAPI"; txt_extra5="utilizza la funzione COOLAPI"; txt_extra6="includi le librerie in Oscam"; txt_extra7="comprimere Oscam come .tar.gz"; txt_extra8="Comprimere Oscam con UPX"; txt_checksys1="\n controllo file\n --------------\n"; txt_checksys2="\n controllo pacchetto\n -------------------\n"; txt_checksys3="è intallato"; txt_checksys4="... non è installato"; txt_checksys5="installato "; txt_checksys6="... manca"; txt_checksys7=" trovato in "; txt_cfg_path1="default è"; txt_cfg_path2="impostato è"; txt_cfg_path3="La CONF_DIR è impostata a"; txt_lib_path1="La LIB_DIR è impostata a"; txt_custom_suffix="lasciare vuoto per Standard"; txt_online_update1="versione locale"; txt_online_update2="versione online"; txt_online_update3="Volete cambiare alla versione attuale dello script SIMPLEBUILD"; txt_conf_update1="versione locale"; txt_conf_update2="versione online"; txt_conf_update3="Volete cambiare alla versione attuale del file CONFIG"; txt_patch="usare patch"; txt_patch_off1="Patch(e) trovati da eliminare\n-----------------------------"; txt_patch_off2="rimuovi Patch(s)"; txt_patch_off3="rimuovo"; txt_patch_off4="files dalla svn"; txt_patch_on1="Patch(s) da applicare trovati\n-----------------------------"; txt_patch_on2="Patch(s) applicare"; txt_con_check1="carico mancanti"; txt_con_check2="riconosciuta dimensione Toolchain errata! Rimuovo e ricarico."; txt_con_check3="errore durante il caricamento"; txt_configure_title="[ CONFIGURAZIONE ]"; txt_configure_menu0="Configurare"; txt_configure_menu1="Moduli, Protocolli, Lettori, Carten e Driver per Reader"; txt_configure_menu2="Caratteristiche (USB/PCSC/PACK/PATCH/STAPI/COOLAPI/COMPRESS)"; txt_configure_menu3="Configurazioni standard- impostazione directory"; txt_configure_menu4="Librerie standard- impostazione directory"; txt_configure_menu6="eigene oscam Endung verwenden"; txt_configure_menu7="Salvare e tornare al menu di compilazione"; txt_cmdline1="Revisions Checkout"; txt_cmdline2="Trunk Checkout"; txt_cmdline3="utilizza il profilo standard"; txt_cmdline4="utilizza il profilo personalizzato"; txt_cmdline5="utilizza il profilo salvato"; txt_cmdline6="profilo personalizzato non trovato\n utilizzo profilo standard"; txt_cmdline7="profilo salvato non trovato\n utilizzo profilo standard"; txt_cmd_build1="nessuna SVN originale trovata\n rimuovi subito oscam-svn !!\n ---------------------------"; txt_cmd_build2="SVN rimossa\n Riavvia Simplebuild!\n --------------------"; txt_cmd_build3="applico Patch(s)\n ----------------"; txt_cmd_build4="trovato Patch(s) da rimuovere"; txt_cmd_build5="applicare Patch(s)"; txt_cmd_build6="pulire SVN"; txt_cmd_build7="Dimensione file prima "; txt_cmd_build8="Dimensione file dopo "; txt_cmd_build9="Dimensione file rimpicciolita di"; txt_cmd_build10="rimuovo Patch(s)\n ----------------"; txt_cmd_build11="trovato Patch(s) da rimuovere"; txt_cmd_build12="errore durante la compilazione"; txt_cmd_build13="leggere build.log" txt_cmd_build14="rimuovo Patch(s)"; txt_cmd_build_title="[ INFO compressione ]"; txt_b_menu_title="[ Opzioni compilazione ]"; txt_b_menu_options1="nessuna caratteristica attiva" txt_b_menu1="[ MENU COMPILAZIONE ]"; txt_b_menu2="Informazioni"; txt_b_menu3="impostazioni applicate"; txt_b_menu4="imposta OScam"; txt_b_menu5="Compilo Oscam"; txt_b_menu6="Mostra build.log"; txt_b_menu7="Mostra la configurazione OScam"; txt_upload_cam1="Manca il file config"; txt_upload_cam2="File config trovato"; txt_t_menu1="\n La versione SVN attuale è : r"; txt_rem_chains1="Selezione per favore il Toolchain da rimuovere"; txt_add_chains1="Aggiungi Toolchain"; txt_add_chains2="Selezionare per favore il Toolchain da aggiungere"; txt_menu_builder1="Termina Simplebuild"; txt_menu_builder2="Aggiungi un Toolchain"; txt_menu_builder3="Rimuovi un Toolchain installato"; txt_menu_builder4="Nativo per"; txt_menu_builder5="Creare Nuova Toolchain" txt_menu_back="Torna al menu Toolchain"; txt_cedit1="Rimuovi il file .debug"; txt_cedit2="Controlla i Toolchains installati"; txt_cedit3="Attiva AUTO PATCH SYSTEM"; txt_cedit4="Attiva Update Check"; txt_cedit5="SCRIPT mit maximalen Infos beim bau"; txt_revcheck1="CONTROLLO_UPDATE"; txt_revcheck2="Controllo versione ONLINE di Oscam"; txt_revcheck3="Versione trovata:"; txt_revcheck4="Immettere il numero della SVN desiderata..."; txt_revcheck5="Impossibile. SVN è offline!"; txt_revcheck6="Controllare la SVN locale"; txt_revsel1="Continua con SVN locale:"; txt_revsel2="SVN"; txt_revsel3="riscaricare e rimuovere le configurazioni"; txt_revsel4="Editore configurazioni"; txt_revsel5="Esci dal programma"; txt_revsel6="Aggiornare all'ultima versione"; txt_wrong1="build cam nome errato o non trovato"; txt_options1="Modifica opzioni:"; txt_options2="Attivare"; txt_options3="Disattivare"; txt_options4="OK riavvia SIMPLEBUILD"; txt_options_title="Editore CONFIG"; txt_disksvn="revisione locale è ora " # firstmenu ################################################ txt_firstmenu_continue="Continua con SVN locale" txt_firstmenu_chose="Carica una differente SVN (7000+)" txt_firstmenu_cedit="Carica editor configurazione" txt_firstmenu_tcupdate="Carica toolchain update" txt_firstmenu_lang="Seleziona il linguaggio di sistema" txt_firstmenu_exit="Esci da Simplebuild" # _toolchain_build_menu##################################### txt_bmenu_title="Creare menu" txt_bmenu_user="username " txt_bmenu_comp="compiler " txt_bmenu_debu="debug info " txt_bmenu_use="USE_variables " txt_bmenu_build="Crea file bin Oscam" txt_bmenu_config="Oscam/crea configurazione" txt_bmenu_update="Installa/aggiorna librerie" txt_bmenu_backup="Crea backup Toolchain" txt_bmenu_profile="Carica profilo esistente $txt_profiles" txt_bmenus_profile="Salva profilo $txt_profiles $txt_save" txt_bmenu_log="Mostra lastbuild.log" txt_bmenu_back="Torna alla selezione della toolchain" txt_compress1="filesize before " txt_compress2="filesize after " txt_compress3="filesize reduced to " # _plugin_update_toolchain ############################################# txt_s3tup_menu_command_label_exit="Exit" txt_s3tup_menu_command_label_back="Back" txt_s3tup_menu_command_label_create="Create" txt_s3tup_menu_command_label_update="Update" txt_s3tup_menu_command_label_backup="Backup" txt_s3tup_menu_command_label_start="Start" txt_s3tup_menu_command_label_info="Info" txt_s3tup_menu_command_label_setup="Setup" txt_s3tup_menu_command_label_edit="Edit" txt_s3tup_menu_command_label_yes="Yes" txt_s3tup_menu_command_label_no="No" txt_s3tup_msg_syscheck1="Please wait while performing checks of required tools and dependencies..." txt_s3tup_msg_syscheck2="You need to manually install the following packages to use this plugin properly:" txt_s3tup_msg_reset_config1="Moving existing config file..." txt_s3tup_msg_reset_config2="config file backup=" txt_s3tup_msg_reset_config3="Creating new config file. Please wait..." txt_s3tup_msg_reset_config4="config file=" txt_s3tup_msg_reset_config5="You can change/extend them to fit your needs." txt_s3tup_msg_buildasroot_error1="The cross ${txt_tc} build process was aborted because it must not run as root!" txt_s3tup_msg_buildasroot_error2="If you are aware of the danger of building ${txt_tc}s as root and you know what you are doing,\n you can force it with the following command:" txt_s3tup_msg_toolchain_exists="${txt_tc} already exists!" txt_s3tup_msg_choose_ssl="Please select only one SSL version!" txt_s3tup_msg_library_not_found="${txt_lib} not found in config file!" txt_s3tup_msg_cross_toolchain_log="creating cross ${txt_tc} log" txt_s3tup_msg_cross_toolchain_commandlist="command list for cross ${txt_tc} creation" txt_s3tup_msg_cross_toolchain_library_detection="The following libraries were detected in the existing ${txt_tc}:" txt_s3tup_msg_cross_toolchain_library_integration="The following libraries will now be integrated into the ${txt_tc}:" txt_s3tup_msg_cross_migrations_renamed="was renamed to" txt_s3tup_msg_cross_migrations_remove="Remove ${txt_tc}" txt_s3tup_msg_cross_migrations_outdated="The following cross ${txt_tc}s are out of date due to the renaming of cross ${txt_tc} ${txt_tpl}s:" txt_s3tup_msg_cross_migrations_hint="You can still use the ${y_l}old cross ${txt_tc}s${re_} from above, but it's better to create new ones based on the ${p_l}new cross ${txt_tc} ${txt_tpl}s${re_} to get future ${txt_tpl} updates.\nThe ${y_l}old cross ${txt_tc}s${re_} can be removed manually as follows:" txt_s3tup_msg_build_library_log="updating ${txt_lib} log" txt_s3tup_msg_build_library_commandlist="build command list for" txt_s3tup_msg_build_library_error="ERRORS on build found, details:" txt_s3tup_msg_ctng_setup_log="installing crosstool-NG log" txt_s3tup_msg_ctng_setup_commandlist="build command list for" txt_s3tup_msg_ctng_setup_cleanup="Cleanup source directory" txt_s3tup_msg_fng_setup_log="installing freetz-ng log" txt_s3tup_msg_fng_setup_commandlist="build command list for" txt_s3tup_msg_fng_setup_cleanup="Cleanup source directory" txt_s3tup_msg_extract_file_unreadable="file is unreadable:" txt_s3tup_msg_extract_extension_unknown="unrecognized file extension:" txt_s3tup_msg_gtp_missing="missing description" txt_s3tup_msg_gtp_info="run \Zr<${txt_s3tup_menu_command_label_setup}>\ZR to show details" txt_s3tup_msg_paktc="Press any key to continue" txt_s3tup_msg_check_toolchain_empty="Parameter${w_l} ${txt_tc} not set!" txt_s3tup_msg_check_toolchain_not_supported="${txt_tc} ${txt_lib} update not supported!" txt_s3tup_msg_check_library_info1="Check for PCSC header files and try to symlink to the correct PCSC header files if the last compiler include path points to the wrong location..." txt_s3tup_msg_check_library_info2a="Symlink to the correct PCSC header files created." txt_s3tup_msg_check_library_info2b="No PCSC header files found in following folder and it's sub directories:" txt_s3tup_msg_check_library_info3a="PCSC header files are in the correct location:" txt_s3tup_msg_check_library_info3b="Compiler returns no include directories!" txt_s3tup_msg_github_api_limits_info1="Your ${r_l}Github API rate limit has been exceeded${y_l} and will be reset at the following time:" txt_s3tup_msg_github_api_limits_info2="Please wait until you reset your configuration file. The most recent versions and download links for the libraries are determined dynamically via the Github API. Exceeding the rate limit of the Github API will result in failures on generationg the configuration file. For ${b_l}unauthenticated requests${y_l}, the rate limit allows ${b_l}up to 60 requests per hour${y_l}. Unauthenticated requests are associated with the originating IP address, and not the user making requests." txt_s3tup_msg_check_crosstool_setup_info="is not setup correctly. Try to fix it automatically..." txt_s3tup_msg_check_config_info1="Your config file seems to be outdated. The following settings are missing:" txt_s3tup_msg_check_config_info2="Please restart s3 as follows to recreate an updated config file:" txt_s3tup_msg_change_config_error="variable does not exist in the configuration file!" txt_s3tup_msg_change_config_info="Variable changed to:" txt_s3tup_msg_create_config_template_not_found="Template file not found. Please make a clean checkout of simplebuild 3!" txt_s3tup_msg_create_config_jq_not_found="Without the package 'jq' automatic config file generation is not possible. Please install it first:" txt_s3tup_menu_toolchain_title="${txt_tc} Menu" txt_s3tup_menu_toolchain_text1="Select one of the" txt_s3tup_menu_toolchain_text2="installed cross ${txt_tc}s that you want to update:" txt_s3tup_menu_toolchain_notfound="no ${txt_tc}s found" txt_s3tup_menu_toolchain_folder="$txt_tc folder:" txt_s3tup_menu_toolchain_config="config file:" txt_s3tup_menu_library_title="${txt_lib} Update Menu" txt_s3tup_menu_library_text1="Select all libraries to update in ${txt_tc}'s SYSROOT folder:" txt_s3tup_menu_library_text2=" ${txt_lib} version NEW CURRENT" #56 chars txt_s3tup_menu_library_notfound="no libraries found" txt_s3tup_menu_template_title="Cross ${txt_tc} ${txt_tpl} Menu" txt_s3tup_menu_template_text1="Select one of the" txt_s3tup_menu_template_text2="${txt_tpl}s to create the cross ${txt_tc} you want:" txt_s3tup_menu_template_text3="NOTE:" txt_s3tup_menu_template_text4="If you create a cross ${txt_tc} from a ${txt_tpl} with a red colored description, an existing one with the same name will be replaced without asking!" txt_s3tup_menu_template_text5="Dark red colored descriptions indicates that the version of the ${txt_tpl} is higher than the existing ${txt_tc}. An update could make sense." txt_s3tup_menu_template_notfound="no ${txt_tpl}s found" txt_s3tup_menu_info_toolchain="${txt_tc}: " #11 chars txt_s3tup_menu_info_compiler="Compiler: " #11 chars txt_s3tup_menu_info_sysroot="Sysroot: " #11 chars txt_s3tup_menu_info_prefix="Prefix: " #11 chars txt_s3tup_menu_info_include="Include: " #11 chars txt_s3tup_menu_info_library="Configuration:" txt_s3tup_menu_info_build="command list:" txt_s3tup_menu_edit_title="Save Cross ${txt_tc} ${txt_tpl}" txt_s3tup_menu_edit_text="Would you like to \ZrSAVE\ZR this ${txt_tc} ${txt_tpl} \Zrnow\ZR?" txt_s3tup_menu_backup_title="$txt_s3tup_menu_command_label_backup" txt_s3tup_menu_build_library_title="Build" txt_s3tup_menu_ctng_setup_title="$txt_s3tup_menu_command_label_setup" txt_s3tup_menu_fng_setup_title="$txt_s3tup_menu_command_label_setup" txt_s3tup_menu_download_title="Downloading" txt_s3tup_menu_compress_title="Compress cross ${txt_tc}"