diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-02 14:30:31 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-02 14:30:31 +0000 |
commit | 70203a07239213d60165ba9b2d3e4386c99a510c (patch) | |
tree | c6fa19c1ce9f798a6370fb12dcecd510636269c1 /meta/packages/gnet | |
parent | 11f0e58005839d5d3c211062b3bc2628fc80fa95 (diff) | |
download | poky-70203a07239213d60165ba9b2d3e4386c99a510c.tar.gz |
Move pam, packagekit, monit and gnet to meta-moblin
Diffstat (limited to 'meta/packages/gnet')
-rw-r--r-- | meta/packages/gnet/files/buildfix.patch | 13 | ||||
-rw-r--r-- | meta/packages/gnet/files/configure_fix.patch | 58 | ||||
-rw-r--r-- | meta/packages/gnet/files/pkgconfig_fix.patch | 12 | ||||
-rw-r--r-- | meta/packages/gnet/gnet_svn.bb | 24 |
4 files changed, 0 insertions, 107 deletions
diff --git a/meta/packages/gnet/files/buildfix.patch b/meta/packages/gnet/files/buildfix.patch deleted file mode 100644 index 8067620264..0000000000 --- a/meta/packages/gnet/files/buildfix.patch +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | Index: gnet/examples/Makefile.am | ||
2 | =================================================================== | ||
3 | --- gnet.orig/examples/Makefile.am | ||
4 | +++ gnet/examples/Makefile.am | ||
5 | @@ -2,7 +2,7 @@ | ||
6 | |||
7 | @SET_MAKE@ | ||
8 | |||
9 | -SUBDIRS = xmlrpc | ||
10 | +SUBDIRS = | ||
11 | |||
12 | if OS_WIN32 | ||
13 | noinst_PROGRAMS = echoclient echoserver \ | ||
diff --git a/meta/packages/gnet/files/configure_fix.patch b/meta/packages/gnet/files/configure_fix.patch deleted file mode 100644 index e6aadcc6a9..0000000000 --- a/meta/packages/gnet/files/configure_fix.patch +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | Index: trunk/configure.ac | ||
2 | =================================================================== | ||
3 | --- trunk.orig/configure.ac | ||
4 | +++ trunk/configure.ac | ||
5 | @@ -332,53 +332,6 @@ AC_DEFINE_UNQUOTED(GNET_SOCKADDR_FAMILY_ | ||
6 | [$gnet_sockaddr_family_field_name], | ||
7 | [Name of sockaddr_storage family field]) | ||
8 | |||
9 | -dnl ####################################### | ||
10 | -dnl Check if abstract sockets are supported | ||
11 | -dnl ####################################### | ||
12 | - | ||
13 | -AC_LANG_PUSH(C) | ||
14 | -AC_CACHE_CHECK([for abstract socket namespace availability], | ||
15 | - ac_cv_gnet_have_abstract_sockets, | ||
16 | - [AC_RUN_IFELSE([AC_LANG_PROGRAM( | ||
17 | -[[ | ||
18 | -#include <sys/types.h> | ||
19 | -#include <stdlib.h> | ||
20 | -#include <string.h> | ||
21 | -#include <stdio.h> | ||
22 | -#include <sys/socket.h> | ||
23 | -#include <sys/un.h> | ||
24 | -#include <errno.h> | ||
25 | -]], | ||
26 | -[[ | ||
27 | - int listen_fd, len; | ||
28 | - struct sockaddr_un addr; | ||
29 | - | ||
30 | - listen_fd = socket (PF_UNIX, SOCK_STREAM, 0); | ||
31 | - if (listen_fd < 0) { | ||
32 | - perror ("socket() failed: "); | ||
33 | - exit (1); | ||
34 | - } | ||
35 | - memset (&addr, '\0', sizeof (addr)); | ||
36 | - addr.sun_family = AF_UNIX; | ||
37 | - strcpy (addr.sun_path, "X/tmp/gnet-fake-socket-path-used-in-configure-test"); | ||
38 | - len = SUN_LEN (&addr); /* calculate size before adding the \0 */ | ||
39 | - addr.sun_path[0] = '\0'; /* this is what makes it abstract */ | ||
40 | - | ||
41 | - if (bind (listen_fd, (struct sockaddr*) &addr, len) < 0) { | ||
42 | - perror ("Abstract socket namespace bind() failed: "); | ||
43 | - exit (1); | ||
44 | - } | ||
45 | - exit (0); | ||
46 | -]])], | ||
47 | - [ac_cv_gnet_have_abstract_sockets=yes], | ||
48 | - [ac_cv_gnet_have_abstract_sockets=no] | ||
49 | -)]) | ||
50 | -AC_LANG_POP(C) | ||
51 | - | ||
52 | -if test x$ac_cv_gnet_have_abstract_sockets = xyes ; then | ||
53 | - AC_DEFINE(HAVE_ABSTRACT_SOCKETS,1,[Have abstract socket namespace]) | ||
54 | -fi | ||
55 | - | ||
56 | ############################### | ||
57 | # Compiler characteristics | ||
58 | AC_C_CONST | ||
diff --git a/meta/packages/gnet/files/pkgconfig_fix.patch b/meta/packages/gnet/files/pkgconfig_fix.patch deleted file mode 100644 index a4a433f1ce..0000000000 --- a/meta/packages/gnet/files/pkgconfig_fix.patch +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | Index: trunk/gnet-2.0.pc.in | ||
2 | =================================================================== | ||
3 | --- trunk.orig/gnet-2.0.pc.in 2008-11-06 16:41:25.000000000 +0000 | ||
4 | +++ trunk/gnet-2.0.pc.in 2008-11-06 16:42:23.000000000 +0000 | ||
5 | @@ -6,5 +6,6 @@ | ||
6 | Name: Gnet | ||
7 | Description: A network compatibility layer library | ||
8 | Version: @VERSION@ | ||
9 | +Requires: glib-2.0 gthread-2.0 | ||
10 | Libs: -L${libdir} -lgnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@ @GLIB_LIBS@ @GTHREAD_LIBS@ | ||
11 | -Cflags: -I${includedir}/gnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@ -I${libdir}/gnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@/include/ @GLIB_CFLAGS@ @GTHREAD_CFLAGS@ | ||
12 | +Cflags: -I${includedir}/gnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@ -I${libdir}/gnet-@GNET_MAJOR_VERSION@.@GNET_MINOR_VERSION@/include/ | ||
diff --git a/meta/packages/gnet/gnet_svn.bb b/meta/packages/gnet/gnet_svn.bb deleted file mode 100644 index e9ee15531e..0000000000 --- a/meta/packages/gnet/gnet_svn.bb +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | DESCRIPTION = "GNet is a simple network library. It is written in C, object-oriented, and built upon GLib." | ||
2 | LICENSE = "LGPL" | ||
3 | SECTION = "libs/network" | ||
4 | HOMEPAGE = "http://www.gnetlibrary.org" | ||
5 | DEPENDS = "glib-2.0" | ||
6 | PV = "2.0.7+svnr${SRCREV}" | ||
7 | PR = "r1" | ||
8 | |||
9 | SRC_URI = "svn://svn.gnome.org/svn/${PN}/;module=trunk;proto=http \ | ||
10 | file://buildfix.patch;patch=1 \ | ||
11 | file://configure_fix.patch;patch=1 \ | ||
12 | file://pkgconfig_fix.patch;patch=1 " | ||
13 | |||
14 | S = "${WORKDIR}/trunk" | ||
15 | |||
16 | EXTRA_OECONF = "--disable-pthreads" | ||
17 | |||
18 | FILES_${PN}-dev += "${libdir}/gnet-2.0" | ||
19 | |||
20 | inherit autotools pkgconfig | ||
21 | |||
22 | do_stage() { | ||
23 | autotools_stage_all | ||
24 | } | ||