[mixxx/f32] Reorder changelog
by Uwe Klotz
commit 0a65ee4567dd7adf2542f64333d83ffa78768dab
Author: Uwe Klotz <uklotz(a)mixxx.org>
Date: Sat Oct 31 12:48:22 2020 +0100
Reorder changelog
mixxx.spec | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/mixxx.spec b/mixxx.spec
index 6b8c545..8cb895b 100644
--- a/mixxx.spec
+++ b/mixxx.spec
@@ -203,6 +203,10 @@ appstream-util \
* Sun May 17 2020 Uwe Klotz <uklotz(a)mixxx.org> - 2.3.0-0.5.beta.20200516git293ffd7
- New upstream snapshot 2.3.0-beta
+* Sat May 16 2020 Uwe Klotz <uklotz(a)mixxx.org> - 2.2.4-1
+- New upstream release 2.2.4
+- Switch SCons build from Python 2 to Python 3
+
* Fri May 08 2020 Leigh Scott <leigh123linux(a)gmail.com> - 2.3.0-0.4.alpha.20200507git0786536
- Use cmake3 and switch to ninja-build
- Fix source URL
@@ -220,17 +224,13 @@ appstream-util \
- Build debuginfo packages
- Use cmake macros for the build
+* Wed Mar 18 2020 Uwe Klotz <uklotz(a)mixxx.org> - 2.2.3-4
+- Fix packaging errors
+
* Tue Mar 17 2020 Uwe Klotz <uklotz(a)mixxx.org> - 2.3.0-0.1.alpha.20200316gite16b6a6
- New upstream snapshot 2.3.0-pre-alpha
- Replaced build system SCons with CMake
-* Sat May 16 2020 Uwe Klotz <uklotz(a)mixxx.org> - 2.2.4-1
-- New upstream release 2.2.4
-- Switch SCons build from Python 2 to Python 3
-
-* Wed Mar 18 2020 Uwe Klotz <uklotz(a)mixxx.org> - 2.2.3-4
-- Fix packaging errors
-
* Wed Feb 05 2020 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 2.2.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
4 years, 1 month
[mixxx/f32] Backport 2.3.0-0.9.beta.20201031gitab6d8ee
by Uwe Klotz
commit 888621d4a14fd80aeafe20e580cbfda001aacb5e
Author: Uwe Klotz <uklotz(a)mixxx.org>
Date: Sat Oct 31 11:53:42 2020 +0100
Backport 2.3.0-0.9.beta.20201031gitab6d8ee
.gitignore | 9 ++-
mixxx.spec | 193 +++++++++++++++++++++++++++++++++++++------------------------
sources | 3 +-
3 files changed, 129 insertions(+), 76 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e48b5e8..3274195 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,8 @@
-/mixxx-release-2.2.4.tar.gz
+# Prevent to accidentally commit release archives with the source code
+# that are downloaded from the GitHub repo.
+#
+# Note: Using `spectool -g -R mixxx.spec` for this purpose ensures that
+# these large binary files are placed in `rpmbuild/SOURCES` and never
+# end up in the project directory.
+*.tar.gz
+*.zip
diff --git a/mixxx.spec b/mixxx.spec
index 5d2810f..6b8c545 100644
--- a/mixxx.spec
+++ b/mixxx.spec
@@ -1,10 +1,17 @@
+# Build out-of-source (default since Fedora 33)
+%undefine __cmake_in_source_build
+
+%ifarch %{power64}
+%global _lto_cflags %{nil}
+%endif
+
# Optional: Package version suffix for pre-releases, e.g. "beta" or "rc"
-#global extraver rc
+%global extraver beta
# Optional: Only used for untagged snapshot versions
-#global gitcommit d9d7ea6404de71c86beacfc86f9087dc8db0fc58
+%global gitcommit ab6d8ee260e4f3bb2d32591ced59a62b10f1aebc
# Format: <yyyymmdd>
-#global gitcommitdate 20181224
+%global gitcommitdate 20201031
%if "%{?gitcommit}" == ""
# (Pre-)Releases
@@ -16,32 +23,35 @@
%endif
Name: mixxx
-Version: 2.2.4
-Release: 1%{?extraver:.%{extraver}}%{?snapinfo:.%{snapinfo}}%{?dist}
+Version: 2.3.0
+Release: 0.9%{?extraver:.%{extraver}}%{?snapinfo:.%{snapinfo}}%{?dist}
Summary: Mixxx is open source software for DJ'ing
-Group: Applications/Multimedia
License: GPLv2+
URL: http://www.mixxx.org
-Source0: https://github.com/mixxxdj/%{name}/archive/%{sources}.tar.gz#/%{name}-%{s...
+Source0: https://github.com/mixxxdj/%{name}/archive/%{sources}/%{name}-%{sources}....
+Source1: https://github.com/ibsh/libKeyFinder/archive/v2.2.2.zip#/libKeyFinder_v2....
# Build Tools
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
BuildRequires: protobuf-compiler
-BuildRequires: gcc-g++
-BuildRequires: python3-scons
+BuildRequires: cmake3
+BuildRequires: ccache
+BuildRequires: gcc-c++
+BuildRequires: ninja-build
# Build Requirements
BuildRequires: chrpath
BuildRequires: faad2-devel
BuildRequires: ffmpeg-devel
-BuildRequires: fftw-devel
BuildRequires: flac-devel
BuildRequires: hidapi-devel
+BuildRequires: lame-devel
BuildRequires: libebur128-devel
BuildRequires: libGL-devel
BuildRequires: libGLU-devel
BuildRequires: libchromaprint-devel
+BuildRequires: fftw-devel
BuildRequires: libid3tag-devel
BuildRequires: libmad-devel
BuildRequires: libmodplug-devel
@@ -80,105 +90,140 @@ MIDI and HID devices.
%prep
+
%autosetup -p1 -n %{name}-%{sources}
+
echo "#pragma once" > src/build.h
-%if 0%{?extraver:1}
+%if "%{?extraver}" != ""
echo "#define BUILD_BRANCH \"%{extraver}\"" >> src/build.h
%endif
-%if 0%{?snapinfo:1}
+%if "%{?snapinfo}" != ""
echo "#define BUILD_REV \"%{snapinfo}\"" >> src/build.h
%endif
+# Copy the libKeyFinder source archive into the download folder
+# of the build directory. Rename the archive back into the
+# original name with only a version number
+mkdir -p %{__cmake_builddir}/download/libKeyFinder
+cp %{SOURCE1} %{__cmake_builddir}/download/libKeyFinder/v2.2.2.zip
+
%build
-export CFLAGS=$RPM_OPT_FLAGS
-export LDFLAGS=$RPM_LD_FLAGS
-export LIBDIR=%{_libdir}
-scons-3 \
- %{?_smp_mflags} \
- prefix=%{_prefix} \
- qtdir=%{_qt5_prefix} \
- build=release \
- optimize=portable \
- bulk=1 \
- faad=1 \
- ffmpeg=1 \
- hid=1 \
- modplug=1 \
- opus=1 \
- qtkeychain=1 \
- shoutcast=1 \
- wv=1 \
+%cmake3 \
+ -GNinja \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DOPTIMIZE=portable \
+ -DWARNINGS_FATAL=ON \
+ -DBATTERY=ON \
+ -DBROADCAST=ON \
+ -DBULK=ON \
+ -DFAAD=ON \
+ -DFFMPEG=ON \
+ -DHID=ON \
+ -DKEYFINDER=ON \
+ -DLOCALECOMPARE=ON \
+ -DLILV=ON \
+ -DMAD=ON \
+ -DMODPLUG=ON \
+ -DOPUS=ON \
+ -DQTKEYCHAIN=ON \
+ -DVINYLCONTROL=ON \
+ -DWAVPACK=ON
+
+%cmake3_build
%install
-# All environment variables and arguments for this invocation
-# must match the SCons build invocation!!!
-export CFLAGS=$RPM_OPT_FLAGS
-export LDFLAGS=$RPM_LD_FLAGS
-export LIBDIR=%{_libdir}
-scons-3 \
- %{?_smp_mflags} \
- prefix=%{_prefix} \
- qtdir=%{_qt5_prefix} \
- build=release \
- optimize=portable \
- bulk=1 \
- faad=1 \
- ffmpeg=1 \
- hid=1 \
- modplug=1 \
- opus=1 \
- qtkeychain=1 \
- shoutcast=1 \
- wv=1 \
- install_root=%{buildroot}%{_prefix} \
- install
-
-# Remove redundant/unpackaged LICENSE file
-rm %{buildroot}%{_docdir}/%{name}/LICENSE
-
-# Install udev rules
-install -Dpm 0644 \
- res/linux/%{name}.usb.rules \
- %{buildroot}%{_udevrulesdir}/90-%{name}.usb.rules
+%cmake3_install
+
+# USB HID permissions
+# - Relocate .rules file
+# - Order custom rules before 70-uaccess.rules
+install -d \
+ %{buildroot}%{_udevrulesdir}/
+mv \
+ %{buildroot}%{_prefix}%{_sysconfdir}/udev/rules.d/%{name}-usb-uaccess.rules \
+ %{buildroot}%{_udevrulesdir}/69-%{name}-usb-uaccess.rules
+
+# Delete unpackaged files
+rm -rf \
+ %{buildroot}%{_prefix}%{_sysconfdir}/ \
+ %{buildroot}%{_datadir}/doc/mixxx/
+
+
+%check
+# Tests can only be executed locally. Running them on
+# http://koji.rpmfusion.org always ends with the error
+# message "# Child aborted***Exception:"
+# Note: Add the macro prefix '%' in front of 'ctest3' manually after uncommenting.
+# Otherwise the tests would get executed by macro expansion even though hidden
+# within a comment!
+#QT_QPA_PLATFORM=offscreen \
+#ctest3
# Desktop launcher
desktop-file-install \
--vendor "" \
--dir %{buildroot}%{_datadir}/applications \
- --add-category=X-Synthesis \
res/linux/%{name}.desktop
-# AppStream metadata
+# AppStream data
appstream-util \
validate-relax \
--nonet \
- res/linux/%{name}.appdata.xml
-install -Dpm 0644 \
- -t %{buildroot}%{_datadir}/appdata \
- res/linux/%{name}.appdata.xml
-
-# Workaround: Manually strip RPATH from installed binaries
-chrpath --delete %{buildroot}%{_bindir}/%{name}
-chrpath --delete %{buildroot}%{_libdir}/%{name}/plugins/vampqt5/libmixxxminimal.so
-chrpath --delete %{buildroot}%{_libdir}/%{name}/plugins/soundsourceqt5/libsoundsourcem4a.so
-chrpath --delete %{buildroot}%{_libdir}/%{name}/plugins/soundsourceqt5/libsoundsourcewv.so
+ %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
%files
%license COPYING LICENSE
%doc Mixxx-Manual.pdf README
%{_bindir}/%{name}
-%{_libdir}/%{name}/
%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}_icon.svg
%{_datadir}/appdata/%{name}.appdata.xml
-%{_udevrulesdir}/90-%{name}.usb.rules
+%{_udevrulesdir}/69-%{name}-usb-uaccess.rules
%changelog
+* Sat Oct 31 2020 Uwe Klotz <uklotz(a)mixxx.org> - 2.3.0-0.9.beta.20201031gitab6d8ee
+- New upstream snapshot 2.3.0-beta
+
+* Sun Aug 16 2020 Uwe Klotz <uklotz(a)mixxx.org> - 2.3.0-0.8.beta.20200816git64fd2d6
+- New upstream snapshot 2.3.0-beta
+- Re-enable faad2 for decoding MP4/M4A files (actually now)
+
+* Wed Jun 24 2020 Leigh Scott <leigh123linux(a)gmail.com> - 2.3.0-0.7.beta.20200614git3a734c0
+- Rebuild for new protobuf
+
+* Sun Jun 14 2020 Uwe Klotz <uklotz(a)mixxx.org> - 2.3.0-0.6.beta.20200614git3a734c0
+- New upstream snapshot 2.3.0-beta
+- Re-enable faad2 for decoding MP4/M4A files
+
+* Sun May 17 2020 Uwe Klotz <uklotz(a)mixxx.org> - 2.3.0-0.5.beta.20200516git293ffd7
+- New upstream snapshot 2.3.0-beta
+
+* Fri May 08 2020 Leigh Scott <leigh123linux(a)gmail.com> - 2.3.0-0.4.alpha.20200507git0786536
+- Use cmake3 and switch to ninja-build
+- Fix source URL
+- Fix doc install
+- Clean up appdata install
+- Remove Group tag
+
+* Fri May 08 2020 Uwe Klotz <uklotz(a)mixxx.org> - 2.3.0-0.3.alpha.20200507git0786536
+- New upstream snapshot 2.3.0-pre-alpha
+- Temporarily disabled broken faad2 support
+
+* Fri Mar 20 2020 Uwe Klotz <uklotz(a)mixxx.org> - 2.3.0-0.2.alpha.20200320git7980941
+- New upstream snapshot 2.3.0-pre-alpha
+- Fix udev rules for USB HID devices
+- Build debuginfo packages
+- Use cmake macros for the build
+
+* Tue Mar 17 2020 Uwe Klotz <uklotz(a)mixxx.org> - 2.3.0-0.1.alpha.20200316gite16b6a6
+- New upstream snapshot 2.3.0-pre-alpha
+- Replaced build system SCons with CMake
+
* Sat May 16 2020 Uwe Klotz <uklotz(a)mixxx.org> - 2.2.4-1
- New upstream release 2.2.4
- Switch SCons build from Python 2 to Python 3
diff --git a/sources b/sources
index 2c92830..93c3874 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-SHA512 (mixxx-release-2.2.4.tar.gz) = 34f67088ea2271cb13b75d001d3814237b1b6c2052646d670a36e341fb78e24c34d361a3eb03b0dbfb2d94b0026fecc9125713d7533aac7e99161c27090115fa
+SHA512 (libKeyFinder_v2.2.2.zip) = 4c8745ebcda65c7bbe00016e53b813e704eff1ca7262868a91359f51979b84e43492993cfc7b02ecd8142ded15a7c3ec64751234cb06fa5b27b7695f9937110b
+SHA512 (mixxx-ab6d8ee260e4f3bb2d32591ced59a62b10f1aebc.tar.gz) = a13bc86f70a1ec8dba801e0603ac1229f725f6f631c937f07ef1464578353f7afa965e2039251a4e44fbd7062c7c727aecca4156951458e72a274903d4ff5abc
4 years, 1 month
[mixxx/f33] (18 commits) ...Update sources
by Uwe Klotz
Summary of changes:
ace9888... New upstream snapshot 2.3.0-0.9.beta.20201025gita555ffd (*)
22a431f... Disable KeyFinder feature (*)
c96f751... Enable KeyFinder feature (*)
b55b774... Disable tests (*)
1fb7540... Revert "Enable KeyFinder feature" (*)
1b2a9e0... Explicitly disable KeyFinder temporarily (*)
fbf7fd4... Disable tests and add some comments (*)
d3eaa7b... Disable aborting the build on warnings temporarily (*)
d4af44e... Update snapshot with upstream build fixes (*)
4ff5f4e... Revert "Disable aborting the build on warnings temporarily" (*)
9c3e27e... Add missing sources (*)
5e6799d... Update sources (*)
c361f8e... Update sources with fixes for the armv7hl build (*)
c69f8f4... Update sources (*)
d679d0e... Enable libKeyFinder (*)
a411741... Add missing libKeyFinder sources (*)
4f20fd4... Restore deleted sources (*)
c962400... Update sources (*)
(*) This commit already existed in another branch; no separate mail sent
4 years, 1 month
[mixxx] Update sources
by Uwe Klotz
commit c9624007832f79d9d9556c70920d281f9c6a4aa7
Author: Uwe Klotz <uklotz(a)mixxx.org>
Date: Sat Oct 31 09:09:33 2020 +0100
Update sources
mixxx.spec | 6 +++---
sources | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/mixxx.spec b/mixxx.spec
index 6ece1a8..ab8aba7 100644
--- a/mixxx.spec
+++ b/mixxx.spec
@@ -9,9 +9,9 @@
%global extraver beta
# Optional: Only used for untagged snapshot versions
-%global gitcommit ac834c60888ce35b7e247ab1c3e46c15d2256270
+%global gitcommit ab6d8ee260e4f3bb2d32591ced59a62b10f1aebc
# Format: <yyyymmdd>
-%global gitcommitdate 20201030
+%global gitcommitdate 20201031
%if "%{?gitcommit}" == ""
# (Pre-)Releases
@@ -186,7 +186,7 @@ appstream-util \
%changelog
-* Fri Oct 30 2020 Uwe Klotz <uklotz(a)mixxx.org> - 2.3.0-0.9.beta.20201030gitac834c6
+* Sat Oct 31 2020 Uwe Klotz <uklotz(a)mixxx.org> - 2.3.0-0.9.beta.20201031gitab6d8ee
- New upstream snapshot 2.3.0-beta
* Sun Aug 16 2020 Uwe Klotz <uklotz(a)mixxx.org> - 2.3.0-0.8.beta.20200816git64fd2d6
diff --git a/sources b/sources
index 64036aa..93c3874 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
SHA512 (libKeyFinder_v2.2.2.zip) = 4c8745ebcda65c7bbe00016e53b813e704eff1ca7262868a91359f51979b84e43492993cfc7b02ecd8142ded15a7c3ec64751234cb06fa5b27b7695f9937110b
-SHA512 (mixxx-ac834c60888ce35b7e247ab1c3e46c15d2256270.tar.gz) = 0e070e94dcb1f6a62c31e62eb9df084f0d97b33d0dec08a4a4851bf9fd6bb1ef8bde015403a917802ebc83a64ff6d0347b2e7f9523f509488d1048a560058d2d
+SHA512 (mixxx-ab6d8ee260e4f3bb2d32591ced59a62b10f1aebc.tar.gz) = a13bc86f70a1ec8dba801e0603ac1229f725f6f631c937f07ef1464578353f7afa965e2039251a4e44fbd7062c7c727aecca4156951458e72a274903d4ff5abc
4 years, 1 month