Skip to content

Added support for arch and manjaro with pacman #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TalenMud
Copy link

@TalenMud TalenMud commented Feb 6, 2025

added another elif statement into the script so if arch or manjaro are found it uses pacman.
I also added another elif statement to the sudo installation line using pacman.

@mak448a
Copy link
Owner

mak448a commented Feb 6, 2025

Thanks for the pull request! I know this is probably unnecessary to ask, but did you test it on your system first? (I don't have a computer running Arch right now)

(Closes #2)

@mak448a mak448a linked an issue Feb 6, 2025 that may be closed by this pull request
@mak448a mak448a added the enhancement New feature or request label Feb 6, 2025
@mak448a
Copy link
Owner

mak448a commented Feb 6, 2025

Also, could you also add EndeavourOS too?

By the way, is there any difference between this and the dependencies listed on the Aseprite official guide?

@TalenMud
Copy link
Author

TalenMud commented Feb 6, 2025

I'll test it out as soon as I can and let you know how it works on arch, sorry I should've tested properly before sending the pull request.

@TalenMud
Copy link
Author

TalenMud commented Feb 7, 2025

Tried running it on manjaro, it gave me this error:

-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang - broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler

"/usr/bin/clang"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: '/home/manjaro/aseprite/build/CMakeFiles/CMakeScratch/TryCompile-cuMaXe'

Run Build Command(s): /usr/bin/ninja -v cmTC_ea653
[1/2] /usr/bin/clang    -o CMakeFiles/cmTC_ea653.dir/testCCompiler.c.o -c /home/manjaro/aseprite/build/CMakeFiles/CMakeScratch/TryCompile-cuMaXe/testCCompiler.c
FAILED: CMakeFiles/cmTC_ea653.dir/testCCompiler.c.o 
/usr/bin/clang    -o CMakeFiles/cmTC_ea653.dir/testCCompiler.c.o -c /home/manjaro/aseprite/build/CMakeFiles/CMakeScratch/TryCompile-cuMaXe/testCCompiler.c
/usr/bin/clang: error while loading shared libraries: libLLVM.so.19.1: cannot open shared object file: No such file or directory
ninja: build stopped: subcommand failed.

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:23 (project)

-- Configuring incomplete, errors occurred!
ninja: error: loading 'build.ninja': No such file or directory
mv: cannot stat 'aseprite/build/bin': No such file or directory
mv: cannot stat 'aseprite/build/aseprite': No such file or directory
Done compiling!
The executable is stored in ~/Applications/aseprite. Have fun!
You can move this folder anywhere.

any ideas?

@mak448a
Copy link
Owner

mak448a commented Feb 7, 2025

Did you install git? I don't think the script automatically installs that (except for apt distros?). I should probably add that if it starts working after you do that.

Also did you try
sudo pacman -S gcc clang libc++ cmake ninja libx11 libxcursor mesa-libgl fontconfig libwebp before you ran the script? Those were the official dependencies from aseprite's build guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhancement: Pacman
2 participants