pkgsrc/cad/qcad/patches/patch-src_run_run.pri
plunky db4aa04efe Update to version 3.16.0 (released 2016/12/14)
Command Line Tools:
    Add -block switch to dwg2pdf, dwg2bmp, dwg2svg and dwg2maptiles
  dwg2svg:
    Add -layer-attribute switch to export layer attributes (into QCAD namespace)
  dwg2bmp:
    Add -noweightmargin switch to avoid extra margin to account for lineweights
  Command line widget:
    allow for multi-line input (pasting list of coordinates for lines, polylines, splines, etc.)
  Modify:
    Explode:
      Explode block arrays into separate block references
      Explode solid fills into boundary
    Break out:
      Break out segments from self-intersecting polylines
  Misc:
    Highlight start point of lines, arcs, ellipse arcs, polylines, splines when selected
  Bug fixes:
    FS#1461 - Zoom in / out: not centred under mouse cursor if Retina resolution is enabled for graphics view
    FS#1466 - Toolbars on second screen cannot be accessed if second screen is detached
    FS#1474 - Dimension > Leader: changing options breaks tool
    FS#1476 - Draw > Circle > 2 Tangents and Radius: exception with arcs and circle entities
    FS#1479 - Modify > Explode: too many segments for splines with large tolerance
    FS#1481 - Block List: update changes selected item
    FS#1491 - Layer > Create Layer from Selection: cancelling dialog fails
    FS#1497 - Autosnap: hangs with very complex splines
    FS#1508 - QCAD CE: Subscript and superscript formatting lost when file re-opened
    FS#1509 - Ellipse / circle, ellipse / ellipse intersections


Also as part of this update, I have removed the example plugins that do nothing (as
on the QCAD forum, the author states that these may slow down the operation)
2016-12-16 11:16:32 +00:00

28 lines
834 B
Text

$NetBSD: patch-src_run_run.pri,v 1.2 2016/12/16 11:16:32 plunky Exp $
fix build for pkgsrc, by allowing qmake to link binaries in situ
and create an install target
only link to the Qt plugins, no need to copy them over
--- src/run/run.pri.orig 2016-07-01 07:13:14.000000000 +0000
+++ src/run/run.pri
@@ -39,6 +39,9 @@ else {
TARGET = $${RLIBNAME}-bin
}
}
+TARGET = $${RLIBNAME}
+INSTALLS += target
+target.path = $${PREFIX}/bin
# copy Qt plugins to QCAD plugin folder:
!build_pass {
@@ -102,7 +105,7 @@ else {
for(FILE,FILES) {
!exists("$${DESTDIR}/../plugins/$${FILE}") {
- system(cp "$$[QT_INSTALL_PLUGINS]/$${FILE}" "$${DESTDIR}/../plugins/$${FILE}")
+ system(ln -sf "$$[QT_INSTALL_PLUGINS]/$${FILE}" "../../plugins/$${FILE}")
}
}