[rkward-devel] crashing bug and RKWard problems on Mac

meik michalke meik.michalke at uni-duesseldorf.de
Sun Aug 19 09:25:38 UTC 2012


hi,

am Mittwoch 08 August 2012, 19:24:44 schrieb meik michalke:
> it turns out the bundle doesn't contain most of the files in
> 
>  /opt/rkward/share/mime
> 
> but only a few of them.

i think i found something. even on debian systems there is no package with the 
*file* /usr/share/mime/application/octet-stream.xml, although it's present, at 
least if you've installed KDE. 

if i got it right,  it's generated by the update-mime-database command, which 
is in the shared-mime-info package. the portfile of that package...
https://trac.macports.org/browser/trunk/dports/devel/shared-mime-info/Portfile
... contains the lines:

<shared-mime-info-port>
  post-activate {
     ui_debug "Updating MIME database..."
     system "${prefix}/bin/update-mime-database -V ${prefix}/share/mime"
  }
</shared-mime-info-port>

and i'm pretty sure this call is missing (not executed) in the bundled 
package, so the extra MIME type files are not generated.

now i'll try to find out if/how a .dmg file can run post-install scripts like 
.deb packages do. this would also render most of the instructions in the 
README obsolete, as they could be included in such a script as well.


viele grüße :: m.eik

-- 
dipl. psych. meik michalke
institut f"ur experimentelle psychologie
abt. f"ur diagnostik und differentielle psychologie
heinrich-heine-universit"at d-40204 d"usseldorf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2282 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20120819/946a04af/attachment.p7s>


More information about the Rkward-devel mailing list