diff options
author | Rene Engelhard <rene@debian.org> | 2017-08-15 00:05:53 +0200 |
---|---|---|
committer | Rene Engelhard <rene@debian.org> | 2017-08-15 21:27:08 +0200 |
commit | b72766bc4d9be138063bedda00a7b98573505784 (patch) | |
tree | 9043f51f2d13c96c4c5253a2d88091fb84ad2a41 /sysui | |
parent | ddb8f498a336cb6a76a06bb65406579e50447d39 (diff) |
deb#872001: stop shipping mimelnk desktop files
they are KDE3 only and we don't support either KDE3 nor TDE anymore
anyways
Change-Id: I80198c2b63298c0bb3220f3641b6e45107797426
Reviewed-on: https://gerrit.libreoffice.org/41159
Reviewed-by: Rene Engelhard <rene@debian.org>
Tested-by: Rene Engelhard <rene@debian.org>
Diffstat (limited to 'sysui')
-rw-r--r-- | sysui/CustomTarget_share.mk | 13 | ||||
-rwxr-xr-x | sysui/desktop/freedesktop/freedesktop-menus.spec | 1 | ||||
-rw-r--r-- | sysui/desktop/share/brand.pl | 2 | ||||
-rwxr-xr-x | sysui/desktop/share/create_tree.sh | 5 |
4 files changed, 2 insertions, 19 deletions
diff --git a/sysui/CustomTarget_share.mk b/sysui/CustomTarget_share.mk index aeb94c0bc0ea..0b259ddadec5 100644 --- a/sysui/CustomTarget_share.mk +++ b/sysui/CustomTarget_share.mk @@ -127,7 +127,6 @@ $(eval $(call gb_CustomTarget_register_targets,sysui/share,\ $(product)/openoffice.keys \ $(product)/openoffice.sh \ $(product)/create_tree.sh \ - $(product)/mimelnklist \ $(product)/launcherlist) \ )) @@ -147,16 +146,6 @@ $(share_WORKDIR)/%/openoffice.keys: \ --ext "keys" --key "description" $(share_WORKDIR)/documents.ulf cat $(MIMEKEYS) > $@ -$(share_WORKDIR)/%/mimelnklist: $(MIMEDESKTOPS) $(share_SRCDIR)/share/brand.pl \ - $(share_TRANSLATE) $(share_WORKDIR)/documents.ulf - mkdir -p $(dir $@) - $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),PRL,1) - $(PERL) $(share_SRCDIR)/share/brand.pl -p $* -u $(UNIXFILENAME.$*) \ - --iconprefix $(UNIXFILENAME.$*)- $^ $(share_WORKDIR)/$* - $(PERL) $(share_TRANSLATE) -p $* -d $(share_WORKDIR)/$* \ - --ext "desktop" --key "Comment" $(share_WORKDIR)/documents.ulf - echo "$(MIMEDESKTOPS)" > $@ - $(share_WORKDIR)/%/openoffice.mime: $(share_SRCDIR)/mimetypes/openoffice.mime mkdir -p $(dir $@) $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),CAT,1) @@ -167,7 +156,7 @@ $(share_WORKDIR)/%/openoffice.sh: $(share_SRCDIR)/share/openoffice.sh $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),CAT,1) cat $< | tr -d "\015" | sed -e "s/%PREFIX/$(UNIXFILENAME.$*)/g" > $@ -$(share_WORKDIR)/%/create_tree.sh: $(share_SRCDIR)/share/create_tree.sh $(share_WORKDIR)/%/mimelnklist \ +$(share_WORKDIR)/%/create_tree.sh: $(share_SRCDIR)/share/create_tree.sh \ $(share_WORKDIR)/%/openoffice.org.xml $(share_WORKDIR)/%/openoffice.applications $(share_WORKDIR)/%/openoffice.mime \ $(share_WORKDIR)/%/openoffice.keys $(share_WORKDIR)/%/launcherlist $(if $(INTROSPECTION_SCANNER),$(call gb_Library_get_target,libreofficekitgtk)) mkdir -p $(dir $@) diff --git a/sysui/desktop/freedesktop/freedesktop-menus.spec b/sysui/desktop/freedesktop/freedesktop-menus.spec index 4a0f7e792560..c3e154f28e4e 100755 --- a/sysui/desktop/freedesktop/freedesktop-menus.spec +++ b/sysui/desktop/freedesktop/freedesktop-menus.spec @@ -66,7 +66,6 @@ cd $RPM_BUILD_ROOT rm -rf usr/share/application-registry rm -rf usr/share/applications.flag rm -rf usr/share/mime-info -rm -rf usr/share/mimelnk rm -rf usr/share/applnk-redhat #find usr/share/icons -name '*.png' -exec chmod g+w {} \; diff --git a/sysui/desktop/share/brand.pl b/sysui/desktop/share/brand.pl index ae2911be9ed0..2be723b30514 100644 --- a/sysui/desktop/share/brand.pl +++ b/sysui/desktop/share/brand.pl @@ -22,7 +22,7 @@ eval 'exec perl -wS $0 ${1+"$@"}' # # This tool is used to re-write and substitute variables -# into Unix .desktop, mimelnk, .keys files etc. +# into Unix .desktop, .keys files etc. # $destdir = pop @ARGV; diff --git a/sysui/desktop/share/create_tree.sh b/sysui/desktop/share/create_tree.sh index 19a5ce38f924..3f24b5fd7bf4 100755 --- a/sysui/desktop/share/create_tree.sh +++ b/sysui/desktop/share/create_tree.sh @@ -29,11 +29,6 @@ if [ "${KDEMAINDIR}" ]; then done unset targetdir destfile - mkdir -p "${DESTDIR}/${KDEMAINDIR}/share/mimelnk/application" - for i in `cat mimelnklist`; do - cp "${i}" "${DESTDIR}/${KDEMAINDIR}/share/mimelnk/application/${PREFIX}-`basename ${i}`" - done - chmod 0644 "${DESTDIR}/${KDEMAINDIR}/share/mimelnk/application/"* fi if [ "${GNOMEDIR}" ]; then |