Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246121 - libgcal (C/C++ interface to Google Data API) - new submission
Summary: libgcal (C/C++ interface to Google Data API) - new submission
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL: http://code.google.com/p/libgcal/
Whiteboard:
Keywords:
: 339913 (view as bug list)
Depends on:
Blocks: 247268 250119
  Show dependency tree
 
Reported: 2008-11-09 05:04 UTC by James Freedman
Modified: 2011-01-12 14:48 UTC (History)
13 users (show)

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


Attachments
ebuild (libgcal-0.8.1.ebuild,601 bytes, text/plain)
2008-11-09 05:04 UTC, James Freedman
Details
New ebuild. (libgcal-0.9.0.ebuild,613 bytes, text/plain)
2009-06-01 00:09 UTC, Mieszko Ślusarczyk
Details
app-pda/libgcal-0.9.1 ebuild (libgcal-0.9.1.ebuild,719 bytes, text/plain)
2009-08-08 04:50 UTC, P Purkayastha
Details
Updated ebuild for libgcal-0.9.2 (libgcal-0.9.2.ebuild,784 bytes, text/plain)
2009-08-22 17:38 UTC, P Purkayastha
Details
Updated ebuild for libgcal-0.9.3 (libgcal-0.9.3.ebuild,785 bytes, text/plain)
2009-09-09 04:33 UTC, P Purkayastha
Details
Corrected ebuild to include optional opensync dependency (libgcal-0.9.3.ebuild,734 bytes, text/plain)
2009-10-03 18:17 UTC, P Purkayastha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Freedman 2008-11-09 05:04:30 UTC
Hi, please find attached an ebuild for Google's C library for their data API, providing access to calendar events and contacts.
Comment 1 James Freedman 2008-11-09 05:04:59 UTC
Created attachment 171145 [details]
ebuild
Comment 2 James Freedman 2008-11-09 18:10:19 UTC
(this will become a dependency of libopensync-plugins-google-calendar in upcoming versions)
Comment 3 Wormo (RETIRED) gentoo-dev 2008-11-10 01:27:12 UTC
Thanks for submitting this ebuild that will become a needed dependency; assigning to maintainers.
Comment 4 Mieszko Ślusarczyk 2009-06-01 00:09:43 UTC
Created attachment 193097 [details]
New ebuild.

New, rewritten ebuild (now libgcal uses cmake).
Comment 5 P Purkayastha 2009-08-08 04:50:48 UTC
Created attachment 200551 [details]
app-pda/libgcal-0.9.1 ebuild

This is an ebuild for app-pda/libgcal-0.9.1. It contains a couple of changes relative to the libgcal-0.9.0 ebuild submitted earlier in this bug report:
1. The dependency of libgcal is on libxml2. This has been corrected in the ebuild. 
2. EAPI has been set to 2
3. A src_prepare() function has been added, which patches the CMakeLists.txt file to disable "ENABLE_TEST". These "tests" actually want opensync to be installed.

If you know how to add an optional dependency on opensync, please update the ebuild accordingly.
Comment 6 P Purkayastha 2009-08-08 05:15:10 UTC
I just noticed that libgcal-0.9.2 is out. Renaming the 0.9.1 ebuild works just fine.
Comment 7 P Purkayastha 2009-08-22 17:38:36 UTC
Created attachment 201951 [details]
Updated ebuild for libgcal-0.9.2

updated ebuild for app-pda/libgcal-0.9.2 
1. to include app-misc/ca-certificates as an optional dependency when google authentication is used.
2. Added "+google" IUSE.
Comment 8 P Purkayastha 2009-09-09 04:33:02 UTC
Created attachment 203559 [details]
Updated ebuild for libgcal-0.9.3

The only difference between this ebuild and the ebuild for libgcal-0.9.2 is in the SRC_URI line, where the source package is changed to .tar.bz2 format from .tar.gz
Comment 9 P Purkayastha 2009-10-03 18:17:12 UTC
Created attachment 205949 [details]
Corrected ebuild to include optional opensync dependency

