Package Details: localepurge 0.7.3.4-2

Git Clone URL: https://aur.archlinux.org/localepurge.git (read-only)
Package Base: localepurge
Description: Script to remove disk space wasted for unneeded localizations.
Upstream URL: http://packages.debian.org/source/sid/localepurge
Licenses: GPL
Submitter: None
Maintainer: hcartiaux
Last Packager: hcartiaux
Votes: 243
Popularity: 4.463648
First Submitted: 2007-07-08 16:29
Last Updated: 2016-08-08 09:32

Dependencies (0)

Required by (0)

Sources (5)

Latest Comments

ArchangeGabriel commented on 2016-05-24 12:10

A good article on that: https://www.andreascarpino.it/posts/localepurge-the-arch-way.html

ArchangeGabriel commented on 2016-05-24 09:14

Nice, NoExtract is definitively the right way to do this. Switching to it right now (remember to do a localepurge before ;)).

symen commented on 2016-05-24 08:17

@meskarune
I switched to using NoExtract in pacman.conf, following someone's advice on the Arch BBS. For this use-case it is cleaner and the setup is documented on the ArchWiki:
https://wiki.archlinux.org/index.php/Pacman#Skip_files_from_being_installed_to_system

meskarune commented on 2016-05-22 23:01

@symen maybe you can add your hook to the arch wiki so other people can make use of it?

ArchangeGabriel commented on 2016-03-27 20:09

I would love to see this feature in. The code to be reviewed is this one?
https://anonscm.debian.org/cgit/collab-maint/localepurge.git/tree/usr/sbin/localepurge?id=1d18c4b710154b9188116d9d85779d1f613a77b5

Plus your patch, right?

hcartiaux commented on 2016-02-12 09:08

That's a good idea, but if there's a bug in localepurge, the hook could cause a "delayed disaster", difficult to diagnose and debug...

I agree to include the hook only if we take the time to review the full code of localepurge and my diff.

symen commented on 2016-02-12 02:29

A new feature (hooks) in pacman 5.0 (freshly released) would allow localepurge to run after each install/update containing locales.
I quickly wrote a hook file that seems to work fine (but may spit too much output): https://gist.github.com/simonbru/2373a968be3cf67b4ed6

Do you plan to bundle a similar hook with localepurge ? I think this would make localepurge much nicer to use, but I don't know if this should be bundled with localepurge or installed as an additional package.

kozaki commented on 2014-12-09 15:20

This makes a difference in disk's utilisation
Thanks a lot hcartiaux for adopting it!

hcartiaux commented on 2014-02-04 20:49

I had to recreate the patch localepurge.config.diff.
I've tested and it should be ok, you can read my diff here:
https://github.com/hcartiaux/archlinux-packages

hcartiaux commented on 2014-02-04 17:38

I add to recreate the patch file localepurge.config.diff.
I've tested and it should be ok, you can read my diff here:
https://github.com/hcartiaux/archlinux-packages

All comments