Commit Graph

80 Commits

Author SHA1 Message Date
Loïc Bartoletti aebfb01c2e emulators/qmc2: : Prepare for Qt5.15
PR:             247010
Approved by:    tcberner (mentor, implicit)
2020-06-24 12:52:49 +00:00
Adriaan de Groot b01da5e68f emulators/qmc2: Prep-work for Qt 5.15; compatible with Qt 5.14
In Qt 5.15 an enumeration is introduced which has enumerators
True and False, used like QCborSimpleType::False. In C++ that's
3 tokens, one name. The C Preprocessor deals with tokens, though,
and since some headers #define False 0, we end up with tokens
QCborSimpleType::0 instead, which is nonsense.

The actual defines are only relevant in C code internals, not the
API for lzma that is used from C++. So somewhat-hackishly just switch
off the #defines when in C++ mode.

The change is complicated by this *particular* source file being
in DOS CRLF mode.

Reported by:	tcberner
2020-05-31 12:42:19 +00:00
Tobias Kortkamp 78b522d04c e*: Add missing USES={gnome,sdl,xorg} 2019-11-08 10:08:49 +00:00
Niclas Zeising d52303ea80 Add USES=xorg USES=gl, ports categories e
Add USES=xorg, USES=gl and in a few cases USES=gnome to ports in categories
starting with 'e'.
2019-11-05 15:48:40 +00:00
Mark Linimon 2ec228123c Add compiler:c++11-lang to USES to fix build on GCC-based systems:
/usr/local/include/qt5/QtCore/qglobal.h:45:25: error: type_traits: No such file or directory
  /usr/local/include/qt5/QtCore/qcompilerdetection.h:564:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that.

Approved by:	portmgr (tier-2 blanket)
2019-09-25 10:54:49 +00:00
Mathieu Arnold 79698c8457 Convert to UCL & cleanup pkg-message (categories e-g) 2019-08-13 16:03:11 +00:00
Tobias C. Berner 031fc9bfb6 Update Qt5 to 5.12.1
Release announcement:
  https://blog.qt.io/blog/2019/02/01/qt-5-12-1-released/
Changelog:
  https://wiki.qt.io/Qt_5.12.1_Change_Files

- A change was required to qt-dist.mk to always pass LOCALBASE to qmake,
  as Qt5 has been installed to a prefix for some time now, there should
  not be any harm in that, with respect to it picking up installed versions
  of itself during build.

PR:		235622
Exp-run by:	antoine
2019-02-12 17:43:00 +00:00
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] https://github.com/qt/qtwebengine/commit/5c2cbfccf9aafb547b0b30914c4056abd25942a4
[2] https://github.com/qt/qtwebengine/commit/2ed5054e3a800fa97c2c9e920ba1e6ea4b6ef2a5
[3] https://github.com/qt/qtwebengine/commit/009f5ebb4bd6e50188671e0815a5dae6afe39db5

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 ea792330aa Update Qt5 to 5.12.0
http://blog.qt.io/blog/2018/12/06/qt-5-12-lts-released/

- This breaks support for libressl again. Patches are welcome.

PR:		233705
Exp-run by:	antoine
2018-12-16 14:49:16 +00:00
Tobias C. Berner 89d1bb9ab0 Merge lang/qt5-qml and x11-toolkits/qt5-quick into x11-toolkits/qt5-declarative
- There was no obvious reason to split these ports, and it makes
  porting simpler; the set of ports using either mostly coincided.

Exp-run by:	antoine
PR:		223687
PR:		232751
2018-11-04 19:00:53 +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
Danilo Egea Gondolfo 84589af3e5 - Update to 0.195
- Use QT5 to match mame/mess
- Update COMMENT
2018-04-03 20:36:52 +00:00
Danilo Egea Gondolfo 8c7b6fdc05 - Update to 0.192 2018-01-01 02:47:20 +00:00
Danilo Egea Gondolfo a7589324df - Update to 0.187 2017-11-05 21:24:12 +00:00
Danilo Egea Gondolfo 060dd212c4 - Update to 0.186 2017-06-24 22:32:27 +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
Danilo Egea Gondolfo f771d481cc - Update to 0.183 2017-05-07 20:41:49 +00:00
Tobias C. Berner 62ede14c75 Get rid of QT_PREFIX in favour of PREFIX.
QT_PREFIX was a remnant of a bygone time.

Reviewed by:    rakuco
Approved by:    rakuco (mentor)
Differential Revision:  https://reviews.freebsd.org/D8825
2016-12-18 22:06:50 +00:00
Danilo Egea Gondolfo 8227aa0aee - Update to 0.65 2016-07-24 20:26:44 +00:00
Danilo Egea Gondolfo a8e189aee3 - Update to 0.64
- Add dependencies explicitly as suggested by Q/A
- Sort USE_QT4 list
2016-06-10 20:42:25 +00:00
Danilo Egea Gondolfo 8f6d4cb991 - Update to 0.63 2016-05-01 04:42:00 +00:00
Danilo Egea Gondolfo e80dac8038 - Update to 0.62 2016-04-09 17:57:59 +00:00
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
Danilo Egea Gondolfo 4e8ba53c6a - Update to 0.61 2016-02-27 00:29:29 +00:00
Danilo Egea Gondolfo b45cb34566 - Update to 0.60 2016-01-31 13:44:41 +00:00
Danilo Egea Gondolfo cb0989c548 - Update to 0.59 2016-01-02 14:31:30 +00:00
Danilo Egea Gondolfo 9d53991695 - Update to 0.58 2015-11-26 14:56:18 +00:00
Mathieu Arnold 065c026fe5 Fix ports that confused the meaning of WRKDIR and WRKSRC.
PR:		204056
Submitted by:	mat
Reviewed by:	bapt
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D2735
2015-11-05 12:36:25 +00:00
Danilo Egea Gondolfo e3cb9fcd68 - Update to 0.57
- Install qmc2-arcade and qchdman binaries
- Update WWW
2015-10-29 15:34:57 +00:00
John Marino 1e7bb67732 emulators/qmc2: Use LOCALBASE instead of PREFIX for CXXFLAGS 2015-05-25 10:27:12 +00:00
John Marino b1ee85f7c6 emulators/qmc2: Adjust after update to mame/mess
The mame and mess executable names have changed slightly.  For i386
platforms, they are still "mame" and "mess" but for amd64 platforms,
they are "mame64" and "mess64".  Change the RUN_DEPENDS specification
to adjust for this morphing name.

