@pheem49/mint 1.8.0 → 1.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/.github/workflows/release.yml +1 -1
  2. package/Cargo.lock +34 -3
  3. package/Cargo.toml +2 -2
  4. package/README.md +20 -6
  5. package/Release_Note.md +129 -0
  6. package/assets/Mint_CLI.png +0 -0
  7. package/bin/mint +0 -0
  8. package/crates/mint-cli/Cargo.toml +1 -0
  9. package/crates/mint-cli/src/agent.rs +242 -54
  10. package/crates/mint-cli/src/main.rs +397 -74
  11. package/crates/mint-core/src/agent_loop.rs +1 -0
  12. package/crates/mint-core/src/api_server.rs +64 -2
  13. package/crates/mint-core/src/browser.rs +456 -0
  14. package/crates/mint-core/src/channels.rs +1 -0
  15. package/crates/mint-core/src/chat.rs +3 -0
  16. package/crates/mint-core/src/config.rs +130 -1
  17. package/crates/mint-core/src/lib.rs +19 -0
  18. package/crates/mint-core/src/orchestration.rs +317 -12
  19. package/crates/mint-core/src/skills.rs +113 -4
  20. package/crates/mint-core/src/tts.rs +3 -1
  21. package/crates/mint-core/src/workflows.rs +1 -22
  22. package/flatpak/com.pheem49.mint.desktop +9 -0
  23. package/flatpak/com.pheem49.mint.metainfo.xml +35 -0
  24. package/flatpak/com.pheem49.mint.yaml +52 -0
  25. package/package.json +1 -1
  26. package/shared-modules/.github/workflows/ci.yml +120 -0
  27. package/shared-modules/.github/workflows/update.yaml +28 -0
  28. package/shared-modules/CODEOWNERS +23 -0
  29. package/shared-modules/README.md +79 -0
  30. package/shared-modules/SDL/README.md +3 -0
  31. package/shared-modules/SDL/SDL-1.2.15.json +51 -0
  32. package/shared-modules/SDL/SDL_Pango-0.1.2-API-adds.patch +118 -0
  33. package/shared-modules/SDL/SDL_image-1.2.12.json +25 -0
  34. package/shared-modules/SDL/SDL_mixer-1.2.12.json +27 -0
  35. package/shared-modules/SDL/SDL_net-1.2.8.json +19 -0
  36. package/shared-modules/SDL/SDL_pango-0.1.2.json +26 -0
  37. package/shared-modules/SDL/SDL_ttf-2.0.11.json +28 -0
  38. package/shared-modules/SDL/libsdl-1.2.15-strict-prototypes.patch +316 -0
  39. package/shared-modules/SDL/sdl-check-for-SDL_VIDEO_X11_BACKINGSTORE.patch +24 -0
  40. package/shared-modules/SDL/sdl-libx11-build.patch +59 -0
  41. package/shared-modules/SDL/sdl-sysloadso-buffer-length.patch +27 -0
  42. package/shared-modules/SDL/sdl12-compat.json +22 -0
  43. package/shared-modules/SDL2/SDL2_image.json +27 -0
  44. package/shared-modules/SDL2/SDL2_ttf.json +29 -0
  45. package/shared-modules/cld2/CMakeLists.txt +157 -0
  46. package/shared-modules/cld2/cld2.json +24 -0
  47. package/shared-modules/clutter/clutter.json +72 -0
  48. package/shared-modules/dbus-glib/dbus-glib.json +29 -0
  49. package/shared-modules/glew/glew.json +36 -0
  50. package/shared-modules/glu/glu-9.json +12 -0
  51. package/shared-modules/gtk2/arc-gtk2-theme-Replace-Inkscape-dependency-with-rsvg-convert.patch +180 -0
  52. package/shared-modules/gtk2/gtk2-common-themes.json +360 -0
  53. package/shared-modules/gtk2/gtk2-fix-crash-in-show-uri.patch +30 -0
  54. package/shared-modules/gtk2/gtk2-gcc14.patch +281 -0
  55. package/shared-modules/gtk2/gtk2-gcc15.patch +250 -0
  56. package/shared-modules/gtk2/gtk2-murrine-c99.patch +34 -0
  57. package/shared-modules/gtk2/gtk2-use-adwaita-theme.patch +80 -0
  58. package/shared-modules/gtk2/gtk2.json +120 -0
  59. package/shared-modules/gtk2/ibus-gcc15.patch +13 -0
  60. package/shared-modules/gtk2/murrine-engine-fix-crash.patch +12 -0
  61. package/shared-modules/gtk2/readme.md +10 -0
  62. package/shared-modules/intltool/intltool-0.51.json +20 -0
  63. package/shared-modules/intltool/intltool-perl5.26-regex-fixes.patch +59 -0
  64. package/shared-modules/lame/0001-Build-xmm_quantize_sub.c-with-msse.patch +34 -0
  65. package/shared-modules/lame/0002-Include-GTK-1-autoconf-directives-in-build-system.patch +222 -0
  66. package/shared-modules/lame/0003-Patch-out-remaining-ansi2knr.patch +70 -0
  67. package/shared-modules/lame/0004-initscr-is-not-used-anywhere-in-lame-sourcetree.patch +41 -0
  68. package/shared-modules/lame/0005-Update-autoconf.patch +81 -0
  69. package/shared-modules/lame/lame-3.99.5.json +32 -0
  70. package/shared-modules/libappindicator/libappindicator-gtk2-12.10.json +140 -0
  71. package/shared-modules/libappindicator/libappindicator-gtk3-12.10.json +140 -0
  72. package/shared-modules/libappindicator/libappindicator-gtk3-introspection-12.10.json +140 -0
  73. package/shared-modules/libappindicator/patches/0001-libappindicator-ftbfs.patch +20 -0
  74. package/shared-modules/libappindicator/patches/0002-libappindicator-no-python.patch +888 -0
  75. package/shared-modules/libappindicator/patches/0003-libappindicator-fix-crash-from-incorrect-signal-emission.patch +74 -0
  76. package/shared-modules/libappindicator/patches/0004-libappindicator-fix-crash-iterating-icon-themes.patch +11 -0
  77. package/shared-modules/libayatana-appindicator/0001-Fix-HAVE_VALGRIND-AM_CONDITIONAL.patch +51 -0
  78. package/shared-modules/libayatana-appindicator/0001-Make-introspection-configurable.patch +44 -0
  79. package/shared-modules/libayatana-appindicator/libayatana-appindicator-gtk3.json +121 -0
  80. package/shared-modules/libcanberra/0001-gtk-Don-t-assume-all-GdkDisplays-are-GdkX11Displays-.patch +123 -0
  81. package/shared-modules/libcanberra/libcanberra.json +44 -0
  82. package/shared-modules/libmad/libmad.json +19 -0
  83. package/shared-modules/libsecret/libsecret.json +23 -0
  84. package/shared-modules/libsoup/libsoup-2.4.json +14 -0
  85. package/shared-modules/libusb/libusb.json +27 -0
  86. package/shared-modules/linux-audio/dssi.json +31 -0
  87. package/shared-modules/linux-audio/fftw3f-static.json +44 -0
  88. package/shared-modules/linux-audio/fftw3f.json +42 -0
  89. package/shared-modules/linux-audio/fluidsynth2-static.json +30 -0
  90. package/shared-modules/linux-audio/fluidsynth2.json +19 -0
  91. package/shared-modules/linux-audio/ladspa.json +26 -0
  92. package/shared-modules/linux-audio/lash.json +35 -0
  93. package/shared-modules/linux-audio/libinstpatch.json +16 -0
  94. package/shared-modules/linux-audio/liblo-static.json +22 -0
  95. package/shared-modules/linux-audio/liblo.json +17 -0
  96. package/shared-modules/linux-audio/lilv-static.json +94 -0
  97. package/shared-modules/linux-audio/lilv.json +82 -0
  98. package/shared-modules/linux-audio/lrdf.json +57 -0
  99. package/shared-modules/linux-audio/lv2.json +21 -0
  100. package/shared-modules/linux-audio/patches/lash/0001-configure-remove-aclocal-m4.patch +29 -0
  101. package/shared-modules/linux-audio/patches/lash/0002-Fix-build-with-recent-gcc.patch +73 -0
  102. package/shared-modules/linux-audio/patches/lash/0003-Fix-linking.patch +136 -0
  103. package/shared-modules/linux-audio/patches/raptor-libxml.patch +31 -0
  104. package/shared-modules/linux-audio/patches/stk-install.sh +54 -0
  105. package/shared-modules/linux-audio/stk.json +28 -0
  106. package/shared-modules/lua5.1/0004-Fix-stack-overflow-in-vararg-functions.patch +21 -0
  107. package/shared-modules/lua5.1/lua-5.1.5-so.patch +43 -0
  108. package/shared-modules/lua5.1/lua-5.1.5.json +42 -0
  109. package/shared-modules/lua5.3/lua-5.3.5.json +41 -0
  110. package/shared-modules/lua5.3/lua.pc.in +8 -0
  111. package/shared-modules/lua5.3/luaconf.patch +47 -0
  112. package/shared-modules/lua5.3/makefile-add-liblua.so-rule.patch +47 -0
  113. package/shared-modules/lua5.4/lua-5.4.json +41 -0
  114. package/shared-modules/lua5.4/lua.pc.in +8 -0
  115. package/shared-modules/lua5.4/luaconf.patch +34 -0
  116. package/shared-modules/lua5.4/makefile-add-liblua.so-rule.patch +42 -0
  117. package/shared-modules/luajit/luajit.json +30 -0
  118. package/shared-modules/lzo/lzo.json +27 -0
  119. package/shared-modules/mac/mac.json +18 -0
  120. package/shared-modules/physfs/physfs.json +26 -0
  121. package/shared-modules/pygame/audiofile-gcc6.patch +21 -0
  122. package/shared-modules/pygame/cython-fixes.patch +34 -0
  123. package/shared-modules/pygame/fluidsynth-no-rawmidi.patch +69 -0
  124. package/shared-modules/pygame/glib.patch +25 -0
  125. package/shared-modules/pygame/pygame1-python2.json +157 -0
  126. package/shared-modules/pygtk/pygtk-c99.patch +15 -0
  127. package/shared-modules/pygtk/pygtk.json +117 -0
  128. package/shared-modules/pygtk/pygtk.patch +39 -0
  129. package/shared-modules/python2.7/python-2.7.json +48 -0
  130. package/shared-modules/smpeg/smpeg-0.4.5.json +50 -0
  131. package/shared-modules/smpeg/smpeg-am-prog-as.patch +12 -0
  132. package/shared-modules/smpeg/smpeg-export-mpegaudio-class.patch +17 -0
  133. package/shared-modules/smpeg/smpeg-gcc6.patch +40 -0
  134. package/shared-modules/smpeg/smpeg-no-gtk.patch +37 -0
  135. package/shared-modules/squashfs-tools/squashfs-tools.json +25 -0
  136. package/shared-modules/update-checker.sh +50 -0
  137. package/shared-modules/vorbisgain/0001-temp_files.patch +75 -0
  138. package/shared-modules/vorbisgain/0002-errno.patch +33 -0
  139. package/shared-modules/vorbisgain/0003-manpage.patch +248 -0
  140. package/shared-modules/vorbisgain/0004-vorbisgain_mtime.patch +183 -0
  141. package/shared-modules/vorbisgain/0005-double_fclose.patch +21 -0
  142. package/shared-modules/vorbisgain/0006-manpage_hyphens.patch +56 -0
  143. package/shared-modules/vorbisgain/0007-recursively_spelling.patch +14 -0
  144. package/shared-modules/vorbisgain/0008-manpage_recursion_mistake.patch +23 -0
  145. package/shared-modules/vorbisgain/0009-hardening.patch +13 -0
  146. package/shared-modules/vorbisgain/0010-fclose.patch +13 -0
  147. package/shared-modules/vorbisgain/README.md +23 -0
  148. package/shared-modules/vorbisgain/vorbisgain_0.37-2.json +29 -0
  149. package/src/renderer/shared/agentProgress.ts +145 -0
  150. package/src/renderer/shared/calculator.ts +52 -0
  151. package/src/renderer/shared/components/AgentActivityDrawer.tsx +72 -0
  152. package/src/renderer/shared/components/AgentActivityTable.tsx +66 -0
  153. package/src/renderer/shared/components/ApprovalCard.tsx +93 -0
  154. package/src/renderer/shared/components/ChatCodeBlock.tsx +75 -0
  155. package/src/renderer/shared/components/ThinkingBlock.tsx +101 -0
  156. package/src/renderer/shared/constants/models.ts +91 -0
  157. package/src/renderer/shared/platform.ts +82 -0
  158. package/src/renderer/shared/types.ts +140 -0
  159. package/src/renderer/shared/utils/agentActivity.ts +187 -0
  160. package/src/renderer/shared/utils/approval.ts +1 -0
  161. package/src/renderer/shared/utils/approval.tsx +64 -0
  162. package/src/renderer/shared/utils/markdown.tsx +347 -0
  163. package/src/renderer/shared/utils/providers.ts +36 -0
  164. package/src/renderer/shared/utils/speech.ts +216 -0
  165. package/src/renderer/shared/utils/ui.ts +147 -0
  166. package/src/renderer/src/agentProgress.ts +11 -39
  167. package/src/renderer/src/calculator.ts +3 -46
  168. package/src/renderer/src/components/ChatPanel.tsx +230 -1202
  169. package/src/renderer/src/components/ImageStudioPanel.tsx +11 -1
  170. package/src/renderer/src/components/MintDashboard.tsx +63 -171
  171. package/src/renderer/src/components/PicturesLibrary.tsx +32 -8
  172. package/src/renderer/src/components/Settings/AgentsTab.tsx +362 -0
  173. package/src/renderer/src/components/Settings/AutomationTab.tsx +0 -22
  174. package/src/renderer/src/components/Settings/PluginsTab.tsx +221 -41
  175. package/src/renderer/src/components/SettingsWindow.tsx +54 -12
  176. package/src/renderer/src/components/WorkspacePanel.tsx +66 -9
  177. package/src/renderer/src/css/image-studio.css +6 -0
  178. package/src/renderer/src/css/styles.css +148 -11
  179. package/src/renderer/src/index.css +12 -1
  180. package/src/renderer/src/tauri.ts +169 -143
  181. package/src/renderer/src-web/agentProgress.ts +11 -39
  182. package/src/renderer/src-web/calculator.ts +3 -46
  183. package/src/renderer/src-web/components/ChatPanel.tsx +223 -1199
  184. package/src/renderer/src-web/components/ImageStudioPanel.tsx +11 -1
  185. package/src/renderer/src-web/components/MintDashboard.tsx +31 -172
  186. package/src/renderer/src-web/components/PicturesLibrary.tsx +23 -29
  187. package/src/renderer/src-web/components/Settings/AgentsTab.tsx +362 -0
  188. package/src/renderer/src-web/components/Settings/AutomationTab.tsx +0 -22
  189. package/src/renderer/src-web/components/Settings/PluginsTab.tsx +221 -41
  190. package/src/renderer/src-web/components/SettingsWindow.tsx +54 -12
  191. package/src/renderer/src-web/css/image-studio.css +6 -0
  192. package/src/renderer/src-web/css/styles.css +184 -12
  193. package/src/renderer/src-web/index.css +12 -1
  194. package/src/renderer/src-web/tauri.ts +204 -104
  195. package/src-tauri/src/browser.rs +1 -141
  196. package/src-tauri/src/headless.rs +3 -2
  197. package/src-tauri/src/lib.rs +254 -59
  198. package/src-tauri/src/webhooks.rs +1 -0
  199. package/src-tauri/src/workflows.rs +57 -4
  200. package/src-tauri/tauri.conf.json +1 -1
