diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-07-31 13:03:56 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-07-31 13:16:43 +0200 |
commit | 01b47bffd84c7731634f631cd32803bbbc881ad7 (patch) | |
tree | d8142fd6c757897ddfd566ca57df4c07ce0d89a3 /sysui | |
parent | d7737f8454fa5f99bc597b93f579e7ad9199d108 (diff) |
sysui: remove slackware desktop integration stuff
This is apparently not used at all currently; cloph says the
*slackware-menus*.tgz used to be bundled with RPM instsets but the last
release that contained it was apparently OOo 3.1.1; it is gone in OOo
3.2.1 RPM instset. There are no bug reports about it missing, so no
problem with removing it altogether.
Change-Id: I1b93c94c4ac5c1d1826069b05cb58fdbb30cd71f
Diffstat (limited to 'sysui')
-rw-r--r-- | sysui/CustomTarget_slackware.mk | 61 | ||||
-rw-r--r-- | sysui/Module_sysui.mk | 1 | ||||
-rwxr-xr-x | sysui/desktop/slackware/slack-desc | 13 | ||||
-rwxr-xr-x | sysui/desktop/slackware/update-script | 8 |
4 files changed, 0 insertions, 83 deletions
diff --git a/sysui/CustomTarget_slackware.mk b/sysui/CustomTarget_slackware.mk deleted file mode 100644 index f717df7b08bb..000000000000 --- a/sysui/CustomTarget_slackware.mk +++ /dev/null @@ -1,61 +0,0 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- -# -# This file is part of the LibreOffice project. -# -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# - -include $(SRCDIR)/sysui/productlist.mk - -slack_WORKDIR := $(call gb_CustomTarget_get_workdir,sysui/slackware) -slack_SRCDIR := $(SRCDIR)/sysui/desktop/slackware - -$(eval $(call gb_CustomTarget_CustomTarget,sysui/slackware)) - -$(eval $(call gb_CustomTarget_register_targets,sysui/slackware,\ - empty.tar \ -$(foreach product,$(PRODUCTLIST),\ - $(product)/install/doinst.sh \ - $(product)/install/slack-desc \ - $(product)$(PRODUCTVERSION)-slackware-menus-$(PKGVERSION)-noarch-$(LIBO_VERSION_PATCH).tgz) \ -)) - - -$(slack_WORKDIR)/empty.tar: - mkdir $(slack_WORKDIR)/empty - $(GNUTAR) -C $(slack_WORKDIR)/empty --owner=root $(if $(filter-out MACOSX,$(OS_FOR_BUILD)),--group=root) --same-owner -cf $@ . - -$(slack_WORKDIR)/%/install/doinst.sh: $(slack_SRCDIR)/update-script $(call gb_CustomTarget_get_workdir,sysui/share)/%/launcherlist - echo "( cd etc; rm -rf $(UNIXFILENAME.$*) )" > $@ - echo "( cd etc; ln -snf /opt/$(UNIXFILENAME.$*) $(UNIXFILENAME.$*) )" >> $@ - echo "( cd usr/bin; rm -rf soffice )" >> $@ - echo "( cd usr/bin; ln -sf /etc/$(UNIXFILENAME.$*)/program/soffice soffice )" >> $@ - for i in `cat $(call gb_CustomTarget_get_workdir,sysui/share)/$*/launcherlist`; do \ - echo "(cd usr/share/applications; rm -rf $(UNIXFILENAME.$*)-$$i)" >> $@; \ - echo "(cd usr/share/applications; ln -sf /etc/$(UNIXFILENAME.$*)/share/xdg/$$i $(UNIXFILENAME.$*)-$$i)" >> $@; \ - done - cat $< >> $@ - -$(slack_WORKDIR)/%/install/slack-desc: $(slack_SRCDIR)/slack-desc - sed -e "s/PKGNAME/$*-slackware-menus/g" \ - -e "s/PKGVERSION/$(PKGVERSION)/g" \ - -e "s/LONGPRODUCTNAME/$(PRODUCTNAME.$*) $(PRODUCTVERSION)/g" \ - -e "s/PRODUCTNAME/$(PRODUCTNAME.$*)/g" \ - -e "s/UNIXFILENAME/$(UNIXFILENAME.$*)/g" \ - $< > $@ - -$(slack_WORKDIR)/%$(PRODUCTVERSION)-slackware-menus-$(PKGVERSION)-noarch-$(LIBO_VERSION_PATCH).tgz: $(slack_WORKDIR)/empty.tar $(slack_WORKDIR)/%/install/doinst.sh $(slack_WORKDIR)/%/install/slack-desc $(call gb_CustomTarget_get_workdir,sysui/share)/%/create_tree.sh - cd $(call gb_CustomTarget_get_workdir,sysui/share)/$* \ - && DESTDIR=$(slack_WORKDIR)/$* \ - ICON_PREFIX=$(UNIXFILENAME.$*) \ - KDEMAINDIR=/opt/kde \ - GNOMEDIR="" \ - ./create_tree.sh - cp $(slack_WORKDIR)/empty.tar $@.tmp - $(GNUTAR) -C $(slack_WORKDIR)/$* --owner=root $(if $(filter-out MACOSX,$(OS_FOR_BUILD)),--group=root) --same-owner \ - -rf $@.tmp install usr opt - gzip < $@.tmp > $@ - -# vim: set noet sw=4 ts=4: diff --git a/sysui/Module_sysui.mk b/sysui/Module_sysui.mk index 6f7bc71e9c11..9744ba864130 100644 --- a/sysui/Module_sysui.mk +++ b/sysui/Module_sysui.mk @@ -13,7 +13,6 @@ ifneq ($(OS),WNT) ifneq ($(OS),MACOSX) $(eval $(call gb_Module_add_targets,sysui,\ CustomTarget_share \ - $(if $(filter LINUX,$(OS)),CustomTarget_slackware) \ Package_share \ Package_desktop \ $(if $(filter rpm,$(PKGFORMAT)),CustomTarget_rpm) \ diff --git a/sysui/desktop/slackware/slack-desc b/sysui/desktop/slackware/slack-desc deleted file mode 100755 index 38bc1999d7cb..000000000000 --- a/sysui/desktop/slackware/slack-desc +++ /dev/null @@ -1,13 +0,0 @@ -# needs to be 11 lines - variables replaced by the makefile... - |-----handy-ruler------------------------------------------------------| -PKGNAME: PRODUCTNAME Desktop-Integration for Slackware -PKGNAME: Version: PKGVERSION, License: LGPLv3 with MPLv2, ALv2 and more -PKGNAME: -PKGNAME: Note that this package is non-functional without the main packages of -PKGNAME: LONGPRODUCTNAME -PKGNAME: If you did install the main packages to another location than the -PKGNAME: default, make sure to adapt the link -PKGNAME: /etc/UNIXFILENAME -PKGNAME: accordingly to point to the correct location. -PKGNAME: -PKGNAME: This package is provided by The Document Foundation diff --git a/sysui/desktop/slackware/update-script b/sysui/desktop/slackware/update-script deleted file mode 100755 index f7f957ac9e33..000000000000 --- a/sysui/desktop/slackware/update-script +++ /dev/null @@ -1,8 +0,0 @@ - -if (which update-desktop-database); then - update-desktop-database -q /usr/share/applications -fi - -if (which update-mime-database); then - update-mime-database /usr/share/mime -fi |