-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add missing QML dependencies #27
Conversation
Post scriptum, I didn't pay attention, but I targetted this for master. If an issue, I can rebase it and target devel instead... |
I think some of those imports names are deprecated , having been replaced by Now, if that is the case the qml imports should be changed. But, then we need to check that the RPMs containing those have proper Provides:. If not, the spec should use the rpm names instead of the qml() variant. I am not at a SFOS device right now but can check this later. |
Thumbnailer:
|
Policy :
|
Mpris and mediaplayer have no aliased names, and have the proper Requires: in the rpm, so these are fine. |
Honestly, I have no idea. I am not a good programmer by any means (well, maybe except for UNIX shell code) and I really do not want to dive into coding aspects (here: code dependencies). My basic concept for this "GitHub organisation" is to provide the roles as release maintainer, repo maintainer, webpages maintainer, and (very) basic reviewer, so people who want to contribute code (changes) can focus exactly on this. But I can ask (and may be even good at this, sometimes) checks & balances questions: Side note: While CepiPerez's code appears to be basically sound and comprehensible, he seems to have missed some infrastructure aspects, such as dependencies of various kinds etc.; which is understandable, because he was authoring and maintaining all his software alone and never had someone to review this, AFAIK. Hence having to add and rectify a couple of these infrastructure aspects is somewhat expected. AFAIU @nephros's two comments WRT proper dependency statements ([1], [2]), your extant changeset uses the deprecated dependency statements, which should better be replaced by: Unfortunately he did not comment your statement:
Maybe @nephros would like to comment, if he also thinks this should be added. It is not part of this PR, currently. P.S.: Rebased this PR to the |
Thank you @nephros for your reviews. Indeed, I know that now some nemo QML plugins are using the Nemo.Xxx syntax, instead of the deprecated org.nemomobile.xxx one. I didn't put the requires with the new naming scheme to be consistent with the fact that the code is still using the old naming scheme, and also because like that, it may still be valid for older SailfishOS versions. Maybe a separated commit to migrate the code would better separate the fix of the RPM dependencies issues and the migration requirement. About the |
Good point! All good.
No, that's fine and recommended. What I meant is that sometimes the official Jolla packages do not have the required |
It's adding: - org.nemomobile.policy - org.nemomobile.thumnailer - com.jolla.mediaplayer
Ok, @nephros, thank you for the explanation. I agree with you then ! I've rebased the commit on devel, removed already included |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much, this is looking fine.
Thanks to both of you: This is exactly what I figured this morning, too. In general, SailfishOS:Chum supports all SFOS ≥ 3.1.0, the compilation via GitHub-CI-workflow works fine for SFOS ≥ 3.0.2 and works for SFOS ≥ 2.2.0 (but produces ballooned binaries, for some reason). Hence I would like to keep the code supporting old releases as long as feasible. |
Following @nephros suggestion, I'm adding
Requires: qml(org.nemomobile.mpris)
but also fororg.nemomobile.policy
and fororg.nemomobile.thumbnailer
which are used in various QML files.I'm hesitating to also add
Requires: qml(com.jolla.mediaplayer)
which is imported by the mainflowplayer.qml
file. What do you think ?