42 Commits

Author SHA1 Message Date
Tijl Coosemans
1bf487d3e7 Fix Qt5 symbol version scripts to put the catch-all clause first. When
a symbol matches multiple clauses the last one takes precedence.  If the
catch-all is last it captures everything.  In the case of Qt5 libraries
this caused all symbols to have a Qt_5 label while some should have
Qt_5_PRIVATE_API.  This only affects lld because GNU ld always gives the
catch-all lowest priority.

Older versions of Qt5Webengine exported some memory allocation symbols from
the bundled Chromium.  Version 5.9 stopped exporting these [1] but the
symbols were kept as weak wrappers for the standard allocation functions to
maintain binary compatibility. [2][3]  The problem is that the call to the
standard function in these weak wrappers is only resolved to the standard
function if there's a call to this standard function in other parts of
Qt5Webengine, because only then is there a non-weak symbol that takes
precedence over the weak one.  If there's no such non-weak symbol the call
in the weak wrapper resolves to the weak wrapper itself creating an infinite
call loop that overflows the stack and causes a crash.  Some of the
allocation functions are variants of C++ new and delete and it probably
depends on the compiler whether these variants are used in other parts of
Qt5Webengine.

Remove the weak wrappers (make them Linux specific).  This isn't binary
compatible but we are already breaking that with the changes to the symbol
versions.

[1] 5c2cbfccf9
[2] 2ed5054e3a
[3] 009f5ebb4b

Bump all ports that depend on Qt5.

PR:		234070
Exp-run by:	antoine
Approved by:	kde (adridg)
2019-01-16 11:13:44 +00:00
Tobias C. Berner
8a4ab05d84 Update math/eigen3 to 3.3.7
- http://eigen.tuxfamily.org/index.php?title=ChangeLog#Eigen_3.3.6
- http://eigen.tuxfamily.org/index.php?title=ChangeLog#Eigen_3.3.7
2018-12-26 09:06:34 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Jan Beich
7c879267dc devel/boost-*: update to 1.69.0
Changes:	http://www.boost.org/users/history/version_1_69_0.html
PR:		232525
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17645
2018-12-12 00:15:49 +00:00
Jan Beich
96bc9a92c5 graphics/colmap: drop FreeBSD 11.1 support per EOL 2018-10-10 21:44:29 +00:00
Niclas Zeising
0fae2e9e0e Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG.  Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.

PR:		230909
Reviewed by:	eadler
Approved by:	portmgr (antoine)
Obtained from:	https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run:	antoine
Differential Revision:	https://reviews.freebsd.org/D16906
2018-09-11 18:34:27 +00:00
Jan Beich
eef7996894 graphics/colmap: update to 3.5
Changes:	https://github.com/colmap/colmap/blob/3.5/CHANGELOG.txt
2018-08-27 11:05:13 +00:00
Jan Beich
0b055d47f2 devel/boost-*: update to 1.68.0
- Switch to C++14 for libboost_system to support C++14 consumers

Changes:	http://www.boost.org/users/history/version_1_68_0.html
PR:		229569
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D16165
2018-08-09 06:58:30 +00:00
Gerald Pfeifer
09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00
Tobias C. Berner
b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00
Jan Beich
cc95712fbe devel/boost-*: update to 1.67.0
Changes:	http://www.boost.org/users/history/version_1_67_0.html
PR:		227427
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D15030
2018-04-18 13:57:42 +00:00
Gerald Pfeifer
c2a92a1aea Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
2018-03-10 17:46:04 +00:00
Jan Beich
0d2a2751d4 graphics/colmap: unbreak OPENMP=off after r446135
src/ext/PBA/SparseBundleCPU.cpp:1208:7: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'int' in initializer list [-Wc++11-narrowing]
      RUN_THREAD(ComputeProjection, threads[i], last - first, camera, point,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ext/PBA/SparseBundleCPU.cpp:933:3: note: expanded from macro 'RUN_THREAD'
  DECLEAR_THREAD_DATA(X, __VA_ARGS__); \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/ext/PBA/SparseBundleCPU.cpp:908:30: note: expanded from macro 'DECLEAR_THREAD_DATA'
  X##_STRUCT<Float> tdata = {i, __VA_ARGS__}; \
                             ^
src/ext/PBA/SparseBundleCPU.cpp:1537:68: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'int' in initializer list [-Wc++11-narrowing]
                 intrinsic_fixed, radial_distortion, shuffle, jct, first);
                                                                   ^~~~~
