You need to add conflicts=("tacentview")
.
Regards!,
and thanks for the clang fix.
Git Clone URL: | https://aur.archlinux.org/tacentview-git.git (read-only, click to copy) |
---|---|
Package Base: | tacentview-git |
Description: | An image and texture viewer for tga, png, apng, exr, dds, ktx, ktx2, astc, pkm, qoi, gif, hdr, jpg, tif, ico, webp, and bmp files. Uses Dear ImGui, OpenGL and Tacent. |
Upstream URL: | https://github.com/bluescan/tacentview |
Keywords: | apng astc bmp c++ dds exr gif hdr ico image image-viewer imgui jpg ktx ktx2 opengl picture pkm png qoi tacent texture texture-viewer tga tif tiff viewer webp |
Licenses: | ISC |
Conflicts: | tacentview |
Provides: | tacentview |
Submitter: | Frousties |
Maintainer: | Frousties |
Last Packager: | Frousties |
Votes: | 2 |
Popularity: | 0.001145 |
First Submitted: | 2022-10-31 13:17 (UTC) |
Last Updated: | 2024-09-08 21:54 (UTC) |
You need to add conflicts=("tacentview")
.
Regards!,
and thanks for the clang fix.
@dreieck it has been fixed The problem came from the supported compiler having changed from GCC to Clang
Build fails for me:
==> Starting build()...
ninja: Entering directory `build'
[122/136] Linking CXX executable _deps/tacent-build/Woboq/WoboqGen
FAILED: _deps/tacent-build/Woboq/WoboqGen
: && /usr/bin/c++ -O3 -DNDEBUG _deps/tacent-build/Woboq/CMakeFiles/WoboqGen.dir/Src/WoboqGen.cpp.o -o _deps/tacent-build/Woboq/WoboqGen _deps/tacent-build/Modules/Foundation/libFoundation.a _deps/tacent-build/Modules/Math/libMath.a _deps/tacent-build/Modules/System/libSystem.a -lm -lstdc++ _deps/tacent-build/Modules/Math/libMath.a _deps/tacent-build/Modules/Foundation/libFoundation.a && :
/usr/bin/ld: _deps/tacent-build/Modules/System/libSystem.a(tMachine.cpp.o): in function `tSystem::tGetXDGSingleEnvVar(tString&, tString const&, tString const&)':
tMachine.cpp:(.text+0x7ca): undefined reference to `tSystem::tPathStdDir(tString&)'
/usr/bin/ld: _deps/tacent-build/Modules/System/libSystem.a(tMachine.cpp.o): in function `tSystem::tGetXDGMultipleEnvVar(tList<tStringItem>&, tString const&, tString const&)':
tMachine.cpp:(.text+0x1519): undefined reference to `tSystem::tPathStdDir(tString&)'
collect2: error: ld returned 1 exit status
[133/136] Building CXX object CMakeFiles/tacentview.dir/Contrib/imgui/imgui.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Regards!
@begin-theadventu oh yeah that's absolutely right I think the reason I did it like that was that some files weren't built before if I didn't do this? Either it changed or I was just dumb
dpkg
is only needed for generating .deb
. The binary is generated without it, and the other files are in the source.
@dreieck many thanks for all the pointers! I've adapted the PKGBUILD with your pointers (and also updated the .SRCINFO got I forgot to do this for way too long)
And very sorry to @begin-theadventu, I completely missed you comment :(
I discovered some issues with ↗ package tacentview
, see the comments there.
I reworked it's PKGBUILD
to tackle those issues, thee ↗ this comment.
There might be suggestions for your package, tacentview-git
, too, in this.
Regards!
Please add provides=("tacentview=${pkgver}")
, conflicts=("tacentview")
.
And don't forget to increment $pkgrel
when you change the PKGBUILD
and there is not a version increase at the same time.
Regards and thanks for maintaining!
Now builds with GCC 13.2.1.
Pinned Comments
Frousties commented on 2022-10-31 13:21 (UTC)
This is my first package, please tell me if there's anything I should do to improve the PKGBUILD, thanks