I suspect a patch is also needed for amd64 but I don't know where it
would go.  I'll notify the maintainer.  The RUN_DEPENDS fix and the
hardcoded CFLAG fix are "just fix it" items.
2015-05-25 10:21:59 +00:00
Danilo Egea Gondolfo 584765f826 - Update to 0.51 2015-05-02 20:51:41 +00:00
Danilo Egea Gondolfo 83ca563f73 - Update to 0.50 2015-03-31 14:27:07 +00:00
Danilo Egea Gondolfo abe68c8134 - Update to 0.49 2015-02-26 23:16:30 +00:00
Danilo Egea Gondolfo c70b515e44 - Update to 0.48 2015-01-31 15:23:59 +00:00
Danilo Egea Gondolfo d6afce6ec2 - Update to 0.47 2015-01-02 19:33:31 +00:00
Tijl Coosemans 60945f0277 Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it.  Bump PORTREVISION on their dependent
ports except the ones that depend on these:

audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt

In these cases the same trick as in the recent gettext update is used.
The ports install a symlink with the old library version.  When enough
of their dependent ports have had regular updates the remaining ones can
get a PORTREVISION bump and the links can be removed.

Also remove the devel/pcre dependency from USE_GNOME=glib20.  It causes
over 2200 packages to depend on devel/pcre while less than 200 actually
link with it.  The glib20 package still depends on devel/pcre so this
should not make a difference for ports with USE_GNOME=glib20.  Also,
libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so
USE_GNOME=glib20 should not propagate it.

PR:		195724
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-12-08 16:48:38 +00:00
Danilo Egea Gondolfo 80f46a2b4a - Update from 0.45 to 0.46 2014-11-27 14:23:07 +00:00
Danilo Egea Gondolfo c33cf664ef - Update from 0.44 to 0.45 2014-10-18 22:31:06 +00:00
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00
Danilo Egea Gondolfo 3ed93d2cde - Update from 0.43 to 0.44 2014-07-24 15:06:07 +00:00
Danilo Egea Gondolfo 2856e4670a - Update from 0.42 to 0.43
- Convert USE_BZIP2 to USES
2014-04-11 02:50:24 +00:00
Max Brazhnikov d2de2b00e4 - Bump PORTREVISION after KDE4_PREFIX change 2014-02-18 14:31:32 +00:00
Danilo Egea Gondolfo 2abe307f26 emulators/qmc2
- Update from 0.41 to 0.42

emulators/{mame,mess} [1]
- Update from 0.150 to 0.152

PR:		ports/184246
Submitted by:	KATO Tsuguru <tkato432@yahoo.com> [1]
2014-01-16 02:44:49 +00:00
Danilo Egea Gondolfo a738a20980 - Update from 0.40 to 0.41
- Take maintainership
2013-12-21 15:39:36 +00:00
Pawel Pekala d0bbb68224 emulators/mame
emulators/mess
 - Update to version 0.150
 - Add SDL2 option
 - Support staging

emulators/qmc2
 - Support staging
 - USE_GMAKE -> USES=gmake

PR:		ports/182801
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-10-30 20:42:02 +00:00
Gerald Pfeifer 3be3e90f93 Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
 - #14669: Fixed extraction of CC from gmp.h.
 - Fixed case of intermediate zero real or imaginary part in mpc_fma,
   found by hydra with GMP_CHECK_RANDOMIZE=1346362345.

This is on top of the following changes from version 1.0

 - Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
   invariant sections) for the documentation.
 - 100% of all lines are covered by tests
 - Renamed functions
   . mpc_mul_2exp to mpc_mul_2ui
   . mpc_div_2exp to mpc_div_2ui
 - 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
 - Removed compatibility with K&R compilers, which was untestable due
   to lack of such compilers.
 - New functions
   . mpc_log10
   . mpc_mul_2si, mpc_div_2si
 - Speed-ups
   . mpc_fma
 - Bug fixes
   . mpc_div and mpc_norm now return a value indicating the effective
     rounding direction, as the other functions.
   . mpc_mul, mpc_sqr and mpc_norm now return correct results even if
     there are over- or underflows during the computation.
   . mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
     infinite part and equals output variable is corrected.
   . mpc_fr_sub: Wrong return value for imaginary part is corrected.

Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.

Bump PORTREVISIONS of all dependent ports.

PR:		183141
Approved by:	portmgr (bdrewery)
2013-10-26 00:52:33 +00:00
Baptiste Daroussin 1089da7dcc Add NO_STAGE all over the place in preparation for the staging support (cat: emulators) 2013-09-20 16:43:52 +00:00
Bryan Drewery 9b171d9d02 - Update to 0.40
Reported by:	portscout
2013-09-20 09:23:01 +00:00
Alex Kozlov d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00