src/ext/PBA/SparseBundleCPU.cpp:933:26: note: expanded from macro 'RUN_THREAD'
  DECLEAR_THREAD_DATA(X, __VA_ARGS__); \
                         ^~~~~~~~~~~
src/ext/PBA/SparseBundleCPU.cpp:908:33: note: expanded from macro 'DECLEAR_THREAD_DATA'
  X##_STRUCT<Float> tdata = {i, __VA_ARGS__}; \
                                ^~~~~~~~~~~
src/ext/PBA/SparseBundleCPU.cpp:1537:68: note: insert an explicit cast to silence this issue
                 intrinsic_fixed, radial_distortion, shuffle, jct, first);
                                                                   ^~~~~
                                                                   static_cast<int>(
2018-02-11 08:16:12 +00:00
Jan Beich
6cf98c7381 graphics/colmap: don't use pkg-plist for a single file after r460536 2018-02-11 08:15:51 +00:00
Jan Beich
adf4c97bcb graphics/colmap: update to 3.4
Changes:	https://github.com/colmap/colmap/blob/3.4/CHANGELOG.txt
2018-01-31 21:36:53 +00:00
Jan Beich
e43cd51bd0 graphics/colmap: drop Clang workaround 2018-01-31 21:36:11 +00:00
Jan Beich
25beeff079 devel/boost-*: update to 1.66.0
Changes:	http://www.boost.org/users/history/version_1_66_0.html
PR:		223922
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D13279
2018-01-18 04:11:02 +00:00
Tobias C. Berner
51d04637cb New USES=eigen
Usage:
    USES=eigen:<version>[,<type>]

    version: 2 or 3 (required)
    type:    build (default), run

  For example:
    USES=eigen:2,build,run
  will add a BUILD- and RUN_DEPENDS on math/eigen2, and
    USES=eigen:3
  will add a BUILD_DEPENDS on math/eigen3.

* Convert the existing ports to use it
  - biology/iqtree: remove run time dependency (seemed not to be needed)
  - graphics/movit: remove run time dependency (seemed not to be needed)
  - science/avogadro: add run time dependeny (installed cmake file requires it to be present)

Reviewed by:	rakuco, mat
Differential Revision:	https://reviews.freebsd.org/D13702
2018-01-02 16:49:24 +00:00
Jan Beich
9d1dc2407c Improve CMake style in my ports
- Convert to CMAKE_{ON,OFF} helpers
- Convert to _CMAKE_BOOL option helpers
- android-file-transfer: Share _CMAKE_BOOL via _IMPLIES
- Annotate types
2018-01-01 13:42:54 +00:00
Jan Beich
175bd94a98 graphics/colmap: update to 3.3
Changes:	https://github.com/colmap/colmap/blob/3.3/CHANGELOG.txt
2017-12-05 20:52:57 +00:00
Niclas Zeising
5598792853 Bump portrevision to chase graphics/glew shard library version update.
PR:		223370
Submitted by:	zeising
exp-run by:	antoine
Approved by:	antoine
2017-11-18 19:32:38 +00:00
Jan Beich
46442bc3b2 graphics/colmap: unbreak -msse -mno-sse2 build 2017-11-05 21:57:15 +00:00
Jan Beich
98eb11b2f0 devel/boost-*: update to 1.65.1
Changes:	http://www.boost.org/users/history/version_1_65_1.html
PR:		218835
Approved by:	maintainer timeout (1.65.1: 2 weeks; 1.65.0: 1 month)
Tested by:	jhibbits (on powerpc64, earlier version)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D11582
2017-09-25 00:08:16 +00:00
Jan Beich
7e21a6476a devel/boost-*: enable C++11 features
PR:		218835
Obtained from:	https://github.com/DragonFlyBSD/DeltaPorts/pull/690
Approved by:	maintainer timeout (2 months)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D11582
2017-09-25 00:05:05 +00:00
Gerald Pfeifer
e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00
Jan Beich
0e8a288fc7 graphics/colmap: try#2 to unbreak on non-x86
../ext/VLFeat/libvlfeat.a(host.c.o): In function `_vl_x86cpu_info_init':
host.c:(.text+0x1c): undefined reference to `_vl_cpuid'
host.c:(.text+0x40): undefined reference to `_vl_cpuid'
collect2: error: ld returned 1 exit status

Reported by:	pkg-fallout (aarch64, armv6)
2017-09-05 05:47:38 +00:00
Jan Beich
28567ef021 graphics/colmap: update to 3.2
Changes:	https://github.com/colmap/colmap/blob/3.2/CHANGELOG.txt
2017-09-05 01:05:19 +00:00
Jan Beich
664deae3bc graphics/colmap: try to unbreak on non-x86
g++5: error: unrecognized command line option '-mfpmath=sse'

Reported by:	pkg-fallout (aarch64)
2017-07-18 11:30:15 +00:00
Jan Beich
c671e477bf graphics/colmap: update to 3.1.4
Changes:	https://github.com/colmap/colmap/blob/542ce21/CHANGELOG.txt
2017-06-17 10:54:15 +00:00
Jan Beich
59545baa5a graphics/colmap: update to 3.0
Changes:	https://github.com/colmap/colmap/compare/2.1...3.0
2017-05-24 04:26:26 +00:00
Matthew Rezny
b760897dde Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10845
2017-05-23 05:03:14 +00:00
Jan Beich
b324ade02d devel/boost-*: update to 1.64.0
Changes:	http://www.boost.org/users/history/version_1_64_0.html
PR:		218835
Approved by:	office (bapt)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D10472
2017-05-02 06:48:10 +00:00
Jan Beich
c2332532ae graphics/colmap: drop g++49 workaround after r437437 2017-04-06 22:16:03 +00:00
Gerald Pfeifer
04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00
Jan Beich
59e02117ae devel/boost-*: update to 1.63.0
Changes:	http://www.boost.org/users/history/version_1_63_0.html
PR:		215598
Exp-run by:	antoine
Approved by:	office (bapt)
MFH:		2017Q1
2017-01-06 08:45:03 +00:00
Jan Beich
9e58624042 Drop pre-10.3 support in my ports
Figuring out which GCC hacks are safe to drop is tricky but at least
devel/fb-adb is limited to x86 due to ADA bootstrap.
2017-01-03 12:49:39 +00:00
Jan Beich
b5db7a1571 graphics/colmap: update to real 2.1 tag
Changes:	https://github.com/colmap/colmap/compare/55fbe10...2.1
2016-12-19 12:48:19 +00:00
Jan Beich
53196f4c02 graphics/colmap: always build SIMD support 2016-12-19 06:37:20 +00:00
Jan Beich
5ef4f239d8 graphics/colmap: enable OPENMP on 10.2+ after r428641 2016-12-17 17:32:35 +00:00
Jan Beich
fcd13a66d6 graphics/colmap: unblock on amd64 due to intermittent errors
FreeBSD 9.3 amd64:
  51: Test command: src/util/threading_test
  51: Test timeout computed to be: 9.99988e+06
  51: Running 23 test cases...
  51: src/util/threading_test.cc(309): error: in "TestDefaultCallback": check called_back1 has failed
  51:
  51: *** 1 failure is detected in the test module "util/threading"

FreeBSD 11.0 amd64:
  51: Test command: src/util/threading_test
  51: Test timeout computed to be: 9.99988e+06
  51: Running 23 test cases...
  51: src/util/threading_test.cc(183): error: in "TestThreadPauseStop": check thread.IsRunning() has failed
  51: src/util/threading_test.cc(184): error: in "TestThreadPauseStop": check !thread.IsFinished() has failed
  51:
  51: *** 2 failures are detected in the test module "util/threading"

Reported by:	pkg-fallout (r428457 and r428600 builds were green)
2016-12-17 14:47:01 +00:00
Jan Beich
4cfef89616 graphics/colmap: don't append -O1 for debug builds 2016-12-08 04:18:26 +00:00
Jan Beich
d43ca646e4 graphics/colmap: add new port
COLMAP is a general-purpose Structure-from-Motion (SfM) and Multi-View
Stereo (MVS) pipeline with a graphical and command-line interface. It
offers a wide range of features for reconstruction of ordered and
unordered image collections.

https://colmap.github.io/
2016-12-08 03:25:54 +00:00