[Libreoffice] feature/rip-build-repo - branch for removal of the need of the 'build' repo

Norbert Thiebaud nthiebaud at gmail.com
Sun Nov 21 01:07:06 PST 2010


kendy,

here are the patches I have so far on the rip-build-repo branch

0001: the sed to remove bootstrap from the git url and replace it by
one of the other repos name didn't work on MacOS... I was too lazy to
figure-out why, so I used bash varaible substitution instead :-)

0002: the ./dowmload script in bootstrap is actually what the old
fetch_tarball.sh used to be. so bootstrap need now to call the former,
since the later doesn't exist anymore

0003: have the download script call g clone when the 'clone' directory
does not exist. 0002+0003 combined means that 'make' after autogen.sh
is all that is needed. make will call ./bootstrap, which will do the g
clone and donwload.

0004: modify the instruction displayed at the end of autogen to
reflect the changes introduced by 0002+0003

0005: Not strictly necessary for the purpose of this branch: added a
bin directory in bootstrap and a few script to implement the creation
of alternate workdir. This is basically transposing to the 'bootstrap'
build method, the scrips described by kohei in his blog.
in more details:
git-new-workdir is a copy of the one that was found in the build repo.
this is there to provide a fallback in case the local git install does
not have it
git-ps1 is a script that return the name of the current branch.
repo-list contains the list of the repo (excluding bootstrap). this is
to centralized this list and avoid having to maintain it at multiple
place in these utility scrips. (I need to modify g to use that file)
mkworkdir: is a script to create a workdir, derived from kohei script.
I adapted it to the bootstrap build, and changed the arguments to
allow for default value when sensible. (for instance: the source git
to use is derived from the working directory, if you are in a
bootstrap git repo. the target directory can be omitted if a specific
environment variable has been set otherwise. I also added the ability
to use a name other than the branch name for the name of the workdir.

not finished yet but in progress: a tinbuild/buildbot scrip adapted to
a bootstrap build.


Norbert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-the-determination-of-the-remote-repo-url-work-o.patch
Type: application/octet-stream
Size: 929 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101121/be19c209/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-in-the-bootstrap-based-build-fetch_tarball-is-rea.patch
Type: application/octet-stream
Size: 674 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101121/be19c209/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-make-the-download-step-clone-the-others-git-repos.patch
Type: application/octet-stream
Size: 621 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101121/be19c209/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-correct-the-instructions-.-download-and-.-g-clone-ar.patch
Type: application/octet-stream
Size: 792 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101121/be19c209/attachment-0009.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-add-some-utility-scripts-to-create-new-workdir.patch
Type: application/octet-stream
Size: 7456 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101121/be19c209/attachment-0010.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-adjust-.gitignore-for-bootstrap-build.patch
Type: application/octet-stream
Size: 742 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101121/be19c209/attachment-0011.obj>


More information about the LibreOffice mailing list