Bug 1202591 (muon) - Review Request: muon - A collection of package management tools for KDE
Summary: Review Request: muon - A collection of package management tools for KDE
Keywords:
Status: CLOSED ERRATA
Alias: muon
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mario Blättermann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: kde-reviews plasma5
TreeView+ depends on / blocked
 
Reported: 2015-03-17 00:51 UTC by Rex Dieter
Modified: 2015-04-27 08:41 UTC (History)
5 users (show)

Fixed In Version: muon-5.2.2-2.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-27 08:41:50 UTC
Type: ---
Embargoed:
mario.blaettermann: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Rex Dieter 2015-03-17 00:51:18 UTC
Spec URL: https://rdieter.fedorapeople.org/rpms/plasma5/muon.spec
SRPM URL: https://rdieter.fedorapeople.org/rpms/plasma5/muon-5.2.1-2.fc22.src.rpm
Description: A collection of package management tools for KDE
Fedora Account System Username: rdieter

Comment 1 Rex Dieter 2015-03-17 04:35:38 UTC
Scratch build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=9248206

rpmlint *.src.rpm muon
muon.x86_64: E: invalid-soname /usr/lib64/libMuonNotifiers.so libMuonNotifiers.so
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libMuonNotifiers.so /lib64/libm.so.6
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libMuonNotifiers.so /lib64/libgcc_s.so.1
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libKF5Notifications.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libKF5KIOWidgets.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libKF5IconThemes.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libKF5ItemViews.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libKF5Codecs.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libKF5Auth.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libKF5KIOCore.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libKF5JobWidgets.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libQt5Network.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libKF5Completion.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libKF5WidgetsAddons.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libgcc_s.so.1
muon.x86_64: E: postun-without-ldconfig /usr/lib64/libmuonprivate.so.5.2.1
muon.x86_64: W: gzipped-svg-icon /usr/share/icons/hicolor/scalable/apps/muondiscover.svgz
muon.x86_64: W: no-manual-page-for-binary muon-updater
muon.x86_64: W: no-manual-page-for-binary muon-discover
muon.x86_64: E: invalid-desktopfile /usr/share/applications/muon-discover.desktop value "programm,rakendus,tarkvara,hoidla,pakk,pakett,paigaldamine,installimine,eemaldamine,uuendamine,rakendused,deb" for locale string list key "Keywords[et]" in group "Desktop Entry" does not have a semicolon (';') as trailing character
muon.x86_64: E: invalid-desktopfile /usr/share/applications/muon-discover.desktop value "programme?; logiciel?; d?p?t?; archive?; paquet?; installation?; suppression?; mise ? jour?; deb" for locale string list key "Keywords[fr]" in group "Desktop Entry" does not have a semicolon (';') as trailing character
muon.x86_64: E: invalid-desktopfile /usr/share/applications/muon-discover.desktop value "program,software,repository,archive,package,install,remove,update,deb,????,?????,???,?????,???,???,??,??,????" for locale string list key "Keywords[ko]" in group "Desktop Entry" does not have a semicolon (';') as trailing character
muon.x86_64: E: invalid-desktopfile /usr/share/applications/muon-discover.desktop value "program;programvare;pakkebr?nn;pakke;installere;fjerne;oppdatere;app;apper" for locale string list key "Keywords[nb]" in group "Desktop Entry" does not have a semicolon (';') as trailing character
muon.x86_64: E: invalid-desktopfile /usr/share/applications/muon-discover.desktop value "program,oprogramowanie,repozytorium,archiwum,pakiet,paczka,instaluj,zainstaluj,usu?,odinstaluj,uaktualnij,aktualizuj,programy,aplikacje,deb" for locale string list key "Keywords[pl]" in group "Desktop Entry" does not have a semicolon (';') as trailing character
muon.x86_64: E: invalid-desktopfile /usr/share/applications/muon-discover.desktop value "program;software;repository;package;install;remove;update;apps;applications;??;??;???;?;??;??;??;????" for locale string list key "Keywords[zh_CN]" in group "Desktop Entry" does not have a semicolon (';') as trailing character
2 packages and 0 specfiles checked; 8 errors, 17 warnings.


