Re: [Vala] Flowgraphs for Gtk in Vala
- From: Daniel Brendle <grindhold skarphed org>
- To: Daniel Espinosa <esodan gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Flowgraphs for Gtk in Vala
- Date: Thu, 21 May 2015 17:59:23 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 05/21/2015 01:32 PM, Daniel Espinosa wrote:
Is it possible to be used to create Logic diagrams?
Why cmake?
Is it possible to port it to autotools? (Do you need help?)
If you mean logic digarams as in "i have nodes that emit logical ONEs
and ZEROs, i have nodes that represent logic gates like AND OR XOR NOT
e.t.c and i have nodes that output the results", then yes. of course
you can write logic diagrams with it. Of course you have to implement
your own Nodes for this, but this is no problem at all since you can
inherit from GtkFlow.Node as baseclass and implement your logic on top
of it. See the example calculator.py in the examples folder.
Using cmake has a simple reason: I spend two days trying to use
autotools in one of my vala projects and gave up frustratedly with no
mentionable result. Then i tried cmake and got a vala project up and
running in one night. I am very happy with it and continued to use it
for other projects.
Currently I see no necessity to switch, but if you want to do it and
maintain it, please do and send a pull request.
To be honest, i am a bit curious what i did wrong and to see a correct
solution how to build such a project with autotools.
If you try the port, please be aware that I created some cmake logic
to detect if a system has the libgee-1.0 or libgee-0.8-package
installed and sets the compilerflags accordingly. This is necessary
because of the unlucky decision of the gee-developers to do a
backwards version-number-change from 1.0 to 0.8. On debian jessie
there are still libgee-1.0-packages around. Without that logic it
would be impossible to build on debian older than stretch (testing).
Yours, Grindhold
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJVXgDbAAoJEBuqgJs6izSEqJAP/2XV2VhkNH/0BCWG5ufMlXDh
cnoMweeuL2Z5eL+OyX/2zEuhfPqxfg8th/6rim5yMpQ6sdRAk38zZKRe5cj/sUUc
dsH4DE/aTv11g9qVLj2rinRMgAKeN0U+b4jub1oXGfHtM1vSTUqCjoDEn+EiwfRH
h7JvmFJWL3muiSaow+pAb/+aUWFsgdcjZTLqc/minprqrewh1iZWa2VUabqXOGDY
GJYfOUgniguZWR2JWWjwGWgYe1O7N051UChMxGQAhMqjlvXko7pRya6NEZtqQnhT
GLyeihmses+YYRzS5r6Qf7Lresj7mvNifdO3Nt5btZjzWusWp0IwbACRNm+C2/gn
snMLRcOl7DjD9v/o99O2dGo/Efucm0q6V2IaVSepkbh9mcfvoKGb10hYsbs66Hmh
cIZfZa1aHBP6QXHnm6jljC/Y0TH3c6WtmVb2qrATCUTemuDoipYs91V3/MonJLBy
4BrmCjKkq6pbyB8vcyw6+EvtSmsnK78AFwUOV8RzVTjes3oF+eV9SWydQDLpSxeq
BHYXw8A9NY8KNh/Mpme2GfF5G/lgM28nc2v41wDmL2Bq9EdTGZBcpcSTDvRscCly
ECHcjmH4Q1g0vCG2B9h0VqaTbhCvsaZW3no3OPFybAj16CvGRCZpfTSo7x7TLHN5
7njNczaHk1Vuv7HChXOW
=gsmy
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]