Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183273 - app-admin/localepurge: removal (was: doesn't find some unneeded locale files and localized man pages)
Summary: app-admin/localepurge: removal (was: doesn't find some unneeded locale files ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: Pending removal: 2018-12-11
Keywords: NeedPatch, PMASKED
Depends on:
Blocks:
 
Reported: 2007-06-26 14:32 UTC by yuk
Modified: 2018-12-11 14:01 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/usr/bin/localepurge modified (localepurge,7.56 KB, text/plain)
2007-06-26 14:33 UTC, yuk
Details
/var/cache/localepurge/localelist modified (localelist,1.88 KB, text/plain)
2007-06-26 14:34 UTC, yuk
Details
diff between ebuild's localepurge and mine (localepurge.diff,1.48 KB, text/plain)
2007-06-26 14:43 UTC, yuk
Details
diff between ebuild's localelist and mine (localelist.diff,1.31 KB, text/plain)
2007-06-26 14:44 UTC, yuk
Details
/var/cache/localepurge/localelist updated (localepurge-0.5.3.3-defaultlist.patch,1.05 KB, patch)
2012-12-01 21:48 UTC, Wim Muskee
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description yuk 2007-06-26 14:32:09 UTC
I noticed localepurge doesn't erase some unneeded files.
I modified the original script and now it seems to work better.

Reproducible: Always

Steps to Reproduce:
1. run localepurge -v
2. example: find / -name "*.mo"
3.

Actual Results:  
You will see your locale and some other

Expected Results:  
I'd have to see only my locale...
Comment 1 yuk 2007-06-26 14:33:06 UTC
Created attachment 123115 [details]
/usr/bin/localepurge modified
Comment 2 yuk 2007-06-26 14:34:00 UTC
Created attachment 123117 [details]
/var/cache/localepurge/localelist modified
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-06-26 14:36:20 UTC
Please, attach a unified diff, so that people can actually review what you have changed easily.
Comment 4 yuk 2007-06-26 14:43:38 UTC
Created attachment 123119 [details]
diff between ebuild's localepurge and mine
Comment 5 yuk 2007-06-26 14:44:41 UTC
Created attachment 123120 [details]
diff between ebuild's localelist and mine
Comment 6 Pacho Ramos gentoo-dev 2012-03-21 11:58:44 UTC
Could you provide an updated patch? Things like realplayer are no longer needed to be handled for ages

Thanks
Comment 7 Wim Muskee 2012-12-01 21:48:58 UTC
Created attachment 331162 [details, diff]
/var/cache/localepurge/localelist updated

diff of +26 locales
Comment 8 Wim Muskee 2012-12-01 21:56:26 UTC
And add 

/usr/share/binutils-data/*/*/locale
/usr/share/gcc-data/*/*/locale

to /usr/bin/localepurge LOCALEDIRS.

Both this and previous comment are for localepurge-0.5.3.3-r1
Comment 9 Wim Muskee 2012-12-08 09:01:36 UTC
Perhaps finding current manpages to the system in question can be based on the MANPATH.
Comment 10 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-04-26 12:56:54 UTC
Are the attachments still up-to-date, are they patches to be ran from the ebuild?
Comment 11 Larry the Git Cow gentoo-dev 2018-12-11 14:01:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9fdf5659da268d8d7f2a81c440637081ae70dc6

commit e9fdf5659da268d8d7f2a81c440637081ae70dc6
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-12-11 13:56:32 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-12-11 13:56:32 +0000

    app-admin/localepurge: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/183273
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 app-admin/localepurge/Manifest                     |  1 -
 .../files/localepurge-0.5.4-directorysum.patch     | 20 --------
 .../files/localepurge-0.5.4-evaltotal.patch        | 11 ----
 .../files/localepurge-0.5.4-parentdir.patch        | 18 -------
 .../files/localepurge-0.5.4-prefix.patch           | 58 ----------------------
 app-admin/localepurge/localepurge-0.5.4-r2.ebuild  | 43 ----------------
 app-admin/localepurge/metadata.xml                 |  7 ---
 profiles/package.mask                              |  7 ---
 8 files changed, 165 deletions(-)