Re: Guile-gnome package broken in Guix

David Pirotte <[email protected]> Sat, 16 Feb 2019 20:17:18 -0200
Newsgroups gmane.lisp.guile.gtk
Message-ID <20190216201718.76713550@capac>
--===============8134394835392626938==
Content-Type: multipart/signed; micalg=pgp-sha512;
 boundary="Sig_/7Io_Il/9Sff8+qGDHKYbslk"; protocol="application/pgp-signature"

--Sig_/7Io_Il/9Sff8+qGDHKYbslk
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello Swedebugia,

> The package guile-gnome in guix is unfortunately broken and the docs and=
=20
> examples are missing.

I've asked on #guix if someone could try and they reported that it works fi=
ne:

	<phenoble> daviid:  I just successfully built and installed the
	package on an up-to-date guix on ubuntu 17.10, so it would not appear
	broken to me.

There is a bug which provides to build the doc for the latest version, but =
it hasn't
changed and it is available online:

	https://www.gnu.org/software/guile-gnome/documentation.html

Examples are not install by Guix, but once you have a working Guile-Gnome, =
in Guix,
you should be able to run the upstream distributed examples anyway: just gr=
ab the
latest tarball, untar <somewhere> and=20

	cd <somewhere>/gtk/exmples/guile-gtk-demo
	./guile-gtk-demo.scm

Note that some examples won't work, but most do and especially the 'Applica=
tion main
window', 'Tree View/List Store', 'Tree Model', 'Paned Widgets', 'Dialog and=
 Message
Boxes'.

For a slightly more 'sophisticated' app, see GNU Foliot (though I wrote it =
a very
long time ago and plan to rewrite it, you can certainly look at the script =
(how to
define a script that launches an app using Guile (that install itself in $p=
refix/bin
and no-autocompile ... ) and also how to design the app using glade and loa=
d the
glade defs in guile ...=20

> I tried fixing the package but it seems I do not understand gtk nor=20
> autotools well enough to succeed.

I suggest you update your Guix version itself, then try again - note that u=
pstream
Guile-Gnome pass 'make distcheck', so I'm not sure what you mean by 'fixing=
 the
package', but you shouldn't have to do anything but either running the auto=
tool
'dance' (./autogen.sh; ./configure [-prefix=3D/your/prefix]; make; make che=
ck; make
install) or fix your Guix installation and install the Guix guile-gnome pac=
kage.

> I got these questions:

> * why are there no TARGET_DIR in the makefiles?
> * what is the purpose of the "guilesite" variable?
> * what is the purpose of the files in /defs/gnome/defs ? The makefile=20
> there seems to try to check for stuff in DEFS_HEADER_DIR =3D /usr/include

You shouldn't worry with any of these, they are all 'internal stuff'.

Cheers,
David

--Sig_/7Io_Il/9Sff8+qGDHKYbslk
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAlxoi+4ACgkQ83T9k6MF
etdeeAgAneQy9MpRN+RT1ARC9YiIlrMAWZI5TYiOgw/PSZ7K1Nh1CizlOpOBkXV5
cWxDc49mAO5uLhkkg35R+EGDsQ+LW8k+RpNyBU557nDiw8CSivhPxFqGdcROITdh
RUaupmWHdynSURqTn4xrFmu13ztfYx/C+qrzSGhl7zJuTQLERKVdo5XSpsxUz9dX
+Ah75A63VN6EqroZg8LDplGDStWgVL9xlHd8NHvmnMd3eJNAn+4dVtrZzIw02duE
d1neSsaOkKeMUorDOEgr29gzOJM7dD2zqm+1n8oBeSrksrBU0SygPgHpl0mOFCAR
rew3laVxe2F2sxcgtx6hTgQEU4ml4Q==
=VfMW
-----END PGP SIGNATURE-----

--Sig_/7Io_Il/9Sff8+qGDHKYbslk--


--===============8134394835392626938==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
guile-gtk-general mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/guile-gtk-general

--===============8134394835392626938==--