summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/gamin')
-rw-r--r--app-admin/gamin/ChangeLog7
-rw-r--r--app-admin/gamin/Manifest2
-rw-r--r--app-admin/gamin/files/digest-gamin-0.0.101
-rw-r--r--app-admin/gamin/files/digest-gamin-0.0.191
-rw-r--r--app-admin/gamin/files/digest-gamin-0.0.6-r21
-rw-r--r--app-admin/gamin/files/digest-gamin-0.0.71
-rw-r--r--app-admin/gamin/files/digest-gamin-0.0.91
-rw-r--r--app-admin/gamin/files/gamin-0.0.10-HAVE_LINUX-and-ENABLE_DNOTIFY-cleanup.patch75
-rw-r--r--app-admin/gamin/files/gamin-0.0.6-actually-enable-inotify-support.patch38
-rw-r--r--app-admin/gamin/files/gamin-0.0.6-inotify_h-include.patch11
-rw-r--r--app-admin/gamin/files/gamin-0.0.6-quiet-inotify-warning.patch11
-rw-r--r--app-admin/gamin/files/gamin-0.0.6-runtime-backend-select.patch121
-rw-r--r--app-admin/gamin/files/inotify-0.8.1.h74
-rw-r--r--app-admin/gamin/gamin-0.0.10.ebuild66
-rw-r--r--app-admin/gamin/gamin-0.0.19.ebuild40
-rw-r--r--app-admin/gamin/gamin-0.0.6-r2.ebuild61
-rw-r--r--app-admin/gamin/gamin-0.0.7.ebuild61
-rw-r--r--app-admin/gamin/gamin-0.0.9.ebuild57
18 files changed, 49 insertions, 580 deletions
diff --git a/app-admin/gamin/ChangeLog b/app-admin/gamin/ChangeLog
index 541f84113944..50f87fe38a48 100644
--- a/app-admin/gamin/ChangeLog
+++ b/app-admin/gamin/ChangeLog
@@ -1,6 +1,11 @@
# 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)
diff --git a/app-admin/gamin/Manifest b/app-admin/gamin/Manifest
index 60dc6b95919e..978d6db7bf4c 100644
--- a/app-admin/gamin/Manifest
+++ b/app-admin/gamin/Manifest
@@ -1,4 +1,5 @@
MD5 ee8fb13c688cd2cb69e8d8a998ca35c5 gamin-0.0.7.ebuild 1601
+MD5 e1c235e6cf95d35bdc725a779b1be645 gamin-0.0.19.ebuild 884
MD5 ea62db6d3e1fc7819b705ecf31eab839 gamin-0.0.6-r2.ebuild 1572
MD5 cb79cb3e2161998a010168013b4f171e gamin-0.0.9.ebuild 1363
MD5 e1c235e6cf95d35bdc725a779b1be645 gamin-0.0.18.ebuild 884
@@ -18,3 +19,4 @@ 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
diff --git a/app-admin/gamin/files/digest-gamin-0.0.10 b/app-admin/gamin/files/digest-gamin-0.0.10
deleted file mode 100644
index 30c6efc4d7a4..000000000000
--- a/app-admin/gamin/files/digest-gamin-0.0.10
+++ /dev/null
@@ -1 +0,0 @@
-MD5 8b89a8aa3250abf6657c9967d61296bc gamin-0.0.10.tar.gz 413147
diff --git a/app-admin/gamin/files/digest-gamin-0.0.19 b/app-admin/gamin/files/digest-gamin-0.0.19
new file mode 100644
index 000000000000..9c5f9611b728
--- /dev/null
+++ b/app-admin/gamin/files/digest-gamin-0.0.19
@@ -0,0 +1 @@
+MD5 f048bf0707312a3d9af9da6a4cf931ec gamin-0.0.19.tar.gz 449839
diff --git a/app-admin/gamin/files/digest-gamin-0.0.6-r2 b/app-admin/gamin/files/digest-gamin-0.0.6-r2
deleted file mode 100644
index 8254b2729611..000000000000
--- a/app-admin/gamin/files/digest-gamin-0.0.6-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 8f8841ed896cd11a96ad2089ab7326b8 gamin-0.0.6.tar.gz 385972
diff --git a/app-admin/gamin/files/digest-gamin-0.0.7 b/app-admin/gamin/files/digest-gamin-0.0.7
deleted file mode 100644
index bae15d544ef7..000000000000
--- a/app-admin/gamin/files/digest-gamin-0.0.7
+++ /dev/null
@@ -1 +0,0 @@
-MD5 6bc883ce97a47b44b57ffa955e7efd32 gamin-0.0.7.tar.gz 387775
diff --git a/app-admin/gamin/files/digest-gamin-0.0.9 b/app-admin/gamin/files/digest-gamin-0.0.9
deleted file mode 100644
index e2304d21be8d..000000000000
--- a/app-admin/gamin/files/digest-gamin-0.0.9
+++ /dev/null
@@ -1 +0,0 @@
-MD5 2d0f6ac13d4c2120d6a1bc242583a689 gamin-0.0.9.tar.gz 403943
diff --git a/app-admin/gamin/files/gamin-0.0.10-HAVE_LINUX-and-ENABLE_DNOTIFY-cleanup.patch b/app-admin/gamin/files/gamin-0.0.10-HAVE_LINUX-and-ENABLE_DNOTIFY-cleanup.patch
deleted file mode 100644
index dd328561d063..000000000000
--- a/app-admin/gamin/files/gamin-0.0.10-HAVE_LINUX-and-ENABLE_DNOTIFY-cleanup.patch
+++ /dev/null
@@ -1,75 +0,0 @@
---- 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);
diff --git a/app-admin/gamin/files/gamin-0.0.6-actually-enable-inotify-support.patch b/app-admin/gamin/files/gamin-0.0.6-actually-enable-inotify-support.patch
deleted file mode 100644
index 12cb692aecb4..000000000000
--- a/app-admin/gamin/files/gamin-0.0.6-actually-enable-inotify-support.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- 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;
diff --git a/app-admin/gamin/files/gamin-0.0.6-inotify_h-include.patch b/app-admin/gamin/files/gamin-0.0.6-inotify_h-include.patch
deleted file mode 100644
index bf65b20bac9a..000000000000
--- a/app-admin/gamin/files/gamin-0.0.6-inotify_h-include.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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"
diff --git a/app-admin/gamin/files/gamin-0.0.6-quiet-inotify-warning.patch b/app-admin/gamin/files/gamin-0.0.6-quiet-inotify-warning.patch
deleted file mode 100644
index ea8c5b6a0c8f..000000000000
--- a/app-admin/gamin/files/gamin-0.0.6-quiet-inotify-warning.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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;
- }
-
diff --git a/app-admin/gamin/files/gamin-0.0.6-runtime-backend-select.patch b/app-admin/gamin/files/gamin-0.0.6-runtime-backend-select.patch
deleted file mode 100644
index 3dd51c219512..000000000000
--- a/app-admin/gamin/files/gamin-0.0.6-runtime-backend-select.patch
+++ /dev/null
@@ -1,121 +0,0 @@
-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);
diff --git a/app-admin/gamin/files/inotify-0.8.1.h b/app-admin/gamin/files/inotify-0.8.1.h
deleted file mode 100644
index a6f9e86d7abf..000000000000
--- a/app-admin/gamin/files/inotify-0.8.1.h
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * 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
-
diff --git a/app-admin/gamin/gamin-0.0.10.ebuild b/app-admin/gamin/gamin-0.0.10.ebuild
deleted file mode 100644
index d97f56645c5c..000000000000
--- a/app-admin/gamin/gamin-0.0.10.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# 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
-}
diff --git a/app-admin/gamin/gamin-0.0.19.ebuild b/app-admin/gamin/gamin-0.0.19.ebuild
new file mode 100644
index 000000000000..b947b23267b3
--- /dev/null
+++ b/app-admin/gamin/gamin-0.0.19.ebuild
@@ -0,0 +1,40 @@
+# 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
+
+}
diff --git a/app-admin/gamin/gamin-0.0.6-r2.ebuild b/app-admin/gamin/gamin-0.0.6-r2.ebuild
deleted file mode 100644
index 68c825841dcb..000000000000
--- a/app-admin/gamin/gamin-0.0.6-r2.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# 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
-}
diff --git a/app-admin/gamin/gamin-0.0.7.ebuild b/app-admin/gamin/gamin-0.0.7.ebuild
deleted file mode 100644
index 84d7f640c3b5..000000000000
--- a/app-admin/gamin/gamin-0.0.7.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# 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
-}
diff --git a/app-admin/gamin/gamin-0.0.9.ebuild b/app-admin/gamin/gamin-0.0.9.ebuild
deleted file mode 100644
index 188b597ab8e4..000000000000
--- a/app-admin/gamin/gamin-0.0.9.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# 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
-}