From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: David Pirotte Newsgroups: gmane.lisp.guile.user Subject: Re: need help for new guile-cairo release Date: Sun, 30 Sep 2018 21:30:08 -0300 Message-ID: <20180930213008.70559462@capac> References: <5B6F18CB-1C43-4B39-B332-A7DAB5C5105D@bluewin.ch> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/TiLgZ7=aidlmrXkNhQuZY4F"; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1538353734 29781 195.159.176.226 (1 Oct 2018 00:28:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 1 Oct 2018 00:28:54 +0000 (UTC) Cc: guile-user@gnu.org To: Daniel Llorens Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Oct 01 02:28:49 2018 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g6m4u-0007di-RP for guile-user@m.gmane.org; Mon, 01 Oct 2018 02:28:49 +0200 Original-Received: from localhost ([::1]:58371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6m71-0002i6-9T for guile-user@m.gmane.org; Sun, 30 Sep 2018 20:30:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6m6a-0002hz-M8 for guile-user@gnu.org; Sun, 30 Sep 2018 20:30:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g6m6W-0005YW-M0 for guile-user@gnu.org; Sun, 30 Sep 2018 20:30:32 -0400 Original-Received: from maximusconfessor.all2all.org ([79.99.200.102]:53696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6m6R-0005Us-8e for guile-user@gnu.org; Sun, 30 Sep 2018 20:30:27 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by maximusconfessor.all2all.org (Postfix) with ESMTP id 89E301BE009B; Mon, 1 Oct 2018 02:30:16 +0200 (CEST) Original-Received: from maximusconfessor.all2all.org ([127.0.0.1]) by localhost (maximusconfessor.all2all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l8SDbup4LwGu; Mon, 1 Oct 2018 02:30:16 +0200 (CEST) Original-Received: from capac (177.206.63.127.dynamic.adsl.gvt.net.br [177.206.63.127]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id 650B01BE0099; Mon, 1 Oct 2018 02:30:15 +0200 (CEST) In-Reply-To: <5B6F18CB-1C43-4B39-B332-A7DAB5C5105D@bluewin.ch> X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 79.99.200.102 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:14906 Archived-At: --Sig_/TiLgZ7=aidlmrXkNhQuZY4F Content-Type: multipart/mixed; boundary="MP_/w4QdslcBg06r4oZRqNCNfl9" --MP_/w4QdslcBg06r4oZRqNCNfl9 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello Daniel, > 1) make distcheck fails. I think the error is not in the tests themselves= but in > the way they are run. One of the commands in tests/unit-tests/Makefile.am= produces I fixed 'make distcheck' and two other things, attached 3 patches ... Another thing you could do to improve things a little is to use 'm4', in the configure.ac file, and add an m4 dir to the project, where you would copy (= and distribute it) the latest guile.m4 file: this would allow you to clean the = code related to finding the installed (user) guile's effective version ...=20 Also, I did suggest to remove INSTALL from the distribution, but I now thin= k it was not a good advice :), maybe we should add and distribute it 'again' (becaus= e we may change its content, something I always do in my projects ... as you wish of= course). > 2) I cannot rebuild the documentation. To try this, you have to (assuming= you > build guile-cairo in-tree) I haven't looked at this. If you (or someone else) find a solution, ping m= e, so I can fix guile-gnome and guile-clutter ... Cheers, David --MP_/w4QdslcBg06r4oZRqNCNfl9 Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-Some-more-files-we-don-t-want-to-track.patch =46rom 826acc57260e48ba23d80b7310d2bc5f8951c556 Mon Sep 17 00:00:00 2001 From: David Pirotte Date: Sun, 30 Sep 2018 20:46:01 -0300 Subject: [PATCH 1/3] Some more files we don't want to track * .gitignore: Some more files we don't want to track. I also 'grouped' all build-aux/* files. --- .gitignore | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 69cc11a..128a5a8 100644 --- a/.gitignore +++ b/.gitignore @@ -4,26 +4,29 @@ Makefile.in /autom4te.cache /autoregen.sh /cairo/config.scm -/build-aux/config.guess /config.h /config.h.in /config.log /config.status -/build-aux/config.sub /configure +/build-aux/config.sub +/build-aux/config.guess /build-aux/depcomp -/doc/guile-cairo.info /build-aux/texinfo.tex +/build-aux/install-sh +/build-aux/compile +/build-aux/test-driver +/build-aux/ltmain.sh +/build-aux/missing +/doc/guile-cairo.info /env /guile-cairo.pc +/guile-cairo-*.tar.gz /guile-cairo/.deps /guile-cairo/.libs /guile-cairo/*.x *.la *.lo -/build-aux/install-sh /libtool -/build-aux/ltmain.sh -/build-aux/missing /stamp-h1 /config.h.in~ --=20 2.19.0 --MP_/w4QdslcBg06r4oZRqNCNfl9 Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0002-Fixing-the-autogen.sh-echo-message.patch =46rom 51aa88b1e57e13f01128b788136fce036dfdd064 Mon Sep 17 00:00:00 2001 From: David Pirotte Date: Sun, 30 Sep 2018 20:48:09 -0300 Subject: [PATCH 2/3] Fixing the autogen.sh echo message * autogen.sh: In guile-cairo, the configure --prefix option is mandatory -> removing the bracket around the option. --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index a3d6089..19c7485 100755 --- a/autogen.sh +++ b/autogen.sh @@ -3,4 +3,4 @@ set -e autoreconf -vif echo -echo "Now run ./configure [--prefix=3D/your/prefix]" +echo "Now run ./configure --prefix=3D/your/prefix" --=20 2.19.0 --MP_/w4QdslcBg06r4oZRqNCNfl9 Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0003-Fixing-configure.ac-so-make-distcheck-pass-again.patch =46rom e052dbfbb9eb4045f8c4f2f9ba944620a09daaae Mon Sep 17 00:00:00 2001 From: David Pirotte Date: Sun, 30 Sep 2018 20:52:26 -0300 Subject: [PATCH 3/3] Fixing configure.ac, so 'make distcheck' pass again * configure.ac: (a) Modern automake versions run the checks in parallel per default, but we don't support these yet (this is the change that fixes 'make distcheck'; (b) moving the project name and version number in AC_INIT, not AM_INIT_AUTOMAKE; (c) bumping both the version number and the minimum libcairo version required to 1.10.0; (d) adding AM_MAINTAINER_MODE, AM_SILENT_RULES; (e) use LT_INIT, not AC_PROG_LIBTOOL; (f) adding a AC_CONFIG_FILES entry for env, running chmod. --- configure.ac | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index 47f8b30..5e08f27 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,7 @@ define(GUILE_CAIRO_CONFIGURE_COPYRIGHT,[[ =20 Copyright (C) 2007, 2011 Andy Wingo +Copyright (C) 2018, Daniel Llorens =20 This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as @@ -19,20 +20,25 @@ License along with this program. If not, see ]]) =20 AC_PREREQ(2.52) -AC_INIT(HACKING) +AC_INIT([guile-cairo], [1.10.0]) + AC_CONFIG_AUX_DIR([build-aux]) AC_COPYRIGHT(GUILE_CAIRO_CONFIGURE_COPYRIGHT) + AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(guile-cairo, 1.9.92) =20 -AC_SUBST(VERSION,1.9.92) +AM_INIT_AUTOMAKE([1.14 gnu -Wno-portability -Wno-syntax \ + color-tests serial-tests foreign]) +AM_MAINTAINER_MODE([enable]) +AM_SILENT_RULES([yes]) =20 -AC_DISABLE_STATIC +AC_SUBST(VERSION, 1.10.0) =20 AC_ISC_POSIX AC_PROG_CC AC_STDC_HEADERS -AC_PROG_LIBTOOL +LT_INIT([disable-static]) + =20 if test "x$prefix" =3D xNONE; then AC_MSG_ERROR([No explicit prefix given. @@ -82,12 +88,13 @@ else AC_MSG_NOTICE([found Guile $GUILE_EFFECTIVE_VERSION.x]) fi =20 -PKG_CHECK_MODULES(CAIRO, cairo >=3D 1.2.0) +PKG_CHECK_MODULES(CAIRO, cairo >=3D 1.10.0) AC_SUBST(CAIRO_LIBS) AC_SUBST(CAIRO_CFLAGS) =20 AC_ARG_VAR(CAIRO_XML_DIR, [path to Cairo *.xml documentation]) =20 +AC_CONFIG_FILES([env], [chmod +x env]) AC_CONFIG_FILES( Makefile guile-cairo.pc --=20 2.19.0 --MP_/w4QdslcBg06r4oZRqNCNfl9-- --Sig_/TiLgZ7=aidlmrXkNhQuZY4F Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAluxapAACgkQ83T9k6MF etcfGwgAyDawjg1mwO6eqWXd8TCJ6E7zHofk6SJz1j7y/rdWtrnQmlnxzQcDSQFm LrKNg0cQ3hUfaZDZYIGcdwn/EHe2d9ZijyOmae91NSIlMPw5lVUcxv08aOfvSxLo KAzp4D7eJ6EBmeccyoSNgRrj3rAn2v3eHRJNAVWId2gHQStZi8ZKeM6HHsl2/qdP UczWeqf0+zd09B6OGz8TbTwo4UoSK/wx70/Kew53atRAmDW80Zpm03MmuzmJ6T90 8xedO6azo5KczYLBopnCNj87oLGsIlvdiFY5MtqWGnLeW/kvh9EyeAsRG6o+dJBl Dx+UjW5jngQYsf8isCw9DJDX1KRxyw== =OVc7 -----END PGP SIGNATURE----- --Sig_/TiLgZ7=aidlmrXkNhQuZY4F--