diff --git a/extra/davfs2/PKGBUILD b/extra/davfs2/PKGBUILD new file mode 100644 index 000000000..447e261a0 --- /dev/null +++ b/extra/davfs2/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 66598 2010-02-01 00:08:45Z giovanni $ +# Maintainer: Thomas Baechler + +# PlugApps: Kevin Mihelich +# - we require a fix for glibc212, courtesy of gentoo (yuck), but only because people can't program right + +plugrel=1 + +pkgname=davfs2 +pkgver=1.4.5 +pkgrel=1 +pkgdesc="File system driver that allows you to mount a WebDAV server as a local disk drive." +arch=(i686 x86_64) +url="http://savannah.nongnu.org/projects/davfs2" +license=('GPL') +depends=('neon') +backup=(etc/davfs2/davfs2.conf etc/davfs2/secrets) +source=(http://mirrors.zerg.biz/nongnu/davfs2/${pkgname}-${pkgver}.tar.gz + davfs2-1.4.5-glibc212.patch) +sha256sums=('28f0ce00ddaf1ab93aa9f39db8d9f932d194c676bc21c3c8c3e2bea7f21274de' + 'f8e8bcc99d36a661b5363fcd9ceae5eaf18010f165afcebd443eb36c75801a01') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -p0 -i ${srcdir}/davfs2-1.4.5-glibc212.patch + dav_user=nobody dav_group=network ./configure --prefix=/usr --sysconfdir=/etc --disable-debug || return 1 + make || return 1 + # Create some dirs + install -d -m755 "${pkgdir}/sbin" + make DESTDIR="${pkgdir}" install || return 1 + + rm -f ${pkgdir}/sbin/{u,}mount.davfs + ln -sf /usr/sbin/mount.davfs "${pkgdir}/sbin/mount.davfs" + ln -sf /usr/sbin/umount.davfs "${pkgdir}/sbin/umount.davfs" + + rm -f ${pkgdir}/usr/share/davfs2/{BUGS,COPYING,FAQ,NEWS,TODO,ChangeLog,GPL,README,THANKS} +} diff --git a/extra/davfs2/davfs2-1.4.5-glibc212.patch b/extra/davfs2/davfs2-1.4.5-glibc212.patch new file mode 100644 index 000000000..fd698f3f7 --- /dev/null +++ b/extra/davfs2/davfs2-1.4.5-glibc212.patch @@ -0,0 +1,57 @@ +--- src/dav_coda.c ++++ src/dav_coda.c +@@ -52,6 +52,9 @@ + #ifdef HAVE_SYS_TYPES_H + #include + #endif ++#ifdef HAVE_SYS_STAT_H ++#include ++#endif + + #include "defaults.h" + #include "mount_davfs.h" +--- src/dav_fuse.c ++++ src/dav_fuse.c +@@ -41,6 +41,12 @@ + #ifdef HAVE_UNISTD_H + #include + #endif ++#ifdef HAVE_SYS_TYPES_H ++#include ++#endif ++#ifdef HAVE_SYS_STAT_H ++#include ++#endif + + #include "defaults.h" + #include "mount_davfs.h" +--- src/kernel_interface.c ++++ src/kernel_interface.c +@@ -44,6 +44,12 @@ + #ifdef HAVE_UNISTD_H + #include + #endif ++#ifdef HAVE_SYS_TYPES_H ++#include ++#endif ++#ifdef HAVE_SYS_STAT_H ++#include ++#endif + + #ifdef HAVE_SYS_MOUNT_H + #include +--- src/webdav.c ++++ src/webdav.c +@@ -47,6 +47,12 @@ + #ifdef HAVE_UNISTD_H + #include + #endif ++#ifdef HAVE_SYS_TYPES_H ++#include ++#endif ++#ifdef HAVE_SYS_STAT_H ++#include ++#endif + + #include + #include diff --git a/extra/libwebkit/PKGBUILD b/extra/libwebkit/PKGBUILD index b3529778a..604ccd6c4 100644 --- a/extra/libwebkit/PKGBUILD +++ b/extra/libwebkit/PKGBUILD @@ -1,13 +1,11 @@ # $Id: PKGBUILD 104228 2010-12-30 22:22:42Z ibiru $ # Maintainer: Andreas Radke -# Plugbox changes: None, but this package has to be built by running: -# CPPFLAGS="-I/usr/include/cairo -I/usr/include/freetype2 \ -# -I/usr/include/gtk-2.0 -I/usr/include/pango-1.0 -I/usr/lib/gtk-2.0/include \ -# -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 \ -# -I/usr/include/gail-1.0" makepkg --asroot -Acs +# PlugApps: Kevin Mihelich +# - libtool is disabled for x86 because another tool takes its place for webkit. +# that tool doesn't run on arm, we have to use libtool. -plugrel=1 +plugrel=2 pkgname=libwebkit pkgver=1.2.6