Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-01-26 14:49:27

nwtxfc
Member
Registered: 2014-08-06
Posts: 8

compiling vala with xfce

Hi ,

I have 4.11 and it is working well. I have been trying to develop plugins using vala but I cannot find instructions on how to compile vala with xfce. What is the command line entry?
Could you direct me to a page with info on the Xfce.PanelPlugin class.
Thanks.

Offline

#2 2015-01-26 15:58:08

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,494

Re: compiling vala with xfce

If you are referring to vala itself, there are two vala components that I compile:

vala:

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

...probably grabbed this from one of Arch's AUR packages like this one.

xfce-vala:

./autogen.sh    --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var 
make
sudo make install

...probably from here.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2015-01-26 16:32:16

nwtxfc
Member
Registered: 2014-08-06
Posts: 8

Re: compiling vala with xfce

Hi,

Thanks for you speedy response. I did not make myself clear. I meant this sort of thing, valac --pkg gtk+-2.0 some_vala_program_with_xfce.vala. I have been following the examples on many web pages but there is no example that also includes the the compile instruction for including xfce. Thanks

Offline

#4 2015-01-26 16:45:09

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,494

Re: compiling vala with xfce

Ok, sorry. I haven't compiled any xfce vala projects personally. Have you seen Mike's blog entry here?

The stopwatch plugin was created using vala bindings. Perhaps there is something in the source code there that would help?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2015-01-26 16:58:20

nwtxfc
Member
Registered: 2014-08-06
Posts: 8

Re: compiling vala with xfce

Hi,

I checked both of those sites but with no luck. Thanks anyway.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 533.63 KiB (Peak: 534.47 KiB) ]