https://bugzilla.redhat.com/show_bug.cgi?id=2388645
--- Comment #17 from Tomi Lähteenmäki <[email protected]> --- (In reply to Neal Gompa from comment #16) > (In reply to Tomi Lähteenmäki from comment #13) > > Spec URL: > > https://codeberg.org/Lihis/stevia/raw/commit/ > > 72cd04902df9b3091f2eec6c81ed1cc1235a62d3/stevia.spec > > SRPM URL: > > https://kojipkgs.fedoraproject.org//work/tasks/518/137710518/stevia-0.48.0-3. > > fc44.src.rpm > > > > > > On second thought, you might want a virtual provides: > > > > "phosh-osk-provider" and have both packages provides+conflicts so only > > > > one can be installed. Especially if that's your goal. > > > > > > I'll check that is the only way to select a keyboard to install one and > > > uninstall the other.. > > > > I discussed this in #phosh-dev:phosh.mobi and maybe I think "best" way to > > allow user to choose a keyboard is to use `update-alternatives`: > > https://matrix.to/#/!a9TTiG8mY2z4jxSvCmBDDyOwtufbezZAms7mQWLnkj0/ > > $qjpCyrPjfGFiD4syd_4TZ158xF1Ts7i3y1jCgoU1ZAU?via=sigxcpu.org&via=matrix. > > org&via=sspaeth.de > > > > All comments should now be addressed so ready for review. If the > > update-alternatives way looks good I think I can make a PR for `squeekboard` > > to change it utilize `update-alternatives`? > > Alternatives are discouraged for Fedora, especially since they are not > compatible with rpm-ostree and bootc. Either Phosh needs to develop a UI for > changing this, or we need to make the two options mutually exclusive at the > RPM level. Of course that is not mentioned in the packaging guidelines for the Alternatives [1] and sendmail still seems to use [2] it too.. Well, would be nice to have a UI to select which keyboard you want to use but I guess I'll go down the route of having following in my .spec: %package phosh-osk-provider Summary: Use Stevia as Phosh's default OSK BuildArch: noarch Requires: %{name} Provides: phosh-osk = 1.0 Conflicts: phosh-osk Conflicts: squeekboard-phosh-osk-provider and make squeekboard-phosh-osk-provider conflict with stevia-phosh-osk-provider. Phosh already "Requires: phosh-osk" [3]. It might be that the squeekboard is soon broken so Stevia would be only working OSK: https://bugzilla.redhat.com/show_bug.cgi?id=2390089 [1] https://docs.fedoraproject.org/en-US/packaging-guidelines/Alternatives/ [2] https://src.fedoraproject.org/rpms/sendmail/blob/cf7e6072a851a31610789dba39d7c9f858107f16/f/sendmail.spec [3] https://src.fedoraproject.org/rpms/phosh/blob/faf8e3686bc5b584c931f0ecc19cefab58dde6d1/f/phosh.spec#_71 -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component https://bugzilla.redhat.com/show_bug.cgi?id=2388645 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202388645%23c17 -- _______________________________________________ package-review mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
