Thursday, August 31, 2017

Re: [update] dunst-1.2.0

On 2017/08/31 23:45, Timo Myyrä wrote:
>
> Yeah, I tried some variations but that doesn't seem to work.
>
> The direct path to source tarball is as follows:
> https://github.com/dunst-project/dunst/archive/v1.2.0.tar.gz
>
> The combo in the first diff is something that works. Other option would be to
> skip GH_* variables and set necessary stuff manually.
> With just the GH_* variables set the ports tries to fetch the distfile with url:
> https://github.com/dunst-project/dunst/archive/1.2.0/dunst-1.2.0.tar.gz
>
> The source file name isn't that great as v1.2.0.tar.gz though.

Ah, you didn't quite have the right GH_TAGNAME, it's v1.2.0 not 1.2.0.

GH_ACCOUNT = dunst-project
GH_PROJECT = dunst
GH_TAGNAME = v1.2.0

The actual filename requested from github is flexible, as long as it has
/archive/TAGNAME/foo.tar.gz. In this case you get
https://github.com/dunst-project/dunst/archive/v1.2.0/dunst-1.2.0.tar.gz
which works fine.

> Any case, here's the slightly updated diff. Still needs a bit of tuning of GH_*
> variables:

Thanks, fixed those & committed.

No comments:

Post a Comment