Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2018 10:24:09 +0100
From:      Antoine Brodin <antoine@freebsd.org>
To:        Kurt Jaeger <lists@opsec.eu>
Cc:        blubee blubeeme <gurenchan@gmail.com>, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: glib-compile-schemas
Message-ID:  <CAALwa8mpBRXqpx=1u-eS=Ujqn-Sh22uXejgwS-uGuiB1GWOn1g@mail.gmail.com>
In-Reply-To: <20180120090912.GB58156@home.opsec.eu>
References:  <CALM2mEmen9WfbLenUYK7gWphFVgpmCXpwrAs3q=2L1ALYQ%2BkKA@mail.gmail.com> <20180120090912.GB58156@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 20, 2018 at 10:09 AM, Kurt Jaeger <lists@opsec.eu> wrote:
> 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?
>
> devel/glib20 has this in its pkg-plist:
>
> @postexec %D/bin/glib-compile-schemas %D/share/glib-2.0/schemas 2>/dev/null || /usr/bin/true

But it would be wrong to add it to another port,  GLIB_SCHEMAS is
there for this.

Antoine



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8mpBRXqpx=1u-eS=Ujqn-Sh22uXejgwS-uGuiB1GWOn1g>