One of the deps is not found: E: Couldn't find any package by regex 'gtk-3.0-25-dev'
.
It is probably one of those two, I assume the 2nd.
libwebkit2gtk-3.0-25 - WebKit2 API layer for WebKitGTK+
libwebkit2gtk-3.0-dev - WebKit2 API layer for WebKitGTK+ - development files
When calling cmake I get:
cmake -DCMAKE_INSTALL_PREFIX=/usr ../
-- checking for modules 'granite>=0.3;gtksourceview-3.0>=3.10;gthread-2.0;gtk+-3.0>=3.9.10'
-- package 'granite>=0.3' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:283 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:337 (_pkg_check_modules_internal)
CMakeLists.txt:39 (pkg_check_modules)
-- checking for modules 'granite>=0.3;gee-0.8;gtksourceview-3.0;gtk+-3.0;webkit2gtk-4.0;discount'
-- package 'granite>=0.3' not found
-- package 'gee-0.8' not found
-- package 'webkit2gtk-4.0' not found
-- package 'discount' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:283 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:337 (_pkg_check_modules_internal)
CMakeLists.txt:64 (pkg_check_modules)
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find Vala (missing: VALA_EXECUTABLE)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
cmake/FindVala.cmake:55 (find_package_handle_standard_args)
CMakeLists.txt:81 (find_package)
-- Configuring incomplete, errors occurred!
Now there are a few possible deps that could fit:
libgranite0 - extension of GTK+ libraries
libgranite-dev - extension of GTK+ libraries (development files)
libgranite-common - extension of GTK+ libraries (common files)
libgranite2 - extension of GTK+ libraries
libgranite3 - extension of GTK+ libraries
libgranite-dev
made it.
Now vala is Missing:
cmake -DCMAKE_INSTALL_PREFIX=/usr ../
-- checking for modules 'granite>=0.3;gtksourceview-3.0>=3.10;gthread-2.0;gtk+-3.0>=3.9.10'
-- found granite, version 0.3.1
-- found gtksourceview-3.0, version 3.14.4
-- found gthread-2.0, version 2.42.2
-- found gtk+-3.0, version 3.14.15
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find Vala (missing: VALA_EXECUTABLE)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
cmake/FindVala.cmake:55 (find_package_handle_standard_args)
CMakeLists.txt:81 (find_package)
-- Configuring incomplete, errors occurred!
There are tons of vala packages, but I installed valac
and cmake finished fine.
So the final deps are:
sudo apt-get install libwebkit2gtk-3.0-dev libgtk-3-dev libgtksourceview-3.0-dev libgranite-dev valac
Now I ran make
and tried to start notes-up
and get the following error (using the latest git):
./notes-up
(Notes:5925): GLib-GIO-ERROR **: Settings schema 'org.notes' is not installed
Trace/breakpoint trap (core dumped)
I could not resolve this issue for now.
I tried glib-compile-schemas ../schemas/
. It gave me a gschemas.compiled
file, but that did not help.
I found the same file in /usr/share/glib-2.0/schemas/gschemas.compiled
so you probably have to place the xml to /usr/share/glib-2.0/schemas/
? But I guess there is something wrong with the cmake in this case.
This solved the issue, but is probably not the best solution:
sudo cp ../schemas/org.notes.gschema.xml /usr/share/glib-2.0/schemas/
sudo /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/
When starting the app I get the following errors:
./notes-up
(Notes:6483): GLib-CRITICAL **: g_strsplit: assertion 'string != NULL' failed
(Notes:6483): GLib-CRITICAL **: g_strsplit: assertion 'string != NULL' failed
** (Notes:6483): CRITICAL **: enotes_page_item_convert: assertion 'raw_content != NULL' failed
** (Notes:6483): CRITICAL **: enotes_page_item_convert: assertion 'raw_content != NULL' failed
(Notes:6483): GLib-CRITICAL **: g_strsplit: assertion 'string != NULL' failed
** (Notes:6483): CRITICAL **: enotes_page_item_convert: assertion 'raw_content != NULL' failed
** (Notes:6483): CRITICAL **: enotes_page_item_convert: assertion 'raw_content != NULL' failed
(Notes:6483): GLib-CRITICAL **: g_strsplit: assertion 'string != NULL' failed
(Notes:6483): Gtk-CRITICAL **: gtk_window_set_focus: assertion 'gtk_widget_get_can_focus (focus)' failed
Also I am wondering if notes-up would work with other distributions, especially for arch linux.