+2006-07-05 Helge Hess <helge.hess@opengroupware.org>
+
+ * v4.5.240
+
+ * SoObjects/SoProductRegistry.m, SoObjects/SoProductLoader.m:
+ changed to find SoProducts on 64bit systems in lib64, added
+ FHS_INSTALL_ROOT to lookup path
+
+ * Templates/WOApplication+Builders.m: changed to find WOxBuilders on
+ 64bit systems in lib64, added FHS_INSTALL_ROOT to lookup path
+
2006-07-03 Helge Hess <helge.hess@opengroupware.org>
* use %p for pointer formats, fixed gcc 4.1 warnings, use
ADDITIONAL_INCLUDE_DIRS += -I../WebDAV/
ADDITIONAL_CPPFLAGS += -DCOMPILING_NGOBJWEB=1 -DCOMPILE_FOR_GNUSTEP=1
+
+# Parameters for SoProduct lookup
+
+ifneq ($(FHS_INSTALL_ROOT),)
+ADDITIONAL_CPPFLAGS += -DFHS_INSTALL_ROOT=\@\"$(FHS_INSTALL_ROOT)\"
+endif
+
+ifeq ($(CONFIGURE_64BIT),yes)
+ADDITIONAL_CPPFLAGS += -DCONFIGURE_64BIT=1
+endif
NSString *s;
s = self->fhsDirectoryName;
+
+#if CONFIGURE_64BIT
+#ifdef FHS_INSTALL_ROOT
+ [ma addObject:[[FHS_INSTALL_ROOT stringByAppendingString:@"/lib64/"]
+ stringByAppendingString:s]];
+#endif
+ [ma addObject:[@"/usr/local/lib64/" stringByAppendingString:s]];
+ [ma addObject:[@"/usr/lib64/" stringByAppendingString:s]];
+#else
+#ifdef FHS_INSTALL_ROOT
+ [ma addObject:[[FHS_INSTALL_ROOT stringByAppendingString:@"/lib/"]
+ stringByAppendingString:s]];
+#endif
[ma addObject:[@"/usr/local/lib/" stringByAppendingString:s]];
[ma addObject:[@"/usr/lib/" stringByAppendingString:s]];
+#endif
}
- (NSArray *)productSearchPathes {
/*
- Copyright (C) 2002-2005 SKYRIX Software AG
+ Copyright (C) 2002-2006 SKYRIX Software AG
+ Copyright (C) 2006 Helge Hess
This file is part of SOPE.
#endif
/* look into FHS pathes */
- relPath = [NSString stringWithFormat:@"lib/sope-%i.%i/products/",
+ relPath = [NSString stringWithFormat:
+#if CONFIGURE_64BIT
+ @"lib64/sope-%i.%i/products/",
+#else
+ @"lib/sope-%i.%i/products/",
+#endif
SOPE_MAJOR_VERSION, SOPE_MINOR_VERSION];
pathes = [NSArray arrayWithObjects:
+#ifdef FHS_INSTALL_ROOT
+ [FHS_INSTALL_ROOT stringByAppendingString:relPath],
+#endif
[@"/usr/local/" stringByAppendingString:relPath],
[@"/usr/" stringByAppendingString:relPath],
nil];
--- /dev/null
+# compilation settings
+
+# Parameters for WOxBuilder lookups
+
+ifneq ($(FHS_INSTALL_ROOT),)
+ADDITIONAL_CPPFLAGS += -DFHS_INSTALL_ROOT=\@\"$(FHS_INSTALL_ROOT)\"
+endif
+
+ifeq ($(CONFIGURE_64BIT),yes)
+ADDITIONAL_CPPFLAGS += -DCONFIGURE_64BIT=1
+endif
/*
- Copyright (C) 2000-2005 SKYRIX Software AG
+ Copyright (C) 2000-2006 SKYRIX Software AG
+ Copyright (C) 2006 Helge Hess
This file is part of SOPE.
/* look into FHS pathes */
- relPath = [NSString stringWithFormat:@"lib/sope-%i.%i/wox-builders/",
+ relPath = [NSString stringWithFormat:
+#if CONFIGURE_64BIT
+ @"lib/sope-%i.%i/wox-builders/",
+#else
+ @"lib64/sope-%i.%i/wox-builders/",
+#endif
SOPE_MAJOR_VERSION, SOPE_MINOR_VERSION];
pathes = [NSArray arrayWithObjects:
+#ifdef FHS_INSTALL_ROOT
+ [FHS_INSTALL_ROOT stringByAppendingString:relPath],
+#endif
[@"/usr/local/" stringByAppendingString:relPath],
[@"/usr/" stringByAppendingString:relPath],
nil];
+2006-07-05 Helge Hess <helge.hess@opengroupware.org>
+
+ * WEResourceManager.m: added FHS_INSTALL_ROOT to lookup path (v4.5.87)
+
2006-07-03 Helge Hess <helge.hess@opengroupware.org>
* use %p for pointer formats, fixed gcc 4.1 warnings, use -isNotEmpty
libWEExtensions_VERSION=$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)
+# Parameters for resource lookup
+
+ifneq ($(FHS_INSTALL_ROOT),)
+ADDITIONAL_CPPFLAGS += -DFHS_INSTALL_ROOT=\@\"$(FHS_INSTALL_ROOT)\"
+endif
+
+ifeq ($(CONFIGURE_64BIT),yes)
+ADDITIONAL_CPPFLAGS += -DCONFIGURE_64BIT=1
+endif
+
+
# dependencies
libWEExtensions_LIBRARIES_DEPEND_UPON += \
# version file
-SUBMINOR_VERSION:=86
+SUBMINOR_VERSION:=87
# v4.5.76 requires libNGObjWeb v4.5.176
# v4.5.75 requires libNGObjWeb v4.5.174
/*
- Copyright (C) 2005 SKYRIX Software AG
+ Copyright (C) 2005-2006 SKYRIX Software AG
+ Copyright (C) 2006 Helge Hess
This file is part of SOPE.
return [tmp componentsSeparatedByString:@":"];
}
+ (NSArray *)rootPathesInFHS {
- return [NSArray arrayWithObjects:@"/usr/local/", @"/usr/", nil];
+ return [NSArray arrayWithObjects:
+#ifdef FHS_INSTALL_ROOT
+ FHS_INSTALL_ROOT,
+#endif
+ @"/usr/local/", @"/usr/", nil];
}
+ (NSArray *)findResourceDirectoryPathesWithName:(NSString *)_name
+2006-07-05 Helge Hess <helge.hess@opengroupware.org>
+
+ * NGResourceLocator.m: added FHS_INSTALL_ROOT to lookup path (v4.5.187)
+
2006-07-04 Helge Hess <helge.hess@opengroupware.org>
* NGBundleManager.m: added more debug logs which can be triggered using
libNGExtensions_INCLUDE_DIRS += -I..
+# Parameters for resource lookup
+
+ifneq ($(FHS_INSTALL_ROOT),)
+ADDITIONAL_CPPFLAGS += -DFHS_INSTALL_ROOT=\@\"$(FHS_INSTALL_ROOT)\"
+endif
+
+ifeq ($(CONFIGURE_64BIT),yes)
+ADDITIONAL_CPPFLAGS += -DCONFIGURE_64BIT=1
+endif
+
+
# dependencies
libNGExtensions_LIBRARIES_DEPEND_UPON += \
/*
- Copyright (C) 2000-2005 SKYRIX Software AG
+ Copyright (C) 2000-2006 SKYRIX Software AG
+ Copyright (C) 2006 Helge Hess
This file is part of SOPE.
- (NSArray *)fhsRootPathes {
// TODO: we probably want to make this configurable?! At least with an envvar
static NSArray *pathes = nil;
- if (pathes == nil)
- pathes = [[NSArray alloc] initWithObjects:@"/usr/local/", @"/usr/", nil];
+ if (pathes == nil) {
+ pathes = [[NSArray alloc] initWithObjects:
+#ifdef FHS_INSTALL_ROOT
+ FHS_INSTALL_ROOT,
+#endif
+ @"/usr/local/", @"/usr/", nil];
+ }
return pathes;
}
# version
-SUBMINOR_VERSION:=186
+SUBMINOR_VERSION:=187
# v4.3.115 requires libFoundation v1.0.59
# v4.2.72 requires libEOControl v4.2.39
+2006-07-05 Helge Hess <helge.hess@opengroupware.org>
+
+ * EOAdaptor.m: changed to find SAX drivers on 64bit systems
+ in lib64, added FHS_INSTALL_ROOT to lookup path (v4.5.57)
+
2006-07-04 Helge Hess <helge.hess@opengroupware.org>
* use %p for pointer formats, fixed gcc 4.1 warnings (v4.5.56)
}
}
- tmp = [NSString stringWithFormat:@"/lib/sope-%i.%i/dbadaptors",
+ tmp = [NSString stringWithFormat:
+#if CONFIGURE_64BIT
+ @"/lib64/sope-%i.%i/dbadaptors",
+#else
+ @"/lib/sope-%i.%i/dbadaptors",
+#endif
SOPE_MAJOR_VERSION, SOPE_MINOR_VERSION];
+
+#ifdef FHS_INSTALL_ROOT
+ [ma addObject:[FHS_INSTALL_ROOT stringByAppendingPathComponent:tmp]];
+#endif
+
[ma addObject:[@"/usr/local" stringByAppendingString:tmp]];
[ma addObject:[@"/usr" stringByAppendingString:tmp]];
-I$(SOPE_ROOT)/sope-core/NGExtensions/
+# Parameters for EOAdaptor lookup
+
+ifneq ($(FHS_INSTALL_ROOT),)
+ADDITIONAL_CPPFLAGS += -DFHS_INSTALL_ROOT=\@\"$(FHS_INSTALL_ROOT)\"
+endif
+
+ifeq ($(CONFIGURE_64BIT),yes)
+ADDITIONAL_CPPFLAGS += -DCONFIGURE_64BIT=1
+endif
+
+
# dependencies
libGDLAccess_LIBRARIES_DEPEND_UPON += -lEOControl
# version file
-SUBMINOR_VERSION:=56
+SUBMINOR_VERSION:=57
2006-07-05 Helge Hess <helge.hess@opengroupware.org>
+ * SaxObjectModel.m: added FHS_INSTALL_ROOT to lookup path (v4.5.60)
+
* SaxXMLReaderFactory.m: changed to find SAX drivers on 64bit systems
in lib64, added FHS_INSTALL_ROOT to lookup path (v4.5.59)
# Parameters for SaxDriver lookup
ifneq ($(FHS_INSTALL_ROOT),)
-ADDITIONAL_CPPFLAGS += \
- -DFHS_INSTALL_ROOT=\@\"$(FHS_INSTALL_ROOT)\"
+ADDITIONAL_CPPFLAGS += -DFHS_INSTALL_ROOT=\@\"$(FHS_INSTALL_ROOT)\"
endif
ifeq ($(CONFIGURE_64BIT),yes)
p = [NSString stringWithFormat:@"share/sope-%i.%i/saxmappings/",
SOPE_MAJOR_VERSION, SOPE_MINOR_VERSION];
+#ifdef FHS_INSTALL_ROOT
+ [ma addObject:[FHS_INSTALL_ROOT stringByAppendingPathComponent:p]];
+#endif
[ma addObject:[@"/usr/local/" stringByAppendingString:p]];
[ma addObject:[@"/usr/" stringByAppendingString:p]];
}
# version file
-SUBMINOR_VERSION:=59
+SUBMINOR_VERSION:=60