hrm, looks like I have some minor .desktop fixing to do too

Comment 2 Rex Dieter 2015-03-17 14:05:36 UTC
Spec URL: https://rdieter.fedorapeople.org/rpms/plasma5/muon.spec
SRPM URL: https://rdieter.fedorapeople.org/rpms/plasma5/muon-5.2.1-3.fc22.src.rpm

%changelog
* Tue Mar 17 2015 Rex Dieter <rdieter> 5.2.1-3
- fix .desktop validation errors


Now, we're down to mostly harmless ones rplmlint output:

muon.x86_64: E: invalid-soname /usr/lib64/libMuonNotifiers.so libMuonNotifiers.so
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libMuonNotifiers.so /lib64/libm.so.6
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libMuonNotifiers.so /lib64/libgcc_s.so.1
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libKF5Notifications.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libKF5KIOWidgets.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libKF5IconThemes.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libKF5ItemViews.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libKF5Codecs.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libKF5Auth.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libKF5KIOCore.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libKF5JobWidgets.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libQt5Network.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libKF5Completion.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libKF5WidgetsAddons.so.5
muon.x86_64: W: unused-direct-shlib-dependency /usr/lib64/libmuonprivate.so.5.2.1 /lib64/libgcc_s.so.1
muon.x86_64: W: gzipped-svg-icon /usr/share/icons/hicolor/scalable/apps/muondiscover.svgz
muon.x86_64: W: no-manual-page-for-binary muon-updater
muon.x86_64: W: no-manual-page-for-binary muon-discover

Comment 3 Mario Blättermann 2015-03-22 19:15:41 UTC
%doc README COPYING

Please move COPYING to %license.

Comment 4 Elia Devito 2015-03-25 16:09:27 UTC
Spec URL: http://5.196.65.101/~elia/muon/muon.spec
SRPM URL: http://5.196.65.101/~elia/muon/muon-5.2.2-1.fc22.src.rpm

%changelog
* Wed Mar 25 2015 Elia Devito <eliadevito> 5.2.2-1
- upgrade to 5.2.2
- moved COPYING to %license
- fix unused-direct-shlib-dependency rpmlint warning

this is my first spec, sorry for errors

Comment 5 Rex Dieter 2015-03-25 16:16:51 UTC
Not really a review, but ... thanks.

Not sure I'm willing to include hacks like:
######################
# used -Wl,--as-needed to fix unused-direct-shlib-dependency rpmlint warning
export LDFLAGS="-Wl,--as-needed %{?__global_ldflags}"
######################
in general (just to make rpmlint happy), but I'll keep that trick in my bag of tricks.  :)

Comment 6 Martin Kho 2015-03-30 10:56:23 UTC
Hi,

Not sure if this is the right place to mention a really nasty bug in muon - at least as I've experienced it. When I try to install an application muon places 'somewhere' on the desktop a close button that blockes switching virtual desktops and if pressed closes the application on that - virtual - desktop. Log out/log in is needed to get the button away.

For the rest muon looks nice, although it still has some rough edges (e. g. pictures are flickering when scrolling through te list)

HTH

Martin Kho

Comment 7 Martin Kho 2015-03-31 08:42:21 UTC
Hi,

The 'close button' is NOT Muon's fault. Today I got the same with Audacity. Looks something coming from plasmashell or so. Sorry for the noise.

Martin Kho

Comment 8 Rex Dieter 2015-04-17 11:43:16 UTC
fwiw, the close button thing is a kwin bug I think (fixed in kwin-5.2.2-2), I hit it too.

Comment 9 Mario Blättermann 2015-04-20 14:38:14 UTC
Scratch build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=9518927

