Bug 225378 - devel/glib20: Fix mime search path when LOCALBASE != /usr/local (honour LOCALBASE)
Summary: devel/glib20: Fix mime search path when LOCALBASE != /usr/local (honour LOCAL...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-desktop (Team)
URL:
Keywords: easy, needs-qa
Depends on:
Blocks:
 
Reported: 2018-01-22 13:19 UTC by John Hein
Modified: 2020-11-05 05:04 UTC (History)
5 users (show)

See Also:
koobs: merge-quarterly?
antoine: exp-run-


Attachments
[patch] fix mime search patch for non-default LOCALBASE (956 bytes, patch)
2018-01-22 13:19 UTC, John Hein
no flags Details | Diff
[patch] v2: fix mime search patch for non-default LOCALBASE (2.19 KB, patch)
2019-02-19 17:49 UTC, John Hein
koobs: maintainer-approval+
Details | Diff
[patch] v3: fix mime search patch for non-default LOCALBASE (3.24 KB, patch)
2019-02-21 02:28 UTC, John Hein
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Hein 2018-01-22 13:19:43 UTC
Created attachment 189964 [details]
[patch] fix mime search patch for non-default LOCALBASE

glib fails to find mime.cache when LOCALBASE is not /usr/local.

Workaround: define XDG_DATA_DIRS in environment.

Fix: see attached patch

Bump PORTREVISION at your discretion.  This will only change the package for those who have a non-default LOCALBASE (i.e., not official freebsd packages).
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-09-03 14:41:48 UTC
ping!
Comment 2 John Hein 2019-02-19 17:49:59 UTC
Created attachment 202168 [details]
[patch] v2: fix mime search patch for non-default LOCALBASE

Refresh patch against latest.
Comment 3 John Hein 2019-02-19 17:51:09 UTC
Maybe this should have an exp-run since it's so widely used?
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2019-02-20 12:34:53 UTC
Comment on attachment 202168 [details]
[patch] v2: fix mime search patch for non-default LOCALBASE

Approved by: portmgr (blanket: framework compliance, bugfix)

Pending QA
Comment 5 John Hein 2019-02-21 02:28:40 UTC
Created attachment 202212 [details]
[patch] v3: fix mime search patch for non-default LOCALBASE

(In reply to Kubilay Kocak from comment #4)

v3: I refreshed the patch files via makepatch for the patch files I touched (no unnecessary churn for untouched patch files).

QA:
 poudriere testport: ok
 portlint: ok, no new warnings
Comment 6 Tobias C. Berner freebsd_committer 2020-11-05 05:04:09 UTC
Moin moin 

Is this still an issue?


mfg Tobias