To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=98680
                 Issue #|98680
                 Summary|help indexing on install of extensions considered harm
                        |ful
               Component|framework
                 Version|DEV300m39
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|code
             Assigned to|ab
             Reported by|rene





------- Additional comments from [email protected] Sat Jan 31 12:17:56 +0000 
2009 -------
[ seen in m40, but the dropdown doesn't have it yet ]

Hi,

In my packaging, I use system-lucene, like any other library where this is
possible. Only the openoffice.org metspackage depends on it, the help-*
packages only recommend it. Rationale for this is that I don't want to force
everyone to install it + its dependencies (see
http://packages.debian.org/sid/liblucene2-java).

Since the indexing of the normal help is done *on the build* not having
liblucene2-java (and thus lucene.jar) present disables the searching in the 
help.

Now, I updated my packges to m40 and tried to install the wiki publisher
extension....
$ sudo dpkg -i 
openoffice.org-wiki-publisher_1.0+OOo3.1.0~dev300m40-0.1pre_all.deb 
(Lese Datenbank ... 261578 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereiten zum Ersetzen von openoffice.org-wiki-publisher
1.0+OOo3.1.0~dev300m40-0.1pre (durch
openoffice.org-wiki-publisher_1.0+OOo3.1.0~dev300m40-0.1pre_all.deb) ...
Removing extension com.sun.wiki-publisher... done.
Entpacke Ersatz für openoffice.org-wiki-publisher ...
Richte openoffice.org-wiki-publisher ein (1.0+OOo3.1.0~dev300m40-0.1pre) ...
Adding extension
/usr/lib/openoffice/share/extension/install/wiki-publisher.oxt........Lucene:
Indexing to directory
'/var/spool/openoffice/uno_packages/cache/uno_packages/nXlE9g_/wiki-publisher.oxt/help/mn/help.idxl'...
Indexing, adding files
.....
Optimizing ...
369 total milliseconds
[...]
 done.

Besides that it clobbers the output of unopkg add(!), this is harmful, because:
let's look now what happens without lucene:

$ sudo dpkg -i 
openoffice.org-wiki-publisher_1.0+OOo3.1.0~dev300m40-0.1pre_all.deb 
Wähle vormals abgewähltes Paket openoffice.org-wiki-publisher.
(Lese Datenbank ... 261503 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacke openoffice.org-wiki-publisher (aus
openoffice.org-wiki-publisher_1.0+OOo3.1.0~dev300m40-0.1pre_all.deb) ...
Richte openoffice.org-wiki-publisher ein (1.0+OOo3.1.0~dev300m40-0.1pre) ...
Adding extension
/usr/lib/openoffice/share/extension/install/wiki-publisher.oxt...An error
occurred while enabling: help
 done.

I don't want to make -wiki-publisher depend on lucene...

Can't the help of the wiki publisher (or any extension later) be pre-indexed in
the build like the normal help? And unopkg doing no business with it
So that the install would not break without lucene2?

Regards,

Rene

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to