Re: [Fink-users] Pango Problem

2016-09-09 Thread doctorjlowe
On 2016 Sep 6, at 10:04, Alexander Hansen  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.

I didn’t think it was possible either, and that’s why i raised the 
issue.  It has happened to me twice, on two different fresh installs, so it’s 
presumably reproducible.  i *think* the relevant factors are: 1) an empty 
repository, and 2) fink configured to fetch binaries as available.

In the meanwhile i will make the changes you recommended to the info 
file.
--
___
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


Re: [Fink-users] Pango Problem

2016-09-06 Thread Alexander Hansen

> On Sep 5, 2016, at 00:11, doctorjl...@earthlink.net wrote:
> 
> On 2015 Sep 13, at 21:23, David Lowe  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 

-- 
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


Re: [Fink-users] Pango Problem

2016-09-06 Thread doctorjlowe
On 2015 Sep 13, at 21:23, David Lowe  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.  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-ft219Information 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-10Reading 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 modeReading buildlock packages.../sw/bin/dpkg-lockwait -i /sw/var/cache/apt/archives/pango1-xft2-ft219_1.24.5-10_darwin-x86%5f64.debSelecting 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 freecivInformation about 9834 packages read in 2 seconds.The following package will be rebuilt: freecivThe 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
--
___
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


Re: [Fink-users] Pango Problem

2015-09-13 Thread David Lowe
On 2015 Sep 10, at 2:07 PM, Daniel Macks  wrote:

Sorry for not getting back to you right away.

> Do you have "pango1-xft2-ft219" installed, or just 
> "pango1-xft2-ft219-shlibs" (and possibly ...-dev)?

The binary was just pango1-xft2-ft219-shlibs.  Of course, i couldn't 
build that by itself ["no matching package description"], so ended up 
generating pango1-xft2-ft219.  Rebuilding Freeciv against *that* worked a 
charm.  The weird thing is, i already HAD a BuildDepends against 
pango1-xft2-ft219-dev.  Somehow my package built without that being present..,

Possibly related, when i rebuilt Freeciv in the presence of 
pango1-xft2-ft219-dev it suddenly requested eleven more dependencies that it 
hadn't asked for the first go round.  I will check to see if i still have that 
list.

sent from Mountain Lion

One may tolerate a world of demons for the sake of an angel.
--
___
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


Re: [Fink-users] Pango Problem

2015-09-10 Thread Daniel Macks
On Thu, 10 Sep 2015 11:34:03 -0700, David Lowe 
 wrote:
So, i’ve finally got a new Mac [10.10.5]. I installed Xcode 6.4, 
command line tools for same, javac, XQuartz, and Fink 0.38.6. 
./bootstrap seemed to run okeh, and same for selfupdate-rsync [now 
0.38.7] and update-all. Freeciv built okeh, but won’t run right:
>
> > (freeciv-gtk2:81814): 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:81814): Pango-WARNING **: failed to choose a font, 
> expect ugly output. engine-type='PangoRenderFc', script='common'
> > > (freeciv-gtk2:81814): Pango-WARNING **: failed to choose a font, 
> expect ugly output. engine-type='PangoRenderFc', script=‘latin'
>
> Trying the suggested command doesn’t work:
>
> > $ sudo pango-querymodules > '/sw/lib/pango-ft219/etc/pango/pango.modules'
> > -bash: /sw/lib/pango-ft219/etc/pango/pango.modules: Permission denied
>
> How in the bleep is permission denied for ‘sudo’? Moving on, i 
> noted that i had chosen binary distribution for packages. I’m 
> currently building all of pango1-xft2-ft219, but i thought i’d 
> throw this out there while it’s in progress. 

Do you have "pango1-xft2-ft219" installed, or just 
"pango1-xft2-ft219-shlibs" (and possibly ...-dev)?

I think the shell command is parsed as "(sudo command) > /pathname" 
(redirection of output as the caller's own uid) not "(sudo command > 
/pathname)" (redirection part of the sudo'ed command). 

dan

--
Daniel Macks
dma...@netspace.org


--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140
___
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


[Fink-users] Pango problem

2005-03-07 Thread Erlend Aasland
Hi all,

While trying to upgrade to lilypond-devel, pango
(pango1-xft2-ft219-1.6.0-2) fails to build libpangox-1.0.la with this
message:

creating libpangox-1.0.la
(cd .libs  rm -f libpangox-1.0.la  ln -s ../libpangox-1.0.la
libpangox-1.0.la)
ld: warning -L: directory name (/sw/lib/freetype2/lib) does not exist
ld: warning -dylib_install_name
/sw/lib/pango-ft219/lib/libpangoft2-1.0.0.dylib not found in segment
address table LD_SEG_ADDR_TABLE
/sw/var/lib/fink/prebound/seg_addr_table
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
_FT_Get_BDF_Property
/usr/bin/libtool: internal link edit command failed
make[4]: *** [libpangoft2-1.0.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

It seems that the path /sw/lib/freetype2/lib should be
/sw/lib/freetype219/lib? The command /sw/lib/freetype219/lib/*.*a |
grep -i _FT_Get_BDF_Property returns _FT_Get_BDF_Property

Regards,
  Erlend Aasland


---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] Pango problem

2005-03-07 Thread Martin Costabel
Erlend Aasland wrote:
Hi all,
While trying to upgrade to lilypond-devel, pango
(pango1-xft2-ft219-1.6.0-2) fails to build libpangox-1.0.la with this
[]
ld: warning -L: directory name (/sw/lib/freetype2/lib) does not exist
[]
ld: Undefined symbols:
_FT_Get_BDF_Property
[]
It seems that the path /sw/lib/freetype2/lib should be
/sw/lib/freetype219/lib? The command /sw/lib/freetype219/lib/*.*a |
grep -i _FT_Get_BDF_Property returns _FT_Get_BDF_Property
Yes, this is a bug. I fixed it in CVS. De-facto maintainer CCed.
--
Martin

---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users