Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
[PATCH]: Remove abstract socket namespace check breaking cross compilation
|
||||
|
||||
Taken from openembedded:
|
||||
|
||||
http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/gamin/files/no-abstract-sockets.patch
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
--- /tmp/configure.in 2007-04-30 13:08:49.000000000 +0200
|
||||
+++ gamin-0.1.8/configure.in 2007-04-30 13:10:53.285251000 +0200
|
||||
@@ -354,51 +354,6 @@
|
||||
AC_DEFINE(HAVE_CMSGCRED,1,[Have cmsgcred structure])
|
||||
fi
|
||||
|
||||
-#### Abstract sockets
|
||||
-
|
||||
-AC_MSG_CHECKING(abstract socket namespace)
|
||||
-AC_LANG_PUSH(C)
|
||||
-AC_RUN_IFELSE([AC_LANG_PROGRAM(
|
||||
-[[
|
||||
-#include <sys/types.h>
|
||||
-#include <stdlib.h>
|
||||
-#include <string.h>
|
||||
-#include <stdio.h>
|
||||
-#include <sys/socket.h>
|
||||
-#include <sys/un.h>
|
||||
-#include <errno.h>
|
||||
-]],
|
||||
-[[
|
||||
- int listen_fd;
|
||||
- struct sockaddr_un addr;
|
||||
-
|
||||
- listen_fd = socket (PF_UNIX, SOCK_STREAM, 0);
|
||||
-
|
||||
- if (listen_fd < 0)
|
||||
- {
|
||||
- fprintf (stderr, "socket() failed: %s\n", strerror (errno));
|
||||
- exit (1);
|
||||
- }
|
||||
-
|
||||
- memset (&addr, '\0', sizeof (addr));
|
||||
- addr.sun_family = AF_UNIX;
|
||||
- strcpy (addr.sun_path, "X/tmp/dbus-fake-socket-path-used-in-configure-test");
|
||||
- addr.sun_path[0] = '\0'; /* this is what makes it abstract */
|
||||
-
|
||||
- if (bind (listen_fd, (struct sockaddr*) &addr, SUN_LEN (&addr)) < 0)
|
||||
- {
|
||||
- fprintf (stderr, "Abstract socket namespace bind() failed: %s\n",
|
||||
- strerror (errno));
|
||||
- exit (1);
|
||||
- }
|
||||
- else
|
||||
- exit (0);
|
||||
-]])],
|
||||
- [have_abstract_sockets=yes],
|
||||
- [have_abstract_sockets=no])
|
||||
-AC_LANG_POP(C)
|
||||
-AC_MSG_RESULT($have_abstract_sockets)
|
||||
-
|
||||
if test x$enable_abstract_sockets = xyes; then
|
||||
if test x$have_abstract_sockets = xno; then
|
||||
AC_MSG_ERROR([Abstract sockets explicitly required, and support not detected.])
|
||||
@@ -0,0 +1,57 @@
|
||||
G_CONST_RETURN is deprecated in glib 2.30 so remove to to avoid
|
||||
build failures.
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Index: gamin-0.1.10/server/gam_node.c
|
||||
===================================================================
|
||||
--- gamin-0.1.10.orig/server/gam_node.c 2011-10-12 15:25:45.217178314 +0100
|
||||
+++ gamin-0.1.10/server/gam_node.c 2011-10-12 15:26:17.807178293 +0100
|
||||
@@ -122,7 +122,7 @@
|
||||
* it has finished with the string. If it must keep it longer, it
|
||||
* should makes its own copy. The returned string must not be freed.
|
||||
*/
|
||||
-G_CONST_RETURN char *
|
||||
+const char *
|
||||
gam_node_get_path(GamNode * node)
|
||||
{
|
||||
g_assert(node);
|
||||
Index: gamin-0.1.10/server/gam_node.h
|
||||
===================================================================
|
||||
--- gamin-0.1.10.orig/server/gam_node.h 2011-10-12 15:25:46.857178269 +0100
|
||||
+++ gamin-0.1.10/server/gam_node.h 2011-10-12 15:26:28.637178297 +0100
|
||||
@@ -58,7 +58,7 @@
|
||||
void gam_node_set_is_dir (GamNode *node,
|
||||
gboolean is_dir);
|
||||
|
||||
-G_CONST_RETURN char *gam_node_get_path (GamNode *node);
|
||||
+const char *gam_node_get_path (GamNode *node);
|
||||
|
||||
GList *gam_node_get_subscriptions (GamNode *node);
|
||||
|
||||
Index: gamin-0.1.10/server/gam_subscription.c
|
||||
===================================================================
|
||||
--- gamin-0.1.10.orig/server/gam_subscription.c 2011-10-12 15:25:40.497177525 +0100
|
||||
+++ gamin-0.1.10/server/gam_subscription.c 2011-10-12 15:26:39.867178304 +0100
|
||||
@@ -141,7 +141,7 @@
|
||||
* @param sub the GamSubscription
|
||||
* @returns The path being monitored. It should not be freed.
|
||||
*/
|
||||
-G_CONST_RETURN char *
|
||||
+const char *
|
||||
gam_subscription_get_path(GamSubscription * sub)
|
||||
{
|
||||
if (sub == NULL)
|
||||
Index: gamin-0.1.10/server/gam_subscription.h
|
||||
===================================================================
|
||||
--- gamin-0.1.10.orig/server/gam_subscription.h 2011-10-12 15:25:28.507178266 +0100
|
||||
+++ gamin-0.1.10/server/gam_subscription.h 2011-10-12 15:25:58.817178285 +0100
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
int gam_subscription_get_reqno (GamSubscription *sub);
|
||||
|
||||
-G_CONST_RETURN char *gam_subscription_get_path (GamSubscription *sub);
|
||||
+const char *gam_subscription_get_path (GamSubscription *sub);
|
||||
|
||||
GamListener *gam_subscription_get_listener (GamSubscription *sub);
|
||||
|
||||
14
deprecated/firmware/buildroot/package/gamin/Config.in
Normal file
14
deprecated/firmware/buildroot/package/gamin/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_GAMIN
|
||||
bool "gamin"
|
||||
depends on BR2_USE_WCHAR # glib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
|
||||
depends on BR2_USE_MMU # glib2
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
help
|
||||
the File Alteration Monitor
|
||||
|
||||
http://www.gnome.org/~veillard/gamin/sources
|
||||
|
||||
comment "gamin needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
2
deprecated/firmware/buildroot/package/gamin/gamin.hash
Normal file
2
deprecated/firmware/buildroot/package/gamin/gamin.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 28085f0ae8be10eab582ff186af4fb0be92cc6c62b5cc19cd09b295c7c2899a1 gamin-0.1.10.tar.gz
|
||||
21
deprecated/firmware/buildroot/package/gamin/gamin.mk
Normal file
21
deprecated/firmware/buildroot/package/gamin/gamin.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# gamin
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GAMIN_VERSION = 0.1.10
|
||||
GAMIN_SITE = http://www.gnome.org/~veillard/gamin/sources
|
||||
GAMIN_AUTORECONF = YES
|
||||
GAMIN_INSTALL_STAGING = YES
|
||||
GAMIN_LICENSE = LGPLv2+
|
||||
GAMIN_LICENSE_FILES = COPYING
|
||||
|
||||
# python support broken
|
||||
GAMIN_CONF_OPTS += --without-python
|
||||
|
||||
GAMIN_CONF_ENV = have_abstract_sockets=no
|
||||
|
||||
GAMIN_DEPENDENCIES = libglib2
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user