$ rpmlint -i -v *
muon.src: I: checking
muon.src: I: checking-url https://projects.kde.org/projects/kde/workspace/muon (timeout 10 seconds)
error: File /home/mariobl/rpmbuild/SOURCES/muon-5.2.1-dt.patch: No such file or directory
muon.src: I: checking-url http://download.kde.org/stable/plasma/5.2.1/muon-5.2.1.tar.xz (timeout 10 seconds)
muon.x86_64: I: checking
muon.x86_64: I: checking-url https://projects.kde.org/projects/kde/workspace/muon (timeout 10 seconds)
muon.x86_64: E: invalid-soname /usr/lib64/libMuonNotifiers.so libMuonNotifiers.so
The soname of the library is neither of the form lib<libname>.so.<major> or
lib<libname>-<major>.so.

muon.x86_64: W: gzipped-svg-icon /usr/share/icons/hicolor/scalable/apps/muondiscover.svgz
Not all desktop environments that support SVG icons support them gzipped
(.svgz).  Install the icon as plain uncompressed SVG.

muon.x86_64: W: no-manual-page-for-binary muon-updater
Each executable in standard binary directories should have a man page.

muon.x86_64: W: no-manual-page-for-binary muon-discover
Each executable in standard binary directories should have a man page.

muon-debuginfo.x86_64: I: checking
muon-debuginfo.x86_64: I: checking-url https://projects.kde.org/projects/kde/workspace/muon (timeout 10 seconds)
muon.spec: I: checking
error: File /home/mariobl/rpmbuild/SOURCES/muon-5.2.1-dt.patch: No such file or directory
muon.spec: I: checking-url http://download.kde.org/stable/plasma/5.2.1/muon-5.2.1.tar.xz (timeout 10 seconds)
3 packages and 1 specfiles checked; 1 errors, 3 warnings.


The warnings about the invalid-soname need to be investigated, but nothing which blocks the review seriously.



---------------------------------
key:

[+] OK
[.] OK, not applicable
[X] needs work
---------------------------------

[+] MUST: rpmlint must be run on the source rpm and all binary rpms the build produces. The output should be posted in the review.
[+] MUST: The package must be named according to the Package Naming Guidelines.
[+] MUST: The spec file name must match the base package %{name}, in the format %{name}.spec unless your package has an exemption.
[+] MUST: The package must meet the Packaging Guidelines.
[+] MUST: The package must be licensed with a Fedora approved license and meet the Licensing Guidelines.
[+] MUST: The License field in the package spec file must match the actual license.
    GPLv2+
[x] MUST: If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package must be included in %license.

Please move the license file to %license.

[+] MUST: The spec file must be written in American English.
[+] MUST: The spec file for the package MUST be legible.
[+] MUST: The sources used to build the package must match the upstream source, as provided in the spec URL. Reviewers should use sha256sum for this task as it is used by the sources file once imported into git. If no upstream URL can be specified for this package, please see the Source URL Guidelines for how to deal with this.
    $ sha256sum *
    ae4fbf3282d29c745e9c9daae129a94e80b98a2708d360bfa606026d053eaa84  muon-5.2.1.tar.xz
    ae4fbf3282d29c745e9c9daae129a94e80b98a2708d360bfa606026d053eaa84  muon-5.2.1.tar.xz.orig

