Projects
Multimedia
kodi
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
kodi-noX.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Jan 8 22:42:09 UTC 2015 - obs@botter.cc + +- remove __DATE and __TIME__ from source tree and ffmpeg archive + +------------------------------------------------------------------- Fri Dec 12 06:21:30 UTC 2014 - sagiben at gmail dot com - Update to Kodi 14.0 Helix
View file
kodi.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Jan 8 22:39:58 UTC 2015 - obs@botter.cc + +- remove __DATE and __TIME__ from source tree and ffmpeg archive + +------------------------------------------------------------------- Fri Dec 12 06:21:30 UTC 2014 - sagiben at gmail dot com - Update to Kodi 14.0 Helix
View file
kodi-noX.spec
Changed
@@ -223,14 +223,24 @@ ./bootstrap popd -cp %{SOURCE2} tools/depends/target/ffmpeg/ffmpeg-%{ffmpeg_archive_name}.tar.gz +#cp %{SOURCE2} tools/depends/target/ffmpeg/ffmpeg-%{ffmpeg_archive_name}.tar.gz # Remove build time references so build-compare can do its work FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S') -#for file in tools/depends/target/ffmpeg/ffmpeg-%{ffmpeg_archive_name}/ffprobe.c tools/depends/target/ffmpeg/ffmpeg-%{ffmpeg_archive_name}/cmdutils.c; do -# sed -i -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" $file -#done + +# remove it in ffmpeg archive and repackage it +tar xpfz %{SOURCE2} -C tools/depends/target/ffmpeg/ +for file in tools/depends/target/ffmpeg/FFmpeg-%{ffmpeg_archive_name}/ffprobe.c tools/depends/target/ffmpeg/FFmpeg-%{ffmpeg_archive_name}/cmdutils.c; do + sed -i -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" $file +done +tar cpfz tools/depends/target/ffmpeg/ffmpeg-%{ffmpeg_archive_name}.tar.gz -C tools/depends/target/ffmpeg/ FFmpeg-%{ffmpeg_archive_name}/ +rm -r tools/depends/target/ffmpeg/FFmpeg-%{ffmpeg_archive_name} + +# remove the remaining occurencies in the source tree +for file in lib/timidity/timidity/speex_a.c xbmc/Application.cpp xbmc/GUIInfoManager.cpp; do + sed -i -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" $file +done chmod +x bootstrap ./bootstrap
View file
kodi.spec
Changed
@@ -223,14 +223,24 @@ ./bootstrap popd -cp %{SOURCE2} tools/depends/target/ffmpeg/ffmpeg-%{ffmpeg_archive_name}.tar.gz +#cp %{SOURCE2} tools/depends/target/ffmpeg/ffmpeg-%{ffmpeg_archive_name}.tar.gz # Remove build time references so build-compare can do its work FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S') -#for file in tools/depends/target/ffmpeg/ffmpeg-%{ffmpeg_archive_name}/ffprobe.c tools/depends/target/ffmpeg/ffmpeg-%{ffmpeg_archive_name}/cmdutils.c; do -# sed -i -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" $file -#done + +# remove it in ffmpeg archive and repackage it +tar xpfz %{SOURCE2} -C tools/depends/target/ffmpeg/ +for file in tools/depends/target/ffmpeg/FFmpeg-%{ffmpeg_archive_name}/ffprobe.c tools/depends/target/ffmpeg/FFmpeg-%{ffmpeg_archive_name}/cmdutils.c; do + sed -i -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" $file +done +tar cpfz tools/depends/target/ffmpeg/ffmpeg-%{ffmpeg_archive_name}.tar.gz -C tools/depends/target/ffmpeg/ FFmpeg-%{ffmpeg_archive_name}/ +rm -r tools/depends/target/ffmpeg/FFmpeg-%{ffmpeg_archive_name} + +# remove the remaining occurencies in the source tree +for file in lib/timidity/timidity/speex_a.c xbmc/Application.cpp xbmc/GUIInfoManager.cpp; do + sed -i -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -e "s/__TIME__/\"$FAKE_BUILDTIME\"/" $file +done chmod +x bootstrap ./bootstrap
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.