Package Details: flameshot-git r1938.fa29bcb4-1

Git Clone URL: https://aur.archlinux.org/flameshot-git.git (read-only, click to copy)
Package Base: flameshot-git
Description: Powerful yet simple to use screenshot software
Upstream URL: https://github.com/flameshot-org/flameshot
Keywords: screenshot
Licenses: GPL
Conflicts: flameshot
Provides: flameshot
Submitter: j1simon
Maintainer: mehrad (borgman_jeremy)
Last Packager: mehrad
Votes: 43
Popularity: 0.61
First Submitted: 2017-07-08 16:07 (UTC)
Last Updated: 2023-11-10 14:16 (UTC)

Dependencies (11)

Required by (4)

Sources (1)

Pinned Comments

GC268DM commented on 2022-05-29 10:40 (UTC)

What worked for me was

pamac checkupdates -a --devel
pamac upgrade -a --devel

Where -a stands for aur and --devel for development packages.

Since the --devel flag checks if behind the development packages (like "*-git" packages) there are any newer versions, it will update to the latest version of the package in git and not require and update on the aur listing

mehrad commented on 2022-01-19 10:26 (UTC) (edited on 2022-01-19 10:28 (UTC) by mehrad)

Please stop flagging this AUR as out-of-date unless you have tried these:

If you use a proper AUR helper (e.g paru, yay) this AUR will be use the latest commit of the Github repo. If you use pamac, it will not update based on the latest commit automatically and you should do pamac install --upgrade flameshot-git to force it to check for upgrades. Therefore, this AUR cannot become out-of-date unless the Github URL or dependencies get out of date.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

Kage-Yami commented on 2023-10-30 10:20 (UTC)

It appears that kguiaddons5 is a mandatory make dependency - attempting to build in a clean chroot with aurto fails. However, building with yay (when I've got kguiaddons5 already installed on my system) does succeed.

Full error from chroot build

CMake Warning at src/CMakeLists.txt:14 (find_package):
  By not providing "FindKF5GuiAddons.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "KF5GuiAddons", but CMake did not find one.

  Could not find a package configuration file provided by "KF5GuiAddons" with
  any of the following names:

    KF5GuiAddonsConfig.cmake
    kf5guiaddons-config.cmake

  Add the installation prefix of "KF5GuiAddons" to CMAKE_PREFIX_PATH or set
  "KF5GuiAddons_DIR" to a directory containing one of the above files.  If
  "KF5GuiAddons" provides a separate development package or SDK, be sure it
  has been installed.


Flameshot predefined color palette large: false
-- Found Git: /usr/bin/git (found version "2.42.0") 
git found: /usr/bin/git in version     2.42.0
FLAMESHOT_GIT_HASH: fa29bcb4
-- Configuring done (0.6s)
CMake Error at src/CMakeLists.txt:217 (target_link_libraries):
  Target "flameshot" links to:

    KF5::GuiAddons

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.



-- Generating done (0.0s)
CMake Generate step failed.  Build files cannot be regenerated correctly.

Rolv commented on 2023-10-26 13:01 (UTC) (edited on 2023-10-27 12:15 (UTC) by Rolv)

I'm also unable to get this package to build. Says I am missing kguiaddons but I checked and shouldn't the package be kguiaddons5?

EDIT: can confirm, after editing the PKGBUILD and changing kguiaddons to kguiaddons5, package builds and installs correctly.

For anyone else who wants to install, this worked for me: grab the PKGBUILD from the top right of this page under Package Actions and put it in a random, empty directory. Edit it and just add a 5 after kguiaddons. Then, in that directory run makepkg, then sudo pacman -U flameshot-git-r1938.fa29bcb4-1-x86_64.pkg.tar.zst

Vedun commented on 2023-10-05 05:49 (UTC)

The package is not being assembled.
Output in the terminal:

...
CMake Deprecation Warning at external/Qt-Color-Widgets/color_widgets_designer_plugin/CMakeLists.txt:17 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Warning at src/CMakeLists.txt:14 (find_package):
  By not providing "FindKF5GuiAddons.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "KF5GuiAddons", but CMake did not find one.

  Could not find a package configuration file provided by "KF5GuiAddons" with
  any of the following names:

    KF5GuiAddonsConfig.cmake
    kf5guiaddons-config.cmake

  Add the installation prefix of "KF5GuiAddons" to CMAKE_PREFIX_PATH or set
  "KF5GuiAddons_DIR" to a directory containing one of the above files.  If
  "KF5GuiAddons" provides a separate development package or SDK, be sure it
  has been installed.


Flameshot predefined color palette large: false
-- Found Git: /usr/bin/git (found version "2.42.0")
git found: /usr/bin/git in version     2.42.0
FLAMESHOT_GIT_HASH: ad390603
-- Configuring done (4.5s)
CMake Error at src/CMakeLists.txt:217 (target_link_libraries):
  Target "flameshot" links to:

    KF5::GuiAddons

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.
...

mehrad commented on 2023-07-03 08:13 (UTC)

@kyechou Please read the PKGBUILD: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=flameshot-git#n61

kyechou commented on 2023-07-03 06:14 (UTC)

Please add the missing dependency kguiaddons.

Maddix commented on 2023-02-18 03:50 (UTC) (edited on 2023-02-18 04:01 (UTC) by Maddix)

If flameshot reports an error when trying to take a screenshot on sway, try compiling with the following flag set.

-DUSE_WAYLAND_GRIM=true

See this issue as for why: https://github.com/flameshot-org/flameshot/pull/3018

hariseldon78 commented on 2023-01-11 15:05 (UTC) (edited on 2023-01-11 23:46 (UTC) by hariseldon78)

This is failing after the last update, my guess is that it allowed Qt library to update and now can't be started. This also happens with the non -git package.

 $  flameshot
Cannot mix incompatible Qt library (5.15.7) with this library (5.15.8)
Aborted (core dumped)

Edit: I found out this problem is caused by the qt5-styleplugins package that needs to be manually rebuilt at every qt5-base upgrade. And sadly can't be automated with a pacman hook because pacman hooks can't use pacman or yay or anything (!) because the lock will still be active when the hook is run. So frustrating...

GC268DM commented on 2022-05-29 10:40 (UTC)

What worked for me was

pamac checkupdates -a --devel
pamac upgrade -a --devel

Where -a stands for aur and --devel for development packages.

Since the --devel flag checks if behind the development packages (like "*-git" packages) there are any newer versions, it will update to the latest version of the package in git and not require and update on the aur listing

earlybird commented on 2022-02-16 10:52 (UTC) (edited on 2022-02-16 10:52 (UTC) by earlybird)

I can confirm that we need kguiaddons as dependency for the app to work - please change the pkgbuild as such

alwyns42 commented on 2022-02-15 18:02 (UTC)

kguiaddons appears to be required as a runtime dependency on my system, but in PKGBUILD it is only listed as a compile time dependency. Perhaps it needs to be added to depends?