Re: [REVIEW 3-6] fdo#53006 Force reinstall of all bundled extensions on upgrade

2012-08-09 Thread Stephan Bergmann

On 08/03/2012 06:10 PM, Stephan Bergmann wrote:

On 08/03/2012 11:24 AM, Stephan Bergmann wrote:

http://cgit.freedesktop.org/libreoffice/core/commit/?id=81fd6b084b0f3c0eb5a97c77592f5ceb21d2dfb1

fdo#53006 Force reinstall of all bundled extensions on upgrade are the
two commits from master to get this fixed, which I would love to see
backported to libreoffice-3-6.


Please do *not* backport that one to libreoffice-3-6 for now.  I just
got an idea that might obsolete it...


Finally got a new fix out, see 
https://bugs.freedesktop.org/show_bug.cgi?id=53006#c17 for details. 
With the one old commit from this thread still relevant, that means 
please review the three master commits


http://cgit.freedesktop.org/libreoffice/core/commit/?id=96f28626f0ac540fd0d0e129d00f3942bd64235b 
Check for ComponentPackageImpl::isRegistered_ in the current rdb


http://cgit.freedesktop.org/libreoffice/core/commit/?id=6c6358a6822d3562b9b8c7668a7d60d6c644dfe8 
Related fdo#53006: Do not instantiate service manager too early


http://cgit.freedesktop.org/libreoffice/core/commit/?id=5300f6f711c2167931d45248c1b72dbce3a7df38 
fdo#53006: Remove user/extensions/bundled cache after upgrade


for backporting to libreoffice-3-6.  (The last one needs one trivial 
tweak there, adding an rtl:: prefix to a new occurrence of OString 
at desktop/soruce/app/app.cxx:33.)


...and this time, I /did/ test on Windows 3.6, too. -- Lets keep fingers 
crossed...


Petr, Björn, Rene:  With that fixed, prereg-affected Linux distros can 
probably undo 
https://build.opensuse.org/package/view_file?file=force-refresh-of-bundled-extension-cache.diffpackage=libreofficeproject=LibreOffice%3AUnstable 
File force-refresh-of-bundled-extension-cache.diff of Package 
libreoffice or its moral equivalent (if any) again.


Thanks,
Stephan
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[REVIEW 3-6] fdo#53006 Force reinstall of all bundled extensions on upgrade

2012-08-03 Thread Stephan Bergmann
The LO 3.6.0 RC4 debacle that started with fdo#51252's band-aid fix of 
no longer copying shared/prereg/bundled data culminates in various 
bundled extensions not working after an upgrade, as discussed in 
https://bugs.freedesktop.org/show_bug.cgi?id=53006 Autocorrection TWo 
INitial CApitals does not work because of bundled extensions problem 
and in the Various problems with bundled extensions item at 
https://wiki.documentfoundation.org/index.php?title=ReleaseNotes/3.6#Most_annoying_bugs.


(How much a platform is affected seems to vary due to various factors. 
Windows appears to be affected severely; Mac OS X a little less, as 
spellchecking appears to work even though the bundled dictionary 
extensions are affected in general. Packages for Fedora will be 
unaffected completely, as it does not make use of shared/prereg/bundled 
at all; packages for OpenSUSE will likely be unaffected due to 
https://build.opensuse.org/package/view_file?file=force-refresh-of-bundled-extension-cache.diffpackage=libreofficeproject=LibreOffice%3AUnstable 
File force-refresh-of-bundled-extension-cache.diff of Package 
libreoffice.)


Anyway, 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=96f28626f0ac540fd0d0e129d00f3942bd64235b 
Check for ComponentPackageImpl::isRegistered_ in the current rdb and 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=81fd6b084b0f3c0eb5a97c77592f5ceb21d2dfb1 
fdo#53006 Force reinstall of all bundled extensions on upgrade are the 
two commits from master to get this fixed, which I would love to see 
backported to libreoffice-3-6.


Sorry for all the trouble,

Stephan (who should know better than to give in to the urge for one 
more little band-aid fix for RC4...)

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [REVIEW 3-6] fdo#53006 Force reinstall of all bundled extensions on upgrade

2012-08-03 Thread Stephan Bergmann

On 08/03/2012 11:24 AM, Stephan Bergmann wrote:

http://cgit.freedesktop.org/libreoffice/core/commit/?id=96f28626f0ac540fd0d0e129d00f3942bd64235b
Check for ComponentPackageImpl::isRegistered_ in the current rdb


(For the record,


$ make cmd cmd='cd desktop/test/deployment/active  dmake'
$ mkdir install/share/extensions/active
$ unzip desktop/*/misc/active.oxt -d install/share/extensions/active
$ rm -rf ~/.config/libreoffice #clean slate
$ install/program/soffice
# Tools - Extension Manager shows good active 1
# active - native, active - java, and active - python all work
# File - Exit LibreOffice
$ sed -i -e 's/1/2/' install/share/extensions/active/description.xml
$ touch install/share/extensions
$ install/program/soffice
# Tools - Extension Manager shows broken active 2: Error: The status of
# this extension is unknown
# active - native, active - java, and active - python all fail


was my method of reproducing the issue on Linux master.)

Stephan
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [REVIEW 3-6] fdo#53006 Force reinstall of all bundled extensions on upgrade

2012-08-03 Thread Stephan Bergmann

On 08/03/2012 11:24 AM, Stephan Bergmann wrote:

http://cgit.freedesktop.org/libreoffice/core/commit/?id=81fd6b084b0f3c0eb5a97c77592f5ceb21d2dfb1
fdo#53006 Force reinstall of all bundled extensions on upgrade are the
two commits from master to get this fixed, which I would love to see
backported to libreoffice-3-6.


Please do *not* backport that one to libreoffice-3-6 for now.  I just 
got an idea that might obsolete it...


Stephan

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice