@end
#include "SOGoICalHTTPHandler.h"
-#include <SOGo/SoObjects/Appointments/SOGoAppointmentFolder.h>
+#include <SoObjects/Appointments/SOGoAppointmentFolder.h>
#include <SOGoLogic/SOGoAppointment.h>
#include "common.h"
@end
#include "SOGoICalHTTPHandler.h"
-#include <SOGo/SoObjects/Appointments/SOGoAppointmentFolder.h>
-#include <SOGo/SoObjects/Appointments/SOGoAppointmentObject.h>
+#include <SoObjects/Appointments/SOGoAppointmentFolder.h>
+#include <SoObjects/Appointments/SOGoAppointmentObject.h>
#include <SOGoLogic/SOGoAppointment.h>
#include <NGiCal/NGiCal.h>
#include <NGiCal/iCalRenderer.h>
*/
#include "SOGoICalHTTPHandler.h"
-#include <SOGo/SoObjects/Appointments/SOGoAppointmentFolder.h>
+#include <SoObjects/Appointments/SOGoAppointmentFolder.h>
#include "common.h"
#include <NGObjWeb/WOContext+SoObjects.h>
#ifndef __Mailer_SOGoDraftsFolder_H__
#define __Mailer_SOGoDraftsFolder_H__
-#include <SOGo/SoObjects/Mailer/SOGoMailBaseObject.h>
+#include <SoObjects/Mailer/SOGoMailBaseObject.h>
/*
SOGoDraftsFolder
#ifndef __Mailer_SOGoMailAccount_H__
#define __Mailer_SOGoMailAccount_H__
-#include <SOGo/SoObjects/Mailer/SOGoMailBaseObject.h>
+#include <SoObjects/Mailer/SOGoMailBaseObject.h>
/*
SOGoMailAccount
#ifndef __Mailer_SOGoMailFolder_H__
#define __Mailer_SOGoMailFolder_H__
-#include <SOGo/SoObjects/Mailer/SOGoMailBaseObject.h>
+#include <SoObjects/Mailer/SOGoMailBaseObject.h>
#import <Foundation/NSRange.h>
/*
#ifndef __Mailer_SOGoMailObject_H__
#define __Mailer_SOGoMailObject_H__
-#include <SOGo/SoObjects/Mailer/SOGoMailBaseObject.h>
+#include <SoObjects/Mailer/SOGoMailBaseObject.h>
/*
SOGoMailObject
- (NSArray *)unescapeURLComponents:(NSArray *)_parts {
#warning TODO: implement URL UID unescaping if necessary
+ // TODO: who calls this for what?
// Note: remember URL encoding!
return _parts;
}
if (ms != nil) return ms;
}
-#warning TODO: localize 'members' (UI component task?)
+ // TODO: localize 'members' (UI component task?)
return [NSString stringWithFormat:@"Members: %d", count];
}
ADDITIONAL_INCLUDE_DIRS += \
-I.. \
- -I../../..
+ -I../..
ADDITIONAL_LIB_DIRS += \
-L../SOGo/$(GNUSTEP_OBJ_DIR)/ \
@end
#include "common.h"
-#include <SOGo/SoObjects/Mailer/SOGoMailFolder.h>
-#include <SOGo/SoObjects/Mailer/SOGoMailObject.h>
+#include <SoObjects/Mailer/SOGoMailFolder.h>
+#include <SoObjects/Mailer/SOGoMailObject.h>
@implementation UIxFilterList
@end
-#include <SOGo/SoObjects/Mailer/SOGoDraftObject.h>
-#include <SOGo/SoObjects/Mailer/SOGoMailFolder.h>
-#include <SOGo/SoObjects/Mailer/SOGoMailAccount.h>
+#include <SoObjects/Mailer/SOGoDraftObject.h>
+#include <SoObjects/Mailer/SOGoMailFolder.h>
+#include <SoObjects/Mailer/SOGoMailAccount.h>
#include <NGMail/NGMimeMessage.h>
#include <NGMail/NGMimeMessageGenerator.h>
#include "common.h"
#include "UIxMailEditorAction.h"
-#include <SOGo/SoObjects/Mailer/SOGoDraftsFolder.h>
-#include <SOGo/SoObjects/Mailer/SOGoDraftObject.h>
-#include <SOGo/SoObjects/Mailer/SOGoMailAccount.h>
-#include <SOGo/SoObjects/Mailer/SOGoMailObject.h>
+#include <SoObjects/Mailer/SOGoDraftsFolder.h>
+#include <SoObjects/Mailer/SOGoDraftObject.h>
+#include <SoObjects/Mailer/SOGoMailAccount.h>
+#include <SoObjects/Mailer/SOGoMailObject.h>
#include "common.h"
@implementation UIxMailEditorAction
@end
-#include <SOGo/SoObjects/Mailer/SOGoDraftObject.h>
+#include <SoObjects/Mailer/SOGoDraftObject.h>
#include "common.h"
@implementation UIxMailEditorAttach
@interface UIxMailForwardAction : UIxMailEditorAction
@end
-#include <SOGo/SoObjects/Mailer/SOGoMailObject.h>
-#include <SOGo/SoObjects/Mailer/SOGoDraftObject.h>
+#include <SoObjects/Mailer/SOGoMailObject.h>
+#include <SoObjects/Mailer/SOGoDraftObject.h>
#include "common.h"
@implementation UIxMailForwardAction
@end
#include "common.h"
-#include <SOGo/SoObjects/Mailer/SOGoMailFolder.h>
-#include <SOGo/SoObjects/Mailer/SOGoMailObject.h>
+#include <SoObjects/Mailer/SOGoMailFolder.h>
+#include <SoObjects/Mailer/SOGoMailObject.h>
@implementation UIxMailListView
@interface UIxMailReplyAction : UIxMailEditorAction
@end
-#include <SOGo/SoObjects/Mailer/SOGoMailObject.h>
-#include <SOGo/SoObjects/Mailer/SOGoDraftObject.h>
+#include <SoObjects/Mailer/SOGoMailObject.h>
+#include <SoObjects/Mailer/SOGoDraftObject.h>
#include <NGImap4/NGImap4EnvelopeAddress.h>
#include <NGImap4/NGImap4Envelope.h>
#include "common.h"
}
@end
-#include <SOGo/SoObjects/Mailer/SOGoMailBaseObject.h>
+#include <SoObjects/Mailer/SOGoMailBaseObject.h>
#include "common.h"
#include <NGObjWeb/SoComponent.h>
@end
#include "UIxMailTreeBlock.h"
-#include <SOGo/SoObjects/Mailer/SOGoMailBaseObject.h>
-#include <SOGo/SoObjects/Mailer/SOGoMailAccount.h>
+#include <SoObjects/Mailer/SOGoMailBaseObject.h>
+#include <SoObjects/Mailer/SOGoMailAccount.h>
#include "common.h"
#include <NGObjWeb/SoComponent.h>
#include <NGObjWeb/SoObject+SoDAV.h>
@end
-#include <SOGo/SoObjects/Sieve/SOGoSieveScriptObject.h>
+#include <SoObjects/Sieve/SOGoSieveScriptObject.h>
#include "common.h"
@implementation UIxSieveEditor
- (NSString *)shortUserNameForDisplay {
// TODO: better use a SoUser formatter?
+ // TODO: who calls that?
NSString *s;
NSRange r;
-
-#warning TODO: USE USER MANAGER INSTEAD!
-
+
+ // TODO: USE USER MANAGER INSTEAD!
+
s = [[self user] login];
if ([s length] < 10)
return s;
--- /dev/null
+# 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_SOGOD_DIR=$(FHS_LIB_DIR)sogod-$(MAJOR_VERSION).$(MINOR_VERSION)/
+
+#NONFHS_LIBDIR="$(GNUSTEP_LIBRARIES)/$(GNUSTEP_TARGET_LDIR)/"
+#NONFHS_LIBNAME="$(LIBRARY_NAME)$(LIBRARY_NAME_SUFFIX)$(SHARED_LIBEXT)"
+NONFHS_BINDIR="$(GNUSTEP_TOOLS)/$(GNUSTEP_TARGET_LDIR)"
+
+
+fhs-sogod-dirs ::
+ $(MKDIRS) $(FHS_SOGOD_DIR)
+
+move-bundles-to-fhs :: fhs-sogod-dirs
+ @echo "moving bundles $(BUNDLE_INSTALL_DIR) to $(FHS_WEBUI_DIR) .."
+ for i in $(BUNDLE_NAME); do \
+ j="$(FHS_WEBUI_DIR)/$${i}$(BUNDLE_EXTENSION)"; \
+ if test -d $$j; then rm -r $$j; fi; \
+ (cd $(BUNDLE_INSTALL_DIR); \
+ $(TAR) chf - --exclude=CVS --exclude=.svn --to-stdout \
+ "$${i}$(BUNDLE_EXTENSION)") | \
+ (cd $(FHS_WEBUI_DIR); $(TAR) xf -); \
+ rm -rf "$(BUNDLE_INSTALL_DIR)/$${i}$(BUNDLE_EXTENSION)";\
+ done
+
+# mv "$(BUNDLE_INSTALL_DIR)/$${i}$(BUNDLE_EXTENSION)" $$j; \
+
+move-to-fhs :: move-bundles-to-fhs
+
+after-install :: move-to-fhs
+
+endif