Re: [blfs-dev] yelp problems

2016-01-13 Thread Bruce Dubbs

Fernando de Oliveira wrote:

Em 12-01-2016 15:40, Bruce Dubbs escreveu:

Bruce Dubbs wrote:


OK, I got it working.  I reinstalled gsettings-desktop-schemas.  What I
had done was respond to some warnings when I ran glib-compile-schemas.
For
example:

warning: Schema 'org.gnome.system.proxy.https' has path
'/system/proxy/https/'.  Paths starting with '/apps/', '/desktop/' or
'/system/' are deprecated.

So I had deleted org.gnome.system.proxy.gschema.xml to get rid of the
warning.

Checking the web, it seems that others just ignore the warnings.  For
instance: https://bugzilla.redhat.com/show_bug.cgi?id=814053


It turns out that fixing the warnings is not hard.  I wonder why
upstream has not done it.

sed -i -r 's:"(/system):"/org/gnome\1:'  \
   /usr/share/glib-2.0/schemas/*system*

Should we add it to the book?


Don't know how. Have:

{{{
Out 26 org.gnome.system.locale.gschema.xml
Out 26 org.gnome.system.proxy.gschema.xml
Out 26 org.gnome.system.location.gschema.xml
Nov 14 org.gnome.gnome-system-monitor.gschema.xml
Nov 14 org.gnome.gnome-system-monitor.enums.xml
Nov 15 org.gnome.system.smb.gschema.xml
Nov 15 org.gnome.system.gvfs.enums.xml
Nov 15 org.gnome.system.dns_sd.gschema.xml
}}}

This means that different packages installed them.


Yes, but the only ones that are incorrect are installed by 
desktop-file-utils.  Specifically proxy and locale.


  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] yelp problems

2016-01-13 Thread Bruce Dubbs

Fernando de Oliveira wrote:


I think Ken, long ago, was the first one to notice that problem, not
only in this thread.


Ken identified the need to run update-desktop-database and there is 
rationale in the Command Explanations.  It is not, strictly speaking, 
required for build, but it is for proper execution.


My problem was not that it wasn't installed.  It was because I responded 
(incorrectly) to warnings when running update-desktop-database.



Don't you both think we should add gsettings-desktop-schema as required
by yelp?


We expect that recommended dependencies are installed, but I do not have a 
problem with promoting desktop-file-utils to required. However, I don't 
think it's needed.


  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] yelp problems

2016-01-13 Thread Fernando de Oliveira
Em 13-01-2016 16:37, Bruce Dubbs escreveu:
> Fernando de Oliveira wrote:
> 
>> I think Ken, long ago, was the first one to notice that problem, not
>> only in this thread.
> 
> Ken identified the need to run update-desktop-database and there is
> rationale in the Command Explanations.  It is not, strictly speaking,
> required for build, but it is for proper execution.
> 
> My problem was not that it wasn't installed.  It was because I responded
> (incorrectly) to warnings when running update-desktop-database.
> 
>> Don't you both think we should add gsettings-desktop-schema as required
>> by yelp?
> 
> We expect that recommended dependencies are installed, but I do not have
> a problem with promoting desktop-file-utils to required. However, I
> don't think it's needed.

I think you are confusing gsettings-desktop-schema with
desktop-file-utils. I did it at r16804, but will change it tomorrow, as
you wish, if you please don't mind doing it before.

-- 
[]s,
Fernando, aka Sísifo
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] yelp problems

2016-01-13 Thread Fernando de Oliveira
Em 13-01-2016 16:42, Bruce Dubbs escreveu:
> Fernando de Oliveira wrote:
>> Em 12-01-2016 15:40, Bruce Dubbs escreveu:
>>> Bruce Dubbs wrote:
>>>
 OK, I got it working.  I reinstalled gsettings-desktop-schemas.  What I
 had done was respond to some warnings when I ran glib-compile-schemas.
 For
 example:

 warning: Schema 'org.gnome.system.proxy.https' has path
 '/system/proxy/https/'.  Paths starting with '/apps/', '/desktop/' or
 '/system/' are deprecated.

 So I had deleted org.gnome.system.proxy.gschema.xml to get rid of the
 warning.

 Checking the web, it seems that others just ignore the warnings.  For
 instance: https://bugzilla.redhat.com/show_bug.cgi?id=814053
>>>
>>> It turns out that fixing the warnings is not hard.  I wonder why
>>> upstream has not done it.
>>>
>>> sed -i -r 's:"(/system):"/org/gnome\1:'  \
>>>/usr/share/glib-2.0/schemas/*system*
>>>
>>> Should we add it to the book?
>>
>> Don't know how. Have:
>>
>> {{{
>> Out 26 org.gnome.system.locale.gschema.xml
>> Out 26 org.gnome.system.proxy.gschema.xml
>> Out 26 org.gnome.system.location.gschema.xml
>> Nov 14 org.gnome.gnome-system-monitor.gschema.xml
>> Nov 14 org.gnome.gnome-system-monitor.enums.xml
>> Nov 15 org.gnome.system.smb.gschema.xml
>> Nov 15 org.gnome.system.gvfs.enums.xml
>> Nov 15 org.gnome.system.dns_sd.gschema.xml
>> }}}
>>
>> This means that different packages installed them.
> 
> Yes, but the only ones that are incorrect are installed by
> desktop-file-utils.  Specifically proxy and locale.

Let me rephrase:

I am very much in agreement for the addition of the sed.

I think you mean gsettings-desktop-schemas, I am confused. I was
confused with other one too, replying after this one.

If it is just adding the sed to gsettings-desktop-schemas page, or even
a couple of pages, also agree it is easy. My eyes are letting me down at
the moment.

Please, if you don't mind, do it, or I will tomorrow.


-- 
[]s,
Fernando, aka Sísifo
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] yelp problems

2016-01-13 Thread Fernando de Oliveira
Em 12-01-2016 15:40, Bruce Dubbs escreveu:
> Bruce Dubbs wrote:
> 
>> OK, I got it working.  I reinstalled gsettings-desktop-schemas.  What I
>> had done was respond to some warnings when I ran glib-compile-schemas.
>> For
>> example:
>>
>> warning: Schema 'org.gnome.system.proxy.https' has path
>> '/system/proxy/https/'.  Paths starting with '/apps/', '/desktop/' or
>> '/system/' are deprecated.
>>
>> So I had deleted org.gnome.system.proxy.gschema.xml to get rid of the
>> warning.
>>
>> Checking the web, it seems that others just ignore the warnings.  For
>> instance: https://bugzilla.redhat.com/show_bug.cgi?id=814053
> 
> It turns out that fixing the warnings is not hard.  I wonder why
> upstream has not done it.
> 
> sed -i -r 's:"(/system):"/org/gnome\1:'  \
>   /usr/share/glib-2.0/schemas/*system*
> 
> Should we add it to the book?

Don't know how. Have:

{{{
Out 26 org.gnome.system.locale.gschema.xml
Out 26 org.gnome.system.proxy.gschema.xml
Out 26 org.gnome.system.location.gschema.xml
Nov 14 org.gnome.gnome-system-monitor.gschema.xml
Nov 14 org.gnome.gnome-system-monitor.enums.xml
Nov 15 org.gnome.system.smb.gschema.xml
Nov 15 org.gnome.system.gvfs.enums.xml
Nov 15 org.gnome.system.dns_sd.gschema.xml
}}}

This means that different packages installed them.

-- 
[]s,
Fernando, aka Sísifo
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] yelp problems

2016-01-13 Thread Fernando de Oliveira
Em 12-01-2016 15:15, Bruce Dubbs escreveu:
> Fernando de Oliveira wrote:
>> Em 11-01-2016 20:16, Bruce Dubbs escreveu:
>>> Ken Moffat wrote:
 On Mon, Jan 11, 2016 at 04:23:58PM -0600, Bruce Dubbs wrote:
> I'm having a problem with yelp.  The window kinda works, but I don't
> get any
> text in the window.
>>
>> Same here. Probably more than a year ago, I discovered one gnome package
>> that installs the text for that window (tried to remember these tow last
>> BLFS releases, but failed). It didn't seem to be useful just for that
>> sake.
>>
>> What I think matters is that the applications have their help displayed.
>> Hope that they are working for you.
> 
> That's the main problem.  They are not.  For example, evince.  Selecting
> help there brings up the yelp window, but no contents.  I can find no
> error messages either.
> 
>> However, I do have "org.gnome.system.proxy" installed:
>>
>> {{{
>> $ ls /usr/share/glib-2.0/schemas/org.gnome.system.proxy.gschema.xml
>> /usr/share/glib-2.0/schemas/org.gnome.system.proxy.gschema.xml
>> }}}
> 
> I do not.  Do you know what application installed it?  On my
> developement system, I do have it.  From the timestamp and my logs, it
> looks like it was installed at the dame time as
> gsettings-desktop-schemas when I was doing the validation for BLFS 7.8.
> 
> 
>> {{{
>> $ gsettings list-recursively org.gnome.system.proxy
>> org.gnome.system.proxy use-same-proxy true
>> org.gnome.system.proxy mode 'none'
>> org.gnome.system.proxy autoconfig-url ''
>> org.gnome.system.proxy ignore-hosts ['localhost', '127.0.0.0/8', '::1']
>> org.gnome.system.proxy.ftp host ''
>> org.gnome.system.proxy.ftp port 0
>> org.gnome.system.proxy.socks host ''
>> org.gnome.system.proxy.socks port 0
>> org.gnome.system.proxy.http host ''
>> org.gnome.system.proxy.http port 8080
>> org.gnome.system.proxy.http use-authentication false
>> org.gnome.system.proxy.http authentication-password ''
>> org.gnome.system.proxy.http authentication-user ''
>> org.gnome.system.proxy.http enabled false
>> org.gnome.system.proxy.https host ''
>> org.gnome.system.proxy.https port 0
>> }}}
> 
> I get that too on the development system but not on my workstations.
> Checking gsettings-desktop-schemas, I did install it.
> 
> OK, I got it working.  I reinstalled gsettings-desktop-schemas.  What I
> had done was respond to some warnings when I ran glib-compile-schemas.
> For example:
> 
> warning: Schema 'org.gnome.system.proxy.https' has path
> '/system/proxy/https/'.  Paths starting with '/apps/', '/desktop/' or
> '/system/' are deprecated.
> 
> So I had deleted org.gnome.system.proxy.gschema.xml to get rid of the
> warning.
> 
> Checking the web, it seems that others jsut ignore the warnings.  For
> instance: https://bugzilla.redhat.com/show_bug.cgi?id=814053
> 
> Fernando, thanks for responding.  Without your input I would not have
> figured this out.

I think Ken, long ago, was the first one to notice that problem, not
only in this thread.

Don't you both think we should add gsettings-desktop-schema as required
by yelp?


-- 
[]s,
Fernando, aka Sísifo
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] yelp problems

2016-01-12 Thread Bruce Dubbs

Fernando de Oliveira wrote:

Em 11-01-2016 20:16, Bruce Dubbs escreveu:

Ken Moffat wrote:

On Mon, Jan 11, 2016 at 04:23:58PM -0600, Bruce Dubbs wrote:

I'm having a problem with yelp.  The window kinda works, but I don't
get any
text in the window.


Same here. Probably more than a year ago, I discovered one gnome package
that installs the text for that window (tried to remember these tow last
BLFS releases, but failed). It didn't seem to be useful just for that sake.

What I think matters is that the applications have their help displayed.
Hope that they are working for you.


That's the main problem.  They are not.  For example, evince.  Selecting 
help there brings up the yelp window, but no contents.  I can find no 
error messages either.



However, I do have "org.gnome.system.proxy" installed:

{{{
$ ls /usr/share/glib-2.0/schemas/org.gnome.system.proxy.gschema.xml
/usr/share/glib-2.0/schemas/org.gnome.system.proxy.gschema.xml
}}}


I do not.  Do you know what application installed it?  On my developement 
system, I do have it.  From the timestamp and my logs, it looks like it 
was installed at the dame time as gsettings-desktop-schemas when I was 
doing the validation for BLFS 7.8.




{{{
$ gsettings list-recursively org.gnome.system.proxy
org.gnome.system.proxy use-same-proxy true
org.gnome.system.proxy mode 'none'
org.gnome.system.proxy autoconfig-url ''
org.gnome.system.proxy ignore-hosts ['localhost', '127.0.0.0/8', '::1']
org.gnome.system.proxy.ftp host ''
org.gnome.system.proxy.ftp port 0
org.gnome.system.proxy.socks host ''
org.gnome.system.proxy.socks port 0
org.gnome.system.proxy.http host ''
org.gnome.system.proxy.http port 8080
org.gnome.system.proxy.http use-authentication false
org.gnome.system.proxy.http authentication-password ''
org.gnome.system.proxy.http authentication-user ''
org.gnome.system.proxy.http enabled false
org.gnome.system.proxy.https host ''
org.gnome.system.proxy.https port 0
}}}


I get that too on the development system but not on my workstations. 
Checking gsettings-desktop-schemas, I did install it.


OK, I got it working.  I reinstalled gsettings-desktop-schemas.  What I 
had done was respond to some warnings when I ran glib-compile-schemas. 
For example:


warning: Schema 'org.gnome.system.proxy.https' has path 
'/system/proxy/https/'.  Paths starting with '/apps/', '/desktop/' or 
'/system/' are deprecated.


So I had deleted org.gnome.system.proxy.gschema.xml to get rid of the 
warning.


Checking the web, it seems that others jsut ignore the warnings.  For 
instance: https://bugzilla.redhat.com/show_bug.cgi?id=814053


Fernando, thanks for responding.  Without your input I would not have 
figured this out.


  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] yelp problems

2016-01-12 Thread Bruce Dubbs

Bruce Dubbs wrote:


OK, I got it working.  I reinstalled gsettings-desktop-schemas.  What I
had done was respond to some warnings when I ran glib-compile-schemas. For
example:

warning: Schema 'org.gnome.system.proxy.https' has path
'/system/proxy/https/'.  Paths starting with '/apps/', '/desktop/' or
'/system/' are deprecated.

So I had deleted org.gnome.system.proxy.gschema.xml to get rid of the
warning.

Checking the web, it seems that others just ignore the warnings.  For
instance: https://bugzilla.redhat.com/show_bug.cgi?id=814053


It turns out that fixing the warnings is not hard.  I wonder why upstream 
has not done it.


sed -i -r 's:"(/system):"/org/gnome\1:'  \
  /usr/share/glib-2.0/schemas/*system*

Should we add it to the book?

  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] yelp problems

2016-01-12 Thread Fernando de Oliveira
Em 11-01-2016 20:16, Bruce Dubbs escreveu:
> Ken Moffat wrote:

Forgot to send a link that helped me to reply:

https://github.com/getlantern/lantern/issues/3129#issuecomment-139730928

-- 
[]s,
Fernando, aka Sísifo
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] yelp problems

2016-01-12 Thread Fernando de Oliveira
Em 11-01-2016 20:16, Bruce Dubbs escreveu:
> Ken Moffat wrote:
>> On Mon, Jan 11, 2016 at 04:23:58PM -0600, Bruce Dubbs wrote:
>>> I'm having a problem with yelp.  The window kinda works, but I don't
>>> get any
>>> text in the window.

Same here. Probably more than a year ago, I discovered one gnome package
that installs the text for that window (tried to remember these tow last
BLFS releases, but failed). It didn't seem to be useful just for that sake.

What I think matters is that the applications have their help displayed.
Hope that they are working for you.

But can search again t add to the book, the data file for just yelp, if
it is agreed to matter.

>>>
>>> If I start it from the command line, I get (WebKitWebProcess:16261):
>>>
>>> GLib-GIO-ERROR **: Settings schema 'org.gnome.system.proxy' is not
>>> installed
>>>
>>> In the logs, there is a message:
>>>
>>> traps: WebKitWebProces[16261] trap int3 ip:7f1edfaf0cc3 sp:7ffc372613a0
>>> error:0

Nothing here: no terminal message, when I start yelp from command line.

No "WebKitWebProces" in the logs, either:

{{{
# grep -r WebKitWebProces /var/log
/var/log/porg/webkitgtk3-2.4.9:/usr/libexec/WebKitWebProcess|12104|
/var/log/porg/webkitgtk-2.10.3:/usr/libexec/webkit2gtk-4.0/WebKitWebProcess|13648|
/var/log/porg/webkitgtk-2.10.4:/usr/libexec/webkit2gtk-4.0/WebKitWebProcess|13648|
}}}

Those are "porg" install logs.

However, I do have "org.gnome.system.proxy" installed:

{{{
$ ls /usr/share/glib-2.0/schemas/org.gnome.system.proxy.gschema.xml
/usr/share/glib-2.0/schemas/org.gnome.system.proxy.gschema.xml
}}}

{{{
$ gsettings list-recursively org.gnome.system.proxy
org.gnome.system.proxy use-same-proxy true
org.gnome.system.proxy mode 'none'
org.gnome.system.proxy autoconfig-url ''
org.gnome.system.proxy ignore-hosts ['localhost', '127.0.0.0/8', '::1']
org.gnome.system.proxy.ftp host ''
org.gnome.system.proxy.ftp port 0
org.gnome.system.proxy.socks host ''
org.gnome.system.proxy.socks port 0
org.gnome.system.proxy.http host ''
org.gnome.system.proxy.http port 8080
org.gnome.system.proxy.http use-authentication false
org.gnome.system.proxy.http authentication-password ''
org.gnome.system.proxy.http authentication-user ''
org.gnome.system.proxy.http enabled false
org.gnome.system.proxy.https host ''
org.gnome.system.proxy.https port 0
}}}

{{{
$ grep -r org.gnome.system.proxy /var/log/porg/
/var/log/porg/gsettings-desktop-schemas-3.18.1:/usr/share/glib-2.0/schemas/org.gnome.system.proxy.gschema.xml|6240|
/var/log/porg/gsettings-desktop-schemas-3.18.0:/usr/share/glib-2.0/schemas/org.gnome.system.proxy.gschema.xml|6240|
}}}

In one log, I have:

{{{
$ xzgrep -A1 org.gnome.system.proxy \
> gsettings-desktop-schemas-3.18.1-2015.10.26-09h57m41s.log.xz \
> | grep -A1 install
/usr/bin/install -c -m 644
org.gnome.desktop.default-applications.gschema.xml
org.gnome.desktop.interface.gschema.xml
org.gnome.desktop.lockdown.gschema.xml
org.gnome.system.locale.gschema.xml
org.gnome.system.location.gschema.xml org.gnome.system.proxy.gschema.xml
org.gnome.desktop.sound.gschema.xml
org.gnome.desktop.thumbnail-cache.gschema.xml
org.gnome.desktop.a11y.gschema.xml
org.gnome.desktop.a11y.keyboard.gschema.xml
org.gnome.desktop.a11y.applications.gschema.xml
org.gnome.desktop.a11y.magnifier.gschema.xml
org.gnome.desktop.a11y.mouse.gschema.xml
org.gnome.desktop.thumbnailers.gschema.xml
org.gnome.desktop.session.gschema.xml
org.gnome.desktop.background.gschema.xml
org.gnome.desktop.datetime.gschema.xml
org.gnome.desktop.media-handling.gschema.xml
org.gnome.desktop.screensaver.gschema.xml
org.gnome.desktop.search-providers.gschema.xml
org.gnome.desktop.wm.keybindings.gschema.xml
org.gnome.desktop.wm.preferences.gschema.xml
org.gnome.desktop.input-sources.gschema.xml
org.gnome.desktop.privacy.gschema.xml
org.gnome.desktop.notifications.gschema.xml
org.gnome.desktop.app-folders.gschema.xml
org.gnome.desktop.peripherals.gschema.xml org.gnome.desktop.enums.xml
"/usr/share/glib-2.0/schemas"; \
test -n "" || glib-compile-schemas /usr/share/glib-2.0/schemas; \
}}}

>>> Does anyone have an idea about what is going on?
> 
>> Have you installed gsettings-desktop-schemas ?
> 
> Yes. I installed everything in Chapter 35, GNOME Libraries and Utilities.
> 

Suggestions (obvious, for you, but this thread might eventually help
others):

1. Check your install log for org.gnome.system.proxy

2. If org.gnome.system.proxy.gschema.xml is installed, update  again:

glib-compile-schemas /usr/share/glib-2.0/schemas

>> Google has a couple
>> of links which point to that.  Failing that, perhaps better on a
>> blfs list ? ;-)
> 
> Oops, typo.


-- 
[]s,
Fernando, aka Sísifo
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page