Debian Codegraph @

debian/patches/use_system_rcheevos.patch

raw symbols SCIP
1 Description: link against Debian's rcheevoslib.a
2 Author: Sébastien Noel <[email protected]>
3 Forwarded: not-needed
4 --- a/CMakeLists.txt
5 +++ b/CMakeLists.txt
6 @@ -763,10 +763,6 @@
7
8 add_subdirectory(Externals/FatFs)
9
10 -if (USE_RETRO_ACHIEVEMENTS)
11 - add_subdirectory(Externals/rcheevos)
12 -endif()
13 -
14 add_subdirectory(Externals/watcher)
15
16 # Any other platform or BSD is currently unsupported by cpp-ipc
17 --- a/Source/Core/Core/CMakeLists.txt
18 +++ b/Source/Core/Core/CMakeLists.txt
19 @@ -819,7 +819,7 @@ if(MSVC)
20 endif()
21
22 if(USE_RETRO_ACHIEVEMENTS)
23 - target_link_libraries(core PUBLIC rcheevos)
24 + target_link_libraries(core PUBLIC ${CMAKE_INSTALL_FULL_LIBDIR}/rcheevoslib.a)
25 target_compile_definitions(core PUBLIC -DUSE_RETRO_ACHIEVEMENTS)
26 target_compile_definitions(core PUBLIC -DRC_CLIENT_SUPPORTS_HASH)
27 if(RC_CLIENT_SUPPORTS_RAINTEGRATION)
28 --- a/Source/Core/DolphinQt/CMakeLists.txt
29 +++ b/Source/Core/DolphinQt/CMakeLists.txt
30 @@ -713,7 +713,7 @@ if(USE_DISCORD_PRESENCE)
31 endif()
32
33 if(USE_RETRO_ACHIEVEMENTS)
34 - target_link_libraries(dolphin-emu PRIVATE rcheevos)
35 + target_link_libraries(dolphin-emu PRIVATE ${CMAKE_INSTALL_FULL_LIBDIR}/rcheevoslib.a)
36 target_compile_definitions(dolphin-emu PRIVATE -DUSE_RETRO_ACHIEVEMENTS)
37 if(RC_CLIENT_SUPPORTS_RAINTEGRATION)
38 target_compile_definitions(dolphin-emu PRIVATE -DRC_CLIENT_SUPPORTS_RAINTEGRATION)
39 --- a/Source/Core/Core/AchievementManager.cpp
40 +++ b/Source/Core/Core/AchievementManager.cpp
41 @@ -41,7 +41,7 @@
42
43 #ifdef RC_CLIENT_SUPPORTS_RAINTEGRATION
44 #include <libloaderapi.h>
45 -#include <rcheevos/include/rc_client_raintegration.h>
46 +#include <rcheevos/rc_client_raintegration.h>
47 #include <shlwapi.h>
48 #endif // RC_CLIENT_SUPPORTS_RAINTEGRATION
49
50 --- a/Source/Core/Core/AchievementManager.h
51 +++ b/Source/Core/Core/AchievementManager.h
52 @@ -20,11 +20,11 @@
53
54 #include <picojson.h>
55
56 -#include <rcheevos/include/rc_api_runtime.h>
57 -#include <rcheevos/include/rc_api_user.h>
58 -#include <rcheevos/include/rc_client.h>
59 -#include <rcheevos/include/rc_hash.h>
60 -#include <rcheevos/include/rc_runtime.h>
61 +#include <rcheevos/rc_api_runtime.h>
62 +#include <rcheevos/rc_api_user.h>
63 +#include <rcheevos/rc_client.h>
64 +#include <rcheevos/rc_hash.h>
65 +#include <rcheevos/rc_runtime.h>
66
67 #include "Common/CommonTypes.h"
68 #include "Common/Config/Config.h"
69 --- a/Source/Core/DolphinQt/Achievements/AchievementBox.h
70 +++ b/Source/Core/DolphinQt/Achievements/AchievementBox.h
71 @@ -6,7 +6,7 @@
72 #ifdef USE_RETRO_ACHIEVEMENTS
73 #include <QGroupBox>
74
75 -#include "rcheevos/include/rc_client.h"
76 +#include <rcheevos/rc_client.h>
77
78 class QLabel;
79 class QProgressBar;
80 --- a/Source/Core/DolphinQt/Achievements/AchievementHeaderWidget.cpp
81 +++ b/Source/Core/DolphinQt/Achievements/AchievementHeaderWidget.cpp
82 @@ -11,7 +11,7 @@
83 #include <QString>
84 #include <QVBoxLayout>
85
86 -#include <rcheevos/include/rc_client.h>
87 +#include <rcheevos/rc_client.h>
88
89 #include "Core/AchievementManager.h"
90 #include "Core/Config/AchievementSettings.h"
91 --- a/Source/Core/DolphinQt/Achievements/AchievementsWindow.cpp
92 +++ b/Source/Core/DolphinQt/Achievements/AchievementsWindow.cpp
93 @@ -6,7 +6,7 @@
94
95 #include <mutex>
96
97 -#include <rcheevos/include/rc_error.h>
98 +#include <rcheevos/rc_error.h>
99
100 #include <QDialogButtonBox>
101 #include <QScrollArea>