2024-01-19, 10:06
(2024-01-19, 05:09)gujal Wrote: Can you please advise how I can build the deb package file now that I have compiled the nightly. Thanks
Why do you need the deb package. Does
sudo make install
not work?
(2024-01-19, 05:09)gujal Wrote: Can you please advise how I can build the deb package file now that I have compiled the nightly. Thanks
sudo make install
not work?
(2024-01-19, 10:06)black_eagle Wrote:I need the package so that I can install on my laptop. The laptop is a ASUS Eeebook Flip E205SA running linuxmint (based on 22.04 LTS) which is great for running kodi but CPU is very weak for compiling code. I am compiling code on a ubuntu server so that I can make the package and install on the laptop(2024-01-19, 05:09)gujal Wrote: Can you please advise how I can build the deb package file now that I have compiled the nightly. Thanks
Why do you need the deb package. Doessudo make install
not work?
(2024-01-28, 12:39)oldtvwatcher Wrote: is there a super user friendly Linux distro that includes Kodi in its repository?
(2024-01-28, 19:09)jjd-uk Wrote: There doesn't seem to be any 20.3
(2024-02-03, 18:31)graysky Wrote: Another distro might be the right move for you if compiling yourself is not an option. Arch Linux for example offers contemporary binary packages, and is relatively easy to run. Ubuntu --> Arch was an pretty easy transition looking back in my own case.
(2024-02-03, 23:43)gujal Wrote:(2024-02-03, 18:31)graysky Wrote: Another distro might be the right move for you if compiling yourself is not an option. Arch Linux for example offers contemporary binary packages, and is relatively easy to run. Ubuntu --> Arch was an pretty easy transition looking back in my own case.
I can compile kodi myself on my desktop, the issue is moving the compiled stuff to my much lower powered laptop needs the deb package to be built, which is not happening
running LTS provides stability for few years, arch is bleeding edge with rapid chages and there is no need for it just to use kodi.
(2024-02-03, 23:43)gujal Wrote:(2024-02-03, 18:31)graysky Wrote: Another distro might be the right move for you if compiling yourself is not an option. Arch Linux for example offers contemporary binary packages, and is relatively easy to run. Ubuntu --> Arch was an pretty easy transition looking back in my own case.
I can compile kodi myself on my desktop, the issue is moving the compiled stuff to my much lower powered laptop needs the deb package to be built, which is not happening
running LTS provides stability for few years, arch is bleeding edge with rapid chages and there is no need for it just to use kodi.
(2024-02-04, 08:19)wsnipex Wrote: this should work:Excellent, Thank you very much. I followed the instructions and I can see the following. I am building on Ubuntu Server 22.04.3LTS. Are the warning about dependencies any cause for concern?
cmake -DAPP_RENDER_SYSTEM=gl -DCPACK_GENERATOR=DEB ..
make package
Run CPack packaging tool...
CPack: Create package using DEB
CPack: Install projects
CPack: - Run preinstall target for: kodi
CPack: - Install project: kodi []
CPack: - Install component: Unspecified
CPack: - Install component: kodi
CPack: - Install component: kodi-addon-dev
CPack: - Install component: kodi-bin
CPack: - Install component: kodi-tools-texturepacker
CPack: Create package
-- CPACK_DEBIAN_PACKAGE_DEPENDS not set, the package will have no dependencies.
-- CPACK_DEBIAN_PACKAGE_DEPENDS not set, the package will have no dependencies.
CPackDeb: - Generating dependency list
CPackDeb: - Generating dependency list
CPack: - package: /home/gujal/kodi-build/packages/kodi-0.1.1-amd64-Unspecified.deb generated.
CPack: - package: /home/gujal/kodi-build/packages/kodi_21.0~git20240204.0729-264b44decd-0jammy_all.deb generated.
CPack: - package: /home/gujal/kodi-build/packages/kodi-addon-dev_21.0~git20240204.0729-264b44decd-0jammy_all.deb generated.
CPack: - package: /home/gujal/kodi-build/packages/kodi-bin_21.0~git20240204.0729-264b44decd-0jammy_amd64.deb generated.
CPack: - package: /home/gujal/kodi-build/packages/kodi-tools-texturepacker_21.0~git20240204.0729-264b44decd-0jammy_amd64.deb generated.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
kodi : Depends: libnfs8 but it is not installable or
libnfs4 but it is not installable or
libnfs1 but it is not installable
Recommends: libva-intel-vaapi-driver but it is not installable
Recommends: libva1 but it is not installable
E: Unable to correct problems, you have held broken packages.
PREFIX=/usr/local
VERSION=Nexus
# Get source code
# Kodi
git clone -b ${VERSION} https://github.com/xbmc/xbmc kodi
-f kodi/version.txt (wiki) && cat kodi/version.txt
# TVheadend client
git clone -b ${VERSION} https://github.com/kodi-pvr/pvr.hts.git
mkdir kodi-build
cd kodi-build
# Build Kodi
# platformname can be any of gbm, x11 or wayland (can use multiple)
cmake ../kodi -DCMAKE_INSTALL_PREFIX=${PREFIX} -DCORE_PLATFORM_NAME="wayland gbm x11" -DAPP_RENDER_SYSTEM=gles
cmake --build . -- VERBOSE=1 -j$(getconf _NPROCESSORS_ONLN)
# Build hts
cd ${WD}/pvr.hts && mkdir build && cd build
cmake -DADDONS_TO_BUILD=pvr.hts -DADDON_SRC_PREFIX=${WD} -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=${WD}/kodi-build/addons -DPACKAGE_ZIP=1 ../../kodi/cmake/addons
make
# Build addons
make -j$(getconf _NPROCESSORS_ONLN) -C tools/depends/target/binary-addons PREFIX=${PREFIX}
make -C tools/depends/target/binary-addons clean
# Install
cd ${WD}/kodi-build
make install