Update fritzing to the latest. Releases have moved to github, so should
be less churn in the weird whay they cut their dist files (now zip.. now tar_1.bz2.. now..) OK sthen@
This commit is contained in:
parent
6a6530beb8
commit
5847cae83f
@ -1,37 +1,45 @@
|
||||
# $OpenBSD: Makefile,v 1.20 2014/11/04 22:01:53 abieber Exp $
|
||||
# $OpenBSD: Makefile,v 1.21 2015/11/24 15:02:23 abieber Exp $
|
||||
|
||||
COMMENT= interactive electronics designing software
|
||||
|
||||
V= 0.9.0
|
||||
DISTNAME= fritzing-$Vb.source
|
||||
PKGNAME= fritzing-$V
|
||||
V= 0.9.2
|
||||
|
||||
GH_ACCOUNT= fritzing
|
||||
GH_PROJECT= fritzing-app
|
||||
GH_TAGNAME= ${V}b
|
||||
|
||||
DISTNAME= fritzing-$Vb
|
||||
CATEGORIES= cad
|
||||
|
||||
DISTFILES= ${DISTNAME}.tar.gz \
|
||||
fritzing-parts-${GH_TAGNAME}${EXTRACT_SUFX}:0
|
||||
|
||||
HOMEPAGE= http://fritzing.org/
|
||||
|
||||
MAINTAINER= Aaron Bieber <abieber@openbsd.org>
|
||||
|
||||
MASTER_SITES0= https://github.com/fritzing/fritzing-parts/archive/${GH_TAGNAME}/
|
||||
|
||||
# Code: GPLv3+
|
||||
# Rest: CreativeCommons:BY-SA
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}download/$Vb/source-tarball/
|
||||
EXTRACT_SUFX= .tar_1.bz2
|
||||
|
||||
EXTRACT_CASES= *.tar_1.bz2) tar -jxf ${FULLDISTDIR}/$$archive ;;
|
||||
|
||||
WANTLIB += QtGui QtNetwork QtSql QtSvg QtXml c m pthread stdc++ z
|
||||
WANTLIB += ICE SM X11 Xext Xi Xinerama Xrender fontconfig freetype
|
||||
|
||||
MODULES= x11/qt4
|
||||
NO_TEST= Yes
|
||||
|
||||
BUILD_DEPENDS= devel/boost
|
||||
BUILD_DEPENDS= comms/qtserialport \
|
||||
devel/boost
|
||||
|
||||
RUN_DEPENDS= devel/desktop-file-utils
|
||||
|
||||
pre-configure:
|
||||
cp -rp ${WRKDIR}/fritzing-parts-${GH_TAGNAME}/* ${WRKSRC}/parts
|
||||
${SUBST_CMD} ${WRKSRC}/phoenix.pro ${WRKSRC}/src/fapplication.cpp
|
||||
|
||||
WANTLIB += ICE QtGui QtNetwork QtSql QtSvg QtXml SM X11 Xext Xi
|
||||
WANTLIB += Xinerama Xrender c fontconfig freetype m pthread stdc++
|
||||
WANTLIB += z
|
||||
|
||||
# -DLINUX_32 gets added to CFLAGS, though it's only used to figure out
|
||||
# if there is a newer version of the 32-bit Linux binary on the upstream
|
||||
# webpage. So it's safe to set it on all arches (for now).
|
||||
|
@ -1,2 +1,4 @@
|
||||
SHA256 (fritzing-0.9.0b.source.tar_1.bz2) = 84nbOdDRjKT3GKV6KFySjBOmwcSCXxbLAb3IgO20OKA=
|
||||
SIZE (fritzing-0.9.0b.source.tar_1.bz2) = 20978530
|
||||
SHA256 (fritzing-0.9.2b.tar.gz) = bp27lKTKXiPv/CBW9HHHiRO576TBVM7ZTej3K/4pc18=
|
||||
SHA256 (fritzing-parts-0.9.2b.tar.gz) = X19eJr/DORH1exYgkS/fCoNMUNGWuTDvcOeE86RHGUs=
|
||||
SIZE (fritzing-0.9.2b.tar.gz) = 10913985
|
||||
SIZE (fritzing-parts-0.9.2b.tar.gz) = 15924206
|
||||
|
@ -1,17 +1,17 @@
|
||||
$OpenBSD: patch-phoenix_pro,v 1.7 2014/03/26 16:00:31 jasper Exp $
|
||||
$OpenBSD: patch-phoenix_pro,v 1.8 2015/11/24 15:02:24 abieber Exp $
|
||||
|
||||
- Don't build everything twice, just once takes long enough already.
|
||||
- Remove bundled boost and use the system-wide version instead.
|
||||
|
||||
--- phoenix.pro.orig Fri Jan 24 21:00:54 2014
|
||||
+++ phoenix.pro Wed Mar 26 16:11:04 2014
|
||||
@@ -31,7 +31,7 @@
|
||||
--- phoenix.pro.orig Tue Mar 17 07:36:55 2015
|
||||
+++ phoenix.pro Mon Nov 16 17:29:07 2015
|
||||
@@ -31,7 +31,8 @@
|
||||
# QTPLUGIN += qjpeg qsqlite
|
||||
|
||||
|
||||
-CONFIG += debug_and_release
|
||||
+CONFIG += release
|
||||
+LIBS += -Wl,-rpath,${LOCALBASE}/lib/qt4 -lQtSerialPort
|
||||
win32 {
|
||||
# release build using msvc 2010 needs to use Multi-threaded (/MT) for the code generation/runtime library option
|
||||
# release build using msvc 2010 needs to add msvcrt.lib;%(IgnoreSpecificDefaultLibraries) to the linker/no default libraries option
|
||||
|
||||
|
12
cad/fritzing/patches/patch-src_program_programtab_cpp
Normal file
12
cad/fritzing/patches/patch-src_program_programtab_cpp
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_program_programtab_cpp,v 1.1 2015/11/24 15:02:24 abieber Exp $
|
||||
--- src/program/programtab.cpp.orig Mon Nov 16 17:37:49 2015
|
||||
+++ src/program/programtab.cpp Mon Nov 16 17:38:09 2015
|
||||
@@ -751,7 +751,7 @@ void ProgramTab::sendProgram() {
|
||||
m_programButton->setEnabled(false);
|
||||
m_console->setPlainText("");
|
||||
m_platform->upload(this,
|
||||
- m_portComboBox->currentData().toString(),
|
||||
+ m_portComboBox->currentText(),
|
||||
m_boardComboBox->currentText(),
|
||||
m_filename);
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
Fritzing is essentially Electronic Design Automation software suited to the
|
||||
needs of designers and artists. It uses the metaphor of the breadboard,
|
||||
so that it is easy to transfer a hardware sketch to the software by using a
|
||||
drag-and-drop-based GUI to copy your sketch. From there it is possible
|
||||
to create PCB layouts for turning your prototype into a robust PCB,
|
||||
Fritzing is essentially Electronic Design Automation software suited to the
|
||||
needs of designers and artists. It uses the metaphor of the breadboard,
|
||||
so that it is easy to transfer a hardware sketch to the software by using a
|
||||
drag-and-drop-based GUI to copy your sketch. From there it is possible
|
||||
to create PCB layouts for turning your prototype into a robust PCB,
|
||||
either on your own, or with the help of a manufacturer.
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user