Re: [Elementary-dev-community] Bake Build System

2013-09-21 Thread Jose Luis Navarro
Hi, just an idea. Why not add this feature into bake?, something like that bake new project name=sky On Sep 17, 2013 10:39 PM, "Albert Palacios" wrote: > Hi, > > Julian suggested a new template without using the word 'template', so here > it is. Now it uses "HelloWorld" as a project name and it

Re: [Elementary-dev-community] Bake Build System

2013-09-17 Thread Albert Palacios
Hi, Julian suggested a new template without using the word 'template', so here it is. Now it uses "HelloWorld" as a project name and it can be easily changed using the script 'set_project_name.sh'. For example, to create a new application named 'sky': - Decompress the template - mv helloworld sk

Re: [Elementary-dev-community] Bake Build System

2013-09-16 Thread Julian Unrrein
I've taken a look at Bake, and I'm liking it so far! As soon as optional dependencies support is added ( https://bugs.launchpad.net/bake/+bug/1105831), I will try to get Files built with it. 2013/9/14 Julien > Hey guys, > > I've lately been toying with a relatively recent build system called *

Re: [Elementary-dev-community] Bake Build System

2013-09-15 Thread Robert Ancell
Awesome to hear good news on Bake! Thanks Julien and the other Elementaryites for trying it out; your feedback is very useful. As many have pointed out, Bake is quite new and progress might seem to be a little slow. This is two things really: 1. I really want to do a good job of it (no point addin

Re: [Elementary-dev-community] Bake Build System

2013-09-15 Thread Albert Palacios
Hi, Thanks to Julien's proposal I have created and "empty" project template (the one attached it to this email). I hope it helps someone to begin with new projects. This project uses the word "template" not only in filenames but also inside files. In the project there is one script named 'set_pr

Re: [Elementary-dev-community] Bake Build System

2013-09-15 Thread Sergey "Shnatsel" Davidoff
2013/9/15 Julien > sudo apt-get install maki > I wonder if you can declare runtime dependencies in Bake, such as Maki in this case. -- Sergey "Shnatsel" Davidoff OS architect @ elementary -- Mailing list: https://launchpad.net/~elementary-dev-community Post to : elementary-dev-community@l

Re: [Elementary-dev-community] Bake Build System

2013-09-15 Thread Julien
sudo apt-get install maki On Sun, Sep 15, 2013 at 1:47 PM, Albert Palacios wrote: Hi Julien, Not working yet :s, the "Software Center" didn't show the icon properly, after installing the deb: [_LOG_LEVEL_INFO 13:46:24.346737] Application.vala:77: Cable version: 0.1 [_LOG_LEVEL_INFO 13:46

Re: [Elementary-dev-community] Bake Build System

2013-09-15 Thread Julien
Seems normal. Still not working? Try what shnatsel said and run bake release-deb and then install the .deb file. On Sun, Sep 15, 2013 at 1:28 PM, Albert Palacios wrote: sudo bake uninstall sudo bake clean sudo bake install >> install_out.txt I attached the out. albert@albertPC:~/Projects/

Re: [Elementary-dev-community] Bake Build System

2013-09-15 Thread Sergey "Shnatsel" Davidoff
I can confirm that at least the generated .deb's work as expected. "make install" and "bake install" are evil and you should forget they exist if you don't like hunting totally mysterious bugs for hours that ultimately turn out to be stale versions of files you long forgot existed. -- Sergey "Shn

Re: [Elementary-dev-community] Bake Build System

2013-09-15 Thread Julien
Those options.xxx variables are not defined in the Recipe files, but have default values, in this case /usr/share Anyway, can you post bake's output on pastebin? First uninstall and clean, then install again. Also, please run $ find /usr/share/glib-2.0/schemas/ | grep cable On Sun, Sep 15, 2

Re: [Elementary-dev-community] Bake Build System

2013-09-15 Thread Julien
Bake should output something like this: $ sudo bake install [Configuring]   install-directory - / (default)   system-config-directory - /etc (default)   system-binary-directory - /sbin (default)   system-library-directory - /lib (default)   resource-directory - /usr (default)   binary-directory -

Re: [Elementary-dev-community] Bake Build System

2013-09-15 Thread Julien
Bake installs the gsettings schema automatically. Did you install cable like I described? On Sun, Sep 15, 2013 at 12:43 PM, Albert Palacios wrote: Hi, I am trying to compile it, I want to begin a new application and I will use your bake structure as an example. But I get: albert@albert-Ma

Re: [Elementary-dev-community] Bake Build System

2013-09-15 Thread Julien
Here's a branch for building Terminal with bake. The Recipe files are almost the same, I just had to adjust the version, gettext-package, sources-files and a few other details. https://code.launchpad.net/~julien-spautz/pantheon-terminal/bake On Sun, Sep 15, 2013 at 1:08 AM, Julien wrote: Hey

Re: [Elementary-dev-community] Bake Build System

2013-09-15 Thread Sergey "Shnatsel" Davidoff
Julien, thanks for stepping up to investigate Bake. It had to be done :) I believe migrating to Bake would be very beneficial since it lowers the entry barrier and lets developers focus on code. I'd like to hear from developers on the matter, though. I do have some gripes with the current state o

Re: [Elementary-dev-community] Bake Build System

2013-09-15 Thread Sergey "Shnatsel" Davidoff
> > There are a lot of build system out there. This one seems cool and clean > but it's probably too bleeding edge. I suggest you to take a look at waf. > Lots of project are switching to it. > We've been through WAF already. Oh, what a nightmare it was! WAF is very basic and doesn't have even get

Re: [Elementary-dev-community] Bake Build System

2013-09-14 Thread Daniel Foré
I know that Robert also has built bake with the intention of having it work from a GUI IDE as well as with the intention of having it integrate into launchpad. He has an excellent track record if that means anything :) Best Regards, Daniel Foré elementaryos.org On Sat, Sep 14, 2013 at 5:08 PM

Re: [Elementary-dev-community] Bake Build System

2013-09-14 Thread Julien
I haven't used waf yet, do you know of any good resources? From what I've seen after a quick web search it seems to be just as verbose as cmake or even make. The point of bake is that it is so stupidly simple to use, and also has special support for vala. It makes things like installing deskt

Re: [Elementary-dev-community] Bake Build System

2013-09-14 Thread Cody Garver
"Debian considers Waf problematic due to being binary-distributed On Windows its pkg-config handling leaves to be desired" https://bugs.launchpad.net/midori/+bug/1211909 On Sat, Sep 14, 2013 at 6:50 PM, Daniele S. wrote: > There are a lot of build system out there. This one seems cool and clean

Re: [Elementary-dev-community] Bake Build System

2013-09-14 Thread Daniele S.
There are a lot of build system out there. This one seems cool and clean but it's probably too bleeding edge. I suggest you to take a look at waf. Lots of project are switching to it. Daniele Il giorno 15/set/2013 01:08, "Julien" ha scritto: > Hey guys, > > I've lately been toying with a relativ

[Elementary-dev-community] Bake Build System

2013-09-14 Thread Julien
Hey guys, I've lately been toying with a relatively recent build system called bake. It was created and is maintained by Robert Ancell and you can find the source code here: https://launchpad.net/bake. There isn't much documentation out there, but the manual will teach you most important thi