From nobody Sun Oct 22 01:05:06 2023 X-Original-To: gnome@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SCg8z6cWQz4xppN for ; Sun, 22 Oct 2023 01:05:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SCg8z5M20z4Dfy for ; Sun, 22 Oct 2023 01:05:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697936707; a=rsa-sha256; cv=none; b=KmjkqrJD4eLrzPBysqRGEYMgnQTmiT/nkCUpokATaHwHyr+CVSirRSrFm7RKIZytqMnFql jK6TMkqPMUsmQzNuQtX9JS9AvlUWn2m6ASSRDQgsUuJ2HgOyhlb7zYGhqLYZDY+mm1pLNp wsTN3OGFNWmm8HgXo0zEVqlVEz/j0JXFwnXCMFMHWncVHJB/q/wN2dRGjH7ORHu4nHn9eB UIVYrlbDNZcrCFnlSg2T+9VKgaFbpGMwvxc+INlLKT8T+RkQ4Xcy23OfvYOzXJtpYGwvpz th5/tEaatySTUR+JZCnNUh4/vl8bkOCPutLJ4++PJy6FqPl9tJPWp2nrhooT6Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697936707; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZcMEqJZIs3/srho1vZ7+qXzbEj3xzNeStEWKCN4gK+I=; b=OReLFQHEJt0qUv6CKgC+QIA0G0mw4k07Pa/y/Gq/S3ko+4KDh9Fvt5ZOx/9e8N+RwWmdj2 6XVI81IqCDLT7YmXoWbEiJ46mbM5+ZiuroigFSByAcjmo8rc2bDRYNj6WOyolPt6SchY7K YaHKnkWwR1N+p6dijKandrBHBmUchMEHacqP8lUb8x+zlUlS8dO5ojxCOmZQJvWYvo2yTc +44vewC2/htMgcdkm5FmI0RcU3p3Z2mxjh8JXBkCGc/gIRIluIW23jm1ESyhJyftAY97o6 vvn2JF7by2Z4KQZqIBzIh2+sQvGbRXbRyHz3TEJmWwGPAc5G7IdTMa8KcJmXTQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SCg8z4S84zd2V for ; Sun, 22 Oct 2023 01:05:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39M1574b044655 for ; Sun, 22 Oct 2023 01:05:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39M157KR044654 for gnome@FreeBSD.org; Sun, 22 Oct 2023 01:05:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 225378] devel/glib20: Fix mime search path when LOCALBASE != /usr/local (honour LOCALBASE) Date: Sun, 22 Oct 2023 01:05:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: easy, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: merge-quarterly? exp-run- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: GNOME for FreeBSD -- porting and maintaining List-Archive: https://lists.freebsd.org/archives/freebsd-gnome List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-gnome@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225378 --- Comment #13 from Jan Beich --- (In reply to Gleb Popov from comment #12) I disagree. Patching is correct but suboptimal. /usr/local in XDG is based on Linux FHS aka GNU hier(7). /usr/local should *not* be modified by system package manager. NetBSD made PkgSrc compatible = by changing LOCALBASE default while FreeBSD takes advantage of ambiguity/mess under POLA banner. FreeBSD hier(7) cannot guarantee /usr/local exists outside of ports(7) cont= ext. Nowadays, /usr/local is semi-standardized (used by base system but not documented in hier(7) yet) as LOCABLASE environment variable with "sysctl user.localbase" fallback. FreeBSD equivalent of /usr/local in GNU hier(7) would be any custom non-conflicting top-level directory like /local. Given FreeBSD already uses "local" to denote site-local configuration (e.g., rc.conf vs. rc.conf.local) top-level /local can be a natural extension even if not defined by hier(7).= =20 See also https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s09.html https://github.com/netbsd/pkgsrc/commit/41ed126f8745 https://wiki.freebsd.org/WarnerLosh/UsrLocal --=20 You are receiving this mail because: You are on the CC list for the bug.=