Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582886 - dev-libs/sway should be x11-wm/sway
Summary: dev-libs/sway should be x11-wm/sway
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 3 votes (vote)
Assignee: Mykyta Holubakha
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2016-05-13 08:00 UTC by Zetok
Modified: 2019-03-06 19:34 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zetok 2016-05-13 08:00:29 UTC
Someone thought that it would be a good idea to put it in `dev-libs` category.

This is obviously wrong.

Should be in `wayland-wm`.

Reproducible: Always

Pls fix.
Comment 1 Jasen Borisov 2016-05-13 20:07:45 UTC
(In reply to Zetok from comment #0)
> Someone thought that it would be a good idea to put it in `dev-libs`
> category.
> 
> This is obviously wrong.
> 
> Should be in `wayland-wm`.
> 
> Reproducible: Always
> 
> Pls fix.

This was discussed at length before my sway ebuild was added to gentoo. A new category will apparently not be made just for one package. Once gentoo has many different wayland window managers / compositors, they will all be collectively moved to a new category.

That said, I am also personally in support of creating a new category, but many developers said otherwise.
Comment 2 Zetok 2016-05-14 16:15:48 UTC
(In reply to Jasen Borisov from comment #1)
> This was discussed at length before my sway ebuild was added to gentoo. A
> new category will apparently not be made just for one package. Once gentoo
> has many different wayland window managers / compositors, they will all be
> collectively moved to a new category.

From what I understand, there are already other wayland wms/compositors in Gentoo beside sway – argument that there's no other ebuilds fitting in the category is invalid.
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2016-05-15 12:37:51 UTC
Frankly I find the tone of this bug's initial title as objectionable.
"sway is in wrong category"

You state this as if a statement of established fact and as if you are a final authority. The selection of the category of a new package is quite an arbitrary choice and like most decisions, it was made in balancing various influential factors. This was one of the first elements which I brought up on the prompting of the package.  Amongst other choices, the addition was made bearing in mind that a category and the location of a package in portage CAN be shifted by pkgmove.

I strongly suggest you refrain from taking such a dogmatic "know it all" approach and attitude is this or any future related topics.  Decisions of this type are not helped by suggestions that in the opening line dictate a state of correctness or a final outcome. Otherwise there is fundamentally no allowance for further discussion or opinion. Worse, you set yourself up for your stance being either wrong in fundamental assertion, or rejected out of indignation and defiance.
Comment 4 Yukio Usuzumi 2016-11-29 12:47:23 UTC
(In reply to Ian Delaney (RETIRED) from comment #3)
> Frankly I find the tone of this bug's initial title as objectionable.
> "sway is in wrong category"
> 
> You state this as if a statement of established fact and as if you are a
> final authority. The selection of the category of a new package is quite an
> arbitrary choice and like most decisions, it was made in balancing various
> influential factors. This was one of the first elements which I brought up
> on the prompting of the package.  Amongst other choices, the addition was
> made bearing in mind that a category and the location of a package in
> portage CAN be shifted by pkgmove.
> 
> I strongly suggest you refrain from taking such a dogmatic "know it all"
> approach and attitude is this or any future related topics.  Decisions of
> this type are not helped by suggestions that in the opening line dictate a
> state of correctness or a final outcome. Otherwise there is fundamentally no
> allowance for further discussion or opinion. Worse, you set yourself up for
> your stance being either wrong in fundamental assertion, or rejected out of
> indignation and defiance.

WTF? Even I as a stander-by feels he does not deserve such criticism. I strongly agree with his statement. `wayland-wm` aligns with `x11-wm`, and sure we can wait till there are more wayland wm's to bother creating a new category, but before that, this should be a valid bug report.

Taken a step back, even if he stated wrong, why scold someone that has taken the time to create this report? I believe there are many invalid reports, but they all bear the expectations and hope from the reporters to make Gentoo a better project. Everyone states false facts, sometimes.

I don't see any indignance or defiance in the initial report. I don't think he cares that much about this issue either. It has very little impact on the functionality of this software. Your statement, however, does no help in resolving this issue, as far as I see (Nor does mine).
Comment 5 Alex Xu (Hello71) 2018-07-08 19:17:24 UTC
even without wayland-wm, dev-libs is ridiculous. sway is neither "dev" nor "lib". x11-wm would even be better, then it is more than half correct, since sway is a wm, and it does handle x11 programs (if xwayland is enabled).
Comment 6 Niccolò Scatena 2019-01-22 17:43:20 UTC
The Sway project is splitting into various subproject: in addition to wlroots, now there are also swaylock and swayidle as standalone projects.
I think it's time to get a final decision about the category of these packages.

If gentoo devs do not want to open wayland-specific categories, since I find `x11-wm` still inappropriate (Sway is not X11), I propose the following:

dev-libs/wlroots
app-misc/sway
app-misc/swaylock
app-misc/swayidle

In case the devs continue to consider the `x11-wm` category more appropriate than `app-misc`, however it remains to decide if swaylock and swayindle should go in `x11-misc` or `app-misc`. I'm writing the ebuilds for these packages and I need to know the appropriate category before submitting the PR.
And if `dev-libs/sway` has to be moved in another category, I think we need a gentoo dev who takes care that Sway's users are informed of the change.
Comment 7 Niccolò Scatena 2019-02-26 10:15:52 UTC
Sway moved to gui-wm/sway.
This bug can be closed now.
Comment 8 Aaron Bauman (RETIRED) gentoo-dev 2019-03-06 19:34:06 UTC
(In reply to Niccolò Scatena from comment #7)
> Sway moved to gui-wm/sway.
> This bug can be closed now.

Thanks for the reminder!