[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    .desktop files for MS Office apps
From:       Chris Howells <chris () chrishowells ! co ! uk>
Date:       2001-11-28 19:11:01
[Download RAW message or body]

Hi,

I have been playing around with some desktop files to make KOffice register 
that it can open MS Office documents in Konqueror.

I attach a diff of what I have changed in Makefile.am.

I also attache the msword.deskto file that I created.

With the change, after running :

make -f Makefile.cvs && ./configure --prefix=$KDEDIR && cd kword && make

I'm given:

kdecvs@venus:~/koffice/kword> make
Makefile:866: *** missing separator (did you mean TAB instead of 8 spaces?).  
Stop.

Any idea what's gone wrong here?

This is an extract from around line 866 of kword/Makfile:

        $(KOTEXT_INCLUDES) $(all_includes)
                kwviewmode.cc \
        kwtextparag.cc kwtextdocument.cc \
        kwframe.cc kwtextframeset.cc \
        kwtableframeset.cc kwtextimage.cc kwanchor.cc \

I can't understand how my change would have impacted this?

Also, what's the procedure for getting comments in .desktop files translated?

-- 
Cheers, Chris Howells -- chris@chrishowells.co.uk, howells@kde.org
Web: http://chrishowells.co.uk, PGP key: http://chrishowells.co.uk/pgp.txt
KDE: http://www.koffice.org, http://edu.kde.org, http://usability.kde.org



["msword.desktop" (application/x-desktop)]
["kword.diff" (text/x-diff)]

? mimetypes
Index: Makefile.am
===================================================================
RCS file: /home/kde/koffice/kword/Makefile.am,v
retrieving revision 1.160
diff -u -3 -p -r1.160 Makefile.am
--- Makefile.am	2001/11/17 15:17:06	1.160
+++ Makefile.am	2001/11/28 19:09:51
@@ -54,7 +54,7 @@ dummy.cc:
 kdelnk_DATA = kword.desktop
 kdelnkdir = $(kde_appsdir)/Office
 
-kdemime_DATA = x-kword.desktop
+kdemime_DATA = x-kword.desktop mimetypes/msword.desktop
 kdemimedir = $(kde_mimedir)/application
 
 rcdir = $(kde_datadir)/kword

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic