Browse Source
Eeschema: fix a crash when plotting a schematic.
Eeschema: fix a crash when plotting a schematic.
Pcbnew: footprint wizard dialogs: minor fixes, and fixes a not working parameters dialog under Windows, due to an incorrect Printf format. remove scripts/packagesrc.sh, fully outdated (still refers svn repo) and not commented.pull/1/head
16 changed files with 106 additions and 197 deletions
-
2common/worksheet.cpp
-
5include/worksheet_shape_builder.h
-
7pcbnew/dialogs/dialog_footprint_wizard_list.cpp
-
100pcbnew/dialogs/dialog_footprint_wizard_list.fbp
-
4pcbnew/dialogs/dialog_footprint_wizard_list.h
-
17pcbnew/dialogs/dialog_footprint_wizard_list_base.cpp
-
7pcbnew/dialogs/dialog_footprint_wizard_list_base.h
-
6pcbnew/dialogs/dialog_set_grid_base.cpp
-
4pcbnew/dialogs/dialog_set_grid_base.fbp
-
2pcbnew/dialogs/dialog_set_grid_base.h
-
35pcbnew/footprint_wizard.cpp
-
37pcbnew/footprint_wizard_frame.cpp
-
6pcbnew/footprint_wizard_frame.h
-
17pcbnew/modedit.cpp
-
10pcbnew/scripting/plugins/FPC_(SMD_type)_footprintwizard.py
-
44scripts/packagesrc.sh
@ -1,44 +0,0 @@ |
|||
#!/bin/bash |
|||
|
|||
svnrev=$1 |
|||
svnpath=$2 |
|||
tempdir=kicad-$$ |
|||
|
|||
if [ -z "$svnrev" ]; then |
|||
echo "usage: $0 <svnrevision> [svnrepo]" |
|||
exit 1 |
|||
fi |
|||
|
|||
if [ -z "$svnpath" ]; then |
|||
svnpath="https://kicad.svn.sourceforge.net/svnroot/kicad/trunk" |
|||
fi |
|||
|
|||
mkdir ${tempdir} |
|||
cd ${tempdir} |
|||
|
|||
# export requested revision |
|||
echo "Exporting..." |
|||
svn export -r ${svnrev} ${svnpath}/kicad |
|||
svn export -r ${svnrev} ${svnpath}/kicad-doc |
|||
svn export -r ${svnrev} ${svnpath}/kicad-library |
|||
|
|||
# create "include/config.h" with svn date & revision in it |
|||
echo "Getting svn revision info..." |
|||
svndate=`LANG=C svn info -r ${svnrev} ${svnpath}/kicad | grep "Last Changed Date: " | cut -f4 -d' ' | sed s/-//g` |
|||
cat <<EOF >kicad/include/config.h |
|||
#ifndef __KICAD_SVN_VERSION_H__ |
|||
#define __KICAD_SVN_VERSION_H__ |
|||
|
|||
#define KICAD_ABOUT_VERSION "svn-r${svnrev} (${svndate})" |
|||
|
|||
#endif /* __KICAD_SVN_VERSION_H__ */ |
|||
EOF |
|||
|
|||
# get main program version from an include file |
|||
mainver=`cat kicad/include/build_version.h | grep 'main program version' | cut -d\( -f4 | cut -d\) -f1` |
|||
|
|||
cd .. |
|||
|
|||
# rename with proper version and tar it up |
|||
mv ${tempdir} kicad-${mainver} |
|||
tar -zcf kicad-${mainver}.tar.gz kicad-${mainver} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue