Overview

Request 1538 (accepted)

No description set
Submit package home:sagiben / kodi to package Multimedia / kodi

kodi-noX.spec Changed
kodi.spec Changed
Refresh
Refresh

Sagi Ben-Akiva

sagiben wrote almost 10 years ago

Why did you declined my request ? The fix was for libcec and does not have anything with the DATE and TIME issue. You can see in the spec file that I intend to fix this DATE and TIME issue, but the problem is that it comes from ffmpeg tar which is being untar only during the build, after patch, bootstrap and configure already ran so I don't have access to those files during the pre build phases


Sagi Ben-Akiva

sagiben wrote almost 10 years ago

Regarding the TIME and DATE issue I can do the following in the spec file :

gunzip _service_download_files_2.4.4-Helix.tar.gz

tar xvf _service_download_files_2.4.4-Helix.tar FFmpeg-2.4.4-Helix/cmdutils.c FFmpeg-2.4.4-Helix/ffprobe.c

sed -i -e "s/DATE/\"$FAKE_BUILDDATE\"/" -e "s/TIME/\"$FAKE_BUILDTIME\"/" FFmpeg-2.4.4-Helix/*

tar uvf _service_download_files_2.4.4-Helix.tar FFmpeg-2.4.4-Helix/*

Of course the package name will be replaced by variables

Do you have an idea how to replace it to a oneliner command ?

Thanks, Sagi.


Sagi Ben-Akiva

sagiben wrote almost 10 years ago

Thanks Olaf, Now someone just need to pull libcec from openSUSE.org in order to kodi to build

Request History
Sagi Ben-Akiva's avatar

sagiben created request almost 10 years ago


Johannes Obermayr's avatar

jobermayr declined request almost 10 years ago

Please fix:
kodi.i586: W: file-contains-date-and-time /usr/lib/kodi/kodi.bin
Your file uses __DATE and __TIME__ this causes the package to rebuild when
not needed


Sagi Ben-Akiva's avatar

sagiben approved review almost 10 years ago

Please add a comment


Olaf Hering's avatar

olh accepted request almost 10 years ago

Just nuke the date/time strings entirely from the source. I'm sure they serve no purpose.