[gentoo-user] Re: Where are Libreoffice templates?

2011-05-06 Thread Grant Edwards
On 2011-05-05, Grant Edwards grant.b.edwa...@gmail.com wrote:
 On 2011-05-05, Paul Hartman paul.hartman+gen...@gmail.com wrote:

 It finished emerging, and everything works exactly as expected. The
 new templates (and old ones) all show up inside the program
 automatically, no problems at all. The Sun templates are shown when I
 do an equery f:

 $ equery f libreoffice | grep Sun_ODF_Template

 [115 files]

 Nothing here:

   $ equery f libreoffice | fgrep Sun 
   $ 

   $ equery f libreoffice | fgrep ODF
   $ 

 I definitely built with templates and linguas_en_US enabled:

   $ equery uses libreoffice | fgrep +
   +cups
   +gtk
   +linguas_en_US
   +templates

 Maybe I'll trying emerging it again overnight tonight...

I re-emerged with the java USE flag enabled, and both the wizards and
the old Sun templates showed up this time.  Apparently the Sun ODF
templates don't get installed without the java flag?  That doesn't
really make any sense, but that's what seems to happen.

-- 
Grant Edwards   grant.b.edwardsYow! Are you still an
  at   ALCOHOLIC?
  gmail.com




[gentoo-user] Re: Where are Libreoffice templates?

2011-05-05 Thread Grant Edwards
On 2011-05-05, Paul Hartman paul.hartman+gen...@gmail.com wrote:
 On Thu, May 5, 2011 at 11:40 AM, Grant Edwards grant.b.edwa...@gmail.com 
 wrote:

 I emerged libreoffice yesterday with the templates USE flag enabled,
 but I can't figure out where the templates are installed.

 The only ones that libreoffice is able to find are

 ?Project Proposal
 ?Standard Resume
 ?Introducing a New Product
 ?Recommendation of a Strategy

 I don't know about the Sun templates in particular,

They're a set of staroffice/openoffice templates that Sun made
publically available.

 but most of the LibreOffice templates actually come in the form of
 Wizards. Open a new document and then click on File - Wizards on the
 menu to access them.

I also tried that -- and got nothing.  None of the wizards do anything
at all.

 You could still manually install the Sun templates using the
 LibreOffice Extension Manager function.

I knew that, but according to the documenation enabling with the
templates USE flag was supposed to have done that.  Unless I don't
understand what Enable installation of Sun templates is supposed to
mean.

-- 
Grant Edwards   grant.b.edwardsYow! Remember, in 2039,
  at   MOUSSE  PASTA will
  gmail.combe available ONLY by
   prescription!!




Re: [gentoo-user] Re: Where are Libreoffice templates?

2011-05-05 Thread Paul Hartman
On Thu, May 5, 2011 at 1:35 PM, Grant Edwards grant.b.edwa...@gmail.com wrote:
 On 2011-05-05, Paul Hartman paul.hartman+gen...@gmail.com wrote:
 On Thu, May 5, 2011 at 11:40 AM, Grant Edwards grant.b.edwa...@gmail.com 
 wrote:

 I emerged libreoffice yesterday with the templates USE flag enabled,
 but I can't figure out where the templates are installed.

 The only ones that libreoffice is able to find are

 ?Project Proposal
 ?Standard Resume
 ?Introducing a New Product
 ?Recommendation of a Strategy

 I don't know about the Sun templates in particular,

 They're a set of staroffice/openoffice templates that Sun made
 publically available.

 but most of the LibreOffice templates actually come in the form of
 Wizards. Open a new document and then click on File - Wizards on the
 menu to access them.

 I also tried that -- and got nothing.  None of the wizards do anything
 at all.

Hmm, they work fine on my system, using Libreoffice 3.3.2 (with
-templates). I get the Fruit Depot letterhead etc. :)

Looking at the config, I think it may only install the sun template
pack for supported languages that are also in your LINGUAS. The sun
packs are in en_US de it fr es hu.

In my case, it is set to:

LINGUAS=en en_US

And when emerging LibreOffice with +templates I see

checking for Sun Professional Template Pack integration (only
supported languages displayed)... en-US

I'll have to wait another 30+ minutes for it to finish before I can
see if it actually did anything. But if you're using a different
LINGUAS (or none at all?) then perhaps it's a clue meanwhile.



[gentoo-user] Re: Where are Libreoffice templates?

