Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237336 - gcaldaemon-1.0_beta16.ebuild (new ebuild)
Summary: gcaldaemon-1.0_beta16.ebuild (new ebuild)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Java team
URL: http://gcaldaemon.sourceforge.net
Whiteboard:
Keywords: Inclusion
: 266488 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-10 14:54 UTC by Jan Stępień
Modified: 2015-08-11 15:06 UTC (History)
11 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gcaldaemon-1.0_beta16.ebuild (gcaldaemon-1.0_beta16.ebuild,730 bytes, text/plain)
2008-09-10 14:55 UTC, Jan Stępień
Details
gcaldaemon-1.0_beta16.ebuild (gcaldaemon-1.0_beta16.ebuild,698 bytes, text/plain)
2008-09-10 18:13 UTC, Jan Stępień
Details
updated ebuild (gcaldaemon-1.0_beta16.ebuild,726 bytes, text/plain)
2010-02-21 23:25 UTC, Marc Schiffbauer
Details
/usr/bin/gcaldaemon (gcaldaemon,3.19 KB, text/plain)
2010-02-21 23:26 UTC, Marc Schiffbauer
Details
Minor change JAVA="java -Xmx256m" to JAVA="java -Xmx512m" to avoid out-of-memory errors (gcaldaemon,3.19 KB, text/plain)
2010-04-13 12:25 UTC, Anthony Staines
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Stępień 2008-09-10 14:54:38 UTC
"GCALDaemon is an OS-independent Java program that offers two-way synchronization between Google Calendar and various iCalendar compatible calendar applications. GCALDaemon is primarily designed as a calendar synchronizer but it can also be used as a Gmail notifier, Address Book importer, Gmail terminal and RSS feed converter."
Comment 1 Jan Stępień 2008-09-10 14:55:39 UTC
Created attachment 165125 [details]
gcaldaemon-1.0_beta16.ebuild
Comment 2 Jan Stępień 2008-09-10 18:13:47 UTC
Created attachment 165150 [details]
gcaldaemon-1.0_beta16.ebuild

A slightly corrected version of the ebuild.
Comment 3 Thomas Kahle (RETIRED) gentoo-dev 2009-02-01 23:27:04 UTC
Hi, this is a nice program. Maybe you can take a more active stance and make init-scripts that start this daemon. Per user would be best. You could look at app-emacs/emacs-daemon for inspiration.

Comment 4 Serkan Kaba (RETIRED) gentoo-dev 2009-04-17 10:09:47 UTC
*** Bug 266488 has been marked as a duplicate of this bug. ***
Comment 5 Marc Schiffbauer gentoo-dev 2010-02-21 23:25:17 UTC
Created attachment 220651 [details]
updated ebuild

Based on Jan's ebuild i tried to improve it somewhat.

It will use java-pkg-2 to install the jar files and it has a gcaldaemon wrapper script that canbe used to start/stop/configure the daemon and that replaces the shipped scripts.

Config, log and work directory will be kept in every users $HOME/.gcaldaemon directory if using my wrapper script (next attachement)

I tried to get rid of some included .jar files by defining some DEPEND's but this ends up in 38 packages that have to be installed.. so I reverted that for now.
Comment 6 Marc Schiffbauer gentoo-dev 2010-02-21 23:26:40 UTC
Created attachment 220653 [details]
/usr/bin/gcaldaemon

