+2004-08-29 Helge Hess <helge.hess@opengroupware.org>
+
+ * added hack to install the project in FHS locations - the library,
+ its headers, the tools and the resources will be installed in
+ FHS_INSTALL_ROOT if specified (eg make FHS_INSTALL_ROOT=/usr/local)
+ (v4.3.13)
+
2004-08-26 Marcus Mueller <znek@mulle-kybernetik.com>
* DOM.xcode: new Xcode project
-# $Id$
+# $Id: GNUmakefile 4 2004-08-20 17:04:31Z helge $
include ../common.make
include $(GNUSTEP_MAKEFILES)/framework.make
endif
-include GNUmakefile.postamble
+-include fhs.make
# $Id: Version 4 2004-08-20 17:04:31Z helge $
-SUBMINOR_VERSION:=12
+SUBMINOR_VERSION:=13
--- /dev/null
+# postprocessing
+
+# FHS support (this is a hack and is going to be done by gstep-make!)
+
+ifneq ($(FHS_INSTALL_ROOT),)
+
+FHS_INCLUDE_DIR=$(FHS_INSTALL_ROOT)/include/
+FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
+FHS_BIN_DIR=$(FHS_INSTALL_ROOT)/bin/
+
+fhs-header-dirs ::
+ $(MKDIRS) $(FHS_INCLUDE_DIR)$(libDOM_HEADER_FILES_INSTALL_DIR)
+
+move-headers-to-fhs :: fhs-header-dirs
+ @echo "moving headers to $(FHS_INCLUDE_DIR) .."
+ mv $(GNUSTEP_HEADERS)$(libDOM_HEADER_FILES_INSTALL_DIR)/*.h \
+ $(FHS_INCLUDE_DIR)$(libDOM_HEADER_FILES_INSTALL_DIR)/
+
+NONFHS_LIBDIR="$(GNUSTEP_LIBRARIES)/$(GNUSTEP_TARGET_LDIR)/"
+NONFHS_LIBNAME="$(LIBRARY_NAME)$(LIBRARY_NAME_SUFFIX)$(SHARED_LIBEXT)"
+
+move-libs-to-fhs ::
+ @echo "moving libs to $(FHS_LIB_DIR) .."
+ mv $(NONFHS_LIBDIR)/$(NONFHS_LIBNAME)* $(FHS_LIB_DIR)/
+
+move-to-fhs :: move-headers-to-fhs move-libs-to-fhs
+
+after-install :: move-to-fhs
+
+endif
+2004-08-29 Helge Hess <helge.hess@opengroupware.org>
+
+ * added hack to install the project in FHS locations - the SAX driver
+ will be installed in FHS_INSTALL_ROOT if specified (eg make
+ FHS_INSTALL_ROOT=/usr/local) (v1.0.9)
+
2004-08-24 Helge Hess <helge.hess@skyrix.com>
* GNUmakefile: install SAX driver in Library/SaxDrivers-4.3/ (v1.0.8)
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
+-include fhs.make
MAJOR_VERSION=1
MINOR_VERSION=0
-SUBMINOR_VERSION:=8
+SUBMINOR_VERSION:=9
--- /dev/null
+# postprocessing
+
+# FHS support (this is a hack and is going to be done by gstep-make!)
+
+ifneq ($(FHS_INSTALL_ROOT),)
+
+FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
+FHS_SAX_DIR=$(FHS_LIB_DIR)sope-4.3/saxdrivers/
+
+fhs-sax-dirs ::
+ $(MKDIRS) $(FHS_SAX_DIR)
+
+move-bundles-to-fhs :: fhs-sax-dirs
+ @echo "moving bundles $(BUNDLE_INSTALL_DIR) to $(FHS_SAX_DIR) .."
+ for i in $(BUNDLE_NAME); do \
+ j="$(FHS_SAX_DIR)/$${i}$(BUNDLE_EXTENSION)"; \
+ if test -d $$j; then rm -r $$j; fi; \
+ mv "$(BUNDLE_INSTALL_DIR)/$${i}$(BUNDLE_EXTENSION)" $$j; \
+ done
+
+move-to-fhs :: move-bundles-to-fhs
+
+after-install :: move-to-fhs
+
+endif
+2004-08-29 Helge Hess <helge.hess@opengroupware.org>
+
+ * v4.3.41
+
+ * SaxXMLReaderFactory.m: look in /usr/local/lib/sope-4.3/saxdrivers/
+ and /usr/lib/sope-4.3/saxdrivers/ for SAX drivers
+
+ * SaxObjectModel.m: also look in /usr/local/share/sope-4.3/saxmappings/
+ and /usr/share/sope-4.3/saxmappings/ for models
+
+ * added hack to install the project in FHS locations - the library,
+ its headers, the tools and the resources will be installed in
+ FHS_INSTALL_ROOT if specified (eg make FHS_INSTALL_ROOT=/usr/local)
+
2004-08-26 Marcus Mueller <znek@mulle-kybernetik.com>
* SaxObjC.xcode: new Xcode project
-# $Id$
+# $Id: GNUmakefile 4 2004-08-20 17:04:31Z helge $
include ../common.make
include $(GNUSTEP_MAKEFILES)/framework.make
endif
-include GNUmakefile.postamble
+-include fhs.make
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#include "SaxObjectModel.h"
#include "common.h"
[ma addObject:tmp];
}
}
- else {
- NSLog(@"%s: empty library search path !", __PRETTY_FUNCTION__);
- }
#endif
+ /* FHS fallback */
+ [ma addObject:@"/usr/local/share/sope-4.3/saxmappings/"];
+ [ma addObject:@"/usr/share/sope-4.3/saxmappings/"];
searchPathes = [ma copy];
if ([searchPathes count] == 0)
- NSLog(@"%s: no search pathes were found !", __PRETTY_FUNCTION__);
+ NSLog(@"%s: no search pathes were found!", __PRETTY_FUNCTION__);
}
return searchPathes;
}
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#include "SaxXMLReaderFactory.h"
#include "common.h"
#endif
#else
env = [[NSProcessInfo processInfo] environment];
-
+
if ((tmp = [env objectForKey:@"GNUSTEP_PATHPREFIX_LIST"]) == nil)
tmp = [env objectForKey:@"GNUSTEP_PATHLIST"];
tmp = [tmp componentsSeparatedByString:@":"];
[ma addObject:tmp];
}
}
- else {
- NSLog(@"%s: empty library search path !", __PRETTY_FUNCTION__);
- }
#endif
-
+
+ /* FHS fallback */
+ [ma addObject:@"/usr/local/lib/sope-4.3/saxdrivers/"];
+ [ma addObject:@"/usr/lib/sope-4.3/saxdrivers/"];
searchPathes = [ma copy];
-
+
if ([searchPathes count] == 0)
- NSLog(@"%s: no search pathes were found !", __PRETTY_FUNCTION__);
+ NSLog(@"%s: no search pathes were found!", __PRETTY_FUNCTION__);
return searchPathes;
}
# $Id$
-SUBMINOR_VERSION:=40
+SUBMINOR_VERSION:=41
--- /dev/null
+# postprocessing
+
+# FHS support (this is a hack and is going to be done by gstep-make!)
+
+ifneq ($(FHS_INSTALL_ROOT),)
+
+FHS_INCLUDE_DIR=$(FHS_INSTALL_ROOT)/include/
+FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
+FHS_BIN_DIR=$(FHS_INSTALL_ROOT)/bin/
+
+fhs-header-dirs ::
+ $(MKDIRS) $(FHS_INCLUDE_DIR)$(libSaxObjC_HEADER_FILES_INSTALL_DIR)
+
+move-headers-to-fhs :: fhs-header-dirs
+ @echo "moving headers to $(FHS_INCLUDE_DIR) .."
+ mv $(GNUSTEP_HEADERS)$(libSaxObjC_HEADER_FILES_INSTALL_DIR)/*.h \
+ $(FHS_INCLUDE_DIR)$(libSaxObjC_HEADER_FILES_INSTALL_DIR)/
+
+NONFHS_LIBDIR="$(GNUSTEP_LIBRARIES)/$(GNUSTEP_TARGET_LDIR)/"
+NONFHS_LIBNAME="$(LIBRARY_NAME)$(LIBRARY_NAME_SUFFIX)$(SHARED_LIBEXT)"
+
+move-libs-to-fhs ::
+ @echo "moving libs to $(FHS_LIB_DIR) .."
+ mv $(NONFHS_LIBDIR)/$(NONFHS_LIBNAME)* $(FHS_LIB_DIR)/
+
+move-to-fhs :: move-headers-to-fhs move-libs-to-fhs
+
+after-install :: move-to-fhs
+
+endif
+2004-08-29 Helge Hess <helge.hess@opengroupware.org>
+
+ * added hack to install the project in FHS locations - the library,
+ its headers, the tools and the resources will be installed in
+ FHS_INSTALL_ROOT if specified (eg make FHS_INSTALL_ROOT=/usr/local)
+ (v4.3.23)
+
2004-08-29 Marcus Mueller <znek@mulle-kybernetik.com>
* XmlRpc.xcode: moved unused source into Unused group. Fixed
-# $Id$
+# $Id: GNUmakefile 4 2004-08-20 17:04:31Z helge $
include ../common.make
include $(GNUSTEP_MAKEFILES)/framework.make
endif
-include GNUmakefile.postamble
+-include fhs.make
-# $Id$
+# $Id: Version 4 2004-08-20 17:04:31Z helge $
-SUBMINOR_VERSION:=22
+SUBMINOR_VERSION:=23
--- /dev/null
+# postprocessing
+
+# FHS support (this is a hack and is going to be done by gstep-make!)
+
+ifneq ($(FHS_INSTALL_ROOT),)
+
+FHS_INCLUDE_DIR=$(FHS_INSTALL_ROOT)/include/
+FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
+FHS_BIN_DIR=$(FHS_INSTALL_ROOT)/bin/
+
+fhs-header-dirs ::
+ $(MKDIRS) $(FHS_INCLUDE_DIR)$(libXmlRpc_HEADER_FILES_INSTALL_DIR)
+
+move-headers-to-fhs :: fhs-header-dirs
+ @echo "moving headers to $(FHS_INCLUDE_DIR) .."
+ mv $(GNUSTEP_HEADERS)$(libXmlRpc_HEADER_FILES_INSTALL_DIR)/*.h \
+ $(FHS_INCLUDE_DIR)$(libXmlRpc_HEADER_FILES_INSTALL_DIR)/
+
+NONFHS_LIBDIR="$(GNUSTEP_LIBRARIES)/$(GNUSTEP_TARGET_LDIR)/"
+NONFHS_LIBNAME="$(LIBRARY_NAME)$(LIBRARY_NAME_SUFFIX)$(SHARED_LIBEXT)"
+
+move-libs-to-fhs ::
+ @echo "moving libs to $(FHS_LIB_DIR) .."
+ mv $(NONFHS_LIBDIR)/$(NONFHS_LIBNAME)* $(FHS_LIB_DIR)/
+
+move-to-fhs :: move-headers-to-fhs move-libs-to-fhs
+
+after-install :: move-to-fhs
+
+endif
+2004-08-29 Helge Hess <helge.hess@opengroupware.org>
+
+ * added hack to install the project in FHS locations - the SAX driver
+ will be installed in FHS_INSTALL_ROOT if specified (eg make
+ FHS_INSTALL_ROOT=/usr/local) (v4.3.17)
+
2004-08-26 Marcus Mueller <znek@mulle-kybernetik.com>
* libxmlSAXDriver.xcode: new Xcode project
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-include GNUmakefile.postamble
-
-
-ifneq ($(GNUSTEP_BUILD_DIR),)
-after-all ::
- @(cp bundle-info.plist \
- $(GNUSTEP_BUILD_DIR)/$(BUNDLE_NAME)$(BUNDLE_EXTENSION))
-else
-after-all ::
- @(cd $(BUNDLE_NAME)$(BUNDLE_EXTENSION);\
- cp ../bundle-info.plist .)
-endif
+-include fhs.make
--- /dev/null
+# postprocessing
+
+ifneq ($(GNUSTEP_BUILD_DIR),)
+after-all ::
+ @(cp bundle-info.plist \
+ $(GNUSTEP_BUILD_DIR)/$(BUNDLE_NAME)$(BUNDLE_EXTENSION))
+else
+after-all ::
+ @(cd $(BUNDLE_NAME)$(BUNDLE_EXTENSION);\
+ cp ../bundle-info.plist .)
+endif
# version
-SUBMINOR_VERSION:=16
+SUBMINOR_VERSION:=17
--- /dev/null
+# postprocessing
+
+# FHS support (this is a hack and is going to be done by gstep-make!)
+
+ifneq ($(FHS_INSTALL_ROOT),)
+
+FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
+FHS_SAX_DIR=$(FHS_LIB_DIR)sope-4.3/saxdrivers/
+
+fhs-sax-dirs ::
+ $(MKDIRS) $(FHS_SAX_DIR)
+
+move-bundles-to-fhs :: fhs-sax-dirs
+ @echo "moving bundles $(BUNDLE_INSTALL_DIR) to $(FHS_SAX_DIR) .."
+ for i in $(BUNDLE_NAME); do \
+ j="$(FHS_SAX_DIR)/$${i}$(BUNDLE_EXTENSION)"; \
+ if test -d $$j; then rm -r $$j; fi; \
+ mv "$(BUNDLE_INSTALL_DIR)/$${i}$(BUNDLE_EXTENSION)" $$j; \
+ done
+
+move-to-fhs :: move-bundles-to-fhs
+
+after-install :: move-to-fhs
+
+endif
+2004-08-29 Helge Hess <helge.hess@opengroupware.org>
+
+ * added hack to install the project in FHS locations - the SAX driver
+ will be installed in FHS_INSTALL_ROOT if specified (eg make
+ FHS_INSTALL_ROOT=/usr/local)
+
2004-08-24 Helge Hess <helge.hess@skyrix.com>
* GNUmakefile: install SAX driver in Library/SaxDrivers-4.3/
pyxSAXDriver_OBJC_FILES = pyxSAXDriver.m
-pyxSAXDriver_BUNDLE_LIBS += -lSaxObjC
-
-ifeq ($(GNUSTEP_TARGET_OS),cygwin32)
-pyxSAXDriver_BUNDLE_LIBS += \
- -lFoundation -lobjc
-endif
-
-pyxSAXDriver_RESOURCE_FILES = bundle-info.plist
-pyxSAXDriver_LOCALIZED_RESOURCE_FILES =
-
-ADDITIONAL_INCLUDE_DIRS += -I.. -I../..
-ADDITIONAL_LIB_DIRS += -L../SaxObjC/$(GNUSTEP_OBJ_DIR)
-
+-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
-
-ifneq ($(GNUSTEP_BUILD_DIR),)
-after-all ::
- @(cp bundle-info.plist \
- $(GNUSTEP_BUILD_DIR)/$(BUNDLE_NAME)$(BUNDLE_EXTENSION))
-else
-after-all ::
- @(cd $(BUNDLE_NAME)$(BUNDLE_EXTENSION);\
- cp ../bundle-info.plist .)
-endif
+-include GNUmakefile.postamble
+-include fhs.make
--- /dev/null
+# postprocessing
+
+ifneq ($(GNUSTEP_BUILD_DIR),)
+after-all ::
+ @(cp bundle-info.plist \
+ $(GNUSTEP_BUILD_DIR)/$(BUNDLE_NAME)$(BUNDLE_EXTENSION))
+else
+after-all ::
+ @(cd $(BUNDLE_NAME)$(BUNDLE_EXTENSION);\
+ cp ../bundle-info.plist .)
+endif
--- /dev/null
+# compilation settings
+
+pyxSAXDriver_BUNDLE_LIBS += -lSaxObjC
+
+ifeq ($(GNUSTEP_TARGET_OS),cygwin32)
+pyxSAXDriver_BUNDLE_LIBS += \
+ -lFoundation -lobjc
+endif
+
+pyxSAXDriver_RESOURCE_FILES = bundle-info.plist
+pyxSAXDriver_LOCALIZED_RESOURCE_FILES =
+
+ADDITIONAL_INCLUDE_DIRS += -I.. -I../..
+ADDITIONAL_LIB_DIRS += -L../SaxObjC/$(GNUSTEP_OBJ_DIR)
--- /dev/null
+# postprocessing
+
+# FHS support (this is a hack and is going to be done by gstep-make!)
+
+ifneq ($(FHS_INSTALL_ROOT),)
+
+FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
+FHS_SAX_DIR=$(FHS_LIB_DIR)sope-4.3/saxdrivers/
+
+fhs-sax-dirs ::
+ $(MKDIRS) $(FHS_SAX_DIR)
+
+move-bundles-to-fhs :: fhs-sax-dirs
+ @echo "moving bundles $(BUNDLE_INSTALL_DIR) to $(FHS_SAX_DIR) .."
+ for i in $(BUNDLE_NAME); do \
+ j="$(FHS_SAX_DIR)/$${i}$(BUNDLE_EXTENSION)"; \
+ if test -d $$j; then rm -r $$j; fi; \
+ mv "$(BUNDLE_INSTALL_DIR)/$${i}$(BUNDLE_EXTENSION)" $$j; \
+ done
+
+move-to-fhs :: move-bundles-to-fhs
+
+after-install :: move-to-fhs
+
+endif
-# $Id$
+# $Id: GNUmakefile 4 2004-08-20 17:04:31Z helge $
include $(GNUSTEP_MAKEFILES)/common.make
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/tool.make
-include GNUmakefile.postamble
+-include fhs.make
--- /dev/null
+# postprocessing
+
+# FHS support (this is a hack and is going to be done by gstep-make!)
+
+ifneq ($(FHS_INSTALL_ROOT),)
+
+FHS_INCLUDE_DIR=$(FHS_INSTALL_ROOT)/include/
+FHS_LIB_DIR=$(FHS_INSTALL_ROOT)/lib/
+FHS_BIN_DIR=$(FHS_INSTALL_ROOT)/bin/
+
+fhs-bin-dirs ::
+ $(MKDIRS) $(FHS_BIN_DIR)
+
+NONFHS_BINDIR="$(GNUSTEP_TOOLS)/$(GNUSTEP_TARGET_LDIR)"
+
+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