buggnubg - Bugs: bug #44758, gnubg links against cairo, pango,...

 
 

bug #44758: gnubg links against cairo, pango, freetype, libpng and canberra even if configured with --without-gtk

Submitter:  None
Submitted:  Tue 07 Apr 2015 09:08:47 AM UTC
 
Originator Name:  Dmitrij D. Czarkoff Originator Email:  * -email is unavailable-
Item Group:  Installation Error Category:  Other
Release:  * 1.04-Release Privacy:  Public
Operating System:  All Severity:  3 - Normal
Open/Closed:  Open Assigned to:  None
Priority:  5 - Normal Status:  None
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Tue 21 Apr 2015 04:02:25 PM UTC, comment #3: 

If you wish to create such a patch with those optional components using "--enable-feature" I'd be willing to look it over and integrate them. As Philippe pointed out cairo and libpng are still required for tty usage where one is supporting exports. I do agree with the assessment with sound and the without GTK option. If your not using GTK we probably shouldn't be using a dependency (canberra) that relies on it. Just a note that sound on Windows and OS/X do not rely on GTK as we use their native sound systems.

Michael Petch <mdpetch>
Project Administrator
Thu 09 Apr 2015 08:00:57 AM UTC, comment #2: 

I didn't know gnubg could do that. Anyway, given that gnubg has some optional components and already uses autoconf, the configure script should probably provide a bunch of "--enable-feature" flags for those.  Bringing those in would require quite a lot of changes to the configure.in scripts, and if the project is willing to accept huge patches from strangers, I could do some part of that.  I only have access to Unix-like systems on amd64 though.

P.S.: one may want to have sound with no GUI (eg. to play on X11-less system). That said, if one specified "--without-gtk", he most likely doesn't want the binary to depend on GTK, and Canberra has that dependency.

Dmitrij D. Czarkoff <czarkoff>
Wed 08 Apr 2015 08:40:50 PM UTC, comment #1: 

This is not entirely accurate. cairo is used in exports to ps or pdf, libpng in export position to png, features that make sense even with the tty interface only. On the other hand, canberra or sound libraries in general probably belong the the gui builds only.

I'd consider this report a reminder that there must be some clean-up or simplification to do in this area, but I don't think it is as straightforward as suggested.

Philippe Michel <plm>
Project Administrator
Tue 07 Apr 2015 09:08:47 AM UTC, original submission:  

Canberra depends on GTK, and the rest of the libraries aren't used without GUI, so they should not be searched for by the configure script. I've attached patch that leaves them out.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #33576:  patch-configure_ac added by None (3KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mdpetch (Posted a comment)
  • -email is unavailable- added by czarkoff (Posted a comment)
  • -email is unavailable- added by plm (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-04-07 None Attached File- Added patch-configure_ac, #33576

    Back to the top


    Powered by Savane 3.9