-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chocolate Doom - misleading description in software center (T5385) #78
Comments
Ikey Doherty (#ikey), 2017-12-26 14:53:43 UTC This is a limitation in the current software center, it has a 1:1 mapping of package->appstream.
We'll need to figure out the best way to approach this in the SC.. |
Joshua Strobl (#JoshStrobl), 2019-09-25 16:49:56 UTC |
Looking at the pspec of <Path fileType="data">/usr/share/icons/chocolate-doom.png</Path>
<Path fileType="data">/usr/share/icons/chocolate-setup.png</Path> but there is more: <Path fileType="executable">/usr/bin/chocolate-server</Path>
<Path fileType="data">/usr/share/applications/chocolate-setup.desktop</Path>
<Path fileType="data">/usr/share/applications/screensavers/chocolate-doom-screensaver.desktop</Path>
<Path fileType="man">/usr/share/man/man6/chocolate-server.6</Path>
<Path fileType="man">/usr/share/man/man6/chocolate-setup.6</Path> So referring each subpackage to it's main package as dependency? Or should it rather be fixed in software center? |
Another idea would be to add a search in solus-sc that scans the repo for Appstream docs mentions a convention that is also followed by In this case it would be
So stripping the last bit can give us all that is to |
If you want to play around with this
Read example-failed.xml, example-ignored.xml, and example.xml to see how appstream-builder manages it. If you decide the split the package then each subpackage must have appdata a desktop file and an icon for appstream-builder to successfully generate appstream data for it. |
Okay appstream-builder is parsing the package name from the file and then assigning it to all three appstream metadata files. The icon is read from the The screensaver is only for There is a bug in constructing An AUR packages has made this take on it:
The setup binary is only copied over in Makefile. So that is okay. The man pages are also corrupted and do not have their correct binary name in it, because it only copied over: https://github.com/chocolate-doom/chocolate-doom/blob/chocolate-doom-3.0.1/man/Makefile.am#L56 The man pages reference each other, but according to the man page docs it is allowed to reference man pages from another "projects":
It is a lot of work to clean them up. They have given each of the binaries a dedicated icon and cleaned up the man page mess on upstream. That's good. Enough research for today... |
First shot, with a little bug in the desktop files: https://github.com/maikwoehl/solus-packages/blob/fix-chocolate-doom-appstream/packages/c/chocolate-doom/package.yml |
@maikwoehl This is looking really good! If you need help or tips, don't hesitate to get in touch in the Solus Packaging channel on matrix. ^^' |
Hi @ermo, I was completely zoned out the last months. I'm currently setting up my environment again and hopefully will start working again on this. |
Fixes getsolus#78 Signed-off-by: Maik Wöhl <mail@maikwoehl.de>
Fixes getsolus#78 Signed-off-by: Maik Wöhl <mail@maikwoehl.de>
Fixes getsolus#78 Signed-off-by: Maik Wöhl <mail@maikwoehl.de>
Fixes getsolus#78 Signed-off-by: Maik Wöhl <mail@maikwoehl.de>
Fixes getsolus#78 Signed-off-by: Maik Wöhl <mail@maikwoehl.de>
Fixes getsolus#78 Signed-off-by: Maik Wöhl <mail@maikwoehl.de>
Fixes getsolus#78 Signed-off-by: Maik Wöhl <maik.woehl@outlook.de>
Fixes getsolus#78 Signed-off-by: Maik Wöhl <maik.woehl@outlook.de>
Fixes getsolus#78 Signed-off-by: Maik Wöhl <maik.woehl@outlook.de>
Installing "Chocolate Strife" from the software center installs the package "chocolate-doom". This package includes Chocolate Doom, Heretic, Hexen, and Strife, not just Chocolate Strife.
The text was updated successfully, but these errors were encountered: