Re: [Elementary-dev-community] Sample contractor client

2014-01-31 Thread Alex Lourie
We should encapsulate that gaze of yours into code.


On Fri, Jan 31, 2014 at 3:02 AM, Sergey Shnatsel Davidoff 
ser...@elementaryos.org wrote:

 Dunno, looks fine from here. Or maybe my OS instance just fixes itself
 when exposed to my questioning gaze.


 2014-01-30 Daniel Foré dan...@elementaryos.org:

  Sergey,

 I think it's pretty common knowledge that the daily PPA breaks Luna
 Cheers,

 Daniel Foré
 elementaryos.org


 On Thu, Jan 30, 2014 at 3:02 AM, Sergey Shnatsel Davidoff 
 ser...@elementaryos.org wrote:

  2014-01-30 Heath Paddock he...@heath-bar.com:

 Does this require libgranite2?


 Yes, it does. This is one of the two new symbols I added a while ago;
 I'm not sure why they're exclusive to libgranite2 - they're just additions,
 not breaks - but looks like they are. Oh well.

 libgranite2 should be available on Luna from Daily PPA (or maybe not
 anymore - Cody was looking to delete them).

 If you can't get your hands on libgranite2... The required function is
 trivial, so you can copy-paste it from
 http://bazaar.launchpad.net/~elementary-pantheon/granite/granite/view/head:/lib/Services/ContractorProxy.vala#L227and
  toy with the example on libgranite1.

 Also, the compile line in the comments section at the top of the file
 uses the wrong file name.


 I'll fix that and add a note about libgranite2 momentarily. On very
 recent distros it may require gee-0.8 also instead of gee-1.0.

 --
 Sergey Shnatsel Davidoff





 --
 Sergey Shnatsel Davidoff

 --
 Mailing list: https://launchpad.net/~elementary-dev-community
 Post to : elementary-dev-community@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~elementary-dev-community
 More help   : https://help.launchpad.net/ListHelp




-- 
Alex Lourie
-- 
Mailing list: https://launchpad.net/~elementary-dev-community
Post to : elementary-dev-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~elementary-dev-community
More help   : https://help.launchpad.net/ListHelp


Re: [Elementary-dev-community] Sample contractor client

2014-01-30 Thread Sergey Shnatsel Davidoff
2014-01-30 Heath Paddock he...@heath-bar.com:

 Does this require libgranite2?


Yes, it does. This is one of the two new symbols I added a while ago; I'm
not sure why they're exclusive to libgranite2 - they're just additions, not
breaks - but looks like they are. Oh well.

libgranite2 should be available on Luna from Daily PPA (or maybe not
anymore - Cody was looking to delete them).

If you can't get your hands on libgranite2... The required function is
trivial, so you can copy-paste it from
http://bazaar.launchpad.net/~elementary-pantheon/granite/granite/view/head:/lib/Services/ContractorProxy.vala#L227and
toy with the example on libgranite1.

Also, the compile line in the comments section at the top of the file uses
 the wrong file name.


I'll fix that and add a note about libgranite2 momentarily. On very recent
distros it may require gee-0.8 also instead of gee-1.0.

-- 
Sergey Shnatsel Davidoff
-- 
Mailing list: https://launchpad.net/~elementary-dev-community
Post to : elementary-dev-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~elementary-dev-community
More help   : https://help.launchpad.net/ListHelp


[Elementary-dev-community] Sample contractor client

2014-01-29 Thread Sergey Shnatsel Davidoff
Hey guys,

I've noticed we have no example for using the Contractor API via Granite
wrapper, so I've hacked one together. It's a simple command-line utility
written in Vala.

The source code is BSD-licensed and can be found at
https://code.launchpad.net/~elementary-pantheon/contractor/contractor-cli

It has no build system as of yet; I'm not sure if it needs one because it's
just an example and not something useful in real life. The compilation is
just one valac line anyway.

I hope this lowers the entry barrier for Contractor adoption.

Cheers,
-- 
Sergey Shnatsel Davidoff
-- 
Mailing list: https://launchpad.net/~elementary-dev-community
Post to : elementary-dev-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~elementary-dev-community
More help   : https://help.launchpad.net/ListHelp