mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
misc/valentina: Update 0.6.1 -> 0.7.0.0a
PR: 247896 Submitted by: vvd@unislabs.com (initial version)
This commit is contained in:
parent
6f0d28bec6
commit
f57b1d8122
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=541983
@ -1,10 +1,8 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= valentina
|
||||
DISTVERSION= 0.6.1
|
||||
PORTREVISION= 3
|
||||
DISTVERSION= 0.7.0.0a
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= https://bitbucket.org/${BB_ACCOUNT}/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Sewing pattern drafting tool aiming to remake the garment industry
|
||||
@ -12,16 +10,17 @@ COMMENT= Sewing pattern drafting tool aiming to remake the garment industry
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE_GPL.txt
|
||||
|
||||
BROKEN= Does not build with Qt5-5.14
|
||||
|
||||
USES= compiler:c++11-lang desktop-file-utils gl gmake qmake qt:5
|
||||
USE_QT= concurrent core gui network opengl printsupport svg widgets xml xmlpatterns buildtools_build linguisttools_build testlib_build
|
||||
USES= compiler:c++11-lang desktop-file-utils dos2unix gl gmake qmake qt:5
|
||||
USE_QT= buildtools_build concurrent core gui linguisttools_build network \
|
||||
opengl printsupport svg testlib_build widgets xml xmlpatterns
|
||||
USE_GL= gl
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
BB_ACCOUNT= dismine
|
||||
BB_PROJECT= ${PORTNAME}
|
||||
BB_COMMIT= a2e2f6648b28
|
||||
DOS2UNIX_FILE= src/libs/vgeometry/vellipticalarc.cpp
|
||||
|
||||
USE_GITLAB= yes
|
||||
GL_ACCOUNT= smart-pattern
|
||||
GL_COMMIT= 15e731671f9471390d7ccf95c7eb5bbda8c25f95
|
||||
|
||||
QMAKE_ARGS= CONFIG+="noTests" CONFIG+="noRunPath"
|
||||
.if !defined(WITH_CCACHE_BUILD) || defined(NO_CCACHE)
|
||||
@ -29,11 +28,4 @@ QMAKE_ARGS+= CONFIG+="no_ccache"
|
||||
.endif
|
||||
BINARY_ALIAS= hg=/usr/bin/true
|
||||
|
||||
WRKSRC= ${WRKDIR}/${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's|DEFAULT_PREFIX = /usr|DEFAULT_PREFIX = ${PREFIX}|' ${WRKSRC}/common.pri
|
||||
@${REINPLACE_CMD} 's|/usr/share|${PREFIX}/share|' ${WRKSRC}/src/app/valentina/valentina.pro ${WRKSRC}/src/app/tape/tape.pro
|
||||
@${REINPLACE_CMD} 's|g++ -dumpversion|g++${GCC_DEFAULT} -dumpversion|' ${WRKSRC}/Valentina.pro
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1540485495
|
||||
SHA256 (valentina-0.6.1.tar.gz) = 165cf34558983116f6f424beae4806f909c61fe4bcffd583461a8614b3d2d2bb
|
||||
SIZE (valentina-0.6.1.tar.gz) = 35642532
|
||||
TIMESTAMP = 1594379769
|
||||
SHA256 (smart-pattern-valentina-15e731671f9471390d7ccf95c7eb5bbda8c25f95_GL0.tar.gz) = 113f1c5375c2ee4b1f0ff1f8684125e8c6a181eb857e1d625df79df792597f6c
|
||||
SIZE (smart-pattern-valentina-15e731671f9471390d7ccf95c7eb5bbda8c25f95_GL0.tar.gz) = 42388820
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- common.pri.orig 2018-08-11 23:09:01 UTC
|
||||
--- common.pri.orig 2020-07-11 05:51:06 UTC
|
||||
+++ common.pri
|
||||
@@ -164,11 +164,11 @@ defineTest(forceCopyToDestdir) {
|
||||
@@ -209,11 +209,11 @@ defineTest(forceCopyToDestdir) {
|
||||
# We use precompiled headers for more fast compilation source code.
|
||||
defineReplace(set_PCH){
|
||||
no_ccache{
|
||||
@ -15,3 +15,12 @@
|
||||
|
||||
*msvc* {
|
||||
PRECOMPILED_SOURCE = stable.cpp # MSVC need also cpp file.
|
||||
@@ -311,7 +311,7 @@ defineReplace(FindLatestTagDistance){
|
||||
}
|
||||
|
||||
# Default prefix. Use for creation install path.
|
||||
-DEFAULT_PREFIX = /usr
|
||||
+DEFAULT_PREFIX = /usr/local
|
||||
|
||||
# In debug mode on Unix system we use all usefull for us compilers keys for checking errors.
|
||||
# Also trying make all possible for speed up build time.
|
||||
|
@ -0,0 +1,10 @@
|
||||
--- src/libs/vgeometry/vellipticalarc.cpp.orig 2020-07-11 05:51:16 UTC
|
||||
+++ src/libs/vgeometry/vellipticalarc.cpp
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
#include <QLineF>
|
||||
#include <QPoint>
|
||||
+#include <QPainterPath>
|
||||
|
||||
#include "../vmisc/def.h"
|
||||
#include "../vmisc/vmath.h"
|
@ -0,0 +1,10 @@
|
||||
--- src/libs/vgeometry/vplacelabelitem.cpp.orig 2020-07-11 05:51:16 UTC
|
||||
+++ src/libs/vgeometry/vplacelabelitem.cpp
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <qnumeric.h>
|
||||
#include <QPolygonF>
|
||||
#include <QTransform>
|
||||
+#include <QPainterPath>
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
VPlaceLabelItem::VPlaceLabelItem()
|
@ -1,8 +1,8 @@
|
||||
--- src/libs/vmisc/debugbreak.h.orig 2018-10-20 17:36:33 UTC
|
||||
--- src/libs/vmisc/debugbreak.h.orig 2020-07-11 05:51:16 UTC
|
||||
+++ src/libs/vmisc/debugbreak.h
|
||||
@@ -100,6 +100,13 @@ __inline__ static void trap_instruction(void)
|
||||
* 'aarch64_default_breakpoint' */
|
||||
__asm__ volatile(".inst 0xd4200000");
|
||||
@@ -119,6 +119,13 @@ __inline__ static void trap_instruction(void)
|
||||
* The workaround is the same as ARM Thumb mode: use debugbreak-gdb.py
|
||||
* or manually jump over the instruction. */
|
||||
}
|
||||
+#elif defined(__powerpc__)
|
||||
+enum { HAVE_TRAP_INSTRUCTION = 1 };
|
||||
@ -12,5 +12,5 @@
|
||||
+ __asm__ volatile(".4byte 0x7d821008");
|
||||
+}
|
||||
#else
|
||||
enum { HAVE_TRAP_INSTRUCTION = 0 };
|
||||
#define DEBUG_BREAK_IMPL DEBUG_BREAK_USE_SIGTRAP
|
||||
#endif
|
||||
|
10
misc/valentina/files/patch-src_libs_vpatterndb_vpassmark.h
Normal file
10
misc/valentina/files/patch-src_libs_vpatterndb_vpassmark.h
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/libs/vpatterndb/vpassmark.h.orig 2020-07-11 05:51:16 UTC
|
||||
+++ src/libs/vpatterndb/vpassmark.h
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QMetaType>
|
||||
+#include <QPainterPath>
|
||||
|
||||
#include "vpiece.h"
|
||||
#include "../vgeometry/vgeometrydef.h"
|
@ -7,4 +7,4 @@ manufacturers, enable independent and small designers and manufacturers to scale
|
||||
up to make a decent living, rebuild local garment districts, and reduce or
|
||||
eliminate slave labor.
|
||||
|
||||
WWW: https://valentinaproject.bitbucket.io/
|
||||
WWW: https://gitlab.com/smart-pattern/valentina
|
||||
|
@ -2,19 +2,39 @@ bin/tape
|
||||
bin/valentina
|
||||
lib/libqmuparser.so
|
||||
lib/libqmuparser.so.2
|
||||
lib/libqmuparser.so.2.6
|
||||
lib/libqmuparser.so.2.6.0
|
||||
lib/libqmuparser.so.2.7
|
||||
lib/libqmuparser.so.2.7.0
|
||||
lib/libvpropertyexplorer.so
|
||||
lib/libvpropertyexplorer.so.1
|
||||
lib/libvpropertyexplorer.so.1.0
|
||||
lib/libvpropertyexplorer.so.1.0.0
|
||||
share/applications/tape.desktop
|
||||
share/applications/valentina.desktop
|
||||
share/pixmaps/application-x-valentina-i-measurements.png
|
||||
share/pixmaps/application-x-valentina-pattern.png
|
||||
share/pixmaps/application-x-valentina-s-measurements.png
|
||||
share/pixmaps/tape.png
|
||||
share/pixmaps/valentina.png
|
||||
share/icons/hicolor/128x128/apps/tape.png
|
||||
share/icons/hicolor/128x128/apps/valentina.png
|
||||
share/icons/hicolor/128x128/mimetypes/application-x-valentina-i-measurements.png
|
||||
share/icons/hicolor/128x128/mimetypes/application-x-valentina-pattern.png
|
||||
share/icons/hicolor/128x128/mimetypes/application-x-valentina-s-measurements.png
|
||||
share/icons/hicolor/256x256/apps/tape.png
|
||||
share/icons/hicolor/256x256/apps/valentina.png
|
||||
share/icons/hicolor/256x256/mimetypes/application-x-valentina-i-measurements.png
|
||||
share/icons/hicolor/256x256/mimetypes/application-x-valentina-pattern.png
|
||||
share/icons/hicolor/256x256/mimetypes/application-x-valentina-s-measurements.png
|
||||
share/icons/hicolor/48x48/apps/tape.png
|
||||
share/icons/hicolor/48x48/apps/valentina.png
|
||||
share/icons/hicolor/48x48/mimetypes/application-x-valentina-i-measurements.png
|
||||
share/icons/hicolor/48x48/mimetypes/application-x-valentina-pattern.png
|
||||
share/icons/hicolor/48x48/mimetypes/application-x-valentina-s-measurements.png
|
||||
share/icons/hicolor/512x512/apps/tape.png
|
||||
share/icons/hicolor/512x512/apps/valentina.png
|
||||
share/icons/hicolor/512x512/mimetypes/application-x-valentina-i-measurements.png
|
||||
share/icons/hicolor/512x512/mimetypes/application-x-valentina-pattern.png
|
||||
share/icons/hicolor/512x512/mimetypes/application-x-valentina-s-measurements.png
|
||||
share/icons/hicolor/64x64/apps/tape.png
|
||||
share/icons/hicolor/64x64/apps/valentina.png
|
||||
share/icons/hicolor/64x64/mimetypes/application-x-valentina-i-measurements.png
|
||||
share/icons/hicolor/64x64/mimetypes/application-x-valentina-pattern.png
|
||||
share/icons/hicolor/64x64/mimetypes/application-x-valentina-s-measurements.png
|
||||
%%DATADIR%%/labels/def_pattern_label.xml
|
||||
%%DATADIR%%/labels/def_piece_label.xml
|
||||
%%DATADIR%%/tables/multisize/GOST_man_ru.vst
|
||||
|
Loading…
Reference in New Issue
Block a user