From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#2266: marked as done (Superfluous linking against fontconfig) Date: Fri, 27 Feb 2009 22:05:05 +0000 Message-ID: References: <87iqni7igt.GNU's_Not_Unix!%yavor@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1235772305-13434-0" X-Trace: ger.gmane.org 1235773674 31250 80.91.229.12 (27 Feb 2009 22:27:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Feb 2009 22:27:54 +0000 (UTC) To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 27 23:29:10 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LdBCf-00082H-7D for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Feb 2009 23:29:09 +0100 Original-Received: from localhost ([127.0.0.1]:58114 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LdBBK-0000xv-Bb for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Feb 2009 17:27:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LdB7S-0007CU-CK for bug-gnu-emacs@gnu.org; Fri, 27 Feb 2009 17:23:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LdB7R-0007Bg-T7 for bug-gnu-emacs@gnu.org; Fri, 27 Feb 2009 17:23:45 -0500 Original-Received: from [199.232.76.173] (port=42541 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LdB7R-0007BU-Ao for bug-gnu-emacs@gnu.org; Fri, 27 Feb 2009 17:23:45 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49758) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LdB7M-0007ei-Cd; Fri, 27 Feb 2009 17:23:40 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1RMNc4h018577; Fri, 27 Feb 2009 14:23:38 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1RM55Rm013972; Fri, 27 Feb 2009 14:05:05 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 2266 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:25810 Archived-At: This is a multi-part message in MIME format... ------------=_1235772305-13434-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Fri, 27 Feb 2009 16:54:06 -0500 with message-id and subject line Re: bug#2266: Superfluous linking against fontconfig has caused the Emacs bug report #2266, regarding Superfluous linking against fontconfig to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 2266: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D2266 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1235772305-13434-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 10 Feb 2009 09:24:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=GMAIL,MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1A9Of8X029138 for ; Tue, 10 Feb 2009 01:24:43 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWorB-00033z-Ho for bug-gnu-emacs@gnu.org; Tue, 10 Feb 2009 04:24:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWorA-00033A-5o for bug-gnu-emacs@gnu.org; Tue, 10 Feb 2009 04:24:41 -0500 Received: from [199.232.76.173] (port=46935 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWor9-000333-Aj for bug-gnu-emacs@gnu.org; Tue, 10 Feb 2009 04:24:39 -0500 Received: from main.gmane.org ([80.91.229.2]:54128 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LWor8-0001gx-Ot for bug-gnu-emacs@gnu.org; Tue, 10 Feb 2009 04:24:38 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LWor0-0004Zb-1k for bug-gnu-emacs@gnu.org; Tue, 10 Feb 2009 09:24:30 +0000 Received: from 213.91.219.2 ([213.91.219.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Feb 2009 09:24:30 +0000 Received: from yavor by 213.91.219.2 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Feb 2009 09:24:30 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Yavor Doganov Subject: Superfluous linking against fontconfig Date: Tue, 10 Feb 2009 11:24:18 +0200 Organization: The GNU Emacs Church (Bulgarian eparchy) Lines: 41 Message-ID: <87iqni7igt.GNU's_Not_Unix!%yavor@gnu.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 213.91.219.2 User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.2 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI) X-Jabber-ID: doganov@jabber.minus273.org Sender: news X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Tags: patch This change 2008-10-30 Emanuele Giaquinta * configure.in: Check fontconfig always. causes unnecessary linking with libfontconfig when configured --without-x or --with-ns: $ ldd -u -r src/emacs Unused direct dependencies: =09 /usr/lib/libfontconfig.so.1 For Emacs.app, it can't be even removed with -Wl,--as-needed since user-defined LDFLAGS do not propagate to the link rule (yet). A straightforward solution seems to be the following: 2009-02-10 Yavor Doganov (tiny change) * configure.in: Check for fontconfig only if HAVE_X11=3Dyes. --- configure.in 10 =D1=84=D0=B5=D0=B2 2009 09:37:08 +0200 1.585 +++ configure.in 10 =D1=84=D0=B5=D0=B2 2009 11:16:38 +0200=09 @@ -1825,7 +1825,9 @@ fi =20 ### Start of font-backend section. -PKG_CHECK_MODULES(FONTCONFIG, fontconfig >=3D 2.2.0, HAVE_FC=3Dyes, HAVE_F= C=3Dno) +if test "${HAVE_X11}" =3D yes; then + PKG_CHECK_MODULES(FONTCONFIG, fontconfig >=3D 2.2.0, HAVE_FC=3Dyes, HAVE= _FC=3Dno) +fi test "${HAVE_FC}" =3D "no" && with_freetype=3Dno =20 ## Use -lXft if available, unless `--with-freetype=3Dno' nor `--with-xft= =3Dno'. ------------=_1235772305-13434-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2266-done) by emacsbugs.donarmstrong.com; 27 Feb 2009 21:56:29 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.0 required=4.0 tests=GMAIL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1RLuQ0Y011737 for <2266-done@emacsbugs.donarmstrong.com>; Fri, 27 Feb 2009 13:56:27 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LdAek-00053q-Hm; Fri, 27 Feb 2009 16:54:06 -0500 From: Glenn Morris To: 2266-done@emacsbugs.donarmstrong.com Subject: Re: bug#2266: Superfluous linking against fontconfig References: <87iqni7igt.GNU's_Not_Unix!%yavor@gnu.org> X-Spook: Tony Blair eternity server AFSPC North Korea cybercash X-Ran: )zk`;{X&U.Bo*~@"%\p0mkvJMV~y[_=F]4@[OU:sXWp`KJ"+r/`B2Ww4v)=6+PPjxVdjoC X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 27 Feb 2009 16:54:06 -0500 In-Reply-To: <87iqni7igt.GNU's_Not_Unix!%yavor@gnu.org> (Yavor Doganov's message of "Tue, 10 Feb 2009 11:24:18 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Yavor Doganov wrote: > 2008-10-30 Emanuele Giaquinta > > * configure.in: Check fontconfig always. > > causes unnecessary linking with libfontconfig when configured > --without-x or --with-ns: 2009-02-23 Adrian Robert * configure.in (HAVE_XFT, HAVE_FREETYPE, HAVE_LIBOTF) (HAVE_M17N_FLT): Don't check for these unless HAVE_X11. ------------=_1235772305-13434-0--