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
New installation promps error: Settings schema 'org.gnome.Mahjongg' is not installed #9
Comments
New upstream co-maintainer here, so I’m discovering a bit the code. Looks like there are two compilation options, |
Well that's bloody stupid. 🤦 Yes, enable by default upstream, and second, put them on true in the Flatpak Manifest because we need em! |
I’ve mailed Alberto to understand its use case. I plan a 3.38.3 release this week-end as a fix. |
I'd refrain from this type of language to refer to other fellow maintainer's choices in the absence of background information. I took the same approach as other meson projects in GNOME (I don't remember as of now which ones specifically) and the rationale here is that most of the time the meson scripts are run by the developers and not packagers and require root/privileged access to modify your host configuration. Typically packagers would run this as part of post-install operations in rpm/deb and the like. Otherwise this would be prompting for root access every time a developer is cycling through changes, not to mention that nothing guarantees that you'd be installing schemas to a path where the system wide configuration will pick it up. It is desirable that this is enabled explicitly so that people who use those flags hint that they know what they are doing and run these privileged operations at their own risk.
-1
+1 |
Do some really install dev’ things directly on their host environment? That looks like a quite bad practice, that I’d happily discourage… JHbuild has its own setup of things (and runs in its own container here anyway), containers-based builds also need the commands to run, of course, so I’d preferably enable this two options upstream, allowing people who need it to set them off.
Anyway, that should probably be done, with or without a new release. |
Except those commands are ran based on the build prefix, it's not necessarily something that requires root permissions and iirc most of GNOME projects have those always enabled to avoid cases like these where the packager isn't aware of the extra option to enable. |
@aruiz I think that I vocalized my discontent in stronger words then absolutely necessary. It's more the fact that a prominent application has been broken for more then a week (original update: #8 ) that made me react vocally. My apologies to you, as you're not directly involved in the distribution here. On the topic of compiler-instructions, I don't remember any other GNOME application that does it so. I've recently updated GNOME applications like Maps, Contacts, Calendar and others, and all of them generate schemes on |
That's true for the icons but not for the schema, the pkg-config prefix is used as of now as they did in the package I copied it from (which again, at this point I have forgotten). If GNOME is has a more consistent approach to this I will leave it up to @Obsidien to update the upstream package accordingly, I don't have a strong opinion here, just stating the background rationale. |
I made #10 to remedy the issue |
I’ve just released 3.38.3 that enables the two options by default. |
Wait before updating to 3.38.3, there will be a 3.38.4. |
This broke the build for distributions. |
As a user, Mahjongg is not starting for me. I see this error "(gnome-mahjongg:2): GLib-GIO-ERROR **: 13:43:58.004: Settings schema 'org.gnome.Mahjongg' is not installed" Is there anything I can do as a user to make this work? Or, do I wait for a new release to fix this? |
@bilelmoussaoui Thanks for addressing the issue. Perhaps good to think about in the future: How will we escalate these kind of issues in the future? In this case, a prominent GNOME application was non-functional for a month. I'll close the issue for now and hope that we can think of ways to streamline such a process in the future. |
Could add tests that actually install the program and then run it. Test console output from starting program. Test that application window exists. |
Setup
Stacktrace
The text was updated successfully, but these errors were encountered: