Package Details: sourcetrail 2024.8.2-1

Git Clone URL: https://aur.archlinux.org/sourcetrail.git (read-only, click to copy)
Package Base: sourcetrail
Description: Interactive source explorer for C/C++ and Java
Upstream URL: https://github.com/xiota/sourcetrail
Licenses: GPL-3.0-only
Submitter: jetm
Maintainer: xiota
Last Packager: xiota
Votes: 23
Popularity: 0.000000
First Submitted: 2017-04-12 15:18 (UTC)
Last Updated: 2024-08-21 14:46 (UTC)

Dependencies (20)

Required by (0)

Sources (1)

Pinned Comments

xiota commented on 2024-06-20 03:07 (UTC) (edited on 2024-08-21 14:54 (UTC) by xiota)

After 2023.11, patching is required to build on Arch. Switched to a secondary repo to make this easier.

  • The main branch contains license and description of the fork.
  • The petermost branch is synced with the petermost fork.
  • Patches are applied in branches, with names similar to arch-2024.8.2
  • wip, -broken, and other branches are unstable and not meant for use.

Please observe the following when flagging or commenting:

  • Flag for standard packaging issues, like depends updates.
  • Comment to report bugs and identify commits that potentially fix them.
    • Do not paste large blocks of text. Use a pastebin.
  • Flag to request resync with upstream:
    • Wait about a month after the last update.
    • Avoid requesting mere version bumps. Package versions and tags may not match.
    • I recommend not requesting resync just to resync. If an upstream bug is introduced, you will be stuck with it until the next resync.

Previous versions/requirements:

  • current version requires clang 18 and Qt6.
  • 2024.7.3 requires clang 18 and Qt6. (snapshot)
  • 2024.6.1 requires clang 17 and Qt6. (snapshot)
  • 2023.11 requires clang 14 and Qt5. (snapshot)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

MarsSeed commented on 2024-03-14 14:00 (UTC)

Current OOD flag is wrong. But as llvm15 and related packages have been dropped from repo, I recommend to update to a newer commit version from master, which works with llvm16. It is the 7th commit since release v2023.11 (e0262bb) that contains the compatibility update for the latter:

https://github.com/petermost/Sourcetrail/compare/2023.11...master

MarsSeed commented on 2022-05-24 14:46 (UTC)

It's unfortunate that this project was shut down in Dec 2021.

It's unknown if the community will maintain it long-term. For now, there's already a fork that fixes a compile error for llvm-13:

https://github.com/petermost/Sourcetrail.git

fsimonis commented on 2021-11-24 11:12 (UTC)

@Un1Gfn I fixed the UI freezing issue. The fix was recently released:

https://github.com/CoatiSoftware/Sourcetrail/releases/tag/2021.4

zkm2fw commented on 2021-05-25 15:20 (UTC) (edited on 2021-05-25 15:23 (UTC) by zkm2fw)

Building from source succeeds (CXX ok, Java/Python not tested), but the UI freezes a lot.

Your binary packages does NOT have this issue.

@jetm Try building from source if you may. Do you get a responsive UI?

dkasak commented on 2021-01-16 11:20 (UTC) (edited on 2021-01-16 11:32 (UTC) by dkasak)

I'm trying to index a Python project with the latest version (2020.4.35) and I'm getting errors like these for each source file:

command ""/opt/sourcetrail/bin//../share/data/python/SourcetrailPythonIndexer" index --source-file-path="PATH_TO_SOURCE_FILE" --database-file-path="PATH_TO_DB_FILE"" returned code "255" with message "File not found or resource error occurred.".

I've replaced the source file and database file paths with PATH_TO_SOURCE_FILE and PATH_TO_DB_FILE in the above message, but they appear to be correct (so the error shouldn't be related to that).

Interestingly, running that command manually succeeds.

UPDATE: Ah, this is an upstream bug, see: https://github.com/CoatiSoftware/Sourcetrail/issues/1129

jetm commented on 2021-01-12 19:58 (UTC)

@fsimonis: yes, you're right. Sourcetrail can be built now from scratch. I have verified it. Thanks!

The next problem is to figure out which files are required to be packaged. I can get the Sourcetrail binary, but there are many more files that should be packaged too. The CMake has not a make install entry. At upstream, Sourcetrail is doing the Linux packaging in a no standard way [1].

[1] https://github.com/CoatiSoftware/Sourcetrail/blob/master/setup/Linux/createPackages.sh

I need more time to finish that part. I will work at it in next days

fsimonis commented on 2021-01-07 09:49 (UTC)

@jetm The new release 2020.4.35 adds QT forward-compatibility. I can compile and use this version of sourcetrail without tweaks on Arch. Would you mind migrating this package to building from source?

jetm commented on 2020-10-03 22:38 (UTC)

@xa0082249956 Updated the package with libglvnd dependency. Thanks!

xa0082249956 commented on 2020-10-03 11:12 (UTC)

/opt/sourcetrail/bin/sourcetrail: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

Looks like we need to add a dependency libglvnd