Bug#502737: [openoffice.org-writer] Missing mime-mapping entry for .oxt

2008-11-13 Thread Guido Günther
Thanks for looking into this!

On Tue, Nov 11, 2008 at 10:08:16AM +0100, Rene Engelhard wrote:
 Hi,
 
 Rene Engelhard wrote:
  I just finally had time to have a look an this, even if I add a new .desktop
  file for vnd.openofficeorg.extension to /usr/share/mimelnk/application and
  add a Mimetype=application/vnd.openofficeorg.extension there nautilus
  still doesn't notice how to handle it -- but that's probably just because
  nautilus sees it as an application/zip..
AFAIK /usr/share/mimelnk/application is used by KDE3 (so konqueror
should pick it up now correctly). Gnome (nautlius) uses /usr/share/mime,
KDE4 is supposed to use this too.

  
  It works in the 2.4.1 packages?
 
 Ah, nevermind. It didn't work in nautilus in 2.4.1 either..
 
  Hmm, I don't see substantial differences in either the .desktop files,
  the openoffice.mime nor the Debian .mime files...
 
 ... except the ooo-extension.desktop of course which seems to help for
 telling mozilla what to do with an oxt.
Which is a good thing too!
 -- Guido



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#502737: [openoffice.org-writer] Missing mime-mapping entry for .oxt

2008-11-11 Thread Rene Engelhard
Hi,

Rene Engelhard wrote:
 I just finally had time to have a look an this, even if I add a new .desktop
 file for vnd.openofficeorg.extension to /usr/share/mimelnk/application and
 add a Mimetype=application/vnd.openofficeorg.extension there nautilus
 still doesn't notice how to handle it -- but that's probably just because
 nautilus sees it as an application/zip..
 
 It works in the 2.4.1 packages?

Ah, nevermind. It didn't work in nautilus in 2.4.1 either..

 Hmm, I don't see substantial differences in either the .desktop files,
 the openoffice.mime nor the Debian .mime files...

... except the ooo-extension.desktop of course which seems to help for
telling mozilla what to do with an oxt.

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  [EMAIL PROTECTED] | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#502737: [openoffice.org-writer] Missing mime-mapping entry for .oxt

2008-11-09 Thread Rene Engelhard
Hi,

Guido Günther wrote:
 On Mon, Oct 20, 2008 at 09:30:12AM +0200, Rene Engelhard wrote:
  Guido Günther wrote:
   On Mon, Oct 20, 2008 at 01:25:12AM +0200, Rene Engelhard wrote:
