Re: How to create langpacks for a rpm package?

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

 



> From: "Petr Pisar" <ppisar@xxxxxxxxxx>
> On 2016-01-08, Mark Wielaard <mjw@xxxxxxxxxx> wrote:
> > On Fri, 2016-01-08 at 08:31 +0000, Petr Pisar wrote:
> >> Utilizing this feature (as well as documentation stripping) is job for
> >> a package manager. For DNF.
> >
> > How does DNF do this?
> > How would I (de)install/scrub (un)needed translations from my system?
> >
> I think DNF does not support it.

There's a proposal to have langpacks defined by weak and rich dependency
feature of rpm [1] without rpm macros and plugin code. That way the unneeded
langpack would be automatically erased when the package it belongs to
does not exist on your system anymore or you have removed the language.

> But it should work on rpm level. See %_install_langs in
> /usr/lib/rpm/macros. I guess if you set the macro to empty or `C' value,
> and reinstall a package, its locale files should disappear from the file
> system.
> 
> And because DNF uses rpm for installation, I believe it should affect
> packages installed by DNF too.

exactly

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1114422#c22
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux