Bug 487637 - Review Request: rtaudio - Real-time Audio I/O Library
Summary: Review Request: rtaudio - Real-time Audio I/O Library
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 487639
TreeView+ depends on / blocked
 
Reported: 2009-02-27 07:31 UTC by Orcan Ogetbil
Modified: 2009-03-18 18:55 UTC (History)
3 users (show)

Fixed In Version: 4.0.5-3.fc10
Clone Of:
Environment:
Last Closed: 2009-03-03 02:03:45 UTC
Type: ---
Embargoed:
mtasaka: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Orcan Ogetbil 2009-02-27 07:31:31 UTC
Spec URL: http://oget.fedorapeople.org/review/rtaudio.spec
SRPM URL: http://oget.fedorapeople.org/review/rtaudio-4.0.5-1.fc10.src.rpm
Description: 
RtAudio is a set of C++ classes that provide a common API for realtime audio
input/output across different operating systems. RtAudio significantly
simplifies the process of interacting with computer audio hardware. It was
designed with the following objectives:

  * object-oriented C++ design
  * simple, common API across all supported platforms
  * allow simultaneous multi-api support
  * support dynamic connection of devices
  * provide extensive audio device parameter control
  * allow audio device capability probing
  * automatic internal conversion for data format, channel number compensation,
    (de)interleaving, and byte-swapping


rpmlint: silent

Comment 1 Mamoru TASAKA 2009-02-27 18:38:49 UTC
Some notes:
- When currently upstream only provides static archive and does
  not provide shared library, patching Makefiles on vendor side
  to create share library may cause annnoying problem, e.g.
  https://www.redhat.com/archives/fedora-packaging/2009-February/msg00047.html

  Also there is no guarrantee that the API of the created shared
  library won't change when the major version of the package version
  does not change.

  Current Fedora guidelines provides a way to package static archives
  (when unavoidable) and for this case I think shipping static archive
  instead of patching on Fedora side is much safer:
  https://fedoraproject.org/wiki/Packaging/Guidelines#Packaging_Static_Libraries

  Note:
  When switching to creating static archive, passing "-fPIC" is
  still needed if the archive is needed for creating shared libraries
  in other application. 

- Your package does not build on ppc64:
  http://koji.fedoraproject.org/koji/taskinfo?taskID=1205561

  Adding
--------------------------------------------------------
cp -p /usr/lib/rpm/config.{sub,guess} config/
--------------------------------------------------------
  at the end of %prep will make the build succeed. ref:
  https://www.redhat.com/archives/fedora-devel-list/2009-February/msg02238.html

Comment 2 Orcan Ogetbil 2009-02-27 18:52:37 UTC
Thanks

- I will do the ppc64 fix 

- About the static library, shall I just make a package with just the static library and no dynamic library,
or shall I add a -static subpackage and put the .a file in there?

Comment 3 Mamoru TASAKA 2009-02-27 19:08:41 UTC
(In reply to comment #2)
> - About the static library, shall I just make a package with just the static
> library and no dynamic library,
> or shall I add a -static subpackage and put the .a file in there?

From current guidelines,
- create a package "rtaudio-devel" (from "rtaudio" srpm) (for this package,
  "rtaudio-devel" binary rpm only)
  * with containing static archives, header files and some documents
  * rtaudio-devel _must_ have "Provides: rtaudio-staic = %{version}-%{release}".

And when other packages need "librtaudio.a" for building, such
packages must have "BuildRequires: rtaudio-static", not
"BuildRequires: rtaudio-devel" so that we can trace what packages
are using static archives for linkage.

Comment 4 Orcan Ogetbil 2009-02-27 20:10:18 UTC
OK. Here are the changes:

Spec URL: http://oget.fedorapeople.org/review/rtaudio.spec
SRPM URL: http://oget.fedorapeople.org/review/rtaudio-4.0.5-2.fc10.src.rpm

It builds fine in all archs in koji:
   http://koji.fedoraproject.org/koji/taskinfo?taskID=1206042

Comment 5 Mamoru TASAKA 2009-02-28 14:57:30 UTC
One thing:

- Does files under tests/ create some binaries useful for developers,
  or these files exist just to check if these files really compile with
  librtaudio.a?
  If latter, I think it is better to remove tests/ from %doc and
  add %check section to execute some tests.

Comment 6 Orcan Ogetbil 2009-02-28 19:29:06 UTC
No, it is the former. But I realized that the empty directory tests/Release is really needed to build these binaries. So I shouldn't remove this directory in the %prep.

Spec URL: http://oget.fedorapeople.org/review/rtaudio.spec
SRPM URL: http://oget.fedorapeople.org/review/rtaudio-4.0.5-3.fc10.src.rpm


Changelog: 4.0.5-3
- Don't remove the tests/Release directory

Comment 7 Mamoru TASAKA 2009-03-01 14:33:58 UTC
This one is now accepted.

----------------------------------------------------------
  This package (rtaudio) is APPROVED by mtasaka
----------------------------------------------------------

Comment 8 Orcan Ogetbil 2009-03-01 16:54:00 UTC
Thank you for the review Mamoru.

New Package CVS Request
=======================
Package Name: rtaudio
Short Description: Real-time Audio I/O Library
Owners: oget
Branches: F-10
InitialCC:

Comment 9 Mamoru TASAKA 2009-03-02 18:51:41 UTC
By the way would you have some time to review my new review
request (bug 488105)?

Comment 10 Orcan Ogetbil 2009-03-02 18:54:56 UTC
Sure. But I'm really busy today (getting married :) ). I can have a look tomorrow.

Comment 11 Kevin Fenzi 2009-03-03 00:33:44 UTC
cvs done. (And congratuations!)

Comment 12 Fedora Update System 2009-03-03 01:58:11 UTC
rtaudio-4.0.5-3.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/rtaudio-4.0.5-3.fc10

Comment 13 Orcan Ogetbil 2009-03-03 02:03:45 UTC
thanks :)

imported and built on rawhide and F-10.

Comment 14 Mamoru TASAKA 2009-03-03 16:12:49 UTC
Thanks, and congratulations from me, too!

Comment 15 Fedora Update System 2009-03-18 18:55:10 UTC
rtaudio-4.0.5-3.fc10 has been pushed to the Fedora 10 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.