* [gentoo-user] Broken localepurge
@ 2015-03-19 10:15 Peter Humphrey
2015-03-19 15:15 ` Fernando Rodriguez
0 siblings, 1 reply; 6+ messages in thread
From: Peter Humphrey @ 2015-03-19 10:15 UTC (permalink / raw
To: gentoo-user
Hello list,
Bug https://bugs.gentoo.org/show_bug.cgi?id=491010 registers the fact that
specifying -nocolor to localepurge causes it to stop, and a diff is included
to fix the problem. But that was 16 months ago, no-one's done anything since
and the fault is still present.
I haven't done any patching of ebuilds before, so I have some learning to
do. Meanwhile, does anyone here have a ready fix?
--
Rgds
Peter.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Broken localepurge
2015-03-19 10:15 [gentoo-user] Broken localepurge Peter Humphrey
@ 2015-03-19 15:15 ` Fernando Rodriguez
2015-03-20 9:14 ` Peter Humphrey
0 siblings, 1 reply; 6+ messages in thread
From: Fernando Rodriguez @ 2015-03-19 15:15 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 690 bytes --]
On Thursday, March 19, 2015 10:15:58 AM Peter Humphrey wrote:
> Hello list,
>
> Bug https://bugs.gentoo.org/show_bug.cgi?id=491010 registers the fact that
> specifying -nocolor to localepurge causes it to stop, and a diff is included
> to fix the problem. But that was 16 months ago, no-one's done anything since
> and the fault is still present.
>
> I haven't done any patching of ebuilds before, so I have some learning to
> do. Meanwhile, does anyone here have a ready fix?
Looks like Jan-Matthias does.
You can just apply the patch directly to the localepurge script.
patch /usr/bin/localepurge localepurge-0.5.4-fix_option_parsing.patch
--
Fernando Rodriguez
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Broken localepurge
2015-03-19 15:15 ` Fernando Rodriguez
@ 2015-03-20 9:14 ` Peter Humphrey
2015-03-20 10:33 ` Peter Humphrey
0 siblings, 1 reply; 6+ messages in thread
From: Peter Humphrey @ 2015-03-20 9:14 UTC (permalink / raw
To: gentoo-user
On Thursday 19 March 2015 11:15:55 Fernando Rodriguez wrote:
> On Thursday, March 19, 2015 10:15:58 AM Peter Humphrey wrote:
> >Meanwhile, does anyone here have a ready fix?
>
> Looks like Jan-Matthias does.
> You can just apply the patch directly to the localepurge script.
>
> patch /usr/bin/localepurge localepurge-0.5.4-fix_option_parsing.patch
Yes, I saw that and downloaded it, then tried calling it from the ebuild.
There are five other patches already, and I haven't yet found the right
place in the sequence to add this one.
Still working on it...
--
Rgds
Peter.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Broken localepurge
2015-03-20 9:14 ` Peter Humphrey
@ 2015-03-20 10:33 ` Peter Humphrey
2015-03-20 17:02 ` Fernando Rodriguez
0 siblings, 1 reply; 6+ messages in thread
From: Peter Humphrey @ 2015-03-20 10:33 UTC (permalink / raw
To: gentoo-user
On Friday 20 March 2015 09:14:42 I wrote:
> On Thursday 19 March 2015 11:15:55 Fernando Rodriguez wrote:
> > On Thursday, March 19, 2015 10:15:58 AM Peter Humphrey wrote:
> > >Meanwhile, does anyone here have a ready fix?
> >
> > Looks like Jan-Matthias does.
> > You can just apply the patch directly to the localepurge script.
> >
> > patch /usr/bin/localepurge localepurge-0.5.4-fix_option_parsing.patch
>
> Yes, I saw that and downloaded it, then tried calling it from the ebuild.
> There are five other patches already, and I haven't yet found the right
> place in the sequence to add this one.
>
> Still working on it...
I found the problem: the line count was wrong in the patch file. Once I'd
fixed that, all was hunky-dory.
I've submitted the corrected patch to the bug report.
--
Rgds
Peter.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Broken localepurge
2015-03-20 10:33 ` Peter Humphrey
@ 2015-03-20 17:02 ` Fernando Rodriguez
2015-03-20 23:23 ` Peter Humphrey
0 siblings, 1 reply; 6+ messages in thread
From: Fernando Rodriguez @ 2015-03-20 17:02 UTC (permalink / raw
To: gentoo-user
On Friday, March 20, 2015 10:33:29 AM Peter Humphrey wrote:
> On Friday 20 March 2015 09:14:42 I wrote:
> > On Thursday 19 March 2015 11:15:55 Fernando Rodriguez wrote:
> > > On Thursday, March 19, 2015 10:15:58 AM Peter Humphrey wrote:
> > > >Meanwhile, does anyone here have a ready fix?
> > >
> > > Looks like Jan-Matthias does.
> > > You can just apply the patch directly to the localepurge script.
> > >
> > > patch /usr/bin/localepurge localepurge-0.5.4-fix_option_parsing.patch
> >
> > Yes, I saw that and downloaded it, then tried calling it from the ebuild.
> > There are five other patches already, and I haven't yet found the right
> > place in the sequence to add this one.
> >
> > Still working on it...
>
> I found the problem: the line count was wrong in the patch file. Once I'd
> fixed that, all was hunky-dory.
>
> I've submitted the corrected patch to the bug report.
It applied cleanly for me. I tried it before replying.
--
Fernando Rodriguez
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Broken localepurge
2015-03-20 17:02 ` Fernando Rodriguez
@ 2015-03-20 23:23 ` Peter Humphrey
0 siblings, 0 replies; 6+ messages in thread
From: Peter Humphrey @ 2015-03-20 23:23 UTC (permalink / raw
To: gentoo-user
On Friday 20 March 2015 13:02:39 Fernando Rodriguez wrote:
> On Friday, March 20, 2015 10:33:29 AM Peter Humphrey wrote:
> > I've submitted the corrected patch to the bug report.
>
> It applied cleanly for me. I tried it before replying.
That's good - thanks.
You will have seen that I asked for progress in getting a revision 3 out,
but I think it'll be hampered by this:
* QA Notice: This ebuild installs into paths that should be created at runtime.
* To fix, simply do not install into these directories. Instead, your package
* should create dirs on the fly at runtime as needed via init scripts/etc...
*
* var/cache
* var/cache/localepurge
* var/cache/localepurge/localelist
I'll have to think some more about how to fix that. Should be simple enough
if I can remember enough bash.
--
Rgds
Peter.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-03-20 23:23 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-19 10:15 [gentoo-user] Broken localepurge Peter Humphrey
2015-03-19 15:15 ` Fernando Rodriguez
2015-03-20 9:14 ` Peter Humphrey
2015-03-20 10:33 ` Peter Humphrey
2015-03-20 17:02 ` Fernando Rodriguez
2015-03-20 23:23 ` Peter Humphrey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox