Package Details: sqlitebrowser-git continuous.r0.gf37031e6-1

Git Clone URL: https://aur.archlinux.org/sqlitebrowser-git.git (read-only, click to copy)
Package Base: sqlitebrowser-git
Description: DB Browser for SQLite
Upstream URL: http://sqlitebrowser.org/
Licenses: GPL3
Conflicts: sqlitebrowser
Provides: sqlitebrowser
Submitter: kuroneko
Maintainer: sakure
Last Packager: sakure
Votes: 2
Popularity: 0.083446
First Submitted: 2016-01-29 21:25 (UTC)
Last Updated: 2024-11-18 22:31 (UTC)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

Antiz commented on 2025-03-23 10:46 (UTC) (edited on 2025-03-23 10:46 (UTC) by Antiz)

This package is missing the qt6-5compat dependency. From the upstream PR that brought qt6 support: "Currently, Qt6 depends on Qt6::Core5Compat, in the future, this should be dropped."

Without it, building in a clean chroot fails with:

CMake Error at CMakeLists.txt:74 (find_package):
  Found package configuration file:

    /usr/lib/cmake/Qt6/Qt6Config.cmake

  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find required Qt component "Core5Compat".

  Expected Config file at
  "/usr/lib/cmake/Qt6Core5Compat/Qt6Core5CompatConfig.cmake" does NOT exist



  Configuring with --debug-find-pkg=Qt6Core5Compat might reveal details why
  the package was not found.

  Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
  of the path variables that find_package uses to try and find the package.



-- Configuring incomplete, errors occurred!

fow0ryl commented on 2024-11-26 23:05 (UTC)

The build process of sqlitebrowser is looking for hexedit and sqcintilla libs. When not found, the needed functions are build and linked staticaly to make sqlitebrowser work. When qscintilla-qt6 is already installed at compile time, then sqlitebrowser works too. But if qscintilla-qt6 is removed afterwards (pacman allows remove because there is no dependency) then sqlitebrowser fails.

Since there is at least a package for 'qscintilla-qt6' I think the better way is to set 'qscintilla-qt6' as dependency like I mentioned before. This way the libs are build seperately and are linked dynamic, resulting in smaller and reusable packages. And of course pacman knows that there is a dependency ...

sakure commented on 2024-11-18 22:34 (UTC) (edited on 2024-11-18 22:34 (UTC) by sakure)

I've updated this package and now the qt6 version is the default, I've opted for not incrementing the pkgver, those who want the qt6 version must reinstall the package.

fow0ryl commented on 2024-11-14 21:27 (UTC)

Since qt6 is the new standard, I would change this version to qt6. The current PKGBUILD will not go away. Therefore it would be possible to provide the "old" qt5 version if someone really needs it.

sakure commented on 2024-10-29 17:08 (UTC) (edited on 2024-10-29 17:20 (UTC) by sakure)

I can still build the qt5 version no problem, I wonder if we should make a separate package for the qt5 version and update this one for qt6

parkerlreed commented on 2024-10-16 06:13 (UTC)

-DQT_MAJOR=Qt6

Seems to be building

parkerlreed commented on 2024-10-16 06:08 (UTC)

@fow0ryl

I used your PKGBUILD as is and it fails because upstream doesnt have a QT6 target

Was support removed?

CMake Error: Unknown argument -QT_MAJOR=Qt6
CMake Error: Run 'cmake --help' for all supported options.
==> ERROR: A failure occurred in build().
    Aborting...

fow0ryl commented on 2024-10-02 21:27 (UTC) (edited on 2024-11-14 21:24 (UTC) by fow0ryl)

Seems somewhat outdated, since there is no qt6 support ...

I have done a quick build, but not tested whole functionality

pkgname=sqlitebrowser-git
pkgver=continuous.r0.ge49934fc
pkgrel=2
pkgdesc="DB Browser for SQLite"
arch=('i686' 'x86_64')
url="http://sqlitebrowser.org/"
license=('GPL3')
provides=('sqlitebrowser')
conflicts=('sqlitebrowser')
depends=('qt6-base' 'qscintilla-qt6' 'sqlite' 'libxkbcommon-x11')
makedepends=('cmake' 'qt6-tools' 'git')
install=sqlitebrowser.install
source=($pkgname'::git+https://github.com/sqlitebrowser/sqlitebrowser.git')
md5sums=('SKIP')

pkgver() {
        cd "$pkgname"
        git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/^non-daw-v//;s/-/./g'
}

build() {
        cd $srcdir/$pkgname
        cmake -DQT_MAJOR=Qt6 -DCMAKE_INSTALL_PREFIX=/usr .
        make
}

package() {
        cd $srcdir/$pkgname
        make install DESTDIR=$pkgdir
        install -Dm0644 distri/sqlitebrowser.desktop $pkgdir/usr/share/applications/sqlitebrowser.desktop
        install -dm0755 $pkgdir/usr/share/icons/
        install -m0644 images/logo.svg $pkgdir/usr/share/icons/
}

sakure commented on 2023-03-30 11:35 (UTC)

@sorcix done, thanks

sorcix commented on 2023-03-23 12:57 (UTC)

Looks like this needs git in makedepends. It fails when trying to build in a container with only base and base-devel installed.