Bug 1455886 - Review Request: nuvola-app-amazon-cloud-player - Amazon Cloud Player for Nuvola Player 3
Summary: Review Request: nuvola-app-amazon-cloud-player - Amazon Cloud Player for Nuvo...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Vít Ondruch
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/tiliado/nuvola-app...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-26 11:27 UTC by MartinKG
Modified: 2017-06-26 15:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-26 15:03:09 UTC
Type: ---
Embargoed:
vondruch: fedora-review+


Attachments (Terms of Use)

Description MartinKG 2017-05-26 11:27:53 UTC
Spec URL: https://martinkg.fedorapeople.org/Review/SPECS/nuvola-app-amazon-cloud-player.spec
SRPM URL: https://martinkg.fedorapeople.org/Review/SRPMS/nuvola-app-amazon-cloud-player-5.4-1.fc25.src.rpm

Description: Integration of Amazon Cloud Player into your linux desktop via Nuvola Player.
Fedora Account System Username: martinkg

rpmlint -i -v nuvola-app-amazon-cloud-player.spec /home/martin/rpmbuild/SRPMS/nuvola-app-amazon-cloud-player-5.4-1.fc25.src.rpm /home/martin/rpmbuild/RPMS/noarch/nuvola-app-amazon-cloud-player-5.4-1.fc25.noarch.rpm
nuvola-app-amazon-cloud-player.spec: I: checking
nuvola-app-amazon-cloud-player.spec:28: W: configure-without-libdir-spec
A configure script is run without specifying the libdir. configure options
must be augmented with something like --libdir=%{_libdir} whenever the script
supports it.

nuvola-app-amazon-cloud-player.spec: I: checking-url https://github.com/tiliado/nuvola-app-amazon-cloud-player/archive/5.4.tar.gz#/nuvola-app-amazon-cloud-player-5.4.tar.gz (timeout 10 seconds)
nuvola-app-amazon-cloud-player.src: I: checking
nuvola-app-amazon-cloud-player.src: W: spelling-error %description -l en_US linux -> Linux
The value of this tag appears to be misspelled. Please double-check.

nuvola-app-amazon-cloud-player.src: I: checking-url https://github.com/tiliado/nuvola-app-amazon-cloud-player (timeout 10 seconds)
nuvola-app-amazon-cloud-player.src:28: W: configure-without-libdir-spec
A configure script is run without specifying the libdir. configure options
must be augmented with something like --libdir=%{_libdir} whenever the script
supports it.

nuvola-app-amazon-cloud-player.src: I: checking-url https://github.com/tiliado/nuvola-app-amazon-cloud-player/archive/5.4.tar.gz#/nuvola-app-amazon-cloud-player-5.4.tar.gz (timeout 10 seconds)
nuvola-app-amazon-cloud-player.noarch: I: checking
nuvola-app-amazon-cloud-player.noarch: W: spelling-error %description -l en_US linux -> Linux
The value of this tag appears to be misspelled. Please double-check.

nuvola-app-amazon-cloud-player.noarch: I: checking-url https://github.com/tiliado/nuvola-app-amazon-cloud-player (timeout 10 seconds)
nuvola-app-amazon-cloud-player.noarch: W: desktopfile-without-binary /usr/share/applications/eu.tiliado.NuvolaAppAmazonCloudPlayer.desktop nuvolaplayer3
the .desktop file is for a file not present in the package. You should check
the requires or see if this is not a error

2 packages and 1 specfiles checked; 0 errors, 5 warnings.

%changelog
* Fri May 26 2017 Martin Gansser <martinkg> - 5.4-1
- Update to 5.4-1

Comment 1 Vít Ondruch 2017-05-26 12:38:07 UTC
Just two quick notes moment:

1) I am not sure whether the "Recommends: flash-plugin" is legit, i.e. if you can reference 3rd party repositories. You should probably consult this with some ML (legal?, packaging?, devel?).

2) Since this is add-on package, it should contain add-on metadata [1]. This way, Gnome Software will be able to list this add-on side by side with Nuvola player, which is pretty convenient.



[1]: https://fedoraproject.org/wiki/Packaging:AppData#.metainfo.xml_file_creation

Comment 2 MartinKG 2017-05-26 19:52:32 UTC
(In reply to Vít Ondruch from comment #1)
> Just two quick notes moment:
> 
> 1) I am not sure whether the "Recommends: flash-plugin" is legit, i.e. if
> you can reference 3rd party repositories. You should probably consult this
> with some ML (legal?, packaging?, devel?).