@@ -0,0 +1,74 @@
1
+ --- libappindicator-12.10.0/src/app-indicator.c 2012-07-11 13:28:34.415113869 -0400
2
+ +++ wrk/src/app-indicator.c 2020-03-19 12:14:47.813191652 -0400
3
+ @@ -443,7 +443,7 @@
4
+ G_STRUCT_OFFSET (AppIndicatorClass, new_icon),
5
+ NULL, NULL,
6
+ g_cclosure_marshal_VOID__VOID,
7
+ - G_TYPE_NONE, 0, G_TYPE_NONE);
8
+ + G_TYPE_NONE, 0);
9
+
10
+ /**
11
+ * AppIndicator::new-attention-icon:
12
+ @@ -457,7 +457,7 @@
13
+ G_STRUCT_OFFSET (AppIndicatorClass, new_attention_icon),
14
+ NULL, NULL,
15
+ g_cclosure_marshal_VOID__VOID,
16
+ - G_TYPE_NONE, 0, G_TYPE_NONE);
17
+ + G_TYPE_NONE, 0);
18
+
19
+ /**
20
+ * AppIndicator::new-status:
21
+ @@ -505,7 +505,7 @@
22
+ G_STRUCT_OFFSET (AppIndicatorClass, connection_changed),
23
+ NULL, NULL,
24
+ g_cclosure_marshal_VOID__BOOLEAN,
25
+ - G_TYPE_NONE, 1, G_TYPE_BOOLEAN, G_TYPE_NONE);
26
+ + G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
27
+
28
+ /**
29
+ * AppIndicator::new-icon-theme-path:
30
+ @@ -1175,7 +1175,7 @@
31
+ gchar * guide = priv->label_guide != NULL ? priv->label_guide : "";
32
+
33
+ g_signal_emit(G_OBJECT(self), signals[NEW_LABEL], 0,
34
+ - label, guide, TRUE);
35
+ + label, guide);
36
+ if (priv->dbus_registration != 0 && priv->connection != NULL) {
37
+ GError * error = NULL;
38
+
39
+ @@ -1490,7 +1490,7 @@
40
+ static void
41
+ theme_changed_cb (GtkIconTheme * theme, gpointer user_data)
42
+ {
43
+ - g_signal_emit (user_data, signals[NEW_ICON], 0, TRUE);
44
+ + g_signal_emit (user_data, signals[NEW_ICON], 0);
45
+
46
+ AppIndicator * self = (AppIndicator *)user_data;
47
+ AppIndicatorPrivate *priv = self->priv;
48
+ @@ -1904,7 +1904,7 @@
49
+ }
50
+
51
+ if (changed) {
52
+ - g_signal_emit (self, signals[NEW_ATTENTION_ICON], 0, TRUE);
53
+ + g_signal_emit (self, signals[NEW_ATTENTION_ICON], 0);
54
+
55
+ if (self->priv->dbus_registration != 0 && self->priv->connection != NULL) {
56
+ GError * error = NULL;
57
+ @@ -1982,7 +1982,7 @@
58
+ }
59
+
60
+ if (changed) {
61
+ - g_signal_emit (self, signals[NEW_ICON], 0, TRUE);
62
+ + g_signal_emit (self, signals[NEW_ICON], 0);
63
+
64
+ if (self->priv->dbus_registration != 0 && self->priv->connection != NULL) {
65
+ GError * error = NULL;
66
+ @@ -2048,7 +2048,7 @@
67
+
68
+ self->priv->icon_theme_path = g_strdup(icon_theme_path);
69
+
70
+ - g_signal_emit (self, signals[NEW_ICON_THEME_PATH], 0, self->priv->icon_theme_path, TRUE);
71
+ + g_signal_emit (self, signals[NEW_ICON_THEME_PATH], 0, self->priv->icon_theme_path);
72
+
73
+ if (self->priv->dbus_registration != 0 && self->priv->connection != NULL) {
74
+ GError * error = NULL;
@@ -0,0 +1,11 @@
1
+ --- libappindicator-12.10.0/src/app-indicator.c
2
+ +++ libappindicator-12.10.0/src/app-indicator.c
3
+ @@ -1606,7 +1606,7 @@ status_icon_changes (AppIndicator * self, gpointer data)
4
+ gint n_elements, i;
5
+ gboolean found=FALSE;
6
+ gtk_icon_theme_get_search_path(icon_theme, &path, &n_elements);
7
+ - for (i=0; i< n_elements || path[i] == NULL; i++) {
8
+ + for (i=0; i< n_elements; i++) {
9
+ if(g_strcmp0(path[i], self->priv->icon_theme_path) == 0) {
10
+ found=TRUE;
11
+ break;
@@ -0,0 +1,51 @@
1
+ From 729546c51806a1b3ea6cb6efb7a115b1baa811f1 Mon Sep 17 00:00:00 2001
2
+ From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
3
+ Date: Mon, 18 Nov 2019 19:58:53 +0100
4
+ Subject: [PATCH 1/1] Fix HAVE_VALGRIND AM_CONDITIONAL
5
+
6
+ The AM_CONDITIONAL should also be run with --disable-tests, otherwise
7
+ HAVE_VALGRIND is undefined.
8
+ ---
9
+ configure | 4 ++--
10
+ configure.ac | 2 +-
11
+ 2 files changed, 3 insertions(+), 3 deletions(-)
12
+
13
+ diff --git a/configure b/configure
14
+ index 831a3bb..8913b9b 100644
15
+ --- a/configure
16
+ +++ b/configure
17
+ @@ -14801,6 +14801,8 @@ else
18
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19
+ $as_echo "yes" >&6; }
20
+ have_valgrind=yes
21
+ +fi
22
+ +
23
+ fi
24
+ if test "x$have_valgrind" = "xyes"; then
25
+ HAVE_VALGRIND_TRUE=
26
+ @@ -14811,8 +14813,6 @@ else
27
+ fi
28
+
29
+
30
+ -fi
31
+ -
32
+
33
+
34
+
35
+ diff --git a/configure.ac b/configure.ac
36
+ index ace54d1..cbd38a6 100644
37
+ --- a/configure.ac
38
+ +++ b/configure.ac
39
+ @@ -120,8 +120,8 @@ PKG_CHECK_MODULES(DBUSMENUTESTS, json-glib-1.0 >= $JSON_GLIB_REQUIRED_VERSION
40
+ [have_tests=yes]
41
+ )
42
+ PKG_CHECK_MODULES(DBUSMENUTESTSVALGRIND, valgrind, have_valgrind=yes, have_valgrind=no)
43
+ -AM_CONDITIONAL([HAVE_VALGRIND], [test "x$have_valgrind" = "xyes"])
44
+ ])
45
+ +AM_CONDITIONAL([HAVE_VALGRIND], [test "x$have_valgrind" = "xyes"])
46
+
47
+ AC_SUBST(DBUSMENUTESTS_CFLAGS)
48
+ AC_SUBST(DBUSMENUTESTS_LIBS)
49
+ --
50
+ 2.46.2
51
+
@@ -0,0 +1,44 @@
1
+ From 8a09e6ad33c58c017c0c8fd756da036fc39428ea Mon Sep 17 00:00:00 2001
2
+ From: Alexander Koskovich <akoskovich@pm.me>
3
+ Date: Sun, 29 Sep 2024 13:47:54 -0400
4
+ Subject: [PATCH 1/1] Make introspection configurable
5
+
6
+ ---
7
+ CMakeLists.txt | 1 +
8
+ src/CMakeLists.txt | 4 ++++
9
+ 2 files changed, 5 insertions(+)
10
+
11
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
12
+ index 0e13fcd..f3e9ec0 100644
13
+ --- a/CMakeLists.txt
14
+ +++ b/CMakeLists.txt
15
+ @@ -12,6 +12,7 @@ endif(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
16
+ option(ENABLE_TESTS "Enable all tests and checks" OFF)
17
+ option(ENABLE_COVERAGE "Enable coverage reports (includes enabling all tests and checks)" OFF)
18
+ option(ENABLE_WERROR "Treat all build warnings as errors" OFF)
19
+ +option(ENABLE_INTROSPECTION "Enable introspection" ON)
20
+
21
+ if(ENABLE_COVERAGE)
22
+ set(ENABLE_TESTS ON)
23
+ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
24
+ index 5b3638d..aca9481 100644
25
+ --- a/src/CMakeLists.txt
26
+ +++ b/src/CMakeLists.txt
27
+ @@ -108,6 +108,8 @@ install(TARGETS "ayatana-ido3-0.4" LIBRARY DESTINATION "${CMAKE_INSTALL_FULL_LIB
28
+
29
+ # AyatanaIdo3-0.4.gir
30
+
31
+ +if (ENABLE_INTROSPECTION)
32
+ +
33
+ find_package(GObjectIntrospection REQUIRED QUIET)
34
+
35
+ if (INTROSPECTION_FOUND)
36
+ @@ -183,3 +185,5 @@ if (INTROSPECTION_FOUND)
37
+ endif ()
38
+
39
+ endif ()
40
+ +
41
+ +endif ()
42
+ --
43
+ 2.46.2
44
+
@@ -0,0 +1,121 @@
1
+ {
2
+ "name": "libayatana-appindicator",
3
+ "buildsystem": "cmake-ninja",
4
+ "cleanup": [
5
+ "/include",
6
+ "/lib/pkgconfig"
7
+ ],
8
+ "config-opts": [
9
+ "-DENABLE_BINDINGS_MONO=NO",
10
+ "-DENABLE_BINDINGS_VALA=NO",
11
+ "-DENABLE_GTKDOC=NO"
12
+ ],
13
+ "modules": [
14
+ "../intltool/intltool-0.51.json",
15
+ {
16
+ "name": "libdbusmenu",
17
+ "buildsystem": "autotools",
18
+ "build-options": {
19
+ "cflags": "-Wno-error"
20
+ },
21
+ "cleanup": [
22
+ "*.la",
23
+ "/include",
24
+ "/lib/pkgconfig",
25
+ "/libexec",
26
+ "/share/doc",
27
+ "/share/gtk-doc"
28
+ ],
29
+ "config-opts": [
30
+ "--with-gtk=3",
31
+ "--disable-dumper",
32
+ "--disable-static",
33
+ "--disable-tests",
34
+ "--disable-gtk-doc",
35
+ "--enable-introspection=no",
36
+ "--disable-vala"
37
+ ],
38
+ "sources": [
39
+ {
40
+ "type": "archive",
41
+ "url": "https://launchpad.net/libdbusmenu/16.04/16.04.0/+download/libdbusmenu-16.04.0.tar.gz",
42
+ "mirror-urls": [
43
+ "https://sources.suse.com/SUSE:SLFO:Main:Build/libdbusmenu/a5b3e4717f09f90f9cd5568a5f933e8d/libdbusmenu-16.04.0.tar.gz",
44
+ "https://mirror.math.princeton.edu/pub/frugalware/frugalware-2.1/source/xlib/libdbusmenu/libdbusmenu-16.04.0.tar.gz",
45
+ "https://ftp.fr.openbsd.org/pub/OpenBSD/distfiles/libdbusmenu-16.04.0.tar.gz"
46
+ ],
47
+ "sha256": "b9cc4a2acd74509435892823607d966d424bd9ad5d0b00938f27240a1bfa878a"
48
+ },
49
+ {
50
+ "type": "patch",
51
+ "paths": [
52
+ "0001-Fix-HAVE_VALGRIND-AM_CONDITIONAL.patch"
53
+ ]
54
+ }
55
+ ]
56
+ },
57
+ {
58
+ "name": "ayatana-ido",
59
+ "buildsystem": "cmake-ninja",
60
+ "cleanup": [
61
+ "/include",
62
+ "/lib/pkgconfig"
63
+ ],
64
+ "config-opts": [
65
+ "-DENABLE_INTROSPECTION=OFF"
66
+ ],
67
+ "sources": [
68
+ {
69
+ "type": "git",
70
+ "url": "https://github.com/AyatanaIndicators/ayatana-ido.git",
71
+ "tag": "0.10.4",
72
+ "commit": "f968079b09e2310fefc3fc307359025f1c74b3eb",
73
+ "x-checker-data": {
74
+ "type": "git",
75
+ "tag-pattern": "^([\\d.]+)$"
76
+ }
77
+ },
78
+ {
79
+ "type": "patch",
80
+ "paths": [
81
+ "0001-Make-introspection-configurable.patch"
82
+ ]
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "name": "libayatana-indicator",
88
+ "buildsystem": "cmake-ninja",
89
+ "cleanup": [
90
+ "/include",
91
+ "/lib/pkgconfig",
92
+ "/libexec",
93
+ "/share"
94
+ ],
95
+ "sources": [
96
+ {
97
+ "type": "git",
98
+ "url": "https://github.com/AyatanaIndicators/libayatana-indicator.git",
99
+ "tag": "0.9.4",
100
+ "commit": "611bb384b73fa6311777ba4c41381a06f5b99dad",
101
+ "x-checker-data": {
102
+ "type": "git",
103
+ "tag-pattern": "^([\\d.]+)$"
104
+ }
105
+ }
106
+ ]
107
+ }
108
+ ],
109
+ "sources": [
110
+ {
111
+ "type": "git",
112
+ "url": "https://github.com/AyatanaIndicators/libayatana-appindicator.git",
113
+ "tag": "0.5.94",
114
+ "commit": "31e8bb083b307e1cc96af4874a94707727bd1e79",
115
+ "x-checker-data": {
116
+ "type": "git",
117
+ "tag-pattern": "^([\\d.]+)$"
118
+ }
119
+ }
120
+ ]
121
+ }
@@ -0,0 +1,123 @@
1
+ From d6dd5cdf45c1aac6c0519c8a4f5f89321770fb53 Mon Sep 17 00:00:00 2001
2
+ From: Michael Meeks <michael.meeks@suse.com>
3
+ Date: Fri, 9 Nov 2012 16:16:40 +0000
4
+ Subject: [PATCH] gtk: Don't assume all GdkDisplays are GdkX11Displays:
5
+ broadway/wayland
6
+
7
+ Co-Authored-By: Bastien Nocera <hadess@hadess.net>
8
+ ---
9
+ src/canberra-gtk-module.c | 15 +++++++++++++++
10
+ src/canberra-gtk.c | 28 ++++++++++++++++++++++------
11
+ 2 files changed, 37 insertions(+), 6 deletions(-)
12
+
13
+ diff --git a/src/canberra-gtk-module.c b/src/canberra-gtk-module.c
14
+ index 67791f0..c1532ab 100644
15
+ --- a/src/canberra-gtk-module.c
16
+ +++ b/src/canberra-gtk-module.c
17
+ @@ -307,6 +307,11 @@ static gint window_get_desktop(GdkDisplay *d, GdkWindow *w) {
18
+ guchar *data = NULL;
19
+ gint ret = -1;
20
+
21
+ +#ifdef GDK_IS_X11_DISPLAY
22
+ + if (!GDK_IS_X11_DISPLAY(d))
23
+ + return 0;
24
+ +#endif
25
+ +
26
+ if (XGetWindowProperty(GDK_DISPLAY_XDISPLAY(d), GDK_WINDOW_XID(w),
27
+ gdk_x11_get_xatom_by_name_for_display(d, "_NET_WM_DESKTOP"),
28
+ 0, G_MAXLONG, False, XA_CARDINAL, &type_return,
29
+ @@ -335,6 +340,11 @@ static gint display_get_desktop(GdkDisplay *d) {
30
+ guchar *data = NULL;
31
+ gint ret = -1;
32
+
33
+ +#ifdef GDK_IS_X11_DISPLAY
34
+ + if (!GDK_IS_X11_DISPLAY(d))
35
+ + return 0;
36
+ +#endif
37
+ +
38
+ if (XGetWindowProperty(GDK_DISPLAY_XDISPLAY(d), DefaultRootWindow(GDK_DISPLAY_XDISPLAY(d)),
39
+ gdk_x11_get_xatom_by_name_for_display(d, "_NET_CURRENT_DESKTOP"),
40
+ 0, G_MAXLONG, False, XA_CARDINAL, &type_return,
41
+ @@ -365,6 +375,11 @@ static gboolean window_is_xembed(GdkDisplay *d, GdkWindow *w) {
42
+ gboolean ret = FALSE;
43
+ Atom xembed;
44
+
45
+ +#ifdef GDK_IS_X11_DISPLAY
46
+ + if (!GDK_IS_X11_DISPLAY(d))
47
+ + return FALSE;
48
+ +#endif
49
+ +
50
+ /* Gnome Panel applets are XEMBED windows. We need to make sure we
51
+ * ignore them */
52
+
53
+ diff --git a/src/canberra-gtk.c b/src/canberra-gtk.c
54
+ index 34446f5..47285f8 100644
55
+ --- a/src/canberra-gtk.c
56
+ +++ b/src/canberra-gtk.c
57
+ @@ -185,6 +185,11 @@ static gint window_get_desktop(GdkDisplay *d, GdkWindow *w) {
58
+ guchar *data = NULL;
59
+ gint ret = -1;
60
+
61
+ +#ifdef GDK_IS_X11_DISPLAY
62
+ + if (!GDK_IS_X11_DISPLAY(d))
63
+ + return 0;
64
+ +#endif
65
+ +
66
+ if (XGetWindowProperty(GDK_DISPLAY_XDISPLAY(d), GDK_WINDOW_XID(w),
67
+ gdk_x11_get_xatom_by_name_for_display(d, "_NET_WM_DESKTOP"),
68
+ 0, G_MAXLONG, False, XA_CARDINAL, &type_return,
69
+ @@ -254,18 +259,28 @@ int ca_gtk_proplist_set_for_widget(ca_proplist *p, GtkWidget *widget) {
70
+
71
+ if (gtk_widget_get_realized(GTK_WIDGET(w))) {
72
+ GdkWindow *dw = NULL;
73
+ +#ifdef GDK_IS_X11_DISPLAY
74
+ GdkScreen *screen = NULL;
75
+ +#endif
76
+ GdkDisplay *display = NULL;
77
+ gint x = -1, y = -1, width = -1, height = -1, screen_width = -1, screen_height = -1;
78
+
79
+ - if ((dw = gtk_widget_get_window(GTK_WIDGET(w))))
80
+ - if ((ret = ca_proplist_setf(p, CA_PROP_WINDOW_X11_XID, "%lu", (unsigned long) GDK_WINDOW_XID(dw))) < 0)
81
+ - return ret;
82
+ + if ((dw = gtk_widget_get_window(GTK_WIDGET(w)))) {
83
+ +#ifdef GDK_IS_X11_DISPLAY
84
+ + if (GDK_IS_X11_DISPLAY(display)) {
85
+ + if ((ret = ca_proplist_setf(p, CA_PROP_WINDOW_X11_XID, "%lu", (unsigned long) GDK_WINDOW_XID(dw))) < 0)
86
+ + return ret;
87
+ + }
88
+ +#endif
89
+ + }
90
+
91
+ if ((display = gtk_widget_get_display(GTK_WIDGET(w)))) {
92
+ - if ((t = gdk_display_get_name(display)))
93
+ +#ifdef GDK_IS_X11_DISPLAY
94
+ + if (GDK_IS_X11_DISPLAY(display) && (t = gdk_display_get_name(display))) {
95
+ if ((ret = ca_proplist_sets(p, CA_PROP_WINDOW_X11_DISPLAY, t)) < 0)
96
+ return ret;
97
+ + }
98
+ +#endif
99
+
100
+ if (dw) {
101
+ gint desktop = window_get_desktop(display, dw);
102
+ @@ -276,7 +291,8 @@ int ca_gtk_proplist_set_for_widget(ca_proplist *p, GtkWidget *widget) {
103
+ }
104
+ }
105
+
106
+ - if ((screen = gtk_widget_get_screen(GTK_WIDGET(w)))) {
107
+ +#ifdef GDK_IS_X11_DISPLAY
108
+ + if (GDK_IS_X11_DISPLAY(display) && (screen = gtk_widget_get_screen(GTK_WIDGET(w)))) {
109
+
110
+ if ((ret = ca_proplist_setf(p, CA_PROP_WINDOW_X11_SCREEN, "%i", gdk_screen_get_number(screen))) < 0)
111
+ return ret;
112
+ @@ -285,7 +301,7 @@ int ca_gtk_proplist_set_for_widget(ca_proplist *p, GtkWidget *widget) {
113
+ if ((ret = ca_proplist_setf(p, CA_PROP_WINDOW_X11_MONITOR, "%i", gdk_screen_get_monitor_at_window(screen, dw))) < 0)
114
+ return ret;
115
+ }
116
+ -
117
+ +#endif
118
+ /* FIXME, this might cause a round trip */
119
+
120
+ if (dw) {
121
+ --
122
+ 2.34.1
123
+
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "libcanberra",
3
+ "cleanup": [
4
+ "*.la",
5
+ "/etc",
6
+ "/include",
7
+ "/lib/gnome-settings-daemon-3.0",
8
+ "/lib/gtk-3.0",
9
+ "/lib/pkgconfig",
10
+ "/libexec",
11
+ "/share/doc",
12
+ "/share/gdm",
13
+ "/share/gnome",
14
+ "/share/gtk-doc",
15
+ "/share/man",
16
+ "/share/vala"
17
+ ],
18
+ "config-opts": [
19
+ "--disable-static",
20
+ "--disable-gtk-doc",
21
+ "--disable-oss",
22
+ "--enable-pulse",
23
+ "--disable-udev",
24
+ "--disable-gtk",
25
+ "--enable-gtk3",
26
+ "--disable-lynx"
27
+ ],
28
+ "sources": [
29
+ {
30
+ "type": "archive",
31
+ "url": "http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.30.tar.xz",
32
+ "mirror-urls": [
33
+ "https://ftp2.osuosl.org/pub/blfs/conglomeration/libcanberra/libcanberra-0.30.tar.xz",
34
+ "https://src.opensuse.org/SLFO-pool/libcanberra/media/commit/5e8635a291cd1dc4afbb1e8eee60d903ecea90da90e7719f4a432a85b4615744/libcanberra-0.30.tar.xz",
35
+ "https://slackware.nl/slackware/slackware-15.0/source/l/libcanberra/libcanberra-0.30.tar.xz"
36
+ ],
37
+ "sha256": "c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72"
38
+ },
39
+ {
40
+ "type": "patch",
41
+ "path": "0001-gtk-Don-t-assume-all-GdkDisplays-are-GdkX11Displays-.patch"
42
+ }
43
+ ]
44
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "name" : "libmad",
3
+ "buildsystem": "cmake-ninja",
4
+ "config-opts": [
5
+ "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
6
+ ],
7
+ "sources": [
8
+ {
9
+ "type" : "archive",
10
+ "url" : "https://codeberg.org/tenacityteam/libmad/releases/download/0.16.4/libmad-0.16.4.tar.gz",
11
+ "sha256" : "0f6bfb36c554075494b5fc2c646d08de7364819540f23bab30ae73fa1b5cfe65"
12
+ }
13
+ ],
14
+ "cleanup": [
15
+ "/include",
16
+ "/lib/cmake",
17
+ "/lib/pkgconfig"
18
+ ]
19
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "libsecret",
3
+ "buildsystem": "meson",
4
+ "config-opts": [
5
+ "-Dmanpage=false",
6
+ "-Dvapi=false",
7
+ "-Dgtk_doc=false",
8
+ "-Dintrospection=false"
9
+ ],
10
+ "cleanup": [
11
+ "/bin",
12
+ "/include",
13
+ "/lib/pkgconfig",
14
+ "/share/man"
15
+ ],
16
+ "sources": [
17
+ {
18
+ "type": "archive",
19
+ "url": "https://download.gnome.org/sources/libsecret/0.21/libsecret-0.21.7.tar.xz",
20
+ "sha256": "6b452e4750590a2b5617adc40026f28d2f4903de15f1250e1d1c40bfd68ed55e"
21
+ }
22
+ ]
23
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "libsoup-2.4",
3
+ "buildsystem": "meson",
4
+ "config-opts": [
5
+ "-Dtests=false"
6
+ ],
7
+ "sources": [
8
+ {
9
+ "type": "archive",
10
+ "url": "https://download.gnome.org/sources/libsoup/2.74/libsoup-2.74.3.tar.xz",
11
+ "sha256": "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13"
12
+ }
13
+ ]
14
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "libusb",
3
+ "config-opts": [
4
+ "--disable-static"
5
+ ],
6
+ "cleanup": [
7
+ "/lib/*.la",
8
+ "/lib/pkgconfig",
9
+ "/include"
10
+ ],
11
+ "sources": [
12
+ {
13
+ "type": "archive",
14
+ "url": "https://github.com/libusb/libusb/releases/download/v1.0.29/libusb-1.0.29.tar.bz2",
15
+ "sha256": "5977fc950f8d1395ccea9bd48c06b3f808fd3c2c961b44b0c2e6e29fc3a70a85",
16
+ "x-checker-data": {
17
+ "type": "anitya",
18
+ "project-id": 1749,
19
+ "stable-only": true,
20
+ "url-template": "https://github.com/libusb/libusb/releases/download/v$version/libusb-$version.tar.bz2"
21
+ }
22
+ }
23
+ ],
24
+ "post-install": [
25
+ "install -Dm644 COPYING ${FLATPAK_DEST}/share/licenses/libusb/COPYING"
26
+ ]
27
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "dssi",
3
+ "rm-configure": true,
4
+ "build-options": {
5
+ "cflags": "-std=gnu18 -Wno-error=incompatible-pointer-types"
6
+ },
7
+ "config-opts": [
8
+ "--disable-static"
9
+ ],
10
+ "cleanup": [
11
+ "/bin",
12
+ "/include",
13
+ "/lib/dssi",
14
+ "/lib/pkgconfig",
15
+ "/share/man",
16
+ "*.la"
17
+ ],
18
+ "sources": [
19
+ {
20
+ "type": "archive",
21
+ "url": "http://download.sf.net/sourceforge/dssi/dssi-1.1.1.tar.gz",
22
+ "sha256": "f2c82b073a947c8255284249097667f9b14e660bf86186f3fcd3b3b3e087814e"
23
+ },
24
+ {
25
+ "type": "shell",
26
+ "commands": [
27
+ "autoreconf -fiv"
28
+ ]
29
+ }
30
+ ]
31
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "fftw3f",
3
+ "config-opts": [
4
+ "--enable-threads",
5
+ "--enable-static",
6
+ "--disable-shared",
7
+ "--enable-float"
8
+ ],
9
+ "build-options": {
10
+ "cflags": "-fPIC",
11
+ "arch": {
12
+ "x86_64": {
13
+ "config-opts": [
14
+ "--enable-sse2",
15
+ "--enable-avx",
16
+ "--enable-avx-128-fma"
17
+ ]
18
+ },
19
+ "aarch64": {
20
+ "config-opts": [
21
+ "--enable-neon"
22
+ ]
23
+ }
24
+ }
25
+ },
26
+ "sources": [
27
+ {
28
+ "type": "archive",
29
+ "url": "https://www.fftw.org/fftw-3.3.10.tar.gz",
30
+ "sha256": "56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467"
31
+ }
32
+ ],
33
+ "cleanup": [
34
+ "/bin",
35
+ "/include",
36
+ "/lib/cmake",
37
+ "/lib/pkgconfig",
38
+ "/share/info",
39
+ "/share/man",
40
+ "*.a",
41
+ "*.la",
42
+ "*.so"
43
+ ]
44
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "fftw3f",
3
+ "config-opts": [
4
+ "--enable-threads",
5
+ "--enable-shared",
6
+ "--disable-static",
7
+ "--enable-float"
8
+ ],
9
+ "build-options": {
10
+ "arch": {
11
+ "x86_64": {
12
+ "config-opts": [
13
+ "--enable-sse2",
14
+ "--enable-avx",
15
+ "--enable-avx-128-fma"
16
+ ]
17
+ },
18
+ "aarch64": {
19
+ "config-opts": [
20
+ "--enable-neon"
21
+ ]
22
+ }
23
+ }
24
+ },
25
+ "sources": [
26
+ {
27
+ "type": "archive",
28
+ "url": "https://www.fftw.org/fftw-3.3.10.tar.gz",
29
+ "sha256": "56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467"
30
+ }
31
+ ],
32
+ "cleanup": [
33
+ "/bin",
34
+ "/include",
35
+ "/lib/cmake",
36
+ "/lib/pkgconfig",
37
+ "/share/man",
38
+ "/share/info",
39
+ "*.la",
40
+ "*.so"
41
+ ]
42
+ }