head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.32 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.30 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.28 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.26 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.24 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.22 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.20 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.18 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.16 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.14 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.12 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.10 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.8 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.6 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.4 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.2 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.4.0.22 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.20 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.18 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.3.0.2 netbsd-1-6-1-base:1.3 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.1; locks; strict; comment @# @; 1.6 date 2006.08.08.11.46.50; author dmcmahill; state dead; branches; next 1.5; 1.5 date 2006.07.13.06.58.37; author gson; state Exp; branches; next 1.4; 1.4 date 2003.03.21.03.43.22; author dmcmahill; state dead; branches; next 1.3; 1.3 date 2003.02.05.19.19.28; author dmcmahill; state Exp; branches; next 1.2; 1.2 date 2002.05.07.00.51.17; author dmcmahill; state dead; branches; next 1.1; 1.1 date 2002.02.10.17.49.00; author dmcmahill; state Exp; branches; next ; desc @@ 1.6 log @update to gerbv-1.0.2 Changes are: * Removed all build support for GTK1. * Dino Ghilardi fixed log.c (the last reminder of GTK1) so log windows popup don't crash gerbv anymore. * Dan McMahill added the GCC4 patch. * Renamed stack_t to macro_stack_t to support darwin/MacOS X pointed out by Daniel Mack. * Changed build system to suit new autoconf/automake versions. Caused gerbv not to find init.scm. * Fixed a bug so gerbv can handle negative coordinates when using trailing zeroes. * Better checking of return values for errors. * Use setlocale explicit so your locale doesn't screw up sscanf and strtod to use comma (,) instead of dot (.). * For distributions there is a new directory called desktop, where gerbv.desktop and gerbv.png is stored for desktop settings. Submitted to Debian bug list from Vassilis Pandis for Ubuntu. @ text @$NetBSD: patch-aa,v 1.5 2006/07/13 06:58:37 gson Exp $ --- src/drill.c.orig 2005-01-09 23:51:57.000000000 +0200 +++ src/drill.c @@@@ -217,8 +217,8 @@@@ parse_drillfile(gerb_file_t *fd) /* KLUDGE. This function isn't allowed to return anything but inches */ if(state->unit == MM) { - (double)curr_net->start_x /= 25.4; - (double)curr_net->start_y /= 25.4; + curr_net->start_x /= 25.4; + curr_net->start_y /= 25.4; /* KLUDGE. All images, regardless of input format, are returned in INCH format */ curr_net->unit = INCH; @ 1.5 log @Remove illegal and unnecessary cast on left side of assignment to make it compile with gcc 4.1.2 @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @update to gerbv-0.13 * You cannot compile with backend anymore, switch is removed. In last release this caused compilation error due to bit rot. * Drawing of arcs is a constant headache. Mark Whitis found another case that I had missed out. Clockwise arcs all of a sudden started to be drawn as counter-clockwise. * Arcs with very small angle differences could either be a complete circle or a very small part of an arc. Calculating the angles with integers wasn't sufficient, anyhow. They are now doubles all the way. * Aperture macro primitive 1 was a _filled_ circle. * Image rotate used to cause warnings that it wasn't implemented. Now if the file has an image rotate on zero degrees there is no warning (yes I've seen it). * Dan McMahill discovered that if you tried to swap with an unused layer gerbv segfaulted. * Peter Monta submitted patch for incremental coordinates. * No traces of Guile left... @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2003/02/05 19:19:28 dmcmahill Exp $ d3 13 a15 15 fix reading drill files when the coordinates have +/- prefixes --- src/drill.c.orig Fri Nov 15 16:55:55 2002 +++ src/drill.c Fri Jan 31 12:07:52 2003 @@@@ -341,6 +341,8 @@@@ int local_state = 0; while ((read = gerb_fgetc(fd)) != EOF && - (isdigit(read) || read == ',' || read == '.')) { - if(read != ',' && read != '.') length ++; + (isdigit(read) || read == '+' || read == '-' + || read == ',' || read == '.')) { + if(read != '+' && read != '-' + && read != ',' && read != '.') length ++; switch (local_state) { case 0: @ 1.3 log @fix a bug when reading certain NC/Drill files. Files with leading +/- are not properly parsed. Bump pkgrev. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @update to gerbv 0.0.8 Graphical quirks fixed are: - zooming around the mouse pointer. - zooming several steps at once goes much faster. No calculation and redrawing in each zoom step, but in the last step. When you click with the left mouse button on a layer button you get a popup menu with color selection, load file and unload file. That is on a "per layer-basis". The "global" "Open File..." menu is removed in favor for this. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2002/02/10 17:49:00 dmcmahill Exp $ d3 15 a17 11 --- src/draw.c.orig Sun Feb 3 18:01:41 2002 +++ src/draw.c Sun Feb 10 12:36:17 2002 @@@@ -30,4 +30,8 @@@@ #include /* ceil(), atan2() */ +#ifdef HAVE_STRING_H +#include +#endif + #include @ 1.1 log @update to 0.0.7 What's new in 0.0.7 - Aperture macros! - Improved detection of drill- or gerber file. @ text @d1 1 a1 1 $NetBSD$ @