You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know anything about vala. Trying to build the latest commit (c7a7866). Using Arch Linux. I think the relevent errors are:
../notejot/src/MainWindow.vala:21.5-21.50: error: UI resource not found: `/io/github/lainsce/Notejot/main_window.ui'. Please make sure to specify the proper GResources xml files with --gresources and alternative search locations with --gresourcesdir.
21 | public class MainWindow : He.ApplicationWindow {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteListView.vala:20.1-20.42: error: UI resource not found: `/io/github/lainsce/Notejot/notelistview.ui'. Please make sure to specify the proper GResources xml files with --gresources and alternative search locations with --gresourcesdir.
20 | public class Notejot.NoteListView : He.Bin {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NotebookMainListView.vala:20.1-20.50: error: UI resource not found: `/io/github/lainsce/Notejot/notebookmainlistview.ui'. Please make sure to specify the proper GResources xml files with --gresources and alternative search locations with --gresourcesdir.
20 | public class Notejot.NotebookMainListView : He.Bin {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Here's the full build log.
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true -D python.bytecompile=1 notejot build
The Meson build system
Version: 1.2.3
Source dir: /build/notejot-git/src/notejot
Build dir: /build/notejot-git/src/build
Build type: native build
Project name: io.github.lainsce.Notejot
Project version: 3.6.0
C compiler for the host machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20230801")
C linker for the host machine: cc ld.bfd 2.41.0
Vala compiler for the host machine: valac (valac 0.56.13)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Configuring config.h using configuration
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Run-time dependency gio-2.0 found: YES 2.78.1
Run-time dependency gtk4 found: YES 4.12.3
Run-time dependency glib-2.0 found: YES 2.78.1
Run-time dependency gobject-2.0 found: YES 2.78.1
Run-time dependency gee-0.8 found: YES 0.20.6
Run-time dependency libhelium-1 found: YES 1.8.0
Run-time dependency libbismuth-1 found: YES 1.0.0
Run-time dependency gmodule-2.0 found: YES 2.78.1
Run-time dependency json-glib-1.0 found: YES 1.8.0
Library m found: YES
Configuring io.github.lainsce.Notejot.desktop.in using configuration
Program msgfmt found: YES (/usr/bin/msgfmt)
Program desktop-file-validate found: YES (/usr/bin/desktop-file-validate)
Configuring io.github.lainsce.Notejot.metainfo.xml.in using configuration
Program appstream-util found: NO
Dependency gio-2.0 found: YES 2.78.1 (cached)
Program /usr/bin/glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Executing subproject blueprint-compiler
blueprint-compiler| Project name: blueprint-compiler
blueprint-compiler| Project version: 0.10.1
blueprint-compiler| Program python3 found: YES (/usr/bin/python3)
blueprint-compiler| Configuring blueprint-compiler.pc using configuration
blueprint-compiler| Configuring blueprint-compiler using configuration
blueprint-compiler| Program blueprint-compiler found: YES (/build/notejot-git/src/build/subprojects/blueprint-compiler/blueprint-compiler)
blueprint-compiler| Build targets in project: 3
blueprint-compiler| Subproject blueprint-compiler finished.
Program blueprint-compiler found: YES (overridden)
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Dependency gio-2.0 found: YES 2.78.1 (cached)
Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Dependency gio-2.0 found: YES 2.78.1 (cached)
Program /usr/bin/glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Program gtk4-update-icon-cache found: YES (/usr/bin/gtk4-update-icon-cache)
Program update-desktop-database found: YES (/usr/bin/update-desktop-database)
Build targets in project: 29
io.github.lainsce.Notejot 3.6.0
Subprojects
blueprint-compiler: YES
User defined options
auto_features : enabled
buildtype : plain
libexecdir : lib
prefix : /usr
sbindir : bin
wrap_mode : nodownload
python.bytecompile: 1
b_lto : true
b_pie : true
Found ninja-1.11.1 at /usr/bin/ninja
ninja: Entering directory `/build/notejot-git/src/build'
[1/64] Generating data/gsettings-compile-data with a custom command
[2/64] Generating po/ca/LC_MESSAGES/io.github.lainsce.Notejot-ca.mo with a custom command
[3/64] Generating po/da/LC_MESSAGES/io.github.lainsce.Notejot-da.mo with a custom command
[4/64] Generating po/de/LC_MESSAGES/io.github.lainsce.Notejot-de.mo with a custom command
[5/64] Generating po/cs/LC_MESSAGES/io.github.lainsce.Notejot-cs.mo with a custom command
[6/64] Generating po/fr/LC_MESSAGES/io.github.lainsce.Notejot-fr.mo with a custom command
[7/64] Generating po/gl/LC_MESSAGES/io.github.lainsce.Notejot-gl.mo with a custom command
[8/64] Generating po/es/LC_MESSAGES/io.github.lainsce.Notejot-es.mo with a custom command
[9/64] Generating po/hr/LC_MESSAGES/io.github.lainsce.Notejot-hr.mo with a custom command
[10/64] Generating po/it/LC_MESSAGES/io.github.lainsce.Notejot-it.mo with a custom command
[11/64] Generating po/ja/LC_MESSAGES/io.github.lainsce.Notejot-ja.mo with a custom command
[12/64] Generating po/lt/LC_MESSAGES/io.github.lainsce.Notejot-lt.mo with a custom command
[13/64] Generating po/nl/LC_MESSAGES/io.github.lainsce.Notejot-nl.mo with a custom command
[14/64] Generating po/oc/LC_MESSAGES/io.github.lainsce.Notejot-oc.mo with a custom command
[15/64] Generating po/pl/LC_MESSAGES/io.github.lainsce.Notejot-pl.mo with a custom command
[16/64] Generating po/pt/LC_MESSAGES/io.github.lainsce.Notejot-pt.mo with a custom command
[17/64] Generating po/pt_BR/LC_MESSAGES/io.github.lainsce.Notejot-pt_BR.mo with a custom command
[18/64] Generating data/io.github.lainsce.Notejot.metainfo.xml with a custom command
[19/64] Generating data/io.github.lainsce.Notejot.desktop with a custom command
[20/64] Generating po/ru/LC_MESSAGES/io.github.lainsce.Notejot-ru.mo with a custom command
[21/64] Generating po/sv/LC_MESSAGES/io.github.lainsce.Notejot-sv.mo with a custom command
[22/64] Generating po/tr/LC_MESSAGES/io.github.lainsce.Notejot-tr.mo with a custom command
[23/64] Generating data/blueprints with a custom command
[24/64] Generating data/as-resources_h with a custom command
FAILED: data/as-resources.h
/usr/bin/glib-compile-resources ../notejot/data/io.github.lainsce.Notejot.gresource.xml --sourcedir /build/notejot-git/src/build/data --sourcedir data --sourcedir ../notejot/data --c-name as --internal --generate --target data/as-resources.h
../notejot/data/io.github.lainsce.Notejot.gresource.xml: Failed to locate “ui/main_window.ui” in any source directory.
[25/64] Generating data/as-resources_c with a custom command
FAILED: data/as-resources.c
/usr/bin/glib-compile-resources ../notejot/data/io.github.lainsce.Notejot.gresource.xml --sourcedir /build/notejot-git/src/build/data --sourcedir data --sourcedir ../notejot/data --c-name as --internal --generate --target data/as-resources.c --dependency-file data/as-resources.c.d
../notejot/data/io.github.lainsce.Notejot.gresource.xml: Failed to locate “ui/main_window.ui” in any source directory.
[26/64] Compiling Vala source ../notejot/src/Application.vala ../notejot/src/MainWindow.vala ../notejot/src/Models/Note.vala ../notejot/src/Models/Notebook.vala ../notejot/src/Models/Trash.vala ../notejot/src/Repositories/NoteRepository.vala ../notejot/src/Repositories/NotebookRepository.vala ../notejot/src/Repositories/TrashRepository.vala ../notejot/src/Services/MigrationManager.vala ../notejot/src/Services/SettingsManager.vala ../notejot/src/Services/StyleManager.vala ../notejot/src/Utils/FileUtils.vala ../notejot/src/Utils/FormatUtils.vala ../notejot/src/Utils/MiscUtils.vala ../notejot/src/Utils/NoteSorter.vala ../notejot/src/Utils/ObservableList.vala ../notejot/src/Utils/ThreadUtils.vala ../notejot/src/Utils/TimeUtils.vala ../notejot/src/ViewModels/NoteViewModel.vala ../notejot/src/ViewModels/NotebookViewModel.vala ../notejot/src/ViewModels/TrashViewModel.vala ../notejot/src/Views/NoteContentView.vala ../notejot/src/Views/NoteListView.vala ../notejot/src/Views/NotebookListView.vala ../notejot/src/Views/NotebookMainListView.vala ../notejot/src/Views/NotebookMoveListView.vala ../notejot/src/Views/TrashContentView.vala ../notejot/src/Views/TrashListView.vala ../notejot/src/Views/View.vala ../notejot/src/Widgets/EditNotebookDialog.vala ../notejot/src/Widgets/NotebookMainRowContent.vala ../notejot/src/Widgets/NoteRowContent.vala ../notejot/src/Widgets/MoveToDialog.vala ../notejot/src/Widgets/NotebookRowContent.vala ../notejot/src/Widgets/NoteTheme.vala ../notejot/src/Widgets/TrashRowContent.vala
FAILED: io.github.lainsce.Notejot.p/src/Application.c io.github.lainsce.Notejot.p/src/MainWindow.c io.github.lainsce.Notejot.p/src/Models/Note.c io.github.lainsce.Notejot.p/src/Models/Notebook.c io.github.lainsce.Notejot.p/src/Models/Trash.c io.github.lainsce.Notejot.p/src/Repositories/NoteRepository.c io.github.lainsce.Notejot.p/src/Repositories/NotebookRepository.c io.github.lainsce.Notejot.p/src/Repositories/TrashRepository.c io.github.lainsce.Notejot.p/src/Services/MigrationManager.c io.github.lainsce.Notejot.p/src/Services/SettingsManager.c io.github.lainsce.Notejot.p/src/Services/StyleManager.c io.github.lainsce.Notejot.p/src/Utils/FileUtils.c io.github.lainsce.Notejot.p/src/Utils/FormatUtils.c io.github.lainsce.Notejot.p/src/Utils/MiscUtils.c io.github.lainsce.Notejot.p/src/Utils/NoteSorter.c io.github.lainsce.Notejot.p/src/Utils/ObservableList.c io.github.lainsce.Notejot.p/src/Utils/ThreadUtils.c io.github.lainsce.Notejot.p/src/Utils/TimeUtils.c io.github.lainsce.Notejot.p/src/ViewModels/NoteViewModel.c io.github.lainsce.Notejot.p/src/ViewModels/NotebookViewModel.c io.github.lainsce.Notejot.p/src/ViewModels/TrashViewModel.c io.github.lainsce.Notejot.p/src/Views/NoteContentView.c io.github.lainsce.Notejot.p/src/Views/NoteListView.c io.github.lainsce.Notejot.p/src/Views/NotebookListView.c io.github.lainsce.Notejot.p/src/Views/NotebookMainListView.c io.github.lainsce.Notejot.p/src/Views/NotebookMoveListView.c io.github.lainsce.Notejot.p/src/Views/TrashContentView.c io.github.lainsce.Notejot.p/src/Views/TrashListView.c io.github.lainsce.Notejot.p/src/Views/View.c io.github.lainsce.Notejot.p/src/Widgets/EditNotebookDialog.c io.github.lainsce.Notejot.p/src/Widgets/NotebookMainRowContent.c io.github.lainsce.Notejot.p/src/Widgets/NoteRowContent.c io.github.lainsce.Notejot.p/src/Widgets/MoveToDialog.c io.github.lainsce.Notejot.p/src/Widgets/NotebookRowContent.c io.github.lainsce.Notejot.p/src/Widgets/NoteTheme.c io.github.lainsce.Notejot.p/src/Widgets/TrashRowContent.c
valac -C --target-glib=2.68 --gresourcesdir /build/notejot-git/src/build/data --pkg json-glib-1.0 --pkg gmodule-2.0 --pkg libbismuth-1 --pkg libhelium-1 --pkg gee-0.8 --pkg gobject-2.0 --pkg glib-2.0 --pkg gtk4 --pkg gio-2.0 --color=always --directory io.github.lainsce.Notejot.p --basedir ../notejot/ --gresources=../notejot/data/io.github.lainsce.Notejot.gresource.xml /build/notejot-git/src/notejot/src//Config.vapi ../notejot/src/Application.vala ../notejot/src/MainWindow.vala ../notejot/src/Models/Note.vala ../notejot/src/Models/Notebook.vala ../notejot/src/Models/Trash.vala ../notejot/src/Repositories/NoteRepository.vala ../notejot/src/Repositories/NotebookRepository.vala ../notejot/src/Repositories/TrashRepository.vala ../notejot/src/Services/MigrationManager.vala ../notejot/src/Services/SettingsManager.vala ../notejot/src/Services/StyleManager.vala ../notejot/src/Utils/FileUtils.vala ../notejot/src/Utils/FormatUtils.vala ../notejot/src/Utils/MiscUtils.vala ../notejot/src/Utils/NoteSorter.vala ../notejot/src/Utils/ObservableList.vala ../notejot/src/Utils/ThreadUtils.vala ../notejot/src/Utils/TimeUtils.vala ../notejot/src/ViewModels/NoteViewModel.vala ../notejot/src/ViewModels/NotebookViewModel.vala ../notejot/src/ViewModels/TrashViewModel.vala ../notejot/src/Views/NoteContentView.vala ../notejot/src/Views/NoteListView.vala ../notejot/src/Views/NotebookListView.vala ../notejot/src/Views/NotebookMainListView.vala ../notejot/src/Views/NotebookMoveListView.vala ../notejot/src/Views/TrashContentView.vala ../notejot/src/Views/TrashListView.vala ../notejot/src/Views/View.vala ../notejot/src/Widgets/EditNotebookDialog.vala ../notejot/src/Widgets/NotebookMainRowContent.vala ../notejot/src/Widgets/NoteRowContent.vala ../notejot/src/Widgets/MoveToDialog.vala ../notejot/src/Widgets/NotebookRowContent.vala ../notejot/src/Widgets/NoteTheme.vala ../notejot/src/Widgets/TrashRowContent.vala
../notejot/src/Utils/ThreadUtils.vala:40.13-40.95: warning: unhandled error `GLib.ThreadError'
40 | var tp = new ThreadPool<Worker>.with_owned_data (worker => worker.run (), 1, false);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Services/StyleManager.vala:36.9-36.35: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
36 | css_provider.load_from_data (style.data);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Services/StyleManager.vala:37.9-37.24: warning: `Gtk.StyleContext' has been deprecated since 4.10
37 | Gtk.StyleContext.add_provider_for_display (
| ^~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:126.21-126.43: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
126 | provider.load_from_data ((uint8[]) "@define-color note_color @meson_red;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:134.21-134.43: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
134 | provider.load_from_data ((uint8[]) "@define-color note_color @electron_yellow;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:142.21-142.43: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
142 | provider.load_from_data ((uint8[]) "@define-color note_color @muon_green;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:150.21-150.43: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
150 | provider.load_from_data ((uint8[]) "@define-color note_color @proton_blue;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:158.21-158.43: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
158 | provider.load_from_data ((uint8[]) "@define-color note_color @tau_purple;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Utils/MiscUtils.vala:30.27-30.47: warning: `Gtk.FileChooserNative' has been deprecated since 4.10
30 | var chooser = new Gtk.FileChooserNative (null, win, Gtk.FileChooserAction.SAVE, null, null);
| ^~~~~~~~~~~~~~~~~~~~~
../notejot/src/Utils/MiscUtils.vala:30.13-30.19: warning: `Gtk.FileChooserNative' has been deprecated since 4.10
30 | var chooser = new Gtk.FileChooserNative (null, win, Gtk.FileChooserAction.SAVE, null, null);
| ^~~~~~~
../notejot/src/Utils/MiscUtils.vala:74.54-74.81: warning: `Gtk.FileChooserNative' has been deprecated since 4.10
74 | private async Gtk.ResponseType run_dialog_async (Gtk.FileChooserNative dialog) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:180.21-180.43: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
180 | provider.load_from_data ((uint8[]) "@define-color note_color @surface_bg_color;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:248.17-248.39: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
248 | provider.load_from_data ((uint8[]) "@define-color note_color @surface_bg_color;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:254.17-254.39: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
254 | provider.load_from_data ((uint8[]) "@define-color note_color @meson_red;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:258.17-258.39: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
258 | provider.load_from_data ((uint8[]) "@define-color note_color @electron_yellow;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:262.17-262.39: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
262 | provider.load_from_data ((uint8[]) "@define-color note_color @muon_green;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:266.17-266.39: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
266 | provider.load_from_data ((uint8[]) "@define-color note_color @proton_blue;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:270.17-270.39: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
270 | provider.load_from_data ((uint8[]) "@define-color note_color @tau_purple;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:276.17-276.39: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
276 | provider.load_from_data ((uint8[]) "@define-color note_color @surface_bg_color;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:279.17-279.42: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
279 | main_box.get_style_context().add_provider(provider, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:280.17-280.45: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
280 | note_header.get_style_context().add_provider(provider, 2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:281.17-281.45: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
281 | note_footer.get_style_context().add_provider(provider, 3);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:282.17-282.43: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
282 | note_body.get_style_context().add_provider(provider, 4);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:284.17-284.39: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
284 | provider.load_from_data ((uint8[]) "@define-color note_color @meson_red;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:287.17-287.42: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
287 | main_box.get_style_context().add_provider(provider, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:288.17-288.45: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
288 | note_header.get_style_context().add_provider(provider, 2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:289.17-289.45: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
289 | note_footer.get_style_context().add_provider(provider, 3);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:290.17-290.43: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
290 | note_body.get_style_context().add_provider(provider, 4);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:292.17-292.39: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
292 | provider.load_from_data ((uint8[]) "@define-color note_color @electron_yellow;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:295.17-295.42: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
295 | main_box.get_style_context().add_provider(provider, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:296.17-296.45: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
296 | note_header.get_style_context().add_provider(provider, 2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:297.17-297.45: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
297 | note_footer.get_style_context().add_provider(provider, 3);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:298.17-298.43: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
298 | note_body.get_style_context().add_provider(provider, 4);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:300.17-300.39: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
300 | provider.load_from_data ((uint8[]) "@define-color note_color @muon_green;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:303.17-303.42: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
303 | main_box.get_style_context().add_provider(provider, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:304.17-304.45: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
304 | note_header.get_style_context().add_provider(provider, 2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:305.17-305.45: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
305 | note_footer.get_style_context().add_provider(provider, 3);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:306.17-306.43: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
306 | note_body.get_style_context().add_provider(provider, 4);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:308.17-308.39: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
308 | provider.load_from_data ((uint8[]) "@define-color note_color @proton_blue;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:311.17-311.42: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
311 | main_box.get_style_context().add_provider(provider, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:312.17-312.45: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
312 | note_header.get_style_context().add_provider(provider, 2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:313.17-313.45: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
313 | note_footer.get_style_context().add_provider(provider, 3);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:315.17-315.39: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
315 | provider.load_from_data ((uint8[]) "@define-color note_color @tau_purple;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:318.17-318.42: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
318 | main_box.get_style_context().add_provider(provider, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:319.17-319.45: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
319 | note_header.get_style_context().add_provider(provider, 2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:320.17-320.45: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
320 | note_footer.get_style_context().add_provider(provider, 3);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteContentView.vala:321.17-321.43: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
321 | note_body.get_style_context().add_provider(provider, 4);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Utils/MiscUtils.vala:51.27-51.47: warning: `Gtk.FileChooserNative' has been deprecated since 4.10
51 | var chooser = new Gtk.FileChooserNative (null, win, Gtk.FileChooserAction.OPEN, null, null);
| ^~~~~~~~~~~~~~~~~~~~~
../notejot/src/Utils/MiscUtils.vala:51.13-51.19: warning: `Gtk.FileChooserNative' has been deprecated since 4.10
51 | var chooser = new Gtk.FileChooserNative (null, win, Gtk.FileChooserAction.OPEN, null, null);
| ^~~~~~~
../notejot/src/Views/TrashContentView.vala:84.13-84.38: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
84 | main_box.get_style_context ().add_provider (provider, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/TrashContentView.vala:136.13-136.35: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
136 | provider.load_from_data ((uint8[]) "@define-color note_color %s;".printf (_trash.color));
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/TrashContentView.vala:160.9-160.34: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
160 | main_box.get_style_context ().add_provider (provider, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Widgets/NoteRowContent.vala:44.17-44.39: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
44 | provider.load_from_data ((uint8[]) "@define-color note_color @outline;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Widgets/NoteRowContent.vala:47.17-47.37: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
47 | box.get_style_context ().add_provider (provider, 1);
| ^~~~~~~~~~~~~~~~~~~~~
../notejot/src/Widgets/NoteRowContent.vala:49.17-49.39: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
49 | provider.load_from_data ((uint8[]) "@define-color note_color @meson_red;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Widgets/NoteRowContent.vala:52.17-52.37: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
52 | box.get_style_context ().add_provider (provider, 1);
| ^~~~~~~~~~~~~~~~~~~~~
../notejot/src/Widgets/NoteRowContent.vala:54.17-54.39: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
54 | provider.load_from_data ((uint8[]) "@define-color note_color @electron_yellow;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Widgets/NoteRowContent.vala:57.17-57.37: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
57 | box.get_style_context ().add_provider (provider, 1);
| ^~~~~~~~~~~~~~~~~~~~~
../notejot/src/Widgets/NoteRowContent.vala:59.17-59.39: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
59 | provider.load_from_data ((uint8[]) "@define-color note_color @muon_green;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Widgets/NoteRowContent.vala:62.17-62.37: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
62 | box.get_style_context ().add_provider (provider, 1);
| ^~~~~~~~~~~~~~~~~~~~~
../notejot/src/Widgets/NoteRowContent.vala:64.17-64.39: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
64 | provider.load_from_data ((uint8[]) "@define-color note_color @proton_blue;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Widgets/NoteRowContent.vala:67.17-67.37: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
67 | box.get_style_context ().add_provider (provider, 1);
| ^~~~~~~~~~~~~~~~~~~~~
../notejot/src/Widgets/NoteRowContent.vala:69.17-69.39: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
69 | provider.load_from_data ((uint8[]) "@define-color note_color @tau_purple;");
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Widgets/NoteRowContent.vala:72.17-72.37: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
72 | box.get_style_context ().add_provider (provider, 1);
| ^~~~~~~~~~~~~~~~~~~~~
../notejot/src/Widgets/NoteRowContent.vala:123.9-123.29: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
123 | box.get_style_context ().add_provider (provider, 1);
| ^~~~~~~~~~~~~~~~~~~~~
../notejot/src/Widgets/TrashRowContent.vala:39.13-39.35: warning: `Gtk.CssProvider.load_from_data' has been deprecated since 4.12
39 | provider.load_from_data ((uint8[]) "@define-color note_color %s;".printf (_trash.color));
| ^~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Widgets/TrashRowContent.vala:42.13-42.37: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
42 | row_box.get_style_context ().add_provider (provider, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Widgets/TrashRowContent.vala:72.9-72.33: warning: `Gtk.Widget.get_style_context' has been deprecated since 4.10
72 | row_box.get_style_context ().add_provider (provider, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/MainWindow.vala:21.5-21.50: error: UI resource not found: `/io/github/lainsce/Notejot/main_window.ui'. Please make sure to specify the proper GResources xml files with --gresources and alternative search locations with --gresourcesdir.
21 | public class MainWindow : He.ApplicationWindow {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NoteListView.vala:20.1-20.42: error: UI resource not found: `/io/github/lainsce/Notejot/notelistview.ui'. Please make sure to specify the proper GResources xml files with --gresources and alternative search locations with --gresourcesdir.
20 | public class Notejot.NoteListView : He.Bin {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../notejot/src/Views/NotebookMainListView.vala:20.1-20.50: error: UI resource not found: `/io/github/lainsce/Notejot/notebookmainlistview.ui'. Please make sure to specify the proper GResources xml files with --gresources and alternative search locations with --gresourcesdir.
20 | public class Notejot.NotebookMainListView : He.Bin {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compilation failed: 3 error(s), 68 warning(s)
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /build/notejot-git/src/build
The text was updated successfully, but these errors were encountered:
The last commit from a couple weeks ago (c7a7866) deleted the blp files without restoring the ui files, as the commit log suggests was the intent. I'm having difficulty finding any working commit besides a patched 3.5.1 (#395).
I don't know anything about vala. Trying to build the latest commit (c7a7866). Using Arch Linux. I think the relevent errors are:
Here's the full build log.
The text was updated successfully, but these errors were encountered: