CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libsoup: initial import (verified compilation).
authorVictor Martinez <pitillo@ono.com>
Wed, 3 Nov 2010 07:11:59 +0000 (07:11 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 3 Nov 2010 07:11:59 +0000 (07:11 +0000)
libsoup/.footprint [new file with mode: 0644]
libsoup/.md5sum [new file with mode: 0644]
libsoup/Pkgfile [new file with mode: 0644]
libsoup/libsoup-2.30.2-libgcrypt.patch [new file with mode: 0644]

diff --git a/libsoup/.footprint b/libsoup/.footprint
new file mode 100644 (file)
index 0000000..c2ddc07
--- /dev/null
@@ -0,0 +1,48 @@
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/include/
+drwxr-xr-x     root/root       usr/include/libsoup-2.4/
+drwxr-xr-x     root/root       usr/include/libsoup-2.4/libsoup/
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-address.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-auth-domain-basic.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-auth-domain-digest.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-auth-domain.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-auth.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-content-decoder.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-content-sniffer.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-cookie-jar-text.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-cookie-jar.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-cookie.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-date.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-enum-types.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-form.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-headers.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-logger.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-message-body.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-message-headers.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-message.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-method.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-misc.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-multipart.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-password-manager.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-portability.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-proxy-resolver.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-proxy-uri-resolver.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-server.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-session-async.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-session-feature.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-session-sync.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-session.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-socket.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-status.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-types.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-uri.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-value-utils.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup-xmlrpc.h
+-rw-r--r--     root/root       usr/include/libsoup-2.4/libsoup/soup.h
+drwxr-xr-x     root/root       usr/lib/
+-rwxr-xr-x     root/root       usr/lib/libsoup-2.4.la
+lrwxrwxrwx     root/root       usr/lib/libsoup-2.4.so -> libsoup-2.4.so.1.3.0
+lrwxrwxrwx     root/root       usr/lib/libsoup-2.4.so.1 -> libsoup-2.4.so.1.3.0
+-rwxr-xr-x     root/root       usr/lib/libsoup-2.4.so.1.3.0
+drwxr-xr-x     root/root       usr/lib/pkgconfig/
+-rw-r--r--     root/root       usr/lib/pkgconfig/libsoup-2.4.pc
diff --git a/libsoup/.md5sum b/libsoup/.md5sum
new file mode 100644 (file)
index 0000000..82d67e6
--- /dev/null
@@ -0,0 +1,2 @@
+521e60fd2ecb17e296856d629bdb3562  libsoup-2.30.2-libgcrypt.patch
+f33b62063e76a9b1d5503363a3ed6a84  libsoup-2.30.2.tar.bz2
diff --git a/libsoup/Pkgfile b/libsoup/Pkgfile
new file mode 100644 (file)
index 0000000..5be7964
--- /dev/null
@@ -0,0 +1,39 @@
+# Description: HTTP library implementation in C.
+# URL: http://live.gnome.org/LibSoup
+# Packager: Matt Housh, jaeger at morpheus dot net
+# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
+# Arch Maintainer System Team devel at crux-arm dot nu
+# Depends on: glib gnutls libxml2
+
+name=libsoup
+version=2.30.2
+release=1
+source=(http://ftp.gnome.org/pub/GNOME/sources/$name/${version%.*}/$name-$version.tar.bz2 \
+        $name-$version-libgcrypt.patch)
+
+build() {
+  export DEFAULT_LIBS="-L$CLFS/usr/lib"
+  export DEFAULT_CFLAGS="-I$CLFS/usr/include"
+  export XML_LIBS="$DEFAULT_LIBS -lxml2"
+  export XML_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/libxml2"
+  export LIBGNUTLS_LIBS="$DEFAULT_LIBS -lgnutls"
+  export LIBGNUTLS_CFLAGS="$DEFAULT_CFLAGS"
+  export LIBGCRYPT_LIBS="$DEFAULT_LIBS -lgcrypt -lgpg-error"
+  export LIBGCRYPT_CFLAGS="$DEFAULT_CFLAGS"
+
+  cd $name-$version
+
+  # remove gtk-doc
+  sed -i -e "/^SUBDIRS = /s/docs//" Makefile.in
+  patch -p0 -i $SRC/$name-$version-libgcrypt.patch
+
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --enable-debug=no \
+              --disable-static \
+              --without-gnome
+
+  make V=1
+  make DESTDIR=$PKG install
+}
diff --git a/libsoup/libsoup-2.30.2-libgcrypt.patch b/libsoup/libsoup-2.30.2-libgcrypt.patch
new file mode 100644 (file)
index 0000000..b45abfc
--- /dev/null
@@ -0,0 +1,78 @@
+--- configure  2010-06-22 17:07:34.000000000 +0000
++++ configure.new      2010-11-02 19:23:08.000000000 +0000
+@@ -11514,75 +11514,9 @@
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGCRYPT - version >= $min_libgcrypt_version" >&5
+ $as_echo_n "checking for LIBGCRYPT - version >= $min_libgcrypt_version... " >&6; }
+-  ok=no
+-  if test "$LIBGCRYPT_CONFIG" != "no" ; then
+-    req_major=`echo $min_libgcrypt_version | \
+-               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
+-    req_minor=`echo $min_libgcrypt_version | \
+-               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
+-    req_micro=`echo $min_libgcrypt_version | \
+-               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
+-    libgcrypt_config_version=`$LIBGCRYPT_CONFIG --version`
+-    major=`echo $libgcrypt_config_version | \
+-               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
+-    minor=`echo $libgcrypt_config_version | \
+-               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
+-    micro=`echo $libgcrypt_config_version | \
+-               sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
+-    if test "$major" -gt "$req_major"; then
+-        ok=yes
+-    else
+-        if test "$major" -eq "$req_major"; then
+-            if test "$minor" -gt "$req_minor"; then
+-               ok=yes
+-            else
+-               if test "$minor" -eq "$req_minor"; then
+-                   if test "$micro" -ge "$req_micro"; then
+-                     ok=yes
+-                   fi
+-               fi
+-            fi
+-        fi
+-    fi
+-  fi
+-  if test $ok = yes; then
+-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($libgcrypt_config_version)" >&5
+-$as_echo "yes ($libgcrypt_config_version)" >&6; }
+-  else
+-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+-$as_echo "no" >&6; }
+-  fi
+-  if test $ok = yes; then
+-     # If we have a recent libgcrypt, we should also check that the
+-     # API is compatible
+-     if test "$req_libgcrypt_api" -gt 0 ; then
+-        tmp=`$LIBGCRYPT_CONFIG --api-version 2>/dev/null || echo 0`
+-        if test "$tmp" -gt 0 ; then
+-           { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBGCRYPT API version" >&5
+-$as_echo_n "checking LIBGCRYPT API version... " >&6; }
+-           if test "$req_libgcrypt_api" -eq "$tmp" ; then
+-             { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
+-$as_echo "okay" >&6; }
+-           else
+-             ok=no
+-             { $as_echo "$as_me:${as_lineno-$LINENO}: result: does not match. want=$req_libgcrypt_api got=$tmp" >&5
+-$as_echo "does not match. want=$req_libgcrypt_api got=$tmp" >&6; }
+-           fi
+-        fi
+-     fi
+-  fi
+-  if test $ok = yes; then
+     LIBGCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags`
+     LIBGCRYPT_LIBS=`$LIBGCRYPT_CONFIG --libs`
+     have_ssl=yes
+-  else
+-    LIBGCRYPT_CFLAGS=""
+-    LIBGCRYPT_LIBS=""
+-    have_ssl=no
+-  fi
+-
+-
+-
+ fi
+ fi
+ if test "$have_ssl" = "yes"; then