On Wed, 27 Jun 2012 11:03:24 +0100 "Armin K." <kre...@email.com> wrote:
> I've finished compiling libreoffice last night. It took too long (3 > hours including downloading @ 3Mbit/s), but it was worth it. I was sort > of using book's instructions with some modifications for my setup, since > I didn't install every recommended dep. Here are some things I encountered. > > 1. Postgresql is recommended since l-o can use it for some loader, but > postgresql can be completely disabled, thus making it optional. I can't > remember right switch, but just do ./configure --help | grep postgre. I > don't intend to use it nor install it, so I just ommited it entirely. > > 2. There is also mysql dependency for some sql loader, but is disabled > by default. I guess adding mysql to optional deps can't hurt. > > 3. Configure line says to use system hunspell, but hunspell is optional > and not even in the book. Yes, I know that it is easy to install, but I > don't think that switch belongs there by default since hunspell isn't > part of BLFS. > > 4. Install instructions use make install, but then manualy create > desktop files, wrapper scripts and icons. There is "make > distro-pack-install" that installs everything in right place, including > wrapper scripts, icons and desktop files. > > 5. --with-lang="pt-BR" should be left empty by default in the book, > since not everyone wants or needs those translations, and if either one > but default is enabled, it would result in downloading 100+ MB of > translations which not everyone would want. Explanation can remain > there. It did not download that package in my install setup since I left > it empty. > > 6. You can also add librsvg as recommended dep, since l-o can use either > included or system librsvg. --enable-librsvg=system is right switch. > > 7. I guess you could mention --enable-gio and --enable-dbus options, > since those will be present on any setup that builds libreoffice and to > be honest I don't really know their purpose, but I guess they add some > nice functionality. > > 8. gettext is installed in LFS, and there is also an option to use > system gettext instead of bundled one. Ok, I've implemented some of these changes. I decided not to add the --enable-librsvg=system option as the default is --enable-librsvg=auto, IE, configure will use the system librsvg if it's available, which seems a sensible default to me. I've not changed it to use make distro-pack-install as I can't test it. It seems to be hard coded to install into /usr and if I try use that make target with any other prefix it fails. I've done 2 test builds today (at 2 hours each) and I can't be bothered to do any more. If I loved Libre Office I'd keep working at it until it was perfect but as it is the page works, which is good enough for me. If anyone else wants to work on it, please feel free ;) Andy -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page