Difference between revisions of "Libical"

From CBLFS
Jump to navigationJump to search
(I added the template for the package description and "Contents" sections.)
(N32)
 
(12 intermediate revisions by 6 users not shown)
Line 2: Line 2:
 
|-valign="top"
 
|-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
|-valign="top"
 
!Required Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/libical/libical-0.23-config_update-1.patch
 
|-valign="top"
 
!Required Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/libical/libical-0.23-gcc4_fixes-1.patch
 
 
|}
 
|}
  
 
----
 
----
  
== Introduction to Libical ==
+
{{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/}}
 
 
<Package Description Needed>
 
  
 
== Dependencies ==
 
== Dependencies ==
  
 
=== Optional ===
 
=== Optional ===
 +
* [[Berkeley DB]]
 
* [[Python]] and [[SWIG]]
 
* [[Python]] and [[SWIG]]
  
Line 26: 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 42: 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 59: 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 76: 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 112: Line 99:
 
| ???
 
| ???
 
|}
 
|}
 +
 +
[[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 ???
Retrieved from "?title=Libical&oldid=18620"