Broke after I updated recently. Errors with "aseprite: error while loading shared libraries: libnettle.so.7: cannot open shared object file: No such file or directory", even if reinstalled.
Search Criteria
Package Details: aseprite 1.3.13-4
Package Actions
Git Clone URL: | https://aur.archlinux.org/aseprite.git (read-only, click to copy) |
---|---|
Package Base: | aseprite |
Description: | Create animated sprites and pixel art |
Upstream URL: | https://www.aseprite.org/ |
Keywords: | animation art aseprite editor gamedev image pixel sprites |
Licenses: | LicenseRef-Aseprite-EULA |
Submitter: | None |
Maintainer: | ImperatorStorm (ISSOtm) |
Last Packager: | ImperatorStorm |
Votes: | 127 |
Popularity: | 2.38 |
First Submitted: | 2011-11-01 17:40 (UTC) |
Last Updated: | 2025-03-30 15:09 (UTC) |
Dependencies (27)
- cmark (cmark-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libarchive.so (lib32-libarchive, libarchive)
- libcurl.so (curl-gitAUR, curl-c-aresAUR, curl, lib32-curl)
- libexpat.so (expat-gitAUR, expat, lib32-expat)
- libfmt.so (fmt-gitAUR, fmt9AUR, fmt10AUR, fmt)
- libfontconfig.so (fontconfig-gitAUR, fontconfig-ubuntuAUR, fontconfig, lib32-fontconfig)
- libfreetype.so (freetype2-macosAUR, freetype2-qdoledAUR, freetype2-gitAUR, freetype2-qdoled-aw3225qfAUR, freetype2, lib32-freetype2)
- libgif.so (giflib-gitAUR, giflib)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, nvidia-340xx-utilsAUR, amdgpu-pro-oglpAUR, libglvnd)
- libharfbuzz.so (lib32-harfbuzz-gitAUR, harfbuzz-gitAUR, harfbuzz, lib32-harfbuzz)
- libjpeg.so (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, lib32-mozjpeg-gitAUR, mozjpegAUR, jpegli-gitAUR, lib32-libjpeg-turbo, libjpeg-turbo)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libwebp.so (libwebp0.5AUR, lib32-libwebp, libwebp)
- libwebpdemux.so (libwebp0.5AUR, lib32-libwebp, libwebp)
- libwebpmux.so (libwebp0.5AUR, lib32-libwebp, libwebp)
- libxcursor
- tinyxml2 (tinyxml2-gitAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- clang (llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (make)
- Show 7 more dependencies...
Required by (1)
Sources (11)
Latest Comments
« First ‹ Previous 1 .. 12 13 14 15 16 17 18 19 20 21 22 .. 30 Next › Last »
k4rakara commented on 2020-05-11 19:23 (UTC)
rouhannb commented on 2020-05-01 02:43 (UTC)
I’m not sure what you mean when you say the package is using the latest commit. The source list clearly says “https://github.com/aseprite/aseprite/releases/download/v1.2.18/Aseprite-v1.2.18-Source.zip”. Have I misunderstood something?
Aseprite needs both the source and compiled versions of Skia, and unless I’m mistaken, it’s hardcoded to statically link it. What benefit could come out of separating the packages, especially since only Aseprite uses this particular fork of Skia?
shaybox commented on 2020-04-30 14:12 (UTC)
This is the aseprite package, it should be using the tagged release source files, not the the latest commit, that's what the -git package is for. It should also not be compiling dependencies like skia, those need to be split into a seperate package to be depended on.
rouhannb commented on 2020-04-13 01:37 (UTC)
I’ve just published that package under the name aseprite-skia-bin
. Thanks for the help with the PKGBUILD!
silverwyrda commented on 2020-04-12 18:18 (UTC)
Hi! It seems the author now provides the appropriate pre-built skia
library, which makes building aseprite
much quicker... You can find it here: https://github.com/aseprite/skia/releases. Would it be possible to support that (eventually in a different package)?
You probably don't need this but the relevant changes are the following (except I changed the -D order to match CMakeLists.txt
and removed the ones that are the same as defaults):
makedepends=('cmake' 'ninja' 'git' 'freeglut')
source=("https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname^}-v${pkgver}-Source.zip"
"https://github.com/${pkgname}/skia/releases/download/m81-b607b32047/Skia-Linux-Release-x64.zip"
"${pkgname}.desktop")
prepare() {
:
}
build() {
cd "${srcdir}"
# Build aseprite
cd "${srcdir}"
mkdir --parents --verbose build && cd build
cmake \
-DUSE_SHARED_CMARK=ON \
-DUSE_SHARED_CURL=ON \
-DUSE_SHARED_GIFLIB=ON \
-DUSE_SHARED_ZLIB=ON \
-DUSE_SHARED_LIBPNG=ON \
-DUSE_SHARED_TINYXML=ON \
-DUSE_SHARED_FREETYPE=ON \
-DUSE_SHARED_HARFBUZZ=ON \
-DENABLE_UPDATER=OFF \
-DLAF_BACKEND=skia \
-DSKIA_DIR="${srcdir}" \
-DSKIA_LIBRARY_DIR="${srcdir}/out/Release-x64" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-G Ninja \
..
ninja aseprite
}
Thanks!
rouhannb commented on 2020-04-12 17:01 (UTC)
The package you needed was harfbuzz-icu, not harfbuzz. I’ve updated the dependencies.
kronaemmanuel commented on 2020-04-12 10:45 (UTC)
I'm constantly getting this error. Any idea on how to solve this? I've even tried installing harfbuzz
separately but still the same error.
==> Starting build()...
Done. Made 60 targets from 43 files in 389ms
ninja: Entering directory `out/Release-x64'
[361/1593] compile ../../src/opts/SkOpts_sse41.cpp
In file included from ../../src/sksl/SkSLInterpreter.h:10,
from ../../src/opts/SkRasterPipeline_opts.h:13,
from ../../src/opts/SkOpts_sse41.cpp:12:
../../src/sksl/SkSLByteCode.h: In constructor ‘SkSL::ByteCode::Vector<width>::Vector(skvx::Vec<width, int>) [with int width = 8]’:
../../src/sksl/SkSLByteCode.h:91:9: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
91 | Vector(skvx::Vec<width, int32_t> i)
| ^~~~~~
[587/1593] ACTION //third_party/icu:make_data_assembly(//gn/toolchain:gcc_like)
Generated gen/third_party/icu/icudtl_dat.S
[779/1593] compile ../../src/core/SkOpts.cpp
In file included from ../../src/sksl/SkSLInterpreter.h:10,
from ../../src/opts/SkRasterPipeline_opts.h:13,
from ../../src/core/SkOpts.cpp:43:
../../src/sksl/SkSLByteCode.h: In constructor ‘SkSL::ByteCode::Vector<width>::Vector(skvx::Vec<width, int>) [with int width = 8]’:
../../src/sksl/SkSLByteCode.h:91:9: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
91 | Vector(skvx::Vec<width, int32_t> i)
| ^~~~~~
[1064/1593] compile ../../modules/particles/src/SkParticleEffect.cpp
In file included from ../../src/sksl/SkSLInterpreter.h:10,
from ../../modules/particles/include/SkParticleEffect.h:19,
from ../../modules/particles/src/SkParticleEffect.cpp:8:
../../src/sksl/SkSLByteCode.h: In constructor ‘SkSL::ByteCode::Vector<width>::Vector(skvx::Vec<width, int>) [with int width = 8]’:
../../src/sksl/SkSLByteCode.h:91:9: note: the ABI for passing parameters with 32-byte alignment has changed in GCC 4.6
91 | Vector(skvx::Vec<width, int32_t> i)
| ^~~~~~
[1074/1593] compile ../../modules/skshaper/src/SkShaper_harfbuzz.cpp
FAILED: obj/modules/skshaper/src/libskshaper.SkShaper_harfbuzz.o
c++ -MD -MF obj/modules/skshaper/src/libskshaper.SkShaper_harfbuzz.o.d -DSKSHAPER_IMPLEMENTATION=1 -DNDEBUG -DSK_GAMMA_APPLY_TO_A8 -DSK_SHAPER_HARFBUZZ_AVAILABLE -DSK_GL -DSK_SUPPORT_PDF -DSK_HAS_JPEG_LIBRARY -DSK_HAS_PNG_LIBRARY -DSK_CODEC_DECODES_RAW -DSK_HAS_WEBP_LIBRARY -DSK_XML -DSK_R32_SHIFT=16 -DU_USING_ICU_NAMESPACE=0 -DSK_USING_THIRD_PARTY_ICU -I../../modules/skshaper/include -I../.. -I/usr/include/harfbuzz -fstrict-aliasing -fPIC -O3 -fdata-sections -ffunction-sections -Wno-unused-parameter -I /home/krona/builds/aseprite/src/skia/third_party/externals/icu/source/common -I /home/krona/builds/aseprite/src/skia/third_party/externals/icu/source/i18n -I /home/krona/builds/aseprite/src/skia/third_party/icu -std=c++17 -fno-exceptions -fno-rtti -c ../../modules/skshaper/src/SkShaper_harfbuzz.cpp -o obj/modules/skshaper/src/libskshaper.SkShaper_harfbuzz.o
../../modules/skshaper/src/SkShaper_harfbuzz.cpp:33:10: fatal error: hb-icu.h: No such file or directory
33 | #include <hb-icu.h>
| ^~~~~~~~~~
compilation terminated.
[1079/1593] compile ../../modules/skshaper/src/SkShaper.cpp
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
rouhannb commented on 2020-04-11 15:27 (UTC)
I’ve added it in.
WaffleLapkin commented on 2020-04-11 09:34 (UTC)
The xorgproto
package is missing from makedepends
array. This is what currently happens when trying to install aseprite
without xorgproto
installed:
==> Starting build()...
Done. Made 60 targets from 43 files in 307ms
ninja: Entering directory `out/Release-x64'
[258/1593] compile ../../src/gpu/gl/glx/GrGLMakeNativeInterface_glx.cpp
FAILED: obj/src/gpu/gl/glx/gpu.GrGLMakeNativeInterface_glx.o
c++ -MD -MF obj/src/gpu/gl/glx/gpu.GrGLMakeNativeInterface_glx.o.d -DNDEBUG -DSK_R32_SHIFT=16 -DSK_GAMMA_APPLY_TO_A8 -DSKIA_IMPLEMENTATION=1 -DSK_GL -I../.. -fstrict-aliasing -fPIC -O3 -fdata-sections -ffunction-sections -Wno-unused-parameter -std=c++17 -fno-exceptions -fno-rtti -c ../../src/gpu/gl/glx/GrGLMakeNativeInterface_glx.cpp -o obj/src/gpu/gl/glx/gpu.GrGLMakeNativeInterface_glx.o
In file included from /usr/include/GL/glx.h:30,
from ../../src/gpu/gl/glx/GrGLMakeNativeInterface_glx.cpp:15:
/usr/include/X11/Xlib.h:44:10: fatal error: X11/X.h: No such file or directory
44 | #include <X11/X.h>
| ^~~~~~~~~
compilation terminated.
[267/1593] compile ../../src/sksl/SkSLSPIRVCodeGenerator.cpp
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
Error making: aseprite
rouhannb commented on 2020-04-04 02:34 (UTC)
Seems that the problem only occurs when running git clone --mirror
as makepkg does. I tried running that on another machine (running Ubuntu) and it worked fine.
Pinned Comments
ImperatorStorm commented on 2024-10-02 17:56 (UTC)
Remember: You are expected to have the
base-devel
metapackage installed before using the AUR.ImperatorStorm commented on 2022-08-06 04:31 (UTC)
A note that, per Aseprite's EULA, binaries created by this PKGBUILD CANNOT BE DISTRIBUTED.
I will comply with any upstream requests to remove this package.
ImperatorStorm commented on 2022-01-06 00:07 (UTC)
Big thanks to ISSOtm for rewriting the PKGBUILD!
ImperatorStorm commented on 2021-12-31 21:31 (UTC) (edited on 2022-01-03 04:42 (UTC) by ImperatorStorm)
Hosting this package's PKGBUILD at https://github.com/ImperatorStorm/PKGBUILDs