From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Bogatov Subject: Re: [PATCH] NON-WORKING: new package: sent -- simple presentation tool Date: Sun, 13 Dec 2015 19:47:52 +0300 Message-ID: <20151213164742.GC7888@sagulo> References: <1449956691-11833-1-git-send-email-KAction@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FFoLq8A0u+X9iRU8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a89s2-0006VT-Q0 for guix-devel@gnu.org; Sun, 13 Dec 2015 11:51:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a89s1-00043h-Tb for guix-devel@gnu.org; Sun, 13 Dec 2015 11:51:38 -0500 Content-Disposition: inline In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alex Vong Cc: guix-devel@gnu.org --FFoLq8A0u+X9iRU8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Alex Vong [2015-12-14 00:07:53+0800] > Hi, >=20 > I haven't really look into the source but perhaps the build log has > answered your question :) (or not?) >=20 > In the build log, there are three suspicious lines: > CFLAGS =3D -g -std=3Dc99 -pedantic -Wall -I. -I/usr/include > -I/usr/include/freetype2 -I/usr/X11R6/include -DVERSION=3D"0.2" > -D_XOPEN_SOURCE=3D600 > LDFLAGS =3D -g -L/usr/lib -lc -lm -L/usr/X11R6/lib -lXft -lfontconfig -l= X11 -lpng > CC =3D gcc >=20 > It seems the paths are hard-coded (It is my guess), so it works in > Debian only because of luck. I suppose if the libraries were installed > into `/usr/local', which is permitted by the FHS, then the build > system won't able to find it. I think the way to fix it is to add an > additional phase to patch the build system. I thought about it. But then why Xft headers are found, but freetype are not? I believe, that guix provides CFLAGS enviroment, which overrides config.mk --=20 Accept: text/plain, text/x-diff Accept-Language: eo,en,ru X-Keep-In-CC: yes X-Web-Site: sinsekvu.github.io --FFoLq8A0u+X9iRU8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWbaE4AAoJEHiL4BJUt/ANTFEQAK6KKSOVYARyBzOYqeI9fQrS AWTHGjTCHQH+0uPG0NjG9FrJ8EOV8x1M/9zwVyBSjk2fMvvMw79jOQKC9TY+JpmD EkfAdTnKmjJaCv7LpQmCNGuBE3GlpSFmk4J0Br9DEtHcfXb2gDqdYgzPrBRe5odW Z1t877jf3ctLWO+9TmL0GEO3m1tZCPmhmQIYtDB8QobK4ZwR8O8k8s44bVrBL/Mz auycOTdKkIi7n4Meiawd5a5VbkptXgJOLxpnm+AGmTJjoTG2pZ9Ofmim8UqJC/Do gAlgLcutMo78QeeAynnJjDkqQh705c+PHJaXi34UtTPoyQygifqIeQ16HGBKt3Gv idcjgg0ZcGEDHZBRiRxlYnAFwyEnWugNCvDssMnS9Z6mEtt17KN0dC5LbDu4RQTJ lc+2t1AD0eAsDLpsg4FJPYbSvYweZaYZ6AYVLTU/nFZI13ZxvBUSeDSIz3aL9aFB /a1MLma7seES63vnruxcCetjgRk7QXR28IIgu3eJq7+zWaUpco5HJWQ21OOP3amm LlYNkDYUj+nHJkAL//Yu3N+/1JuVF9ERXiaOBdky+7NentD6Ssy/qxIvY5DOIJ0p DQYs0z3rJ1uWp/8/vUnuZLmcJefOTC9R4dgeIPRl4JdfdJpE1dfXmRVrAPaeKYV4 lwL2YqqMI692a64rzFy1 =XrRW -----END PGP SIGNATURE----- --FFoLq8A0u+X9iRU8--