Monotone-Parent: f2ad0d0ba43feee8b989d79cf1cdceae7fb74a75
Monotone-Revision: 022519830de83b3b349d002bfd9d9b711c7d9909 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-08-08T14:55:27 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
4fe4cd700a
commit
c99f40eea4
|
@ -1,3 +1,8 @@
|
||||||
|
2007-08-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||||
|
|
||||||
|
* Main/SOGo.m ([SOGo +initialize]): show the build date and
|
||||||
|
hostname at startup.
|
||||||
|
|
||||||
2007-08-07 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
2007-08-07 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||||
|
|
||||||
* SoObjects/Appointments/SOGoCalendarComponent.m
|
* SoObjects/Appointments/SOGoCalendarComponent.m
|
||||||
|
|
|
@ -9,11 +9,14 @@ SOGOD = sogod-$(MAJOR_VERSION).$(MINOR_VERSION)
|
||||||
TOOL_NAME = $(SOGOD)
|
TOOL_NAME = $(SOGOD)
|
||||||
|
|
||||||
# daemon tool
|
# daemon tool
|
||||||
|
all::
|
||||||
|
$(RM) obj/build.*
|
||||||
|
|
||||||
$(SOGOD)_OBJC_FILES += \
|
$(SOGOD)_OBJC_FILES += \
|
||||||
sogod.m \
|
sogod.m \
|
||||||
SOGo.m \
|
SOGo.m \
|
||||||
SOGoProductLoader.m \
|
SOGoProductLoader.m \
|
||||||
|
build.m
|
||||||
|
|
||||||
-include GNUmakefile.preamble
|
-include GNUmakefile.preamble
|
||||||
include $(GNUSTEP_MAKEFILES)/tool.make
|
include $(GNUSTEP_MAKEFILES)/tool.make
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
# compile settings
|
# compile settings
|
||||||
|
|
||||||
|
BUILD_DATE = $(shell echo $$USER@$$HOSTNAME; date +"%Y%m%d%H%M")
|
||||||
ADDITIONAL_CPPFLAGS += \
|
ADDITIONAL_CPPFLAGS += \
|
||||||
-DSOGO_MAJOR_VERSION=$(MAJOR_VERSION) \
|
-DSOGO_MAJOR_VERSION=$(MAJOR_VERSION) \
|
||||||
-DSOGO_MINOR_VERSION=$(MINOR_VERSION) \
|
-DSOGO_MINOR_VERSION=$(MINOR_VERSION) \
|
||||||
|
@ -7,7 +8,7 @@ ADDITIONAL_CPPFLAGS += \
|
||||||
|
|
||||||
ADDITIONAL_INCLUDE_DIRS += \
|
ADDITIONAL_INCLUDE_DIRS += \
|
||||||
-I../SoObjects/ \
|
-I../SoObjects/ \
|
||||||
-I..
|
-I.. -DSOGO_BUILD_DATE="@\"$(BUILD_DATE)\""
|
||||||
|
|
||||||
ADDITIONAL_LIB_DIRS += \
|
ADDITIONAL_LIB_DIRS += \
|
||||||
-L../SoObjects/SOGo/$(GNUSTEP_OBJ_DIR)/ \
|
-L../SoObjects/SOGo/$(GNUSTEP_OBJ_DIR)/ \
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
#import <SoObjects/SOGo/SOGoUser.h>
|
#import <SoObjects/SOGo/SOGoUser.h>
|
||||||
#import <SoObjects/SOGo/SOGoPermissions.h>
|
#import <SoObjects/SOGo/SOGoPermissions.h>
|
||||||
|
|
||||||
|
#import "build.h"
|
||||||
#import "SOGoProductLoader.h"
|
#import "SOGoProductLoader.h"
|
||||||
|
|
||||||
@interface SOGo : SoApplication
|
@interface SOGo : SoApplication
|
||||||
|
@ -74,6 +75,8 @@ static BOOL debugObjectAllocation = NO;
|
||||||
SoClassSecurityInfo *sInfo;
|
SoClassSecurityInfo *sInfo;
|
||||||
NSArray *basicRoles;
|
NSArray *basicRoles;
|
||||||
id tmp;
|
id tmp;
|
||||||
|
|
||||||
|
NSLog (@"starting SOGo (build %@)", SOGoBuildDate);
|
||||||
|
|
||||||
doCrashOnSessionCreate = [ud boolForKey:@"SOGoCrashOnSessionCreate"];
|
doCrashOnSessionCreate = [ud boolForKey:@"SOGoCrashOnSessionCreate"];
|
||||||
#ifdef GNUSTEP_BASE_LIBRARY
|
#ifdef GNUSTEP_BASE_LIBRARY
|
||||||
|
|
|
@ -0,0 +1,28 @@
|
||||||
|
/* build.h - this file is part of $PROJECT_NAME_HERE$
|
||||||
|
*
|
||||||
|
* Copyright (C) 2007 Inverse groupe conseil
|
||||||
|
*
|
||||||
|
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||||
|
*
|
||||||
|
* This file is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
* any later version.
|
||||||
|
*
|
||||||
|
* This file 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 General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; see the file COPYING. If not, write to
|
||||||
|
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
|
* Boston, MA 02111-1307, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef BUILD_H
|
||||||
|
#define BUILD_H
|
||||||
|
|
||||||
|
extern NSString *SOGoBuildDate;
|
||||||
|
|
||||||
|
#endif /* BUILD_H */
|
|
@ -0,0 +1,26 @@
|
||||||
|
/* build.m - this file is part of SOGo
|
||||||
|
*
|
||||||
|
* Copyright (C) 2007 Inverse groupe conseil
|
||||||
|
*
|
||||||
|
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||||
|
*
|
||||||
|
* This file is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
* any later version.
|
||||||
|
*
|
||||||
|
* This file 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 General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; see the file COPYING. If not, write to
|
||||||
|
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
|
* Boston, MA 02111-1307, USA.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#import <Foundation/NSString.h>
|
||||||
|
|
||||||
|
NSString *SOGoBuildDate = SOGO_BUILD_DATE;
|
||||||
|
|
Loading…
Reference in New Issue