Skip to content

Commit

Permalink
Fix a problem with gif generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtb committed May 7, 2001
1 parent 820496f commit a53d5cd
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
11 changes: 6 additions & 5 deletions graphics/iGMT/Makefile
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.7 2001/05/05 19:51:15 jlam Exp $
# $NetBSD: Makefile,v 1.8 2001/05/07 12:00:58 jtb Exp $

DISTNAME= igmt_v1.2
PKGNAME= iGMT-1.2
Expand All @@ -24,7 +24,7 @@ EVAL_PREFIX+= GMT_PREFIX=GMT
EVAL_PREFIX+= TK_PREFIX=tk

post-patch:
${RM} ${WRKSRC}/*.orig ${WRKSRC}/configure_script
# ${RM} ${WRKSRC}/*.orig ${WRKSRC}/configure_script

do-configure:
for i in ${WRKSRC}/igmt ${WRKSRC}/igmt_configure.tcl; do \
Expand All @@ -42,13 +42,14 @@ do-install:
COPYING COPYRIGHT ${PREFIX}/share/doc/igmt/
${INSTALL_DATA_DIR} ${PREFIX}/share/igmt/colormaps
${INSTALL_DATA} ${WRKSRC}/colormaps/* ${PREFIX}/share/igmt/colormaps/
cd ${WRKSRC} && ${INSTALL_DATA} igmt*.tcl *.awk 01_02-98.cmt \
cd ${WRKSRC} && ${INSTALL_SCRIPT} igmt*.tcl *.awk \
igmt_helper* *.batch ${PREFIX}/share/igmt/
cd ${WRKSRC} && ${INSTALL_DATA} 01_02-98.cmt \
gps.vel hotspots.dat nuvel.yx igmt_def.gif \
allslabs_rum.gmt volcanoes.dat wcity.dat \
wcity_major.dat igmt_gmtdefaults_3.0 \
igmt_gmtdefaults_3.1 igmt_gmtdefaults_3.2 \
igmt_gmtdefaults_3.3 igmt_helper* *.batch \
${PREFIX}/share/igmt/
igmt_gmtdefaults_3.3 ${PREFIX}/share/igmt/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/igmt
cd ${WRKSRC} && ${INSTALL_DATA} example*.ps.gz \
${WRKSRC}/example*.dat ${PREFIX}/share/examples/igmt/ \
Expand Down
3 changes: 2 additions & 1 deletion graphics/iGMT/distinfo
@@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.2 2001/04/21 09:54:16 wiz Exp $
$NetBSD: distinfo,v 1.3 2001/05/07 12:00:58 jtb Exp $

SHA1 (igmt_v1.2.tar.gz) = b0b5f77de8551756c8dece6cdbc974bfda0d0860
Size (igmt_v1.2.tar.gz) = 1837311 bytes
SHA1 (patch-aa) = b40ce475b8833bf0c03dc97e84f5768cd9bab5d8
SHA1 (patch-ab) = d83c7bb69562848afc5dd1f14dcf0a19c0a4e8ac
SHA1 (patch-ac) = 9208e64cb9373f3dd9c515cfff3ba949ee989ae7
16 changes: 16 additions & 0 deletions graphics/iGMT/patches/patch-ac
@@ -0,0 +1,16 @@
$NetBSD: patch-ac,v 1.1 2001/05/07 12:00:59 jtb Exp $

--- igmt.tcl.orig Tue Sep 5 14:39:17 2000
+++ igmt.tcl
@@ -192,9 +192,9 @@
# copy the default image to fill the frame the first time if there is
# no temporary file around

-exec $igmt_root/igmt_helper_checkfile $gif_filename $def_gif_filename
+#exec $igmt_root/igmt_helper_checkfile $gif_filename $def_gif_filename

-image create photo map_image -file $gif_filename
+image create photo map_image -file $def_gif_filename
label .mapimage -image map_image -bd 1 -relief sunken
pack .mapimage
pack .mb .mapimage -fill x -fill y -side top

0 comments on commit a53d5cd

Please sign in to comment.