Package Details: switcheroo-gtk4 2.1.0-2

Git Clone URL: https://aur.archlinux.org/switcheroo-gtk4.git (read-only, click to copy)
Package Base: switcheroo-gtk4
Description: Convert and manipulate images
Upstream URL: https://gitlab.com/adhami3310/Switcheroo
Keywords: adwaita cargo convert converter gtk gtk4 images libadwaita rust
Licenses: GPL-3.0-only
Submitter: begin-theadventu
Maintainer: begin-theadventu
Last Packager: begin-theadventu
Votes: 8
Popularity: 0.94
First Submitted: 2024-03-18 13:52 (UTC)
Last Updated: 2024-03-29 23:14 (UTC)

Latest Comments

1 2 Next › Last »

begin-theadventu commented on 2024-03-22 14:45 (UTC)

@wezm Whoops, thanks!

wezm commented on 2024-03-22 13:31 (UTC)

@begin-theadventu you need to update your stable compiler: rustup update stable you have some version older than 1.75, current stable version is 1.77.

begin-theadventu commented on 2024-03-22 13:21 (UTC) (edited on 2024-03-22 13:21 (UTC) by begin-theadventu)

@wezm Fails with rustup

error: package `ashpd v0.8.0` cannot be built because it requires rustc 1.75 or newer, while the currently active rustc version is 1.73.0
Either upgrade to rustc 1.75 or newer, or use
cargo update -p ashpd@0.8.0 --precise ver
where `ver` is the latest version of `ashpd` supporting rustc 1.73.0

wezm commented on 2024-03-21 22:24 (UTC)

The PKGBUILD uses Rust nightly but it builds fine with stable Rust. Suggest applying this patch https://gist.github.com/wezm/036c45984bb7a806e2af5db7c6134b41

begin-theadventu commented on 2024-03-18 14:08 (UTC) (edited on 2024-03-19 19:39 (UTC) by begin-theadventu)

I created a new package and uploaded it as switcheroo-gtk4, with "-gtk4" because there's an older project with that name, and it's also on the AUR.

So uninstall this package and install the new one.

Edit: Merge request from converter to this package has been accepted.

torculus commented on 2024-02-15 15:24 (UTC)

Upstream changed the package name to https://gitlab.com/adhami3310/Switcheroo, and it's now at version 2.0.1

gnacho commented on 2023-06-17 21:27 (UTC) (edited on 2023-06-17 21:28 (UTC) by gnacho)

Same issue here @gurami.

This fixed it:

pacman -Sy pkgconf

quadratz commented on 2023-05-23 02:03 (UTC)

v1.6.0-1 fails to build:

==> Starting build()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true converter build
The Meson build system
Version: 1.1.0
Source dir: /home/user/.cache/yay/converter/src/converter
Build dir: /home/user/.cache/yay/converter/src/build
Build type: native build
Project name: converter
Project version: 1.6.0

converter/meson.build:1:0: ERROR: Unknown compiler(s): [['rustc']]

A full log can be found at /home/user/.cache/yay/converter/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: converter-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
converter - exit status 4

dreieck commented on 2023-04-24 08:03 (UTC)

I have explicitly installed blueprint-compiler-git but I still get the following build error:

WARNING: Deprecated features used:
 * 0.55.0: {'ExternalProgram.path'}

converter 1.5.2

  User defined options
    auto_features: enabled
    buildtype    : plain
    libexecdir   : lib
    prefix       : /usr
    sbindir      : bin
    wrap_mode    : nodownload
    b_lto        : true
    b_pie        : true

Found ninja-1.11.1 at /usr/bin/ninja
INFO: autodetecting backend as ninja                                                                
INFO: calculating backend command to run: /usr/bin/ninja -C /tmp/makepkg/build/converter/src/build
ninja: Entering directory `/tmp/makepkg/build/converter/src/build'
[13/14] Generating converter/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
[14/14] Generating converter/converter_gresource with a custom command
FAILED: converter/converter.gresource 
/usr/bin/glib-compile-resources ../converter/converter/converter.gresource.xml --sourcedir converter --sourcedir ../converter/converter --internal --generate --target converter/converter.gresource --dependency-file converter/converter.gresource.d
../converter/converter/converter.gresource.xml: Failed to locate “gtk/window.ui” in any source directory.
ninja: build stopped: subcommand failed.

Regards!

somepaulo commented on 2023-04-05 09:17 (UTC)

The failed build is caused by blueprint-compiler. Installing blueprint-compiler-git instead solves this.