summaryrefslogtreecommitdiff
path: root/sysui/desktop/suse
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-09-09 08:09:41 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-09-09 08:09:41 +0000
commit4ae76883c1a41acae377876a9fd740f57b21808e (patch)
tree70d2f8fb621552350c195d1079f6162799c15be5 /sysui/desktop/suse
parent029d6f236d8846d0b39b1004376a3a15c73d0bb2 (diff)
INTEGRATION: CWS oasissysint (1.5.12); FILE MERGED
2004/08/27 14:00:08 obr 1.5.12.1: #i32277# added mimetype registration for new oasis file types
Diffstat (limited to 'sysui/desktop/suse')
-rw-r--r--sysui/desktop/suse/makefile.mk43
1 files changed, 37 insertions, 6 deletions
diff --git a/sysui/desktop/suse/makefile.mk b/sysui/desktop/suse/makefile.mk
index 198b6c7cfa67..037cc085c942 100644
--- a/sysui/desktop/suse/makefile.mk
+++ b/sysui/desktop/suse/makefile.mk
@@ -72,7 +72,7 @@ TARGET=suse
# --- Files --------------------------------------------------------
-LAUNCHERLIST = writer calc draw impress math printeradmin
+LAUNCHERLIST = writer calc draw impress math base printeradmin
LAUNCHERDEPN = ../menus/{$(LAUNCHERLIST)}.desktop
LAUNCHERDIR = $(shell cd $(MISC)$/$(TARGET); pwd)
@@ -90,7 +90,31 @@ MIMELIST = \
presentation \
presentation-template \
formula \
- master-document
+ master-document \
+ oasis-text \
+ oasis-text-template \
+ oasis-spreadsheet \
+ oasis-spreadsheet-template \
+ oasis-drawing \
+ oasis-drawing-template \
+ oasis-presentation \
+ oasis-presentation-template \
+ oasis-formula \
+ oasis-master-document \
+ oasis-database
+
+MIMEICONLIST = \
+ text \
+ text-template \
+ spreadsheet \
+ spreadsheet-template \
+ drawing \
+ drawing-template \
+ presentation \
+ presentation-template \
+ formula \
+ master-document \
+ database
GNOMEMIMEDEPN = ../mimetypes/{$(MIMELIST)}.keys
KDEMIMEDEPN = ../mimetypes/{$(MIMELIST)}.desktop
@@ -100,13 +124,13 @@ KDEMIMEFLAGFILE = \
GNOMEICONLIST = \
{16x16 22x22 32x32 48x48}/apps/$(UNIXFILENAME)-{$(LAUNCHERLIST)}.png \
- {16x16 22x22 32x32 48x48}/mimetypes/$(UNIXFILENAME)-{$(MIMELIST)}.png
+ {16x16 22x22 32x32 48x48}/mimetypes/$(UNIXFILENAME)-{$(MIMEICONLIST)}.png
KDEICONLIST = \
hicolor/{16x16 22x22 32x32 48x48}/apps/$(UNIXFILENAME)-{$(LAUNCHERLIST)}.png \
- hicolor/{16x16 22x22 32x32 48x48}/mimetypes/$(UNIXFILENAME)-{$(MIMELIST)}.png \
+ hicolor/{16x16 22x22 32x32 48x48}/mimetypes/$(UNIXFILENAME)-{$(MIMEICONLIST)}.png \
locolor/{16x16 22x22 32x32}/apps/$(UNIXFILENAME)-{$(LAUNCHERLIST)}.png \
- locolor/{16x16 22x22 32x32}/mimetypes/$(UNIXFILENAME)-{$(MIMELIST)}.png
+ locolor/{16x16 22x22 32x32}/mimetypes/$(UNIXFILENAME)-{$(MIMEICONLIST)}.png
.IF "$(RPM)"!=""
@@ -116,6 +140,7 @@ RPMDEPN = \
$(MISC)/$(TARGET)/opt/kde3/share/applnk/Office.flag \
$(MISC)/$(TARGET)/opt/gnome2/share/application-registry/$(UNIXFILENAME).applications \
$(MISC)/$(TARGET)/opt/gnome2/share/mime-info/$(UNIXFILENAME).keys \
+ $(MISC)/$(TARGET)/opt/gnome2/share/mime-info/$(UNIXFILENAME).mime \
$(MISC)/$(TARGET)/opt/kde3/share/mimelnk/application.flag \
$(MISC)/$(TARGET)/opt/gnome2/share/icons/gnome/{$(GNOMEICONLIST)} \
$(MISC)/$(TARGET)/opt/kde3/share/icons/{$(KDEICONLIST)}
@@ -174,6 +199,12 @@ $(MISC)/$(TARGET)/opt/gnome2/share/mime-info/$(UNIXFILENAME).keys : $(GNOMEMIMED
@$(PERL) ../share/brand.pl -p $(PRODUCTNAME) -u $(UNIXFILENAME) --iconprefix "$(UNIXFILENAME)-" $(GNOMEMIMEDEPN) $(MISC)/$(TARGET)
@$(PERL) ../share/translate.pl -p $(PRODUCTNAME) -d $(MISC)/$(TARGET) --ext "keys" --key "description" $(ULFDIR)/documents.ulf
@cat $(MISC)/$(TARGET)/{$(MIMELIST)}.keys > $@
+
+$(MISC)/$(TARGET)/opt/gnome2/share/mime-info/$(UNIXFILENAME).mime : ../mimetypes/openoffice.mime
+ @$(MKDIRHIER) $(@:d)
+ @echo Creating GNOME .mime file ..
+ @echo ---------------------------------
+ @cat ../mimetypes/openoffice.mime | tr -d "\015" > $@
$(KDEMIMEFLAGFILE) : $(KDEMIMEDEPN) ../productversion.mk ../share/brand.pl ../share/translate.pl $(ULFDIR)/documents.ulf
@$(MKDIRHIER) $(@:db)
@@ -187,7 +218,7 @@ $(MISC)/$(TARGET)/opt/gnome2/share/application-registry/$(UNIXFILENAME).applicat
@$(MKDIRHIER) $(@:d)
@echo Creating GNOME .applications file ..
@echo ---------------------------------
- @cat $< | tr -d "\015" | sed -e "s/openoffice/$(UNIXFILENAME)/" -e "s/%PRODUCTNAME/$(LONGPRODUCTNAME)/" > $@
+ @cat ../mimetypes/openoffice.applications | tr -d "\015" | sed -e "s/openoffice/$(UNIXFILENAME)/" -e "s/%PRODUCTNAME/$(LONGPRODUCTNAME)/" > $@
# --- packaging ---------------------------------------------------