Home_greyopenFATE - openSUSE feature tracking > #313536
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

Get rid of SuSEconfig.fonts

Feature state

openSUSE Distribution
Done

Description

There is no point to run that code after installation of every package
(and it's not run when you use zypper or 3rd party tools anyways). That
code should be only run as a part of post-install of the fonts packages as only those are affected.

Relations

Discussion


icons/user_comment.png P. G. wrote: (5 years ago)

Added "fontpackage" package to the M17N:fonts. fontpackage is intended to common runtime deps of every font package (e. g. /usr/share/fonts/truetype) and fontpackage-devel for buildtime dependency of every font package. fontpackage-devel contains only one file for now, which installs on /etc/rpm/macros.fonts-config. For details see
osc cat M17N:fonts fontpackage rpm-macros.fonts-config
Example of modified font package is M17N:fonts/xano-mincho-fonts.

Could you please express your opinion on this plan?

icons/user_comment.png P. G. wrote: (5 years ago)

After rethinking I've choosen fontpackages-runtime and fontpackages-devel.

icons/user_comment.png T. K. wrote: (5 years ago)

I'm not a fonts expert, but looks good to me, beside one thing I don't really like: fontpackages-runtime contains only one directory. I think we should drop that package and package the directory inside of the RPMs which contains fonts. This has the big advantage, that RPM will take care of the directory itself, if the last package using it is removed. Or the directory should be added to filesystem directory, which includes already the parent directory.

icons/user_comment.png P. G. wrote: (5 years ago)

Ok, submitted fontpackages package into factory. sr #127540.

icons/user_comment.png P. G. wrote: (5 years ago)

As far as I can tell, M17N:fonts are ready for removing SUSEconfig.fonts. There are few packages using %run_suseconfig_fonts macro:
844-ksc-pcf (forgotten font package to be moved to M17N:fonts)
daps
fonts-config
plotutils
susedoc
texlive-bin
tv-fonts (package maybe to be moved to M17N:fonts)
x3270
xmahjong
xorg-x11-fonts
xterm
Also ghostcript-fonts package is subject to change in this regard (%run_suseconfig -m fonts).

Unfortunately I can do anything until fontpackages package is in factory, so this process is blocked by license issue of our own code :-/ (see declined sr #127540). Maybe we could consider to accept package as is for now and change license later (of course Novell replaced by SUSE LINUX Products GmbH, Nuernberg, Germany or something like that).

icons/user_comment.png P. G. wrote: (5 years ago)

I have issued appropriate submitrequests for packages above. I didn't care about building for older distributions because I always try to not add if-suse_version-bloat when not needed. Failing build of packages can be easily fixed by adding new fontpackages (link to M17N:fonts/fontpackages) dependency into project where affected package is located.

icons/user_comment.png T. K. wrote: (5 years ago)

"You are not authorized to access Bug #772595."

About what is the bug and why is access limited?

icons/user_comment.png P. G. wrote: (5 years ago)

This is default policy for legal issues I think. I have added you to cc of this bug.

icons/user_comment.png P. G. wrote: (5 years ago)

Request: #130395
submit: home:pgajdos/rpm -> Base:System

Message:
- remove %run_suseconfig_fonts macro (openFATE#313536); new macros
using fonts-config directly exist in M17N:fonts/fontpackages

State: new 2012-08-08T13:33:44 pgajdos
Comment: <no comment>

icons/user_comment.png P. G. wrote: (5 years ago)

Request: #131876
submit: M17N/fonts-config -> openSUSE:Factory

Message:
- remove SuSEconfig.fonts (openFATE#313536)
State: review 2012-08-28T17:14:20 pgajdos
Comment: <no comment>

Review: new Group: factory-auto
new Group: legal-auto

Last change: 5 years ago
Voting
Score: 2
  • Negative: 0
  • Neutral: 0
  • Positive: 2
Tags
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint