On Sun, Nov 17, 2013 at 10:21:48AM +0100, Sebastian Reitenbach wrote:
>  
> On Tuesday, November 12, 2013 11:35 CET, "Martijn Rijkeboer" 
> <[email protected]> wrote: 
>  
> > Hi,
> > 
> > When trying to use SOGo I'm getting the following error after logging in:
> > 
> >   An error occurred during object publishing
> > 
> >   the requested object could not be found!
> > 
> > 
> > In the SOGo log file the following messages are given:
> > 
> > Nov 12 11:20:16 sogod [6583]: <0x0x1c37d07be3c8[SOGoProductLoader]>  
> > AdministrationUI.SOGo, Appointments.SOGo, CommonUI.SOGo, Contacts.SOGo,
> > ContactsUI.SOGo, MailPartViewers.SOGo, Mailer.SOGo, MailerUI.SOGo,
> > MainUI.SOGo, PreferencesUI.SOGo, SchedulerUI.SOGo
> > /usr/local/sbin/sogod:/usr/local/lib/GNUstep/SOGo/MailPartViewers.SOGo/./MailPartViewers:
> > undefined symbol '__objc_class_name_SOGoMailBodyPart'
> > /usr/local/sbin/sogod:/usr/local/lib/GNUstep/SOGo/MailPartViewers.SOGo/./MailPartViewers:
> > undefined symbol '__objc_class_name_SOGoAppointmentObject'
> > Nov 12 11:20:16 sogod [6583]: [so-product-registry] could not load
> > product: MailPartViewers
> > /usr/local/sbin/sogod:/usr/local/lib/GNUstep/SOGo/MailerUI.SOGo/./MailerUI:
> > undefined symbol '__objc_class_name_UIxMailRenderingContext'
> > Nov 12 11:20:16 sogod [6583]: [so-product-registry] could not load
> > product: MailerUI
> > 
> > 
> > On the SOGo bug tracking system I've found a similar error
> > (http://www.sogo.nu/bugs/view.php?id=2327). Unfortunately ludovic marked
> > it as "won't fix" since the OP should use the SOGo version of GNUstep. Any
> > ideas how to fix this?
> > 
> > 
> > OS: OpenBSD 5.4-stable
> > Arch: amd64
> > Sogo: sogo-2.0.5.0p0
> > Sope: sope-2.0.5.0
> > GNUstep: gnustep-base-1.24.4p0, gnustep-make-2.6.4
> > 
> > Kind regards,
> > 
> > 
> > Martijn Rijkeboer
> > 
> 
> Doh, I had this patch shortly after the lock reopened, but at that time it 
> was not
> the right time to apply it, and meanwhile I forgot about it. 
> Attached the patch thats fixing the issue.
> 
> OK to apply it now to 5.4 stable?

I am fine with it.


> 
> cheers,
> Sebastian
> 
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/www/sogo/Makefile,v
> retrieving revision 1.31
> diff -u -p -u -r1.31 Makefile
> --- Makefile  20 Jul 2013 17:39:17 -0000      1.31
> +++ Makefile  10 Aug 2013 13:15:16 -0000
> @@ -3,7 +3,7 @@
>  COMMENT =    web based groupware server
>  
>  VERSION =    2.0.5
> -REVISION =   0
> +REVISION =   1
>  DISTNAME =   SOGo-${VERSION}a
>  PKGNAME =    sogo-${VERSION}.0
>  
> Index: patches/patch-UI_MailPartViewers_GNUmakefile
> ===================================================================
> RCS file: patches/patch-UI_MailPartViewers_GNUmakefile
> diff -N patches/patch-UI_MailPartViewers_GNUmakefile
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ patches/patch-UI_MailPartViewers_GNUmakefile      10 Aug 2013 13:15:16 
> -0000
> @@ -0,0 +1,28 @@
> +$OpenBSD$
> +--- UI/MailPartViewers/GNUmakefile.orig      Thu Jun 27 17:50:25 2013
> ++++ UI/MailPartViewers/GNUmakefile   Sat Jun 29 16:39:10 2013
> +@@ -26,6 +26,24 @@ MailPartViewers_OBJC_FILES += \
> +     UIxMailPartICalViewer.m         \
> +     \
> +     UIxMailPartICalActions.m        \
> ++    ../../SoObjects/Mailer/SOGoMailBodyPart.m \
> ++    ../../SoObjects/Mailer/SOGoHTMLMailBodyPart.m \
> ++    ../../SoObjects/Mailer/SOGoCalendarMailBodyPart.m \
> ++    ../../SoObjects/Mailer/SOGoMailAccounts.m \
> ++    ../../SoObjects/Mailer/SOGoMailBaseObject.m \
> ++    ../../SoObjects/Mailer/SOGoMailAccount.m \
> ++    ../../SoObjects/Mailer/SOGoMailNamespace.m \
> ++    ../../SoObjects/Mailer/SOGoDraftsFolder.m \
> ++    ../../SoObjects/Mailer/SOGoSentFolder.m \
> ++    ../../SoObjects/Mailer/SOGoTrashFolder.m \
> ++    ../../SoObjects/Mailer/SOGoMailFolder.m \
> ++    ../../SoObjects/Mailer/SOGoDraftObject.m \
> ++    ../../SoObjects/Mailer/SOGoMailObject.m \
> ++    ../../SoObjects/Appointments/SOGoEMailAlarmsManager.m \
> ++    ../../SoObjects/Appointments/SOGoAppointmentObject.m \
> ++    ../../SoObjects/Appointments/SOGoComponentOccurence.m \
> ++    ../../SoObjects/Appointments/SOGoAppointmentOccurence.m \
> ++    ../../SoObjects/Appointments/SOGoCalendarComponent.m
> + 
> + MailPartViewers_RESOURCE_FILES += \
> +     product.plist           \
> Index: patches/patch-UI_MailPartViewers_GNUmakefile_preamble
> ===================================================================
> RCS file: patches/patch-UI_MailPartViewers_GNUmakefile_preamble
> diff -N patches/patch-UI_MailPartViewers_GNUmakefile_preamble
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ patches/patch-UI_MailPartViewers_GNUmakefile_preamble     10 Aug 2013 
> 13:15:16 -0000
> @@ -0,0 +1,13 @@
> +$OpenBSD$
> +--- UI/MailPartViewers/GNUmakefile.preamble.orig     Sat Aug 10 11:26:22 2013
> ++++ UI/MailPartViewers/GNUmakefile.preamble  Sat Aug 10 11:26:45 2013
> +@@ -2,3 +2,9 @@ ifeq ($(HAS_LIBRARY_ssl),yes)
> + ADDITIONAL_CPPFLAGS += -DHAVE_OPENSSL=1
> + BUNDLE_LIBS += -lcrypto
> + endif
> ++
> ++ADDITIONAL_CPPFLAGS += \
> ++        -Wall -DCOMPILE_FOR_GSTEP_MAKE=1        \
> ++        -DUIX_MAILER_MAJOR_VERSION="@\"$(MAJOR_VERSION)\""   \
> ++        -DUIX_MAILER_MINOR_VERSION="@\"$(MINOR_VERSION)\""   \
> ++        -DUIX_MAILER_SUBMINOR_VERSION="@\"$(SUBMINOR_VERSION)\""
> 
> 
> 
>  
>  
> 

-- 
Antoine

Reply via email to