Bug 515280 (gnome-colors)

Summary: Review Request: gnome-colors-icon-theme - GNOME-Colors icon theme
Product: [Fedora] Fedora Reporter: Michal Nowak <mnowak>
Component: Package ReviewAssignee: Martin Gieseking <martin.gieseking>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bnocera, fedora-package-review, martin.gieseking, mclasen, mhroncok, notting, ohudlick, susi.lehtola
Target Milestone: ---Flags: martin.gieseking: fedora-review+
kevin: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.3-1.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-18 21:14:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Nowak 2009-08-03 15:22:44 UTC
Spec URL: http://mnowak.fedorapeople.org/gnome-colors-icon-theme/gnome-colors-icon-theme.spec
SRPM URL: http://mnowak.fedorapeople.org/gnome-colors-icon-theme/gnome-colors-icon-theme-5.2.2-1.fc11.src.rpm
Description: 

The GNOME-Colors is a project that aims to make the GNOME desktop as
elegant, consistent and colorful as possible.

The current goal is to allow full color customization of themes, icons,
GDM logins and splash screens. There are already seven full color-schemes
available; Brave (Blue), Human (Orange), Wine (Red), Noble (Purple), Wise
(Green), Dust (Chocolate) and Illustrious (Pink). An unlimited amount of
color variations can be rebuilt and recolored from source, so users need
not stick to the officially supported color palettes.

GNOME-Colors is mostly inspired/based on Tango, GNOME, Elementary,
Tango-Generator and many other open-source projects. More information
can be found in the AUTHORS file.

Comment 1 Michal Nowak 2009-08-03 15:23:34 UTC
Koji scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=1576200

newman@dhcp-lab-124 SPECS $ rpmlint /home/newman/rpmbuild/SRPMS/gnome-colors-icon-theme-5.2.2-1.fc11.src.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

Comment 2 Matthias Clasen 2009-08-04 01:18:42 UTC
Builds in mock without any problems and rpmlint warnings.

One problem I see is that the icon themes inherit the gnome icon them, therefore you should probably add a Requires: gnome-icon-theme.

Comment 3 Michal Nowak 2009-08-04 08:02:33 UTC
Thanks.

Fixed and also updated to v5.3: http://mnowak.fedorapeople.org/gnome-colors-icon-theme/gnome-colors-icon-theme-5.3-1.fc11.src.rpm

Comment 4 Martin Gieseking 2009-08-07 10:54:23 UTC
Hello Michal,

your package is pretty clean. The only thing I'm not quite sure about is the license. The Website mentions GPL v2 but there is no version number given in README and AUTHORS. Maybe you can ask upstream if GPLv2+ is also applicable.

Martin




rpmlint output:

3 packages and 1 specfiles checked; 0 errors, 0 warnings.

---------------------------------
keys used in following checklist:

