Re: [Vala] Fwd: Problem installing vtg under Debian Sid


On Thu, 2011-08-11 at 07:36 +0200, Serge Hulne wrote:
---------- Forwarded message ----------
From: Serge Hulne <serge hulne gmail com>
Date: Wed, Aug 10, 2011 at 10:30 PM
Subject: Re: Problem installing vtg under Debian Sid
To: Andrea Del Signore <sejerpz tin it>

Thanks !

I have installed the 0.12 version.

vtg compiles, but does not show up in the list of available plugins for
gedit though, although I have installed vtg as follows:

mkdir -p ~/.gnome2/gedit/plugins/vtg

cp -r images ~/.gnome2/gedit/plugins/vtg/

mkdir ~/.gnome2/gedit/plugins/vtg/ui

cp ui/vtg.ui ~/.gnome2/gedit/plugins/vtg/ui/

cp vtg/vtg.gedit-plugin ~/.gnome2/gedit/plugins/

cp vtg/.libs/ ~/.gnome2/gedit/plugins/

(with the only difference that there is no  vtg/vtg.gedit-plugin, but a  vtg
/vtg.plugin in the source).

The version of gedit is 3.0.6 .


I apologize, but the compile instruction page is outdated and it will
not works with gedit 3.0

Because of this glib bug [1] the easiest way to compile and use
vala-toys 0.12 is do a system install with:

./configure --prefix=/usr
sudo make install

If you still want to do a local install download vala toys 0.12.1 that I
just released and then:

./configure --prefix=$HOME/.local
make install

after that you have to copy the vtg setting schema in the system dir
(you need the root account) and recompile all the schemas:

sudo cp
data/org.gnome.gedit.plugins.vala-toys.gschema.xml  /usr/share/glib-2.0/schemas/
sudo glib-compile-schemas

Last note.
If you don't have $HOME/.local/bin in your $PATH, copy the
vala-gen-project executable in /usr/local/bin too (or add ./local/bin in
your $PATH)


I really like to simplify all this and I'm open for suggestions ;)


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