Ukukhishwa kwesistimu yamaphakheji azimele I-Flatpak 1.14.0

Igatsha elisha elizinzile lekhithi yamathuluzi ye-Flatpak 1.14 selishicilelwe, elihlinzeka ngohlelo lokwakha amaphakheji azimele angaboshiwe ekusatshalalisweni kwe-Linux ethile futhi asebenza esitsheni esikhethekile esihlukanisa uhlelo lokusebenza kulo lonke uhlelo. Ukusekelwa kokusebenza kwamaphakheji e-Flatpak kunikezwa i-Arch Linux, CentOS, Debian, Fedora, Gentoo, Mageia, Linux Mint, Alt Linux kanye no-Ubuntu. Amaphakheji e-Flatpak afakiwe endaweni yokugcina ye-Fedora futhi asekelwa umphathi wohlelo lokusebenza lwe-GNOME lwendabuko.

Izinto ezintsha ezibalulekile egatsheni leFlatpak 1.14:

  • Kungenzeka ukwakha uhla lwemibhalo lwamafayela asesimweni (.local/state) futhi usethe i-XDG_STATE_HOME eguquguqukayo yemvelo ekhomba lolu hlu lwemibhalo.
  • Kwengezwe ukuhlola okunemibandela kwefomu elithi “have-kernel-module-name” ukuze kutholwe ubukhona bamamojula e-kernel (i-analogue yendawo yonke yesheke le- have-intel-gpu elalihlongozwe ngaphambilini, esikhundleni salo inkulumo ethi “have-kernel-module-i915 ” ingasetshenziswa manje).
  • Umyalo othi “flatpak document-unexport —doc-id=…” usetshenzisiwe.
  • Ukuthunyelwa kwemethadatha ye-Appstream ukuze isetshenziswe endaweni eyinhloko kunikezwa.
  • Kungezwe imithetho yokuqedela umyalo we-flatpak yegobolondo le-Fish
  • Ukufinyelela kwenethiwekhi kumasevisi we-X11 kanye ne-PulseAudio kuvunyelwe (uma izilungiselelo ezifanele zengezwa).
  • Igatsha eliyinhloko endaweni yokugcina ye-Git liqanjwe kabusha lisuka ku-“master” laya kokuthi “main”, njengoba igama elithi “master” lisanda kuthathwa njengelingalungile ngokwepolitiki.
  • Izikripthi zokuqalisa manje sezibhalwa kabusha uma uhlelo lokusebenza luqanjwe kabusha.
  • Kwengezwe izinketho ze-"--include-sdk" kanye "--include-debug" kumyalo wokufaka ukuze ufake i-SDK kanye namafayela e-debuginfo.
  • Usekelo olungeziwe lwepharamitha ye-“DeploySideloadCollectionID” kumafayela e-flatpakref nawe-flatpakrepo. Uma isethiwe, i-ID yeqoqo izosethwa lapho wengeza ikhosombe elikude, hhayi ngemva kokulayisha imethadatha.
  • Ivumele ukudalwa kwezindawo ze-sandbox ezisidleke zezibambi ngezikhathi ezinamagama ahlukene we-MPRIS (I-Media Player Remote Interfacing Specification).
  • Izinsiza zomugqa womyalo manje zinikeza ulwazi mayelana nokusetshenziswa kwezandiso zesikhathi sokusebenza esiphelelwe yisikhathi.
  • Umyalo wokukhipha usebenzisa isicelo sokuqinisekisa ngaphambi kokususa isikhathi sokusebenza noma izandiso zesikhathi sokusebenza ezisasetshenziswa.
  • Ukwesekwa okwengeziwe kwenketho ye-“--socket=gpg-agent” ukuze imiyalo efana nokuthi “flatpak run”.
  • Ubungozi bulungisiwe ku-libostree obungase buvumele umsebenzisi ukuthi asuse amafayela angadingeki kusistimu ngokukhohlisa isibambi somsizi we-flatpak (ukuthumela isicelo sokususa ngegama legatsha elifomethwe ngokukhethekile). Inkinga ibonakala kuphela kuzinguqulo ezindala ze-Flatpak ne-libostree ezikhishwe ngaphambi kwe-2018 (< 0.10.2) futhi ayithinti ukukhishwa kwamanje.

Ake sikukhumbuze ukuthi i-Flatpak ivumela abathuthukisi bohlelo lokusebenza ukuthi benze lula ukusatshalaliswa kwezinhlelo zabo ezingafakiwe kumakhosombe okusabalalisa ajwayelekile ngokulungiselela isiqukathi esisodwa sendawo yonke ngaphandle kokudala imihlangano ehlukene yokusabalalisa ngakunye. Kubasebenzisi abaqaphela ukuphepha, i-Flatpak ikuvumela ukuthi usebenzise uhlelo lokusebenza olungabazekayo esitsheni, enikeza ukufinyelela kuphela emisebenzini yenethiwekhi namafayela omsebenzisi ahlobene nohlelo lokusebenza. Kubasebenzisi abanentshisekelo emikhiqizweni emisha, i-Flatpak ikuvumela ukuthi ufake ukuhlolwa kwakamuva nokukhishwa okuzinzile kwezinhlelo zokusebenza ngaphandle kwesidingo sokwenza izinguquko ohlelweni. Isibonelo, amaphakheji e-Flatpak akhelwe i-LibreOffice, Midori, GIMP, Inkscape, Kdenlive, Steam, 0 AD, Visual Studio Code, VLC, Slack, Skype, Telegram Desktop, Android Studio, njll.