I have started a discussion on the packaging forum [3].
> 
> 2) Since this is add-on package, it should contain add-on metadata [1]. This
> way, Gnome Software will be able to list this add-on side by side with
> Nuvola player, which is pretty convenient.
> 
> 
> [1]:
> https://fedoraproject.org/wiki/Packaging:AppData#.metainfo.xml_file_creation

I added a metainfo.xml file to the spec file.

Spec URL: https://martinkg.fedorapeople.org/Review/SPECS/nuvola-app-amazon-cloud-player.spec
SRPM URL: https://martinkg.fedorapeople.org/Review/SRPMS/nuvola-app-amazon-cloud-player-5.4-2.fc25.src.rpm

%changelog
* Fri May 26 2017 Martin Gansser <martinkg> - 5.4-2
- Add %%{name}.metainfo.xml file
- Add BR libappstream-glib

[3] https://lists.fedoraproject.org/archives/list/packaging@lists.fedoraproject.org/thread/RIYNP4CERE3VZ3TLPSOQQJVNHJMG7EYC/

Comment 3 Vít Ondruch 2017-06-01 11:52:55 UTC
I'll take this for a review.

Comment 4 Vít Ondruch 2017-06-01 12:43:29 UTC
(In reply to mgansser from comment #2)
> (In reply to Vít Ondruch from comment #1)
> > Just two quick notes moment:
> > 
> > 1) I am not sure whether the "Recommends: flash-plugin" is legit, i.e. if
> > you can reference 3rd party repositories. You should probably consult this
> > with some ML (legal?, packaging?, devel?).
> 
> I have started a discussion on the packaging forum [3].

As far as I understand the ML discussion, the references to 3rd party     repositories are not allowed in Fedora. Please drop the "Recommends: flash-plugin"

> > 
> > 2) Since this is add-on package, it should contain add-on metadata [1]. This
> > way, Gnome Software will be able to list this add-on side by side with
> > Nuvola player, which is pretty convenient.
> > 
> > 
> > [1]:
> > https://fedoraproject.org/wiki/Packaging:AppData#.metainfo.xml_file_creation
> 
> I added a metainfo.xml file to the spec file.

Thx. Have you tried to submit the file upstream?

Unfortunately, the build does not work at all:

https://koji.fedoraproject.org/koji/taskinfo?taskID=19799178

This seems to be related to the changes announced by upstream [1] and probably triggered by the nuvolasdk. This makes me think about providing either some helper macros, which would hide this changes, providing something like nuvolaplayer-filesystem or possibly requirement to be more strict about versioning of the interdependencies.



[1] https://medium.com/nuvola-news/nuvola-4-4-supports-appindicators-in-unity-elementaryos-and-gnome-changes-versioning-scheme-a323b80e5cda#8450

