Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#57215 - [gnome-builder] Make clang and flatpak dependencies optional

Attached to Project: Arch Linux
Opened by Balló György (City-busz) - Wednesday, 24 January 2018, 14:23 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 24 January 2018, 15:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

1. clang is a very large dependency, and it's needed only for the Clang plugin. Please move it to make+optdepends.

2. It seems that the Flatpak plugin is useless without flatpak-builder installed. Please move flatpak to makedepends, and add flatpak-builder to optdepends.

The new optdepends lines:
clang: Integration with Clang
flatpak-builder: Building with Flatpak
This task depends upon

Comment by Jan Alexander Steffens (heftig) - Wednesday, 24 January 2018, 16:01 GMT
I'd rather cut down on optdepends in favor of proper depends where we can, as long as the side effects are minimal. gnome-builder, as an IDE, won't be found on minimalist systems and probably doesn't need any optdepends at all.
Comment by Balló György (City-busz) - Wednesday, 24 January 2018, 16:22 GMT
But why should I need the whole clang compiler when I don't want to use it with gnome-builder?

I think it's okay to not move all plugin deps to optional, since the others are essential for an IDE (gspell, libgit2-glib, vte3) or already part of GNOME (devhelp, sysprof, vala). But clang and flatpak are something special which only needed for specific projects.
Comment by Jan Alexander Steffens (heftig) - Wednesday, 24 January 2018, 17:03 GMT
libclang is used for completion, not compilation. It is independent of whatever compiler you actually use to build the project.

I think flatpaks are supposed to be the primary distribution method for software made in Builder.
Comment by Christopher Davis (brainblasted) - Sunday, 14 April 2019, 19:27 GMT
> I think flatpaks are supposed to be the primary distribution method for software made in Builder.

Pretty much - flatpaks are a huge part of the workflow for GNOME apps,
and by default Builder generates and uses a flatpak build manifest in order
to build and run apps.
Comment by Balló György (City-busz) - Sunday, 14 April 2019, 21:10 GMT
But flatpak is not a requirement to run GNOME Builder itself. It's useful, but the IDE can be used without it.

There is another request to add flatpak-builder to optional dependencies:
https://bugs.archlinux.org/task/61933

Loading...