Package Details: wayfarer-git 1.1.0.r0.b77ac60-3

Git Clone URL: https://aur.archlinux.org/wayfarer-git.git (read-only, click to copy)
Package Base: wayfarer-git
Description: Screen recorder for GNOME / Wayland or X11 / Pipewire / XDG Portal
Upstream URL: https://github.com/stronnag/wayfarer.git
Licenses: GPL3
Conflicts: wayfarer
Provides: wayfarer
Submitter: stronnag
Maintainer: stronnag
Last Packager: stronnag
Votes: 0
Popularity: 0.000000
First Submitted: 2021-05-17 17:28 (UTC)
Last Updated: 2023-03-15 20:44 (UTC)

Latest Comments

1 2 Next › Last »

bkb commented on 2023-08-10 13:42 (UTC)

Make aur/wayfarer-git-bin or aur/wayfarer-bin

dreieck commented on 2023-05-12 12:20 (UTC)

The solution to the error that makes blueprint-compiler failing is that the package python-argparse must not be installed. See ↗ here.

dreieck commented on 2023-05-07 10:52 (UTC)

Can you please remove .git from $url? (But in source it needs to stay.)

Thanks for maintaining!

dreieck commented on 2023-04-28 08:59 (UTC) (edited on 2023-04-28 08:59 (UTC) by dreieck)

@somepaulo, I replaced the make dependency blueprint-compiler explicitly with blueprint-compiler-git, but now I get the following error:

[2/21] Generating data/blueprints with a custom command
usage: blueprint-compiler [-h] [--version] command ...

positional arguments:
  command
    compile      Compile blueprint files
    batch-compile
                 Compile many blueprint files at once
    port         Interactive porting tool
    lsp          Run the language server (for internal use by IDEs)
    help         Show this message

optional arguments:
  -h, --help     show this help message and exit
  --version      show program's version number and exit
[3/21] Generating data/w-resources_c with a custom command
FAILED: data/w-resources.c 
/usr/bin/glib-compile-resources ../data/wayfarer.gresource.xml --sourcedir ../data/data --sourcedir data --sourcedir ../data --c-name w --internal --generate --target data/w-resources.c --dependency-file data/w-resources.c.d
../data/wayfarer.gresource.xml: Failed to locate “wayfarer.ui” in any source directory.
[4/21] Generating data/w-resources_h with a custom command
FAILED: data/w-resources.h 
/usr/bin/glib-compile-resources ../data/wayfarer.gresource.xml --sourcedir ../data/data --sourcedir data --sourcedir ../data --c-name w --internal --generate --target data/w-resources.h
../data/wayfarer.gresource.xml: Failed to locate “wayfarer.ui” in any source directory.
[6/21] Compiling Vala source ../src/gst-recording.vala ../src/recman.vala ../...selection.vala ../src/pipeline.vala ../src/encoders.vala ../src/settings.vala
ninja: build stopped: subcommand failed.

Seems that blueprint-compiler is called incorrectly.

Regards!

somepaulo commented on 2023-04-05 09:42 (UTC) (edited on 2023-04-05 09:44 (UTC) by somepaulo)

If you get the error below, mentioned by @dreieck , try replacing 'blueprint-compiler' with 'blueprint-compiler-git'. It solved a similar issue I was having with dialect and converter.

dreieck commented on 2023-03-16 10:35 (UTC) (edited on 2023-03-16 10:37 (UTC) by dreieck)

It seems that python-gobject needs to be a (make)dependency.

Btw., I have the

[2/15] Generating data/w-resources_c with a custom command
FAILED: data/w-resources.c

error back, after I have uninstalled unecessary packages.

Looks like some other make dependency is missing(?).

TrialnError commented on 2023-03-15 19:49 (UTC)

There seems to be some missing dep?

[1/21] Generating data/blueprints with a custom command
FAILED: data 
/tmp/makepkg/wayfarer-git/src/wayfarer/build/subprojects/blueprint-compiler/blueprint-compiler batch-compile data/. ../data ../data/wayfarer.blp
Traceback (most recent call last):
  File "/tmp/makepkg/wayfarer-git/src/wayfarer/build/subprojects/blueprint-compiler/blueprint-compiler", line 37, in <module>
    from blueprintcompiler import main
  File "/tmp/makepkg/wayfarer-git/src/wayfarer/subprojects/blueprint-compiler/blueprintcompiler/main.py", line 25, in <module>
    from .lsp import LanguageServer
  File "/tmp/makepkg/wayfarer-git/src/wayfarer/subprojects/blueprint-compiler/blueprintcompiler/lsp.py", line 24, in <module>
    from .completions import complete
  File "/tmp/makepkg/wayfarer-git/src/wayfarer/subprojects/blueprint-compiler/blueprintcompiler/completions.py", line 22, in <module>
    from . import gir, language
  File "/tmp/makepkg/wayfarer-git/src/wayfarer/subprojects/blueprint-compiler/blueprintcompiler/gir.py", line 24, in <module>
    import gi  # type: ignore
ModuleNotFoundError: No module named 'gi'

dreieck commented on 2023-03-15 08:47 (UTC) (edited on 2023-03-15 08:48 (UTC) by dreieck)

As a suggestion:

For this git code, there is an official version available:

wayfarer --version shows 1.1.0

So, according to the VCS packaging guidelines, I recommend prepending this to the $pkgver. git describe --tags seems to also reproduce this version, so it can be retrieved directly via git without parsing meson.build or any other source file.

Then, you also can add =${pkgver} to the provides-entry.

So that pkgver() could look (for example) like this:

pkgver() {
  cd "${srcdir}/${_pkgname}"

  _ver="$(git describe --tags | sed -E -e 's|^[vV]||' -e 's|\-g[0-9a-f]*$||' | tr '-' '+')"
  _rev="$(git rev-list --count HEAD)"
  _date="$(git log -1 --date=format:"%Y%m%d" --format="%ad")"
  _hash="$(git rev-parse --short HEAD)"

  if [ -z "${_ver}" ]; then
    error "Could not determine version."
    return 1
  else
    printf '%s' "${_ver}.r${_rev}.${_date}.${_hash}"
  fi
}

which currently produces 1.1.0.r72.20230304.b77ac60. (Of course, the date and git hash are optional information, and the additional parsing after git describe --tags is some generic code to strip off or reformat "garbage" that often appears (not in your case at the moment, but who knows how upstream changes stuff?).)

dreieck commented on 2023-03-15 08:39 (UTC)

Reply to your comment

Thanks, but can I please see all the output of the aurhelp session?

Now it builds again.

Maybe upstream has fixed some stuff?

Regards!