Comment 5 MartinKG 2017-06-01 14:37:19 UTC
(In reply to Vít Ondruch from comment #4)
> (In reply to mgansser from comment #2)
> > (In reply to Vít Ondruch from comment #1)
> > > Just two quick notes moment:
> > > 
> > > 1) I am not sure whether the "Recommends: flash-plugin" is legit, i.e. if
> > > you can reference 3rd party repositories. You should probably consult this
> > > with some ML (legal?, packaging?, devel?).
> > 
> > I have started a discussion on the packaging forum [3].
> 
> As far as I understand the ML discussion, the references to 3rd party    
> repositories are not allowed in Fedora. Please drop the "Recommends:
> flash-plugin"
 
done

> > > 
> > > 2) Since this is add-on package, it should contain add-on metadata [1]. This
> > > way, Gnome Software will be able to list this add-on side by side with
> > > Nuvola player, which is pretty convenient.
> > > 
> > > 
> > > [1]:
> > > https://fedoraproject.org/wiki/Packaging:AppData#.metainfo.xml_file_creation
> > 
> > I added a metainfo.xml file to the spec file.
> 
> Thx. Have you tried to submit the file upstream?

yes
Ticket: https://github.com/tiliado/nuvola-app-amazon-cloud-player/issues/24

> 
> Unfortunately, the build does not work at all:
> 
> https://koji.fedoraproject.org/koji/taskinfo?taskID=19799178
> 
I know this

> This seems to be related to the changes announced by upstream [1] and
> probably triggered by the nuvolasdk. This makes me think about providing
> either some helper macros, which would hide this changes, providing
> something like nuvolaplayer-filesystem or possibly requirement to be more
> strict about versioning of the interdependencies.
> 
> 
> [1]
> https://medium.com/nuvola-news/nuvola-4-4-supports-appindicators-in-unity-
> elementaryos-and-gnome-changes-versioning-scheme-a323b80e5cda#8450

good idea

Comment 6 MartinKG 2017-06-16 12:02:44 UTC
Spec URL: https://martinkg.fedorapeople.org/Review/SPECS/nuvola-app-amazon-cloud-player.spec
SRPM URL: https://martinkg.fedorapeople.org/Review/SRPMS/nuvola-app-amazon-cloud-player-5.4-3.fc25.src.rpm

%changelog
* Fri Jun 16 2017 Martin Gansser <martinkg> - 5.4-3
- remove Recommends: flash-plugin
- rename RR nuvolaplayer-devel to nuvolaruntime-devel

Comment 7 Vít Ondruch 2017-06-20 11:45:31 UTC
* Build issues
  - It seems that you need to add BR on python3-six to fix the build. I think
    the issue is caused by this [1] commit.
  - BTW the same commit breaks Diorite [2]. The python3-pyparsing should be
    required unconditionally everywhere. I still don't understand what was the
    difference between f26/f27, that it was not needed, but it probably
    does not matter anyway ...

* nuvolaruntime-devel dependency.
  - Why is there the nuvolaruntime-devel BR? It does not appear to be required.

* Wrong "extends" tag in .metainfo.xml
  - The "extends" tag should reference the "nuvolaruntime" desktop file,
    right [3]?

* Are the nuvolaplayer3_amazon_cloud_player.* icons required?
  - I am not sure the icons located in %{_datadir}/icons/*/*/*
    /nuvolaplayer3_amazon_cloud_player.* are required. The .desktop file
    specifies they should be named eu.tiliado.NuvolaAppAmazonCloudPlayer, which
    is the other set available. This should be probably discussed with upstream.
  - BTW rpmlint complains about these files:

~~~
nuvola-app-amazon-cloud-player.noarch: W: dangling-relative-symlink /usr/share/icons/hicolor/128x128/apps/nuvolaplayer3_amazon_cloud_player.png ../../../../nuvolaplayer3/web_apps/amazon_cloud_player/icons/128.png
~~~

* Missing requires
  - The package specifies no requires, but it definitely needs nuvola runtime,
    so it should probably specify the dependency:

~~~
Requires: %{_bindir}/nuvola
~~~


[1] http://pkgs.fedoraproject.org/cgit/rpms/python-setuptools.git/commit/?id=5e5ba5a5931b254843baaf45e6dbd1ebe2769b91
[2] https://apps.fedoraproject.org/koschei/package/diorite?collection=f27
[3] https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Addon.html#tag-extends

Comment 8 MartinKG 2017-06-20 14:48:20 UTC
(In reply to Vít Ondruch from comment #7)
> * Build issues
>   - It seems that you need to add BR on python3-six to fix the build. I think
>     the issue is caused by this [1] commit.
done

>   - BTW the same commit breaks Diorite [2]. The python3-pyparsing should be
>     required unconditionally everywhere. I still don't understand what was
>     the difference between f26/f27, that it was not needed, but it probably
>     does not matter anyway ...
> 
done

> * nuvolaruntime-devel dependency.
>   - Why is there the nuvolaruntime-devel BR? It does not appear to be
> required.
> 
removed


> * Wrong "extends" tag in .metainfo.xml
>   - The "extends" tag should reference the "nuvolaruntime" desktop file,
>     right [3]?
> 
Tries to change


> * Are the nuvolaplayer3_amazon_cloud_player.* icons required?
>   - I am not sure the icons located in %{_datadir}/icons/*/*/*
>     /nuvolaplayer3_amazon_cloud_player.* are required. The .desktop file
>     specifies they should be named eu.tiliado.NuvolaAppAmazonCloudPlayer,
> which
>     is the other set available. This should be probably discussed with
> upstream.

Upstream ticket:
https://github.com/tiliado/nuvola-app-amazon-cloud-player/issues/26

>   - BTW rpmlint complains about these files:
> 
> ~~~
> nuvola-app-amazon-cloud-player.noarch: W: dangling-relative-symlink
> /usr/share/icons/hicolor/128x128/apps/nuvolaplayer3_amazon_cloud_player.png
> ../../../../nuvolaplayer3/web_apps/amazon_cloud_player/icons/128.png
> ~~~
> 

Upstream ticket:
https://github.com/tiliado/nuvola-app-amazon-cloud-player/issues/25


> * Missing requires
>   - The package specifies no requires, but it definitely needs nuvola
> runtime,
>     so it should probably specify the dependency:
> 
> ~~~
> Requires: %{_bindir}/nuvola
> ~~~

added

Spec URL: https://martinkg.fedorapeople.org/Review/SPECS/nuvola-app-amazon-cloud-player.spec
SRPM URL: https://martinkg.fedorapeople.org/Review/SRPMS/nuvola-app-amazon-cloud-player-5.4-4.fc25.src.rpm

Comment 9 MartinKG 2017-06-21 14:11:35 UTC
Spec URL: https://martinkg.fedorapeople.org/Review/SPECS/nuvola-app-amazon-cloud-player.spec
SRPM URL: https://martinkg.fedorapeople.org/Review/SRPMS/nuvola-app-amazon-cloud-player-5.4-5.fc25.src.rpm

%changelog
* Wed Jun 21 2017 Martin Gansser <martinkg> - 5.4-5
- rename nuvolaplayer3 to nuvolaruntime in Makefile

* Tue Jun 20 2017 Martin Gansser <martinkg> - 5.4-4
- add BR  python3-six
- add RR  %%{_bindir}/nuvola
- delete BR nuvolaruntime-devel


rpmlint -i -v nuvola-app-amazon-cloud-player.spec /home/martin/rpmbuild/SRPMS/nuvola-app-amazon-cloud-player-5.4-5.fc25.src.rpm /home/martin/rpmbuild/RPMS/noarch/nuvola-app-amazon-cloud-player-5.4-5.fc25.noarch.rpm
nuvola-app-amazon-cloud-player.spec: I: checking
nuvola-app-amazon-cloud-player.spec:30: W: configure-without-libdir-spec
A configure script is run without specifying the libdir. configure options
must be augmented with something like --libdir=%{_libdir} whenever the script
supports it.

nuvola-app-amazon-cloud-player.spec: I: checking-url https://github.com/tiliado/nuvola-app-amazon-cloud-player/archive/5.4.tar.gz#/nuvola-app-amazon-cloud-player-5.4.tar.gz (timeout 10 seconds)
nuvola-app-amazon-cloud-player.src: I: checking
nuvola-app-amazon-cloud-player.src: W: spelling-error %description -l en_US linux -> Linux
The value of this tag appears to be misspelled. Please double-check.

nuvola-app-amazon-cloud-player.src: I: checking-url https://github.com/tiliado/nuvola-app-amazon-cloud-player (timeout 10 seconds)
nuvola-app-amazon-cloud-player.src:30: W: configure-without-libdir-spec
A configure script is run without specifying the libdir. configure options
must be augmented with something like --libdir=%{_libdir} whenever the script
supports it.

nuvola-app-amazon-cloud-player.src: I: checking-url https://github.com/tiliado/nuvola-app-amazon-cloud-player/archive/5.4.tar.gz#/nuvola-app-amazon-cloud-player-5.4.tar.gz (timeout 10 seconds)
nuvola-app-amazon-cloud-player.noarch: I: checking
nuvola-app-amazon-cloud-player.noarch: W: spelling-error %description -l en_US linux -> Linux
The value of this tag appears to be misspelled. Please double-check.

nuvola-app-amazon-cloud-player.noarch: I: checking-url https://github.com/tiliado/nuvola-app-amazon-cloud-player (timeout 10 seconds)
nuvola-app-amazon-cloud-player.noarch: W: desktopfile-without-binary /usr/share/applications/eu.tiliado.NuvolaAppAmazonCloudPlayer.desktop nuvola
the .desktop file is for a file not present in the package. You should check
the requires or see if this is not a error

2 packages and 1 specfiles checked; 0 errors, 5 warnings.

Comment 10 Vít Ondruch 2017-06-26 12:42:25 UTC
The build on Rawhide is failing for me:

~~~
RPM build errors:
    File not found: /builddir/build/BUILDROOT/nuvola-app-amazon-cloud-player-5.4-5.fc27.x86_64/usr/share/icons/*/*/*/nuvolaplayer3_amazon_cloud_player.*
~~~

Is this since the issues:

https://github.com/tiliado/nuvola-app-amazon-cloud-player/issues/25
https://github.com/tiliado/nuvola-app-amazon-cloud-player/issues/26

were resolved? Removing the "%{_datadir}/icons/*/*/*/nuvolaplayer3_amazon_cloud_player.*" line helps. Also, the sed applied to Makefile si not necessary anymore, I guess.

Otherwise the package looks good => I APPROVE the package. Please fix the build issues prior you import the package.

Comment 11 MartinKG 2017-06-26 14:00:05 UTC
@Vit
Thanks for the review, i will fix the mentioned issues.

Comment 12 Gwyn Ciesla 2017-06-26 14:09:14 UTC
Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/rpms/nuvola-app-amazon-cloud-player

Comment 13 MartinKG 2017-06-26 15:03:09 UTC
package has been built successfully on f25, f26 and rawhide.


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