[aur-general] Incorrect name when downloading from source=()

2009-06-16 Thread Côme Pruvost
Hello,

To package cellwriter, I need to download this patch[1]. But once
downloaded, the name of the file is
attachment?aid=-5287197620305474653name=cellwriter-1.3.4-cellwidget-dont-disable-xinput.diff
instead of just
cellwriter-1.3.4-cellwidget-dont-disable-xinput.diff.

- Is it a big problem ? I mean if another user do not use wget will my
PKGBUILD work for him ?
- Is there a way to force a correct behavior ?

[1] 
http://cellwriter.googlecode.com/issues/attachment?aid=-5287197620305474653name=cellwriter-1.3.4-cellwidget-dont-disable-xinput.diff


Re: [aur-general] Incorrect name when downloading from source=()

2009-06-16 Thread nathan owe.

Côme Pruvost wrote:

Hello,

To package cellwriter, I need to download this patch[1]. But once
downloaded, the name of the file is
attachment?aid=-5287197620305474653name=cellwriter-1.3.4-cellwidget-dont-disable-xinput.diff
instead of just
cellwriter-1.3.4-cellwidget-dont-disable-xinput.diff.

- Is it a big problem ? I mean if another user do not use wget will my
PKGBUILD work for him ?
- Is there a way to force a correct behavior ?

[1] 
http://cellwriter.googlecode.com/issues/attachment?aid=-5287197620305474653name=cellwriter-1.3.4-cellwidget-dont-disable-xinput.diff
  

what does ur PKGbuild  look like?


Re: [aur-general] Incorrect name when downloading from source=()

2009-06-16 Thread Abhishek Dasgupta
2009/6/16 Côme Pruvost come.pruv...@gmail.com:
 Hello,

 To package cellwriter, I need to download this patch[1]. But once
 downloaded, the name of the file is
 attachment?aid=-5287197620305474653name=cellwriter-1.3.4-cellwidget-dont-disable-xinput.diff
 instead of just
 cellwriter-1.3.4-cellwidget-dont-disable-xinput.diff.

 - Is it a big problem ? I mean if another user do not use wget will my
 PKGBUILD work for him ?
 - Is there a way to force a correct behavior ?

 [1] 
 http://cellwriter.googlecode.com/issues/attachment?aid=-5287197620305474653name=cellwriter-1.3.4-cellwidget-dont-disable-xinput.diff


You can always download the patch, rename it and
put in the source tarball (makepkg --source)

-- 
Abhishek


Re: [aur-general] Incorrect name when downloading from source=()

2009-06-16 Thread Allan McRae

Abhishek Dasgupta wrote:

2009/6/16 Côme Pruvost come.pruv...@gmail.com:
  

Hello,

To package cellwriter, I need to download this patch[1]. But once
downloaded, the name of the file is
attachment?aid=-5287197620305474653name=cellwriter-1.3.4-cellwidget-dont-disable-xinput.diff
instead of just
cellwriter-1.3.4-cellwidget-dont-disable-xinput.diff.

- Is it a big problem ? I mean if another user do not use wget will my
PKGBUILD work for him ?
- Is there a way to force a correct behavior ?

[1] 
http://cellwriter.googlecode.com/issues/attachment?aid=-5287197620305474653name=cellwriter-1.3.4-cellwidget-dont-disable-xinput.diff




You can always download the patch, rename it and
put in the source tarball (makepkg --source)
  


Or use something like


cellwritter.diff::http://cellwriter.googlecode.com/...

in your source array.   The downloaded file will get the name specified 
before the ::.


Allan





Re: [aur-general] Incorrect name when downloading from source=()

2009-06-16 Thread Cilyan Olowen

 Or use something like


 cellwritter.diff::http://cellwriter.googlecode.com/...

 in your source array.   The downloaded file will get the name specified
 before the ::.

 Allan


Aha ! :) Than the kind of thing I was looking for !! Thanks a lot !


Re: [aur-general] Incorrect name when downloading from source=()

2009-06-16 Thread Daenyth Blank
On Tue, Jun 16, 2009 at 03:07, Cilyan Olowengak...@gmail.com wrote:

 Or use something like


 cellwritter.diff::http://cellwriter.googlecode.com/...

 in your source array.   The downloaded file will get the name specified
 before the ::.

 Allan


 Aha ! :) Than the kind of thing I was looking for !! Thanks a lot !


For future reference, this and many other helpful tips are in the
PKGBUILD manpage :)


Re: [aur-general] Incorrect name when downloading from source=()

2009-06-16 Thread Andrei Thorp
Btw, I'm pretty close friends with the author of cellwriter. If he
needs to do a general patch upstream or something, I'm sure I can get
him to. Anything up?

Cheers,

-AT


Re: [aur-general] Incorrect name when downloading from source=()

2009-06-16 Thread Cilyan Olowen
2009/6/16 Andrei Thorp gar...@gmail.com:
 Btw, I'm pretty close friends with the author of cellwriter. If he
 needs to do a general patch upstream or something, I'm sure I can get
 him to. Anything up?

 Cheers,

 -AT


It seems the patch is indeed in discussion. Of course for now some are
experiencing crashes, but the solution given by the patch is
discussable. Well at least that's what I understood. I think the
author is aware of that problem as the patch comes from is official
bugtracker and he affected himself to the issue.
I decided to apply the patch because if a developer can focus on what
is good for its software, I think a packager should focus on
usability. And from that point of view, a bad solution is temporarily
better than software crashes making it unusable.

And by the way, indeed, the answer was in the PKGBUILD man, I'm sorry
I always forget that PKGBUILD has a man page, I usually only check
wiki. I try to mark that in my head for next time ;)

Cilyan


Re: [aur-general] Incorrect name when downloading from source=()

2009-06-16 Thread Andrei Thorp
On Tue, Jun 16, 2009 at 10:36 AM, Cilyan Olowengak...@gmail.com wrote:
 It seems the patch is indeed in discussion. Of course for now some are
 experiencing crashes, but the solution given by the patch is
 discussable.

Okay, well. I'll breifly mention it to him, but otherwise leave it alone.

Cheers,

-AT