Repository navigation
Many fixes, come inside for a better explanation - #383
Conversation
794b951 to
10a8175
Compare
|
@Lord-Kamina would you be willing to refresh this off main? Its fine if not, but it'd be helpful, I plan on taking care of this on saturday for review/integrating. |
|
Will do when I have some time. |
Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
Seems I was working on this in parallel to what got merged. My reasoning is this: Use the expanded `-noX` commands that mean the same as `—no-compresion` according to the documentation. By default use zstd compression instead of xz, because the AppImage team has said on at least one occassion that’s what’s going in the standard spec. Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
|
There's something here that actually needs some discussion @james-lawrence. re: The P.S. that PR also hard-coded gzip compression, which is no longer supported. |
Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
This doesn't change the default behavior, but makes the whole workflow much more friendly for people forking this and other AppImageCrafters repos.
Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
Fix ubuntu linker symlink
debug? Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com> don't need debug anymore
|
@james-lawrence can you check again as to whether you can review/merge in the other repos? I was looking at another PR in the AppRun repo and it did show me the "submit review" button when I went into detail on the code changes, so you might be able to do it too. |
|
I believe I ran into the exact same problem a while ago as described in the PR text while I was looking into migrating a program from Debian Bullseye to Debian Trixie. It'd be lovely to see this dealt with. |
|
@azubieta bump again ;) @Lord-Kamina still nada. |
|
@Cacodemon345 this might help you, working setup that uses latest in this repository. |
|
@james-lawrence is there anywhere I might contact you to ask your opinion on something? Or alternatively, if you don't want to give out contact details, you can find a few of my accounts on my profile. |
|
@Lord-Kamina absolutely. sent you an email. |
Debian Trixie Ubuntu Resolute Fedora 44 Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
|
Converted to draft for a bit, because I seem to have broken something. |
Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
The old versions of appimage-builder relied on accidentally correct behavior through faulty logic. The app looked for a `_start` symbol via substring matching, which ended up giving false positives by matching `__gmon_start__`. Changing the logic to use lief eliminated that, and only binaries with an actual `_start_` had the location of the dynamic linker patched, leaving us with a half-working AppImage. The problem here is that most stripped ELF binaries don’t have `_start_` but rather enter through a memory address located in the header. So instead, let’s just look for the interpreter and patch it if it’s found. Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
Sourced from https://gist.github.com/rurban/36fedc94f179f31ee6557bcaf413fde1#file-replace-uutils-with-gnu-coreutils-ubuntu26-sh Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
|
@james-lawrence, are you still interested in this? |
|
indeed i am though fairly swamped atm =) sounds like a plan. |
|
(and yes looks like our permissions are correct! yay!) |
|
@james-lawrence There are of course, many things to be fixed still. Looking further into what things can be done to minimize spawning shell processes comes to mind. Still, I've merged it for now because I think the continuous build is at least functional for common usage. I would like your opinion on whether you want to draft a release, or fix/add stuff before we get to that. |
|
@Lord-Kamina indeed there are. I'm a fan of getting a couple fixes out first before drafting a release. I'd like at least the projects I have building properly without the hacks i've had to insert into the yaml to get it working. (proper linking for alternative architectures for example) |


First, sorry for an idiotically big PR... I began working on this when our workflows at https://www.github.com/performous/performous broke recently.
This is part of a larger effort to give whoever steps up as maintainer (I'm not it!) an all-around easier time. It partly relies on other PRs I have submitted at https://github.com/AppImageCrafters/AppRun and https://github.com/AppImageCrafters/tests-env
Here, I have done a number of changes:
APPIMAGE_BUILDER_PY_VERSION: This will be set automatically when running the script, and it's populated fromsys.version_info. The idea is to use this in python recipes, and then you don't need to update them when there are updates to python.APPIMAGE_BUILDER_REMOTE_REPO_OWNER: This will hold the repository-owner for any parts of the code that download or reference things from other repos. The idea is if somebody forks all three repos (appimage-builder, AppRun and tests-env) they can still have CI working on their forks. It's populated from the environment in__main__.py(and the CI workflows by default set it to${{ github.repository_owner }}, withappimagecraftersas a default fallback.setup.py, migrating completely topyproject.tomlappimage-builderandbashrecipes.Below I will paste my explanation to a teammate of why I had to change some things in AppRun, as well as the structure of symlinks.
This will probably take a while to digest and be reviewed properly but I'm willing to answer any questions.
In the meantime, you can go over to my fork and see how the CI works and download what should be a working appimage-builder AppImage made with python 3.12