Libical: Difference between revisions

From CBLFS
Jump to navigationJump to search
 
(13 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| style="text-align: left; background-color: AliceBlue;"
{| style="text-align: left; background-color: AliceBlue;"
|-
|-valign="top"
!Download Source:
!Download Source:
| http://www.softwarestudio.org/download/libical-0.23.tar.gz
| http://switch.dl.sourceforge.net/sourceforge/freeassociation/libical-{{Libical-Version}}.tar.gz
|-
!Required Patch:
| http://svn.cross-lfs.org/svn/repos/patches/libical/libical-0.23-config_update-1.patch
|-
!Required Patch:
| http://svn.cross-lfs.org/svn/repos/patches/libical/libical-0.23-gcc4_fixes-1.patch
|}
|}


----
----
{{Package-Introduction|Libical is an Open Source implementation of the IETF's iCalendar Calendaring and Scheduling protocols. (RFC 2445, 2446, and 2447). It parses iCal components and provides a C API for manipulating the component properties, parameters, and subcomponents.|http://freeassociation.sourceforge.net/}}


== Dependencies ==
== Dependencies ==


=== Optional ===
=== Optional ===
* [[Berkeley DB]]
* [[Python]] and [[SWIG]]
* [[Python]] and [[SWIG]]


Line 22: Line 19:
Compile the package:
Compile the package:


patch -Np1 -i ../libical-0.23-config_update-1.patch &&
  ./configure --prefix=/usr \
patch -Np1 -i ../libical-0.23-gcc4_fixes-1.patch &&
    --enable-python --enable-cxx --with-bdb4 &&
  ./configure --prefix=/usr --enable-python-bindings=yes &&
  make
  make


Line 38: Line 34:


  export USE_ARCH=32 &&
  export USE_ARCH=32 &&
patch -Np1 -i ../libical-0.23-config_update-1.patch &&
patch -Np1 -i ../libical-0.23-gcc4_fixes-1.patch &&
  sed -i "s/ld -shared/& ${LD_BUILD32}/" src/python/Makefile.in &&
  sed -i "s/ld -shared/& ${LD_BUILD32}/" src/python/Makefile.in &&
  CC="gcc ${BUILD32}" ./configure --prefix=/usr \
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr \
     --enable-python-bindings=yes &&
     --enable-python --enable-cxx --with-bdb4 &&
  make
  make


Line 55: Line 49:


  export USE_ARCH=n32 &&
  export USE_ARCH=n32 &&
patch -Np1 -i ../libical-0.23-config_update-1.patch &&
patch -Np1 -i ../libical-0.23-gcc4_fixes-1.patch &&
  sed -i "s/ld -shared/& ${LD_BUILDN32}/" src/python/Makefile.in &&
  sed -i "s/ld -shared/& ${LD_BUILDN32}/" src/python/Makefile.in &&
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
     --libdir=/usr/lib32 --enable-python-bindings=yes &&
     --libdir=/usr/lib32 --enable-python --enable-cxx --with-bdb4 &&
  make
  make


Line 72: Line 64:


  export USE_ARCH=64 &&
  export USE_ARCH=64 &&
patch -Np1 -i ../libical-0.23-config_update-1.patch &&
patch -Np1 -i ../libical-0.23-gcc4_fixes-1.patch &&
  sed -i "s/ld -shared/& ${LD_BUILD64}/" src/python/Makefile.in &&
  sed -i "s/ld -shared/& ${LD_BUILD64}/" src/python/Makefile.in &&
  CC="gcc ${BUILD64} -fPIC" ./configure --prefix=/usr \
  CC="gcc ${BUILD64} -fPIC" CXX="g++ ${BUILD64} -fPIC" \
    --libdir=/usr/lib64 --enable-python-bindings=yes &&
    ./configure --prefix=/usr --libdir=/usr/lib64 \
    --enable-python --enable-cxx --with-bdb4 &&
  make
  make


Line 83: Line 74:
  make install &&
  make install &&
  unset USE_ARCH
  unset USE_ARCH
= Contents =
{| style="text-align: left;"
|-valign="top"
! Installed Programs:
| ???
|-valign="top"
! Installed Libraries:
| ???
|-valign="top"
! Installed Directories:
| ???
|}
=== Short Descriptions ===
{| style="text-align: left;"
|-valign="top"
! program1
| ???
|-valign="top"
! program2
| ???
|}
[[Category:General Libs]]

Latest revision as of 17:07, 5 July 2009

Download Source: http://switch.dl.sourceforge.net/sourceforge/freeassociation/libical-0.44.tar.gz

Introduction to Libical

Libical is an Open Source implementation of the IETF's iCalendar Calendaring and Scheduling protocols. (RFC 2445, 2446, and 2447). It parses iCal components and provides a C API for manipulating the component properties, parameters, and subcomponents.

Project Homepage: http://freeassociation.sourceforge.net/

Dependencies

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr \
    --enable-python --enable-cxx --with-bdb4 &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

export USE_ARCH=32 &&
sed -i "s/ld -shared/& ${LD_BUILD32}/" src/python/Makefile.in &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr \
    --enable-python --enable-cxx --with-bdb4 &&
make

Install the package

make install &&
unset USE_ARCH

N32

Compile the package:

export USE_ARCH=n32 &&
sed -i "s/ld -shared/& ${LD_BUILDN32}/" src/python/Makefile.in &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 --enable-python --enable-cxx --with-bdb4 &&
make

Install the package

make install &&
unset USE_ARCH

64Bit

Compile the package:

export USE_ARCH=64 &&
sed -i "s/ld -shared/& ${LD_BUILD64}/" src/python/Makefile.in &&
CC="gcc ${BUILD64} -fPIC" CXX="g++ ${BUILD64} -fPIC" \
    ./configure --prefix=/usr --libdir=/usr/lib64 \
    --enable-python --enable-cxx --with-bdb4 &&
make

Install the package

make install &&
unset USE_ARCH

Contents

Installed Programs: ???
Installed Libraries: ???
Installed Directories: ???

Short Descriptions

program1 ???
program2 ???