summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/gamin
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-extended/gamin
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/gamin')
-rw-r--r--meta/recipes-extended/gamin/gamin/no-abstract-sockets.patch54
-rw-r--r--meta/recipes-extended/gamin/gamin_0.1.10.bb30
2 files changed, 84 insertions, 0 deletions
diff --git a/meta/recipes-extended/gamin/gamin/no-abstract-sockets.patch b/meta/recipes-extended/gamin/gamin/no-abstract-sockets.patch
new file mode 100644
index 0000000000..b8aacfb23c
--- /dev/null
+++ b/meta/recipes-extended/gamin/gamin/no-abstract-sockets.patch
@@ -0,0 +1,54 @@
1--- /tmp/configure.in 2007-04-30 13:08:49.000000000 +0200
2+++ gamin-0.1.8/configure.in 2007-04-30 13:10:53.285251000 +0200
3@@ -354,51 +354,6 @@
4 AC_DEFINE(HAVE_CMSGCRED,1,[Have cmsgcred structure])
5 fi
6
7-#### Abstract sockets
8-
9-AC_MSG_CHECKING(abstract socket namespace)
10-AC_LANG_PUSH(C)
11-AC_RUN_IFELSE([AC_LANG_PROGRAM(
12-[[
13-#include <sys/types.h>
14-#include <stdlib.h>
15-#include <string.h>
16-#include <stdio.h>
17-#include <sys/socket.h>
18-#include <sys/un.h>
19-#include <errno.h>
20-]],
21-[[
22- int listen_fd;
23- struct sockaddr_un addr;
24-
25- listen_fd = socket (PF_UNIX, SOCK_STREAM, 0);
26-
27- if (listen_fd < 0)
28- {
29- fprintf (stderr, "socket() failed: %s\n", strerror (errno));
30- exit (1);
31- }
32-
33- memset (&addr, '\0', sizeof (addr));
34- addr.sun_family = AF_UNIX;
35- strcpy (addr.sun_path, "X/tmp/dbus-fake-socket-path-used-in-configure-test");
36- addr.sun_path[0] = '\0'; /* this is what makes it abstract */
37-
38- if (bind (listen_fd, (struct sockaddr*) &addr, SUN_LEN (&addr)) < 0)
39- {
40- fprintf (stderr, "Abstract socket namespace bind() failed: %s\n",
41- strerror (errno));
42- exit (1);
43- }
44- else
45- exit (0);
46-]])],
47- [have_abstract_sockets=yes],
48- [have_abstract_sockets=no])
49-AC_LANG_POP(C)
50-AC_MSG_RESULT($have_abstract_sockets)
51-
52 if test x$enable_abstract_sockets = xyes; then
53 if test x$have_abstract_sockets = xno; then
54 AC_MSG_ERROR([Abstract sockets explicitly required, and support not detected.])
diff --git a/meta/recipes-extended/gamin/gamin_0.1.10.bb b/meta/recipes-extended/gamin/gamin_0.1.10.bb
new file mode 100644
index 0000000000..21f1da434c
--- /dev/null
+++ b/meta/recipes-extended/gamin/gamin_0.1.10.bb
@@ -0,0 +1,30 @@
1DESCRIPTION = "Gamin is a file and directory monitoring system defined to \
2be a subset of the FAM (File Alteration Monitor) system."
3HOMEPAGE = "http://people.gnome.org/~veillard/gamin/"
4
5LICENSE = "LGPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=412a9be54757a155d0b997b52b519f62"
7
8DEPENDS = "glib-2.0"
9PROVIDES = "fam"
10PR = "r2"
11
12SRC_URI = "http://www.gnome.org/~veillard/gamin/sources/gamin-${PV}.tar.gz \
13 file://no-abstract-sockets.patch"
14
15inherit autotools pkgconfig
16
17EXTRA_OECONF = "--without-python"
18
19PACKAGES += "lib${PN} lib${PN}-dev lib${PN}-dbg"
20FILES_${PN} = "${libexecdir}"
21FILES_${PN}-dbg = "${libexecdir}/.debug"
22FILES_lib${PN} = "${libdir}/lib*.so.*"
23FILES_lib${PN}-dev = "${includedir} ${libdir}/pkgconfig ${libdir}/lib*.la \
24 ${libdir}/lib*.a ${libdir}/lib*.so"
25FILES_lib${PN}-dbg = "${libdir}/.debug/"
26
27RDEPENDS_lib${PN} = "${PN}"
28
29LEAD_SONAME = "libgamin-1.so"
30