Re: [Shotwell] Help to compile



Hello:

I downloaded the git version.

The Meson build system
Version: 0.53.2
Source dir: /home/user/dev/shotwell
Build dir: /home/user/dev/shotwell/build
Build type: native build
Project name: shotwell
Project version: 0.31.1
C compiler for the host machine: cc (gcc 9.3.0 "cc (Ubuntu 9.3.0-8ubuntu1) 9.3.0")
C linker for the host machine: cc ld.bfd 2.34
Vala compiler for the host machine: valac (valac 0.48.2)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Configuring config.h using configuration
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Run-time dependency gtk+-3.0 found: YES 3.24.14
Run-time dependency gio-2.0 found: YES 2.64.1
Run-time dependency gmodule-2.0 found: YES 2.64.1
Run-time dependency gio-unix-2.0 found: YES 2.64.1
Run-time dependency gee-0.8 found: YES 0.20.3
Run-time dependency webkit2gtk-4.0 found: YES 2.28.0
Run-time dependency libsoup-2.4 found: YES 2.69.90
Run-time dependency json-glib-1.0 found: YES 1.4.4
Run-time dependency libxml-2.0 found: YES 2.9.10
Run-time dependency gdk-3.0 found: YES 3.24.14
Run-time dependency gdk-pixbuf-2.0 found: YES 2.40.0
Run-time dependency sqlite3 found: YES 3.31.1
Run-time dependency gstreamer-1.0 found: YES 1.16.2
Run-time dependency gstreamer-pbutils-1.0 found: YES 1.16.2
Run-time dependency libgphoto2 found: YES 2.5.24
Run-time dependency gudev-1.0 found: YES 233
Run-time dependency gexiv2 found: YES 0.12.0
Run-time dependency libraw found: YES 0.19.5
Run-time dependency libexif found: YES 0.6.21
Run-time dependency unity found: YES 7.1.4
Run-time dependency champlain-0.12 found: YES 0.12.20
Run-time dependency champlain-gtk-0.12 found: YES 0.12.20
Run-time dependency clutter-1.0 found: YES 1.26.4
Run-time dependency clutter-gtk-1.0 found: YES 1.8.4
Found CMake: /usr/bin/cmake (3.16.3)
Run-time dependency libwebpdemux found: NO (tried pkgconfig and cmake)

meson.build:72:0: ERROR: Dependency "libwebpdemux" not found, tried pkgconfig and cmake

A full log can be found at /home/user/dev/shotwell/build/meson-logs/meson-log.txt


$ ninja -C build
ninja: Entering directory `build'
[1/312] Generating shotwell-resources_h with a custom command.
xml-stripblanks preprocessing requested, but XMLLINT is not set, and xmllint is not in PATH
[3/312] Generating shotwell-resources_c with a custom command.
xml-stripblanks preprocessing requested, but XMLLINT is not set, and xmllint is not in PATH
[82/312] Compiling Vala source ../src/unit/...hing/shotwell-internal-publishing-gui.vapi.
../src/util/file.vala:158.12-158.37: warning: GLib.FileInfo.get_modification_time has been deprecated since 2.62
../src/MediaMetadata.vala:63.28-63.34: warning: GLib.TimeVal has been deprecated since 2.62
../src/MediaMetadata.vala:81.28-81.34: warning: GLib.TimeVal has been deprecated since 2.62
../src/db/PhotoTable.vala:1137.29-1137.54: warning: GLib.FileInfo.get_modification_time has been deprecated since 2.62
../src/db/PhotoTable.vala:1144.29-1144.54: warning: GLib.FileInfo.get_modification_time has been deprecated since 2.62
../src/VideoSupport.vala:1166.38-1166.63: warning: GLib.FileInfo.get_modification_time has been deprecated since 2.62
../src/DirectoryMonitor.vala:293.34-293.60: warning: GLib.FileInfo.get_modification_time has been deprecated since 2.62
../src/DirectoryMonitor.vala:306.32-306.57: warning: GLib.FileInfo.get_modification_time has been deprecated since 2.62
../src/Photo.vala:643.29-643.54: warning: GLib.FileInfo.get_modification_time has been deprecated since 2.62
../src/VideoSupport.vala:122.29-122.54: warning: GLib.FileInfo.get_modification_time has been deprecated since 2.62
../src/Photo.vala:1188.29-1188.54: warning: GLib.FileInfo.get_modification_time has been deprecated since 2.62
../src/Photo.vala:1357.37-1357.62: warning: GLib.FileInfo.get_modification_time has been deprecated since 2.62
../src/Photo.vala:4010.33-4010.58: warning: GLib.FileInfo.get_modification_time has been deprecated since 2.62
../src/VideoSupport.vala:825.28-825.53: warning: GLib.FileInfo.get_modification_time has been deprecated since 2.62
../src/Photo.vala:1735.32-1735.57: warning: GLib.FileInfo.get_modification_time has been deprecated since 2.62
../src/Photo.vala:2293.29-2293.54: warning: GLib.FileInfo.get_modification_time has been deprecated since 2.62
../src/Dialogs.vala:221.9-221.15: warning: GLib.TimeVal has been deprecated since 2.62
../src/Photo.vala:1711.32-1711.57: warning: GLib.FileInfo.get_modification_time has been deprecated since 2.62
Compilation succeeded - 18 warning(s)
[312/312] Linking target src/shotwell.


py-foi elitebook in ~/dev/shotwell
------------------

But not work

~/dev/shotwell/build/src
± |master ✓| → ./shotwell

(shotwell:112301): GLib-GIO-ERROR **: 18:43:57.888: settings object created with schema 'org.yorba.shotwell.preferences.ui' and path '/org/yorba/shotwell/profiles/preferences/ui/', but path '/org/yorba/shotwell/preferences/ui/' is specified by schema



More, how I can configure to install in my user folder?

By default, Shotwell will install under /usr/local.  The configure script
      can customize the prefix directory.  Run meson build configure  for
      instructions and other installation options.

I test this (https://mesonbuild.com/Configuring-a-build-directory.html#page-description)
$ meson configure -Dprefix=$HOME/.local/



Very thanks.

Dani
O 26/03/20 ás 14:14, Jens Georg escribiu:
On Thu, 2020-03-26 at 13:47 +0100, Dani wrote:
Hello:

I'm trying to compile shotwell from ubuntu 20.04
My purpose is learning.
I downloaded source from:
https://flathub.org/repo/appstream/org.gnome.Shotwell.flatpakref
How exactly did you get the source code from there?

Could anyone help me with this error?
Do you know what it can be?
Yes, That's the vala version in ubuntu 20.04 which is more strict
combined with --fatal-warnings.

How exactly are you configuring Shotwell, i.e. what is your "meson"
command line?


_______________________________________________
shotwell-list mailing list
shotwell-list gnome org
https://mail.gnome.org/mailman/listinfo/shotwell-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]