And it's now a Type=MimeType one (thus no Exec=), so I wonder where it
belongs. (And it probably won't fix this bug at all, as you want oxt
   /usr/share/mimelnk? 
  
  Oh, that still exists?
 It's at lease used by KDE3 so it won't hurt. Having the appropriate info
 in /usr/share/mime for Gnome/KDE4 is more important though - but maybe
 it's already there - which Mimetype is given for the extension?

I just finally had time to have a look an this, even if I add a new .desktop
file for vnd.openofficeorg.extension to /usr/share/mimelnk/application and
add a Mimetype=application/vnd.openofficeorg.extension there nautilus
still doesn't notice how to handle it -- but that's probably just because
nautilus sees it as an application/zip..

It works in the 2.4.1 packages?
Hmm, I don't see substantial differences in either the .desktop files,
the openoffice.mime nor the Debian .mime files...

Regards,

Rene



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#502737: [openoffice.org-writer] Missing mime-mapping entry for .oxt

2008-10-20 Thread Guido Günther
On Mon, Oct 20, 2008 at 01:25:12AM +0200, Rene Engelhard wrote:
 And it's now a Type=MimeType one (thus no Exec=), so I wonder where it
 belongs. (And it probably won't fix this bug at all, as you want oxt
/usr/share/mimelnk? 

 associated with somethig executable so that users don't need to go to
 the extension manager themselves)
This depends. Is the MimeType specified in the ooo-extension.desktop
mapped to one of the applications .desktop files? If so we just need to
install that one to /usr/share/mimelnk. If not something like:

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Terminal=false
Type=Application
NoDisplay=True
Exec=openoffice %U
MimeType=Mime-Type
Name=OpenOffice.org

in /usr/share/applications/ will do the trick.  Mime-Type would be the
mime type defined in the other desktop file you found. 
 -- Guido



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#502737: [openoffice.org-writer] Missing mime-mapping entry for .oxt

2008-10-20 Thread Rene Engelhard
Hi,

Guido Günther wrote:
 On Mon, Oct 20, 2008 at 01:25:12AM +0200, Rene Engelhard wrote:
  And it's now a Type=MimeType one (thus no Exec=), so I wonder where it
  belongs. (And it probably won't fix this bug at all, as you want oxt
 /usr/share/mimelnk? 

Oh, that still exists?

  associated with somethig executable so that users don't need to go to
  the extension manager themselves)
 This depends. Is the MimeType specified in the ooo-extension.desktop
 mapped to one of the applications .desktop files? If so we just need to
 install that one to /usr/share/mimelnk. If not something like:
 
 [Desktop Entry]
 Version=1.0
 Encoding=UTF-8
 Terminal=false
 Type=Application
 NoDisplay=True
 Exec=openoffice %U

unopkg gui %U if we get an own .desktop for this.

Regards,

Rene

P.S.: I am still not sure I want people make it that easy to run into problems
this way when they try to install binary extensions (see e.g. see #502812, and
no, it's IMHO not an option to build against an internal, ancient version of
STLport again) but that would be no regression to 2.4.1...



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#502737: [openoffice.org-writer] Missing mime-mapping entry for .oxt

2008-10-20 Thread Guido Günther
On Mon, Oct 20, 2008 at 09:30:12AM +0200, Rene Engelhard wrote:
 Hi,
 
 Guido Günther wrote:
  On Mon, Oct 20, 2008 at 01:25:12AM +0200, Rene Engelhard wrote:
   And it's now a Type=MimeType one (thus no Exec=), so I wonder where it
   belongs. (And it probably won't fix this bug at all, as you want oxt
  /usr/share/mimelnk? 
 
 Oh, that still exists?
It's at lease used by KDE3 so it won't hurt. Having the appropriate info
in /usr/share/mime for Gnome/KDE4 is more important though - but maybe
it's already there - which Mimetype is given for the extension?

 
   associated with somethig executable so that users don't need to go to
   the extension manager themselves)
  This depends. Is the MimeType specified in the ooo-extension.desktop
  mapped to one of the applications .desktop files? If so we just need to
  install that one to /usr/share/mimelnk. If not something like:
  
  [Desktop Entry]
  Version=1.0
  Encoding=UTF-8
  Terminal=false
  Type=Application
  NoDisplay=True
  Exec=openoffice %U
 
 unopkg gui %U if we get an own .desktop for this.
Yeah, even better.

 
 Regards,
 
 Rene
 
 P.S.: I am still not sure I want people make it that easy to run into problems
 this way when they try to install binary extensions (see e.g. see #502812, and
 no, it's IMHO not an option to build against an internal, ancient version of
 STLport again) but that would be no regression to 2.4.1...
I think we should. The extension I used worked perfectly (and I might
end up packaging it) but we shouldn't try to block users from installing
extensions by not adding a mapping. In the worst case there should be a
warning in the unopkg gui.
 -- Guido




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#502737: [openoffice.org-writer] Missing mime-mapping entry for .oxt

2008-10-19 Thread Guido Guenther
Package: openoffice.org-writer
Version: 1:3.0.0~rc4-1
Severity: normal

.oxt (Openoffice.org Extension) is not mapped to openoffice.org-writer.
The mime type is missing from /usr/share/applications/ooo-writer.desktop.
Cheers,
 -- Guido


--- System information. ---
Architecture: i386
Kernel:   Linux 2.6.26-1-686

Debian Release: lenny/sid
  500 testing security.debian.org
  500 testing ftp2.de.debian.org
  500 testing debian.netcologne.de
   25 unstableftp2.de.debian.org
1 experimentalftp2.de.debian.org

--- Package information. ---
Depends   (Version) | Installed
===-+-===
openoffice.org-core   (= 1:3.0.0~rc4-1) | 1:3.0.0~rc4-1
openoffice.org-base-core  (= 1:3.0.0~rc4-1) | 1:3.0.0~rc4-1
libc6(= 2.7-1) | 2.7-14
libgcc1(= 1:4.1.1) | 1:4.3.2-1
libicu38 (= 3.8-5) | 3.8.1-3
libstdc++6   (= 4.1.1) | 4.3.2-1
libstlport4.6ldbl   | 4.6.2-3.2
libwpd8c2a  | 0.8.14-1
libwps-0.1-1| 0.1.2-1
ure  (= 1.4+OOo3.0.0~) | 1.4+OOo3.0.0~beta2-1
zlib1g (= 1:1.1.4) | 1:1.2.3.3.dfsg-12





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#502737: [openoffice.org-writer] Missing mime-mapping entry for .oxt

2008-10-19 Thread Rene Engelhard
severity 502737 minor
reassign 502737 openoffice.org-core
thanks

Guido Guenther wrote:
 .oxt (Openoffice.org Extension) is not mapped to openoffice.org-writer.

And why should it be mapped to -writer? -core would make more sense
(there's also non-writer extensions). But those extensions might need
e.g. draw (pdfimport), impress (present*) or base (report-builder) or
writer (wiki-publisher) to work.

So what appluication do you assign it to? To all. etc.

(You can use the Extension Manager to add the extension, if you know it
will work with our OOo, and for the main extensionsthere's packages
there anyway)

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  [EMAIL PROTECTED] | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#502737: [openoffice.org-writer] Missing mime-mapping entry for .oxt

2008-10-19 Thread Guido Günther
On Sun, Oct 19, 2008 at 05:58:32PM +0200, Rene Engelhard wrote:
 And why should it be mapped to -writer? -core would make more sense
 (there's also non-writer extensions). But those extensions might need
 e.g. draw (pdfimport), impress (present*) or base (report-builder) or
 writer (wiki-publisher) to work.
Not having packages installed is another issues. This bug talks about
people downloading extensions and not knowing what to do with it. This
works:

/usr/bin/openoffice bla.oxt

so mapping this to /usr/bin/openoffice (openoffice.org-common) seems to
do the trick for all kinds of extensions.

 So what appluication do you assign it to? To all. etc.
See above.
 -- Guido



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#502737: [openoffice.org-writer] Missing mime-mapping entry for .oxt

2008-10-19 Thread Rene Engelhard
Hi,

Guido Günther wrote:
 On Sun, Oct 19, 2008 at 05:58:32PM +0200, Rene Engelhard wrote:
  And why should it be mapped to -writer? -core would make more sense
  (there's also non-writer extensions). But those extensions might need
  e.g. draw (pdfimport), impress (present*) or base (report-builder) or
  writer (wiki-publisher) to work.
 Not having packages installed is another issues. This bug talks about
 people downloading extensions and not knowing what to do with it. This

They can use the extension manager in the UI. They downloaded an extension 
after all.

 /usr/bin/openoffice bla.oxt
 
 so mapping this to /usr/bin/openoffice (openoffice.org-common) seems to
 do the trick for all kinds of extensions.

Then it could be mapped directly to unopkg.

Which indeed was the case in the 2.4.1 packages but then got lost in
3.0, most probably because upstream doesn't provide a
-extension.desktop anymore.

Will check.

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  [EMAIL PROTECTED] | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#502737: [openoffice.org-writer] Missing mime-mapping entry for .oxt

2008-10-19 Thread Rene Engelhard
Hi,

Rene Engelhard wrote:
 Which indeed was the case in the 2.4.1 packages but then got lost in
 3.0, most probably because upstream doesn't provide a
 -extension.desktop anymore.

Hmm. Apparently ooo-extension.desktop still exists but is not installed
through us through a bug. will fix that.

OTOH, that .desktop does not have an Exec= line ;-)
Wonder whether that was intentional...

Grüße/Regards,
 
René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  [EMAIL PROTECTED] | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#502737: [openoffice.org-writer] Missing mime-mapping entry for .oxt

2008-10-19 Thread Rene Engelhard
Hi,

Rene Engelhard wrote:
 Hmm. Apparently ooo-extension.desktop still exists but is not installed
 through us through a bug. will fix that.
 
 OTOH, that .desktop does not have an Exec= line ;-)
 Wonder whether that was intentional...

And it's now a Type=MimeType one (thus no Exec=), so I wonder where it
belongs. (And it probably won't fix this bug at all, as you want oxt
associated with somethig executable so that users don't need to go to
the extension manager themselves)

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  [EMAIL PROTECTED] | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]