]> err.no Git - sope/commitdiff
moved xmlrpc_call to own top-level directory
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Tue, 14 Sep 2004 15:20:54 +0000 (15:20 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Tue, 14 Sep 2004 15:20:54 +0000 (15:20 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@137 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

GNUmakefile
sope-appserver/NGXmlRpc/ChangeLog
sope-appserver/NGXmlRpc/GNUmakefile
sope-appserver/NGXmlRpc/GNUmakefile.preamble
sope-appserver/NGXmlRpc/NGXmlRpcClient.h
sope-appserver/NGXmlRpc/Version
sope-appserver/mod_ngobjweb/handler.c
xmlrpc_call/GNUmakefile [new file with mode: 0644]
xmlrpc_call/GNUmakefile.preamble [new file with mode: 0644]
xmlrpc_call/fhs.make [new file with mode: 0644]
xmlrpc_call/xmlrpc_call.m [moved from sope-appserver/NGXmlRpc/xmlrpc_call.m with 100% similarity]

index 8244c86b7dccd439980d3a7e002103db63519f80..c6ec2f189893b1686b0459943991fc14f372248e 100644 (file)
@@ -10,6 +10,7 @@ SUBPROJECTS += \
        sope-ldap       \
        sope-ical       \
        sope-gdl1       \
+       xmlrpc_call     \
 
 -include $(GNUSTEP_MAKEFILES)/GNUmakefile.preamble
 include $(GNUSTEP_MAKEFILES)/aggregate.make
index c4bd7a54b16bf751970d67ade4add5a4332685fd..e7c38ef7fbe2aa99b2d0f5bc1849f48ba7f29f01 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-14  Helge Hess  <helge.hess@skyrix.com>
+
+       * moved xmlrpc_call tool to own top-level SOPE dir (xmlrpc_call)
+         (v4.3.7)
+
 2004-09-11  Marcus Mueller  <znek@mulle-kybernetik.com>
 
        * GNUmakefile.preamble: minor changes for inline compilation with
index e69294e20deded441ea15d9c08734d7897dd30c5..5b4c75a8d0f9ca20e1879570ed50b6c4afa999ee 100644 (file)
@@ -5,7 +5,6 @@ include ../Version
 include ./Version
 
 LIBRARY_NAME = libNGXmlRpc
-TOOL_NAME    = xmlrpc_call
 
 libNGXmlRpc_SOVERSION=$(MAJOR_VERSION).$(MINOR_VERSION)
 libNGXmlRpc_VERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)
@@ -50,8 +49,6 @@ libNGXmlRpc_OBJC_FILES = \
        NGXmlRpcAction+Registry.m               \
 
 
-xmlrpc_call_OBJC_FILES = xmlrpc_call.m
-
 -include GNUmakefile.preamble
 include $(GNUSTEP_MAKEFILES)/library.make
 include $(GNUSTEP_MAKEFILES)/tool.make
index b7b303b1bfdaa9e3b0ea43437e2913c34f03c21c..da492fd6d351301f434f23aa09fb555be4b32b1f 100644 (file)
@@ -21,11 +21,6 @@ libNGXmlRpc_LIBRARIES_DEPEND_UPON += \
        -lNGMime -lNGStreams -lNGExtensions -lEOControl \
        -lXmlRpc -lDOM -lSaxObjC
 
-xmlrpc_call_TOOL_LIBS += \
-       -lNGXmlRpc -lNGObjWeb \
-       -lNGMime -lNGStreams -lNGExtensions -lEOControl \
-       -lXmlRpc -lDOM -lSaxObjC
-
 ifneq ($(GNUSTEP_BUILD_DIR),)
 RELBUILD_DIR_SOPE=$(GNUSTEP_BUILD_DIR)/..
 RELBUILD_DIR_MIME=$(GNUSTEP_BUILD_DIR)/../../sope-mime
index 2af74dc59ead25a63366e9cae98e103411ba56cb..4e75e4110f054bdecc2c379c0d38f1712bbc57ea 100644 (file)
@@ -29,7 +29,7 @@
   NGXmlRpcClient
   
   This class is a raw XML-RPC client based on WOHTTPConnection. To see how
-  it works, take a look at the xmlrpc_call.m tool included in skyrix-sope-42.
+  it works, take a look at the xmlrpc_call.m tool included in SOPE 4.3.
 
   XML-RPC over Unix domain sockets. NGXmlRpcClient (will) support XML-RPC over
   a Unix domain socket, as used in the ximian_xmlrpclib.py. The transport
index f3879a621640c27bcba29e6090db83d874417a83..e25d74084dc4c2e2906959e41a066ffe108ef7ca 100644 (file)
@@ -1,3 +1,3 @@
 # version file
 
-SUBMINOR_VERSION:=6
+SUBMINOR_VERSION:=7
index 2b98b091975e0d72bb17f1183144cbbbe343874a..7f2dd9b71295d742fd2cc8afd32f3048dec25502 100644 (file)
@@ -514,7 +514,9 @@ int ngobjweb_handler(request_rec *r) {
         writeError = 1;
         goto writeErrorHandler;
       }
-      
+
+      // TODO: this seems to be broken with some Apache's!
+      // see: http://www.mail-archive.com/modssl-users@modssl.org/msg16396.html
       apr_snprintf(tmp, sizeof(tmp), "%s://%s:%i",
               ap_http_method(r),
               r->server->server_hostname,
diff --git a/xmlrpc_call/GNUmakefile b/xmlrpc_call/GNUmakefile
new file mode 100644 (file)
index 0000000..ee17aa2
--- /dev/null
@@ -0,0 +1,13 @@
+# GNUstep makefile
+
+include $(GNUSTEP_MAKEFILES)/common.make
+include ../Version
+
+TOOL_NAME = xmlrpc_call
+
+xmlrpc_call_OBJC_FILES = xmlrpc_call.m
+
+-include GNUmakefile.preamble
+include $(GNUSTEP_MAKEFILES)/tool.make
+-include GNUmakefile.postamble
+-include fhs.make
diff --git a/xmlrpc_call/GNUmakefile.preamble b/xmlrpc_call/GNUmakefile.preamble
new file mode 100644 (file)
index 0000000..16c6526
--- /dev/null
@@ -0,0 +1,63 @@
+# $Id$
+
+SOPE_ROOT=..
+CORE_ROOT=$(SOPE_ROOT)/sope-core
+APPSERVER_ROOT=$(SOPE_ROOT)/sope-appserver
+
+ADDITIONAL_CPPFLAGS += -Wall -DCOMPILE_FOR_GSTEP_MAKE=1
+ADDITIONAL_OBJCFLAGS += -Wall -Wno-import -Wno-protocol
+
+ADDITIONAL_CPPFLAGS += -pipe -Wall
+ADDITIONAL_CPPFLAGS += -DCOMPILING_NGOBJWEB=1
+
+ADDITIONAL_INCLUDE_DIRS += \
+       -I.. -I. -I../..        \
+        -I$(APPSERVER_ROOT)/NGObjWeb/  \
+        -I$(APPSERVER_ROOT)/           \
+       -I$(CORE_ROOT)                  \
+       -I$(CORE_ROOT)/NGStreams        \
+       -I$(CORE_ROOT)/NGExtensions     \
+       -I$(SOPE_ROOT)/sope-xml
+
+libNGXmlRpc_LIBRARIES_DEPEND_UPON += \
+       -lNGObjWeb \
+       -lNGMime -lNGStreams -lNGExtensions -lEOControl \
+       -lXmlRpc -lDOM -lSaxObjC
+
+xmlrpc_call_TOOL_LIBS += \
+       -lNGXmlRpc -lNGObjWeb \
+       -lNGMime -lNGStreams -lNGExtensions -lEOControl \
+       -lXmlRpc -lDOM -lSaxObjC
+
+ifneq ($(GNUSTEP_BUILD_DIR),)
+RELBUILD_DIR_SOPE=$(GNUSTEP_BUILD_DIR)/../sope-appserver
+RELBUILD_DIR_MIME=$(GNUSTEP_BUILD_DIR)/../sope-mime
+RELBUILD_DIR_SxCore=$(GNUSTEP_BUILD_DIR)/$(CORE_ROOT)
+RELBUILD_DIR_SxXml=$(GNUSTEP_BUILD_DIR)/../sope-xml
+
+ADDITIONAL_LIB_DIRS += \
+       -L$(GNUSTEP_BUILD_DIR)/$(GNUSTEP_OBJ_DIR_NAME)                  \
+       -L$(RELBUILD_DIR_SOPE)/NGObjWeb/$(GNUSTEP_OBJ_DIR_NAME)         \
+       -L$(RELBUILD_DIR_SOPE)/NGXmlRpc/$(GNUSTEP_OBJ_DIR_NAME)         \
+       -L$(RELBUILD_DIR_MIME)/$(GNUSTEP_OBJ_DIR_NAME)                  \
+       -L$(RELBUILD_DIR_SxCore)/NGStreams/$(GNUSTEP_OBJ_DIR_NAME)      \
+       -L$(RELBUILD_DIR_SxCore)/NGExtensions/$(GNUSTEP_OBJ_DIR_NAME)   \
+       -L$(RELBUILD_DIR_SxCore)/EOControl/$(GNUSTEP_OBJ_DIR_NAME)      \
+       -L$(RELBUILD_DIR_SxXml)/XmlRpc/$(GNUSTEP_OBJ_DIR_NAME)          \
+       -L$(RELBUILD_DIR_SxXml)/DOM/$(GNUSTEP_OBJ_DIR_NAME)             \
+       -L$(RELBUILD_DIR_SxXml)/SaxObjC/$(GNUSTEP_OBJ_DIR_NAME)
+
+else
+ADDITIONAL_LIB_DIRS += \
+       -L$(APPSERVER_ROOT)/NGXmlRpc/$(GNUSTEP_OBJ_DIR)         \
+       -L$(APPSERVER_ROOT)/NGObjWeb/$(GNUSTEP_OBJ_DIR)         \
+       -L$(SOPE_ROOT)/sope-mime/$(GNUSTEP_OBJ_DIR)             \
+       -L$(CORE_ROOT)/NGStreams/$(GNUSTEP_OBJ_DIR)             \
+       -L$(CORE_ROOT)/NGExtensions/$(GNUSTEP_OBJ_DIR)          \
+       -L$(CORE_ROOT)/EOControl/$(GNUSTEP_OBJ_DIR)             \
+       -L$(SOPE_ROOT)/sope-xml/XmlRpc/$(GNUSTEP_OBJ_DIR)       \
+       -L$(SOPE_ROOT)/sope-xml/DOM/$(GNUSTEP_OBJ_DIR)          \
+       -L$(SOPE_ROOT)/sope-xml/SaxObjC/$(GNUSTEP_OBJ_DIR)
+endif
+
+ADDITIONAL_LIB_DIRS += -L/usr/local/lib -L/usr/lib
diff --git a/xmlrpc_call/fhs.make b/xmlrpc_call/fhs.make
new file mode 100644 (file)
index 0000000..901e8c0
--- /dev/null
@@ -0,0 +1,26 @@
+# postprocessing
+
+# FHS support (this is a hack and is going to be done by gstep-make!)
+
+ifneq ($(FHS_INSTALL_ROOT),)
+
+FHS_BIN_DIR=$(FHS_INSTALL_ROOT)/bin/
+
+NONFHS_BINDIR="$(GNUSTEP_TOOLS)/$(GNUSTEP_TARGET_LDIR)"
+
+
+fhs-bin-dirs ::
+       $(MKDIRS) $(FHS_BIN_DIR)
+
+
+move-tools-to-fhs :: fhs-bin-dirs
+       @echo "moving tools from $(NONFHS_BINDIR) to $(FHS_BIN_DIR) .."
+       for i in $(TOOL_NAME); do \
+         mv "$(NONFHS_BINDIR)/$${i}" $(FHS_BIN_DIR); \
+       done
+
+move-to-fhs :: move-tools-to-fhs
+
+after-install :: move-to-fhs
+
+endif