[MacPorts] #38634: gtk3: post-activate should call glib-compile-schemas

MacPorts noreply at macports.org
Tue Apr 2 00:41:13 PDT 2013


#38634: gtk3: post-activate should call glib-compile-schemas
------------------------+--------------------------------
  Reporter:  gui_dos@…  |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.1.3
Resolution:             |   Keywords:  gsettings
      Port:  gtk3       |
------------------------+--------------------------------
Description changed by gui_dos@…:

Old description:

> If you run "Pickers" from gtk3-demo the following error is reported
> when you try to choose a file:
>
> {{{
> GLib-GIO-ERROR **: No GSettings schemas are installed on the system
> }}}
>

> That's because the
> ```/opt/local/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml```
> has not been compiled: calling ```glib-compile-schemas``` is needed in
> the post-activate stage:
>

> {{{
> post-activate {
>     system "${prefix}/bin/glib-compile-schemas \
>         >${prefix}/share/glib-2.0/schemas"
> }
> }}}

New description:

 If you run "Pickers" from gtk3-demo the following error is reported
 when you try to choose a file:

 {{{
 GLib-GIO-ERROR **: No GSettings schemas are installed on the system
 }}}


 That's because the
 ```/opt/local/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml```
 has not been compiled: calling ```glib-compile-schemas``` is needed in the
 post-activate stage:


 {{{
 post-activate {
     system "${prefix}/bin/glib-compile-schemas
 ${prefix}/share/glib-2.0/schemas"
 }
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/38634#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list