NetBSD Problem Report #50063

From tsutsui@ceres.dti.ne.jp  Sun Jul 19 08:17:43 2015
Return-Path: <tsutsui@ceres.dti.ne.jp>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id E1D96A654B
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 19 Jul 2015 08:17:43 +0000 (UTC)
Message-Id: <201507190817.t6J8Hcmf009815@mirage.localdomain>
Date: Sun, 19 Jul 2015 17:17:38 +0900 (JST)
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Reply-To: tsutsui@ceres.dti.ne.jp
To: gnats-bugs@gnats.NetBSD.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: suse_fontconfig should not use local.conf for pkgsrc settings
X-Send-Pr-Version: 3.95

>Number:         50063
>Category:       pkg
>Synopsis:       suse_fontconfig should not use local.conf for pkgsrc settings
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 19 08:20:00 +0000 2015
>Originator:     Izumi Tsutsui
>Release:        NetBSD 6.1.5 + pkgsrc-2015Q2
>Organization:
>Environment:
System: NetBSD 6.1.5
Architecture: i386
Machine: i386
>Description:
suse100_fontconfig, suse121_fontconfig, and suse131_fontconfig use
/usr/pkg/etc/fonts/local.conf for pkgsrc fontpath settings.

There is no way for users to put site/host specific local fontconfig
settings for Linux binaries because modifications against
/usr/pkg/etc/fonts/local.conf will be overwrite by the "pkg_add -u" ops.

Note I would like to add local font settings for adobe-flash-plugin
on NetBSD/i386 and NetBSD/amd64.

suse131_fontconfig (for NetBSD 7.0_RC1) also checks
~/.config/fontconfig/fonts.conf so we can put local settings there,
but suse121_fontconfig (for NetBSD 6.x) just checks histrical
~/.fonts.conf and newer pkgsrc fontconfig for native app complains
"~/.fonts.conf is deprecated" everytime.

>How-To-Repeat:
- pkg_add suse121_fontconfig
- edit /usr/pkg/etc/fonts/local.conf and add site specific settings
- pkg_add -U suse121_fontconfig

>Fix:
Move current pkgsrc specific definitions in
pkgsrc/emulators/suse1??_fontconfig/files/local.conf.in
(which will be stored as /usr/pkg/etc/fonts/local.conf)
into other place, like /usr/pkg/etc/fonts/conf.d/51-pkgsrc.conf etc.,
as native pkgsrc/fonts/fontconfig does for files/30-pkgsrc-aliases.conf?

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.