git: 5b3f9f3299aa - main - databases/sqlitebrowser: Update and switch to qt6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Sep 2026 03:27:52 UTC
The branch main has been updated by mce:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5b3f9f3299aa72358a29db1aa3a570241f3c8480
commit 5b3f9f3299aa72358a29db1aa3a570241f3c8480
Author: Kousuke Kannagi <mce@FreeBSD.org>
AuthorDate: 2026-09-13 23:23:34 +0000
Commit: Kousuke Kannagi <mce@FreeBSD.org>
CommitDate: 2026-09-14 03:26:51 +0000
databases/sqlitebrowser: Update and switch to qt6
Switch the bundled qhexedit2 to the port.
Changelog:
https://github.com/sqlitebrowser/sqlitebrowser/compare/v3.13.1...9ccf550
PR: 296893
Approved by: osa (mentor), fluffy (mentor)
---
databases/sqlitebrowser/Makefile | 24 ++++++++++++++--------
databases/sqlitebrowser/distinfo | 6 +++---
.../files/patch-libs_qhexedit_CMakeLists.txt | 8 --------
.../sqlitebrowser/files/patch-src_EditDialog.cpp | 18 ++++++++++++++++
databases/sqlitebrowser/pkg-plist | 2 +-
5 files changed, 37 insertions(+), 21 deletions(-)
diff --git a/databases/sqlitebrowser/Makefile b/databases/sqlitebrowser/Makefile
index 0554e24468e1..6c6769d6f71e 100644
--- a/databases/sqlitebrowser/Makefile
+++ b/databases/sqlitebrowser/Makefile
@@ -1,7 +1,6 @@
PORTNAME= sqlitebrowser
DISTVERSIONPREFIX= v
-DISTVERSION= 3.13.1
-PORTREVISION= 1
+DISTVERSION= 3.13.99
CATEGORIES= databases
MAINTAINER= mce@FreeBSD.org
@@ -13,18 +12,25 @@ LICENSE_COMB= dual
LICENSE_FILE_GPLv3+ = ${WRKSRC}/LICENSE-GPL-3.0
LICENSE_FILE_MPL20= ${WRKSRC}/LICENSE-MPL-2.0
-LIB_DEPENDS= libQCustomPlot-qt5.so:graphics/qcustomplot@qt5 \
- libqscintilla2_qt5.so:devel/qscintilla2@qt5
+LIB_DEPENDS= libQCustomPlotQt6.so:graphics/qcustomplot@qt6 \
+ libqhexedit.so:editors/qhexedit2 \
+ libqscintilla2_qt6.so:devel/qscintilla2@qt6
-USES= cmake:testing compiler:c++14-lang desktop-file-utils gnome qt:5
+USES= cmake:testing compiler:c++17-lang desktop-file-utils gl gnome \
+ qt:6
USE_GITHUB= yes
-USE_QT= core concurrent gui network printsupport testlib widgets \
- buildtools:build linguisttools:build qmake:build xml
+GH_TAGNAME= 9ccf5501ad00bbdb1b592894936cbc7ca76229f5
+USE_GL= opengl
+USE_QT= 5compat base tools:build
CMAKE_ARGS= -DFORCE_INTERNAL_QCUSTOMPLOT=OFF \
- -DQCustomPlot_LIBRARY=${LOCALBASE}/lib/libQCustomPlot-qt5.so \
+ -DFORCE_INTERNAL_QHEXEDIT=OFF \
+ -DQCustomPlot_LIBRARY=${LOCALBASE}/lib/libQCustomPlotQt6.so \
+ -DQHexEdit_INCLUDE_DIR=${QT_INCDIR}/qhexedit2 \
+ -DQHexEdit_LIBRARY=${QT_LIBDIR}/libqhexedit.so \
-DQSCINTILLA_INCLUDE_DIR=${QT_INCDIR}/Qsci \
- -DQSCINTILLA_LIBRARY=${QT_LIBDIR}/libqscintilla2_qt5.so
+ -DQSCINTILLA_LIBRARY=${QT_LIBDIR}/libqscintilla2_qt6.so \
+ -DQT_MAJOR=Qt6
CMAKE_TESTING_ARGS= -DENABLE_TESTING=ON
OPTIONS_DEFINE= SQLCIPHER
diff --git a/databases/sqlitebrowser/distinfo b/databases/sqlitebrowser/distinfo
index 4282c1563fb3..65ff8acd5642 100644
--- a/databases/sqlitebrowser/distinfo
+++ b/databases/sqlitebrowser/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1729074091
-SHA256 (sqlitebrowser-sqlitebrowser-v3.13.1_GH0.tar.gz) = 1044ba67d649cabc459eb887c016f70d6a404ad651390ab33bf7859dc7f1b67b
-SIZE (sqlitebrowser-sqlitebrowser-v3.13.1_GH0.tar.gz) = 4923092
+TIMESTAMP = 1789340237
+SHA256 (sqlitebrowser-sqlitebrowser-v3.13.99-9ccf5501ad00bbdb1b592894936cbc7ca76229f5_GH0.tar.gz) = a357a77c9e849cc84a4f7c12381e23ef80316f7203822735dfc701b72e9194f9
+SIZE (sqlitebrowser-sqlitebrowser-v3.13.99-9ccf5501ad00bbdb1b592894936cbc7ca76229f5_GH0.tar.gz) = 5039573
diff --git a/databases/sqlitebrowser/files/patch-libs_qhexedit_CMakeLists.txt b/databases/sqlitebrowser/files/patch-libs_qhexedit_CMakeLists.txt
deleted file mode 100644
index 346ec5ec9c73..000000000000
--- a/databases/sqlitebrowser/files/patch-libs_qhexedit_CMakeLists.txt
+++ /dev/null
@@ -1,8 +0,0 @@
---- libs/qhexedit/CMakeLists.txt.orig 2026-08-28 03:14:58 UTC
-+++ libs/qhexedit/CMakeLists.txt
-@@ -1,4 +1,4 @@
--cmake_minimum_required(VERSION 2.8.12.2)
-+cmake_minimum_required(VERSION 3.5)
-
- set(CMAKE_AUTOMOC ON)
- set(CMAKE_INCLUDE_CURRENT_DIR ON)
diff --git a/databases/sqlitebrowser/files/patch-src_EditDialog.cpp b/databases/sqlitebrowser/files/patch-src_EditDialog.cpp
new file mode 100644
index 000000000000..02a5240e51f1
--- /dev/null
+++ b/databases/sqlitebrowser/files/patch-src_EditDialog.cpp
@@ -0,0 +1,18 @@
+--- src/EditDialog.cpp.orig 2026-08-31 03:45:50 UTC
++++ src/EditDialog.cpp
+@@ -1,7 +1,6 @@
+ #include "EditDialog.h"
+ #include "ui_EditDialog.h"
+ #include "Settings.h"
+-#include "qhexedit.h"
+ #include "docktextedit.h"
+ #include "FileDialog.h"
+ #include "Data.h"
+@@ -22,6 +21,7 @@
+
+ #include <Qsci/qsciscintilla.h>
+ #include <json.hpp>
++#include <qhexedit2/qhexedit.h>
+
+ using json = nlohmann::json;
+ using ordered_json = nlohmann::ordered_json;
diff --git a/databases/sqlitebrowser/pkg-plist b/databases/sqlitebrowser/pkg-plist
index 1c58cb900457..17d5ddfcf6b3 100644
--- a/databases/sqlitebrowser/pkg-plist
+++ b/databases/sqlitebrowser/pkg-plist
@@ -2,4 +2,4 @@ bin/sqlitebrowser
share/applications/sqlitebrowser.desktop
share/icons/hicolor/256x256/apps/sqlitebrowser.png
share/icons/hicolor/scalable/apps/sqlitebrowser.svg
-share/metainfo/sqlitebrowser.desktop.appdata.xml
+share/metainfo/sqlitebrowser.metainfo.xml