2011-05-05 Thread Grant Edwards
On 2011-05-05, Paul Hartman paul.hartman+gen...@gmail.com wrote:
 On Thu, May 5, 2011 at 1:35 PM, Grant Edwards grant.b.edwa...@gmail.com 
 wrote:
 On 2011-05-05, Paul Hartman paul.hartman+gen...@gmail.com wrote:
 On Thu, May 5, 2011 at 11:40 AM, Grant Edwards grant.b.edwa...@gmail.com 
 wrote:

 I emerged libreoffice yesterday with the templates USE flag enabled,
 but I can't figure out where the templates are installed.

 The only ones that libreoffice is able to find are

 ?Project Proposal
 ?Standard Resume
 ?Introducing a New Product
 ?Recommendation of a Strategy

 I don't know about the Sun templates in particular,

 They're a set of staroffice/openoffice templates that Sun made
 publically available.

 but most of the LibreOffice templates actually come in the form of
 Wizards. Open a new document and then click on File - Wizards on the
 menu to access them.

 I also tried that -- and got nothing. ?None of the wizards do
 anything at all.

 Hmm, they work fine on my system, using Libreoffice 3.3.2 (with
 -templates). I get the Fruit Depot letterhead etc. :)

I didn't enable Java support in Libreoffice, so that may be why the
wizards don't work.

 Looking at the config, I think it may only install the sun template
 pack for supported languages that are also in your LINGUAS. The sun
 packs are in en_US de it fr es hu.

 In my case, it is set to:

 LINGUAS=en en_US

Mine is en_US.  There are quite a few .ott files (329 to be exact),
but only two of them aren't underneath a directory named wizard:

  $ equery files libreoffice | fgrep .ott | wc -l
  329

  $ equery files libreoffice | fgrep .ott | grep -v wizard
  /usr/lib/libreoffice/basis3.3/share/template/en-US/forms/resume.ott
  
/usr/lib/libreoffice/basis3.3/share/template/en-US/officorr/project-proposal.ott

It's sort of sad when you can't produce a business letter template
that's easy enough to use that it doesn't require clippy to step you
through it.
  
-- 
Grant Edwards   grant.b.edwardsYow! I joined scientology
  at   at a garage sale!!
  gmail.com




Re: [gentoo-user] Re: Where are Libreoffice templates?

2011-05-05 Thread Paul Hartman
On Thu, May 5, 2011 at 2:29 PM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Thu, May 5, 2011 at 1:35 PM, Grant Edwards grant.b.edwa...@gmail.com 
 wrote:
 On 2011-05-05, Paul Hartman paul.hartman+gen...@gmail.com wrote:
 On Thu, May 5, 2011 at 11:40 AM, Grant Edwards grant.b.edwa...@gmail.com 
 wrote:

 I emerged libreoffice yesterday with the templates USE flag enabled,
 but I can't figure out where the templates are installed.

 The only ones that libreoffice is able to find are

 ?Project Proposal
 ?Standard Resume
 ?Introducing a New Product
 ?Recommendation of a Strategy

 I don't know about the Sun templates in particular,

 They're a set of staroffice/openoffice templates that Sun made
 publically available.

 but most of the LibreOffice templates actually come in the form of
 Wizards. Open a new document and then click on File - Wizards on the
 menu to access them.

 I also tried that -- and got nothing.  None of the wizards do anything
 at all.

 Hmm, they work fine on my system, using Libreoffice 3.3.2 (with
 -templates). I get the Fruit Depot letterhead etc. :)

 Looking at the config, I think it may only install the sun template
 pack for supported languages that are also in your LINGUAS. The sun
 packs are in en_US de it fr es hu.

 In my case, it is set to:

 LINGUAS=en en_US

 And when emerging LibreOffice with +templates I see

 checking for Sun Professional Template Pack integration (only
 supported languages displayed)... en-US

 I'll have to wait another 30+ minutes for it to finish before I can
 see if it actually did anything. But if you're using a different
 LINGUAS (or none at all?) then perhaps it's a clue meanwhile.


It finished emerging, and everything works exactly as expected. The
new templates (and old ones) all show up inside the program
automatically, no problems at all. The Sun templates are shown when I
do an equery f:

$ equery f libreoffice | grep Sun_ODF_Template
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/LICENSE
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/META-INF
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/META-INF/manifest.xml
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/Paths.xcu
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/description.xml
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/educate
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/educate/diploma.ott
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/educate/paper.ott
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/educate/scientfc.otp
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/educate/timetabl.ots
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/groupuinames.xml
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/layout
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/layout/lyt-ambassador.otp
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/layout/lyt-ambition.otp
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/layout/lyt-analysis.otp
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/layout/lyt-bluebox.otp
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/layout/lyt-bluecorn.otp
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/layout/lyt-bluefluid.otp
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/layout/lyt-bluegray.otp
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/layout/lyt-blueline.otp
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/layout/lyt-blueweaver.otp
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/layout/lyt-border.otp
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/layout/lyt-circles.otp
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/layout/lyt-confetti.otp
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/layout/lyt-connoisseur.otp
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/layout/lyt-diagonal.otp
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/layout/lyt-diamond.otp
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/layout/lyt-elementary.otp
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/layout/lyt-fluidity.otp
/usr/lib64/libreoffice/share/extensions/Sun_ODF_Template_Pack_en-US/template/layout/lyt-global.otp

