pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50063: suse_fontconfig should not use local.conf for pkgsrc settings



>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?



Home | Main Index | Thread Index | Old Index