Add kicad-devel as of SVN version 2019
This commit is contained in:
parent
e394d5aa99
commit
5d759e6a47
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=243372
11 changed files with 1072 additions and 921 deletions
|
@ -1,109 +1,155 @@
|
|||
# New ports collection makefile for: kicad
|
||||
# Date created: 29 November 2005
|
||||
# Whom: Thierry Thomas <thierry@FreeBSD.org>
|
||||
# New ports collection makefile for: kicad-devel
|
||||
# Date created: 27 October 2009
|
||||
# Whom: Michael Reifenberger <mr@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= kicad
|
||||
PORTVERSION= 20080825
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= r${SVN_REV}
|
||||
CATEGORIES= cad
|
||||
#MASTER_SITES= ftp://iut-tice.ujf-grenoble.fr/cao/:dat \
|
||||
# ftp://ftp.lis.inpg.fr/uploads/kicad/:dat \
|
||||
# http://iut-tice.ujf-grenoble.fr/cao/:dat \
|
||||
# ftp://iut-tice.ujf-grenoble.fr/cao/:src \
|
||||
# ftp://ftp.lis.inpg.fr/uploads/kicad/:src \
|
||||
# http://iut-tice.ujf-grenoble.fr/cao/:src
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20src/${PORTVERSION}
|
||||
DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
|
||||
${PORTNAME}-library-${LIBVERSION}${EXTRACT_SUFX} \
|
||||
${PORTNAME}-doc-${LIBVERSION}${EXTRACT_SUFX}
|
||||
DIST_SUBDIR= ${PORTNAME}
|
||||
#EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= mr
|
||||
PKGNAMESUFFIX= -devel
|
||||
# Additional patches: http://svn.openmoko.org/trunk/gta02-core/kicad-patches/
|
||||
|
||||
MAINTAINER= thierry@FreeBSD.org
|
||||
MAINTAINER= mr@FreeBSD.org
|
||||
COMMENT= Schematic and PCB editing software
|
||||
|
||||
LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs
|
||||
|
||||
CONFLICTS= kicad-2008*
|
||||
|
||||
DOCVERSION= 1.1
|
||||
LIBVERSION= 1.0
|
||||
WRKSRC= ${WRKDIR}/kicad
|
||||
MAKEFILE= makefile.gtk
|
||||
INSTALL_TARGET= install-bin install-res
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_GETTEXT= yes
|
||||
USE_GMAKE= yes
|
||||
#USE_GMAKE= yes
|
||||
USE_GL= yes
|
||||
USE_WX= 2.8
|
||||
WX_UNICODE= yes
|
||||
USE_GNOME= atk # Required by libwx_gtk2_aui-2.8.so
|
||||
#TODO Add support for Python.
|
||||
|
||||
#OPTIONS= GTA2CORE "Apply additional Openmoko GTA2_CORE patches" off
|
||||
|
||||
PLIST_SUB= OPSYS=${OPSYS} \
|
||||
DESKTOPDIR=${DESKTOPDIR:S|^${PREFIX}/||}
|
||||
|
||||
BINS= cvpcb eeschema gerbview kicad pcbnew
|
||||
EXTRAS2RM= linux-non_unicode linux wings3d LINUX.README \
|
||||
contrib_makefiles.txt running_kicad_under_W98.txt
|
||||
USE_CMAKE= yes
|
||||
CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" \
|
||||
-DCMAKE_INCLUDE_PATH="${LOCALBASE}/include" \
|
||||
-DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}"
|
||||
CMAKE_USE_PTHREAD= yes
|
||||
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
#.if !defined(WITHOUT_GTA2CORE)
|
||||
#PATCH_STRIP= -p1
|
||||
#EXTRA_PATCHES+= \
|
||||
# ${WRKDIR}/kicad-patches/eeschema-plot-only-mode.patch \
|
||||
# ${WRKDIR}/kicad-patches/streamline-erc.patch
|
||||
#.endif
|
||||
|
||||
.if exists(${LOCALBASE}/bin/konqueror)
|
||||
RUN_DEPENDS+= konqueror:${PORTSDIR}/x11/kdebase3
|
||||
.else
|
||||
RUN_DEPENDS+= xpdf:${PORTSDIR}/graphics/xpdf
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
${CP} ${WRKSRC}/libs.linux ${WRKSRC}/libs.${OPSYS}
|
||||
.if defined(BOOTSTRAP)
|
||||
SVN_REV!= svn info https://kicad.svn.sourceforge.net/svnroot/kicad/trunk/kicad | ${GREP} Revision | cut -d' ' -f2
|
||||
.else
|
||||
.include "Makefile.svn_rev"
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
for f in `${FIND} ${WRKSRC} -name ${MAKEFILE}` ; do \
|
||||
${REINPLACE_CMD} -e 's|CC = gcc|#CC = gcc|' \
|
||||
-e 's|LD = gcc|LD = ${CC}|' \
|
||||
-e 's|LD = g++|LD = ${CXX}|' \
|
||||
-e 's|-O2|${CFLAGS} -I${LOCALBASE}/include|' \
|
||||
-e 's|wx-config|${WX_CONFIG}|' \
|
||||
-e 's|LDFLAGS =|LDFLAGS += -L${LOCALBASE}/lib|' \
|
||||
-e 's|libs.linux|libs.${OPSYS}|' \
|
||||
-e 's|gcc -D|${CC} -D|' $$f ; \
|
||||
.if defined(BOOTSTRAP)
|
||||
FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion
|
||||
do-fetch:
|
||||
${MKDIR} ${WRKDIR}
|
||||
svn export -r ${SVN_REV} \
|
||||
https://kicad.svn.sourceforge.net/svnroot/kicad/trunk/kicad ${WRKSRC}
|
||||
svn export -r ${SVN_REV} \
|
||||
https://kicad.svn.sourceforge.net/svnroot/kicad/trunk/kicad-library ${WRKDIR}/kicad-library
|
||||
svn export \
|
||||
http://svn.openmoko.org/trunk/gta02-core/kicad-patches ${WRKDIR}/kicad-patches
|
||||
cd ${WRKDIR}; tar cvfy ${DISTDIR}/${DISTNAME}.tar.bz2 ${DISTNAME} kicad-library kicad-patches
|
||||
echo "SVN_REV= ${SVN_REV}" > ${MASTERDIR}/Makefile.svn_rev
|
||||
.endif
|
||||
|
||||
ki:
|
||||
svn export \
|
||||
http://svn.openmoko.org/trunk/gta02-core/kicad-patches ${WRKDIR}/kicad-patches
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} -e 's|#define HAVE_ISO646_H|//#define HAVE_ISO646_H|' \
|
||||
${WRKSRC}/config.h
|
||||
for f in `${FIND} ${WRKSRC} -name \*.make -o -name link.txt` ; do \
|
||||
${REINPLACE_CMD} \
|
||||
-e 's|CC = gcc|#CC = gcc|' \
|
||||
-e 's|LD = gcc|LD = ${CC}|' \
|
||||
-e 's|LD = g++|LD = ${CXX}|' \
|
||||
-e 's|wx-config|${WX_CONFIG}|' \
|
||||
-e 's|CXX_FLAGS =|CXX_FLAGS = -I${LOCALBASE}/include|' \
|
||||
-e 's|C_FLAGS =|C_FLAGS = -I${LOCALBASE}/include|' \
|
||||
-e 's|LDFLAGS =|LDFLAGS += -L${LOCALBASE}/lib|' \
|
||||
-e 's|gcc -D|${CC} -D|' \
|
||||
-e 's/-pthread;-D_THREAD_SAFE/-pthread -D_THREAD_SAFE/g' \
|
||||
$$f ; \
|
||||
done
|
||||
${REINPLACE_CMD} -e 's|kicad/linux|kicad/${OPSYS}|' \
|
||||
-e 's|/usr/share/kicad|${DATADIR}|' \
|
||||
-e 's|/usr/local|${PREFIX}|' ${WRKSRC}/common/gestfich.cpp
|
||||
.for subdir in template internat
|
||||
${REINPLACE_CMD} -e 's|libs.linux|libs.${OPSYS}|' \
|
||||
${WRKSRC}/${subdir}/makefile
|
||||
.endfor
|
||||
.for subdir in library modules
|
||||
${REINPLACE_CMD} -e 's|libs.linux|libs.${OPSYS}|' \
|
||||
${WRKDIR}/kicad-library/${subdir}/makefile
|
||||
.endfor
|
||||
${REINPLACE_CMD} -e 's|/usr/bin/xpdf|${LOCALBASE}/bin/xpdf|' \
|
||||
-e 's|/usr/bin/konqueror|${LOCALBASE}/bin/konqueror|' \
|
||||
${WRKSRC}/common/eda_doc.cpp
|
||||
|
||||
pre-install:
|
||||
.for subdir in library modules
|
||||
${CP} -Rp ${WRKDIR}/kicad-library/${subdir} ${WRKSRC}/
|
||||
.endfor
|
||||
echo "${DATADIR}, ${DOCSDIR}"
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${DOCSDIR}/help ${DESKTOPDIR}
|
||||
(cd ${WRKDIR}/kicad-doc/doc/help \
|
||||
&& ${COPYTREE_SHARE} \* ${DOCSDIR}/help)
|
||||
(cd ${WRKSRC}/resources/linux/opendesktop \
|
||||
&& ${COPYTREE_SHARE} \* ${DESKTOPDIR})
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
(cd ${WRKSRC}/demos && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
|
||||
${RM} ${EXAMPLESDIR}/CMakeLists.txt
|
||||
.endif
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
.for subdir in library modules
|
||||
${CP} -Rp ${WRKDIR}/kicad-library/${subdir} ${DATADIR}
|
||||
.endfor
|
||||
|
||||
PLIST_FILE_LIST= bin/freeroute.jnlp \
|
||||
bin/cvpcb \
|
||||
bin/eeschema \
|
||||
bin/gerbview \
|
||||
bin/kicad \
|
||||
bin/minizip \
|
||||
bin/pcbnew \
|
||||
share/mimelnk/application/x-kicad-schematic.desktop \
|
||||
share/mimelnk/application/x-kicad-project.desktop \
|
||||
share/icons/hicolor/24x24/mimetypes/application-x-kicad-project.png \
|
||||
share/icons/hicolor/48x48/apps/kicad.png \
|
||||
share/icons/hicolor/48x48/mimetypes/application-x-kicad-project.png \
|
||||
share/icons/hicolor/scalable/apps/kicad.svg \
|
||||
share/icons/hicolor/scalable/mimetypes/application-x-kicad-project.svg \
|
||||
share/icons/hicolor/16x16/mimetypes/application-x-kicad-project.png \
|
||||
share/icons/hicolor/32x32/mimetypes/application-x-kicad-project.png \
|
||||
share/icons/hicolor/22x22/mimetypes/application-x-kicad-project.png \
|
||||
share/mime/packages/kicad.xml \
|
||||
share/applications/kicad.desktop \
|
||||
share/applications/eeschema.desktop
|
||||
|
||||
PLIST_DIR_LIST=
|
||||
|
||||
build-plist:
|
||||
${RM} -f ${PLIST}
|
||||
cd ${PREFIX} && \
|
||||
(ls ${PLIST_FILE_LIST}; ${FIND} ${PLIST_DIR_LIST} -type f) | \
|
||||
${SORT} >> ${PLIST}
|
||||
${FIND} ${DATADIR} ${DOCSDIR} -type f | \
|
||||
${SED} -e 's|${DATADIR}|%%DATADIR%%|' \
|
||||
-e 's|${DOCSDIR}|%%DOCSDIR%%|' | ${SORT} >> ${PLIST}
|
||||
cd ${PREFIX} && \
|
||||
${FIND} ${PLIST_DIR_LIST} -type d | \
|
||||
${SORT} -r | ${SED} -e 's|^|@dirrm |' >> ${PLIST}
|
||||
${FIND} ${DATADIR} ${DOCSDIR} -type d | ${SORT} -r | \
|
||||
${SED} -e 's|${DATADIR}|%%DATADIR%%|' \
|
||||
-e 's|${DOCSDIR}|%%DOCSDIR%%|' \
|
||||
-e 's|^|@dirrm |' >> ${PLIST}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
1
cad/kicad-devel/Makefile.svn_rev
Normal file
1
cad/kicad-devel/Makefile.svn_rev
Normal file
|
@ -0,0 +1 @@
|
|||
SVN_REV= 2019
|
|
@ -1,9 +1,3 @@
|
|||
MD5 (kicad/kicad-20080825.tar.bz2) = fa3d3e0d7e2793073581cf46f23cca8d
|
||||
SHA256 (kicad/kicad-20080825.tar.bz2) = 5fe86970a1b79898b6e810f02aa89b48dc063d233cc40568d5ed77f4504d2540
|
||||
SIZE (kicad/kicad-20080825.tar.bz2) = 3965134
|
||||
MD5 (kicad/kicad-library-1.0.tar.bz2) = 9c91940aa5f5563bb86c52ff07e8f99a
|
||||
SHA256 (kicad/kicad-library-1.0.tar.bz2) = 8233cc3a63ad6a5d5cd691421a88c02ec7937fbcb932ea53feca18e958a1fdc4
|
||||
SIZE (kicad/kicad-library-1.0.tar.bz2) = 2005524
|
||||
MD5 (kicad/kicad-doc-1.0.tar.bz2) = fa98a5f0f8dc3d04e8ece4f3d1c8064c
|
||||
SHA256 (kicad/kicad-doc-1.0.tar.bz2) = 81ee341af9f2ed886c4fb152ac01cdf1e05726cded9a031aa52c0566e7511563
|
||||
SIZE (kicad/kicad-doc-1.0.tar.bz2) = 29928645
|
||||
MD5 (kicad/kicad-r2019.tar.bz2) = 91f5fb824ec5a301d1c6fbf034eaec6a
|
||||
SHA256 (kicad/kicad-r2019.tar.bz2) = 4ace7293ebaf1d8b58de5d2a5c24c1545510ce4facc76a38ecdf00bb992df8d8
|
||||
SIZE (kicad/kicad-r2019.tar.bz2) = 23005286
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
--- 3d-viewer/makefile.include.orig 2007-12-29 20:15:58.000000000 +0100
|
||||
+++ 3d-viewer/makefile.include 2008-09-20 18:47:08.000000000 +0200
|
||||
@@ -1,5 +1,5 @@
|
||||
EXTRALIBS =
|
||||
-EXTRACPPFLAGS= -I./ -I../include -I../common -I../polygon -I../pcbnew
|
||||
+EXTRACPPFLAGS= -I./ -I../include -I../common -I../polygon -I../pcbnew -I${LOCALBASE}/include
|
||||
|
||||
CPPFLAGS += $(EXTRACPPFLAGS)
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
--- cvpcb/makefile.include.orig 2008-08-01 20:41:51.000000000 +0200
|
||||
+++ cvpcb/makefile.include 2008-09-20 18:51:04.000000000 +0200
|
||||
@@ -3,7 +3,8 @@
|
||||
|
||||
EXTRACPPFLAGS += -DCVPCB -fno-strict-aliasing\
|
||||
-I./ -I../cvpcb -I../include -Ibitmaps\
|
||||
- -I../pcbnew -I../3d-viewer -I ../polygon
|
||||
+ -I../pcbnew -I../3d-viewer -I ../polygon\
|
||||
+ -I${LOCALBASE}/include
|
||||
|
||||
EXTRALIBS = ../common/common.a ../bitmaps/libbitmaps.a\
|
||||
../polygon/lib_polygon.a\
|
|
@ -1,11 +0,0 @@
|
|||
--- gerbview/makefile.include.orig 2008-06-02 13:23:50.000000000 +0200
|
||||
+++ gerbview/makefile.include 2008-09-20 18:58:29.000000000 +0200
|
||||
@@ -4,7 +4,7 @@
|
||||
EXTRACPPFLAGS= -DGERBVIEW -DPCBNEW -fno-strict-aliasing\
|
||||
-I./ -I../gerbview -I../include\
|
||||
-I../share -I../pcbnew -I../3d-viewer\
|
||||
- -I../polygon
|
||||
+ -I../polygon -I${LOCALBASE}/include
|
||||
|
||||
|
||||
#COMMON = pcbnew.h struct.h
|
|
@ -1,117 +0,0 @@
|
|||
--- libs.FreeBSD.orig 2008-09-21 21:25:03.000000000 +0200
|
||||
+++ libs.FreeBSD 2008-09-21 23:12:06.000000000 +0200
|
||||
@@ -18,7 +18,7 @@
|
||||
# STD_INSTALL = 2 is used only to make static link (only useful when kicad run on an other
|
||||
# linux distribution than the distributions used to compil kicad.
|
||||
|
||||
-STD_INSTALL = 0
|
||||
+STD_INSTALL = 1
|
||||
|
||||
#*******************************************
|
||||
#*******************************************
|
||||
@@ -34,17 +34,16 @@
|
||||
endif
|
||||
|
||||
ifeq ($(STD_INSTALL), 1) # Used to build linux distribs
|
||||
-PREFIX = /usr # (can also be /usr/local)
|
||||
KICAD_BIN = $(PREFIX)/bin # Install main binaries here
|
||||
KICAD_PLUGINS = $(KICAD_BIN) # Install other binaries here
|
||||
KICAD_DOCS=$(PREFIX)/share/doc/kicad # Install doc files here
|
||||
-KICAD_DATA=$(PREFIX)/share/kicad # Install libraries and others files here
|
||||
+# Install libraries and others files here
|
||||
+KICAD_DATA = $(PREFIX)/share/kicad
|
||||
|
||||
else # Install ALL files in /usr/local/kicad
|
||||
# when STD_INSTALL = 0 or STD_INSTALL = 2
|
||||
# STD_INSTALL = 0 is used to build kicad intalled in /usr/local
|
||||
# STD_INSTALL = 2 is used by myself (JP Charras) to build a statically linked distribution intalled in /usr/local
|
||||
-PREFIX = /usr/local/kicad
|
||||
KICAD_BIN = $(PREFIX)/bin
|
||||
KICAD_PLUGINS = $(KICAD_BIN)/plugins
|
||||
KICAD_DOCS=$(PREFIX)/help
|
||||
@@ -57,7 +56,7 @@
|
||||
KICAD_TEMPLATE=$(KICAD_DATA)/template
|
||||
|
||||
# define compil and link
|
||||
-LD = g++
|
||||
+LD = $(CXX)
|
||||
|
||||
SRCSUFF = .cpp
|
||||
OBJSUFF = .o
|
||||
@@ -71,12 +70,12 @@
|
||||
# common CPPFLAGS to all components, further CPPFLAGS customization in
|
||||
# directory specific makefile.gtk files.
|
||||
ifeq ($(DEBUG), 1)
|
||||
-WXXFLAGS := $(shell wx-config --debug --cxxflags)
|
||||
-CPPFLAGS = -Wall -g3 -ggdb3 ${WXXFLAGS} -fno-strict-aliasing -DDEBUG -D_UNICODE
|
||||
-LDFLAGS = -g3 -ggdb3 #-v
|
||||
+WXXFLAGS := `${WX_CONFIG} --debug --cxxflags`
|
||||
+CPPFLAGS = -Wall -g ${WXXFLAGS} -fno-strict-aliasing -DDEBUG -D_UNICODE
|
||||
+LDFLAGS = -g #-v
|
||||
else
|
||||
-WXXFLAGS := $(shell wx-config --cxxflags)
|
||||
-CPPFLAGS = -Wall -O2 ${WXXFLAGS} -fno-strict-aliasing -D_UNICODE
|
||||
+WXXFLAGS := `${WX_CONFIG} --cxxflags`
|
||||
+CPPFLAGS+= -Wall ${WXXFLAGS} -fno-strict-aliasing -D_UNICODE
|
||||
LDFLAGS = -s #-v
|
||||
endif
|
||||
|
||||
@@ -88,28 +87,28 @@
|
||||
|
||||
ifdef KICAD_PYTHON
|
||||
PYTHON_VERSION=2.5
|
||||
-PYLIBS= -L/usr/lib
|
||||
-PYLIBS+= -L /usr/include/python
|
||||
+PYLIBS= -L${LOCALBASE}/lib
|
||||
+PYLIBS+= -L${LOCALBASE}/lib/python$(PYTHON_VERSION)
|
||||
PYLIBS+= -lpython$(PYTHON_VERSION)
|
||||
PYLIBS+= -lboost_python-mt
|
||||
-EXTRACPPFLAGS+=-I /usr/include/python$(PYTHON_VERSION) -DKICAD_PYTHON -fno-strict-aliasing
|
||||
+EXTRACPPFLAGS+=-I ${LOCALBASE}/python$(PYTHON_VERSION) -DKICAD_PYTHON -fno-strict-aliasing
|
||||
endif
|
||||
|
||||
# mesa (free opengl library) libs
|
||||
-MESALIBSPATH = /usr/local/lib
|
||||
+MESALIBSPATH = ${LOCALBASE}/lib
|
||||
|
||||
#for static link: add wx gl lib
|
||||
-LIBVERSION=`wx-config --release`
|
||||
-WXPATH = `wx-config --prefix`/lib
|
||||
-PREFIX_WX_LIBS = lib`wx-config --basename`
|
||||
+LIBVERSION=`${WX_CONFIG} --release`
|
||||
+WXPATH = `${WX_CONFIG} --prefix`/lib
|
||||
+PREFIX_WX_LIBS = lib`${WX_CONFIG} --basename`
|
||||
SUFFIX_WX_LIBGL = _gl-$(LIBVERSION).a
|
||||
|
||||
ifeq ($(DEBUG), 1)
|
||||
# debug wxWidgets
|
||||
-WXSYSLIB= `wx-config --debug --libs std`
|
||||
+WXSYSLIB= `${WX_CONFIG} --debug --libs std`
|
||||
else
|
||||
# or use "standard command" for wxWidgets
|
||||
-WXSYSLIB= `wx-config --libs std`
|
||||
+WXSYSLIB= `${WX_CONFIG} --libs std`
|
||||
endif
|
||||
|
||||
# use link static
|
||||
@@ -119,16 +118,16 @@
|
||||
|
||||
else
|
||||
ifeq ($(DEBUG), 1)
|
||||
-WXSYSLIB_WITH_GL= `wx-config --debug --libs std,gl`
|
||||
+WXSYSLIB_WITH_GL= `${WX_CONFIG} --debug --libs std,gl`
|
||||
else
|
||||
-WXSYSLIB_WITH_GL= `wx-config --libs std,gl`
|
||||
+WXSYSLIB_WITH_GL= `${WX_CONFIG} --libs std,gl`
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
# attention a l'ordre des libairies
|
||||
-LIBS = -L/usr/local/lib -L/usr/X11R6/lib\
|
||||
+LIBS = -L${LOCALBASE}/lib \
|
||||
$(EXTRALIBS) $(WXSYSLIB) $(PYLIBS)
|
||||
|
||||
-LIBS_WITH_GL = -L/usr/local/lib -L/usr/X11R6/lib\
|
||||
+LIBS_WITH_GL = -L${LOCALBASE}/lib \
|
||||
$(EXTRALIBS) $(WXSYSLIB_WITH_GL) $(PYLIBS)
|
|
@ -1,11 +0,0 @@
|
|||
--- ./pcbnew/class_module.cpp.orig 2008-08-09 11:05:42.000000000 +0200
|
||||
+++ ./pcbnew/class_module.cpp 2008-09-20 22:18:34.000000000 +0200
|
||||
@@ -1060,7 +1060,7 @@
|
||||
pos += 6;
|
||||
if( flag ) // Affichage date de modification (utile en Module Editor)
|
||||
{
|
||||
- strcpy( Line, ctime( &m_LastEdit_Time ) );
|
||||
+ strcpy( Line, ctime((time_t*) &m_LastEdit_Time ) );
|
||||
strtok( Line, " \n\r" );
|
||||
strcpy( bufcar, strtok( NULL, " \n\r" ) ); strcat( bufcar, " " );
|
||||
strcat( bufcar, strtok( NULL, " \n\r" ) ); strcat( bufcar, ", " );
|
|
@ -1,20 +0,0 @@
|
|||
--- pcbnew/makefile.gtk.orig 2008-07-25 16:37:53.000000000 +0200
|
||||
+++ pcbnew/makefile.gtk 2008-11-30 16:40:13.000000000 +0100
|
||||
@@ -19,14 +19,14 @@
|
||||
-include *.d
|
||||
|
||||
CPPFLAGS += $(EXTRACPPFLAGS)
|
||||
-EDACPPFLAGS = $(CPPFLAGS) $(BOOST_LIB)
|
||||
+EDACPPFLAGS = $(CPPFLAGS) -I $(BOOST_LIB)
|
||||
|
||||
|
||||
$(TARGET): $(OBJECTS) makefile.gtk makefile.include $(LIBVIEWER3D) $(EXTRALIBS) ../libs.linux
|
||||
$(LD) $(LDFLAGS) $(OBJECTS) $(LIBVIEWER3D) $(LIBS_WITH_GL)\
|
||||
-o $(TARGET)
|
||||
-
|
||||
-
|
||||
+
|
||||
+
|
||||
install: $(TARGET)
|
||||
mkdir -p $(KICAD_BIN)
|
||||
cp $(TARGET) $(KICAD_BIN)
|
|
@ -1,11 +0,0 @@
|
|||
--- pcbnew/makefile.include.orig 2008-07-12 10:25:35.000000000 +0200
|
||||
+++ pcbnew/makefile.include 2008-09-20 22:20:40.000000000 +0200
|
||||
@@ -4,7 +4,7 @@
|
||||
../polygon/kbool/src/libkbool.a
|
||||
|
||||
EXTRACPPFLAGS += -DPCBNEW -fno-strict-aliasing -I./ -Ibitmaps -I../include -I../share\
|
||||
- -I../pcbnew -I../3d-viewer -I../polygon -I/opt/local/include
|
||||
+ -I../pcbnew -I../3d-viewer -I../polygon -I${LOCALBASE}/include
|
||||
|
||||
#COMMON = pcbnew.h struct.h class_pad.h class_module.h class_text_mod.h \
|
||||
# class_edge_mod.h class_equipot.h
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue