On 23/05/14 09:07, Ken Moffat wrote:
> On Thu, May 22, 2014 at 09:06:02PM +1000, Wayne Blaszczyk wrote:
>> On 22/05/14 09:47, Ken Moffat wrote:
>>> When I first started to use libreoffice I think the book mentioned
>>> about saving the "non-optional" downloads that it does at the start
>>> of 'make', such as
>>> 0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz
>>> and
>>> libvisio-0.0.31.tar.bz2
>>> with 4.2.3.3 and my current config settings.
>>>
> [ snip ]
>>
>> I used to do a similar thing to what you mentioned but using a single
>> tarball rather than a directory for all the source files.
>>
>> I now preload everything before a build. I have a
>> --disable-fetch-external switch which makes sure that there are no
>> unexpected on the fly downloads. This way a build will not fail due to
>> an internet/network problem. I've attached my build file which will give
>> you an idea on the process.
>>
>> Wayne.
>>
>
> Interesting. Your script is so different from what I'm used to
> (all those tags) that I won't pretend to understand what back-end
> makes it work (it would be too difficult for this "bear of little
> brain", but I understand the general principles. You also have a
> lot more system files than are in BLFS, and from the name of
> --with-system-altlinuxhyph I wonder if BLFS should be adding any of
> these as recommended (to avoid internal versions) or optional ?
>
> If you use --disable-fetch-external, is there any easy way to
> download the tarballs on the first build, or do you have to let it
> download and then (after preserving them) add that switch to
> subsequent builds ?
>
> ĸen
>
No, there is no easy way to download them other than what you have
mentioned earlier. My build scripts download (if necessary) anything
that is listed in the download section prior to a build, so its not an
issue for me. My goal was to have all dependencies system installed, but
I stopped short of the fonts that libreoffice required.
Previously (without --disable-fetch-external) , I use to have:
if [ -f ../libreoffice-src-4.1.3.2.tar ];then
tar -xvf ../libreoffice-src-4.1.3.2.tar
fi
prior to the autogen command, and
if [ ! -f ../libreoffice-src-4.1.3.2.tar ];then
tar -cvf ../libreoffice-src-4.1.3.2.tar src/*.{bz2,gz,tgz,zip}
fi
after the make command.
Wayne.
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page