[blfs-dev] Libreoffice Report

2012-06-27 Thread Armin K.
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.

Other than theese, everything works great. Good work.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Libreoffice Report

2012-06-27 Thread Andrew Benton
On Wed, 27 Jun 2012 11:03:24 +0100
"Armin K."  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.

Indeed it is a beast, I don't like working on it as it takes so lng
to test any changes and there are so many options.

> 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.

I like Hunspell. It's used by Firefox, Thunderbird, Seamonkey and Libre
Office. They all come with their own copy so they don't require a
system installed Hunspell. As it's not required by anything in the book
and it's just a straight configure, make, make install there's no
compelling reason to add it to the book. But still, if it's used by
several things it makes sense to install it once and not three or four
times. So I'm minded to leave the --with-system-hunspell switch in
place just to draw attention to it

> 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.

That sounds good, I didn't know about that make target

> 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.

Good points.

> 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.

You make lots of good points, although the page works it can clearly be
improved. Do you want to make these changes or should you be studying
for exams?

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Libreoffice Report

2012-06-27 Thread Armin K.
On 06/27/2012 02:02 PM, Andrew Benton wrote:
> On Wed, 27 Jun 2012 11:03:24 +0100
> "Armin K."  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.
>
> Indeed it is a beast, I don't like working on it as it takes so lng
> to test any changes and there are so many options.
>
>> 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.
>
> I like Hunspell. It's used by Firefox, Thunderbird, Seamonkey and Libre
> Office. They all come with their own copy so they don't require a
> system installed Hunspell. As it's not required by anything in the book
> and it's just a straight configure, make, make install there's no
> compelling reason to add it to the book. But still, if it's used by
> several things it makes sense to install it once and not three or four
> times. So I'm minded to leave the --with-system-hunspell switch in
> place just to draw attention to it
>

I have hunspell too, and it's dictionaries but didn't we agree once that 
we add required and recommended deps to the book, and if I'm not wrong, 
explicitly using system one makes it at least recommended. So either add 
it in the book (it could be used by other packages too) or remove switch 
from default line and leave it in explanations.

>> 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.
>
> That sounds good, I didn't know about that make target
>
>> 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.
>
> Good points.
>
>> 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.
>
> You make lots of good points, although the page works it can clearly be
> improved. Do you want to make these changes or should you be studying
> for exams?
>
> Andy
>

I should be studying, but I feel too lazy for anything today.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Libreoffice Report

2012-06-27 Thread Bruce Dubbs
Armin K. wrote:
> On 06/27/2012 02:02 PM, Andrew Benton wrote:
>> On Wed, 27 Jun 2012 11:03:24 +0100
>> "Armin K."  wrote:

> I have hunspell too, and it's dictionaries but didn't we agree once that 
> we add required and recommended deps to the book, and if I'm not wrong, 
> explicitly using system one makes it at least recommended. So either add 
> it in the book (it could be used by other packages too) or remove switch 
> from default line and leave it in explanations.

I think that has been the general policy.  I agree that we should do one 
or the other.

-- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Libreoffice Report

2012-06-28 Thread Tobias Gasser
Armin K. schrieb:
> 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.

as i've already written in blfs-support (06/23), i am not able to build
libreoffice at all...


if i specify --with-lang='de fr' or --with-lang='de' make fails


if i don't specify --with-lang, make is sucessfull, but make install fails.


do you have any hint for me?

thanks
tobias
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Libreoffice Report

2012-06-30 Thread Andrew Benton
On Wed, 27 Jun 2012 11:03:24 +0100
"Armin K."  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