| Summary: | Add calendar support to mozilla-devel | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Joe Kelsey <joek> | ||||||
| Component: | Individual Port(s) | Assignee: | freebsd-gnome (Nobody) <gnome> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Only Me | ||||||||
| Priority: | Normal | ||||||||
| Version: | Latest | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
Responsible Changed From-To: freebsd-ports->gnome Over to Maintainers State Changed From-To: open->feedback I think your Makefile patch is lacking. You didn't add a dependency on libical. Can I assume I need to add a LIB_DEPENDS on libical if WITH_CALENDAR is specified? Patched-in Makefile.diff Placed mozilla-calendar-1.2b.tar.gz in /usr/ports/distfiles Ran 'make -DWITH_CALENDAR' [note, these are in my make.conf] WITHOUT_MAILNEWS="yes" WITHOUT_CHATZILLA="yes" [end note] I get the following error: [earth] /usr/ports/www/mozilla-devel: make -DWITH_CALENDAR [irrelevant stuff snipped] gmake[1]: Entering directory `/usr/ports/www/mozilla-devel/work/mozilla' tier_98: calendar gmake[2]: Entering directory `/usr/ports/www/mozilla-devel/work/mozilla/calendar' gmake[3]: Entering directory `/usr/ports/www/mozilla-devel/work/mozilla/calendar/libxpical' ../../config/nsinstall -R -m 644 oeIICal.idl ../../dist/idl oeIICal.idl ../../dist/bin/xpidl -m header -w -I ../../dist/idl -I. -o _xpidlgen/oeIICal oeIICal.idl oeIICal.idl:41: can't open included file nsIMsgAttachment.idl for reading input callback returned failure gmake[3]: *** [_xpidlgen/oeIICal.h] Error 2 gmake[3]: Leaving directory `/usr/ports/www/mozilla-devel/work/mozilla/calendar/libxpical' gmake[2]: *** [export] Error 2 gmake[2]: Leaving directory `/usr/ports/www/mozilla-devel/work/mozilla/calendar' gmake[1]: *** [tier_98] Error 2 gmake[1]: Leaving directory `/usr/ports/www/mozilla-devel/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 Stop in /usr/ports/www/mozilla-devel. [earth] /usr/ports/www/mozilla-devel: [earth] /usr/ports/www/mozilla-devel: find . -name nsIMsgAttachment.idl -print ./work/mozilla/mailnews/compose/public/nsIMsgAttachment.idl Any thoughts? -- Cogeco ergo sum State Changed From-To: feedback->closed Committed, thanks! |
Add calendar support to mozilla-devel Fix: The following patches add calendar support to mozilla-devel. Note that I have included mozilla-calendar-1.2b.tar.gz.uu. This is a hand-rolled tarball done by simply doing a cvs co mozilla/calendar on the standard repository. It needs to be put somewhere that people can fetch it (~marcus?). Also, we need to add a dependency on libical 0.24. Current libical 0.24 is in RC3 and it builds fine on FreeBSD. I would expect it to be released shortly and the libical port can then be updated (or you can put in the RC1 or RC3 updates...RC2 does not build on FreeBSD.) Another option here is to build calendar and provide the xpi file on the FreeBSD ftp site. I am trying to get some feedback from the calendar developer about the exact contents of a viable xpi file for FreeBSD, but so far no response. I do not think it is worthwhile to build calendar for mozilla-vendor or for mozilla. 1.2 will be officially released soon and then 1.3 is supposed to have calendar support built-in. --- mozilla-calendar-1.2b.tar.gz.uu ends here -----PCB6v51HouByyFcHXc2YQ7mN9Zj7z7vQiPNhOTraLZAi3bJy Content-Type: text/plain; name="Makefile.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Makefile.diff" --- Makefile.orig Wed Oct 30 06:57:04 2002 +++ Makefile Fri Nov 8 10:03:03 2002 @@ -103,6 +103,12 @@ .endif CONFIGURE_ENV= MOZ_INTERNAL_LIBART_LGPL=1 +.if defined(WITH_CALENDAR) +DISTFILES+= ${PORTNAME}-calendar-${PORTVERSION}${EXTRACT_SUFX}:local +CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS+= --enable-calendar +.endif + .if defined(WITHOUT_COMPOSER) CONFIGURE_ARGS+= --disable-composer .endif @@ -119,6 +125,13 @@ .endif .include <bsd.port.pre.mk> + +pre-everything:: +.if defined(WITH_CALENDAR) + @${ECHO_MSG} "Calendar is still beta software." + @${ECHO_MSG} "Use at your own risk." + @${ECHO_MSG} "http://mozilla.org/projects/calendar/" +.endif MAKE_ENV= LD_LIBRARY_PATH=${WRKSRC}/dist/bin \ MOZ_INTERNAL_LIBART_LGPL=1 How-To-Repeat: Calendar cannot be built with current mozilla-devel.