[+] OK
[#] OK, not applicable
[-] needs work
---------------------------------

[+] 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.
    - while the website explicitely mentions GPL v2,
      README and AUTHOR doesn't specify a GPL version, COPYING contains 
      GPL v2, though
    - maybe you could ask upstream whether GPLv2 is required or GPLv2+ is 
      also applicable

[+] 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 %doc.
[+] 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.
    - md5 hash is e5b33e067ebfcabafcf8737e2bdb5bcc

[+] MUST: The package MUST successfully compile and build into binary rpms on at least one primary architecture.
[+] MUST: All build dependencies must be listed in BuildRequires, except for any that are listed in the exceptions section of the Packaging Guidelines
[#] MUST: The spec file MUST handle locales properly. This is done by using the %find_lang macro. Using %{_datadir}/locale/* is strictly forbidden.
    - no locales

[#] 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.
    - no shared 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.
    - package not relocatable

[+] MUST: A package must own all directories that it creates.
[+] MUST: A Fedora package must not list a file more than once in the spec file's %files listings.
[+] MUST: Permissions on files must be set properly. Executables should be set with executable permissions, for example. Every %files section must include a %defattr(...) line.
[+] MUST: Each package must have a %clean section, which contains rm -rf %{buildroot} (or $RPM_BUILD_ROOT).
[+] 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.
    - no large documentation

[+] MUST: If a package includes something as %doc, it must not affect the runtime of the application.
[#] MUST: Header files must be in a -devel package.
    - no header files

[#] MUST: Static libraries must be in a -static package.
    - no static libraries

[#] MUST: Packages containing pkgconfig(.pc) files must 'Requires: pkgconfig'.
    - no pkgconfig

[#] MUST: If a package contains library files with a suffix (e.g. libfoo.so.1.1), then library files that end in .so (without suffix) must go in a -devel package.
    - no shared libraries

[#] MUST: In the vast majority of cases, devel packages must require the base package using a fully versioned dependency: Requires: %{name} = %{version}-%{release}
    - no subpackages

[#] MUST: Packages must NOT contain any .la libtool archives, these must be removed in the spec if they are built.
    - no .la files

[+] MUST: Packages must not own files or directories already owned by other packages.
[+] MUST: At the beginning of %install, each package MUST run rm -rf %{buildroot} (or $RPM_BUILD_ROOT).
[+] MUST: All filenames in rpm packages must be valid UTF-8.


[+] SHOULD: The reviewer should test that the package builds in mock.
    - builds in mock

[+] SHOULD: The reviewer should test that the package functions as described.
    - the new icons look nice :)    

[#] SHOULD: If scriptlets are used, those scriptlets must be sane. This is vague, and left up to the reviewers judgement to determine sanity.

Comment 5 Martin Gieseking 2009-08-07 10:56:48 UTC
Concerning the scriptlet check, the last list item should be:

[+] SHOULD: If scriptlets are used, those scriptlets must be sane.
    - %post scriptlet is valid and sane

Comment 6 Susi Lehtola 2009-08-07 12:14:42 UTC
(In reply to comment #4)
> Hello Michal,
> 
> your package is pretty clean. The only thing I'm not quite sure about is the
> license. The Website mentions GPL v2 but there is no version number given in
> README and AUTHORS. Maybe you can ask upstream if GPLv2+ is also applicable.

The first priority is the source code. In this case:

$ grep -i license * -R

gives a bunch of
gnome-colors-common/scalable/devices/gnome-dev-symlink.svg:        <cc:license
gnome-colors-common/scalable/devices/gnome-dev-symlink.svg:           rdf:resource="http://creativecommons.org/licenses/GPL/2.0/" />
gnome-colors-common/scalable/devices/gnome-dev-symlink.svg:      <cc:License
gnome-colors-common/scalable/devices/gnome-dev-symlink.svg:         rdf:about="http://creativecommons.org/licenses/GPL/2.0/">
gnome-colors-common/scalable/devices/gnome-dev-symlink.svg:      </cc:License>

so the license is clearly GPLv2.

Comment 7 Martin Gieseking 2009-08-07 12:31:27 UTC
I actually did a grep on the source. 

Can a part of an URI that points to a document really be considered clear? I mean, the link leads to the standard GPL v2 license text that is also included in the tarball. Without further explicit mentioning of the version number I would say that GPLv2+ could also be valid.

Comment 8 Susi Lehtola 2009-08-07 12:41:33 UTC
Judging only from the COPYING we'd mark the package as GPL+, but due to the license entries I would consider it quite clear that it's GPLv2.

(The website is circumstantial evidence.)

Of course, you can ask FE-LEGAL for confirmation if you want to be really sure. Or even better - ask upstream to add clear license headers to the source files and a note in e.g. COPYING stating that the package is distributed under GPLv2 (only).

Comment 9 Martin Gieseking 2009-08-07 12:55:49 UTC
Jussi, thanks for your comment. I was just wondering how the URI would have looked like if GPLv2+ was intended. However, I don't insist of a complete verification, of course. If you say GPLv2 is fine, then we can go with it.

Nonetheless, Michal already sent an email to upstream asking for clarification.

Comment 10 Martin Gieseking 2009-08-07 16:12:18 UTC
OK, I just received the email from Victor Castillejo confirming that GPLv2 is correct. Sorry for having been a bit nit-picking. Since everything else looks fine, I can finish the review here.

So, this package is APPROVED.

Comment 11 Michal Nowak 2009-08-10 07:45:16 UTC
Thanks for the review, Martin!

Comment 12 Michal Nowak 2009-08-10 07:49:07 UTC
New Package CVS Request
=======================
Package Name: gnome-colors-icon-theme
Short Description: GNOME-Colors icon theme
Owners: mnowak
Branches: F-11

Comment 13 Kevin Fenzi 2009-08-11 05:16:35 UTC
cvs done.

Comment 14 Fedora Update System 2009-08-11 07:52:29 UTC
gnome-colors-icon-theme-5.3-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/gnome-colors-icon-theme-5.3-1.fc11

Comment 15 Fedora Update System 2009-08-11 22:30:52 UTC
gnome-colors-icon-theme-5.3-1.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gnome-colors-icon-theme'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-8458

Comment 16 Fedora Update System 2009-08-18 21:14:48 UTC
gnome-colors-icon-theme-5.3-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 17 Miro Hrončok 2013-08-30 10:26:53 UTC
Does anyone of you guys know, why was this package deprecated? I'm using this icon theme and I keep it in /usr/local - I would take the ownership, unless there is something that smells bad. I was unable to find any relevant reason in git, in %changelog or on wiki.

Comment 18 Martin Gieseking 2013-08-30 12:45:16 UTC
According to [1], the package was orphaned (and retired?) in November 2011. Since nobody picked it up, it's no longer available in the Fedora repos. 
However, I don't see a reason why you shouldn't reactivate it. It's a nice collection of icon themes that works perfectly together with Xfce and Cinnamon for example. If you'd like to take ownership, feel free to do so.

[1] https://lists.fedoraproject.org/pipermail/devel/2011-November/160063.html

Comment 19 Miro Hrončok 2013-08-30 13:17:31 UTC
Thanks, the new Review Request is bz1003009

Comment 20 Christopher Meng 2013-09-02 03:00:40 UTC

*** This bug has been marked as a duplicate of bug 1003009 ***