FS#50704 - [lxde] Add "provides" field for *-gtk3 packages

Attached to Project: Community Packages
Opened by Alexandr (disarmer) - Thursday, 08 September 2016, 12:40 GMT
Last edited by Balló György (City-busz) - Thursday, 06 October 2016, 19:00 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Balló György (City-busz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: please add "provides" field for *-gtk3 packages

For example, pcmanfm-gtk3 conflicts with pcmanfm, but doesn't provide pcmanfm. As result, with pcmanfm-gtk3 i can't install any packages, that depends on pcmanfm. For example: https://aur.archlinux.org/packages/pcmanfm-image-size-module-git/

Same with other gtk3 packages

Steps to reproduce:
Install pcmanfm-gtk3
Try to install package, that depends on pcmanfm
This task depends upon

Closed by  Balló György (City-busz)
Thursday, 06 October 2016, 19:00 GMT
Reason for closing:  Won't implement
Comment by Balló György (City-busz) - Thursday, 08 September 2016, 21:42 GMT
I don't want to provide pcmanfm in pcmanfm-gtk3, because it possible that some dependent packages want to explicitly depend on specific GTK+ version.

I think the proper way to solve this problem is one of the following:

1. Move pcmanfm from depends to makedepends/optdepends in pcmanfm-image-size-module-git, and add libfm to depends, since it's just a libfm module, and it should work with any libfm-based file browsers.

2. Create a new pcmanfm-image-size-module-gtk3-git package, which depends on pcmanfm-gtk3 instead of pcmanfm.
Comment by Alexandr (disarmer) - Friday, 09 September 2016, 09:55 GMT
Ah, first method is right, i'll report to package author, thank you.

Ok, problem not only with this particular package. I think user should be asked, which version he wants. We can make this as libgl does(see attach). With this method user can select gtk2 or gtk3 (or even qt) package, but he also can install specific version without any questions, i.e. "pacman -S pcmanfm-gtk2"
Comment by Balló György (City-busz) - Thursday, 06 October 2016, 18:08 GMT
Yes, it would be possible, but it's a lot of work to implement (renaming and providing packages), and I don't see too much benefit.

Loading...