bugGnash - The GNU Flash player - Bugs: bug #57759, Pango not found

 
 

bug #57759: Pango not found

Submitted by:  None
Submitted on:  Thu 06 Feb 2020 10:32:28 PM UTC  
 
Category:  gui-gtk Severity:  3 - Normal
Release:  master Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Thu 06 Feb 2020 11:02:14 PM UTC, comment #1: 

Apparently, the code is looking for pangox library:

https://git.savannah.gnu.org/cgit/gnash.git/tree/macros/pango.m4?id=583ccbc1275c7701dc4843ec12142ff86bb305b4#n37

which has been removed from Pango ages ago.

Gnash does not actually use pango directly at all. It looks like it was added for static linking against GTK when not using pkg-config but it was not updated or limited to non-pkg-config GTK builds (pkg-config would provide the necessary transitive dependencies automatically).

The proper solution would be removing all the pango checks and relying on pkg-config but as a quick hack you can replace pangox for pango in the macro.

(file #48366)

Jan Tojnar <jtojnar>
Thu 06 Feb 2020 10:32:28 PM UTC, original submission:  

On latest NixOS, I am getting

          ERROR: No Pango development package installed!
                 Install it from http://pango.org
                 or .deb users: apt-get install libpango1.0-dev
                 or .rpm users: yum install pango-devel

configure: error: Please install required packages

even though I have Pango headers available.

Configure flags:

--prefix=$PWD/installed --disable-static --disable-dependency-tracking --with-boost-incl=/nix/store/id2p5ggrqqip7q89dm2bdpwmdcxvhm2c-boost-1.69.0-dev/include --with-boost-lib=/nix/store/k5f7qwaf9hjihjkn4kpr2k84nr80bxz8-boost-1.69.0/lib --enable-renderer=agg --enable-gui=gtk --enable-media=ffmpeg --with-npapi-install=prefix --disable-plugins --enable-jemalloc --enable-device=egl

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #48366:  0001-Do-not-depend-on-pangox.patch added by jtojnar (1KiB - text/x-patch - Quick patch to fix build on modern distros)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jtojnar (Updated the item)
  • -email is unavailable- added by jtojnar
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-06 jtojnar Attached File- => Added 0001-Do-not-depend-on-pangox.patch, #48366
    2020-02-06 jtojnar Carbon-Copy- => Added jtojnar

    Back to the top


    Powered by Savane 3.6