[+] MUST: The package MUST successfully compile and build into binary rpms on at least one primary architecture.
[.] MUST: If the package does not successfully compile, build or work on an architecture, then those architectures should be listed in the spec in ExcludeArch. Each architecture listed in ExcludeArch MUST have a bug filed in bugzilla, describing the reason that the package does not compile/build/work on that architecture. The bug number MUST be placed in a comment, next to the corresponding ExcludeArch line.
[+] MUST: All build dependencies must be listed in BuildRequires, except for any that are listed in the exceptions section of the Packaging Guidelines ; inclusion of those as BuildRequires is optional. Apply common sense.
[.] MUST: The spec file MUST handle locales properly. This is done by using the %find_lang macro. Using %{_datadir}/locale/* is strictly forbidden.
[.] MUST: Every binary RPM package (or subpackage) which stores shared library files (not just symlinks) in any of the dynamic linker's default paths, must call ldconfig in %post and %postun.
[.] MUST: Packages must NOT bundle copies of system libraries.
[.] MUST: If the package is designed to be relocatable, the packager must state this fact in the request for review, along with the rationalization for relocation of that specific package. Without this, use of Prefix: /usr is considered a blocker.
[+] MUST: A package must own all directories that it creates. If it does not create a directory that it uses, then it should require a package which does create that directory.
[+] MUST: A Fedora package must not list a file more than once in the spec file's %files listings. (Notable exception: license texts in specific situations)
[+] MUST: Permissions on files must be set properly. Executables should be set with executable permissions, for example.
[+] MUST: Each package must consistently use macros.
[+] MUST: The package must contain code, or permissable content.
[.] MUST: Large documentation files must go in a -doc subpackage. (The definition of large is left up to the packager's best judgement, but is not restricted to size. Large can refer to either size or quantity).
[+] MUST: If a package includes something as %doc, it must not affect the runtime of the application. To summarize: If it is in %doc, the program must run properly if it is not present.
[.] MUST: Static libraries must be in a -static package.
[.] MUST: Development files must be in a -devel package.
[.] MUST: In the vast majority of cases, devel packages must require the base package using a fully versioned dependency: Requires: %{name}%{?_isa} = %{version}-%{release}
[.] MUST: Packages must NOT contain any .la libtool archives, these must be removed in the spec if they are built.
[+] MUST: Packages containing GUI applications must include a %{name}.desktop file, and that file must be properly installed with desktop-file-install in the %install section. If you feel that your packaged GUI application does not need a .desktop file, you must put a comment in the spec file with your explanation.
[+] MUST: Packages must not own files or directories already owned by other packages. The rule of thumb here is that the first package to be installed should own the files or directories that other packages may rely upon. This means, for example, that no package in Fedora should ever share ownership with any of the files or directories owned by the filesystem or man package. If you feel that you have a good reason to own a file or directory that another package owns, then please present that at package review time. 
[+] MUST: All filenames in rpm packages must be valid UTF-8.


[.] SHOULD: If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it.
[.] SHOULD: The description and summary sections in the package spec file should contain translations for supported Non-English languages, if available.
[+] SHOULD: The reviewer should test that the package builds in mock.
    See Koji build above (which uses Mock anyway).
[+] SHOULD: The package should compile and build into binary rpms on all supported architectures.
[+] SHOULD: The reviewer should test that the package functions as described. A package should not segfault instead of running, for example.
[.] SHOULD: If scriptlets are used, those scriptlets must be sane. This is vague, and left up to the reviewers judgement to determine sanity.
[.] SHOULD: Usually, subpackages other than devel should require the base package using a fully versioned dependency.
[.] SHOULD: The placement of pkgconfig(.pc) files depends on their usecase, and this is usually for development purposes, so should be placed in a -devel pkg. A reasonable exception is that the main pkg itself is a devel tool not installed in a user runtime, e.g. gcc or gdb.
[.] SHOULD: If the package has file dependencies outside of /etc, /bin, /sbin, /usr/bin, or /usr/sbin consider requiring the package which provides the file instead of the file itself.
[.] SHOULD: your package should contain man pages for binaries/scripts. If it doesn't, work with upstream to add them where they make sense.


----------------

PACKAGE APPROVED

----------------

Don't forget the %license issue before importing the package.

Comment 10 Rex Dieter 2015-04-20 14:53:11 UTC
New Package SCM Request
=======================
Package Name: muon
Short Description: A collection of package management tools for KDE
Upstream URL: https://projects.kde.org/projects/kde/workspace/muon
Owners: rdieter group::kde-sig
Branches: f22

Comment 11 Gwyn Ciesla 2015-04-20 15:49:22 UTC
Git done (by process-git-requests).

Comment 12 Fedora Update System 2015-04-21 01:20:17 UTC
muon-5.2.2-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/muon-5.2.2-2.fc22

Comment 13 Fedora Update System 2015-04-22 22:40:39 UTC
muon-5.2.2-2.fc22 has been pushed to the Fedora 22 testing repository.

Comment 14 Fedora Update System 2015-04-27 08:41:50 UTC
muon-5.2.2-2.fc22 has been pushed to the Fedora 22 stable repository.


Note You need to log in before you can comment on or make changes to this bug.