Commit Graph

46 Commits

Author SHA1 Message Date
Jim Broadus e7364263b2 build: Move minimum cmake version to 3.0.0
Compatibility with versions prior to 2.8.12 is being deprecated,
resulting in build warning messages. The minimum for the official
supported distros is 3.7.2 (Stretch), so the version could be moved
forward when newer features are required.

Reference: https://cmake.org/cmake/help/v3.19/release/3.19.html#deprecated-and-removed-features
2021-04-17 16:24:46 +01:00
Jim Broadus d7966c8285 Fix rpmbuild error in librojectm
When using rpmbuild on Fedora 33, the build fails with:
error: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Werror=stringop-overflow=]

This was fixed as part of projectm change d4d74f6d. This change takes the
relevant parts of that commit.

Note that the projectm commit contains several other warning fixes that might
affect Clementine builds in the future.
2020-12-17 11:29:49 +00:00
Michael Kuc baea2d488f Revert "Revert "Updated GLEW headers.""
This reverts commit ce4ce6ce36.
2020-05-14 15:10:35 +01:00
Michael Kuc ade1e7f30b Revert "Revert "Use newer compiler than C++98.""
This reverts commit dcf078acca.
2020-05-14 15:10:35 +01:00
Michael Kuc 43a171512b Revert "Revert "Fix deprecated comparison.""
This reverts commit 0782489feb.
2020-05-14 15:10:35 +01:00
Michael Kuc 38207e4ea7 Replace deprecated std::auto_ptr with new std::unique_ptr. 2020-05-14 15:10:35 +01:00
Michael Kuc 823aed98a1 Fix narrowing issues preventing MacOS build. 2020-05-14 15:10:35 +01:00
John Maguire ce4ce6ce36 Revert "Updated GLEW headers."
This reverts commit 3ca4973ea7.
2020-05-13 12:43:08 +01:00
John Maguire dcf078acca Revert "Use newer compiler than C++98."
This reverts commit a07a0de231.
2020-05-13 12:43:08 +01:00
John Maguire 0782489feb Revert "Fix deprecated comparison."
This reverts commit be144d4611.
2020-05-13 12:43:08 +01:00
Michael Kuc be144d4611 Fix deprecated comparison.
Using references no longer requires null checking.
2020-05-09 21:38:50 +01:00
Michael Kuc a07a0de231 Use newer compiler than C++98.
Required for standard library headers.
2020-05-09 21:38:50 +01:00
Michael Kuc 3ca4973ea7 Updated GLEW headers.
An attempt to fix headers so outdated they no longer compiled.
2020-05-09 21:38:50 +01:00
Jim Broadus 66f354f815 Remove executable flags from source files. 2020-01-31 10:24:29 +00:00
John Maguire c583ddd9c8 Explicitly find dynamic version of glew 2018-11-25 22:11:06 +00:00
John Maguire d71651db7e Explicitly link libprojectm renderer to GLEW 2017-11-21 13:38:57 +01:00
Bigard Florian e31278c056 Fix projectm compilation with GCC 6 (#5371) 2016-05-09 10:55:34 +01:00
Руслан Ижбулатов 28e89250d0 Need stdlib.h for rand() 2012-01-22 14:35:52 +00:00
David Sansome 8f87744d57 Disable the native preset factory in libprojectm (which we didn't use anyway). Might fix the -ldl requirement and compilation failure on fedora 14. 2011-11-29 14:55:15 +00:00
Vadim Zhukov c084d13ff1 Apply downstream OpenBSD patches against projectm. Fixes issue 2277 2011-11-29 11:27:35 +00:00
David Sansome 740b4c0bda Fix a build error on cmake < 2.8.4 2011-10-19 23:45:48 +01:00
David Sansome 9a739a3346 Add a DBus interface onto the global search engine, and add a KDE krunner plugin that performs global searches in Clementine.
This is optional and is not compiled unless you have the plasma developer packages installed.
2011-10-19 23:17:24 +01:00
David Sansome c268f60339 Fix a memory leak in projectm when using the non-FBO fallback on Windows Vista. Fixes issue #846 2010-10-04 23:03:13 +00:00
John Maguire e9f4bba1c1 Silence a few extra Clang warnings. 2010-07-27 13:57:31 +00:00
David Sansome e3f54b745b Patch libprojectM to make it ignore the decimal-point locale setting when parsing Milkdrop presets. Fixes issue #455 2010-07-24 12:26:28 +00:00
David Sansome 11e18bb22f Make the 3rdparty libprojectm build properly with FTGL switched on 2010-07-18 13:25:36 +00:00
John Maguire ae3b500259 Make the buildsystem a little more robust. 2010-06-17 14:45:31 +00:00
David Sansome 6da08410e9 Make installing the projectm presets optional too - useful for if you want to use the ones from a system package instead.
Update issue #391
Status: Fixed
I've made installing the presets optional too, the cmake flag is BUNDLE_PROJECTM_PRESETS
2010-06-10 23:01:22 +00:00
David Sansome 76f0803b81 Make visualisations optional.
Update issue #394
Status: Fixed
There's now an ENABLE_VISUALISATIONS option that you can set to cmake with cmake -DENABLE_VISUALISATIONS=OFF, or with ccmake or cmake-gui.
2010-06-10 22:48:23 +00:00
David Sansome 8bfea4fcbf Rename this file - svn doesn't like @s in filenames 2010-06-07 16:04:13 +00:00
David Sansome afca8d2900 Fix some weird crashes on windows 2010-06-07 14:51:47 +00:00
David Sansome 729e6783a9 Rename the patches in order 2010-06-07 13:42:58 +00:00
David Sansome 2a2ea2cd87 Add the projectm patch for fixing windows compilation 2010-06-07 13:42:03 +00:00
David Sansome 930a22ba6a Move the libprojectm patches to another folder 2010-06-07 13:38:07 +00:00
David Sansome ade492c56f Make the visualisation duration configurable 2010-06-07 13:36:50 +00:00
David Sansome cdb8dd8dd5 More mingw fixes 2010-06-07 11:47:35 +00:00
John Maguire d34283a113 ProjectM on mac deployment fixes. 2010-06-07 11:38:43 +00:00
David Sansome 48521823e3 Link to glew and dlfcn properly on windows 2010-06-07 11:37:37 +00:00
David Sansome 2fa612b157 Fix some warnings when compiling with mingw 2010-06-07 11:11:17 +00:00
David Sansome 77e6eb3d7e Remove generated files 2010-06-07 11:10:45 +00:00
David Sansome 96dfeca78e Add the libprojectm patch for fixing compilation on mac 2010-06-07 10:24:40 +00:00
John Maguire 2202d72ffe Make libprojectm compile on mac. 2010-06-07 10:18:35 +00:00
David Sansome 38e0c3a11f Add projectm presets to svn 2010-06-07 10:09:30 +00:00
David Sansome f3d53b741b Add the patch to libprojectm 2010-06-06 23:22:23 +00:00
David Sansome 87ecc89ca2 Add an option to change the quality (texture resolution) of visualisations 2010-06-06 23:05:11 +00:00
David Sansome 313daa5fd4 Add libprojectm to 3rdparty 2010-06-06 21:43:45 +00:00