[gentoo-user] Re: Where are Libreoffice templates?

2011-05-05 Thread Grant Edwards
On 2011-05-05, Paul Hartman paul.hartman+gen...@gmail.com wrote:

 It finished emerging, and everything works exactly as expected. The
 new templates (and old ones) all show up inside the program
 automatically, no problems at all. The Sun templates are shown when I
 do an equery f:

 $ equery f libreoffice | grep Sun_ODF_Template

 [115 files]

Nothing here:

  $ equery f libreoffice | fgrep Sun 
  $ 

  $ equery f libreoffice | fgrep ODF
  $ 

I definitely built with templates and linguas_en_US enabled:

  $ equery uses libreoffice | fgrep +
  +cups
  +gtk
  +linguas_en_US
  +templates

Maybe I'll trying emerging it again overnight tonight...
  
-- 
Grant Edwards   grant.b.edwardsYow! How do I get HOME?
  at   
  gmail.com




Re: [gentoo-user] Re: Where are Libreoffice templates?

2011-05-05 Thread Paul Hartman
On Thu, May 5, 2011 at 2:59 PM, Grant Edwards grant.b.edwa...@gmail.com wrote:
 Hmm, they work fine on my system, using Libreoffice 3.3.2 (with
 -templates). I get the Fruit Depot letterhead etc. :)

 I didn't enable Java support in Libreoffice, so that may be why the
 wizards don't work.

Ah, I think you're right. I read recently that they are working on
eliminating the reliance on Java (converting the wizards to Python,
IIRC) but it's not there yet.

These are my active USE flags for libreoffice:

USE=cups dbus gtk java kde ldap nsplugin opengl templates

 Looking at the config, I think it may only install the sun template
 pack for supported languages that are also in your LINGUAS. The sun
 packs are in en_US de it fr es hu.

 In my case, it is set to:

 LINGUAS=en en_US

 Mine is en_US.  There are quite a few .ott files (329 to be exact),
 but only two of them aren't underneath a directory named wizard:

  $ equery files libreoffice | fgrep .ott | wc -l
  329

$ equery files libreoffice | fgrep .ott | wc -l
363

  $ equery files libreoffice | fgrep .ott | grep -v wizard
  /usr/lib/libreoffice/basis3.3/share/template/en-US/forms/resume.ott
  /usr/lib/libreoffice/basis3.3/share/template/en-US/officorr/project-proposal.ott

Mine shows those two, plus all the Sun ones. Very strange!

 It's sort of sad when you can't produce a business letter template
 that's easy enough to use that it doesn't require clippy to step you
 through it.

The wizard is sort of a template-chooser-builder in the first step or
two, you give it your specifications (do you want a logo? etc) and
then it builds the blank template. You can skip the pages where it
pre-fills in data with your name and address etc. I've not used it
enough to say if it's good or bad. I suppose once you've created the
layout that you like from the wizard, you could save it as a normal
template.

It doesn't look like the ebuild does anything other than enable the
--with-sun-templates configure option, so any strange behavior beyond
that is in the LO build system itself, I guess. But if the templates
USE flag is dependent on some other condition, perhaps the ebuild
should test for that to prevent this kind of thing.



[gentoo-user] Re: Where are Libreoffice templates?

2011-05-05 Thread Grant Edwards
On 2011-05-05, Paul Hartman paul.hartman+gen...@gmail.com wrote:

 ?$ equery files libreoffice | fgrep .ott | grep -v wizard
 ?/usr/lib/libreoffice/basis3.3/share/template/en-US/forms/resume.ott
 ?/usr/lib/libreoffice/basis3.3/share/template/en-US/officorr/project-proposal.ott

 Mine shows those two, plus all the Sun ones. Very strange!

[...]

 It doesn't look like the ebuild does anything other than enable the
 --with-sun-templates configure option, so any strange behavior beyond
 that is in the LO build system itself, I guess. But if the templates
 USE flag is dependent on some other condition, perhaps the ebuild
 should test for that to prevent this kind of thing.

I'm going to re-emerge it overnight tonight and keep emerge output so
I can sort through it tomorrow.  I've no actual need to create a
document at the moment, but I was curious to see the new professional
quality templates.  When I couldn't find those (I'm guessing they
require Java), I started looking for the old Sun ones, and couldn't
find them either.  Maybe I should order a new ribbon for my
typewriter...

-- 
Grant Edwards   grant.b.edwardsYow! I am deeply CONCERNED
  at   and I want something GOOD
  gmail.comfor BREAKFAST!