Sunday, May 28, 2017

Re: update: games/freeciv 2.5.7

2017-05-28 22:02 GMT+03:00 Stuart Henderson <stu@spacehopper.org>:
> On 2017/05/28 18:44, Vadim Zhukov wrote:
>> 2017-05-28 18:31 GMT+03:00 Michal Mazurek <akfaew@jasminek.net>:
>> > 2.5.7 is a minor bug fix release
>> >
>> > Index: Makefile
>> > ===================================================================
>> > RCS file: /cvs/ports/games/freeciv/Makefile,v
>> > retrieving revision 1.111
>> > diff -u -p -r1.111 Makefile
>> > --- Makefile 22 Nov 2016 09:45:18 -0000 1.111
>> > +++ Makefile 28 May 2017 15:29:26 -0000
>> > @@ -4,7 +4,7 @@ COMMENT-main= Civilization clone for X11
>> > COMMENT-client= Freeciv client
>> > COMMENT-share= shared data files for Freeciv
>> >
>> > -VERSION= 2.5.6
>> > +VERSION= 2.5.7
>> > DISTNAME= freeciv-${VERSION}
>> > PKGNAME-main= freeciv-server-${VERSION}
>> > PKGNAME-client= freeciv-client-${VERSION}
>> > Index: distinfo
>> > ===================================================================
>> > RCS file: /cvs/ports/games/freeciv/distinfo,v
>> > retrieving revision 1.24
>> > diff -u -p -r1.24 distinfo
>> > --- distinfo 22 Nov 2016 09:45:18 -0000 1.24
>> > +++ distinfo 28 May 2017 15:29:26 -0000
>> > @@ -1,2 +1,2 @@
>> > -SHA256 (freeciv-2.5.6.tar.bz2) = z63CPuwRpaiudKfTcZ6xJgJhN/BwDaBlNn/VXLq2mZs=
>> > -SIZE (freeciv-2.5.6.tar.bz2) = 41185678
>> > +SHA256 (freeciv-2.5.7.tar.bz2) = /+NnNttqZIk2genuqLkPer4F6uvmt3foIUmpjK1tvtI=
>> > +SIZE (freeciv-2.5.7.tar.bz2) = 41200685
>>
>> Bad news: you have to run make update-plist and deal with the mess it
>> creates in this port. There are new files, e.g.:
>>
>> share/freeciv/misc/governments.png
>> share/freeciv/misc/governments.spec
>> share/freeciv/wonders/statue_of_zeus.png
>>
>
> I have this to help with complex PLIST updates..
>
> alias updplist='for j in `ls pkg|grep PLIST.*\.orig 2>/dev/null`; do i=${j%.orig}; sdiff -o pkg/$i.new -w180 pkg/$i.orig pkg/$i; [ -r pkg/$i.new ] && (mv pkg/$i pkg/$i.int; mv pkg/$i.new pkg/$i); done'

Thanks! Even given this won't help in the case of items travelling
between PLISTs, which is most annoying. :(

--
WBR,
Vadim Zhukov

No comments:

Post a Comment