The ebuild is corrected to include opensync as a dependency when the test USE flag is enabled. I finally figured out how to pass variables to cmake. So, this also gets rid of the hack in the earlier ebuilds.
Comment 10 Phillip Merensky 2010-04-06 12:40:02 UTC
Builds and works for me. Thanks!

Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r10-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 05 Apr 2010 22:15:02 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   9999
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://mirror.netcologne.de/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/gfxboot_overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="16bit 7zip X a52 aac aalib accessibility acl acpi addressbook aim akonadi alsa amarok amd amd64 aoss apache2 asf autoipd automount autoreplace avahi avantgo bash-completion berkdb binary binfilter bl blender-game bluetooth bootsplash branding bzip2 cairo calendar ccache cdaudio cdda cddb cdparanoia cdr cdrom cgi chm cisco cleartype cli clucene connectionstatus consolekit contactnotes cpudetection cracklib crypt css cups cvs cxx dbcp dbus dga dhcp divx dmi dom4j dri dts dv dvd dvdr eap-sim eap-tls embedded emboss encode esx excel exif fam fastcgi fat fbcon fbcondecor fbsplash ffmpeg firefox firefox3 flac flash flv fontconfig fortran ftp fts3 gcj gd gdbm geldkarte gif gimp gimpprint glib glitz gmedia gnokii gnutls gphoto2 gpm gs gtk gvim gzip hal hash hbci hdaps hfs http ibmacpi ical iconv icq image imagemagick imap inifile innodb irc irda jabber java java5 java6 javascript jboss jcs jfs john jpeg jpeg2k jpgraph kcal kde kdm kipi kpathsea kqemu kvm lame laptop lastfm latex latex3 lcms libcaca libnotify libsamplerate lirc log4j logitech-mouse logrotate logwatch lucene lzma lzo mad mail maildir mcal mdnsresponder-compat mikmod mime mjpeg mmx mmxext mng modplug modules moonlight mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer msn msnextras mtp mudflap multilib mysql mysqli ncurses nfs njb nls nptl nptlonly nsplugin nss ntfs ntlm ocaml ofx ogg opengl openmp openssl oscar otr pam pango pcre pda pdf perl phonon php player plotutils png postscript povray ppds pppd pptp print python qemu qt3support qt4 rar rdesktop readline reflection reiser4 reiserfs resolvconf samba scanner sdl secure-delete semantic-desktop sensord session sharedmem sms spell spl sql sqlite sqlite3 sse sse2 sse3 sse4 ssl startup-notification subversion svg sysfs syslog tcpd templates texteffect tga theora threads threadsafe thumbnail tidy tiff tk tokenizer truetype unicode usb utempter v4l v4l2 vcd vde vim vim-pager vim-syntax visualization vnc vorbis webkit wifi wma wmp wps x264 x86emu xanim xcb xcomposite xfs xine xinerama xml xorg xrandr xscreensaver xulrunner xv xvid yv12 zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa vga fbdev" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

(In reply to comment #9)
> Created an attachment (id=205949) [details]
> Corrected ebuild to include optional opensync dependency
> 
> The ebuild is corrected to include opensync as a dependency when the test USE
> flag is enabled. I finally figured out how to pass variables to cmake. So, this
> also gets rid of the hack in the earlier ebuilds. 
> 

Comment 11 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2010-05-23 12:21:32 UTC
P Purkayastha: what is the reason for the RESTRICT="mirror"?

i've uploaded a modified version of this ebuild to my overlay:
http://overlays.gentoo.org/dev/bangert/browser/ebuilds/app-pda/libgcal

test fails spectacularly here. before those are fixed, it can't hit portage.. meh!
Comment 12 P Purkayastha 2010-05-23 13:33:19 UTC
(In reply to comment #11)
> P Purkayastha: what is the reason for the RESTRICT="mirror"?

It is not on any gentoo mirrors and has to be downloaded directly from google code. That's why I put it there, so that it doesn't even try going through the usual gentoo mirrors. 

> i've uploaded a modified version of this ebuild to my overlay:
> http://overlays.gentoo.org/dev/bangert/browser/ebuilds/app-pda/libgcal
> 
> test fails spectacularly here. before those are fixed, it can't hit portage..
> meh!
> 

Is it a problem with the ebuild (dependency), or with the package itself? 

In some sense, i think we can take out "test". It depends on opensync and the package itself doesn't depend on opensync on either compile time or runtime.

I have almost given up on libgcal + akonadi-googledata. It looks like another dead project. No updates in nearly 8 months. And tons of bugs. I don't know if it would be wise to let it hit portage.
Comment 13 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2010-05-23 14:20:33 UTC
thanks for the feedback. dist files are automatically put on the mirrors, by a script. if you put in RESTRICT="mirror" this script will NOT put the dist file on the gentoo mirrors.

libgcal looks active enough to me. see
http://code.google.com/p/libgcal/updates/list
and 
http://gitorious.org/libgcal

the opensync google calendar plugin uses it. thats why i would put it in...

we'll see about the tests...
Comment 14 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2010-06-11 08:57:43 UTC
the bangert overlay now contains libgcal-0.9.4
Comment 15 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2011-01-05 11:09:44 UTC
*** Bug 339913 has been marked as a duplicate of this bug. ***
Comment 16 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2011-01-05 11:26:35 UTC
libgcal-0.9.6 can be found in the kde overlay.

http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=tree;f=net-libs/libgcal;h=7e4db98b94f2a8b79206cdcf59c5e685e1fa54a3;hb=HEAD
Comment 17 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-01-12 14:48:52 UTC
In tree, thank you all for your contributions
Thilo, feel free to add yourself in metadata.xml