Bug 55746 - Update of tgif port
Summary: Update of tgif port
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sergey A. Osokin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-20 10:41 UTC by Brian Clapper
Modified: 2003-08-20 14:54 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (1.73 KB, patch)
2003-08-20 10:41 UTC, Brian Clapper
no flags Details | Diff
patch-tgif (2.49 KB, text/plain; charset=us-ascii)
2003-08-20 12:48 UTC, osa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Clapper 2003-08-20 10:41:08 UTC
	update to pick up new version of tgif

Fix: Apply below patch to bring port up-to-date. Note that diffs include
	a change of maintainer address. I will submit a separate PR to make
	sure that particular change isn't missed.
How-To-Repeat: 
	N/A
Comment 1 Sergey A. Osokin freebsd_committer freebsd_triage 2003-08-20 12:11:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->osa

I'll handle this.
Comment 2 osa 2003-08-20 12:48:37 UTC
On Tue, Aug 19, 2003 at 11:28:44AM -0400, Brian Clapper wrote:
> 
> >Description:
> 
> 	update to pick up new version of tgif
> 
> >How-To-Repeat:
> >Fix: 
[patch skipped]

Please approve following patch that include your fixes.
Also I make some cosmetic fixes for pkg-plist and pkg-descr.
I want to use ${REINPLACE_CMD} instead of files/patch-aa.

-- 

Rgdz,                        /"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,       \ /    AGAINST HTML MAIL
http://ozz.pp.ru/             X          AND NEWS
                             / \
Comment 3 Brian Clapper 2003-08-20 14:41:27 UTC
On 20 August, 2003, at 15:48 (+0400)
Sergey A. Osokin <osa@freebsd.org.ru> wrote:

> On Tue, Aug 19, 2003 at 11:28:44AM -0400, Brian Clapper wrote:
> >
> > >Description:
> >
> >     update to pick up new version of tgif
> >
> > >How-To-Repeat:
> > >Fix:
> [patch skipped]
>
> Please approve following patch that include your fixes.
> Also I make some cosmetic fixes for pkg-plist and pkg-descr.
> I want to use ${REINPLACE_CMD} instead of files/patch-aa.

Sergey,

It works perfectly, as long as "files/patch-aa" is removed or zeroed (which
I assume you'll do when you check the whole thing in). The REINPLACE_CMD
approach works much better for this patch case. Also, thanks for catching
the missing file in the plist. I submitted the port change without running
the usual pkg_delete test. (Sorry.)

Regards,

-Brian

Brian Clapper, bmc@clapper.org, http://www.clapper.org/bmc/
Marshall's generalized iceberg theorem: 7/8ths of everything cannot be seen.

> Index: ports/graphics/tgif/Makefile
> ===================================================================
> RCS file: /home/pcvs/ports/graphics/tgif/Makefile,v
> retrieving revision 1.34
> diff -u -r1.34 Makefile
> --- ports/graphics/tgif/Makefile      20 Aug 2003 10:50:03 -0000      1.34
> +++ ports/graphics/tgif/Makefile      20 Aug 2003 11:44:27 -0000
> @@ -6,7 +6,7 @@
>  #
>
>  PORTNAME=    tgif
> -PORTVERSION= 4.1.42
> +PORTVERSION= 4.1.43
>  CATEGORIES=  graphics
>  MASTER_SITES=        ftp://bourbon.usc.edu/pub/tgif/ \
>               http://groups.yahoo.com/group/tgif4-announce/files/ \
> @@ -20,6 +20,7 @@
>  RUN_DEPENDS= giftopnm:${PORTSDIR}/graphics/netpbm
>
>  USE_IMAKE=   yes
> +USE_REINPLACE=       yes
>  MAN1=                tgif.1
>  TGIFDOC=     ${PREFIX}/share/doc/tgif
>  DEMO_FILES=  an-sr-flip-flop.obj launch-demo-1.obj \
> @@ -30,6 +31,9 @@
>               ${RM} -f ${WRKDIR}/${DISTNAME}/Tgif.tmpl
>               ${CP} ${WRKDIR}/${DISTNAME}/Tgif.tmpl-freebsd \
>                     ${WRKDIR}/${DISTNAME}/Tgif.tmpl
> +post-patch:
> +             @${REINPLACE_CMD} -e 's|.TH tgif n|.TH tgif 1L|' \
> +                     ${WRKSRC}/tgif.man
>  post-install:
>               ${MKDIR} ${TGIFDOC}
>               (cd ${WRKSRC} ;\
> Index: ports/graphics/tgif/distinfo
> ===================================================================
> RCS file: /home/pcvs/ports/graphics/tgif/distinfo,v
> retrieving revision 1.24
> diff -u -r1.24 distinfo
> --- ports/graphics/tgif/distinfo      1 Apr 2002 17:18:37 -0000       1.24
> +++ ports/graphics/tgif/distinfo      20 Aug 2003 11:44:27 -0000
> @@ -1 +1 @@
> -MD5 (tgif-QPL-4.1.42.tar.gz) = 83b1cd01b1570fbf71ea5994af87f42e
> +MD5 (tgif-QPL-4.1.43.tar.gz) = 88ba670d90ad61f86d1c9d765e97e0d1
> Index: ports/graphics/tgif/pkg-descr
> ===================================================================
> RCS file: /home/pcvs/ports/graphics/tgif/pkg-descr,v
> retrieving revision 1.8
> diff -u -r1.8 pkg-descr
> --- ports/graphics/tgif/pkg-descr     19 Oct 2001 16:07:46 -0000      1.8
> +++ ports/graphics/tgif/pkg-descr     20 Aug 2003 11:44:27 -0000
> @@ -17,3 +17,5 @@
>
>  Tgif is written, maintained and enhanced by
>  William Chia-Wei Cheng (william@cs.umd.edu)
> +
> +WWW: http://bourbon.cs.umd.edu:8001/tgif/
> Index: ports/graphics/tgif/pkg-plist
> ===================================================================
> RCS file: /home/pcvs/ports/graphics/tgif/pkg-plist,v
> retrieving revision 1.10
> diff -u -r1.10 pkg-plist
> --- ports/graphics/tgif/pkg-plist     1 Apr 2002 17:18:37 -0000       1.10
> +++ ports/graphics/tgif/pkg-plist     20 Aug 2003 11:44:27 -0000
> @@ -3,6 +3,7 @@
>  lib/X11/tgif/LICENSE.QPL
>  lib/X11/tgif/eq4-2x.sym
>  lib/X11/tgif/eq4-epstool.sym
> +lib/X11/tgif/eq4-lyx-ps2epsi.sym
>  lib/X11/tgif/eq4-ps2epsi.sym
>  lib/X11/tgif/eq4.sym
>  lib/X11/tgif/eq4xpm.sym
Comment 4 Sergey A. Osokin freebsd_committer freebsd_triage 2003-08-20 14:53:46 UTC
State Changed
From-To: open->closed

Committed, thanks!