that's what i did to recompile kodi: ``` cd /tmp mkdir kodi cd kodi/ sudoedit /etc/apt/sources.list.d/ubuntu.sources # add deb-src to Types: apt source kodi wget https://github.com/xbmc/xbmc/commit/4bf9de87e700f0de56ef698a8d8d6eb7d4ff9050.patch cd kodi-20.5+dfsg/ sudo apt install quilt quilt import ../4bf9de87e700f0de56ef698a8d8d6eb7d4ff9050.patch -P kodi/0017-CPythonInvoker-code-cleanup.patch quilt push -a sudo apt install devscripts dch -n sudo apt-get build-dep kodi dpkg-buildpackage -us -uc cd .. ls *.deb sudo apt install ./kodi_20.5+dfsg-1build2.1_amd64.deb ./kodi-bin_20.5+dfsg-1build2.1_amd64.deb ./kodi-data_20.5+dfsg-1build2.1_all.deb ```
it works now for me, although on exit i get "Segmentation fault", so i guess more patches should be applied.
docs: https://www.debian.org/doc/manuals/maint-guide/modify.en.html https://debian-handbook.info/browse/stable/debian-packaging.html
that's what i did to recompile kodi: sources. list.d/ ubuntu. sources # add deb-src to Types: /github. com/xbmc/ xbmc/commit/ 4bf9de87e700f0d e56ef698a8d8d6e b7d4ff9050. patch f0de56ef698a8d8 d6eb7d4ff9050. patch -P kodi/0017- CPythonInvoker- code-cleanup. patch 20.5+dfsg- 1build2. 1_amd64. deb ./kodi- bin_20. 5+dfsg- 1build2. 1_amd64. deb ./kodi- data_20. 5+dfsg- 1build2. 1_all.deb
```
cd /tmp
mkdir kodi
cd kodi/
sudoedit /etc/apt/
apt source kodi
wget https:/
cd kodi-20.5+dfsg/
sudo apt install quilt
quilt import ../4bf9de87e700
quilt push -a
sudo apt install devscripts
dch -n
sudo apt-get build-dep kodi
dpkg-buildpackage -us -uc
cd ..
ls *.deb
sudo apt install ./kodi_
```
it works now for me, although on exit i get "Segmentation fault", so i guess more patches should be applied.
docs: /www.debian. org/doc/ manuals/ maint-guide/ modify. en.html /debian- handbook. info/browse/ stable/ debian- packaging. html
https:/
https:/