Bug 114995 - New source ebuild for mozilla-sunbird 0.3
Bug#: 114995 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: mozilla@gentoo.org Reported By: emil@dukato.net
Component: Ebuilds
URL: 
Summary: New source ebuild for mozilla-sunbird 0.3
Keywords:  
Status Whiteboard: 
Opened: 2005-12-09 08:58 0000
Description:   Opened: 2005-12-09 08:58 0000
Please add mozilla-sunbird 0.3 alpha1 to portage.

------- Comment #1 From Martin Wegner 2005-12-11 02:55:07 0000 -------
Created an attachment (id=74479) [details]
Ebuild for 0.3a1

I've adapted the existing 0.2 ebuild just to use another SRC_URI. Maybe this
ebuild needs changes in the dependencies and with mozilla-launcher. But so far,
it WORKSFORME

------- Comment #2 From MATSUU Takuto 2006-01-18 16:13:03 0000 -------
Created an attachment (id=77477) [details]
app-office/mozilla-sunbird-0.3_alpha1.ebuild

WORKSFORME

------- Comment #3 From Rossen Apostolov 2006-01-18 18:19:13 0000 -------
Well, it doesn't work for me:

$ sunbird
No running windows found
calItemModule: registering @mozilla.org/calendar/manager;1
calItemModule: registering @mozilla.org/calendar/alarm-service;1
registering for category stuff
calItemModule: registering @mozilla.org/calendar/event;1
calItemModule: registering @mozilla.org/calendar/todo;1
calItemModule: registering @mozilla.org/calendar/attendee;1
calItemModule: registering @mozilla.org/calendar/attachment;1
calItemModule: registering @mozilla.org/calendar/recurrence-info;1
calItemModule: registering @mozilla.org/calendar/import;1?type=ics
registering for category stuff
calItemModule: registering @mozilla.org/calendar/export;1?type=ics
registering for category stuff
calItemModule: registering @mozilla.org/calendar/export;1?type=html
registering for category stuff
calItemModule: registering @mozilla.org/calendar/import;1?type=csv
registering for category stuff
calItemModule: registering @mozilla.org/calendar/export;1?type=csv
registering for category stuff
Starting calendar alarm service
observer added
observer removed
sunbird-bin exited with non-zero status (1)

This is with gcc-3.4.4-r1

------- Comment #4 From MATSUU Takuto 2006-01-20 03:15:33 0000 -------
You have to run sunbird as root before run it as user.
I don't know why it needs to run as root.

------- Comment #5 From Rossen Apostolov 2006-01-20 20:51:59 0000 -------
still doesn't work.

as root:

# rm -rf .mozilla/sunbird
# sunbird 
No running windows found
calItemModule: registering @mozilla.org/calendar/manager;1
calItemModule: registering @mozilla.org/calendar/alarm-service;1
registering for category stuff
calItemModule: registering @mozilla.org/calendar/event;1
calItemModule: registering @mozilla.org/calendar/todo;1
calItemModule: registering @mozilla.org/calendar/attendee;1
calItemModule: registering @mozilla.org/calendar/attachment;1
calItemModule: registering @mozilla.org/calendar/recurrence-info;1
calItemModule: registering @mozilla.org/calendar/import;1?type=ics
registering for category stuff
calItemModule: registering @mozilla.org/calendar/export;1?type=ics
registering for category stuff
calItemModule: registering @mozilla.org/calendar/export;1?type=html
registering for category stuff
calItemModule: registering @mozilla.org/calendar/import;1?type=csv
registering for category stuff
calItemModule: registering @mozilla.org/calendar/export;1?type=csv
registering for category stuff
Starting calendar alarm service
observer added
Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
GTK Panel of SCIM 1.4.2

observer removed
calItemModule: registering @mozilla.org/calendar/manager;1
calItemModule: registering @mozilla.org/calendar/alarm-service;1
registering for category stuff
calItemModule: registering @mozilla.org/calendar/event;1
calItemModule: registering @mozilla.org/calendar/todo;1
calItemModule: registering @mozilla.org/calendar/attendee;1
calItemModule: registering @mozilla.org/calendar/attachment;1
calItemModule: registering @mozilla.org/calendar/recurrence-info;1
calItemModule: registering @mozilla.org/calendar/import;1?type=ics
registering for category stuff
calItemModule: registering @mozilla.org/calendar/export;1?type=ics
registering for category stuff
calItemModule: registering @mozilla.org/calendar/export;1?type=html
registering for category stuff
calItemModule: registering @mozilla.org/calendar/import;1?type=csv
registering for category stuff
calItemModule: registering @mozilla.org/calendar/export;1?type=csv
registering for category stuff
Starting calendar alarm service
error creating table cal_calendars -- probably already exists
error creating table cal_calendars_prefs -- probably already exists
observer added
/usr/lib/mozilla-sunbird/sunbird-bin: symbol lookup error:
/usr/lib/mozilla-sunbird/components/libgfx_gtk.so: undefined symbol:
pango_xft_get_font_map
sunbird-bin exited with non-zero status (127)

