Projects
Essentials
faad2
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 16
View file
faad2.changes
Changed
@@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Sun Feb 26 00:41:57 UTC 2017 - zaitor@opensuse.org + +- Add faad2-reproducible-build.patch: Remove + '__DATE__' and '__TIME__' to make build more reproducible. + Following this, remove sed hack to inject date/time into build. + +------------------------------------------------------------------- Mon Jul 14 11:09:54 CEST 2014 - olaf@aepfle.de - disable xmms also in sle11, fails to compile also there
View file
faad2.spec
Changed
@@ -24,6 +24,8 @@ Url: http://www.audiocoding.com/ Group: Productivity/Multimedia/Video/Editors and Convertors Source0: http://downloads.sourceforge.net/project/faac/faad2-src/faad2-%{version}/faad2-%{version}.tar.bz2 +Patch0: faad2-visibility.patch +Patch1: faad2-reproducible-build.patch Requires: %{libname} = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with mpeg4ip} @@ -41,7 +43,7 @@ BuildRequires: libtool #Obsoletes: faad2-drm #Provides: faad2-drm -Patch0: faad2-visibility.patch + %description FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, completely @@ -112,9 +114,9 @@ %prep %setup -qn faad2-%{version} -FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') -sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" frontend/main.c %patch0 -p1 +%patch1 -p1 + %build autoreconf -ifv export CFLAGS="%{optflags} -fPIC -fno-strict-aliasing"
View file
faad2-reproducible-build.patch
Added
@@ -0,0 +1,16 @@ +Description: Remove timestamps from CPP macros + The C pre-processor macros '__DATE__' and '__TIME__' capture the current time + and thus will obviously make a build unreproducible. Usage of these macros + must simply be removed in order to make builds reproducible. +Author: Fabian Greffrath <fabian+debian@greffrath.com> + +--- a/frontend/main.c ++++ b/frontend/main.c +@@ -1274,7 +1274,6 @@ int main(int argc, char *argv[]) + + + faad_fprintf(stderr, " *********** Ahead Software MPEG-4 AAC Decoder V%s ******************\n\n", FAAD2_VERSION); +- faad_fprintf(stderr, " Build: %s\n", __DATE__); + faad_fprintf(stderr, " Copyright 2002-2004: Ahead Software AG\n"); + faad_fprintf(stderr, " http://www.audiocoding.com\n"); + if (cap & FIXED_POINT_CAP)
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
.