Closed greendragon2010 closed 9 years ago
Yeah... @ryanleesipes you should probably make journal independent from Budgie with regards to GLib.Settings if you want to truly make Journal platform-agnostic.
I am working on a patch to check and see if com.evolve-os.journal exist in gsettings and if it doesn't created it so journal can run independent of Budgie. Any help will be appreciated since I've never used vala before.
This has nothing to do with Budgie.. You need to recompile your schemas after install.
@zesterer given this is in evolve-os whats the harm in using evolveos schemas??
@greendragon2010 sudo glib-compile-schemas /usr/share/glib-2.0/schemas
When I installed the package from on Arch from the aur that was the error I got.
My plan to fix this is to still use "com.evolve-os.journal" as the scheme since it is a evolve os project. I also know someone who had s schema issue to when they install journal from the aur but it was a slightly different error. I'm just trying to make sure the application will create the scheme if doesn't exist, so that it can be install on any distro with any desktop environment.
@ikeydoherty so I could have just done that after I installed the aur package, and that would have fixed the issue?
@greendragon2010 yup. So a package like budgie-desktop automatically does this post-install,however Journal does not, and that's where the issue is. So when you installed budgie, it recompiled all the schemas, including Journal's :)
@ikeydoherty could we make Journal do this so it is not an issue, or could we have a pop up and ask the user to do it if the scheme doesn't exist? Just playing with ideas.
@greendragon2010 problem is if the scheme doesn't exist, it will die. This is technically the correct behaviour. So it needs to either be corrected within the packaging, or within the package.
Now, when you have binary packages (outside of AUR) - a package has post installs to achieve this. i.e. its not done at build time. It should only be done on a non DESTDIR make install.
I'm not familiar enough with CMake (because I can't stand it) to be of help here, but I'm sure there are examples around of cmake gsettings integration.
Okay, I will look into cmake and see if I can figure it out. I have professor that understands cmake and make since he teaches C. I'll ask him if he knows or knows resources I can use to figure it out.
I believe this can be closed. If you follow the instruction to build and install then it will create the schemas for you. So people packaging this for other distros need to make sure this happens, and we can call this a packaging issue and not an application issue.
@greendragon2010 great work, yeah, looks like Justin may need to take a look at this, as I think he may maintain the Arch package.
This is my bad. I made the AUR package. Will fix up asap
On Thu, 26 Mar 2015 5:51 am John Hamernick-Ramseier < notifications@github.com> wrote:
I believe this can be closed. If you follow the instruction to build and install then it will create the schemas for you. So people packaging this for other distros need to make sure this happens, and we can call this a packaging issue and not an application issue.
— Reply to this email directly or view it on GitHub https://github.com/evolve-os/journal/issues/51#issuecomment-86180484.
@Justinzobel would you like me to assign this bug to you, so you can close it when you are done?
Eh, nevermind, I can't assign it to you @Justinzobel - @ikeydoherty can Justin be included in the org?
There we go :)
@greendragon2010 closing this off as i've updated the AUR install file, please re-open if it's not resolved.
Just confirmed this working from an Arch live ISO without budgie.
I believe the issue is fixed, just tested in a systemd container.
I have the following error when I install journal: (process:30404): GLib-GIO-ERROR **: Settings schema 'com.evolve-os.journal' is not installed
But once I installed Budgie it fixed the issue.