# ChangeLog for app-admin/gamin
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gamin/ChangeLog,v 1.14 2004/11/30 11:42:46 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gamin/ChangeLog,v 1.15 2004/12/10 17:28:05 foser Exp $
+
+*gamin-0.0.19 (10 Dec 2004)
+
+ 10 Dec 2004; foser <foser@gentoo.org> gamin-0.0.19.ebuild :
+ New release, add debug USE flag
*gamin-0.0.18 (30 Nov 2004)
-MD5 ee8fb13c688cd2cb69e8d8a998ca35c5 gamin-0.0.7.ebuild 1601
-MD5 ea62db6d3e1fc7819b705ecf31eab839 gamin-0.0.6-r2.ebuild 1572
-MD5 cb79cb3e2161998a010168013b4f171e gamin-0.0.9.ebuild 1363
+MD5 33cfb450065b2b1b791cc58c468dfdbe gamin-0.0.19.ebuild 828
MD5 e1c235e6cf95d35bdc725a779b1be645 gamin-0.0.18.ebuild 884
-MD5 55b80210720afe5a1be801f8d655660f ChangeLog 3192
+MD5 f17e57b19e5b9bbf5751470c54011c9c ChangeLog 3318
MD5 875135e8740bafa4dab79ee592cf9744 metadata.xml 279
MD5 fab00ad2fa02cdde2dffc1d88142d67c gamin-0.0.15.ebuild 838
-MD5 1c22bd93f44fab7256bda5b284b1f659 gamin-0.0.10.ebuild 1720
-MD5 beba31edee924b3c6c195cd2534cffd2 files/gamin-0.0.6-runtime-backend-select.patch 2940
-MD5 f52f7211e1d89b971993c4ad763b1dde files/gamin-0.0.6-inotify_h-include.patch 373
-MD5 0baa39ba6612747a9d91e2f18dc6c6f9 files/gamin-0.0.6-quiet-inotify-warning.patch 382
-MD5 916932a4819a028266c0d19797155ea0 files/gamin-0.0.6-actually-enable-inotify-support.patch 982
-MD5 fc9e2f75e4d730775c5bb42e53fb6666 files/gamin-0.0.10-HAVE_LINUX-and-ENABLE_DNOTIFY-cleanup.patch 2448
-MD5 59c722e7488d52801fe5b6df1cd6d48e files/digest-gamin-0.0.6-r2 63
-MD5 14f8206ef4729b512f65d5f8d8b2da96 files/inotify-0.8.1.h 2465
-MD5 f03dcd8a601bc5e7f317e7d577887092 files/digest-gamin-0.0.7 63
-MD5 04840f528be2adbf8aeddefd3ef54f53 files/digest-gamin-0.0.9 63
-MD5 4e18889d5ef1bba7a3dc94859b535222 files/digest-gamin-0.0.10 64
MD5 c576a2ec43ce151b5bc78b77e0f58c9a files/digest-gamin-0.0.15 64
MD5 b183176dcfe9a0ad1609767f11cafc12 files/digest-gamin-0.0.18 64
+MD5 35d7d4d3208d674f62e4f2d7ef7d383f files/digest-gamin-0.0.19 64
+++ /dev/null
-MD5 8b89a8aa3250abf6657c9967d61296bc gamin-0.0.10.tar.gz 413147
--- /dev/null
+MD5 f048bf0707312a3d9af9da6a4cf931ec gamin-0.0.19.tar.gz 449839
+++ /dev/null
-MD5 8f8841ed896cd11a96ad2089ab7326b8 gamin-0.0.6.tar.gz 385972
+++ /dev/null
-MD5 6bc883ce97a47b44b57ffa955e7efd32 gamin-0.0.7.tar.gz 387775
+++ /dev/null
-MD5 2d0f6ac13d4c2120d6a1bc242583a689 gamin-0.0.9.tar.gz 403943
+++ /dev/null
---- gamin-0.0.10/configure.in 2004-09-21 21:16:53.608085112 +0200
-+++ gamin-0.0.10.az/configure.in 2004-09-21 21:49:59.739147296 +0200
-@@ -169,11 +169,19 @@ AM_CONDITIONAL(HAVE_LINUX, test x$os = x
-
- if test x$os = xlinux-gnu; then
- AC_DEFINE([HAVE_LINUX],[],[Whether we are using linux or not])
-+
-+ # We enable dnotify no matter what. If the user enables
-+ # inotify, he will still have dnotify to fall back on ...
-+ AC_DEFINE(ENABLE_DNOTIFY,1,[Use dnotify as backend])
- backend="dnotify"
- else
- backend="polling"
- fi
-
-+# We do not care about inotify for now - if the user enables
-+# it, we still want to build dnotify support ...
-+AM_CONDITIONAL(ENABLE_DNOTIFY, test x$backend = xdnotify)
-+
- AC_ARG_ENABLE(inotify,
- [ --enable-inotify Uses inotify as backend],
- [case "${enableval}" in
-@@ -184,17 +192,14 @@ esac])
-
- if test x$backend = xinotify; then
- AC_DEFINE(ENABLE_INOTIFY,1,[Use inotify as backend])
--else
-- if test x$backend = xdnotify; then
-- AC_DEFINE(ENABLE_DNOTIFY,1,[Use dnotify as backend])
-- else if test x$backend = xpolling; then
-- AC_DEFINE(ENABLE_POLLING,1,[Use polling as backend])
-- fi
-+else
-+ # If all else fails, use polling
-+ if test x$backend = xpolling; then
-+ AC_DEFINE(ENABLE_POLLING,1,[Use polling as backend])
- fi
- fi
-
- AM_CONDITIONAL(ENABLE_INOTIFY, test x$backend = xinotify)
--AM_CONDITIONAL(ENABLE_DNOTIFY, test x$backend = xdnotify)
-
- dnl check for flavours of varargs macros (test from GLib)
- AC_MSG_CHECKING(for ISO C99 varargs macros in C)
---- gamin-0.0.10/server/gam_excludes.c 2004-09-21 21:44:04.466157000 +0200
-+++ gamin-0.0.10.az/server/gam_excludes.c 2004-09-21 21:48:36.589787920 +0200
-@@ -19,7 +19,7 @@ struct _gam_exclude {
- static int initialized = 0;
- static GList *excludes = NULL;
- static char *static_excludes[] = {
--#ifdef linux
-+#ifdef HAVE_LINUX
- "/media/*",
- "/mnt/*",
- #endif
---- gamin-0.0.10/server/gam_server.c 2004-09-21 21:19:34.375644728 +0200
-+++ gamin-0.0.10.az/server/gam_server.c 2004-09-21 21:31:33.929255952 +0200
-@@ -36,7 +36,7 @@
- #ifdef ENABLE_INOTIFY
- #include "gam_inotify.h"
- #endif
--#ifdef linux
-+#ifdef ENABLE_DNOTIFY
- #include "gam_dnotify.h"
- #endif
- #include "gam_excludes.h"
-@@ -72,7 +72,7 @@ gam_init_subscriptions(void)
- return(TRUE);
- }
- #endif
--#ifdef linux
-+#ifdef ENABLE_DNOTIFY
- if (gam_dnotify_init()) {
- gam_debug(DEBUG_INFO, "Using DNotify as backend\n");
- return(TRUE);
+++ /dev/null
---- gamin-0.0.6/server/gam_server.c 2004-08-24 19:20:13.397795664 +0200
-+++ gamin-0.0.6.az/server/gam_server.c 2004-08-24 19:20:23.935193736 +0200
-@@ -33,7 +33,7 @@
- #include "gam_channel.h"
- #include "gam_subscription.h"
- #include "gam_poll.h"
--#ifdef USE_INOTIFY
-+#ifdef ENABLE_INOTIFY
- #include "gam_inotify.h"
- #endif
- #ifdef linux
-@@ -68,7 +68,7 @@
-
- gam_backend = 0;
-
--#ifdef USE_INOTIFY
-+#ifdef ENABLE_INOTIFY
- if ((!gam_backend) && (ret = gam_inotify_init())) {
- gam_backend = BACKEND_INOTIFY;
- gam_debug(DEBUG_INFO, "Using INotify as backend\n");
-@@ -138,7 +138,7 @@
- }
- ***/
- switch (gam_backend) {
--#ifdef USE_INOTIFY
-+#ifdef ENABLE_INOTIFY
- case BACKEND_INOTIFY:
- return (gam_inotify_add_subscription(sub));
- break;
-@@ -165,7 +165,7 @@
- gam_remove_subscription(GamSubscription * sub)
- {
- switch (gam_backend) {
--#ifdef USE_INOTIFY
-+#ifdef ENABLE_INOTIFY
- case BACKEND_INOTIFY:
- return (gam_inotify_remove_subscription(sub));
- break;
+++ /dev/null
---- gamin-0.0.6/server/gam_inotify.c 2004-08-23 00:16:20.821374728 +0200
-+++ gamin-0.0.6.az/server/gam_inotify.c 2004-08-23 00:16:31.835700296 +0200
-@@ -27,7 +27,7 @@
- #include <unistd.h>
- #include <stdio.h>
- #include <glib.h>
--#include "/usr/src/linux/include/linux/inotify.h"
-+#include "inotify.h"
- #include "gam_error.h"
- #include "gam_inotify.h"
- #include "gam_tree.h"
+++ /dev/null
---- gamin-0.0.6/server/gam_inotify.c 2004-08-24 19:28:39.013372440 +0200
-+++ gamin-0.0.6.az/server/gam_inotify.c 2004-08-24 19:29:00.240145480 +0200
-@@ -351,7 +351,7 @@
- fd = open("/dev/inotify", O_RDONLY);
-
- if (fd < 0) {
-- g_warning("Could not open /dev/inotify\n");
-+ gam_debug(DEBUG_INFO, "Could not open /dev/inotify\n");
- return FALSE;
- }
-
+++ /dev/null
-diff -urN gamin-0.0.6/server/gam_server.c gamin-0.0.6.az/server/gam_server.c
---- gamin-0.0.6/server/gam_server.c 2004-08-19 12:54:45.000000000 +0200
-+++ gamin-0.0.6.az/server/gam_server.c 2004-08-23 00:22:48.136493880 +0200
-@@ -41,6 +41,7 @@
- #endif
-
- static const char *session;
-+static int gam_backend;
-
- /**
- * gam_shutdown:
-@@ -63,13 +64,36 @@
- gboolean
- gam_init_subscriptions(void)
- {
-+ gboolean ret;
-+
-+ gam_backend = 0;
-+
- #ifdef USE_INOTIFY
-- return (gam_inotify_init());
--#elif linux
-- return (gam_dnotify_init());
--#else
-- return (gam_poll_init());
-+ if ((!gam_backend) && (ret = gam_inotify_init())) {
-+ gam_backend = BACKEND_INOTIFY;
-+ gam_debug(DEBUG_INFO, "Using INotify as backend\n");
-+ return ret;
-+ }
- #endif
-+#ifdef linux
-+ if ((!gam_backend) && (ret = gam_dnotify_init())) {
-+ gam_backend = BACKEND_DNOTIFY;
-+ gam_debug(DEBUG_INFO, "Using DNotify as backend\n");
-+ return ret;
-+ }
-+#endif
-+ if (!gam_backend) {
-+ ret = gam_poll_init();
-+ if (ret) {
-+ gam_backend = BACKEND_POLL;
-+ gam_debug(DEBUG_INFO, "Using Poll as backend\n");
-+ }
-+ return ret;
-+ }
-+
-+ gam_debug(DEBUG_INFO, "Cannot initialize any backend\n");
-+
-+ return FALSE;
- }
-
- /**
-@@ -113,13 +137,21 @@
- return (gam_poll_add_subscription(sub));
- }
- ***/
-+ switch (gam_backend) {
- #ifdef USE_INOTIFY
-- return (gam_inotify_add_subscription(sub));
--#elif linux
-- return (gam_dnotify_add_subscription(sub));
--#else
-- return (gam_poll_add_subscription(sub));
-+ case BACKEND_INOTIFY:
-+ return (gam_inotify_add_subscription(sub));
-+ break;
- #endif
-+#ifdef linux
-+ case BACKEND_DNOTIFY:
-+ return (gam_dnotify_add_subscription(sub));
-+ break;
-+#endif
-+ case BACKEND_POLL:
-+ return (gam_poll_add_subscription(sub));
-+ break;
-+ }
- }
-
- /**
-@@ -132,13 +164,21 @@
- gboolean
- gam_remove_subscription(GamSubscription * sub)
- {
-+ switch (gam_backend) {
- #ifdef USE_INOTIFY
-- return (gam_inotify_remove_subscription(sub));
--#elif linux
-- return (gam_dnotify_remove_subscription(sub));
--#else
-- return (gam_poll_remove_subscription(sub));
-+ case BACKEND_INOTIFY:
-+ return (gam_inotify_remove_subscription(sub));
-+ break;
-+#endif
-+#ifdef linux
-+ case BACKEND_DNOTIFY:
-+ return (gam_dnotify_remove_subscription(sub));
-+ break;
- #endif
-+ case BACKEND_POLL:
-+ return (gam_poll_remove_subscription(sub));
-+ break;
-+ }
- }
-
- /**
-diff -urN gamin-0.0.6/server/gam_server.h gamin-0.0.6.az/server/gam_server.h
---- gamin-0.0.6/server/gam_server.h 2004-08-19 12:51:57.000000000 +0200
-+++ gamin-0.0.6.az/server/gam_server.h 2004-08-23 00:20:01.420838512 +0200
-@@ -9,6 +9,10 @@
- extern "C" {
- #endif
-
-+#define BACKEND_INOTIFY 1
-+#define BACKEND_DNOTIFY 2
-+#define BACKEND_POLL 3
-+
- gboolean gam_init_subscriptions (void);
- gboolean gam_add_subscription (GamSubscription *sub);
- gboolean gam_remove_subscription (GamSubscription *sub);
+++ /dev/null
-/*
- * Inode based directory notification for Linux
- *
- * Copyright (C) 2004 John McCutchan
- *
- * Signed-off-by: John McCutchan ttb@tentacle.dhs.org
- */
-
-#ifndef _LINUX_INOTIFY_H
-#define _LINUX_INOTIFY_H
-
-struct inode;
-struct dentry;
-struct super_block;
-
-struct inotify_event {
- int wd;
- int mask;
- char filename[256];
- /* When you are watching a directory you will get the filenames
- * for events like IN_CREATE, IN_DELETE, IN_OPEN, IN_CLOSE, etc..
- */
-};
-/* When reading from the device you must provide a buffer
- * that is a multiple of the sizeof(inotify_event)
- */
-
-#define IN_ACCESS 0x00000001 /* File was accessed */
-#define IN_MODIFY 0x00000002 /* File was modified */
-#define IN_CREATE 0x00000004 /* File was created */
-#define IN_DELETE 0x00000008 /* File was deleted */
-#define IN_RENAME 0x00000010 /* File was renamed */
-#define IN_ATTRIB 0x00000020 /* File changed attributes */
-#define IN_MOVE 0x00000040 /* File was moved */
-#define IN_UNMOUNT 0x00000080 /* Device file was on, was unmounted */
-#define IN_CLOSE 0x00000100 /* File was closed */
-#define IN_OPEN 0x00000200 /* File was opened */
-#define IN_IGNORED 0x00000400 /* File was ignored */
-#define IN_ALL_EVENTS 0xffffffff /* All the events */
-
-/* ioctl */
-
-/* Fill this and pass it to INOTIFY_WATCH ioctl */
-struct inotify_watch_request {
- char *dirname; // directory name
- unsigned long mask; // event mask
-};
-
-#define INOTIFY_IOCTL_MAGIC 'Q'
-#define INOTIFY_IOCTL_MAXNR 4
-
-#define INOTIFY_WATCH _IOR(INOTIFY_IOCTL_MAGIC, 1, struct inotify_watch_request)
-#define INOTIFY_IGNORE _IOR(INOTIFY_IOCTL_MAGIC, 2, int)
-#define INOTIFY_STATS _IOR(INOTIFY_IOCTL_MAGIC, 3, int)
-#define INOTIFY_SETDEBUG _IOR(INOTIFY_IOCTL_MAGIC, 4, int)
-
-#define INOTIFY_DEBUG_NONE 0x00000000
-#define INOTIFY_DEBUG_ALLOC 0x00000001
-#define INOTIFY_DEBUG_EVENTS 0x00000002
-#define INOTIFY_DEBUG_INODE 0x00000004
-#define INOTIFY_DEBUG_ERRORS 0x00000008
-#define INOTIFY_DEBUG_FILEN 0x00000010
-#define INOTIFY_DEBUG_ALL 0xffffffff
-
-/* Kernel API */
-/* Adds events to all watchers on inode that are interested in mask */
-void inotify_inode_queue_event (struct inode *inode, unsigned long mask, const char *filename);
-/* Same as above but uses dentry's inode */
-void inotify_dentry_parent_queue_event (struct dentry *dentry, unsigned long mask, const char *filename);
-/* This will remove all watchers from all inodes on the superblock */
-void inotify_super_block_umount (struct super_block *sb);
-
-#endif
-
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gamin/gamin-0.0.10.ebuild,v 1.1 2004/09/21 20:35:57 azarah Exp $
-
-inherit eutils
-
-INOTIFY_VER="0.8.1"
-
-DESCRIPTION="Library providing the FAM File Alteration Monitor API"
-HOMEPAGE="http://www.gnome.org/~veillard/gamin/"
-SRC_URI="http://www.gnome.org/~veillard/gamin/sources/${P}.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc"
-IUSE=
-
-DEPEND="virtual/libc
- >=dev-libs/glib-2.0
- !app-admin/fam"
-
-PROVIDE="virtual/fam"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}/server
- if [ -f "/usr/src/linux/include/linux/inotify.h" ]
- then
- cp /usr/src/linux/include/linux/inotify.h .
- elif [ -f "/usr/include/linux/inotify.h" ]
- then
- cp /usr/include/linux/inotify.h .
- else
- cp "${FILESDIR}/inotify-${INOTIFY_VER}.h" inotify.h
- fi
-
- cd ${S}
-
- # Include our inotify.h
- epatch ${FILESDIR}/${PN}-0.0.6-inotify_h-include.patch
- # Only complain about failing to open inotify node if debug is enabled.
- epatch ${FILESDIR}/${PN}-0.0.6-quiet-inotify-warning.patch
- # Cleanup HAVE_LINUX and ENABLE_DNOTIFY usage. This also allow the
- # DNotify backend to build again if inotify is enabled, as well as
- # fix a build error.
- epatch ${FILESDIR}/${PN}-0.0.10-HAVE_LINUX-and-ENABLE_DNOTIFY-cleanup.patch
-
- einfo "Running autoreconf (can take a minute or two)..."
- autoreconf &>/dev/null || die "autreconf failed!"
-}
-
-src_compile() {
- econf --enable-inotify \
- --enable-debug || die
- # Enable debug for testing the runtime backend patch
-
- # Currently not smp safe
- emake || die "emake failed"
-}
-
-src_install() {
- einstall || die
-
- dodoc AUTHORS COPYING ChangeLog Copyright README TODO
-}
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gamin/gamin-0.0.19.ebuild,v 1.1 2004/12/10 17:28:05 foser Exp $
+
+DESCRIPTION="Library providing the FAM File Alteration Monitor API"
+HOMEPAGE="http://www.gnome.org/~veillard/gamin/"
+SRC_URI="http://www.gnome.org/~veillard/gamin/sources/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~arm ~hppa ~ia64 ~ppc ~s390"
+IUSE="debug"
+
+RDEPEND="virtual/libc
+ >=dev-libs/glib-2
+ !app-admin/fam"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+PROVIDE="virtual/fam"
+
+src_compile() {
+
+ econf \
+ --enable-inotify \
+ `use_enable debug` \
+ || die
+
+ emake || die "emake failed"
+
+}
+
+src_install() {
+
+ make DESTDIR="${D}" install || die
+
+ dodoc AUTHORS ChangeLog README TODO NEWS
+
+}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gamin/gamin-0.0.6-r2.ebuild,v 1.2 2004/08/24 17:29:56 azarah Exp $
-
-inherit eutils
-
-INOTIFY_VER="0.8.1"
-
-DESCRIPTION="Library providing the FAM File Alteration Monitor API"
-HOMEPAGE="http://www.gnome.org/~veillard/gamin/"
-SRC_URI="http://www.gnome.org/~veillard/gamin/sources/${P}.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE=
-
-DEPEND="virtual/libc
- >=dev-libs/glib-2.0
- !app-admin/fam"
-
-PROVIDE="virtual/fam"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}/server
- if [ -f "/usr/src/linux/include/linux/inotify.h" ]
- then
- cp /usr/src/linux/include/linux/inotify.h .
- elif [ -f "/usr/include/linux/inotify.h" ]
- then
- cp /usr/include/linux/inotify.h .
- else
- cp "${FILESDIR}/inotify-${INOTIFY_VER}.h" inotify.h
- fi
-
- # Include our inotify.h
- epatch ${FILESDIR}/${P}-inotify_h-include.patch
- # Select the backend at runtime
- epatch ${FILESDIR}/${P}-runtime-backend-select.patch
- # Sources is using wrong DEFINE to check if INotify should be enabled ...
- epatch ${FILESDIR}/${P}-actually-enable-inotify-support.patch
- # Only complain about failing to open inotify node if debug is enabled.
- epatch ${FILESDIR}/${P}-quiet-inotify-warning.patch
-}
-
-src_compile() {
- econf --enable-inotify \
- --enable-debug || die
- # Enable debug for testing the runtime backend patch
-
- # Currently not smp safe
- emake || die "emake failed"
-}
-
-src_install() {
- einstall || die
-
- dodoc AUTHORS COPYING ChangeLog Copyright README TODO
-}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gamin/gamin-0.0.7.ebuild,v 1.2 2004/09/03 00:56:40 dholm Exp $
-
-inherit eutils
-
-INOTIFY_VER="0.8.1"
-
-DESCRIPTION="Library providing the FAM File Alteration Monitor API"
-HOMEPAGE="http://www.gnome.org/~veillard/gamin/"
-SRC_URI="http://www.gnome.org/~veillard/gamin/sources/${P}.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc"
-IUSE=
-
-DEPEND="virtual/libc
- >=dev-libs/glib-2.0
- !app-admin/fam"
-
-PROVIDE="virtual/fam"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}/server
- if [ -f "/usr/src/linux/include/linux/inotify.h" ]
- then
- cp /usr/src/linux/include/linux/inotify.h .
- elif [ -f "/usr/include/linux/inotify.h" ]
- then
- cp /usr/include/linux/inotify.h .
- else
- cp "${FILESDIR}/inotify-${INOTIFY_VER}.h" inotify.h
- fi
-
- # Include our inotify.h
- epatch ${FILESDIR}/${PN}-0.0.6-inotify_h-include.patch
- # Select the backend at runtime
- epatch ${FILESDIR}/${PN}-0.0.6-runtime-backend-select.patch
- # Sources is using wrong DEFINE to check if INotify should be enabled ...
- epatch ${FILESDIR}/${PN}-0.0.6-actually-enable-inotify-support.patch
- # Only complain about failing to open inotify node if debug is enabled.
- epatch ${FILESDIR}/${PN}-0.0.6-quiet-inotify-warning.patch
-}
-
-src_compile() {
- econf --enable-inotify \
- --enable-debug || die
- # Enable debug for testing the runtime backend patch
-
- # Currently not smp safe
- emake || die "emake failed"
-}
-
-src_install() {
- einstall || die
-
- dodoc AUTHORS COPYING ChangeLog Copyright README TODO
-}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gamin/gamin-0.0.9.ebuild,v 1.1 2004/09/16 20:38:23 spider Exp $
-
-inherit eutils
-
-INOTIFY_VER="0.8.1"
-
-DESCRIPTION="Library providing the FAM File Alteration Monitor API"
-HOMEPAGE="http://www.gnome.org/~veillard/gamin/"
-SRC_URI="http://www.gnome.org/~veillard/gamin/sources/${P}.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~ppc"
-IUSE=
-
-DEPEND="virtual/libc
- >=dev-libs/glib-2.0
- !app-admin/fam"
-
-PROVIDE="virtual/fam"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}/server
- if [ -f "/usr/src/linux/include/linux/inotify.h" ]
- then
- cp /usr/src/linux/include/linux/inotify.h .
- elif [ -f "/usr/include/linux/inotify.h" ]
- then
- cp /usr/include/linux/inotify.h .
- else
- cp "${FILESDIR}/inotify-${INOTIFY_VER}.h" inotify.h
- fi
-
- # Include our inotify.h
- epatch ${FILESDIR}/${PN}-0.0.6-inotify_h-include.patch
- # Only complain about failing to open inotify node if debug is enabled.
- epatch ${FILESDIR}/${PN}-0.0.6-quiet-inotify-warning.patch
-}
-
-src_compile() {
- econf --enable-inotify \
- --enable-debug || die
- # Enable debug for testing the runtime backend patch
-
- # Currently not smp safe
- emake || die "emake failed"
-}
-
-src_install() {
- einstall || die
-
- dodoc AUTHORS COPYING ChangeLog Copyright README TODO
-}