Bug 555849

Summary: GTK+ and libsvg-cairo support missing from 1.2.0
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: ocaml-cairoAssignee: Richard W.M. Jones <rjones>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 15CC: fedora-ocaml-list, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-07 19:40:05 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:
Attachments:
Description Flags
other files also missing none

Description Orion Poplawski 2010-01-15 18:09:04 UTC
Description of problem:

[mockbuild@xenmock1 fedora]$ cat test_gtk.ml
module G = Gtk
  module C = Cairo_lablgtk
[mockbuild@xenmock1 fedora]$ ocamlfind c -package cairo.lablgtk2 -linkpkg test_gtk.ml -o test_gtk
File "test_gtk.ml", line 2, characters 13-26:
Error: Unbound module Cairo_lablgtk

Works fine on F12.  It appears that ocaml-cairo no longer has:

%{_libdir}/ocaml/cairo/cairo_lablgtk.cmi

Appears to have gone away with the move to 1.2.0.  Another reason I try to avoid using wildcards in the %files sections of spec files.

1.2.0 build log shows:

checking for OCaml module LABLGTKDIR... +lablgtk2
checking for LIBSVG_CAIRO... no
  GTK+         support: no
  libsvg-cairo support: no
configure: creating ./config.status

Version-Release number of selected component (if applicable):
ocaml-cairo-1.2.0-0.2.gita5c5ee9f.fc13.x86_64

Comment 1 Bug Zapper 2010-03-15 14:01:09 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle.
Changing version to '13'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Gerry Pregent 2010-08-16 19:41:49 UTC
Created attachment 439008 [details]
other files also missing

Comment 3 Bug Zapper 2011-06-02 16:52:21 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Orion Poplawski 2011-06-02 22:38:26 UTC
Still present with ocaml-cairo-1.2.0-0.4.gita5c5ee9f.fc15.i686

Comment 5 Orion Poplawski 2011-06-03 17:36:55 UTC
It appears to be looking for libsvg-cairo, perhaps needs to be cairo-svg? 

As for the gdk, it appears that you need to explicitly set LABLGTKDIR for some reason.  With:

 ./configure --libdir=%{_libdir} LABLGTKDIR=%{_libdir}/ocaml/lablgtk2

It finds GTK+:

  GTK+         support: yes

Comment 6 Fedora End Of Life 2012-08-07 19:40:07 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping