FS#65452 - [profanity] CLI package requires x11 GTK shared library

Attached to Project: Community Packages
Opened by Spencer Michaels (smichaels) - Tuesday, 11 February 2020, 06:14 GMT
Last edited by Levente Polyak (anthraxx) - Wednesday, 24 June 2020, 17:36 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Package: profanity
Version: 1:0.8.1-1

When running the `profanity` binary from the `profanity` package (*not* `profanity-gtk`) on Wayland (sway), I get the following error:

profanity: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

It looks like the non-GTK profanity package was nonetheless built with a dependency on a GTK shared library, pulled in by the "enable_icons_and_clipboard" option, which defaults to being enabled (see https://github.com/profanity-im/profanity/blob/master/configure.ac#L178).

Resolutions:
Add `--enable-icons-and-clipboard=no` to the `./configure` invocation, removing the GTK dependency (which should be left to `profanity-gtk`)

Reproduction Steps:
Install and run `profanity` on a system without X11/GTK.
This task depends upon

Closed by  Levente Polyak (anthraxx)
Wednesday, 24 June 2020, 17:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  1:0.8.4-1
Comment by Viachaslau (khalikin) - Tuesday, 23 June 2020, 19:50 GMT
Why still not fixed? This non-gtk version is unusable.

Loading...