Bug 1752288 - Review Request: Coin4 - High-level 3D visualization library
Summary: Review Request: Coin4 - High-level 3D visualization library
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zbigniew Jędrzejewski-Szmek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1717525
TreeView+ depends on / blocked
 
Reported: 2019-09-15 17:51 UTC by Richard Shaw
Modified: 2019-10-07 00:54 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-07 00:01:30 UTC
Type: ---
Embargoed:
zbyszek: fedora-review+


Attachments (Terms of Use)

Description Richard Shaw 2019-09-15 17:51:28 UTC
Spec URL: https://hobbes1069.fedorapeople.org//Coin4.spec
SRPM URL: https://hobbes1069.fedorapeople.org//Coin4-4.0.0-1.fc30.src.rpm

Description:
Coin is a 3D graphics library with an Application Programming Interface
based on the Open Inventor 2.1 API.

Comment 1 Richard Shaw 2019-09-15 17:51:30 UTC
This package built on koji:  https://koji.fedoraproject.org/koji/taskinfo?taskID=37672923

Comment 2 Zbigniew Jędrzejewski-Szmek 2019-09-15 18:12:24 UTC
Naming: Coin4 → coin4 [https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#_general_naming]
Provides:Coin4 can be added.

Requires:       zlib-devel bzip2-devel
→ one per line please

%description devel → there should be a dot at the end of the text.

Looks all nice. Though I wonder one thing: is is worth to bother with alternatives?
Maybe just make coin*-devel packages Conflict with each other? The user doesn't get
much benefit either way: it is still not possible to build against multiple Coin versions
at the same time, and conflicting packages are easier to implement.

Comment 3 Zbigniew Jędrzejewski-Szmek 2019-09-15 19:43:14 UTC
fedora-review says:
- Large documentation must go in a -doc subpackage. Large could be size
  (~1MB) or number of files.
  Note: Documentation size is 127211520 bytes in 4678 files.

Yep, /usr/share/doc/Coin4/html should move to -doc subpackage.

Comment 4 Richard Shaw 2019-09-15 23:45:18 UTC
(In reply to Zbigniew Jędrzejewski-Szmek from comment #2)
> Naming: Coin4 → coin4
> [https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/
> #_general_naming]
> Provides:Coin4 can be added.

I'm not necessarily against this but I was trying to stay consistent with Coin2 and Coin3 already in Fedora...


> Requires:       zlib-devel bzip2-devel
> → one per line please
> 
> %description devel → there should be a dot at the end of the text.

Fixed.

 
> Looks all nice. Though I wonder one thing: is is worth to bother with
> alternatives?
> Maybe just make coin*-devel packages Conflict with each other? The user
> doesn't get
> much benefit either way: it is still not possible to build against multiple
> Coin versions
> at the same time, and conflicting packages are easier to implement.

Yeah, I considered both but decided to stay consistent with Ralf's packages as it does let you switch between them if you are actively developing with the Coin3D stack, but yes, it serves no purpose on Fedora Infra.


(In reply to Zbigniew Jędrzejewski-Szmek from comment #3)
> fedora-review says:
> - Large documentation must go in a -doc subpackage. Large could be size
>   (~1MB) or number of files.
>   Note: Documentation size is 127211520 bytes in 4678 files.
> 
> Yep, /usr/share/doc/Coin4/html should move to -doc subpackage.

Yeah, the guidelines are somewhat ambiguous here... so <name>-doc or <name>-devel-doc? :)

Comment 5 Zbigniew Jędrzejewski-Szmek 2019-09-17 15:35:50 UTC
(In reply to Richard Shaw from comment #4)
> (In reply to Zbigniew Jędrzejewski-Szmek from comment #2)
> > Naming: Coin4 → coin4
> > [https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/
> > #_general_naming]
> > Provides:Coin4 can be added.
> 
> I'm not necessarily against this but I was trying to stay consistent with
> Coin2 and Coin3 already in Fedora...

Yeah. The guidelines say "SHOULD" so it's your choice. I try to push all new
packages to use lowercase, but that's just a preference.
 
> > Though I wonder one thing: is is worth to bother with
> > alternatives?
> > Maybe just make coin*-devel packages Conflict with each other? The user
> > doesn't get
> > much benefit either way: it is still not possible to build against multiple
> > Coin versions
> > at the same time, and conflicting packages are easier to implement.
> 
> Yeah, I considered both but decided to stay consistent with Ralf's packages
> as it does let you switch between them if you are actively developing with
> the Coin3D stack, but yes, it serves no purpose on Fedora Infra.

OK.

> (In reply to Zbigniew Jędrzejewski-Szmek from comment #3)
> > fedora-review says:
> > - Large documentation must go in a -doc subpackage. Large could be size
> >   (~1MB) or number of files.
> >   Note: Documentation size is 127211520 bytes in 4678 files.
> > 
> > Yep, /usr/share/doc/Coin4/html should move to -doc subpackage.
> 
> Yeah, the guidelines are somewhat ambiguous here... so <name>-doc or
> <name>-devel-doc? :)

<name>-doc.

Comment 6 Richard Shaw 2019-09-17 15:54:13 UTC
(In reply to Zbigniew Jędrzejewski-Szmek from comment #5)
> (In reply to Richard Shaw from comment #4)
> > (In reply to Zbigniew Jędrzejewski-Szmek from comment #2)
> > > Naming: Coin4 → coin4
> > > [https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/
> > > #_general_naming]
> > > Provides:Coin4 can be added.
> > 
> > I'm not necessarily against this but I was trying to stay consistent with
> > Coin2 and Coin3 already in Fedora...
> 
> Yeah. The guidelines say "SHOULD" so it's your choice. I try to push all new
> packages to use lowercase, but that's just a preference.

After thinking about it a bit I'm seriously considering just calling it "coin" that's what Debian does (well libcoin for the resultant package) and the provided RPM Spec calls it "Coin". 

Considering that typically when you have multiple major versions the number at the end of the package would be the soversion (not the release version) but I think that Coin2 and Coin3 are close enough :)

So probably call this just plain "coin" as it's the latest release and do a Proivdes: Coin4 for consistency. I'll do the same for the -devel package.

  
> > (In reply to Zbigniew Jędrzejewski-Szmek from comment #3)
> > > fedora-review says:
> > > - Large documentation must go in a -doc subpackage. Large could be size
> > >   (~1MB) or number of files.
> > >   Note: Documentation size is 127211520 bytes in 4678 files.
> > > 
> > > Yep, /usr/share/doc/Coin4/html should move to -doc subpackage.
> > 
> > Yeah, the guidelines are somewhat ambiguous here... so <name>-doc or
> > <name>-devel-doc? :)
> 
> <name>-doc.

I agree in principle, as that's what the guidelines say, but the don't cover the fact that some of it is end user documentation (-doc) where in this case it's only useful for developers, hence my thoughts to call it -devel-doc.

Comment 7 Zbigniew Jędrzejewski-Szmek 2019-09-17 16:12:32 UTC
I think it's OK to have just once package with all the docs... This satisfies the main optimization,
namely that this doesn't get pulled in through deps and on the buildroot. Real users don't care
about a few megs.

Comment 8 Richard Shaw 2019-09-17 17:54:03 UTC
SPEC: https://hobbes1069.fedorapeople.org/coin.spec
SRPM: https://hobbes1069.fedorapeople.org/coin-4.0.0-2.fc30.src.rpm

* Tue Sep 17 2019 Richard Shaw <hobbes1069> - 4.0.0-2
- Update spec file per reviewer comments.
- Change package name from Coin4 to coin.

Comment 9 Richard Shaw 2019-09-24 15:46:58 UTC
I've been fighting other freecad issues so I wasn't too worried, but any feedback on my updates?

Comment 10 Zbigniew Jędrzejewski-Szmek 2019-09-26 15:19:11 UTC
+ package name is OK
+ latest version
+ license is acceptable for Fedora
+ license is specified correctly (*)
+ builds and installs OK
+ BR/R/P look ok

(*) I think the license can be simplified to just "BSD". BSD can always be "upgraded" to GPLv3.

Package is APPROVED.

Comment 11 Richard Shaw 2019-09-26 18:27:40 UTC
(In reply to Zbigniew Jędrzejewski-Szmek from comment #10)
> 
> (*) I think the license can be simplified to just "BSD". BSD can always be
> "upgraded" to GPLv3.

I've done that in the past but the Fedora packaging license page doesn't specifically address it as far as I can tell, only GPL style licenses. I'll ask at some point but yeah, doesn't hurt anything.


> Package is APPROVED.

Thanks for the review!

Comment 12 Richard Shaw 2019-09-26 22:13:40 UTC
Bah, coin is already taken... Guess I have to change to coin4.

Comment 13 Richard Shaw 2019-09-26 22:18:40 UTC
Ok, let's talk about this one more time... Since I can't have the name "coin" I'm thinking I should go ahead and use "Coin4" for consistency with Coin2 and Coin3. I think consistency with the other packages is more important than the naming guidelines.

Comment 14 Zbigniew Jędrzejewski-Szmek 2019-09-27 06:34:59 UTC
(In reply to Richard Shaw from comment #13)
> Ok, let's talk about this one more time... Since I can't have the name
> "coin" I'm thinking I should go ahead and use "Coin4" for consistency with
> Coin2 and Coin3. I think consistency with the other packages is more
> important than the naming guidelines.

Oh, I should have checked that.

Coin4 is fine as the second choice. Please go ahead.

Comment 15 Gwyn Ciesla 2019-09-27 14:01:14 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/Coin4

Comment 16 Fedora Update System 2019-09-28 12:09:02 UTC
FEDORA-2019-e1fbb1c109 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-e1fbb1c109

Comment 17 Fedora Update System 2019-09-29 01:11:19 UTC
Coin4-4.0.0-2.fc31 has been pushed to the Fedora 31 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-2019-d756edf752

Comment 18 Fedora Update System 2019-09-29 01:47:48 UTC
Coin4-4.0.0-2.fc30 has been pushed to the Fedora 30 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-2019-e1fbb1c109

Comment 19 Fedora Update System 2019-10-07 00:01:30 UTC
Coin4-4.0.0-2.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2019-10-07 00:54:02 UTC
Coin4-4.0.0-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.


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