Re: [Shotwell] Help to compile



Hello Jens:    :-)


I set a custom folder to install.

$ meson build --prefix=/home/user/shotwell_test

Build work fine, but install fail


± |master ✓| → ninja -C build install
ninja: Entering directory `build'
[1/2] Installing files.
Installing subdir /home/user/alboio/dev/shotwell/data/icons/hicolor/16x16 to /home/user/shotwell_test/share/icons/hicolor/16x16
Installing /home/user/alboio/dev/shotwell/data/icons/hicolor/16x16/apps/org.gnome.Shotwell.png to /home/user/shotwell_test/share/icons/hicolor/16x16/apps
Installing subdir /home/user/alboio/dev/shotwell/data/icons/hicolor/22x22 to /home/user/shotwell_test/share/icons/hicolor/22x22
Installing /home/user/alboio/dev/shotwell/data/icons/hicolor/22x22/apps/org.gnome.Shotwell.png to /home/user/shotwell_test/share/icons/hicolor/22x22/apps
Installing subdir /home/user/alboio/dev/shotwell/data/icons/hicolor/24x24 to /home/user/shotwell_test/share/icons/hicolor/24x24
Installing /home/user/alboio/dev/shotwell/data/icons/hicolor/24x24/apps/org.gnome.Shotwell.png to /home/user/shotwell_test/share/icons/hicolor/24x24/apps
Installing subdir /home/user/alboio/dev/shotwell/data/icons/hicolor/32x32 to /home/user/shotwell_test/share/icons/hicolor/32x32
Installing /home/user/alboio/dev/shotwell/data/icons/hicolor/32x32/apps/org.gnome.Shotwell.png to /home/user/shotwell_test/share/icons/hicolor/32x32/apps
Installing subdir /home/user/alboio/dev/shotwell/data/icons/hicolor/48x48 to /home/user/shotwell_test/share/icons/hicolor/48x48
Installing /home/user/alboio/dev/shotwell/data/icons/hicolor/48x48/apps/org.gnome.Shotwell.png to /home/user/shotwell_test/share/icons/hicolor/48x48/apps
Installing subdir /home/user/alboio/dev/shotwell/data/icons/hicolor/256x256 to /home/user/shotwell_test/share/icons/hicolor/256x256
Installing /home/user/alboio/dev/shotwell/data/icons/hicolor/256x256/apps/org.gnome.Shotwell.png to /home/user/shotwell_test/share/icons/hicolor/256x256/apps
Installing subdir /home/user/alboio/dev/shotwell/data/icons/hicolor/symbolic to /home/user/shotwell_test/share/icons/hicolor/symbolic
Installing /home/user/alboio/dev/shotwell/data/icons/hicolor/symbolic/apps/org.gnome.Shotwell-symbolic.svg to /home/user/shotwell_test/share/icons/hicolor/symbolic/apps
Installing data/org.gnome.Shotwell.appdata.xml to /home/user/shotwell_test/share/metainfo
Installing data/org.gnome.Shotwell.desktop to /home/user/shotwell_test/share/applications
Installing data/org.gnome.Shotwell-Viewer.desktop to /home/user/shotwell_test/share/applications
Installing src/plugins/libshotwell-plugin-dev-1.0.so.0.31.1 to /home/user/shotwell_test/lib/x86_64-linux-gnu
Installing src/shotwell to /home/user/shotwell_test/bin
Installing plugins/libshotwell-plugin-common.so.0.31.1 to /home/user/shotwell_test/lib/x86_64-linux-gnu
Installing plugins/authenticator/shotwell/libshotwell-authenticator.so.0.31.1 to /home/user/shotwell_test/lib/x86_64-linux-gnu
Installing plugins/shotwell-publishing/libshotwell-publishing.so to /home/user/shotwell_test/lib/x86_64-linux-gnu/shotwell/plugins/builtin
Installing plugins/shotwell-publishing-extras/libshotwell-publishing-extras.so to /home/user/shotwell_test/lib/x86_64-linux-gnu/shotwell/plugins/builtin
Installing plugins/shotwell-transitions/libshotwell-transitions.so to /home/user/shotwell_test/lib/x86_64-linux-gnu/shotwell/plugins/builtin
Installing thumbnailer/shotwell-video-thumbnailer to /home/user/shotwell_test/libexec/shotwell
Installing /home/user/alboio/dev/shotwell/help/shotwell.1 to /home/user/shotwell_test/share/man/man1
Installing /home/user/alboio/dev/shotwell/data/apport/shotwell.py to /home/user/shotwell_test/share/apport/package-hooks
Installing /home/user/alboio/dev/shotwell/data/gsettings/org.yorba.shotwell-extras.gschema.xml to /home/user/shotwell_test/share/glib-2.0/schemas
Installing /home/user/alboio/dev/shotwell/data/gsettings/org.yorba.shotwell.gschema.xml to /home/user/shotwell_test/share/glib-2.0/schemas
Running custom install script '/usr/bin/meson --internal gettext install --subdir=po --localedir=share/locale --pkgname=shotwell'
Installing /home/user/alboio/dev/shotwell/build/po/af.gmo to /home/user/shotwell_test/share/locale/af/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/ar.gmo to /home/user/shotwell_test/share/locale/ar/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/as.gmo to /home/user/shotwell_test/share/locale/as/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/ast.gmo to /home/user/shotwell_test/share/locale/ast/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/bg.gmo to /home/user/shotwell_test/share/locale/bg/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/bn.gmo to /home/user/shotwell_test/share/locale/bn/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/bn_IN.gmo to /home/user/shotwell_test/share/locale/bn_IN/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/bs.gmo to /home/user/shotwell_test/share/locale/bs/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/ca.gmo to /home/user/shotwell_test/share/locale/ca/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/cs.gmo to /home/user/shotwell_test/share/locale/cs/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/da.gmo to /home/user/shotwell_test/share/locale/da/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/de.gmo to /home/user/shotwell_test/share/locale/de/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/el.gmo to /home/user/shotwell_test/share/locale/el/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/en_GB.gmo to /home/user/shotwell_test/share/locale/en_GB/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/eo.gmo to /home/user/shotwell_test/share/locale/eo/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/es.gmo to /home/user/shotwell_test/share/locale/es/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/et.gmo to /home/user/shotwell_test/share/locale/et/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/eu.gmo to /home/user/shotwell_test/share/locale/eu/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/fi.gmo to /home/user/shotwell_test/share/locale/fi/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/fr.gmo to /home/user/shotwell_test/share/locale/fr/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/gd.gmo to /home/user/shotwell_test/share/locale/gd/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/gl.gmo to /home/user/shotwell_test/share/locale/gl/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/gu.gmo to /home/user/shotwell_test/share/locale/gu/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/he.gmo to /home/user/shotwell_test/share/locale/he/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/hi.gmo to /home/user/shotwell_test/share/locale/hi/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/hr.gmo to /home/user/shotwell_test/share/locale/hr/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/hu.gmo to /home/user/shotwell_test/share/locale/hu/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/ia.gmo to /home/user/shotwell_test/share/locale/ia/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/id.gmo to /home/user/shotwell_test/share/locale/id/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/it.gmo to /home/user/shotwell_test/share/locale/it/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/ja.gmo to /home/user/shotwell_test/share/locale/ja/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/kk.gmo to /home/user/shotwell_test/share/locale/kk/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/km.gmo to /home/user/shotwell_test/share/locale/km/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/kn.gmo to /home/user/shotwell_test/share/locale/kn/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/ko.gmo to /home/user/shotwell_test/share/locale/ko/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/ky.gmo to /home/user/shotwell_test/share/locale/ky/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/lt.gmo to /home/user/shotwell_test/share/locale/lt/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/lv.gmo to /home/user/shotwell_test/share/locale/lv/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/mjw.gmo to /home/user/shotwell_test/share/locale/mjw/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/mk.gmo to /home/user/shotwell_test/share/locale/mk/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/ml.gmo to /home/user/shotwell_test/share/locale/ml/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/mr.gmo to /home/user/shotwell_test/share/locale/mr/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/nb.gmo to /home/user/shotwell_test/share/locale/nb/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/nl.gmo to /home/user/shotwell_test/share/locale/nl/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/nn.gmo to /home/user/shotwell_test/share/locale/nn/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/oc.gmo to /home/user/shotwell_test/share/locale/oc/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/or.gmo to /home/user/shotwell_test/share/locale/or/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/pa.gmo to /home/user/shotwell_test/share/locale/pa/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/pl.gmo to /home/user/shotwell_test/share/locale/pl/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/pt.gmo to /home/user/shotwell_test/share/locale/pt/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/pt_BR.gmo to /home/user/shotwell_test/share/locale/pt_BR/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/ro.gmo to /home/user/shotwell_test/share/locale/ro/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/ru.gmo to /home/user/shotwell_test/share/locale/ru/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/sk.gmo to /home/user/shotwell_test/share/locale/sk/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/sl.gmo to /home/user/shotwell_test/share/locale/sl/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/sr.gmo to /home/user/shotwell_test/share/locale/sr/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/sr latin gmo to /home/user/shotwell_test/share/locale/sr@latin/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/sv.gmo to /home/user/shotwell_test/share/locale/sv/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/ta.gmo to /home/user/shotwell_test/share/locale/ta/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/te.gmo to /home/user/shotwell_test/share/locale/te/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/th.gmo to /home/user/shotwell_test/share/locale/th/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/tr.gmo to /home/user/shotwell_test/share/locale/tr/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/uk.gmo to /home/user/shotwell_test/share/locale/uk/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/vi.gmo to /home/user/shotwell_test/share/locale/vi/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/zh_CN.gmo to /home/user/shotwell_test/share/locale/zh_CN/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/zh_HK.gmo to /home/user/shotwell_test/share/locale/zh_HK/LC_MESSAGES/shotwell.mo
Installing /home/user/alboio/dev/shotwell/build/po/zh_TW.gmo to /home/user/shotwell_test/share/locale/zh_TW/LC_MESSAGES/shotwell.mo
Running custom install script '/usr/bin/meson --internal yelphelper install --subdir=help --id=shotwell --installdir=share/help --sources=edit-adjustments.page@@edit-crop.page@@edit-date-time.page@@edit-enhance.page@@edit-external.page@@edit-nondestructive.page@@edit-redeye.page@@edit-rotate.page@@edit-straighten.page@@edit-undo.page@@formats.page@@google-policy.page@@import-camera.page@@import-file.page@@import-memorycard.page@@index.page@@organize-event.page@@organize-flag.page@@organize-rating.page@@organize-remove.page@@organize-search.page@@organize-tag.page@@organize-title.page@@other-files.page@@other-missing.page@@other-multiple.page@@other-plugins.page@@raw.page@@running.page@@share-background.page@@share-export.page@@share-print.page@@share-send.page@@share-slideshow.page@@share-upload.page@@view-displaying.page@@view-information.page@@view-sidebar.page --symlinks=true --media=figures/edit_toolbar.png@@figures/editing_overview.png@@figures/shotwell_logo.png@@figures/crop_thirds.jpg@@figures/trash_process.png'
Traceback (most recent call last):
  File "/usr/bin/meson", line 20, in <module>
    sys.exit(mesonmain.main())
  File "/usr/lib/python3/dist-packages/mesonbuild/mesonmain.py", line 226, in main
    return run(sys.argv[1:], launcher)
  File "/usr/lib/python3/dist-packages/mesonbuild/mesonmain.py", line 215, in run
    return run_script_command(args[1], args[2:])
  File "/usr/lib/python3/dist-packages/mesonbuild/mesonmain.py", line 163, in run_script_command
    return module.run(script_args)
  File "/usr/lib/python3/dist-packages/mesonbuild/scripts/yelphelper.py", line 130, in run
    merge_translations(build_subdir, abs_sources, langs)
  File "/usr/lib/python3/dist-packages/mesonbuild/scripts/yelphelper.py", line 57, in merge_translations
    subprocess.call([
  File "/usr/lib/python3.8/subprocess.py", line 340, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib/python3.8/subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'itstool'
FAILED: meson-install
/usr/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.

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

------------
Very thanks!!

Dani
O 27/03/20 ás 08:31, Jens Georg escribiu:

      
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
Interesting. I'm surprised that it actually compiles.

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
You need to run ninja -C build data/gsettings/gschemas.compiled - this
is missing from the documentation, sorry. I will update them.



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/
It should work like this. What issue do you see?


_______________________________________________
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]