-
Notifications
You must be signed in to change notification settings - Fork 23
[ci-on-tags.yml] Redefine LATEST sensibly #472
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
Conversation
|
Ah I didn't realize that there is no 4.6 version yet. Thing is, the icon generation for 4.6 (#464) relies on the sailfish-svg2png version from 4.6. Only there are the new paths defined. Which means as long as there is no docker env for 4.6 and higher, icons will end up on the "old" place, and if the resulting packages are installed, there will be no icon for Patchmanager in Settings, and the Top menu. I have worked around this issue on OBS by "backporting" (i.e. adding) sailfish-svg2png-0.4.1 from 4.6/5.0 to the build env: https://build.sailfishos.org/project/show/home:nephros:devel:patchmanager. Builds in that OBS project will use it, and therefore package the icon files correctly got 4.6 and higher. Not sure how we should handle this for release builds. Should we work around this temporaily somehow until a newer SDK is available? |
There is. "LATEST" as formerly defined was not updated for long in the CI configuration. I once considered using the Mind that these GH-CI builds are basically intended (by me) only for testing purposes, so I derived the requirement for them to simply be executable on the "latest" SailfishOS release (which is 5.0.0 for which no docker-image of the Sailfish-SDK exists yet, but the builds for 4.3.0 run on 5.0.0). But I now see that "no icons" means "no fun testing". All in all, I do not exactly understand what the requirements for the CI workflows are, hence I recently asked @b100dian what he wants and offered a few choices. You added another choice by pointing him to https://build.sailfishos.org/project/show/home:nephros:devel:patchmanager which is better maintained than my SFOS-OBS-PM-testing repo. My only requirement is that the |
|
BTW / OT:
What does that mean for Storeman build at the SFOS-OBS without such workarounds (or FileCase / FlowPlayer)? Do they also show no icons (or only no in-app icons?) without this workaround? Shouldn't this workaround then be better available at SailfishOS:Chum(:Testing), too? Did I ever mention that I hate Jolla for their permanent stream of app-breaking changes out of carelessness / negligence? 😉 |
I haven't checked these apps, but all of this only applies to "theme" icons under So I suspect the fallout to be not too drastic. (I do agree that lack of backward compatibility with SFOS is annoying. |
|
Now, to solve the whole current icon mess, we could, in Patchmanager, move the icon location to |
Thank you for the clarification! Yes, now I see this is nothing I have to worry about.
👍
Yes, it is by FDO's icon theme specification: |
|
Back to the original topic, i.e. the one of this PR:
Practically I might add a true |
See also the corresponding remark by @ichthyosaurus in #468 (comment). |
|
I tried the Apparently Settings (and perhaps Lipstick) need the images to be in the |
|
Unfortunate, but "it is what it is".
Is this understanding I gathered correct (please confirm)? If so, IMO it makes sense that I:
Does this plan sound reasonable for you? |
Versions of sailfish-svg2png >0.4.1, which are used in qmake .pro files (via One can also use At Patchmanager, before #464, we used a part of the shipped configuration, but still called the binary manually. This was a bit superfluous, as we basically did just the same thing as the shipped configuration does. Which is why #464 reduces the .pro file to just a few lines. (But that may have been different in older releases.)
[EDIT:] most of the following proved to be irrelevant. See the next comment. I guess. Whichever way we deal with this, it all boils down to the fact that we have to specify the version the rpm is going to be installed on during the build process. If install-os-version === build-host-version, the current setup works for all releases. There's a couple of things we could do differently, e.g. doing the generation of the icons manually independently of build-host-version, copy them around after generation etc., but with all those variants we always have to specify the install-os-version in some way. The only point where we can be sure what to do is at RPM install time, so during the We could even do something more ugly, and
I'm not sure this is required, iff the right many-asterisked paths are used. Currently I think we are good here. |
|
Disregard everything I said. What if we:
So this: master...nephros:patchmanager:icons-both-ways That should shift the burden to the package management solver and thereby solve (heh) our problems with build/install/SDK/release versions. |
|
Please continue discussion of the icon location topic in PR #479 |
Ack: Sorry, I already forgot how I designed PR #471, because the last weeks have been extremely busy for me. So with that being understood as superfluous, the only thing left is to also build with the SailfishOS-SDK for 4.6.0 in the |
For details see new comment in the altered file.