You are not logged in.

#1 2019-09-22 06:14:02

jbreizh
Member
Registered: 2012-10-20
Posts: 44

[SOLVED] gsetting issue from ubuntu deb

hello,
i try to upgrade the aur PKGBUILD of activinspire (just changing the old source 2.15 by the new one 2.17). Compilation is fine, but when i launch it no luck :

process:3310): GLib-GIO-ERROR **: 07:53:36.887: Settings schema 'com.ubuntu.user-interface' is not installed

so i imagine it's a problem of gsetting and ubuntu... maybe somebody know the solution ??

Thanks

Last edited by jbreizh (2019-09-24 16:01:27)

Offline

#2 2019-09-22 06:17:06

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] gsetting issue from ubuntu deb

Nothing to do with Pacman, moving to AUR Issues...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-09-23 16:22:57

jbreizh
Member
Registered: 2012-10-20
Posts: 44

Re: [SOLVED] gsetting issue from ubuntu deb

Little update. I solve my issue whith the floowing step :
- find the good deb package from ubuntu : https://ubuntu.pkgs.org/18.04/ubuntu-ma … l.deb.html
- get the com.ubuntu.user-interface.gschema.xml file and copy it in /usr/share/glib-2.0/schemas
- upgrade glib : sudo glib-compile-schemas  /usr/share/glib-2.0/schemas/

it work but it's dirty : how to package it cleanly? I have two option :
- put the com.ubuntu.user-interface.gschema.xml file as PKGBUILD attachement and upgrade glib like this in the PKGBUILD :
post_install() {
  glib-compile-schemas /usr/share/glib-2.0/schemas
}

post_upgrade() {
  post_install $1
}

-or package the gsettings-ubuntu-schemas_0.0.7+17.10.20170922-0ubuntu1_all.deb and make a depend on him (i just need com.ubuntu.user-interface.gschema.xml)

Thanks

Offline

#4 2019-09-24 12:21:31

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [SOLVED] gsetting issue from ubuntu deb

glib2 installs a hook at /usr/share/libalpm/hooks/glib-compile-schemas.hook to automate that, no need for a postinstall function.

Just add this scheme to the activinspire PKGBUILD and put it in the right place.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2019-09-24 16:00:18

jbreizh
Member
Registered: 2012-10-20
Posts: 44

Re: [SOLVED] gsetting issue from ubuntu deb

Ok thanks Lone_Wolf problem solve exactly as you said. Seems to work, i spend most of my time searching why the .desktop doesn't work and i finally find that my bin script had a blank line to begin....
I can now continu to make my maths lesson on my favourite arch pc, cheers

Offline

Board footer

Powered by FluxBB