delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/10/16:25:02

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=iDifKx4eY5ErIBmREuMuMMgdDUhtKRHQV5rAWlMH4OD
ak2rTyy60+EHgrDMZ07XnJETXtY0g3h4oKZPt3XR9Vo04tg6emn0qQ+KcJj2RFH3
+PCKfIu+b2dkjBhNsCYVcrNsOGkuLRHtGHzkztqdG8PRzjp34eDpC2obvJxU3nZg
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=WCNjJvqKVWXq5F8JYVaU2kRBgJo=; b=eQCWXmvYqKyXOeaxn
8LRjjkpto4D5KIm9jbqa/oJboCWRwd7kUC390/XXySfA+NZ6FPsoeio4kaVyyWna
TMeAmjedBnIaQzo9okrpm+YHr21ErGW2FjHEcJvArvzQKO+xO2Cfv8BFzmY1dswK
TT4OIFROCAcKhx1FyQP6cs1pCI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: limerock03.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Message-ID: <54DA76CD.7090100@cornell.edu>
Date: Tue, 10 Feb 2015 16:23:25 -0500
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Emacs and last libpng release
References: <54DA37E4 DOT 1060706 AT alice DOT it> <54DA4363 DOT 2040306 AT cornell DOT edu> <1423592005 DOT 11468 DOT 55 DOT camel AT cygwin DOT com>
In-Reply-To: <1423592005.11468.55.camel@cygwin.com>
X-IsSubscribed: yes

On 2/10/2015 1:13 PM, Yaakov Selkowitz wrote:
> On Tue, 2015-02-10 at 12:44 -0500, Ken Brown wrote:
>> On 2/10/2015 11:55 AM, Angelo Graziosi wrote:
>>> Ken Brown wrote:
>>>> I think the better way is for all libraries that rely on libpng15 to rebuild
>>>> for libpng16.
>>>
>>> Does this mean that there is some library which, after being rebuilt, will allow
>>> Emacs to be build OB, linking to libpng16, without the need to install libpng15?
>>
>> I think that's right.  It looks to me like ImageMagick and fontconfig are both
>> adding -lpng15 to the link command line.  I'm puzzled about fontconfig because
>> it was just rebuilt.
>>
>> $ pkg-config --libs fontconfig
>> -lfontconfig -lexpat -lfreetype -lbz2 -lz -lpng15 -lm -lz -lexpat -lfreetype
>> -lbz2 -lz -lpng16 -lm -lz
>>
>> Yaakov, can you explain this?
>
> cygcheck -c libfontconfig-devel libfreetype-devel ?

Sorry, you lost me.  I don't see anything in libfreetype-devel that 
explains why the output of 'pkg-config --libs fontconfig' should contain 
'-lpng15'.  freetype2 itself doesn't have this problem:

$ pkg-config --libs freetype2
-lfreetype -lbz2 -lz -lpng16 -lm -lz

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019