summaryrefslogtreecommitdiff
path: root/shell/source/unix
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-04-28 20:48:14 +0200
committerDavid Tardon <dtardon@redhat.com>2012-05-29 07:33:44 +0200
commitd4efa8b0cf48f092d8984f3f085909cd1a6a39af (patch)
treec1223fc46ca967b988ab5754b9021b5dd4c75bd0 /shell/source/unix
parent9c9cad9f4acaaffef722ff732ceb159a5825855a (diff)
gbuildize shell
Change-Id: I91a89f9d0bd1eb88a94179f1c1a41bc832599fed
Diffstat (limited to 'shell/source/unix')
-rw-r--r--shell/source/unix/exec/makefile.mk101
-rwxr-xr-xshell/source/unix/exec/syssh.xml7
-rw-r--r--shell/source/unix/misc/makefile.mk83
-rw-r--r--shell/source/unix/sysshell/makefile.mk75
4 files changed, 7 insertions, 259 deletions
diff --git a/shell/source/unix/exec/makefile.mk b/shell/source/unix/exec/makefile.mk
deleted file mode 100644
index 453609b53a51..000000000000
--- a/shell/source/unix/exec/makefile.mk
+++ /dev/null
@@ -1,101 +0,0 @@
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2000, 2010 Oracle and/or its affiliates.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ=..$/..$/..
-PRJNAME=shell
-TARGET=exec
-
-LIBTARGET=NO
-ENABLE_EXCEPTIONS=TRUE
-
-COMP1TYPELIST=syssh
-
-TESTAPP1=urltest
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-
-.IF "$(BUILD_TYPE)" == "$(BUILD_TYPE:s/DESKTOP//)"
-
-ALL:
-# nothing
-
-.ENDIF
-
-# --- Files --------------------------------------------------------
-
-DLLPRE=
-
-SLOFILES=$(SLO)$/shellexec.obj\
- $(SLO)$/shellexecentry.obj
-
-SHL1OBJS=$(SLOFILES)
-
-SHL1TARGET=syssh.uno
-SHL1IMPLIB=
-
-SHL1VERSIONMAP=$(SOLARENV)/src/component.map
-SHL1DEF=$(MISC)$/$(SHL1TARGET).def
-DEF1NAME=$(SHL1TARGET)
-
-SHL1STDLIBS=$(CPPULIB)\
- $(CPPUHELPERLIB)\
- $(SALLIB)
-SHL1LIBS=
-SHL1DEPN=
-
-.IF "$(test)" != ""
-
-APP1TARGET=$(TESTAPP1)
-APP1STDLIBS= $(SHL1STDLIBS)
-APP1OBJS= \
- $(SLO)$/shellexec.obj \
- $(SLO)$/$(APP1TARGET).obj
-
-.ENDIF # "$(test)" != ""
-
-
-# --- Targets ------------------------------------------------------
-
-.INCLUDE : target.mk
-
-run_test : $(BIN)$/$(TESTAPP1).sh
- dmake test=t
- $(BIN)$/$(TESTAPP1) urltest.txt
-
-$(BIN)$/$(TESTAPP1).sh : $$(@:f)
- $(COPY) $< $@
- -chmod +x $@
-
-ALLTAR : $(MISC)/syssh.component
-
-$(MISC)/syssh.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
- syssh.component
- $(XSLTPROC) --nonet --stringparam uri \
- '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
- $(SOLARENV)/bin/createcomponent.xslt syssh.component
diff --git a/shell/source/unix/exec/syssh.xml b/shell/source/unix/exec/syssh.xml
index 5c72befa9141..1b9e28c37fe8 100755
--- a/shell/source/unix/exec/syssh.xml
+++ b/shell/source/unix/exec/syssh.xml
@@ -15,13 +15,20 @@
<type>com.sun.star.system.SystemShellExecuteException</type>
<type>com.sun.star.system.SystemShellExecuteFlags</type>
<type>com.sun.star.lang.IllegalArgumentException</type>
+ <type>com.sun.star.lang.XMultiServiceFactory</type>
<type>com.sun.star.lang.XServiceInfo</type>
<type>com.sun.star.lang.XSingleComponentFactory</type>
+ <type>com.sun.star.lang.XSingleServiceFactory</type>
<type>com.sun.star.lang.XTypeProvider</type>
+ <type>com.sun.star.uno.DeploymentException</type>
<type>com.sun.star.uno.TypeClass</type>
<type>com.sun.star.uno.XAggregation</type>
<type>com.sun.star.uno.XComponentContext</type>
+ <type>com.sun.star.uno.XCurrentContext</type>
<type>com.sun.star.uno.XWeak</type>
+ <type>com.sun.star.uri.ExternalUriReferenceTranslator</type>
+ <type>com.sun.star.uri.UriReferenceFactory</type>
+ <type>com.sun.star.util.XMacroExpander</type>
<type>com.sun.star.registry.XRegistryKey</type>
</component-description>
<project-build-dependency>cppuhelper</project-build-dependency>
diff --git a/shell/source/unix/misc/makefile.mk b/shell/source/unix/misc/makefile.mk
deleted file mode 100644
index 39752bdc4644..000000000000
--- a/shell/source/unix/misc/makefile.mk
+++ /dev/null
@@ -1,83 +0,0 @@
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2000, 2010 Oracle and/or its affiliates.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ=..$/..$/..
-PRJNAME=shell
-TARGET=misc
-
-LIBTARGET=NO
-TARGETTYPE=CUI
-NO_DEFAULT_STL=TRUE
-LIBSALCPPRT=$(0)
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-
-.IF "$(BUILD_TYPE)" == "$(BUILD_TYPE:s/DESKTOP//)"
-
-ALL:
-# nothing
-
-.ENDIF
-
-# --- Files --------------------------------------------------------
-
-SCRIPTFILES = \
- $(BIN)$/senddoc \
- $(BIN)$/open-url \
- $(BIN)$/cde-open-url \
- $(BIN)$/gnome-open-url \
- $(BIN)$/tde-open-url \
- $(BIN)$/kde-open-url
-
-APP1TARGET = gnome-open-url.bin
-APP1OBJS = \
- $(OBJ)$/gnome-open-url.obj
-APP1LIBS =
-APP1RPATH = OOO
-.IF "$(OS)"!="FREEBSD" && "$(OS)"!="NETBSD" && "$(OS)"!="OPENBSD" && \
- "$(OS)"!="DRAGONFLY"
-APP1STDLIBS=-ldl
-.ENDIF
-
-APP2TARGET = uri-encode
-APP2OBJS = $(OBJ)$/uri-encode.obj
-APP2LIBS =
-APP2RPATH = OOO
-APP2STDLIBS =
-
-OBJFILES = $(APP1OBJS) $(APP2OBJS)
-
-# --- Targets ------------------------------------------------------
-
-.INCLUDE : target.mk
-
-ALLTAR : $(SCRIPTFILES) $(AWKFILES)
-
-$(SCRIPTFILES) : $$(@:f:+".sh")
- @tr -d "\015" < $(@:f:+".sh") > $@
diff --git a/shell/source/unix/sysshell/makefile.mk b/shell/source/unix/sysshell/makefile.mk
deleted file mode 100644
index df97be94d948..000000000000
--- a/shell/source/unix/sysshell/makefile.mk
+++ /dev/null
@@ -1,75 +0,0 @@
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2000, 2010 Oracle and/or its affiliates.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ=..$/..$/..
-
-PRJNAME=shell
-TARGET=sysshell
-LIBTARGET=NO
-ENABLE_EXCEPTIONS=TRUE
-VISIBILITY_HIDDEN = TRUE
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-
-.IF "$(BUILD_TYPE)" == "$(BUILD_TYPE:s/DESKTOP//)"
-
-ALL:
-# nothing
-
-.ENDIF
-
-.IF "$(SYSTEM_EXPAT)" == "YES"
-CFLAGS+=-DSYSTEM_EXPAT
-.ENDIF
-
-# --- Files --------------------------------------------------------
-
-.IF "$(OS)" != "MACOSX" && "$(OS)" != "IOS" && "$(OS)" != "ANDROID"
-
-SLOFILES=$(SLO)$/recently_used_file.obj \
- $(SLO)$/recently_used_file_handler.obj
-
-SHL1TARGET=recentfile
-
-SHL1STDLIBS=$(EXPATASCII3RDLIB)\
- $(SALLIB)
-
-SHL1USE_EXPORTS = name
-SHL1LIBS=$(SLB)$/xmlparser.lib
-SHL1OBJS=$(SLOFILES)
-
-.ELSE
-
-dummy:
-# nothing
-
-.ENDIF
-# --- Targets ------------------------------------------------------
-
-.INCLUDE : target.mk