Package Details: sourcetrail 2021.1.30-1

Git Clone URL: https://aur.archlinux.org/sourcetrail.git (read-only, click to copy)
Package Base: sourcetrail
Description: A cross-platform source explorer for C/C++ and Java
Upstream URL: https://www.sourcetrail.com
Keywords: c c++ cross-platform explorer java source
Licenses: LGPL3
Conflicts: coati
Provides: sourcetrail=2021.1.30
Replaces: coati
Submitter: jetm
Maintainer: jetm
Last Packager: jetm
Votes: 20
Popularity: 0.55
First Submitted: 2017-04-12 15:18
Last Updated: 2021-03-20 20:38

Pinned Comments

jetm commented on 2019-11-21 13:08

This package is not building from scratch. It still uses the binary. There are issues building it in Arch Linux that are required to be fixed. When those are solved, this will use the GitHub link and sourcetrail-bin package will continue existing as binary install alternative.

Latest Comments

1 2 3 Next › Last »

dkasak commented on 2021-01-16 11:20

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

@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

@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

@xa0082249956 Updated the package with libglvnd dependency. Thanks!

xa0082249956 commented on 2020-10-03 11:12

/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

pspeder commented on 2020-07-27 12:22

Is there a reason that the package makes only the .desktop file easily available and not a link to the binary itself?

I have zero experience with writing pkgbuilds, but after browsing a little I believe putting something like below last in package() will do it (not tested):

install -m 755 "$srcdir/opt/bin/$pkgname" "$pkgdir/usr/bin"

jetm commented on 2019-11-21 13:08

This package is not building from scratch. It still uses the binary. There are issues building it in Arch Linux that are required to be fixed. When those are solved, this will use the GitHub link and sourcetrail-bin package will continue existing as binary install alternative.

jetm commented on 2019-11-21 13:04

@lightning1141: the link on GitHub is not equivalent to what it was before. When all the issues to build in Arch Linux from scratch are solved. I will change it to GitHub link.

lightning1141 commented on 2019-11-21 10:24

Could you please use github link for download? Sourcetrail is now free and open-source software. source: https://www.sourcetrail.com/blog/open_source/ .

mytbk commented on 2019-11-19 14:57

Gosh, there're some other problems building with C++ support. refer to https://github.com/CoatiSoftware/Sourcetrail/pull/762 for the change.