------- Comment #6 From tiago silva 2006-04-13 17:52:52 0000 -------
No news about a ebuild? there are 0.3a2 in the corner...

------- Comment #7 From Chris Carlin 2006-05-15 10:19:14 0000 -------
0.3a2 is here.

------- Comment #8 From David Grant 2006-05-27 01:05:16 0000 -------
0.3a2 is great by the way. I used it in Windows at work this week and it is
probably the most complete and stable version of sunbird that I have ever used.

------- Comment #9 From Jakub Moc (RETIRED) 2006-06-03 11:02:25 0000 -------
*** Bug 135399 has been marked as a duplicate of this bug. ***

------- Comment #10 From Mike Baikov 2006-07-04 05:03:04 0000 -------
alpha 2 has been released.

------- Comment #11 From Stefan Schweizer 2006-08-14 12:24:48 0000 -------
thanks. I updated the mozilla-sunbird-bin ebuild currently in portage. Source
ebuild is still being tracked here

------- Comment #12 From manwe 2006-10-05 04:55:12 0000 -------
Another version
http://releases.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/0.3rc1/sunbird-0.3rc1.en-US.linux-i686.tar.bz2

------- Comment #13 From Alexander M. Turek 2006-10-17 04:25:59 0000 -------
Version 0.3 is final now.

http://releases.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/0.3/

------- Comment #14 From Gero Mudersbach 2006-11-02 01:49:44 0000 -------
Created an attachment (id=101032) [details]
Sunbird 0.3 ebuild (with linguas)

------- Comment #15 From Saurabh Singhvi 2006-11-09 02:38:26 0000 -------
the 0.3 ebuild above has problems.... it seems to be downloading all the
packages of linguas, inspite of my having specified the linguas to en-US.

------- Comment #16 From Jonathan Adamczewski 2006-11-19 18:23:18 0000 -------
(In reply to comment #14)
> Created an attachment (id=101032) [edit] [details]
> Sunbird 0.3 ebuild (with linguas)
> 

Thanks, but wrong bug.  This is for the *source* ebuild.

------- Comment #17 From Jonathan Adamczewski 2006-11-21 17:06:08 0000 -------
With the following in src_compile before "Configure and build", mozilla-sunbird
builds (and even appears to run) on PPC.

        sed -i 's/EXTRA_DSO_LDOPTS += \$(MOZ_GTK2_LIBS)/& -lXrender/' \
          $S/layout/build/Makefile.in

------- Comment #18 From Christian Marie (RETIRED) 2006-12-24 08:22:36 0000 -------
*** Bug 152562 has been marked as a duplicate of this bug. ***

------- Comment #19 From Michael Lelli 2007-02-10 02:40:51 0000 -------
Has the Mozilla Gentoo team looked at this yet? It's been open for over a year,
and I find it odd that Portage would contain the binary version of Sunbird but
not the source.

------- Comment #20 From Raúl Porcel 2007-02-13 19:23:37 0000 -------
(In reply to comment #19)
> Has the Mozilla Gentoo team looked at this yet? It's been open for over a year,
> and I find it odd that Portage would contain the binary version of Sunbird but
> not the source.
> 

Yeah, i'm working on this. I hope i will get it ready this week. Unfortunately
all the mozilla source takes long time to compile, and it makes me go a bit
slow.

------- Comment #21 From Raúl Porcel 2007-02-15 21:10:20 0000 -------
In CVS :)

Let's hope it works okay for everyone.

------- Comment #22 From Alexander M. Turek 2007-02-17 18:45:36 0000 -------
The ebuild works here.

Just one thing: Would it be possible to add a use flag to support Mozilla
branding like the firefox and thunderbird ebuilds do?

------- Comment #23 From Raúl Porcel 2007-02-17 21:10:06 0000 -------
(In reply to comment #22)
> The ebuild works here.
> 
> Just one thing: Would it be possible to add a use flag to support Mozilla
> branding like the firefox and thunderbird ebuilds do?
> 

Yeah, that was the first thing i tried to do after the app compiled. However,
with the flag enabled it fails to build.
I think that's fixed in 0.3.1 which will be out soon.

------- Comment #24 From David Stevenson 2007-02-22 16:25:29 0000 -------
Compiles and runs on PPC

Request. Can you add a ppc flag.

Thanks

------- Comment #25 From Raúl Porcel 2007-02-22 21:30:07 0000 -------
(In reply to comment #24)
> Compiles and runs on PPC
> 
> Request. Can you add a ppc flag.
> 
> Thanks
> 

Please open a new bug for that including your "emerge --info". If you can test
if 0.3.1(which i just commited) works would be very helpful.

Btw, 0.3.1 works finally with mozbranding!