Hello community, here is the log from the commit of package ioquake3 for openSUSE:Leap:15.2 checked in at 2020-04-25 19:03:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/ioquake3 (Old) and /work/SRC/openSUSE:Leap:15.2/.ioquake3.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ioquake3" Sat Apr 25 19:03:40 2020 rev:1 rq:775761 version:1.36+git.20180802 Changes: -------- New Changes file: --- /dev/null 2020-04-14 14:47:33.391806949 +0200 +++ /work/SRC/openSUSE:Leap:15.2/.ioquake3.new.2738/ioquake3.changes 2020-04-25 19:03:41.671416439 +0200 @@ -0,0 +1,428 @@ +------------------------------------------------------------------- +Thu Aug 8 09:50:39 UTC 2019 - Martin Hauke <mar...@gmx.de> + +- Add patch in order to make builds reproducable: + * 0001-q3rcc-Allow-to-override-build-date.patch +- Disable LTO for now (segfaults) + +------------------------------------------------------------------- +Sun Aug 05 18:39:52 UTC 2018 - mar...@gmx.de + +- Update to version 1.36+git.20180802 +- Drop not longer needed patches: + * fix-for-opensuse-x86-ioq3demo_sh.diff + * fix-for-opensuse-x86-ioquake3_sh.diff + +------------------------------------------------------------------- +Sun Jan 17 09:35:05 UTC 2016 - kiel...@gmail.com + +- Added packaging in spec of missing renderer: + renderer_opengl1_$arch.so + renderer_opengl2_$arch.so +- Added PATCH-FIX-OPENSUSE fix-for-opensuse-x86-ioq3demo_sh.diff + for x86 (i386 -> x86) +- Added PATCH-FIX-OPENSUSE fix-for-opensuse-x86-ioquake3_sh.diff + for x86 (i386 -> x86) +------------------------------------------------------------------- +Sun May 10 19:23:38 UTC 2015 - dap.darkn...@gmail.com + +- Updated from git#2292bf5bb2e3178674492d4dfd46b63515d0abe1 + to resolve *64 build issue. +- Removed merged ioquake3-1.36-strcpy.diff. + +------------------------------------------------------------------- +Wed Dec 26 11:42:04 UTC 2012 - joop.boo...@opensuse.org + +- openal-devel is now called openal-soft-devel + +------------------------------------------------------------------- +Sat Jul 2 16:24:54 UTC 2011 - jeng...@medozas.de + +- Use %_smp_mflags for parallel building +- Strip %clean section (not needed on BS) +- Remove duplicate changelog + +------------------------------------------------------------------- +Sun Jul 4 14:42:18 UTC 2010 - lnus...@suse.de + +- fix wrong use of strcpy (bio#4331) + +------------------------------------------------------------------- +Sun Apr 12 11:06:25 CEST 2009 - lnus...@suse.de + +- new version 1.36 + +------------------------------------------------------------------- +Mon Mar 2 19:17:24 CET 2009 - lnus...@suse.de + +- update to SVN1507 in trunk + +------------------------------------------------------------------- +Sun Jan 18 11:08:48 CET 2009 - lnus...@suse.de + +- update to SVN1493 in trunk, includes security fix + +------------------------------------------------------------------- +Fri Jan 16 11:35:21 CET 2009 - lnus...@suse.de + +- update to SVN1492 in trunk + +------------------------------------------------------------------- +Mon Jan 12 17:11:37 CET 2009 - lnus...@suse.de + +- optionally only build the installer + +------------------------------------------------------------------- +Fri Jan 9 14:22:46 CET 2009 - lnus...@suse.de + +- update to SVN1489 in trunk + +------------------------------------------------------------------- +Mon Nov 10 10:49:03 CET 2008 - lnus...@suse.de + +- update to SVN1486 in trunk + +------------------------------------------------------------------- +Wed Nov 5 17:06:17 CET 2008 - lnus...@suse.de + +- update to SVN1481 in trunk + +------------------------------------------------------------------- +Fri Sep 12 11:59:59 CEST 2008 - lnus...@suse.de + +- update to SVN1470 in trunk + +------------------------------------------------------------------- +Wed Sep 3 09:41:38 CEST 2008 - lnus...@suse.de + +- update to SVN1469 in trunk + +------------------------------------------------------------------- +Wed Aug 20 10:21:38 CEST 2008 - lnus...@suse.de + +- update to SVN1450 in trunk + +------------------------------------------------------------------- +Sat Aug 9 17:39:45 CEST 2008 - lnus...@suse.de + +- update to SVN 1443 in trunk + +------------------------------------------------------------------- +Thu Jul 17 10:11:10 CEST 2008 - lnus...@suse.de + +- update to SVN 1429 in trunk + +------------------------------------------------------------------- +Wed Jul 16 09:16:31 CEST 2008 - lnus...@suse.de + +- update to SVN 1427 in trunk + +------------------------------------------------------------------- +Sun Jul 6 22:26:27 CEST 2008 - lnus...@suse.de + +- update to SVN 1419 in trunk + +------------------------------------------------------------------- +Sun Jul 6 12:10:16 CEST 2008 - lnus...@suse.de + +- update to SVN 1413 in trunk + +------------------------------------------------------------------- +Sat Jul 5 13:39:47 CEST 2008 - lnus...@suse.de + +- update to SVN 1403 in trunk + +------------------------------------------------------------------- +Wed Jun 25 09:59:31 CEST 2008 - lnus...@suse.de + +- update to SVN 1398 in trunk + +------------------------------------------------------------------- +Wed Jun 25 08:43:09 CEST 2008 - lnus...@suse.de + +- update to SVN 1394 in trunk + +------------------------------------------------------------------- +Sun Jun 8 12:08:20 CEST 2008 - lnus...@suse.de + +- update to SVN 1382 in trunk + * now support voice activation for voip + +------------------------------------------------------------------- +Sat Jun 7 15:59:03 CEST 2008 - lnus...@suse.de + +- update to SVN 1371 in trunk +- use upstream desktop file + +------------------------------------------------------------------- +Thu Jun 5 11:58:50 CEST 2008 - lnus...@suse.de + +- update to SVN 1369 in trunk + +------------------------------------------------------------------- +Tue Jun 3 09:10:02 CEST 2008 - lnus...@suse.de + +- update to SVN 1363 in trunk +- includes voip support + +------------------------------------------------------------------- +Sat May 31 14:08:05 CEST 2008 - lnus...@suse.de + +- update to SVN 1347 in trunk +- use dlopen for libopenal in installer build + +------------------------------------------------------------------- +Wed May 7 09:00:37 CEST 2008 - lnus...@suse.de + +- update to SVN 1341 in trunk + +------------------------------------------------------------------- +Sat May 3 17:00:53 CEST 2008 - lnus...@suse.de + +- update to SVN 1337 in trunk + +------------------------------------------------------------------- +Mon Apr 28 09:05:54 CEST 2008 - lnus...@suse.de + +- update to SVN 1332 in trunk + * supports stereoscopic view + +------------------------------------------------------------------- +Tue Apr 22 10:01:19 CEST 2008 - lnus...@suse.de + +- update to SVN 1324 in trunk + +------------------------------------------------------------------- +Tue Apr 15 16:20:59 CEST 2008 - lnus...@suse.de + ++++ 231 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:Leap:15.2/.ioquake3.new.2738/ioquake3.changes New: ---- 0001-q3rcc-Allow-to-override-build-date.patch _service _servicedata ioquake3-1.36+git.20180802.tar.xz ioquake3.changes ioquake3.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ioquake3.spec ++++++ # # spec file for package ioquake3 # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define _lto_cflags %{nil} %bcond_with installer %bcond_with installeronly %if %{with installeronly} %define _with_installer 1 %endif Name: ioquake3 BuildRequires: curl-devel BuildRequires: pkgconfig(sdl2) %if 0%{?suse_version} <= 1220 BuildRequires: libopenal1 %endif BuildRequires: nasm BuildRequires: openal-soft-devel %if 0%{?mandriva_version} BuildRequires: mesagl-devel BuildRequires: mesaglu-devel %else BuildRequires: Mesa-devel %endif %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} # XXX bug in openal-devel, should be worked around in build config BuildRequires: openal %endif %if %{with installer} BuildRequires: loki_setup BuildRequires: xdg-utils %endif Url: http://ioquake3.org # don't forget to change the version in the win32 spec file as well! Version: 1.36+git.20180802 Release: 0 Summary: Quake III License: GPL-2.0-or-later Group: Amusements/Games/3D/Shoot Source: %{name}-%{version}.tar.xz # PATCH-FIX-UPSTREAM 0001-q3rcc-Allow-to-override-build-date.patch Patch0: 0001-q3rcc-Allow-to-override-build-date.patch %if %{with installer} Recommends: openal %endif %package devel Summary: Quake III Group: Development/Tools/Building %if %{with installer} %package setup Summary: Quake III loki-setup based installer Group: Amusements/Games/3D/Shoot %endif %description Quake III first person shooter. This package only includes the binary files, you still need the data files from the original Quake III CD or the Demo. Authors: -------- Id Software, Inc. %description devel Quake III development tools for creating mods: q3lcc, q3rcc, q3cpp, q3asm Authors: -------- Id Software, Inc. %if %{with installer} %description setup Quake III first person shooter. This package includes the binary files repackaged as loki-setup installer Authors: -------- Id Software, Inc. %endif %prep %setup -q %patch0 -p1 rm -rf code/SDL12 code/libs code/AL %build cat > dobuild <<'EOF' #!/bin/sh make %{?_smp_mflags} \ VERSION=%{version} \ RELEASE=%{release} \ OPTIMIZE="%{optflags} -O3 -ffast-math -fno-strict-aliasing" \ TOOLS_OPTIMIZE="%{optflags} -fno-strict-aliasing" \ GENERATE_DEPENDENCIES=0 \ USE_LOCAL_HEADERS=0 \ %if %{with installer} USE_OPENAL_DLOPEN=1 \ %endif V=1 \ "$@" EOF chmod 755 dobuild # ./dobuild release # %if %{with installer} ./dobuild installer %endif # %install %if !%{with installeronly} arch=`uname -m` case $arch in i?86) arch=x86 ;; esac q3dir=%{buildroot}%{_prefix}/lib/ioquake3 install -d -m 755 $q3dir install -d -m 755 $q3dir/baseq3/vm install -d -m 755 $q3dir/demoq3 install -d -m 755 $q3dir/missionpack/vm pushd build/release-linux-$arch/ install -m 755 ioquake3.$arch $q3dir/ #install -m 755 linuxquake3-smp $q3dir/ioquake3-smp.$arch install -m 755 ioq3ded.$arch $q3dir/ install -m 644 renderer_opengl1_$arch.so $q3dir/ install -m 644 renderer_opengl2_$arch.so $q3dir/ install -m 644 baseq3/*.so $q3dir/baseq3 install -m 644 baseq3/vm/*.qvm $q3dir/baseq3/vm pushd $q3dir/demoq3 ln -s ../baseq3/*.so . popd install -m 644 missionpack/*.so $q3dir/missionpack install -m 644 missionpack/vm/*.qvm $q3dir/missionpack/vm popd # # icons and start scripts install -d -m 755 %{buildroot}%{_bindir} install -d -m 755 %{buildroot}%{_datadir}/pixmaps install -d -m 755 %{buildroot}%{_datadir}/applications install -m 644 misc/quake3.png %{buildroot}%{_datadir}/pixmaps install -m 644 misc/setup/ioquake3.desktop %{buildroot}%{_datadir}/applications/ioquake3.desktop install -m 755 misc/setup/ioq3demo.sh $q3dir/ install -m 755 misc/setup/ioquake3.sh $q3dir/ # COOLO! *grr* #ln -s %{_prefix}/lib/quake3/ioq3demo.sh %{buildroot}%{_bindir}/ioq3demo #ln -s %{_prefix}/lib/quake3/ioquake3.sh %{buildroot}%{_bindir}/ioquake3 for i in ioq3demo ioquake3; do echo -e "#!/bin/sh\nexec /usr/lib/ioquake3/$i.sh \"\$@\"" > %{buildroot}%{_bindir}/$i chmod 755 %{buildroot}%{_bindir}/$i done # # devel tools install -d -m 755 %{buildroot}%{_bindir} install -m 755 build/release-linux-$arch/tools/q3{lcc,cpp,rcc,asm} %{buildroot}%{_bindir} %endif # installeronly # # installer %if %{with installer} install -d -m 755 %{buildroot}/%{_prefix}/games install -m 755 misc/setup/*.run %{buildroot}/%{_prefix}/games %endif %post echo 'copy pak[0-8].pk3 to /usr/lib/ioquake3/baseq3/' %if !%{with installeronly} %files %license COPYING.txt %doc README* id-readme.txt %doc voip-readme.txt %{_bindir}/ioq* %{_prefix}/lib/ioquake3 %{_datadir}/applications/* %{_datadir}/pixmaps/* %files devel %doc code/tools/lcc/COPYRIGHT %{_bindir}/q3* %endif # installeronly %if %{with installer} %files setup %{_prefix}/games/* %endif %changelog ++++++ 0001-q3rcc-Allow-to-override-build-date.patch ++++++ From a96f32eba2ed01f0a7ad8a321d1863e8ef43da3d Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" <bwiedem...@suse.de> Date: Wed, 10 Jul 2019 17:17:37 +0200 Subject: [PATCH] q3rcc: Allow to override build date Allow to override __DATE__ and __TIME__ with SOURCE_DATE_EPOCH in order to make builds reproducible. See https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable. This behavior is what gcc already does. --- code/tools/lcc/cpp/cpp.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/code/tools/lcc/cpp/cpp.c b/code/tools/lcc/cpp/cpp.c index 5c0cfd7b..13e04850 100644 --- a/code/tools/lcc/cpp/cpp.c +++ b/code/tools/lcc/cpp/cpp.c @@ -19,6 +19,15 @@ int ifdepth; int ifsatisfied[NIF]; int skipping; +time_t reproducible_time() +{ + char *source_date_epoch; + time_t t; + if ((source_date_epoch = getenv("SOURCE_DATE_EPOCH")) == NULL || + (t = (time_t)strtol(source_date_epoch, NULL, 10)) <= 0) + return time(NULL); + return t; +} int main(int argc, char **argv) @@ -28,7 +37,7 @@ main(int argc, char **argv) char ebuf[BUFSIZ]; setbuf(stderr, ebuf); - t = time(NULL); + t = reproducible_time(); curtime = ctime(&t); maketokenrow(3, &tr); expandlex(); -- 2.22.0 ++++++ _service ++++++ <services> <service mode="disabled" name="tar_scm"> <param name="url">https://github.com/ioquake/ioq3.git</param> <param name="revision">master</param> <param name="scm">git</param> <param name="changesgenerate">enable</param> <param name="filename">ioquake3</param> <param name="versionformat">1.36+git.%cd</param> </service> <service mode="disabled" name="recompress"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> <service mode="disabled" name="set_version"/> </services> ++++++ _servicedata ++++++ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/ioquake/ioq3.git</param> <param name="changesrevision">c7ebe82131db2c94d01c87803df588b367cd29d3</param></service></servicedata>