Bug 1394614

Summary: Review Request: gnome-shell-extension-topicons-plus - Move all legacy tray icons to the top panel
Product: [Fedora] Fedora Reporter: Audrey Yeena Toskin <audrey>
Component: Package ReviewAssignee: Zbigniew Jędrzejewski-Szmek <zbyszek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: devin, package-review, vondruch, zbyszek
Target Milestone: ---Flags: zbyszek: fedora-review+
Target Release: ---   
Hardware: noarch   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-22 19:21:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Audrey Yeena Toskin 2016-11-14 03:44:26 UTC
Spec URL: https://gitlab.com/terrycloth/packaging-gnome-shell-extension-topicons-plus/raw/master/gnome-shell-extension-topicons-plus.spec
SRPM URL: https://andrew.tosk.in/tmp/gnome-shell-extension-topicons-plus-17-1.fc24.src.rpm

Description: Many applications, such as chat clients, downloaders, and some media players, are meant to run long-term in the background even after you close their window. These applications remain accessible by adding an icon to the GNOME Shell Legacy Tray. However, the Legacy Tray is hidden until you push your mouse into the lower-left of the screen and click on the small tab that appears. TopIcons Plus brings all icons back to the top panel so that it's easier to notice when a new application opens in the background or if one continues to idle after you thought you closed it. You also get some options to control the look: You can leave the icons in full color, or dynamically convert them to grayscale, etc.

Fedora Account System Username: terrycloth

Comment 1 Audrey Yeena Toskin 2016-11-14 03:49:19 UTC
I already know that `rpmlint --info` throws an error:

> rpmlint --info gnome-shell-extension-topicons-plus-17-1.fc24.noarch.rpm 
gnome-shell-extension-topicons-plus.noarch: E: explicit-lib-dependency glib2
You must let rpm find the library dependencies by itself. Do not put unneeded
explicit Requires: tags.

...but I'm not sure how to deal with this. TopIcons Plus requires the gsettings command, which according to rpm --query, is provided by glib2. So I do have to specify glib2 as a dependency, and I'm not sure how I could make it less "explicit" to make rpmlint happy.

Comment 2 Audrey Yeena Toskin 2016-11-14 04:24:36 UTC
Correction: *installing* TopIcons Plus requires the gsettings command. As far as I know, the extension itself doesn't need it, but as noted in a comment in the spec file, upstream recommends using gsettings to disable version validation during installation.

Comment 3 Audrey Yeena Toskin 2017-02-19 23:22:41 UTC
Updated to TopIcons Plus version 19.

gsettings command no longer needed, so glib2 is no longer a dependency.

Spec URL: https://gitlab.com/terrycloth/packaging-gnome-shell-extension-topicons-plus/raw/master/gnome-shell-extension-topicons-plus.spec

SRPM URL: https://andrew.tosk.in/tmp/gnome-shell-extension-topicons-plus-19-1.fc25.src.rpm

Comment 4 Audrey Yeena Toskin 2017-02-20 02:28:36 UTC
fedora-review looks good to me, except that it still complains about glib-schemas:

  Issues:
  =======
  - glib-compile-schemas is run in %postun and %posttrans if package has
    *.gschema.xml files.
    Note: gschema file(s) in gnome-shell-extension-topicons-plus
    See:
    http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GSettings_Schema

I still don't quite get what this is telling me. The `glib-compile-schemas` appears only in the extension's Makefile's "build" target.

  https://github.com/phocean/TopIcons-plus/blob/master/Makefile

Is fedora-review saying that I'm supposed to remove the glib-compile-schemas command?

Comment 5 Audrey Yeena Toskin 2017-03-15 05:52:23 UTC
* Updated to upstream version 20.
* Moved gschema file to system glib directory.
* Demoted GNOME Tweak Tool from a Require to a Recommend.

Spec URL: https://gitlab.com/terrycloth/packaging-gnome-shell-extension-topicons-plus/raw/master/gnome-shell-extension-topicons-plus.spec

SRPM URL: https://andrew.tosk.in/tmp/gnome-shell-extension-topicons-plus-20-1.fc26.src.rpm

Comment 6 Zbigniew Jędrzejewski-Szmek 2017-03-16 14:19:46 UTC
Schema compilation is not needed, see https://bugzilla.redhat.com/show_bug.cgi?id=1396790#c9.

+ latest version
+ builds and installs and runs OK
+ license is acceptable (GPLv2)
+ license is specified correctly
+ package name is OK
+ no scriptlets needed
+ BR/R/P look correct
 
Package is APPROVED.

Comment 7 Gwyn Ciesla 2017-03-20 12:49:13 UTC
Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/rpms/gnome-shell-extension-topicons-plus

Comment 8 Fedora Update System 2017-03-21 03:36:00 UTC
gnome-shell-extension-topicons-plus-20-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3e530405e6

Comment 9 Fedora Update System 2017-03-21 03:36:09 UTC
gnome-shell-extension-topicons-plus-20-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-ef36437454

Comment 10 Fedora Update System 2017-03-21 03:36:14 UTC
gnome-shell-extension-topicons-plus-20-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-976faa2478

Comment 11 Vít Ondruch 2017-03-21 07:51:47 UTC
Thanks for packaging this!

But I have one remark. Shouldn't be everything beginning "**NOTE:**" stripped out from the description? This is what guidelines [1] say about it:

> Do not include installation instructions in the description; it is not
> a manual. If the package requires some manual configuration or there are
> other important instructions to the user, refer the user to the documentation
> in the package. Add a README.Fedora, or similar, if you feel this is necessary.

I don't think the description applies anyway. Neither I suggest adding the README, since this should work out of box after installation, right?

[1] https://fedoraproject.org/wiki/Packaging:Guidelines#Summary_and_description

Comment 12 Fedora Update System 2017-03-21 14:26:22 UTC
gnome-shell-extension-topicons-plus-20-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-ef36437454

Comment 13 Fedora Update System 2017-03-21 17:53:13 UTC
gnome-shell-extension-topicons-plus-20-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-976faa2478

Comment 14 Fedora Update System 2017-03-21 17:55:02 UTC
gnome-shell-extension-topicons-plus-20-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3e530405e6

Comment 15 Fedora Update System 2017-03-22 19:21:52 UTC
gnome-shell-extension-topicons-plus-20-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2017-03-30 00:21:55 UTC
gnome-shell-extension-topicons-plus-20-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2017-04-01 17:20:08 UTC
gnome-shell-extension-topicons-plus-20-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.