r5208 - trunk/gta02-core/kicad-patches

werner at docs.openmoko.org werner at docs.openmoko.org
Thu Jun 25 10:40:43 CEST 2009


Author: werner
Date: 2009-06-25 10:40:43 +0200 (Thu, 25 Jun 2009)
New Revision: 5208

Added:
   trunk/gta02-core/kicad-patches/fix-r1837-build.patch
Modified:
   trunk/gta02-core/kicad-patches/series
Log:
r1837 has a bewildering number of build issues. tentative fix.



Added: trunk/gta02-core/kicad-patches/fix-r1837-build.patch
===================================================================
--- trunk/gta02-core/kicad-patches/fix-r1837-build.patch	                        (rev 0)
+++ trunk/gta02-core/kicad-patches/fix-r1837-build.patch	2009-06-25 08:40:43 UTC (rev 5208)
@@ -0,0 +1,45 @@
+This fixes a number of build issues in r1837:
+
+- LibDrawPin now needs the parent to be passed
+- type inconsistency for g_PlotScaleX and g_PlotScaleY between declaration and
+  definition
+- g_DrawDefaultLineThickness vanished
+
+---
+
+Index: kicad/eeschema/pinedit.cpp
+===================================================================
+--- kicad.orig/eeschema/pinedit.cpp	2009-06-25 05:36:52.000000000 -0300
++++ kicad/eeschema/pinedit.cpp	2009-06-25 05:36:52.000000000 -0300
+@@ -557,7 +557,7 @@
+     for( ; DrawItem != NULL; DrawItem = DrawItem->Next() )
+         DrawItem->m_Flags = 0;
+ 
+-    CurrentPin = new LibDrawPin();
++    CurrentPin = new LibDrawPin( CurrentLibEntry );
+ 
+     CurrentDrawItem = CurrentPin;
+     if( CurrentPin == NULL )
+Index: kicad/eeschema/eeschema.cpp
+===================================================================
+--- kicad.orig/eeschema/eeschema.cpp	2009-06-25 05:36:52.000000000 -0300
++++ kicad/eeschema/eeschema.cpp	2009-06-25 05:37:28.000000000 -0300
+@@ -68,8 +68,8 @@
+ 
+ int       g_PlotFormat;                  /* flag = TYPE_HPGL, TYPE_PS... */
+ int       g_PlotMargin;                  /* Marge pour traces du cartouche */
+-float     g_PlotScaleX;
+-float     g_PlotScaleY; /* coeff d'echelle de trace en unites table tracante */
++double    g_PlotScaleX;
++double    g_PlotScaleY; /* coeff d'echelle de trace en unites table tracante */
+ 
+ HPGL_Pen_Descr_Struct g_HPGL_Pen_Descr;
+ 
+@@ -93,6 +93,7 @@
+ bool g_EditPinByPinIsOn = FALSE;
+ 
+ int g_LibSymbolDefaultLineWidth; /* default line width  (in EESCHEMA units) used when creating a new graphic item in libedit : 0 = default */
++int g_DrawDefaultLineThickness; /* Default line (in EESCHEMA units) thickness */
+ int g_DrawMinimunLineWidth;      /* Minimum line (in EESCHEMA units) thickness used to draw items on screen; 0 = single pixel line width */
+ int g_PlotLine_Width;            /* Minimum line (in EESCHEMA units) thickness used to Plot/Print items */
+ // Color to draw selected items

Modified: trunk/gta02-core/kicad-patches/series
===================================================================
--- trunk/gta02-core/kicad-patches/series	2009-06-25 08:10:59 UTC (rev 5207)
+++ trunk/gta02-core/kicad-patches/series	2009-06-25 08:40:43 UTC (rev 5208)
@@ -21,3 +21,6 @@
 
 # applied as of r1836
 ##fix-eeschema-libs.patch
+
+# r1837 has a bewildering number of build issues. tentative fix.
+fix-r1837-build.patch




More information about the commitlog mailing list