this is the gcaldaemon wrapper script. Put it into the files/ directory before emerging the ebuild.
Comment 7 Anthony Staines 2010-04-13 12:25:45 UTC
Created attachment 227591 [details]
Minor change JAVA="java -Xmx256m"   to JAVA="java -Xmx512m"  to avoid out-of-memory errors
Comment 8 Anthony Staines 2010-04-13 12:30:46 UTC
(In reply to comment #6)
> Created an attachment (id=220653) [details]
> /usr/bin/gcaldaemon
> 
> this is the gcaldaemon wrapper script. Put it into the files/ directory before
> emerging the ebuild.
> 

Running this I get the following error given below :-

which is fixed by changing the line to run Java in gcaldaemon from :-

JAVA="java -Xmx256m"   
to
JAVA="java -Xmx512m" 

(as suggested by rondoe at http://sourceforge.net/projects/gcaldaemon/forums/forum/643348/topic/3482455 - thanks)

I've attached a new version of gcaldaemon with this change made.

astaines@Kitchen ~/.gcaldaemon $ gcaldaemon sync-now
Running gcaldaemon once with config /home/XXXXXX/.gcaldaemon/gcal-daemon.cfg ...
INFO  | GCALDaemon V1.0 beta 16 starting...                                       
DEBUG | Config loaded successfully (/home/XXXXXX/.gcaldaemon/gcal-daemon.cfg).  
INFO  | RSS/ATOM feed converter disabled.                                         
INFO  | Local time zone is Greenwich Mean Time.                                   
INFO  | Start listening file /home/XXXXXX/.kde4/share/apps/korganizer/std.ics...
INFO  | File listener started successfully.                                       
DEBUG | Loading file /home/XXXXXX/.kde4/share/apps/korganizer/std.ics...        
DEBUG | File loaded successfully (190419 bytes).                                  
INFO  | Offline file synchronization enabled.                                     
DEBUG | Loading calendar from https://www.google.com/calendar/ical/XXXXXX%40gmail.com/private-123456789abcdeffedcba987654321/basic.ics...                                                                              
DEBUG | Set the offset of Europe/Dublin to GMT+0000.                                                             
DEBUG | Calendar loaded successfully (1810956 bytes).                                                            
DEBUG | Starting Google Calendar synchronizer...                                                                 
DEBUG | Connecting to Google...                                                                                  
Exception in thread "File listener" java.lang.OutOfMemoryError: GC overhead limit exceeded                       
        at java.util.Arrays.copyOf(Arrays.java:2882)                                                             
        at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)                        
        at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)                                
        at java.lang.StringBuilder.append(StringBuilder.java:119)                                                
        at com.google.gdata.util.XmlParser.endElement(Unknown Source)                                            
        at org.xml.sax.helpers.ParserAdapter.endElement(ParserAdapter.java:626)                                  
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:593)   
        at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:180)                                                                                                  
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1339)                                                                                      
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)                                                                            
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)  
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)                                                                                           
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)      
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)      
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)                        
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)       
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)     
        at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:405)                                       
        at com.google.gdata.util.XmlParser.parse(Unknown Source)                                                 
        at com.google.gdata.util.XmlParser.parse(Unknown Source)                                                 
        at com.google.gdata.data.BaseFeed.parseAtom(Unknown Source)                                              
        at com.google.gdata.data.BaseFeed.readFeed(Unknown Source)                                               
        at com.google.gdata.client.Service.getFeed(Unknown Source)                                               
        at com.google.gdata.client.Service.getFeed(Unknown Source)                                               
        at com.google.gdata.client.GoogleService.getFeed(Unknown Source)                                         
        at com.google.gdata.client.Service.query(Unknown Source)                                                 
        at com.google.gdata.client.Service.query(Unknown Source)                                                 
        at org.gcaldaemon.core.GCalUtilities.getGoogleEntries(GCalUtilities.java:1541)                           
        at org.gcaldaemon.core.GCalUtilities.createEditURLMap(GCalUtilities.java:1648)                           
        at org.gcaldaemon.core.GCalUtilities.getGoogleEntryByUID(GCalUtilities.java:1586)                        
        at org.gcaldaemon.core.GCalUtilities.getGoogleEntry(GCalUtilities.java:1577)                             
        at org.gcaldaemon.core.GCalUtilities.findEvent(GCalUtilities.java:644)                   
Comment 9 Andreas Sturmlechner gentoo-dev 2015-08-08 17:49:40 UTC
Project seems to have remained at 1.0_beta16 ever since 2008 - is this still a thing?
Comment 10 Anthony Staines 2015-08-11 15:06:38 UTC
(In reply to Andreas Sturmlechner from comment #9)
> Project seems to have remained at 1.0_beta16 ever since 2008 - is this still
> a thing?

Hi,
As far as I know it is defunct!
Regards,
Anthony