1
edit
Changes
Added deliverable for Week8 release
== Name ==
Cairo on Buildbot == Description == Automate is a project to build the Cairo builds graphics library in an automated manner with testing suites on Buildbot.Automate Cairo builds with buildbot, and add in support for running test suites with buildbot.be able to run tests and performance tests
== Leader(s) ==
* [http://blog.vlad1.com/ Vladimir Vukicevic]
* Ben Hearshum
== Release ==
<blockquote>
=== Feb. 15th 29th ==='''Where will I put code and screenshots?'''* The steps to build on Mac have been added to [http://svn2.assembla.com/svn/Seneca_Hera_Try_Server_Setup/buildbot-configs/ http://svn2.assembla.com/svn/Seneca_Hera_Try_Server_SetupSeneca Hera Try Server Setup/buildbot-configs/] - Buildbot configs and the blog post explaining a lot of details about how much has been done is here: (look for "cairo")* [http://matrixarmenzg.senecacblogspot.on.cacom/%7Eazambran2008/mozilla02/armenzg-sess14-building-cairo/ http://matrix.senecac.-on-mac-no.ca/%7Eazambran/mozilla/cairo/] html Sess14- Archived files* [http://matrix.senecac.Buildbot on.ca/%7Eazambran/mozilla/screenshots/ http://matrix.senecac.on.ca/%7Eazambran/mozilla/screenshots/Cairo] - Screenshots (look for "cairo" in the filenames)
== Tasks ==
<!-- Task --> <td>Write the steps for Mac</td>
<!-- Details --> <td></td>
<!-- Priority --> <td style="background-color: orange; text-align: center; font-weight: bold; font-size: bigger">Med</td>
<!-- Contributors--> <td style="text-align: center;">cworth #cairo</td>
<!-- Status --> <td style="background-color: green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
<!-- Target --> <td style="text-align: center;">29 Feb</td>
<!-- Link --> <td>[http://armenzg.blogspot.com/2008/02/armenzg-sess14-building-cairo-on-mac-no.html Sess14-Buildbot on Cairo]</td>
</tr>
<tr style="height:42px;">
<!-- Task --> <td>Write the steps for Windows</td>
<!-- Details --> <td></td>
<!-- Priority --> <td style="background-color: orange; text-align: center; font-weight: bold; font-size: bigger">Med</td>
<!-- Contributors--> <td style="text-align: center;"></td>
<!-- Status --> <td style="background-color: white; text-align: center; font-weight: bold; font-size: bigger"> </td>
<!-- Target --> <td style="text-align: center;">7 Mar</td>
<!-- Link --> <td> </td>
</tr>
<tr style="height:42px;">
<!-- Task --> <td>Write cairobuild.py file</td>
<!-- Details --> <td>This will centralize and group steps together as in [http://mxr.mozilla.org/mozilla/source/tools/buildbot-configs/testing/unittest/mozbuild.py mozbuild.py]</td>
<!-- Priority --> <td style="background-color: orange; text-align: center; font-weight: bold; font-size: bigger">Med</td>
<!-- Contributors--> <td style="text-align: center;"></td>
<!-- Status --> <td style="background-color: white; text-align: center; font-weight: bold; font-size: bigger"> </td>
<!-- Target --> <td style="text-align: center;"> 7 Mar</td>
<!-- Link --> <td> </td>
</tr>
<tr style="height:42px;">
<!-- Task --> <td>Find out how to use PKG_CONFIG_PATH</td>
<!-- Details --> <td>* PKG_CONFIG_PATH=(the --prefix value)+"/lib/pkgconfig"(where the .pc file is)</td>
<!-- Priority --> <td style="background-color: orange; text-align: center; font-weight: bold; font-size: bigger">Med</td>
<!-- Contributors--> <td style="text-align: center;"></td>
<!-- Status --> <td style="background-color: whitegreen; text-align: center; font-weight: bold; font-size: bigger"> Fixed</td><!-- Target --> <td style="text-align: center;"> Feb 29</td>
<!-- Link --> <td> </td>
</tr>
== Problems ==
* A lot of problems when trying to build on MacOS are mentioned here: [http://armenzg.blogspot.com/2008/02/armenzg-sess14-building-cairo-on-mac-no.html Sess14-Buildbot on Cairo]
* <strike>The first time the command GIT CLONE works because there is nothing before that execution but the second run should be an update instead of a checkout. What could be the proper GIT command to have as the step?</strike>
I have decided to remove the checked out code and checkout the trunk before each build
Used ./configure --prefix=/path/to/somewhere to avoid building somewhere where I require to have sudo privileges
== Project News Notes =='''These notes are for learning purposes and documentation'''<blockquote>=== Feb. 15th release==='''Where will I put code and screenshots?'''* [http://svn2.assembla.com/svn/Seneca_Hera_Try_Server_Setup/buildbot-configs/ http://svn2.assembla.com/svn/Seneca_Hera_Try_Server_Setup/buildbot-configs/] - Buildbot configs (look for "cairo")* [http://matrix.senecac.on.ca/%7Eazambran/mozilla/cairo/ http://matrix.senecac.on.ca/%7Eazambran/mozilla/cairo/] - Archived files* Feb 16 2008 [http://matrix.senecac.on.ca/%7Eazambran/mozilla/screenshots/ http://matrix.senecac.on.ca/%7Eazambran/mozilla/screenshots/] - Screenshots (look for "cairo" in the filenames) '''What has been released this week:'''* [http://svn2.assembla.com/svn/Seneca_Hera_Try_Server_Setup/buildbot-configs/cairo-one-ubuntu-slave/master.cfg master.cfg] - Updated It builds Cairo project page and first proper releaseruns automated tests on one linux machine* [http://matrix.senecac.on.ca/%7Eazambran/mozilla/screenshots/buildbot-status-cairo.jpg buildbot-status-cairo.jpg] - After build #8 (no tests at this point)* Feb [http://matrix.senecac.on.ca/%7Eazambran/mozilla/cairo/Buildbot:Cairo-results.tar.gz Buildbot:Cairo-results.tar.gz] - After build #11 2008 (tests were run) '''Steps to meet requirements'''* sudo apt-get install buildbot* sudo apt-get install git- core //This is to get the version control that cairo uses, it is called GIT '''Steps are written but some issues have to fixedmake it happen'''* Jan 19 2008 buildbot create- Project Proposal from Vladimir Vukicevicmaster ~/cairomaster* Put the [http://svn2.assembla.com/svn/Seneca_Hera_Try_Server_Setup/buildbot-configs/cairo-one-ubuntu-slave/master.cfg master.cfg] to the the created master* buildbot create-slave ~/cairoslave localhost:9876 cairoslave* buildbot start ~/cairomaster* buildbot start ~/cairoslave* firefox http://localhost:8020 //This is to be able to see the results of the build</blockquote>
<blockquote>
=== Build Cairo manually ===