diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-08 18:46:27 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-08 18:46:27 +0200 |
commit | 0ccf5decafdf0e244cd2d7e7059dab27fbf20c14 (patch) | |
tree | 2b989923ae7381257705f1022b57daed99f165a3 | |
parent | 6762ffec8bf9b15e7f8b8f8d40976b1972879da3 (diff) | |
download | nutyx-pakxe-0ccf5decafdf0e244cd2d7e7059dab27fbf20c14.tar.gz nutyx-pakxe-0ccf5decafdf0e244cd2d7e7059dab27fbf20c14.tar.bz2 nutyx-pakxe-0ccf5decafdf0e244cd2d7e7059dab27fbf20c14.tar.xz nutyx-pakxe-0ccf5decafdf0e244cd2d7e7059dab27fbf20c14.zip |
Ajout de gamin#0.1.10-1
-rw-r--r-- | base/gamin/.footprint | 27 | ||||
-rw-r--r-- | base/gamin/.md5sum | 2 | ||||
-rwxr-xr-x | base/gamin/Pkgfile | 22 | ||||
-rw-r--r-- | base/gamin/gamin-0.1.9-ucred-headers.patch | 52 |
4 files changed, 103 insertions, 0 deletions
diff --git a/base/gamin/.footprint b/base/gamin/.footprint new file mode 100644 index 000000000..fbb25cd20 --- /dev/null +++ b/base/gamin/.footprint @@ -0,0 +1,27 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/gam_server +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/fam.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libfam.a +-rwxr-xr-x root/root usr/lib/libfam.la +lrwxrwxrwx root/root usr/lib/libfam.so -> libfam.so.0.0.0 +lrwxrwxrwx root/root usr/lib/libfam.so.0 -> libfam.so.0.0.0 +-rwxr-xr-x root/root usr/lib/libfam.so.0.0.0 +-rw-r--r-- root/root usr/lib/libgamin-1.a +-rwxr-xr-x root/root usr/lib/libgamin-1.la +lrwxrwxrwx root/root usr/lib/libgamin-1.so -> libgamin-1.so.0.1.10 +lrwxrwxrwx root/root usr/lib/libgamin-1.so.0 -> libgamin-1.so.0.1.10 +-rwxr-xr-x root/root usr/lib/libgamin-1.so.0.1.10 +-rw-r--r-- root/root usr/lib/libgamin_shared.a +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/gamin.pc +drwxr-xr-x root/root usr/lib/python2.6/ +drwxr-xr-x root/root usr/lib/python2.6/site-packages/ +-rw-r--r-- root/root usr/lib/python2.6/site-packages/_gamin.a +-rwxr-xr-x root/root usr/lib/python2.6/site-packages/_gamin.la +-rwxr-xr-x root/root usr/lib/python2.6/site-packages/_gamin.so +-rw-r--r-- root/root usr/lib/python2.6/site-packages/gamin.py +-rw-r--r-- root/root usr/lib/python2.6/site-packages/gamin.pyc +-rw-r--r-- root/root usr/lib/python2.6/site-packages/gamin.pyo diff --git a/base/gamin/.md5sum b/base/gamin/.md5sum new file mode 100644 index 000000000..3c2d453c6 --- /dev/null +++ b/base/gamin/.md5sum @@ -0,0 +1,2 @@ +b4ec549e57da470c04edd5ec2876a028 gamin-0.1.10.tar.gz +82284f346a0b66bdd27c818b041b4871 gamin-0.1.9-ucred-headers.patch diff --git a/base/gamin/Pkgfile b/base/gamin/Pkgfile new file mode 100755 index 000000000..4a55b4589 --- /dev/null +++ b/base/gamin/Pkgfile @@ -0,0 +1,22 @@ +# Description: Surveillance de modification de fichiers +# URL: http://www.gnome.org/~veillard/gamin +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: python + +name=gamin +version=0.1.10 +release=1 +source=( http://www.gnome.org/~veillard/gamin/sources/$name-$version.tar.gz\ + gamin-0.1.9-ucred-headers.patch) + +build() { + cd $name-$version + patch -Np1 -i ../gamin-0.1.9-ucred-headers.patch + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --libexecdir=/usr/bin + make + make DESTDIR=$PKG install +} diff --git a/base/gamin/gamin-0.1.9-ucred-headers.patch b/base/gamin/gamin-0.1.9-ucred-headers.patch new file mode 100644 index 000000000..35b76e4a0 --- /dev/null +++ b/base/gamin/gamin-0.1.9-ucred-headers.patch @@ -0,0 +1,52 @@ +diff -up gamin-0.1.9/server/gam_channel.c.xxx gamin-0.1.9/server/gam_channel.c +--- gamin-0.1.9/server/gam_channel.c.xxx 2007-07-04 15:36:49.000000000 +0200 ++++ gamin-0.1.9/server/gam_channel.c 2008-02-14 10:00:38.654849392 +0100 +@@ -3,7 +3,6 @@ + #include <unistd.h> + #include <errno.h> + #include <glib.h> +-#include <sys/socket.h> + #include <sys/stat.h> + #include <sys/un.h> + #include <sys/uio.h> +@@ -12,6 +11,14 @@ + #include "gam_channel.h" + #include "gam_protocol.h" + ++#ifdef HAVE_LINUX ++ /* Workaround for undefined struct ucred */ ++ #define __USE_GNU ++#endif ++ ++#include <sys/socket.h> ++ ++ + /* #define CHANNEL_VERBOSE_DEBUGGING */ + /************************************************************************ + * * +diff -up gamin-0.1.9/libgamin/gam_api.c.xxx gamin-0.1.9/libgamin/gam_api.c +--- gamin-0.1.9/libgamin/gam_api.c.xxx 2007-07-04 15:36:48.000000000 +0200 ++++ gamin-0.1.9/libgamin/gam_api.c 2008-02-13 17:41:50.697896914 +0100 +@@ -11,7 +11,6 @@ + #include <fcntl.h> + #include <errno.h> + #include <sys/stat.h> +-#include <sys/socket.h> + #include <sys/un.h> + #include <sys/uio.h> + #include "fam.h" +@@ -20,6 +19,14 @@ + #include "gam_fork.h" + #include "gam_error.h" + ++#ifdef HAVE_LINUX ++ /* Workaround for undefined struct ucred */ ++ #define __USE_GNU ++#endif ++ ++#include <sys/socket.h> ++ ++ + #define TEST_DEBUG + + #define MAX_RETRIES 25 |