Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2018 10:14:45 +0100
From:      Kurt Jaeger <lists@opsec.eu>
To:        blubee blubeeme <gurenchan@gmail.com>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: glib-compile-schemas
Message-ID:  <20180120091445.GC58156@home.opsec.eu>
In-Reply-To: <CALM2mEmen9WfbLenUYK7gWphFVgpmCXpwrAs3q=2L1ALYQ%2BkKA@mail.gmail.com>
References:  <CALM2mEmen9WfbLenUYK7gWphFVgpmCXpwrAs3q=2L1ALYQ%2BkKA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

> I am building a gnome based port.
> 
> The port builds and installs successfully but it doesn't work.
> 
> Looking around I need to run glib-compile-schemas like this:
> 
> glib-compile-schemas /usr/local/share/glib-2.0/schemas/
> 
> After running that command the port works as expected, is there a standard
> way to handle this in the port's Makefile?

Then there's Keywords/glib-schemas.ucl which points to
GLIB_SCHEMAS.

According to Mk/Uses/gnome.mk:

GLIB_SCHEMAS

Set the following to list of all gsettings schema files
(*.gschema.xml) that your ports installs. The 
schema files will be automatically added to 
the ${PLIST}. For example, if your port has 
"share/glib-2.0/schemas/(foo.gschema.xml and bar.gschema.xml)", 
add the following to your Makefile:
"GLIB_SCHEMAS=foo.gschema.xml bar.gschema.xml".

-- 
pi@opsec.eu            +49 171 3101372                         2 years to go !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180120091445.GC58156>