-
Notifications
You must be signed in to change notification settings - Fork 7
Description
OS: Fedora 34
build fails with error as follow:-
$ meson configure -Dprefix=/usr
$ ninja
[0/1] Regenerating build files.
The Meson build system
Version: 0.56.2
Source dir: /home/reuben/Downloads/Programs/wallpaperize-1.2.8
Build dir: /home/reuben/Downloads/Programs/wallpaperize-1.2.8/build
Build type: native build
Project name: com.github.philip-scott.wallpaperize
Project version: 0.2.0
C compiler for the host machine: cc (gcc 11.1.1 "cc (GCC) 11.1.1 20210531 (Red Hat 11.1.1-3)")
C linker for the host machine: cc ld.bfd 2.35.1-41
Vala compiler for the host machine: valac (valac 0.48.17)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Configuring config.h using configuration
Dependency glib-2.0 found: YES 2.68.2 (cached)
Dependency gobject-2.0 found: YES 2.68.2 (cached)
Dependency gtk+-3.0 found: YES 3.24.29 (cached)
Dependency granite found: YES 6.0.0 (cached)
Build targets in project: 1
Found ninja-1.10.2 at /usr/bin/ninja
[1/5] Compiling Vala source ../src/Ap.../Wallpaperize.vala ../src/Window.vala
FAILED: com.github.philip-scott.wallpaperize.p/src/Application.c com.github.philip-scott.wallpaperize.p/src/Wallpaperize.c com.github.philip-scott.wallpaperize.p/src/Window.c
valac -C --debug --debug --pkg granite --pkg gtk+-3.0 --pkg gobject-2.0 --pkg glib-2.0 --color=always --directory com.github.philip-scott.wallpaperize.p --basedir ../ ../src/Application.vala ../src/Wallpaperize.vala ../src/Window.vala
../src/Wallpaperize.vala:27.31-27.56: warning: Gdk.Screen.get_primary_monitor' has been deprecated since 3.22 ../src/Wallpaperize.vala:29.9-29.35: warning: Gdk.Screen.get_monitor_geometry' has been deprecated since 3.22
../src/Wallpaperize.vala:31.29-31.59: warning: Gdk.Screen.get_monitor_scale_factor' has been deprecated since 3.22 ../src/Window.vala:48.3-48.19: error: Property Wallpaperize.Window.file' with custom get' accessor and/or set' mutator cannot have default' value public File? file { ^^^^^^^^^^^^^^^^^ ../src/Window.vala:78.5-78.48: warning: Granite.Widgets.Utils.set_theming_for_screen' has been deprecated since 5.5.0. Use Gtk.StyleContext.add_provider_for_screen
../src/Application.vala:31.9-31.17: warning: Granite.Application.app_years' has been deprecated since 0.4.2. Use ../src/Application.vala:36.9-36.16: warning: Granite.Application.app_icon' has been deprecated since 0.4.2. Use
../src/Application.vala:37.9-37.16: warning: Granite.Application.main_url' has been deprecated since 0.4.2. Use ../src/Application.vala:38.9-38.15: warning: Granite.Application.bug_url' has been deprecated since 0.4.2. Use
../src/Application.vala:39.9-39.16: warning: Granite.Application.help_url' has been deprecated since 0.4.2. Use ../src/Application.vala:40.9-40.21: warning: Granite.Application.translate_url' has been deprecated since 0.4.2. Use
../src/Application.vala:41.9-41.21: warning: Granite.Application.about_authors' has been deprecated since 0.4.2. Use ../src/Application.vala:42.9-42.25: warning: Granite.Application.about_translators' has been deprecated since 0.4.2. Use
../src/Application.vala:44.9-44.26: warning: `Granite.Application.about_license_type' has been deprecated since 0.4.2. Use
Compilation failed: 1 error(s), 13 warning(s)
ninja: build stopped: subcommand failed.