Package Details: gpick-git 0.2.6rc1.r84.gebee8a0-1

Git Clone URL: (read-only, click to copy)
Package Base: gpick-git
Description: Advanced color picker written in C++ using GTK+ toolkit
Upstream URL:
Licenses: BSD
Conflicts: gpick
Provides: gpick
Submitter: flipflop97
Maintainer: None
Last Packager: flipflop97
Votes: 1
Popularity: 0.000001
First Submitted: 2019-01-01 19:14
Last Updated: 2020-05-07 15:00

Latest Comments

actionless commented on 2020-10-09 00:31


diff --git a/PKGBUILD b/PKGBUILD
index 55e294f..6616483 100644
@@ -9,7 +9,7 @@ pkgdesc="Advanced color picker written in C++ using GTK+ toolkit"
 arch=(i686 x86_64 armv7h aarch64)
-depends=(boost-libs gtk3 lua)
+depends=(boost-libs gtk3 lua53)
 makedepends=(boost cmake ragel)
@@ -18,11 +18,12 @@ sha256sums=(SKIP)

 pkgver() {
     cd gpick
+    git checkout 5e2a63b7d0e9069f1bd485d2a112c1690575e454  # last known working version,
     git describe --long --tags | sed 's/^gpick-//;s/\([^-]*-g\)/r\1/;s/-/./g'

 build() {
-    mkdir build
+    mkdir -p build
     cd build
     cmake ../gpick -DCMAKE_INSTALL_PREFIX="/usr/"

huyizheng commented on 2020-05-08 07:20

Got the following error:

In file included from /usr/include/boost/endian/detail/endian_reverse.hpp:13,
                 from /usr/include/boost/endian/conversion.hpp:11,
                 from /home/abc/.cache/yay/gpick-git/src/gpick/source/dynv/Types.cpp:23:
/usr/include/boost/endian/conversion.hpp: In instantiation of 'constexpr EndianReversible boost::endian::little_to_native(EndianReversible) [with EndianReversible = float]':
/home/abc/.cache/yay/gpick-git/src/gpick/source/dynv/Types.cpp:183:46:   required from here
/usr/include/boost/endian/conversion.hpp:191:5: error: static assertion failed: detail::is_endian_reversible<EndianReversible>::value
  191 |     BOOST_STATIC_ASSERT( detail::is_endian_reversible<EndianReversible>::value );
      |     ^~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/gpick-dynv.dir/build.make:109: CMakeFiles/gpick-dynv.dir/source/dynv/Types.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:340: CMakeFiles/gpick-dynv.dir/all] Error 2
make: *** [Makefile:150: all] Error 2
==> ERROR: A failure occurred in build().