> On Sep 5, 2016, at 00:11, doctorjl...@earthlink.net wrote:
> 
> On 2015 Sep 13, at 21:23, David Lowe <doctorjl...@earthlink.net> wrote:
> 
>       I’m reopening an old thread in hopes of understanding what is going on 
> here.  I upgraded my laptop to El Capitan from Mountain Lion, blew away all 
> of /sw and started over.  After bootstrapping, i built my package [freeciv].  
> Fink built it without pango1-xft2-ft219-dev, which is a BuildDepends for 
> freeciv.  


Wait.  You said that you built it _without_ pango1-xft2-ft219-dev AND that 
pango1-xft2-ft219-dev is a BuildDepends.  That’s not possible.

> It doesn’t run right:
> 
>> (freeciv-gtk2:39247): Pango-CRITICAL **: No modules found:
>> No builtin or dynamically loaded modules were found.
>> PangoFc will not work correctly.
>> This probably means there was an error in the creation of:
>>  '/sw/lib/pango-ft219/etc/pango/pango.modules'
>> You should create this file by running:
>>  pango-querymodules > '/sw/lib/pango-ft219/etc/pango/pango.modules'
>> 
>> (freeciv-gtk2:39247): Pango-WARNING **: failed to choose a font, expect ugly 
>> output. engine-type='PangoRenderFc', script='common'
> 
> 
>       This is exactly what i saw a year ago when i got a new desktop [with 
> Yosemite].  Installing pango1-xft2-ft219, then rebuilding freeciv brought in 
> a whole other raft of packages that are supposedly BuildDepends [atk1, cairo, 
> etc].  Is this somehow a knock-on effect from using prebuilt binaries, or 
> what?  Is there anything i can change in the info file so that this stuff is 
> actually fetched and built the first time??
> 
>> [doctorjlowe@Daves-i7:bin]$ fink install pango1-xft2-ft219
>> Information about 9834 packages read in 19 seconds.
>> The following package will be installed or updated:
>> pango1-xft2-ft219
>> /sw/bin/apt-get-lockwait -q --ignore-breakage --download-only install 
>> pango1-xft2-ft219=1.24.5-10
>> Reading Package Lists...
>> Building Dependency Tree...
>> The following NEW packages will be installed:
>>  pango1-xft2-ft219 
>> 0 packages upgraded, 1 newly installed, 0 to remove and 0  not upgraded.
>> Need to get 84.3kB of archives. After unpacking 274kB will be used.
>> Get:1 http://bindist.finkmirrors.net stable/main pango1-xft2-ft219 1.24.5-10 
>> [84.3kB]
>> Fetched 84.3kB in 0s (175kB/s)
>> Download complete and in download only mode
>> Reading buildlock packages...
>> /sw/bin/dpkg-lockwait -i 
>> /sw/var/cache/apt/archives/pango1-xft2-ft219_1.24.5-10_darwin-x86%5f64.deb
>> Selecting previously deselected package pango1-xft2-ft219.
>> (Reading database ... 10314 files and directories currently installed.)
>> Unpacking pango1-xft2-ft219 (from 
>> .../pango1-xft2-ft219_1.24.5-10_darwin-x86%5f64.deb) ...
>> Setting up pango1-xft2-ft219 (1.24.5-10) ...
>> 
>> [doctorjlowe@Daves-i7:bin]$ fink rebuild freeciv
>> Information about 9834 packages read in 2 seconds.
>> The following package will be rebuilt:
>> freeciv
>> The following 17 additional packages will be installed:
>> atk1 cairo fink-package-precedence fontconfig2-dev freetype219 gettext-tools 
>> glib2-dev gtk+2 gtk+2-dev libcurl4 liblzma5 libmagickcore6.9.q16.2-dev 
>> libmagickwand6.9.q16.2-dev
>> pango1-xft2-ft219-dev readline6 sdl sdl-mixer
> 
> ———————————————————————————————————————
> _______________________________________________


It sounds like you need a BuildDepends: pango1-xft2-ft219, since actually 
installs %p/lib/pango-ft219/etc/pango/pango.modules and 
%p/bin/pango-ft219-querymodules.

Also, according to the usage instructions:

Fionna-3:~ hansen$ fink info pango1-xft2-ft219
Scanning package description files..........
Information about 9873 packages read in 1 seconds.

pango1-xft2-ft219-1.24.5-10: GTK+ - i18n libs (for freetype >= 2.1.9)
 System for layout and rendering of internationalized text.
 .
 These packages link against fink's freetype219 instead of the freetype
 that comes as part of x11.  They also have cairo support.
 .
 Usage Notes:
 Packages which install pango module(s) should call update-pango-ft219-modules
 in their PostInstScript and PostRmScript to update the pango.modules file.
 .
 The headers and libraries needed at build time are in
 /sw/lib/pango-ft219/{include,lib}, and also (as of 1.22.0-3) in the
 normal places (/sw/{include,lib}).
 .
 Web site: http://www.pango.org
 .
 Maintainer: The Gnome Core Team <fink-gnome-c...@lists.sourceforge.net>

-- 
Alexander Hansen, Ph.D.
Fink User Liaison


------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to