From owner-freebsd-ports@freebsd.org Sat Jan 20 09:24:11 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12DEDEC554D for ; Sat, 20 Jan 2018 09:24:11 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CEABF70473 for ; Sat, 20 Jan 2018 09:24:10 +0000 (UTC) (envelope-from antoine.brodin.freebsd@gmail.com) Received: by mail-it0-x236.google.com with SMTP id q8so4775604itb.2 for ; Sat, 20 Jan 2018 01:24:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=c4OA3LpoMcMGj8ikv3I2Rw7kA+lu374VwdZOcNKsoEA=; b=X9xeZQuSAtRVuNHo9K49WUU4suaVe/7p3gHglsdenVanvdBC+lfUz16vMsZx4fOWxd KGbOz46fYUc0cw8BlmE1cOSCRn4nhLar0xuAh8/gomqqC3kZqShVSg4JnVntEF3pKZGX xSxaM3DzV697zkcrAlgZVqoyi/HwpXbqhCg+RH4C3QFzW2dQB+QL6grvyywiKgr0x7Oj mS7pektbqqxMXBA6FOWvTcAwC8gYuajwgankRpgWzsApF7RP05GDCTFFfimD+JH+QIGh lE41JCcBj6bQON7FGH1EFqZdDYMHBgFOuD2Npxn367OMtqOAUvy+w2zC8t8LjbehpGhq dWzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=c4OA3LpoMcMGj8ikv3I2Rw7kA+lu374VwdZOcNKsoEA=; b=PIrMW8xmPUaAd2E4yf3Mu98qCWqKxe7QbUUUsHhBkhuUF7C8gb0FUGdZTjWwQ56LFJ wPYWZduqO+7ICSb31jPmk4IiU5TxBKpSVvE6O4VLjAcmt24rnl67HBBoiFqLTTdFVjHK cywQXKO0XDOGK/7pWDa28J6t5R6C/HZAlK63TpYEZKy2WPvDjCghswKrGbYEKW8AugBw RYlrmcslNkB8BWlF4UxtZv6YVAnthVBVY4YkTWGUlGU0S5cYBfQY7DiFPcYUEk+JwwmJ 3kyo268k1dB/zm1ichMBcaeJmoHaYCIQQsJMpTs8e1nqpLacYmpBkJ9fugRNbsGb5Nvr Z7ag== X-Gm-Message-State: AKwxytewNbh8nuGtCGxmFqdRoRWrBv43JwKXECqHtYUt8n6BJf0I/Beh GilfOwC9rd/XB1Nk3sf7qh9KzhNkFk6oVapBLZQ= X-Google-Smtp-Source: AH8x225rgr32Jt2jlv3EjCGCsFpe/i0C17SIs8hkxmQCctLbtelCv2epoeOQdXV1R8LUsVbboc16EJPa3DMzpDF9/Kg= X-Received: by 10.36.79.132 with SMTP id c126mr1078968itb.45.1516440250120; Sat, 20 Jan 2018 01:24:10 -0800 (PST) MIME-Version: 1.0 Sender: antoine.brodin.freebsd@gmail.com Received: by 10.107.89.13 with HTTP; Sat, 20 Jan 2018 01:24:09 -0800 (PST) In-Reply-To: <20180120090912.GB58156@home.opsec.eu> References: <20180120090912.GB58156@home.opsec.eu> From: Antoine Brodin Date: Sat, 20 Jan 2018 10:24:09 +0100 X-Google-Sender-Auth: q-tgUf43wXmJzT_87Fu2Xc68FC4 Message-ID: Subject: Re: glib-compile-schemas To: Kurt Jaeger Cc: blubee blubeeme , FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2018 09:24:11 -0000 On Sat, Jan 20, 2018 at 10:09 AM, Kurt Jaeger 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