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

Submitted by:  None
Submitted on:  Tue Apr 7 09:08:47 2015  
 
Originator Name: Dmitrij D. CzarkoffOriginator Email: -unavailable-
Item Group: Installation ErrorCategory: Other
Release: 1.04-ReleasePrivacy: Public
Operating System: AllOS Type: Any
Processor Type: AnySeverity: 3 - Normal
Open/Closed: OpenAssigned to: None
Priority: 5 - NormalStatus: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue Apr 21 16:02:25 2015, 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 Apr 9 08:00:57 2015, 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 Apr 8 20:40:50 2015, 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 Member
Tue Apr 7 09:08:47 2015, 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 File(s):
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Apr 7 09:08:47 2015NoneAttached File-=>Added patch-configure_ac, #33576

    Back to the top


    Powered by Savane 3.1-cleanup1