Bug 250417

Summary: Review Request: guile-cairo - The Cairo graphics library for Guile Scheme
Product: [Fedora] Fedora Reporter: Xavier Lamien <lxtnow>
Component: Package ReviewAssignee: Mamoru TASAKA <mtasaka>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: chitlesh, fedora-package-review, mtasaka, notting
Target Milestone: ---Flags: mtasaka: fedora-review+
kevin: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-03 18:19:29 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 Xavier Lamien 2007-08-01 14:07:59 UTC
Spec URL: http://laxathom.fedorapeople.org/RPMS/guile-cairo/guile-cairo.spec
SRPM URL: http://laxathom.fedorapeople.org/RPMS/guile-cairo/guile-cairo-1.4.0-2.fc8.src.rpm

Description:
Guile-Cairo wraps the Cairo graphics library for Guile Scheme

Comment 1 Mamoru TASAKA 2007-08-01 18:25:00 UTC
For 1.4.0-2:

* Dependency for main/subpackage
  - Usually the dependency for main/subpackage must be version-release
    specific.

* Redundant BuildRequires
  - cairo-devel requires freetype-devel
  - cairo-devel requires pkgconfig (also see below)

* pkgconfig dependency
  - Packages containing pkgconfig .pc file must have
    "Requires: pkgconfig"

* "#include" message in header files
  - Check the dependency of -devel package, especially check what
    files the header files in -devel package needs to "include".

    The initial check can be done by:
----------------------------------------------------------------
$ grep -h 'include ' `rpm -ql guile-cairo-devel` | sort | uniq
#include <cairo-svg.h>
#include <cairo.h>
#include <guile-cairo-enum-types.h>
#include <guile-cairo-smob-types.h>
#include <guile-cairo-vector-types.h>
#include <libguile.h>
----------------------------------------------------------------
    And actually /usr/include/guile-cairo/guile-cairo.h contains:
----------------------------------------------------------------
    26  
    27  #include <cairo.h>
    28  #include <libguile.h>
    29  
----------------------------------------------------------------
    , which means that -devel package must require
    cairo-devel and guile-devel.

* Documents
  - Please add the following:
-----------------------------------------------------------------
NEWS
TODO
-----------------------------------------------------------------

Comment 3 Mamoru TASAKA 2007-08-02 15:16:16 UTC
(In reply to comment #1)
> For 1.4.0-2:
> 
> * Dependency for main/subpackage
>   - Usually the dependency for main/subpackage must be version-release
>     specific.
  - Well, this means that -devel subpackage should have:
    "Requires: %{name} = %{version}-%{release}", not
    "Requiers: %{name} = %{version}".

> * pkgconfig dependency
>   - Packages containing pkgconfig .pc file must have
>     "Requires: pkgconfig"
  - -devel package contains .pc file so -devel package should have
    "Requires: pkgconfig", not main package.

Comment 4 Xavier Lamien 2007-08-02 17:35:55 UTC
oops,
Sorry for the typo.

I've just fix this in the same release *-3 (as its spawned to cleanly fix those
issues)

http://laxathom.fedorapeople.org/RPMS/guile-cairo/guile-cairo.spec
http://laxathom.fedorapeople.org/RPMS/guile-cairo/guile-cairo-1.4.0-3.fc8.src.rpm




Comment 5 Mamoru TASAKA 2007-08-02 18:48:10 UTC
(In reply to comment #4)
> oops,
> Sorry for the typo.
> 
> I've just fix this in the same release *-3 (as its spawned to cleanly fix those
> issues)
> 
> http://laxathom.fedorapeople.org/RPMS/guile-cairo/guile-cairo.spec
> http://laxathom.fedorapeople.org/RPMS/guile-cairo/guile-cairo-1.4.0-3.fc8.src.rpm
> 
  It seems your srpm does not fix the issue?
> 



Comment 6 Xavier Lamien 2007-08-02 19:33:39 UTC
my bad, i uploaded the main package instead of the fixed srpm.

Comment 7 Xavier Lamien 2007-08-02 19:44:07 UTC
Okay, the right one has been uploaded, same location.

Comment 8 Mamoru TASAKA 2007-08-03 12:17:01 UTC
For -3:

* License
  - Well, as we now see the discussion of the license tag on
    -devel list, license tag policy is changed.
    https://www.redhat.com/archives/fedora-devel-list/2007-August/msg00108.html

    For this package, please use "LGPLv2+".

--------------------------------------------------------------
   This package (guile-cairo) is APPROVED by me
--------------------------------------------------------------

Comment 9 Xavier Lamien 2007-08-03 12:29:56 UTC
Sure, it'll done before importing ;).

Comment 10 Xavier Lamien 2007-08-03 12:31:24 UTC
New Package CVS Request
=======================
Package Name: guile-cairo
Short Description: The Cairo graphics library for Guile Scheme
Owners: lxtnow
Branches: FC-6 F-7 EL-4 EL-5 Devel
InitialCC:



Comment 11 Kevin Fenzi 2007-08-03 16:54:08 UTC
cvs done.

Comment 12 Xavier Lamien 2007-08-03 18:19:29 UTC
Imported & built.

Thanks all.

Comment 13 Chitlesh GOORAH 2007-08-04 14:02:53 UTC
This is a typo in the spec file, that unables the installation of guile-cairo
http://laxathom.fedorapeople.org/RPMS/guile-cairo/guile-cairo.spec

Line 30: Requires:       pkconfig
It should be:
Requires:       pkg-config

[root@goorah chitlesh]# rpm -Uvh guile-cairo-*
error: Failed dependencies:
        pkconfig is needed by guile-cairo-devel-1.4.0-3.fc7.i386
(rpms from: http://koji.fedoraproject.org/koji/buildinfo?buildID=12758 )

Can you fix it and build them as should as possible to prevent yum failures ?

Comment 14 Mamoru TASAKA 2007-08-04 14:16:28 UTC
(In reply to comment #13)
> This is a typo in the spec file, that unables the installation of guile-cairo
> http://laxathom.fedorapeople.org/RPMS/guile-cairo/guile-cairo.spec
> 
> Line 30: Requires:       pkconfig
- Ah.. Sorry I didn't notify it (note I don't have the right to
  fix this)

> It should be:
> Requires:       pkg-config
  Well, it should be "Requires: pkgconfig", not pkg-config

Comment 15 Xavier Lamien 2007-08-04 15:26:11 UTC
Fixed & rebuilt.
Thanks for notify