Package Details: qt5-base-headless 5.15.15+kde+r141-1

Git Clone URL: https://aur.archlinux.org/qt5-base-headless.git (read-only, click to copy)
Package Base: qt5-base-headless
Description: A cross-platform application and UI framework - headless build, no QtGui or QtWidgets
Upstream URL: https://www.qt.io
Licenses: custom, GPL3, LGPL3, FDL
Groups: qt5
Conflicts: qt5-base, qtchooser
Provides: qt5-base
Submitter: K900
Maintainer: buzo
Last Packager: buzo
Votes: 7
Popularity: 0.000136
First Submitted: 2018-11-02 11:02 (UTC)
Last Updated: 2024-11-12 10:01 (UTC)

Required by (2705)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3

K900 commented on 2018-12-20 10:18 (UTC)

Updated to 5.12.0, also fixed the dependencies - thanks @buzo!

buzo commented on 2018-12-05 16:36 (UTC)

The build fails with -system-harfbuzz: ERROR: Feature 'system-harfbuzz' was enabled, but the pre-condition 'features.harfbuzz && libs.harfbuzz' failed.

Also: ERROR: Feature 'sql-ibase' was enabled, but the pre-condition 'libs.ibase' failed.

Accessibility and FreeType are set to “yes” in the Configure summary shown during the build, so I disabled them explicitely. dbus, icu and pcre2 are due to errors from the namcap check. There is even another namcap error regarding glib2.

qt5-base-headless E: Dependency glib2 detected and not included (libraries ['usr/lib/libglib-2.0.so.0'] needed in files ['usr/lib/libQt5Core.so.5.11.2'])
qt5-base-headless E: Dependency icu detected and not included (libraries ['usr/lib/libicuuc.so.63', 'usr/lib/libicui18n.so.63'] needed in files ['usr/lib/libQt5Core.so.5.11.2'])
qt5-base-headless E: Dependency dbus detected and not included (libraries ['usr/lib/libdbus-1.so.3'] needed in files ['usr/lib/libQt5DBus.so.5.11.2'])
qt5-base-headless E: Dependency pcre2 detected and not included (libraries ['usr/lib/libpcre2-16.so.0'] needed in files ['usr/lib/libQt5Core.so.5.11.2'])

K900 commented on 2018-12-05 15:38 (UTC)

-no-accessibility, -no-freetype and -no-harfbuzz shouldn't be needed IIRC - the build system should disable them automatically since we're not building the top level modules. Also, are you sure dbus/icu and friends should be in optdepends and not makedepends?

buzo commented on 2018-12-05 15:31 (UTC)

This package does not build in a clean chroot, and namcap has a few complaints. Suggested fix:

diff --git a/PKGBUILD b/PKGBUILD
index [`26ae850`](https://aur.archlinux.org/cgit/aur.git/commit/?h=qt5-base-headless&id=26ae850)..52f97fe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,8 +15,9 @@ makedepends=('libmariadbclient' 'sqlite' 'unixodbc' 'postgresql-libs')
 optdepends=('postgresql-libs: PostgreSQL driver'
             'libmariadbclient: MariaDB driver'
             'unixodbc: ODBC driver'
-            'libfbclient: Firebird/iBase driver'
-            'freetds: MS SQL driver'
+            'dbus: Freedesktop.org message bus system'
+            'icu: International Components for Unicode library'
+            'pcre2: Perl 5-style regular expressions'
             'gtk3: GTK platform plugin')
 conflicts=('qtchooser' 'qt5-base')
 provides=('qt5-base')
@@ -45,20 +46,22 @@ build() {
     -datadir /usr/share/qt \
     -sysconfdir /etc/xdg \
     -examplesdir /usr/share/doc/qt/examples \
-    -plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
+    -sql-{psql,mysql,sqlite,odbc} \
     -system-sqlite \
     -openssl-linked \
     -nomake examples \
     -no-rpath \
     -optimized-qmake \
     -dbus-linked \
-    -system-harfbuzz \
     -journald \
     -no-use-gold-linker \
     -reduce-relocations \
     \
     \
+    -no-accessibility \
+    -no-freetype \
     -no-gui \
+    -no-harfbuzz \
     -no-widgets \
     -no-xcb \
     -no-eglfs \