1 diff -Naur gpick-0.3-old/CMakeLists.txt gpick-0.3/CMakeLists.txt
2 --- gpick-0.3-old/CMakeLists.txt 2022-05-08 05:20:36.000000000 -0500
3 +++ gpick-0.3/CMakeLists.txt 2023-01-06 22:13:38.778904075 -0600
5 pkg_check_modules(GTK2 gtk+-2.0>=2.24)
6 pkg_check_modules(GioUnix gio-unix-2.0>=2.24)
8 - pkg_search_module(Lua lua5.4-c++>=5.4 lua5-c++>=5.4 lua5.3-c++>=5.3 lua5-c++>=5.3 lua-c++>=5.3 lua5.2-c++>=5.2 lua-c++>=5.2)
9 + pkg_search_module(Lua lua5.4>=5.4 lua5>=5.4 lua5.3>=5.3 lua5>=5.3 lua>=5.3 lua5.2>=5.2 lua>=5.2)
10 pkg_check_modules(Expat expat>=1.0)
12 set(THREADS_PREFER_PTHREAD_FLAG ON)
13 diff -Naur gpick-0.3-old/source/ColorSpaceType.cpp gpick-0.3/source/ColorSpaceType.cpp
14 --- gpick-0.3-old/source/ColorSpaceType.cpp 2022-05-08 05:20:36.000000000 -0500
15 +++ gpick-0.3/source/ColorSpaceType.cpp 2023-01-06 22:13:38.768904076 -0600
17 #include "lua/Color.h"
18 #include "lua/Script.h"
19 #include "lua/Callbacks.h"
26 diff -Naur gpick-0.3-old/source/Converter.cpp gpick-0.3/source/Converter.cpp
27 --- gpick-0.3-old/source/Converter.cpp 2022-05-08 05:20:36.000000000 -0500
28 +++ gpick-0.3/source/Converter.cpp 2023-01-06 22:13:38.768904076 -0600
38 Converter::Converter(const char *name, const char *label, lua::Ref &&serialize, lua::Ref &&deserialize):
40 diff -Naur gpick-0.3-old/source/GlobalState.cpp gpick-0.3/source/GlobalState.cpp
41 --- gpick-0.3-old/source/GlobalState.cpp 2022-05-08 05:20:36.000000000 -0500
42 +++ gpick-0.3/source/GlobalState.cpp 2023-01-06 22:13:38.772904075 -0600
46 #include <glib/gstdio.h>
53 struct GlobalState::Impl {
54 diff -Naur gpick-0.3-old/source/layout/Layout.cpp gpick-0.3/source/layout/Layout.cpp
55 --- gpick-0.3-old/source/layout/Layout.cpp 2022-05-08 05:20:36.000000000 -0500
56 +++ gpick-0.3/source/layout/Layout.cpp 2023-01-06 22:13:38.771904076 -0600
59 #include "../lua/Layout.h"
68 diff -Naur gpick-0.3-old/source/lua/Color.cpp gpick-0.3/source/lua/Color.cpp
69 --- gpick-0.3-old/source/lua/Color.cpp 2022-05-08 05:20:36.000000000 -0500
70 +++ gpick-0.3/source/lua/Color.cpp 2023-01-06 22:13:38.771904076 -0600
81 static int newColor(lua_State *L)
82 diff -Naur gpick-0.3-old/source/lua/ColorObject.cpp gpick-0.3/source/lua/ColorObject.cpp
83 --- gpick-0.3-old/source/lua/ColorObject.cpp 2022-05-08 05:20:36.000000000 -0500
84 +++ gpick-0.3/source/lua/ColorObject.cpp 2023-01-06 22:13:38.771904076 -0600
88 #include "../ColorObject.h"
95 static int newColorObject(lua_State *L)
96 diff -Naur gpick-0.3-old/source/lua/DynvSystem.cpp gpick-0.3/source/lua/DynvSystem.cpp
97 --- gpick-0.3-old/source/lua/DynvSystem.cpp 2022-05-08 05:20:36.000000000 -0500
98 +++ gpick-0.3/source/lua/DynvSystem.cpp 2023-01-06 22:13:38.771904076 -0600
102 #include "DynvSystem.h"
108 dynv::Ref checkDynvSystem(lua_State *L, int index) {
109 void *ud = luaL_checkudata(L, index, "dynvSystem");
110 diff -Naur gpick-0.3-old/source/lua/Extensions.cpp gpick-0.3/source/lua/Extensions.cpp
111 --- gpick-0.3-old/source/lua/Extensions.cpp 2022-05-08 05:20:36.000000000 -0500
112 +++ gpick-0.3/source/lua/Extensions.cpp 2023-01-06 22:13:38.771904076 -0600
114 #include "../Converters.h"
115 #include "../Converter.h"
116 #include "version/Version.h"
123 static void checkArgumentIsFunctionOrNil(lua_State *L, int index)
124 diff -Naur gpick-0.3-old/source/lua/GlobalState.cpp gpick-0.3/source/lua/GlobalState.cpp
125 --- gpick-0.3-old/source/lua/GlobalState.cpp 2022-05-08 05:20:36.000000000 -0500
126 +++ gpick-0.3/source/lua/GlobalState.cpp 2023-01-06 22:13:38.771904076 -0600
129 #include "GlobalState.h"
130 #include "../GlobalState.h"
137 void setGlobalState(lua_State *L, GlobalState &global_state)
138 diff -Naur gpick-0.3-old/source/lua/I18N.cpp gpick-0.3/source/lua/I18N.cpp
139 --- gpick-0.3-old/source/lua/I18N.cpp 2022-05-08 05:20:36.000000000 -0500
140 +++ gpick-0.3/source/lua/I18N.cpp 2023-01-06 22:13:38.771904076 -0600
151 int getText(lua_State *L)
152 diff -Naur gpick-0.3-old/source/lua/Layout.cpp gpick-0.3/source/lua/Layout.cpp
153 --- gpick-0.3-old/source/lua/Layout.cpp 2022-05-08 05:20:36.000000000 -0500
154 +++ gpick-0.3/source/lua/Layout.cpp 2023-01-06 22:13:38.770904076 -0600
156 #include "../layout/Box.h"
157 #include "../layout/System.h"
158 #include "../layout/Layout.h"
166 diff -Naur gpick-0.3-old/source/lua/Ref.cpp gpick-0.3/source/lua/Ref.cpp
167 --- gpick-0.3-old/source/lua/Ref.cpp 2022-05-08 05:20:36.000000000 -0500
168 +++ gpick-0.3/source/lua/Ref.cpp 2023-01-06 22:13:38.770904076 -0600
180 diff -Naur gpick-0.3-old/source/lua/Script.cpp gpick-0.3/source/lua/Script.cpp
181 --- gpick-0.3-old/source/lua/Script.cpp 2022-05-08 05:20:36.000000000 -0500
182 +++ gpick-0.3/source/lua/Script.cpp 2023-01-06 22:13:38.771904076 -0600
194 diff -Naur gpick-0.3-old/source/test/Script.cpp gpick-0.3/source/test/Script.cpp
195 --- gpick-0.3-old/source/test/Script.cpp 2022-05-08 05:20:36.000000000 -0500
196 +++ gpick-0.3/source/test/Script.cpp 2023-01-06 22:13:38.769904076 -0600
198 #include <boost/test/unit_test.hpp>
199 #include "lua/Script.h"
200 #include "common/Scoped.h"
206 static int test(lua_State *L) {
207 lua_pushstring(L, "ok");
208 diff -Naur gpick-0.3-old/source/uiDialogOptions.cpp gpick-0.3/source/uiDialogOptions.cpp
209 --- gpick-0.3-old/source/uiDialogOptions.cpp 2022-05-08 05:20:36.000000000 -0500
210 +++ gpick-0.3/source/uiDialogOptions.cpp 2023-01-06 22:13:38.776904075 -0600
212 #include "lua/Callbacks.h"