Ukuze kuncishiswe usayizi wephakheji, kuhlanganisa kuphela ukuncika okuqondene nohlelo lokusebenza, futhi isistimu eyisisekelo namalabhulali ezithombe (imitapo yolwazi ye-GTK, Qt, GNOME ne-KDE, njll.) yakhelwe njengezimo ezijwayelekile ze-plug-in zesikhathi sokusebenza. Umehluko oyinhloko phakathi kwe-Flatpak ne-Snap yukuthi i-Snap isebenzisa izingxenye zemvelo yesistimu eyinhloko kanye nokuzihlukanisa ngokusekelwe kumakholi wesistimu yokuhlunga, kuyilapho i-Flatpak idala isitsha esihlukile ohlelweni futhi isebenza ngamasethi amakhulu wesikhathi sokusebenza, inganikezeli amaphakheji njengokuncika, kodwa okujwayelekile. izindawo zesistimu (isibonelo, yonke imitapo yolwazi edingekayo ekusebenzeni kwezinhlelo ze-GNOME noma ze-KDE).

Ngaphezu kwemvelo evamile yesistimu (isikhathi sokusebenza), efakwe ngenqolobane ekhethekile, ukuncika okwengeziwe (inqwaba) okudingekayo ekusebenzeni kohlelo lokusebenza kuhlinzekwa. Sekukonke, isikhathi sokusebenza kanye nenqwaba kwenza ukugcwaliswa kwesiqukathi, naphezu kokuthi isikhathi sokusebenza sifakwe ngokwehlukana futhi siboshelwe ezitsheni eziningana ngesikhathi esisodwa, okukuvumela ukuthi ugweme ukuphindaphinda amafayela wesistimu ajwayelekile ezitsheni. Isistimu eyodwa ingaba nezikhathi zokugijima eziningana ezifakiwe (i-GNOME, i-KDE) noma izinguqulo ezimbalwa zesikhathi sokusebenza esifanayo (GNOME 3.40, GNOME 3.42). Isiqukathi esinohlelo lokusebenza njengokuncika sisebenzisa ukubophezela kuphela esikhathini esithile sokusebenza, ngaphandle kokucabangela amaphakheji angawodwana akha isikhathi sokusebenza. Zonke izici ezingekho zipakishwa ngokuqondile nohlelo lokusebenza. Uma isiqukathi sakhiwe, okuqukethwe kwesikhathi sokusebenza kuyakhwezwa njengengxenye ye/usr, futhi inqwaba ikhwezwa kumkhombandlela wohlelo lokusebenza.

Iziqukathi zesikhathi sokusebenza nezokusebenza zakhiwe kusetshenziswa ubuchwepheshe be-OStree, lapho isithombe sibuyekezwa khona nge-athomu sisuka endaweni yokugcina efana ne-Git, evumela izindlela zokulawula inguqulo ukuthi zisetshenziswe ezingxenyeni zokusabalalisa (isibonelo, ungakwazi ukuhlehlisa ngokushesha uhlelo ku- isimo sangaphambilini). Amaphakheji e-RPM ahunyushelwa endaweni ye-OStree kusetshenziswa isendlalelo esikhethekile se-rpm-ostree. Ukufakwa okuhlukene nokuvuselelwa kwamaphakheji ngaphakathi kwendawo yokusebenza akusekelwe; isistimu ibuyekezwa hhayi ezingeni lezingxenye ngazinye, kodwa iyonke, ishintsha isimo sayo nge-athomu. Ihlinzeka ngamathuluzi okufaka izibuyekezo ngokuqhubekayo, isusa isidingo sokushintsha ngokuphelele isithombe ngesibuyekezo ngasinye.

Indawo ehlukanisiwe ekhiqiziwe izimele ngokuphelele ekusabalaliseni okusetshenzisiwe futhi, ngezilungiselelo ezifanele zephakheji, ayinakho ukufinyelela kumafayela nezinqubo zomsebenzisi noma uhlelo oluyinhloko, ayikwazi ukufinyelela ngokuqondile okokusebenza, ngaphandle kokuphumayo nge-DRI, kanye nezingcingo eziya kusistimu engaphansi yenethiwekhi. Okuphumayo kwezithombe nokuhlelwa kokufakwayo kusetshenziswa iphrothokholi ye-Wayland noma nge-X11 socket forwarding. Ukusebenzisana nemvelo yangaphandle kusekelwe ohlelweni lwemiyalezo ye-DBus kanye ne-Portals API ekhethekile.

Ukuze uhlukanise, kusetshenziswa ungqimba lwe-Bubblewrap kanye nobuchwepheshe be-virtualization besitsha se-Linux bendabuko kusetshenziswa, ngokusekelwe ekusetshenzisweni kwamaqoqo, izindawo zamagama, i-Seccomp ne-SELinux. I-PulseAudio isetshenziselwa ukukhipha umsindo. Kulokhu, ukuhlukaniswa kungakhutshazwa, okusetshenziselwa abathuthukisi bamaphakheji amaningi athandwayo ukuze bathole ukufinyelela okugcwele ohlelweni lwefayela kanye nawo wonke amadivayisi ohlelweni. Isibonelo, i-GIMP, i-VSCodium, i-PyCharm, i-Octave, i-Inkscape, i-Audacity, ne-VLC iza nemodi yokuhlukanisa elinganiselwe eshiya ukufinyelela okugcwele kumkhombandlela wasekhaya. Uma amaphakheji anokufinyelela kuhla lwemibhalo lwasekhaya esengozini, naphezu kokuba khona kwelebula ethi “sandboxed” encazelweni yephakheji, umhlaseli udinga kuphela ukushintsha ifayela elithi ~/.bashrc ukuze asebenzise ikhodi yakhe. Inkinga ehlukile ukulawula izinguquko kumaphakheji kanye nokwethemba abakhi bamaphakheji, abavame ukungahlotshaniswa nephrojekthi enkulu noma ukusatshalaliswa.

Source: opennet.ru

Engeza amazwana