Commit graph

20 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
Mark Linimon
5856cd080b This port needs USES=compiler:c++11-lang and #include <strings.h> in
src/grammar/Sqlite3Lexer.hpp to build on GCC-based architectures.

While here, add USES=gnome.

PR:		234206
Submitted by:	Piotr Kubaj
Approved by:	maintainer
2018-12-23 17:07:47 +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
Tobias C. Berner
ddd37ce3fd Update the QScintilla2 ports to 2.10.4 2018-04-29 16:19:44 +00:00
Adriaan de Groot
85316befc9 The find module for QScintilla included with sqlitebrowser has never worked
(well) on FreeBSD. Then the port used en embedded copy of QScintilla.
Switch to using the system QScintilla.

This change is triggered by CMake 3.11, which tried to build the embedded
QScintilla slightly differently. That fails because there are header
files declaring enum { SCI_CANREDO = 2016 } *and also* header files
that #define SCI_CANREDO 2016; the include order is very fragile.

Also reported upstream.

Reviewed by:	lbartoletti_tuxfamily (maintainer)
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D14930
2018-04-06 12:09:21 +00:00
Danilo G. Baio
18e481ceca databases/sqlitebrowser: Update to 3.10.1
Changes:	https://github.com/sqlitebrowser/sqlitebrowser/releases/tag/v3.10.1

PR:		225711
Submitted by:	lbartoletti@tuxfamily.org (maintainer)
2018-02-08 20:27:29 +00:00
Steve Wills
432a35044b databases/sqlitebrowser: update to 3.10.0; remove sqlitebrowser-qt5
Since QT4 is dropped, sqlitebrowser-qt5 is now sqlitebrowser.

PR:		221699
Submitted by:	lbartoletti <lbartoletti@tuxfamily.org> (maintainer)
2017-08-21 20:22:25 +00:00
Guido Falsi
b682ffbc72 Update sqlitebrowser to 3.9.1
PR:		213174
Submitted by:	lbartoletti at tuxfamily.org (maintainer)
2016-10-04 19:35:08 +00:00
Ruslan Makhmatkhanov
78e39c6d50 databases/sqlitebrowser: update to 3.9.0
- update to 3.9.0
- update maintainer's email
- pet portlint

PR:		212395
Submitted by:	 lbartoletti <lbartoletti@tuxfamily.org> (maintainer)
2016-10-01 01:05:14 +00:00
Tobias C. Berner
287ea1fae5 Add new port databases/sqlitebrowser-qt5 as slaveport of databases/sqlitebrowser
Add a new port databases/sqlitebrowser-qt5 as slaveport of the existing
databases/sqlitebrowser.

PR:             211217
Reviewed by:    mat
Approved by:    rakuco (mentor)
Differential Revision:  https://reviews.freebsd.org/D7253
2016-09-13 20:06:28 +00:00
Kurt Jaeger
92b0f10d4b databases/sqlitebrowser: remove wrongly used PLIST_SUB from pkg-plist
PR:		210116
Submitted by:	Tobias C.Berner <tcberner@gmail.com>
2016-06-08 05:37:39 +00:00
Mathieu Arnold
21bc5c0345 Remove USE_SQLITE from bsd.databases.mk, replaced by USES=sqlite.
While there replace USE_SQLITE=x by USES=sqlite:x.

PR:		208971
Submitted by:	mat
Exp-run by:	antoine
With hat:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D5951
2016-04-25 16:13:38 +00:00
Raphael Kubo da Costa
1b066166ec Update to 3.8.0.
PR:		207499
Submitted by:	coder@tuxfamily.org (maintainer)
2016-03-04 16:11:44 +00:00
Kurt Jaeger
25a6494c9f databases/sqlitebrowser: 3.6.0 -> 3.7.0
Changes:
  https://github.com/sqlitebrowser/sqlitebrowser/releases/tag/v3.7.0

PR:		204300
Submitted by:	yuri@rawbw.com
Approved by:	coder@tuxfamily.org (maintainer)
2015-11-21 03:35:01 +00:00
Philip M. Gollucci
e86c459a92 databases/sqlitebrowser: modernize, fix dependencies
- Replace USE_QT4=linguist_build with USE_QT4=linguisttools_build.
- Add missed corelib and network components into USE_QT4.
- Regenerate patches.
- Bump PORTREVISION

PR:                  201648
Submitted by:        s3erios@gmail.com
Approved by:         maintainer timeout (coder@tuxfamily.org ; 25 days)
2015-08-12 00:10:35 +00:00
Frederic Culot
1330eae4fe - Update to 3.6.0
PR:		199795
Submitted by:	Jungleboogie0@gmail.com, coder@tuxfamily.org
Approved by:	coder@tuxfamily.org (maintainer)
Changes:	https://github.com/sqlitebrowser/sqlitebrowser/releases/tag/v3.6.0
2015-05-11 13:00:52 +00:00
Mathieu Arnold
c6457ffef4 Update ports in the [bcd]* categories to not use GH_COMMIT.
With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-06 15:16:53 +00:00
Guido Falsi
f9a8af567c Update to 3.5.1.
PR:		197474
Submitted by:	coder@tuxfamily.org (maintainer)
2015-02-10 21:15:50 +00:00
Guido Falsi
ce6563685e Update to 3.5.0.
PR:		197253
Submitted by:	coder@tuxfamily.org (maintainer)
2015-02-06 13:29:25 +00:00
Kurt Jaeger
24ea928049 New port: databases/sqlitebrowser
DB Browser for SQLite is a light GUI editor for SQLite databases,
built on top of Qt. The main goal of the project is to allow
non-technical users to create, modify and edit SQLite databases
using a set of wizards and a spreadsheet-like interface.

This project has previous been known as "SQLite Browser" and "Database
Browser for SQLite". "DB Browser for SQLite" will hopefully be the
name that sticks. :)

WWW: http://sqlitebrowser.org/

PR:		196365
Submitted by:	coder@tuxfamily.org
2015-01-05 18:21:38 +00:00