Re: [Vala] Help with libgda



2015-08-26 3:01 GMT-07:00 Al Thomas <astavale yahoo co uk>:


----- Original Message -----
From: Noe Nieto <nnieto noenieto com>
Cc: Vala <vala-list gnome org>
Sent: Tuesday, 25 August 2015, 20:14
Subject: Re: [Vala] Help with libgda

Just for the record. This is what I did all this to compile libgda 6.0
with
vala bindings on Fedora 22.

sudo dnf install vala-devel vala-devel vala-compat-tools vala-tools
gtksourceview3 gtksourceview3-devel goocanvas2-devel graphviz-devel
libgee-devel community-mysql-devel postgresql-devel libsqlite3x-devel

git clone https://github.com/GNOME/libgda.git

Does
git clone -b LIBGDA_5_2_2 --single-branch
https://github.com/GNOME/libgda.git
also work?
Or now you already have cloned it:
cd libgda/
git checkout -b LIBGDA_5_2_2


Yes, it builds if I specify VALA_API_VERSION=0.28

I ran git checkout -b LIBGDA_5_2_4 and then  configure and make. Just
before running make install i checked the version with pkg-config:
$ pkg-config --modversion libgda-5.0
5.2.2

After executing sudo make install:
$ pkg-config --modversion libgda-5.0
5.2.2

So, it seems like if it didn't install the new version .. weird. My anjuta
project no longer complains about libgda-5.0 missing, but libgda-mysql-5.0
is still missing.


VALA_API_VERSION=0.28 ./autogen.sh --prefix=/opt --enable-json
--enable-vala=yes --enable-gda-gi=yes --enable-gdaui-gi=yes
--enable-gi-system-install=yes --enable-gdaui-vala=yes
--enable-vala-extensions=yes --enable-gtk-doc --enable-system-sqlite
--with-ui --with-gtksourceview --with-goocanvas --with-graphviz
--with-gnome-keyring --enable-binreloc --enable-system-sqlite=no


It looks as though 5.23 had a couple of commits related to VAPI:
https://git.gnome.org/browse/libgda/log/?h=LIBGDA_5.2
so it might be worth trying to build for LIBGDA_5_2_4


Can libgda 6.0 be installed along with the one that ships with fedora
(5.22)?

Looks though Ubuntu have a bug for this:
https://bugs.launchpad.net/ubuntu/+source/libgda5/+bug/1016727
but can't find anything for Fedora:

https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=POST&bug_status=MODIFIED&bug_status=ON_DEV&bug_status=ON_QA&bug_status=VERIFIED&bug_status=RELEASE_PENDING&bug_status=CLOSED&classification=Fedora&component=libgda&product=Fedora&query_format=advanced

If the VAPI builds OK for 5.22 or 5.24 it may be worth filing a Fedora bug
so
atleast it appears in the next release. Not sure when 6.0 is expected to
be released:
http://www.gnome-db.org/Roadmap

Thanks for letting us know of your progress,

Al
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list




-- 
---
Noe Nieto
NNieto Consulting Services
M: nnieto noenieto com
W: http://noenieto.com
T:  @tzicatl <https://twitter.com/#%21/tzicatl>
Li: Perfil en LinkedIn <http://www.linkedin.com/profile/view?id=84300665>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]