diff options
Diffstat (limited to 'meta-extras')
100 files changed, 0 insertions, 5629 deletions
diff --git a/meta-extras/COPYING.MIT b/meta-extras/COPYING.MIT deleted file mode 100644 index fb950dc69f..0000000000 --- a/meta-extras/COPYING.MIT +++ /dev/null @@ -1,17 +0,0 @@ -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/meta-extras/packages/bash/bash-3.2/001-005.patch b/meta-extras/packages/bash/bash-3.2/001-005.patch deleted file mode 100644 index 541d71385f..0000000000 --- a/meta-extras/packages/bash/bash-3.2/001-005.patch +++ /dev/null @@ -1,312 +0,0 @@ - -Collected upstream patches: 001 -> 005 - -Index: bash-3.2/parse.y -=================================================================== ---- bash-3.2.orig/parse.y 2006-11-27 20:09:18.000000000 +0100 -+++ bash-3.2/parse.y 2006-11-27 20:10:10.000000000 +0100 -@@ -1029,6 +1029,7 @@ - #define PST_CMDTOKEN 0x1000 /* command token OK - unused */ - #define PST_COMPASSIGN 0x2000 /* parsing x=(...) compound assignment */ - #define PST_ASSIGNOK 0x4000 /* assignment statement ok in this context */ -+#define PST_REGEXP 0x8000 /* parsing an ERE/BRE as a single word */ - - /* Initial size to allocate for tokens, and the - amount to grow them by. */ -@@ -2591,6 +2592,9 @@ - return (character); - } - -+ if (parser_state & PST_REGEXP) -+ goto tokword; -+ - /* Shell meta-characters. */ - if MBTEST(shellmeta (character) && ((parser_state & PST_DBLPAREN) == 0)) - { -@@ -2698,6 +2702,7 @@ - if MBTEST(character == '-' && (last_read_token == LESS_AND || last_read_token == GREATER_AND)) - return (character); - -+tokword: - /* Okay, if we got this far, we have to read a word. Read one, - and then check it against the known ones. */ - result = read_token_word (character); -@@ -2735,7 +2740,7 @@ - /* itrace("parse_matched_pair: open = %c close = %c", open, close); */ - count = 1; - pass_next_character = backq_backslash = was_dollar = in_comment = 0; -- check_comment = (flags & P_COMMAND) && qc != '\'' && qc != '"' && (flags & P_DQUOTE) == 0; -+ check_comment = (flags & P_COMMAND) && qc != '`' && qc != '\'' && qc != '"' && (flags & P_DQUOTE) == 0; - - /* RFLAGS is the set of flags we want to pass to recursive calls. */ - rflags = (qc == '"') ? P_DQUOTE : (flags & P_DQUOTE); -@@ -3202,8 +3207,11 @@ - if (tok == WORD && test_binop (yylval.word->word)) - op = yylval.word; - #if defined (COND_REGEXP) -- else if (tok == WORD && STREQ (yylval.word->word,"=~")) -- op = yylval.word; -+ else if (tok == WORD && STREQ (yylval.word->word, "=~")) -+ { -+ op = yylval.word; -+ parser_state |= PST_REGEXP; -+ } - #endif - else if (tok == '<' || tok == '>') - op = make_word_from_token (tok); /* ( */ -@@ -3234,6 +3242,7 @@ - - /* rhs */ - tok = read_token (READ); -+ parser_state &= ~PST_REGEXP; - if (tok == WORD) - { - tright = make_cond_node (COND_TERM, yylval.word, (COND_COM *)NULL, (COND_COM *)NULL); -@@ -3419,9 +3428,34 @@ - goto next_character; - } - -+#ifdef COND_REGEXP -+ /* When parsing a regexp as a single word inside a conditional command, -+ we need to special-case characters special to both the shell and -+ regular expressions. Right now, that is only '(' and '|'. */ /*)*/ -+ if MBTEST((parser_state & PST_REGEXP) && (character == '(' || character == '|')) /*)*/ -+ { -+ if (character == '|') -+ goto got_character; -+ -+ push_delimiter (dstack, character); -+ ttok = parse_matched_pair (cd, '(', ')', &ttoklen, 0); -+ pop_delimiter (dstack); -+ if (ttok == &matched_pair_error) -+ return -1; /* Bail immediately. */ -+ RESIZE_MALLOCED_BUFFER (token, token_index, ttoklen + 2, -+ token_buffer_size, TOKEN_DEFAULT_GROW_SIZE); -+ token[token_index++] = character; -+ strcpy (token + token_index, ttok); -+ token_index += ttoklen; -+ FREE (ttok); -+ dollar_present = all_digit_token = 0; -+ goto next_character; -+ } -+#endif /* COND_REGEXP */ -+ - #ifdef EXTENDED_GLOB - /* Parse a ksh-style extended pattern matching specification. */ -- if (extended_glob && PATTERN_CHAR (character)) -+ if MBTEST(extended_glob && PATTERN_CHAR (character)) - { - peek_char = shell_getc (1); - if MBTEST(peek_char == '(') /* ) */ -Index: bash-3.2/patchlevel.h -=================================================================== ---- bash-3.2.orig/patchlevel.h 2006-11-27 20:09:18.000000000 +0100 -+++ bash-3.2/patchlevel.h 2006-11-27 20:11:06.000000000 +0100 -@@ -25,6 +25,6 @@ - regexp `^#define[ ]*PATCHLEVEL', since that's what support/mkversion.sh - looks for to find the patch level (for the sccs version string). */ - --#define PATCHLEVEL 0 -+#define PATCHLEVEL 5 - - #endif /* _PATCHLEVEL_H_ */ -Index: bash-3.2/po/ru.po -=================================================================== ---- bash-3.2.orig/po/ru.po 2006-11-27 20:09:18.000000000 +0100 -+++ bash-3.2/po/ru.po 2006-11-27 20:10:00.000000000 +0100 -@@ -12,7 +12,7 @@ - "Last-Translator: Evgeniy Dushistov <dushistov@mail.ru>\n" - "Language-Team: Russian <ru@li.org>\n" - "MIME-Version: 1.0\n" --"Content-Type: text/plain; charset=UTF-8\n" -+"Content-Type: text/plain; charset=KOI8-R\n" - "Content-Transfer-Encoding: 8bit\n" - "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" - -Index: bash-3.2/subst.c -=================================================================== ---- bash-3.2.orig/subst.c 2006-11-27 20:09:18.000000000 +0100 -+++ bash-3.2/subst.c 2006-11-27 20:10:26.000000000 +0100 -@@ -5707,6 +5707,11 @@ - vtype &= ~VT_STARSUB; - - mflags = 0; -+ if (patsub && *patsub == '/') -+ { -+ mflags |= MATCH_GLOBREP; -+ patsub++; -+ } - - /* Malloc this because expand_string_if_necessary or one of the expansion - functions in its call chain may free it on a substitution error. */ -@@ -5741,13 +5746,12 @@ - } - - /* ksh93 doesn't allow the match specifier to be a part of the expanded -- pattern. This is an extension. */ -+ pattern. This is an extension. Make sure we don't anchor the pattern -+ at the beginning or end of the string if we're doing global replacement, -+ though. */ - p = pat; -- if (pat && pat[0] == '/') -- { -- mflags |= MATCH_GLOBREP|MATCH_ANY; -- p++; -- } -+ if (mflags & MATCH_GLOBREP) -+ mflags |= MATCH_ANY; - else if (pat && pat[0] == '#') - { - mflags |= MATCH_BEG; -Index: bash-3.2/tests/new-exp.right -=================================================================== ---- bash-3.2.orig/tests/new-exp.right 2006-11-27 20:09:18.000000000 +0100 -+++ bash-3.2/tests/new-exp.right 2006-11-27 20:10:29.000000000 +0100 -@@ -430,7 +430,7 @@ - Case06---1---A B C::--- - Case07---3---A:B:C--- - Case08---3---A:B:C--- --./new-exp.tests: line 506: /${$(($#-1))}: bad substitution -+./new-exp.tests: line 506: ${$(($#-1))}: bad substitution - argv[1] = <a> - argv[2] = <b> - argv[3] = <c> -Index: bash-3.2/builtins/printf.def -=================================================================== ---- bash-3.2.orig/builtins/printf.def 2006-11-27 20:09:18.000000000 +0100 -+++ bash-3.2/builtins/printf.def 2006-11-27 20:11:05.000000000 +0100 -@@ -49,6 +49,12 @@ - # define INT_MIN (-2147483647-1) - #endif - -+#if defined (PREFER_STDARG) -+# include <stdarg.h> -+#else -+# include <varargs.h> -+#endif -+ - #include <stdio.h> - #include <chartypes.h> - -@@ -151,6 +157,10 @@ - #define SKIP1 "#'-+ 0" - #define LENMODS "hjlLtz" - -+#ifndef HAVE_ASPRINTF -+extern int asprintf __P((char **, const char *, ...)) __attribute__((__format__ (printf, 2, 3))); -+#endif -+ - static void printf_erange __P((char *)); - static int printstr __P((char *, char *, int, int, int)); - static int tescape __P((char *, char *, int *)); -Index: bash-3.2/lib/sh/snprintf.c -=================================================================== ---- bash-3.2.orig/lib/sh/snprintf.c 2006-11-27 20:09:18.000000000 +0100 -+++ bash-3.2/lib/sh/snprintf.c 2006-11-27 20:11:06.000000000 +0100 -@@ -471,6 +471,8 @@ - 10^x ~= r - * log_10(200) = 2; - * log_10(250) = 2; -+ * -+ * NOTE: do not call this with r == 0 -- an infinite loop results. - */ - static int - log_10(r) -@@ -576,8 +578,11 @@ - { - integral_part[0] = '0'; - integral_part[1] = '\0'; -- fraction_part[0] = '0'; -- fraction_part[1] = '\0'; -+ /* The fractional part has to take the precision into account */ -+ for (ch = 0; ch < precision-1; ch++) -+ fraction_part[ch] = '0'; -+ fraction_part[ch] = '0'; -+ fraction_part[ch+1] = '\0'; - if (fract) - *fract = fraction_part; - return integral_part; -@@ -805,6 +810,7 @@ - PUT_CHAR(*tmp, p); - tmp++; - } -+ - PAD_LEFT(p); - } - -@@ -972,11 +978,21 @@ - if ((p->flags & PF_THOUSANDS) && grouping && (t = groupnum (tmp))) - tmp = t; - -+ if ((*p->pf == 'g' || *p->pf == 'G') && (p->flags & PF_ALTFORM) == 0) -+ { -+ /* smash the trailing zeros unless altform */ -+ for (i = strlen(tmp2) - 1; i >= 0 && tmp2[i] == '0'; i--) -+ tmp2[i] = '\0'; -+ if (tmp2[0] == '\0') -+ p->precision = 0; -+ } -+ - /* calculate the padding. 1 for the dot */ - p->width = p->width - - ((d > 0. && p->justify == RIGHT) ? 1:0) - - ((p->flags & PF_SPACE) ? 1:0) - -- strlen(tmp) - p->precision - 1; -+ strlen(tmp) - p->precision - -+ ((p->precision != 0 || (p->flags & PF_ALTFORM)) ? 1 : 0); /* radix char */ - PAD_RIGHT(p); - PUT_PLUS(d, p, 0.); - PUT_SPACE(d, p, 0.); -@@ -991,11 +1007,6 @@ - if (p->precision != 0 || (p->flags & PF_ALTFORM)) - PUT_CHAR(decpoint, p); /* put the '.' */ - -- if ((*p->pf == 'g' || *p->pf == 'G') && (p->flags & PF_ALTFORM) == 0) -- /* smash the trailing zeros unless altform */ -- for (i = strlen(tmp2) - 1; i >= 0 && tmp2[i] == '0'; i--) -- tmp2[i] = '\0'; -- - for (; *tmp2; tmp2++) - PUT_CHAR(*tmp2, p); /* the fraction */ - -@@ -1011,14 +1022,19 @@ - char *tmp, *tmp2; - int j, i; - -- if (chkinfnan(p, d, 1) || chkinfnan(p, d, 2)) -+ if (d != 0 && (chkinfnan(p, d, 1) || chkinfnan(p, d, 2))) - return; /* already printed nan or inf */ - - GETLOCALEDATA(decpoint, thoussep, grouping); - DEF_PREC(p); -- j = log_10(d); -- d = d / pow_10(j); /* get the Mantissa */ -- d = ROUND(d, p); -+ if (d == 0.) -+ j = 0; -+ else -+ { -+ j = log_10(d); -+ d = d / pow_10(j); /* get the Mantissa */ -+ d = ROUND(d, p); -+ } - tmp = dtoa(d, p->precision, &tmp2); - - /* 1 for unit, 1 for the '.', 1 for 'e|E', -@@ -1076,6 +1092,7 @@ - PUT_CHAR(*tmp, p); - tmp++; - } -+ - PAD_LEFT(p); - } - #endif -@@ -1358,7 +1375,7 @@ - STAR_ARGS(data); - DEF_PREC(data); - d = GETDOUBLE(data); -- i = log_10(d); -+ i = (d != 0.) ? log_10(d) : -1; - /* - * for '%g|%G' ANSI: use f if exponent - * is in the range or [-4,p] exclusively diff --git a/meta-extras/packages/bash/bash_3.2.bb b/meta-extras/packages/bash/bash_3.2.bb deleted file mode 100644 index e3d6b0560c..0000000000 --- a/meta-extras/packages/bash/bash_3.2.bb +++ /dev/null @@ -1,28 +0,0 @@ -DESCRIPTION = "An sh-compatible command language interpreter." -HOMEPAGE = "http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html" -DEPENDS = "ncurses" -SECTION = "base/shell" -LICENSE = "GPL" - -SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \ - file://001-005.patch;patch=1" - -inherit autotools gettext - -PARALLEL_MAKE = "" - -bindir = "/bin" -sbindir = "/sbin" - -EXTRA_OECONF = "--with-ncurses" -export CC_FOR_BUILD = "${BUILD_CC}" - -do_configure () { - gnu-configize - oe_runconf -} - -pkg_postinst () { - grep -q "bin/bash" ${sysconfdir}/shells || echo /bin/bash >> ${sysconfdir}/shells - grep -q "bin/sh" ${sysconfdir}/shells || echo /bin/sh >> ${sysconfdir}/shells -} diff --git a/meta-extras/packages/cdrtools/cdrtools-native_2.01.bb b/meta-extras/packages/cdrtools/cdrtools-native_2.01.bb deleted file mode 100644 index 9b148517d2..0000000000 --- a/meta-extras/packages/cdrtools/cdrtools-native_2.01.bb +++ /dev/null @@ -1,23 +0,0 @@ -# cdrtools-native OE build file -# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved -# Released under the MIT license (see packages/COPYING) - -LICENSE="GPL" -DESCRIPTION="A set of tools for CD recording, including cdrecord" -HOMEPAGE="http://cdrecord.berlios.de/old/private/cdrecord.html" - -SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/cdrtools-${PV}.tar.bz2" - -S="${WORKDIR}/cdrtools-${PV}" - -inherit native - -STAGE_TEMP="${WORKDIR}/stage_temp" - -do_stage() { - install -d ${STAGE_TEMP} - make install INS_BASE=${STAGE_TEMP} - - install -d ${STAGING_BINDIR} - install ${STAGE_TEMP}/bin/* ${STAGING_BINDIR} -} diff --git a/meta-extras/packages/dhcdbd/dhcdbd_2.0.bb b/meta-extras/packages/dhcdbd/dhcdbd_2.0.bb deleted file mode 100644 index de9e24abd5..0000000000 --- a/meta-extras/packages/dhcdbd/dhcdbd_2.0.bb +++ /dev/null @@ -1,25 +0,0 @@ -DESCRIPTION="DBus-enabled dhcp client" -SECTION="net" -LICENSE="GPL" -HOMEPAGE="http://people.redhat.com/jvdias/dhcdbd/" - -DEPENDS = "dbus" -RDEPENDS = "dhcp-client" - -PR = "r0" - -SRC_URI="http://people.redhat.com/dcantrel/dhcdbd/dhcdbd-${PV}.tar.bz2 \ - file://no-ext-options.patch;patch=1 \ - file://dhcdbd" - -do_compile() { - CC=${TARGET_SYS}-gcc DESTDIR=${prefix} make -} - -do_install() { - DESTDIR=${D} make install - install -d ${D}/etc/init.d - install -m 0755 ${WORKDIR}/dhcdbd ${D}/etc/init.d/ -} - -FILES_${PN} += "${sysconfdir} ${datadir}/dbus-1 ${base_sbindir}/*" diff --git a/meta-extras/packages/dhcdbd/files/dbus-api-fix.patch b/meta-extras/packages/dhcdbd/files/dbus-api-fix.patch deleted file mode 100644 index ce05fc7bf8..0000000000 --- a/meta-extras/packages/dhcdbd/files/dbus-api-fix.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- /tmp/dbus_service.c 2006-08-24 22:09:14.000000000 +0200 -+++ dhcdbd-1.14/dbus_service.c 2006-08-24 22:09:44.228306000 +0200 -@@ -1412,7 +1412,7 @@ - return ( cs ); - - give_up: -- dbus_connection_disconnect( connection ); -+ dbus_connection_close( connection ); - dbus_shutdown(); - return ( 0L ); - } -@@ -1456,7 +1456,7 @@ - cs->roots=0L; - - -- dbus_connection_disconnect( cs->connection ); -+ dbus_connection_close( cs->connection ); - dbus_shutdown(); - free( cs ); - } diff --git a/meta-extras/packages/dhcdbd/files/dhcdbd b/meta-extras/packages/dhcdbd/files/dhcdbd deleted file mode 100644 index 568753c28c..0000000000 --- a/meta-extras/packages/dhcdbd/files/dhcdbd +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -# -# DHCDBD startup script - -. /etc/profile - -case $1 in - 'start') - echo -n "Starting dhcdbd daemon: dhcdbd" - /sbin/dhcdbd --system - echo "." - ;; - - 'stop') - echo -n "Stopping dhcdbd: dhcdbd" - killall `ps |grep /sbin/dhcdbd | grep -v grep | cut "-d " -f2` - echo "." - ;; - - 'restart') - $0 stop - $0 start - ;; - - *) - echo "Usage: $0 { start | stop | restart }" - ;; -esac diff --git a/meta-extras/packages/dhcdbd/files/dhcdbd-1.14-pkgconfig_dbus.patch b/meta-extras/packages/dhcdbd/files/dhcdbd-1.14-pkgconfig_dbus.patch deleted file mode 100644 index c2e2151d17..0000000000 --- a/meta-extras/packages/dhcdbd/files/dhcdbd-1.14-pkgconfig_dbus.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -Naur dhcdbd-1.14/Makefile dhcdbd-1.14-mod/Makefile ---- dhcdbd-1.14/Makefile 2006-01-17 22:23:51.000000000 +0100 -+++ dhcdbd-1.14-mod/Makefile 2006-08-02 18:02:42.000000000 +0200 -@@ -7,8 +7,8 @@ - LDFLAGS ?= -g - DESTDIR ?= / - LIBDIR ?= lib --DBUS_INCLUDES ?= -I/usr/$(LIBDIR)/dbus-1.0/include -I/usr/include/dbus-1.0 --DBUS_LIBS ?= -ldbus-1 -+DBUS_INCLUDES ?= `pkg-config dbus-1 --cflags` -+DBUS_LIBS ?= `pkg-config dbus-1 --libs` - OBJS = dbus_service.o dhcdbd.o dhcp_options.o main.o - SRCS = dbus_service.c dhcdbd.c dhcp_options.c main.c - INCS = dbus_service.h dhcdbd.h dhcp_options.h includes.h -diff -Naur dhcdbd-1.14/tests/Makefile dhcdbd-1.14-mod/tests/Makefile ---- dhcdbd-1.14/tests/Makefile 2006-01-17 22:23:51.000000000 +0100 -+++ dhcdbd-1.14-mod/tests/Makefile 2006-08-02 18:11:43.000000000 +0200 -@@ -2,7 +2,7 @@ - LD = ${CC} - CFLAGS ?= -g -Wall - LDFLAGS ?= -g --DBUS_LIBS ?= -ldbus-1 -+DBUS_LIBS ?= `pkg-config dbus-1 --libs` - - all: test_dhcp_options test_dhcdbd_state test_subscriber test_subscriber_dbus test_prospective_subscriber - diff --git a/meta-extras/packages/dhcdbd/files/no-ext-options.patch b/meta-extras/packages/dhcdbd/files/no-ext-options.patch deleted file mode 100644 index 774a2cf140..0000000000 --- a/meta-extras/packages/dhcdbd/files/no-ext-options.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: dhcdbd-2.0/include/dhcdbd.h -=================================================================== ---- dhcdbd-2.0.orig/include/dhcdbd.h 2006-10-18 09:38:18.000000000 +0100 -+++ dhcdbd-2.0/include/dhcdbd.h 2006-10-18 09:38:45.000000000 +0100 -@@ -76,7 +76,7 @@ - #endif - - #ifndef DHCLIENT_EXTENDED_OPTION_ENVIRONMENT --#define DHCLIENT_EXTENDED_OPTION_ENVIRONMENT 1 -+#define DHCLIENT_EXTENDED_OPTION_ENVIRONMENT 0 - #endif - - #define DHCDBD_INTERFACE_TEXT "text" diff --git a/meta-extras/packages/dhcp/dhcp_3.0.2.bb b/meta-extras/packages/dhcp/dhcp_3.0.2.bb deleted file mode 100644 index 7fe97ed155..0000000000 --- a/meta-extras/packages/dhcp/dhcp_3.0.2.bb +++ /dev/null @@ -1,51 +0,0 @@ -SECTION = "console/network" -DESCRIPTION = "Internet Software Consortium DHCP package" -HOMEPAGE = "http://www.isc.org/" -LICENSE = "BSD" -PR = "r4" -SRC_URI = "ftp://ftp.isc.org/isc/dhcp/dhcp-3.0-history/dhcp-${PV}.tar.gz \ - file://noattrmode.patch;patch=1 \ - file://fixincludes.patch;patch=1 \ - file://dhcp-3.0.3-dhclient-dbus.patch;patch=1;pnum=0 \ - file://init-relay file://default-relay \ - file://init-server file://default-server \ - file://dhclient.conf file://dhcpd.conf" - -do_configure() { - ./configure -} - -do_compile() { - make RANLIB=${RANLIB} PREDEFINES='-D_PATH_DHCPD_DB=\"/var/lib/dhcp/dhcpd.leases\" \ - -D_PATH_DHCLIENT_DB=\"/var/lib/dhcp/dhclient.leases\" \ - -D_PATH_DHCLIENT_SCRIPT=\"/sbin/dhclient-script\" \ - -D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ - -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' -} - -do_install() { - make -e DESTDIR=${D} USRMANDIR=${mandir}/man1 ADMMANDIR=${mandir}/man8 FFMANDIR=${mandir}/man5 LIBMANDIR=${mandir}/man3 LIBDIR=${libdir} INCDIR=${includedir} install - install -d ${D}${sysconfdir}/init.d - install -d ${D}${sysconfdir}/default - install -d ${D}${sysconfdir}/dhcp - install -m 0755 ${WORKDIR}/init-relay ${D}${sysconfdir}/init.d/dhcp-relay - install -m 0644 ${WORKDIR}/default-relay ${D}${sysconfdir}/default/dhcp-relay - install -m 0755 ${WORKDIR}/init-server ${D}${sysconfdir}/init.d/dhcp-server - install -m 0644 ${WORKDIR}/default-server ${D}${sysconfdir}/default/dhcp-server - install -m 0644 ${WORKDIR}/dhclient.conf ${D}${sysconfdir}/dhcp/dhclient.conf - install -m 0644 ${WORKDIR}/dhcpd.conf ${D}${sysconfdir}/dhcp/dhcpd.conf -} - -PACKAGES += "dhcp-server dhcp-client dhcp-relay dhcp-omshell" -FILES_${PN} = "" -FILES_dhcp-server = "${sbindir}/dhcpd ${sysconfdir}/init.d/dhcp-server ${sysconfdir}/default/dhcp-server ${sysconfdir}/dhcp/dhcpd.conf" -FILES_dhcp-relay = "${sbindir}/dhcrelay ${sysconfdir}/init.d/dhcp-relay ${sysconfdir}/default/dhcp-relay" - -FILES_dhcp-client = "${base_sbindir}/dhclient ${base_sbindir}/dhclient-script ${sysconfdir}/dhcp/dhclient.conf" -RDEPENDS_dhcp-client = "bash" - -FILES_dhcp-omshell = "${bindir}/omshell" - -CONFFILES_dhcp-server_nylon = "/etc/dhcp/dhcpd.conf" -CONFFILES_dhcp-relay_nylon = "/etc/default/dhcp-relay" -CONFFILES_dhcp-client_nylon = "/etc/dhcp/dhclient.conf" diff --git a/meta-extras/packages/dhcp/files/default-relay b/meta-extras/packages/dhcp/files/default-relay deleted file mode 100644 index 59249db283..0000000000 --- a/meta-extras/packages/dhcp/files/default-relay +++ /dev/null @@ -1,12 +0,0 @@ -# Defaults for dhcp-relay initscript -# sourced by /etc/init.d/dhcp-relay - -# What servers should the DHCP relay forward requests to? -# e.g: SERVERS="192.168.0.1" -SERVERS="" - -# On what interfaces should the DHCP relay (dhrelay) serve DHCP requests? -INTERFACES="" - -# Additional options that are passed to the DHCP relay daemon? -OPTIONS=""
\ No newline at end of file diff --git a/meta-extras/packages/dhcp/files/default-server b/meta-extras/packages/dhcp/files/default-server deleted file mode 100644 index 0385d16992..0000000000 --- a/meta-extras/packages/dhcp/files/default-server +++ /dev/null @@ -1,7 +0,0 @@ -# Defaults for dhcp initscript -# sourced by /etc/init.d/dhcp-server -# installed at /etc/default/dhcp-server by the maintainer scripts - -# On what interfaces should the DHCP server (dhcpd) serve DHCP requests? -# Separate multiple interfaces with spaces, e.g. "eth0 eth1". -INTERFACES="" diff --git a/meta-extras/packages/dhcp/files/dhclient.conf b/meta-extras/packages/dhcp/files/dhclient.conf deleted file mode 100644 index 0e6dcf96c2..0000000000 --- a/meta-extras/packages/dhcp/files/dhclient.conf +++ /dev/null @@ -1,50 +0,0 @@ -# Configuration file for /sbin/dhclient, which is included in Debian's -# dhcp3-client package. -# -# This is a sample configuration file for dhclient. See dhclient.conf's -# man page for more information about the syntax of this file -# and a more comprehensive list of the parameters understood by -# dhclient. -# -# Normally, if the DHCP server provides reasonable information and does -# not leave anything out (like the domain name, for example), then -# few changes must be made to this file, if any. -# - -#send host-name "andare.fugue.com"; -#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c; -#send dhcp-lease-time 3600; -#supersede domain-name "fugue.com home.vix.com"; -#prepend domain-name-servers 127.0.0.1; -request subnet-mask, broadcast-address, time-offset, routers, - domain-name, domain-name-servers, host-name, - netbios-name-servers, netbios-scope; -#require subnet-mask, domain-name-servers; -#timeout 60; -#retry 60; -#reboot 10; -#select-timeout 5; -#initial-interval 2; -#script "/etc/dhcp3/dhclient-script"; -#media "-link0 -link1 -link2", "link0 link1"; -#reject 192.33.137.209; - -#alias { -# interface "eth0"; -# fixed-address 192.5.5.213; -# option subnet-mask 255.255.255.255; -#} - -#lease { -# interface "eth0"; -# fixed-address 192.33.137.200; -# medium "link0 link1"; -# option host-name "andare.swiftmedia.com"; -# option subnet-mask 255.255.255.0; -# option broadcast-address 192.33.137.255; -# option routers 192.33.137.250; -# option domain-name-servers 127.0.0.1; -# renew 2 2000/1/12 00:00:01; -# rebind 2 2000/1/12 00:00:01; -# expire 2 2000/1/12 00:00:01; -#} diff --git a/meta-extras/packages/dhcp/files/dhcp-3.0.3-dhclient-dbus.patch b/meta-extras/packages/dhcp/files/dhcp-3.0.3-dhclient-dbus.patch deleted file mode 100644 index 579d72f484..0000000000 --- a/meta-extras/packages/dhcp/files/dhcp-3.0.3-dhclient-dbus.patch +++ /dev/null @@ -1,84 +0,0 @@ ---- client/scripts/bsdos -+++ client/scripts/bsdos -@@ -47,6 +47,11 @@ - . /etc/dhcp/dhclient-exit-hooks - fi - # probably should do something with exit status of the local script -+ if [ x$dhc_dbus != x -a $exit_status -eq 0 ]; then -+ dbus-send --system --dest=com.redhat.dhcp \ -+ --type=method_call /com/redhat/dhcp/$interface com.redhat.dhcp.set \ -+ 'string:'"`env | grep -Ev '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`" -+ fi - exit $exit_status - } - ---- client/scripts/freebsd -+++ client/scripts/freebsd -@@ -57,6 +57,11 @@ - . /etc/dhcp/dhclient-exit-hooks - fi - # probably should do something with exit status of the local script -+ if [ x$dhc_dbus != x -a $exit_status -eq 0 ]; then -+ dbus-send --system --dest=com.redhat.dhcp \ -+ --type=method_call /com/redhat/dhcp/$interface com.redhat.dhcp.set \ -+ 'string:'"`env | grep -Ev '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`" -+ fi - exit $exit_status - } - ---- client/scripts/linux -+++ client/scripts/linux -@@ -69,6 +69,11 @@ - . /etc/dhcp/dhclient-exit-hooks - fi - # probably should do something with exit status of the local script -+ if [ x$dhc_dbus != x -a $exit_status -eq 0 ]; then -+ dbus-send --system --dest=com.redhat.dhcp \ -+ --type=method_call /com/redhat/dhcp/$interface com.redhat.dhcp.set \ -+ 'string:'"`env | grep -Ev '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`" -+ fi - exit $exit_status - } - ---- client/scripts/netbsd -+++ client/scripts/netbsd -@@ -47,6 +47,11 @@ - . /etc/dhcp/dhclient-exit-hooks - fi - # probably should do something with exit status of the local script -+ if [ x$dhc_dbus != x -a $exit_status -eq 0 ]; then -+ dbus-send --system --dest=com.redhat.dhcp \ -+ --type=method_call /com/redhat/dhcp/$interface com.redhat.dhcp.set \ -+ 'string:'"`env | grep -Ev '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`" -+ fi - exit $exit_status - } - ---- client/scripts/openbsd -+++ client/scripts/openbsd -@@ -47,6 +47,11 @@ - . /etc/dhcp/dhclient-exit-hooks - fi - # probably should do something with exit status of the local script -+ if [ x$dhc_dbus != x -a $exit_status -eq 0 ]; then -+ dbus-send --system --dest=com.redhat.dhcp \ -+ --type=method_call /com/redhat/dhcp/$interface com.redhat.dhcp.set \ -+ 'string:'"`env | grep -Ev '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`" -+ fi - exit $exit_status - } - ---- client/scripts/solaris -+++ client/scripts/solaris -@@ -47,6 +47,11 @@ - . /etc/dhcp/dhclient-exit-hooks - fi - # probably should do something with exit status of the local script -+ if [ x$dhc_dbus != x -a $exit_status -eq 0 ]; then -+ dbus-send --system --dest=com.redhat.dhcp \ -+ --type=method_call /com/redhat/dhcp/$interface com.redhat.dhcp.set \ -+ 'string:'"`env | grep -Ev '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`" -+ fi - exit $exit_status - } - diff --git a/meta-extras/packages/dhcp/files/dhcpd.conf b/meta-extras/packages/dhcp/files/dhcpd.conf deleted file mode 100644 index 0001c0f00e..0000000000 --- a/meta-extras/packages/dhcp/files/dhcpd.conf +++ /dev/null @@ -1,108 +0,0 @@ -# -# Sample configuration file for ISC dhcpd for Debian -# -# $Id: dhcpd.conf,v 1.1.1.1 2002/05/21 00:07:44 peloy Exp $ -# - -# The ddns-updates-style parameter controls whether or not the server will -# attempt to do a DNS update when a lease is confirmed. We default to the -# behavior of the version 2 packages ('none', since DHCP v2 didn't -# have support for DDNS.) -ddns-update-style none; - -# option definitions common to all supported networks... -option domain-name "example.org"; -option domain-name-servers ns1.example.org, ns2.example.org; - -default-lease-time 600; -max-lease-time 7200; - -# If this DHCP server is the official DHCP server for the local -# network, the authoritative directive should be uncommented. -#authoritative; - -# Use this to send dhcp log messages to a different log file (you also -# have to hack syslog.conf to complete the redirection). -log-facility local7; - -# No service will be given on this subnet, but declaring it helps the -# DHCP server to understand the network topology. - -#subnet 10.152.187.0 netmask 255.255.255.0 { -#} - -# This is a very basic subnet declaration. - -#subnet 10.254.239.0 netmask 255.255.255.224 { -# range 10.254.239.10 10.254.239.20; -# option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org; -#} - -# This declaration allows BOOTP clients to get dynamic addresses, -# which we don't really recommend. - -#subnet 10.254.239.32 netmask 255.255.255.224 { -# range dynamic-bootp 10.254.239.40 10.254.239.60; -# option broadcast-address 10.254.239.31; -# option routers rtr-239-32-1.example.org; -#} - -# A slightly different configuration for an internal subnet. -#subnet 10.5.5.0 netmask 255.255.255.224 { -# range 10.5.5.26 10.5.5.30; -# option domain-name-servers ns1.internal.example.org; -# option domain-name "internal.example.org"; -# option routers 10.5.5.1; -# option broadcast-address 10.5.5.31; -# default-lease-time 600; -# max-lease-time 7200; -#} - -# Hosts which require special configuration options can be listed in -# host statements. If no address is specified, the address will be -# allocated dynamically (if possible), but the host-specific information -# will still come from the host declaration. - -#host passacaglia { -# hardware ethernet 0:0:c0:5d:bd:95; -# filename "vmunix.passacaglia"; -# server-name "toccata.fugue.com"; -#} - -# Fixed IP addresses can also be specified for hosts. These addresses -# should not also be listed as being available for dynamic assignment. -# Hosts for which fixed IP addresses have been specified can boot using -# BOOTP or DHCP. Hosts for which no fixed address is specified can only -# be booted with DHCP, unless there is an address range on the subnet -# to which a BOOTP client is connected which has the dynamic-bootp flag -# set. -#host fantasia { -# hardware ethernet 08:00:07:26:c0:a5; -# fixed-address fantasia.fugue.com; -#} - -# You can declare a class of clients and then do address allocation -# based on that. The example below shows a case where all clients -# in a certain class get addresses on the 10.17.224/24 subnet, and all -# other clients get addresses on the 10.0.29/24 subnet. - -#class "foo" { -# match if substring (option vendor-class-identifier, 0, 4) = "SUNW"; -#} - -#shared-network 224-29 { -# subnet 10.17.224.0 netmask 255.255.255.0 { -# option routers rtr-224.example.org; -# } -# subnet 10.0.29.0 netmask 255.255.255.0 { -# option routers rtr-29.example.org; -# } -# pool { -# allow members of "foo"; -# range 10.17.224.10 10.17.224.250; -# } -# pool { -# deny members of "foo"; -# range 10.0.29.10 10.0.29.230; -# } -#} diff --git a/meta-extras/packages/dhcp/files/fixincludes.patch b/meta-extras/packages/dhcp/files/fixincludes.patch deleted file mode 100644 index 91d99cce22..0000000000 --- a/meta-extras/packages/dhcp/files/fixincludes.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- dhcp-3.0.2/common/tr.c~compile 2005-10-13 14:23:37.000000000 +0200 -+++ dhcp-3.0.2/common/tr.c 2005-10-13 14:23:45.000000000 +0200 -@@ -39,6 +39,7 @@ - #include "includes/netinet/udp.h" - #include "includes/netinet/if_ether.h" - #include "netinet/if_tr.h" -+#include <asm/types.h> - #include <sys/time.h> - - /* diff --git a/meta-extras/packages/dhcp/files/init-relay b/meta-extras/packages/dhcp/files/init-relay deleted file mode 100644 index 019a7e84cf..0000000000 --- a/meta-extras/packages/dhcp/files/init-relay +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh -# -# $Id: dhcp3-relay,v 1.1 2004/04/16 15:41:08 ml Exp $ -# - -# It is not safe to start if we don't have a default configuration... -if [ ! -f /etc/default/dhcp-relay ]; then - echo "/etc/default/dhcp-relay does not exist! - Aborting..." - echo "create this file to fix the problem." - exit 1 -fi - -# Read init script configuration (interfaces the daemon should listen on -# and the DHCP server we should forward requests to.) -. /etc/default/dhcp-relay - -# Build command line for interfaces (will be passed to dhrelay below.) -IFCMD="" -if test "$INTERFACES" != ""; then - for I in $INTERFACES; do - IFCMD=${IFCMD}"-i "${I}" " - done -fi - -DHCRELAYPID=/var/run/dhcrelay.pid - -case "$1" in - start) - start-stop-daemon -S -x /usr/sbin/dhcrelay -- -q $OPTIONS $IFCMD $SERVERS - ;; - stop) - start-stop-daemon -K -x /usr/sbin/dhcrelay - ;; - restart | force-reload) - $0 stop - sleep 2 - $0 start - ;; - *) - echo "Usage: /etc/init.d/dhcp-relay {start|stop|restart|force-reload}" - exit 1 -esac - -exit 0 diff --git a/meta-extras/packages/dhcp/files/init-server b/meta-extras/packages/dhcp/files/init-server deleted file mode 100644 index 34c20852b9..0000000000 --- a/meta-extras/packages/dhcp/files/init-server +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh -# -# $Id: dhcp3-server.init.d,v 1.4 2003/07/13 19:12:41 mdz Exp $ -# - -test -f /usr/sbin/dhcpd || exit 0 - -# It is not safe to start if we don't have a default configuration... -if [ ! -f /etc/default/dhcp-server ]; then - echo "/etc/default/dhcp-server does not exist! - Aborting..." - exit 0 -fi - -# Read init script configuration (so far only interfaces the daemon -# should listen on.) -. /etc/default/dhcp-server - -case "$1" in - start) - echo -n "Starting DHCP server: " - test -d /var/lib/dhcp/ || mkdir -p /var/lib/dhcp/ - test -f /var/lib/dhcp/dhcpd.leases || touch /var/lib/dhcp/dhcpd.leases - start-stop-daemon -S -x /usr/sbin/dhcpd -- -q $INTERFACES - echo "." - ;; - stop) - echo -n "Stopping DHCP server: dhcpd3" - start-stop-daemon -K -x /usr/sbin/dhcpd - echo "." - ;; - restart | force-reload) - $0 stop - sleep 2 - $0 start - if [ "$?" != "0" ]; then - exit 1 - fi - ;; - *) - echo "Usage: /etc/init.d/dhcp-server {start|stop|restart|force-reload}" - exit 1 -esac - -exit 0 diff --git a/meta-extras/packages/dhcp/files/noattrmode.patch b/meta-extras/packages/dhcp/files/noattrmode.patch deleted file mode 100644 index 5c766d6c06..0000000000 --- a/meta-extras/packages/dhcp/files/noattrmode.patch +++ /dev/null @@ -1,20 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- dhcp-3.0.1/includes/dhcpd.h~compile -+++ dhcp-3.0.1/includes/dhcpd.h -@@ -306,9 +306,9 @@ - # define EPHEMERAL_FLAGS (MS_NULL_TERMINATION | \ - UNICAST_BROADCAST_HACK) - -- binding_state_t __attribute__ ((mode (__byte__))) binding_state; -- binding_state_t __attribute__ ((mode (__byte__))) next_binding_state; -- binding_state_t __attribute__ ((mode (__byte__))) desired_binding_state; -+ binding_state_t binding_state; -+ binding_state_t next_binding_state; -+ binding_state_t desired_binding_state; - - struct lease_state *state; - diff --git a/meta-extras/packages/dosfstools/dosfstools-native_2.10.bb b/meta-extras/packages/dosfstools/dosfstools-native_2.10.bb deleted file mode 100644 index 1fbbe37c76..0000000000 --- a/meta-extras/packages/dosfstools/dosfstools-native_2.10.bb +++ /dev/null @@ -1,27 +0,0 @@ -# dosfstools-native OE build file -# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved -# Released under the MIT license (see packages/COPYING) - -require dosfstools_${PV}.bb -FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/dosfstools-${PV}" - -S="${WORKDIR}/dosfstools-${PV}" - -PR="r4" - -SRC_URI = "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}.src.tar.gz \ - file://mkdosfs-bootcode.patch;patch=1 \ - file://mkdosfs-dir.patch;patch=1 \ - file://alignment_hack.patch;patch=1 \ - file://dosfstools-2.10-kernel-2.6.patch;patch=1 \ - file://msdos_fat12_undefined.patch;patch=1 \ - file://dosfstools-msdos_fs-types.patch;patch=1 \ - file://include-linux-types.patch;patch=1 \ - file://2.6.20-syscall.patch;patch=1" - -inherit native - -do_stage() { - install -m 755 ${S}/mkdosfs/mkdosfs ${STAGING_BINDIR}/mkdosfs - install -m 755 ${S}/dosfsck/dosfsck ${STAGING_BINDIR}/dosfsck -} diff --git a/meta-extras/packages/dosfstools/dosfstools_2.10.bb b/meta-extras/packages/dosfstools/dosfstools_2.10.bb deleted file mode 100644 index 100044b75d..0000000000 --- a/meta-extras/packages/dosfstools/dosfstools_2.10.bb +++ /dev/null @@ -1,22 +0,0 @@ -# dosfstools OE build file -# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved -# Released under the MIT license (see packages/COPYING) - -DESCRIPTION = "DOS FAT Filesystem Utilities" - -SECTION = "base" -PRIORITY = "optional" -LICENSE = "GPL" - -PR = "r2" - -SRC_URI = "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}.src.tar.gz \ - file://alignment_hack.patch;patch=1 \ - file://dosfstools-2.10-kernel-2.6.patch;patch=1 \ - file://msdos_fat12_undefined.patch;patch=1 \ - file://include-linux-types.patch;patch=1" - -do_install () { - oe_runmake "PREFIX=${D}" "SBINDIR=${D}${sbindir}" \ - "MANDIR=${D}${mandir}/man8" install -} diff --git a/meta-extras/packages/dosfstools/dosfstools_2.11.bb b/meta-extras/packages/dosfstools/dosfstools_2.11.bb deleted file mode 100644 index a5f6e034dd..0000000000 --- a/meta-extras/packages/dosfstools/dosfstools_2.11.bb +++ /dev/null @@ -1,21 +0,0 @@ -# dosfstools OE build file -# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved -# Released under the MIT license (see packages/COPYING) - -DESCRIPTION = "DOS FAT Filesystem Utilities" - -SECTION = "base" -PRIORITY = "optional" -LICENSE = "GPL" - -PR = "r0" - -SRC_URI = "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}.src.tar.gz \ - file://alignment_hack.patch;patch=1 \ - file://msdos_fat12_undefined.patch;patch=1 \ - file://include-linux-types.patch;patch=1" - -do_install () { - oe_runmake "PREFIX=${D}" "SBINDIR=${D}${sbindir}" \ - "MANDIR=${D}${mandir}/man8" install -} diff --git a/meta-extras/packages/dosfstools/files/2.6.20-syscall.patch b/meta-extras/packages/dosfstools/files/2.6.20-syscall.patch deleted file mode 100644 index 7cf2662d27..0000000000 --- a/meta-extras/packages/dosfstools/files/2.6.20-syscall.patch +++ /dev/null @@ -1,65 +0,0 @@ -Index: dosfstools-2.10/dosfsck/io.c -=================================================================== ---- dosfstools-2.10.orig/dosfsck/io.c 2007-06-07 16:15:52.000000000 +0200 -+++ dosfstools-2.10/dosfsck/io.c 2007-06-07 16:16:06.000000000 +0200 -@@ -42,28 +42,11 @@ - /* Use the _llseek system call directly, because there (once?) was a bug in - * the glibc implementation of it. */ - #include <linux/unistd.h> --#if defined __alpha || defined __ia64__ || defined __s390x__ || defined __x86_64__ || defined __ppc64__ - /* On alpha, the syscall is simply lseek, because it's a 64 bit system. */ - static loff_t llseek( int fd, loff_t offset, int whence ) - { - return lseek(fd, offset, whence); - } --#else --# ifndef __NR__llseek --# error _llseek system call not present --# endif --static _syscall5( int, _llseek, uint, fd, ulong, hi, ulong, lo, -- loff_t *, res, uint, wh ); -- --static loff_t llseek( int fd, loff_t offset, int whence ) --{ -- loff_t actual; -- -- if (_llseek(fd, offset>>32, offset&0xffffffff, &actual, whence) != 0) -- return (loff_t)-1; -- return actual; --} --#endif - - - void fs_open(char *path,int rw) -Index: dosfstools-2.10/mkdosfs/mkdosfs.c -=================================================================== ---- dosfstools-2.10.orig/mkdosfs/mkdosfs.c 2007-06-07 16:15:11.000000000 +0200 -+++ dosfstools-2.10/mkdosfs/mkdosfs.c 2007-06-07 16:15:30.000000000 +0200 -@@ -116,27 +116,11 @@ - /* Use the _llseek system call directly, because there (once?) was a bug in - * the glibc implementation of it. */ - #include <linux/unistd.h> --#if defined __alpha || defined __ia64__ || defined __s390x__ || defined __x86_64__ || defined __ppc64__ - /* On alpha, the syscall is simply lseek, because it's a 64 bit system. */ - static loff_t llseek( int fd, loff_t offset, int whence ) - { - return lseek(fd, offset, whence); - } --#else --# ifndef __NR__llseek --# error _llseek system call not present --# endif --static _syscall5( int, _llseek, uint, fd, ulong, hi, ulong, lo, -- loff_t *, res, uint, wh ); --static loff_t llseek( int fd, loff_t offset, int whence ) --{ -- loff_t actual; -- -- if (_llseek(fd, offset>>32, offset&0xffffffff, &actual, whence) != 0) -- return (loff_t)-1; -- return actual; --} --#endif - - #define ROUND_UP(value, divisor) (value + (divisor - (value % divisor))) / divisor - diff --git a/meta-extras/packages/dosfstools/files/alignment_hack.patch b/meta-extras/packages/dosfstools/files/alignment_hack.patch deleted file mode 100644 index e15060a6fe..0000000000 --- a/meta-extras/packages/dosfstools/files/alignment_hack.patch +++ /dev/null @@ -1,34 +0,0 @@ -The problem is that unsigned char[2] is -guranteed to be 8Bit aligned on arm -but unsigned short is/needs to be 16bit aligned -the union { unsigned short; unsigned char[2] } trick -didn't work so no we use the alpha hack. - -memcpy into an 16bit aligned - - -zecke - - ---- dosfstools/dosfsck/boot.c.orig 2003-05-15 19:32:23.000000000 +0200 -+++ dosfstools/dosfsck/boot.c 2003-06-13 17:44:25.000000000 +0200 -@@ -36,17 +36,15 @@ - { 0xff, "5.25\" 320k floppy 2s/40tr/8sec" }, - }; - --#if defined __alpha || defined __ia64__ || defined __s390x__ || defined __x86_64__ || defined __ppc64__ -+ - /* Unaligned fields must first be copied byte-wise */ - #define GET_UNALIGNED_W(f) \ - ({ \ - unsigned short __v; \ - memcpy( &__v, &f, sizeof(__v) ); \ -- CF_LE_W( *(unsigned short *)&f ); \ -+ CF_LE_W( *(unsigned short *)&__v ); \ - }) --#else --#define GET_UNALIGNED_W(f) CF_LE_W( *(unsigned short *)&f ) --#endif -+ - - - static char *get_media_descr( unsigned char media ) diff --git a/meta-extras/packages/dosfstools/files/dosfstools-2.10-kernel-2.6.patch b/meta-extras/packages/dosfstools/files/dosfstools-2.10-kernel-2.6.patch deleted file mode 100644 index 3ecafc324b..0000000000 --- a/meta-extras/packages/dosfstools/files/dosfstools-2.10-kernel-2.6.patch +++ /dev/null @@ -1,74 +0,0 @@ -Submitted By: Jim Gifford (jim at linuxfromscratch dot org) -Date: 2004-02-09 -Initial Package Version: 2.6 -Origin: Jim Gifford -Upstream Status: Accepted -Description: Fixes Compile Issues with the 2.6 Kernel - ---- dosfstools-2.10/dosfsck/common.h.orig 2004-02-09 18:37:59.056737458 +0000 -+++ dosfstools-2.10/dosfsck/common.h 2004-02-09 18:38:18.333392952 +0000 -@@ -2,6 +2,13 @@ - - /* Written 1993 by Werner Almesberger */ - -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) -+ #define __KERNEL__ -+ #include <asm/types.h> -+ #undef __KERNEL__ -+ #define MSDOS_FAT12 4084 /* maximum number of clusters in a 12 bit FAT */ -+#endif - - #ifndef _COMMON_H - #define _COMMON_H ---- dosfstools-2.10/dosfsck/file.c.orig 2004-02-09 18:40:52.016728845 +0000 -+++ dosfstools-2.10/dosfsck/file.c 2004-02-09 18:40:03.665117865 +0000 -@@ -15,6 +15,14 @@ - #define _LINUX_STAT_H /* hack to avoid inclusion of <linux/stat.h> */ - #define _LINUX_STRING_H_ /* hack to avoid inclusion of <linux/string.h>*/ - #define _LINUX_FS_H /* hack to avoid inclusion of <linux/fs.h> */ -+ -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) -+ #define __KERNEL__ -+ #include <asm/types.h> -+ #undef __KERNEL__ -+#endif -+ - #include <linux/msdos_fs.h> - - #include "common.h" ---- dosfstools-2.10/dosfsck/dosfsck.h.orig 2004-02-09 18:57:11.022870974 +0000 -+++ dosfstools-2.10/dosfsck/dosfsck.h 2004-02-09 18:56:20.628614393 +0000 -@@ -13,6 +13,15 @@ - #define _LINUX_STAT_H /* hack to avoid inclusion of <linux/stat.h> */ - #define _LINUX_STRING_H_ /* hack to avoid inclusion of <linux/string.h>*/ - #define _LINUX_FS_H /* hack to avoid inclusion of <linux/fs.h> */ -+ -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) -+ #define __KERNEL__ -+ #include <asm/types.h> -+ #include <asm/byteorder.h> -+ #undef __KERNEL__ -+#endif -+ - #include <linux/msdos_fs.h> - - /* 2.1 kernels use le16_to_cpu() type functions for CF_LE_W & Co., but don't ---- dosfstools-2.10/mkdosfs/mkdosfs.c.orig 2004-02-09 18:31:41.997157413 +0000 -+++ dosfstools-2.10/mkdosfs/mkdosfs.c 2004-02-09 18:34:07.311945252 +0000 -@@ -66,6 +66,13 @@ - #include <time.h> - #include <errno.h> - -+#include <linux/version.h> -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) -+ #define __KERNEL__ -+ #include <asm/types.h> -+ #undef __KERNEL__ -+#endif -+ - #if __BYTE_ORDER == __BIG_ENDIAN - - #include <asm/byteorder.h> diff --git a/meta-extras/packages/dosfstools/files/dosfstools-msdos_fs-types.patch b/meta-extras/packages/dosfstools/files/dosfstools-msdos_fs-types.patch deleted file mode 100644 index e70a3ead2a..0000000000 --- a/meta-extras/packages/dosfstools/files/dosfstools-msdos_fs-types.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- dosfstools-2.10/dosfsck/dosfsck.h.org 2006-02-21 08:36:14.000000000 -0700 -+++ dosfstools-2.10/dosfsck/dosfsck.h 2006-02-21 08:40:12.000000000 -0700 -@@ -22,6 +22,14 @@ - #undef __KERNEL__ - #endif - -+#ifndef __s8 -+#include <asm/types.h> -+#endif -+ -+#ifndef __ASM_STUB_BYTEORDER_H__ -+#include <asm/byteorder.h> -+#endif -+ - #include <linux/msdos_fs.h> - - /* 2.1 kernels use le16_to_cpu() type functions for CF_LE_W & Co., but don't ---- dosfstools-2.10/dosfsck/file.c.org 2006-02-21 08:37:36.000000000 -0700 -+++ dosfstools-2.10/dosfsck/file.c 2006-02-21 08:37:47.000000000 -0700 -@@ -23,6 +23,10 @@ - #undef __KERNEL__ - #endif - -+#ifndef __s8 -+#include <asm/types.h> -+#endif -+ - #include <linux/msdos_fs.h> - - #include "common.h" diff --git a/meta-extras/packages/dosfstools/files/include-linux-types.patch b/meta-extras/packages/dosfstools/files/include-linux-types.patch deleted file mode 100644 index 4bbd4e76e4..0000000000 --- a/meta-extras/packages/dosfstools/files/include-linux-types.patch +++ /dev/null @@ -1,17 +0,0 @@ -mkdsofs is using types of the style __u8, which it gets with some -versions of libc headers via linux/hdreg.h including asm/types.h. -Newer version of fedora (at least) have a hdreg.h whichdoes not -include asm/types.h. To work around this patch mkdosfs.c to explicity -include linux/types.h which will in turn pull in asm/types.h which -defines these variables. - ---- dosfstools-2.10/mkdosfs/mkdosfs.c~ 2006-07-12 18:46:21.000000000 +1000 -+++ dosfstools-2.10/mkdosfs/mkdosfs.c 2006-07-12 18:46:21.000000000 +1000 -@@ -60,6 +60,7 @@ - #include "../version.h" - - #include <fcntl.h> -+#include <linux/types.h> - #include <linux/hdreg.h> - #include <linux/fs.h> - #include <linux/fd.h> diff --git a/meta-extras/packages/dosfstools/files/mkdosfs-bootcode.patch b/meta-extras/packages/dosfstools/files/mkdosfs-bootcode.patch deleted file mode 100644 index 52be86284b..0000000000 --- a/meta-extras/packages/dosfstools/files/mkdosfs-bootcode.patch +++ /dev/null @@ -1,240 +0,0 @@ -diff -urN dosfstools-2.10.orig/mkdosfs/ChangeLog dosfstools-2.10/mkdosfs/ChangeLog ---- dosfstools-2.10.orig/mkdosfs/ChangeLog 1997-06-18 03:09:38.000000000 -0700 -+++ dosfstools-2.10/mkdosfs/ChangeLog 2004-08-02 20:57:57.734939816 -0700 -@@ -1,3 +1,14 @@ -+19th June 2003 Sam Bingner (sam@bingner.com) -+ -+ Added option to read in bootcode from a file so that if you have -+ for example Windows 2000 boot code, you can have it write that -+ as the bootcode. This is a dump of the behinning of a partition -+ generally 512 bytes, but can be up to reserved sectors*512 bytes. -+ Also writes 0x80 as the BIOS drive number if we are formatting a -+ hard drive, and sets the number of hidden sectors to be the -+ number of sectors in one track. These were required so that DOS -+ could boot using the bootcode. -+ - 28th January 1995 H. Peter Anvin (hpa@yggdrasil.com) - - Better algorithm to select cluster sizes on large filesystems. -diff -urN dosfstools-2.10.orig/mkdosfs/mkdosfs.8 dosfstools-2.10/mkdosfs/mkdosfs.8 ---- dosfstools-2.10.orig/mkdosfs/mkdosfs.8 2003-05-15 11:28:28.000000000 -0700 -+++ dosfstools-2.10/mkdosfs/mkdosfs.8 2004-08-02 20:57:57.735939664 -0700 -@@ -40,6 +40,10 @@ - .I message-file - ] - [ -+.B \-B -+.I bootcode-file -+] -+[ - .B \-n - .I volume-name - ] -@@ -155,6 +159,18 @@ - carriage return-line feed combinations, and tabs have been expanded. - If the filename is a hyphen (-), the text is taken from standard input. - .TP -+.BI \-B " bootcode-file" -+Uses boot machine code from file "file". On any thing other than FAT32, -+this only writes the first 3 bytes, and 480 bytes from offset 3Eh. On -+FAT32, this writes the first 3 bytes, 420 bytes from offset 5Ah to both -+primary and backup boot sectors. Also writes all other reserved sectors -+excluding the sectors following boot sectors (usually sector 2 and 7). -+Does not require that the input file be as large as reserved_sectors*512. -+To make a FAT32 partition bootable, you will need at least the first -+13 sectors (6656 bytes). You can also specify a partition as the argument -+to clone the boot code from that partition. -+i.e mkdosfs -B /dev/sda1 /dev/sda1 -+.TP - .BI \-n " volume-name" - Sets the volume name (label) of the filesystem. The volume name can - be up to 11 characters long. The default is no label. -@@ -188,8 +204,9 @@ - simply will not support it ;) - .SH AUTHOR - Dave Hudson - <dave@humbug.demon.co.uk>; modified by Peter Anvin --<hpa@yggdrasil.com>. Fixes and additions by Roman Hodek --<Roman.Hodek@informatik.uni-erlangen.de> for Debian/GNU Linux. -+<hpa@yggdrasil.com> and Sam Bingner <sam@bingner.com>. Fixes and -+additions by Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de> -+for Debian/GNU Linux. - .SH ACKNOWLEDGEMENTS - .B mkdosfs - is based on code from -diff -urN dosfstools-2.10.orig/mkdosfs/mkdosfs.c dosfstools-2.10/mkdosfs/mkdosfs.c ---- dosfstools-2.10.orig/mkdosfs/mkdosfs.c 2003-06-14 13:07:08.000000000 -0700 -+++ dosfstools-2.10/mkdosfs/mkdosfs.c 2004-08-02 20:57:57.736939512 -0700 -@@ -24,6 +24,12 @@ - - New options -A, -S, -C - - Support for filesystems > 2GB - - FAT32 support -+ -+ Fixes/additions June 2003 by Sam Bingner -+ <sam@bingner.com>: -+ - Add -B option to read in bootcode from a file -+ - Write BIOS drive number so that FS can properly boot -+ - Set number of hidden sectors before boot code to be one track - - Copying: Copyright 1993, 1994 David Hudson (dave@humbug.demon.co.uk) - -@@ -167,6 +173,8 @@ - #define FAT_BAD 0x0ffffff7 - - #define MSDOS_EXT_SIGN 0x29 /* extended boot sector signature */ -+#define HD_DRIVE_NUMBER 0x80 /* Boot off first hard drive */ -+#define FD_DRIVE_NUMBER 0x00 /* Boot off first floppy drive */ - #define MSDOS_FAT12_SIGN "FAT12 " /* FAT12 filesystem signature */ - #define MSDOS_FAT16_SIGN "FAT16 " /* FAT16 filesystem signature */ - #define MSDOS_FAT32_SIGN "FAT32 " /* FAT32 filesystem signature */ -@@ -188,6 +196,8 @@ - #define BOOTCODE_SIZE 448 - #define BOOTCODE_FAT32_SIZE 420 - -+#define MAX_RESERVED 0xFFFF -+ - /* __attribute__ ((packed)) is used on all structures to make gcc ignore any - * alignments */ - -@@ -215,7 +225,7 @@ - __u16 fat_length; /* sectors/FAT */ - __u16 secs_track; /* sectors per track */ - __u16 heads; /* number of heads */ -- __u32 hidden; /* hidden sectors (unused) */ -+ __u32 hidden; /* hidden sectors (one track) */ - __u32 total_sect; /* number of sectors (if sectors == 0) */ - union { - struct { -@@ -298,6 +308,8 @@ - - /* Global variables - the root of all evil :-) - see these and weep! */ - -+static char *template_boot_code; /* Variable to store a full template boot sector in */ -+static int use_template = 0; - static char *program_name = "mkdosfs"; /* Name of the program */ - static char *device_name = NULL; /* Name of the device on which to create the filesystem */ - static int atari_format = 0; /* Use Atari variation of MS-DOS FS format */ -@@ -842,6 +854,12 @@ - vi->volume_id[2] = (unsigned char) ((volume_id & 0x00ff0000) >> 16); - vi->volume_id[3] = (unsigned char) (volume_id >> 24); - } -+ if (bs.media == 0xf8) { -+ vi->drive_number = HD_DRIVE_NUMBER; /* Set bios drive number to 80h */ -+ } -+ else { -+ vi->drive_number = FD_DRIVE_NUMBER; /* Set bios drive number to 00h */ -+ } - - if (!atari_format) { - memcpy(vi->volume_label, volume_name, 11); -@@ -886,7 +904,7 @@ - printf( "Using %d reserved sectors\n", reserved_sectors ); - bs.fats = (char) nr_fats; - if (!atari_format || size_fat == 32) -- bs.hidden = CT_LE_L(0); -+ bs.hidden = bs.secs_track; - else - /* In Atari format, hidden is a 16 bit field */ - memset( &bs.hidden, 0, 2 ); -@@ -1358,6 +1376,32 @@ - * dir area on FAT12/16, and the first cluster on FAT32. */ - writebuf( (char *) root_dir, size_root_dir, "root directory" ); - -+ if (use_template == 1) { -+ /* dupe template into reserved sectors */ -+ seekto( 0, "Start of partition" ); -+ if (size_fat == 32) { -+ writebuf( template_boot_code, 3, "backup jmpBoot" ); -+ seekto( 0x5a, "sector 1 boot area" ); -+ writebuf( template_boot_code+0x5a, 420, "sector 1 boot area" ); -+ seekto( 512*2, "third sector" ); -+ if (backup_boot != 0) { -+ writebuf( template_boot_code+512*2, backup_boot*sector_size - 512*2, "data to backup boot" ); -+ seekto( backup_boot*sector_size, "backup boot sector" ); -+ writebuf( template_boot_code, 3, "backup jmpBoot" ); -+ seekto( backup_boot*sector_size+0x5a, "backup boot sector boot area" ); -+ writebuf( template_boot_code+0x5a, 420, "backup boot sector boot area" ); -+ seekto( (backup_boot+2)*sector_size, "sector following backup code" ); -+ writebuf( template_boot_code+(backup_boot+2)*sector_size, (reserved_sectors-backup_boot-2)*512, "remaining data" ); -+ } else { -+ writebuf( template_boot_code+512*2, (reserved_sectors-2)*512, "remaining data" ); -+ } -+ } else { -+ writebuf( template_boot_code, 3, "jmpBoot" ); -+ seekto( 0x3e, "sector 1 boot area" ); -+ writebuf( template_boot_code+0x3e, 448, "boot code" ); -+ } -+ } -+ - if (info_sector) free( info_sector ); - free (root_dir); /* Free up the root directory space from setup_tables */ - free (fat); /* Free up the fat table space reserved during setup_tables */ -@@ -1371,7 +1415,7 @@ - { - fatal_error("\ - Usage: mkdosfs [-A] [-c] [-C] [-v] [-I] [-l bad-block-file] [-b backup-boot-sector]\n\ -- [-m boot-msg-file] [-n volume-name] [-i volume-id]\n\ -+ [-m boot-msg-file] [-n volume-name] [-i volume-id] [-B bootcode]\n\ - [-s sectors-per-cluster] [-S logical-sector-size] [-f number-of-FATs]\n\ - [-F fat-size] [-r root-dir-entries] [-R reserved-sectors]\n\ - /dev/name [blocks]\n"); -@@ -1433,7 +1477,7 @@ - printf ("%s " VERSION " (" VERSION_DATE ")\n", - program_name); - -- while ((c = getopt (argc, argv, "AcCf:F:Ii:l:m:n:r:R:s:S:v")) != EOF) -+ while ((c = getopt (argc, argv, "AcCf:F:Ii:l:m:n:r:R:s:S:v:B:b")) != EOF) - /* Scan the command line for options */ - switch (c) - { -@@ -1494,6 +1538,51 @@ - listfile = optarg; - break; - -+ case 'B': /* B : read in bootcode */ -+ if ( strcmp(optarg, "-") ) -+ { -+ msgfile = fopen(optarg, "r"); -+ if ( !msgfile ) -+ perror(optarg); -+ } -+ else -+ msgfile = stdin; -+ -+ if ( msgfile ) -+ { -+ if (!(template_boot_code = malloc( MAX_RESERVED ))) -+ die( "Out of memory" ); -+ /* The template boot sector including reserved must not be > 65535 */ -+ use_template = 1; -+ i = 0; -+ do -+ { -+ ch = getc(msgfile); -+ switch (ch) -+ { -+ case EOF: -+ break; -+ -+ default: -+ template_boot_code[i++] = ch; /* Store character */ -+ break; -+ } -+ } -+ while ( ch != EOF && i < MAX_RESERVED ); -+ ch = getc(msgfile); /* find out if we're at EOF */ -+ -+ /* Fill up with zeros */ -+ while( i < MAX_RESERVED ) -+ template_boot_code[i++] = '\0'; -+ -+ if ( ch != EOF ) -+ printf ("Warning: template too long; truncated after %d bytes\n", i); -+ -+ if ( msgfile != stdin ) -+ fclose(msgfile); -+ } -+ break; -+ - case 'm': /* m : Set boot message */ - if ( strcmp(optarg, "-") ) - { diff --git a/meta-extras/packages/dosfstools/files/mkdosfs-dir.patch b/meta-extras/packages/dosfstools/files/mkdosfs-dir.patch deleted file mode 100644 index 8f753b052c..0000000000 --- a/meta-extras/packages/dosfstools/files/mkdosfs-dir.patch +++ /dev/null @@ -1,634 +0,0 @@ -diff -urN dosfstools-2.10.orig/mkdosfs/mkdosfs.c dosfstools-2.10/mkdosfs/mkdosfs.c ---- dosfstools-2.10.orig/mkdosfs/mkdosfs.c 2004-08-02 20:48:45.000000000 -0700 -+++ dosfstools-2.10/mkdosfs/mkdosfs.c 2004-08-02 20:49:44.296953792 -0700 -@@ -18,6 +18,10 @@ - as a rule), and not the block. For example the boot block does not - occupy a full cluster. - -+ June 2004 - Jordan Crouse (info.linux@amd.com) -+ Added -d <directory> support to populate the image -+ Copyright (C) 2004, Advanced Micro Devices, All Rights Reserved -+ - Fixes/additions May 1998 by Roman Hodek - <Roman.Hodek@informatik.uni-erlangen.de>: - - Atari format support -@@ -71,6 +75,8 @@ - #include <unistd.h> - #include <time.h> - #include <errno.h> -+#include <libgen.h> -+#include <dirent.h> - - #if __BYTE_ORDER == __BIG_ENDIAN - -@@ -124,6 +130,8 @@ - } - #endif - -+#define ROUND_UP(value, divisor) (value + (divisor - (value % divisor))) / divisor -+ - /* Constant definitions */ - - #define TRUE 1 /* Boolean constants */ -@@ -163,7 +171,6 @@ - #define ATTR_VOLUME 8 /* volume label */ - #define ATTR_DIR 16 /* directory */ - #define ATTR_ARCH 32 /* archived */ -- - #define ATTR_NONE 0 /* no attribute bits */ - #define ATTR_UNUSED (ATTR_VOLUME | ATTR_ARCH | ATTR_SYS | ATTR_HIDDEN) - /* attribute bits that are copied "as is" */ -@@ -258,6 +265,19 @@ - __u32 reserved2[4]; - }; - -+/* This stores up to 13 chars of the name */ -+ -+struct msdos_dir_slot { -+ __u8 id; /* sequence number for slot */ -+ __u8 name0_4[10]; /* first 5 characters in name */ -+ __u8 attr; /* attribute byte */ -+ __u8 reserved; /* always 0 */ -+ __u8 alias_checksum; /* checksum for 8.3 alias */ -+ __u8 name5_10[12]; /* 6 more characters in name */ -+ __u16 start; /* starting cluster number, 0 in long slots */ -+ __u8 name11_12[4]; /* last 2 characters in name */ -+}; -+ - struct msdos_dir_entry - { - char name[8], ext[3]; /* name and extension */ -@@ -306,6 +326,15 @@ - - #define MESSAGE_OFFSET 29 /* Offset of message in above code */ - -+/* Special structure to keep track of directories as we add them for the -d option */ -+ -+struct dir_entry { -+ int root; /* Specifies if this is the root dir or not */ -+ int count; /* Number of items in the table */ -+ int entries; /* Number of entries in the table */ -+ struct msdos_dir_entry *table; /* Pointer to the entry table */ -+}; -+ - /* Global variables - the root of all evil :-) - see these and weep! */ - - static char *template_boot_code; /* Variable to store a full template boot sector in */ -@@ -339,6 +368,9 @@ - static int size_root_dir; /* Size of the root directory in bytes */ - static int sectors_per_cluster = 0; /* Number of sectors per disk cluster */ - static int root_dir_entries = 0; /* Number of root directory entries */ -+static int root_dir_num_entries = 0; -+static int last_cluster_written = 0; -+ - static char *blank_sector; /* Blank sector - all zeros */ - - -@@ -411,7 +443,6 @@ - } - } - -- - /* Mark a specified sector as having a particular value in it's FAT entry */ - - static void -@@ -1262,6 +1293,9 @@ - die ("unable to allocate space for root directory in memory"); - } - -+ -+ last_cluster_written = 2; -+ - memset(root_dir, 0, size_root_dir); - if ( memcmp(volume_name, " ", 11) ) - { -@@ -1310,11 +1344,11 @@ - } - - if (!(blank_sector = malloc( sector_size ))) -- die( "Out of memory" ); -+ die( "Out of memory" ); -+ - memset(blank_sector, 0, sector_size); - } -- -- -+ - /* Write the new filesystem's data tables to wherever they're going to end up! */ - - #define error(str) \ -@@ -1336,7 +1370,7 @@ - do { \ - int __size = (size); \ - if (write (dev, buf, __size) != __size) \ -- error ("failed whilst writing " errstr); \ -+ error ("failed whilst writing " errstr); \ - } while(0) - - -@@ -1407,6 +1441,452 @@ - free (fat); /* Free up the fat table space reserved during setup_tables */ - } - -+/* Add a file to the specified directory entry, and also write it into the image */ -+ -+static void copy_filename(char *filename, char *base, char *ext) { -+ -+ char *ch = filename; -+ int i, len; -+ -+ memset(base, 0x20, 8); -+ memset(ext, 0x20, 3); -+ -+ for(len = 0 ; *ch && *ch != '.'; ch++) { -+ base[len++] = toupper(*ch); -+ if (len == 8) break; -+ } -+ -+ for ( ; *ch && *ch != '.'; ch++); -+ if (*ch) ch++; -+ -+ for(len = 0 ; *ch; ch++) { -+ ext[len++] = toupper(*ch); -+ if (len == 3) break; -+ } -+} -+ -+/* Check for an .attrib.<filename> file, and read the attributes therein */ -+ -+/* We are going to be pretty pedantic about this. The file needs 3 -+ bytes at the beginning, the attributes are listed in this order: -+ -+ (H)idden|(S)ystem|(A)rchived -+ -+ A capital HSA means to enable it, anything else will disable it -+ (I recommend a '-') The unix user attributes will still be used -+ for write access. -+ -+ For example, to enable system file access for ldlinux.sys, write -+ the following to .attrib.ldlinux.sys: -S- -+*/ -+ -+unsigned char check_attrib_file(char *dir, char *filename) { -+ -+ char attrib[4] = { '-', '-', '-' }; -+ unsigned char *buffer = 0; -+ int ret = ATTR_NONE; -+ int fd = -1; -+ -+ buffer = (char *) calloc(1, strlen(dir) + strlen(filename) + 10); -+ if (!buffer) return ATTR_NONE; -+ -+ sprintf(buffer, "%s/.attrib.%s", dir, filename); -+ -+ if (access(buffer, R_OK)) -+ goto exit_attrib; -+ -+ if ((fd = open(buffer, O_RDONLY, 0)) < 0) -+ goto exit_attrib; -+ -+ if (read(fd, attrib, 3) < 0) -+ goto exit_attrib; -+ -+ if (attrib[0] == 'H') ret |= ATTR_HIDDEN; -+ if (attrib[1] == 'S') ret |= ATTR_SYS; -+ if (attrib[2] == 'A') ret |= ATTR_ARCH; -+ -+ printf("%s: Setting atrribute %x\n", filename, ret); -+ -+ exit_attrib: -+ if (fd >= 0) close(fd); -+ if (buffer) free(buffer); -+ -+ return ret; -+} -+ -+static void copy_name(char *buffer, int size, char **pointer) { -+ int i; -+ -+ for(i = 0; i < size; i += 2) { -+ if (*pointer) { -+ buffer[i] = **pointer; -+ buffer[i + 1] = 0x00; -+ *pointer = **pointer ? *pointer + 1 : 0; -+ } -+ else { -+ buffer[i] = 0xFF; -+ buffer[i + 1] = 0xFF; -+ } -+ } -+} -+ -+static int add_file(char *filename, struct dir_entry *dir, unsigned char attr) -+{ -+ struct stat stat; -+ struct msdos_dir_entry *entry; -+ int infile = 0; -+ int sectors, clusters; -+ struct tm *ctime; -+ int c, s; -+ int ptr; -+ char *buffer, *base; -+ int start; -+ int usedsec, totalsec; -+ -+ char name83[8], ext83[3]; -+ -+ struct msdos_dir_slot *slot; -+ int i; -+ char *p; -+ -+ /* The root directory is static, everything else grows as needed */ -+ -+ if (dir->root) { -+ if (dir->count == dir->entries) { -+ printf("Error - too many directory entries\n"); -+ } -+ } -+ else { -+ if (dir->count == dir->entries) { -+ if (!dir->table) -+ dir->table = -+ (struct msdos_dir_entry *) malloc(sizeof(struct msdos_dir_entry)); -+ else { -+ dir->table = -+ (struct msdos_dir_entry *) realloc(dir->table, (dir->entries + 1) * -+ sizeof(struct msdos_dir_entry)); -+ -+ memset(&dir->table[dir->entries], 0, sizeof(struct msdos_dir_entry)); -+ } -+ -+ dir->entries++; -+ } -+ } -+ -+ infile = open(filename, O_RDONLY, 0); -+ if (!infile) return; -+ -+ if (fstat(infile, &stat)) -+ goto exit_add; -+ -+ if (S_ISCHR(stat.st_mode) ||S_ISBLK(stat.st_mode) || -+ S_ISFIFO(stat.st_mode) || S_ISLNK(stat.st_mode)) { -+ printf("Error - cannot create a special file in a FATFS\n"); -+ goto exit_add; -+ } -+ -+ /* FIXME: This isn't very pretty */ -+ -+ usedsec = start_data_sector + (size_root_dir / sector_size) + -+ (last_cluster_written * bs.cluster_size); -+ -+ totalsec = blocks * BLOCK_SIZE / sector_size; -+ -+ /* Figure out how many sectors / clustors the file requires */ -+ -+ sectors = ROUND_UP(stat.st_size, sector_size); -+ clusters = ROUND_UP(sectors, (int) bs.cluster_size); -+ -+ if (usedsec + sectors > totalsec) { -+ printf("Error - %s is too big (%d vs %d)\n", filename, sectors, totalsec - usedsec); -+ close(infile); -+ return -1; -+ } -+ -+ printf("ADD %s\n", filename); -+ -+ /* Grab the basename of the file */ -+ base = basename(filename); -+ -+ /* Extract out the 8.3 name */ -+ copy_filename(base, name83, ext83); -+ -+ /* Make an extended name slot */ -+ -+ slot = (struct msdos_dir_slot *) &dir->table[dir->count++]; -+ slot->id = 'A'; -+ slot->attr = 0x0F; -+ slot->reserved = 0; -+ slot->start = 0; -+ -+ slot->alias_checksum = 0; -+ -+ for(i = 0; i < 8; i++) -+ slot->alias_checksum = (((slot->alias_checksum&1)<<7)|((slot->alias_checksum&0xfe)>>1)) + name83[i]; -+ -+ for(i = 0; i < 3; i++) -+ slot->alias_checksum = (((slot->alias_checksum&1)<<7)|((slot->alias_checksum&0xfe)>>1)) + ext83[i]; -+ -+ p = base; -+ -+ copy_name(slot->name0_4, 10, &p); -+ copy_name(slot->name5_10, 12, &p); -+ copy_name(slot->name11_12, 4, &p); -+ -+ -+ /* Get the entry from the root filesytem */ -+ entry = &dir->table[dir->count++]; -+ -+ strncpy(entry->name, name83, 8); -+ strncpy(entry->ext, ext83, 3); -+ -+ -+ /* If the user has it read only, then add read only to the incoming -+ attribute settings */ -+ -+ if (!(stat.st_mode & S_IWUSR)) attr |= ATTR_RO; -+ entry->attr = attr; -+ -+ /* Set the access time on the file */ -+ ctime = localtime(&create_time); -+ -+ entry->time = CT_LE_W((unsigned short)((ctime->tm_sec >> 1) + -+ (ctime->tm_min << 5) + (ctime->tm_hour << 11))); -+ -+ entry->date = CT_LE_W((unsigned short)(ctime->tm_mday + -+ ((ctime->tm_mon+1) << 5) + -+ ((ctime->tm_year-80) << 9))); -+ -+ entry->ctime_ms = 0; -+ entry->ctime = entry->time; -+ entry->cdate = entry->date; -+ entry->adate = entry->date; -+ entry->size = stat.st_size; -+ -+ start = last_cluster_written; -+ -+ entry->start = CT_LE_W(start); /* start sector */ -+ entry->starthi = CT_LE_W((start & 0xFFFF0000) >> 16); /* High start sector (for FAT32) */ -+ -+ /* We mark all of the clusters we use in the FAT */ -+ -+ for(c = 0; c < clusters; c++ ) { -+ int free; -+ int next = c == (clusters - 1) ? FAT_EOF : start + c + 1; -+ mark_FAT_cluster(start + c, next); -+ last_cluster_written++; -+ } -+ -+ /* This confused me too - cluster 2 starts after the -+ root directory data - search me as to why */ -+ -+ ptr = (start_data_sector * sector_size) + size_root_dir; -+ ptr += (start - 2) * bs.cluster_size * sector_size; -+ -+ buffer = (char *) malloc(sector_size); -+ -+ if (!buffer) { -+ printf("Error - couldn't allocate memory\n"); -+ goto exit_add; -+ } -+ -+ /* Write the file into the file block */ -+ -+ seekto(ptr, "datafile"); -+ -+ while(1) { -+ int size = read(infile, buffer, sector_size); -+ if (size <= 0) break; -+ -+ writebuf(buffer, size, "data"); -+ } -+ -+ exit_add: -+ if (infile) close(infile); -+} -+ -+/* Add a new directory to the specified directory entry, and in turn populate -+ it with its own files */ -+ -+/* FIXME: This should check to make sure there is enough size to add itself */ -+ -+static void add_directory(char *filename, struct dir_entry *dir) { -+ -+ struct dir_entry *newdir = 0; -+ struct msdos_dir_entry *entry; -+ struct tm *ctime; -+ DIR *rddir = opendir(filename); -+ struct dirent *dentry = 0; -+ int remain; -+ char *data; -+ -+ /* If the directory doesn't exist */ -+ if (!rddir) return; -+ -+ if (dir->root) { -+ if (dir->count == dir->entries) { -+ printf("Error - too many directory entries\n"); -+ goto exit_add_dir; -+ } -+ } -+ else { -+ if (dir->count == dir->entries) { -+ if (!dir->table) -+ dir->table = (struct msdos_dir_entry *) malloc(sizeof(struct msdos_dir_entry)); -+ else { -+ dir->table = (struct msdos_dir_entry *) realloc(dir->table, (dir->entries + 1) * -+ sizeof(struct msdos_dir_entry)); -+ -+ /* Zero it out to avoid issues */ -+ memset(&dir->table[dir->entries], 0, sizeof(struct msdos_dir_entry)); -+ } -+ dir->entries++; -+ } -+ } -+ -+ /* Now, create a new directory entry for the new directory */ -+ newdir = (struct dir_entry *) calloc(1, sizeof(struct dir_entry)); -+ if (!newdir) goto exit_add_dir; -+ -+ entry = &dir->table[dir->count++]; -+ -+ strncpy(entry->name, basename(filename), sizeof(entry->name)); -+ -+ entry->attr = ATTR_DIR; -+ ctime = localtime(&create_time); -+ -+ entry->time = CT_LE_W((unsigned short)((ctime->tm_sec >> 1) + -+ (ctime->tm_min << 5) + (ctime->tm_hour << 11))); -+ -+ entry->date = CT_LE_W((unsigned short)(ctime->tm_mday + -+ ((ctime->tm_mon+1) << 5) + -+ ((ctime->tm_year-80) << 9))); -+ -+ entry->ctime_ms = 0; -+ entry->ctime = entry->time; -+ entry->cdate = entry->date; -+ entry->adate = entry->date; -+ -+ /* Now, read the directory */ -+ -+ while((dentry = readdir(rddir))) { -+ struct stat st; -+ char *buffer; -+ -+ if (!strcmp(dentry->d_name, ".") || !strcmp(dentry->d_name, "..")) -+ continue; -+ -+ /* DOS wouldn't like a typical unix . (dot) file, so we skip those too */ -+ if (dentry->d_name[0] == '.') continue; -+ -+ buffer = malloc(strlen(filename) + strlen(dentry->d_name) + 3); -+ if (!buffer) continue; -+ -+ sprintf(buffer, "%s/%s", filename, dentry->d_name); -+ if (!stat(buffer, &st)) { -+ if (S_ISDIR(st.st_mode)) -+ add_directory(buffer, newdir); -+ else if (S_ISREG(st.st_mode)) { -+ unsigned char attrib = check_attrib_file(filename, dentry->d_name); -+ add_file(buffer, newdir, attrib); -+ } -+ } -+ -+ free(buffer); -+ } -+ -+ /* Now that the entire directory has been written, go ahead and write the directory -+ entry as well */ -+ -+ entry->start = CT_LE_W(last_cluster_written); -+ entry->starthi = CT_LE_W((last_cluster_written & 0xFFFF0000) >> 16); -+ entry->size = newdir->count * sizeof(struct msdos_dir_entry); -+ -+ remain = entry->size; -+ data = (char *) newdir->table; -+ -+ while(remain) { -+ int size = -+ remain > bs.cluster_size * sector_size ? bs.cluster_size * sector_size : remain; -+ -+ int pos = (start_data_sector * sector_size) + size_root_dir; -+ pos += (last_cluster_written - 2) * bs.cluster_size * sector_size; -+ -+ seekto(pos, "add_dir"); -+ writebuf(data, size, "add_dir"); -+ -+ remain -= size; -+ data += size; -+ -+ mark_FAT_cluster(last_cluster_written, remain ? last_cluster_written + 1 : FAT_EOF); -+ last_cluster_written++; -+ } -+ -+ exit_add_dir: -+ if (rddir) closedir(rddir); -+ if (newdir->table) free(newdir->table); -+ if (newdir) free(newdir); -+} -+ -+/* Given a directory, add all the files and directories to the root directory of the -+ image. -+*/ -+ -+static void add_root_directory(char *dirname) -+{ -+ DIR *dir = opendir(dirname); -+ struct dirent *entry = 0; -+ struct dir_entry *newdir = 0; -+ -+ if (!dir) { -+ printf("Error - directory %s does not exist\n", dirname); -+ return; -+ } -+ -+ /* Create the root directory structure - this is a bit different then -+ above, because the table already exists, we just refer to it. */ -+ -+ newdir = (struct dir_entry *) calloc(1,sizeof(struct dir_entry)); -+ -+ if (!newdir) { -+ closedir(dir); -+ return; -+ } -+ -+ newdir->entries = root_dir_entries; -+ newdir->root = 1; -+ newdir->count = 0; -+ newdir->table = root_dir; -+ -+ while((entry = readdir(dir))) { -+ struct stat st; -+ char *buffer; -+ -+ if (!strcmp(entry->d_name, ".") || !strcmp(entry->d_name, "..")) -+ continue; -+ -+ /* DOS wouldn't like a typical unix . (dot) file, so we skip those too */ -+ if (entry->d_name[0] == '.') continue; -+ -+ buffer = malloc(strlen(dirname) + strlen(entry->d_name) + 3); -+ if (!buffer) continue; -+ -+ sprintf(buffer, "%s/%s", dirname, entry->d_name); -+ if (!stat(buffer, &st)) { -+ if (S_ISDIR(st.st_mode)) -+ add_directory(buffer, newdir); -+ else if (S_ISREG(st.st_mode)) { -+ unsigned char attrib = check_attrib_file(dirname, entry->d_name); -+ add_file(buffer, newdir, attrib); -+ } -+ } -+ -+ free(buffer); -+ } -+ -+ closedir(dir); -+ if (newdir) free(newdir); -+} - - /* Report the command usage and return a failure error code */ - -@@ -1418,9 +1898,9 @@ - [-m boot-msg-file] [-n volume-name] [-i volume-id] [-B bootcode]\n\ - [-s sectors-per-cluster] [-S logical-sector-size] [-f number-of-FATs]\n\ - [-F fat-size] [-r root-dir-entries] [-R reserved-sectors]\n\ -- /dev/name [blocks]\n"); -+ [-d directory] /dev/name [blocks]\n"); - } -- -+ - /* - * ++roman: On m68k, check if this is an Atari; if yes, turn on Atari variant - * of MS-DOS filesystem by default. -@@ -1458,6 +1938,8 @@ - int c; - char *tmp; - char *listfile = NULL; -+ char *dirname = NULL; -+ - FILE *msgfile; - struct stat statbuf; - int i = 0, pos, ch; -@@ -1477,7 +1959,7 @@ - printf ("%s " VERSION " (" VERSION_DATE ")\n", - program_name); - -- while ((c = getopt (argc, argv, "AcCf:F:Ii:l:m:n:r:R:s:S:v:B:b")) != EOF) -+ while ((c = getopt (argc, argv, "AcCd:f:F:Ii:l:m:n:r:R:s:S:v:B:b")) != EOF) - /* Scan the command line for options */ - switch (c) - { -@@ -1502,6 +1984,10 @@ - create = TRUE; - break; - -+ case 'd': -+ dirname = optarg; -+ break; -+ - case 'f': /* f : Choose number of FATs */ - nr_fats = (int) strtol (optarg, &tmp, 0); - if (*tmp || nr_fats < 1 || nr_fats > 4) -@@ -1796,8 +2282,10 @@ - else if (listfile) - get_list_blocks (listfile); - -- write_tables (); /* Write the file system tables away! */ - -+ if (dirname) add_root_directory(dirname); -+ -+ write_tables (); /* Write the file system tables away! */ - exit (0); /* Terminate with no errors! */ - } - diff --git a/meta-extras/packages/dosfstools/files/msdos_fat12_undefined.patch b/meta-extras/packages/dosfstools/files/msdos_fat12_undefined.patch deleted file mode 100644 index 4987aa3019..0000000000 --- a/meta-extras/packages/dosfstools/files/msdos_fat12_undefined.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- dosfstools-2.10/dosfsck/boot.c.orig 2004-10-15 08:51:42.394725176 -0600 -+++ dosfstools-2.10/dosfsck/boot.c 2004-10-15 08:49:16.776862456 -0600 -@@ -14,6 +14,9 @@ - #include "io.h" - #include "boot.h" - -+#ifndef MSDOS_FAT12 -+#define MSDOS_FAT12 4084 -+#endif - - #define ROUND_TO_MULTIPLE(n,m) ((n) && (m) ? (n)+(m)-1-((n)-1)%(m) : 0) - /* don't divide by zero */ diff --git a/meta-extras/packages/evince/evince_0.9.0.bb b/meta-extras/packages/evince/evince_0.9.0.bb deleted file mode 100644 index ed5d3184a9..0000000000 --- a/meta-extras/packages/evince/evince_0.9.0.bb +++ /dev/null @@ -1,11 +0,0 @@ -DESCRIPTION = "Evince is a document viewer for document formats like PDF, PS, DjVu." -LICENSE = "GPL" -SECTION = "x11/office" -DEPENDS = "gnome-doc-utils poppler libxml2 gtk+ gnome-vfs gconf libglade gnome-keyring" - -inherit gnome pkgconfig gtk-icon-cache - -SRC_URI = "${GNOME_MIRROR}/${PN}/0.9/${PN}-${PV}.tar.bz2 \ - file://no-icon-theme.diff;patch=1;pnum=0" - -EXTRA_OECONF = "--without-libgnome --disable-thumbnailer" diff --git a/meta-extras/packages/evince/evince_svn.bb b/meta-extras/packages/evince/evince_svn.bb deleted file mode 100644 index 34bf26609a..0000000000 --- a/meta-extras/packages/evince/evince_svn.bb +++ /dev/null @@ -1,15 +0,0 @@ -DESCRIPTION = "Evince is a document viewer for document formats like PDF, PS, DjVu." -LICENSE = "GPL" -SECTION = "x11/office" -DEPENDS = "gnome-doc-utils poppler libxml2 gtk+ gnome-vfs gconf libglade gnome-keyring" - -PV = "0.9.0+svn${SRCDATE}" - -inherit gnome pkgconfig gtk-icon-cache - -SRC_URI = "svn://svn.gnome.org/svn/evince;module=trunk \ - file://no-icon-theme.diff;patch=1;pnum=0" - -S = "${WORKDIR}/trunk" - -EXTRA_OECONF = "--without-libgnome --disable-thumbnailer" diff --git a/meta-extras/packages/evince/files/no-icon-theme.diff b/meta-extras/packages/evince/files/no-icon-theme.diff deleted file mode 100644 index 7b7771ba06..0000000000 --- a/meta-extras/packages/evince/files/no-icon-theme.diff +++ /dev/null @@ -1,13 +0,0 @@ -Index: configure.ac -=================================================================== ---- configure.ac (revision 2436) -+++ configure.ac (working copy) -@@ -57,7 +57,7 @@ - PKG_CHECK_MODULES(LIB, gtk+-2.0 >= $GTK_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED) - PKG_CHECK_MODULES(BACKEND, gtk+-2.0 >= $GTK_REQUIRED gnome-vfs-2.0) - PKG_CHECK_MODULES(FRONTEND_CORE, gtk+-2.0 >= $GTK_REQUIRED libglade-2.0 gnome-vfs-2.0) --PKG_CHECK_MODULES(SHELL_CORE, libxml-2.0 >= $LIBXML_REQUIRED gtk+-2.0 >= $GTK_REQUIRED gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED gnome-vfs-2.0 libglade-2.0 gconf-2.0 gnome-keyring-1 >= $KEYRING_REQUIRED) -+PKG_CHECK_MODULES(SHELL_CORE, libxml-2.0 >= $LIBXML_REQUIRED gtk+-2.0 >= $GTK_REQUIRED gnome-vfs-2.0 libglade-2.0 gconf-2.0 gnome-keyring-1 >= $KEYRING_REQUIRED) - - AC_ARG_WITH(libgnome, - AC_HELP_STRING([--without-libgnome],[disable the use of libgnome]), diff --git a/meta-extras/packages/flumotion/flumotion/no-check-for-python-stuff.patch b/meta-extras/packages/flumotion/flumotion/no-check-for-python-stuff.patch deleted file mode 100644 index 08503c82e0..0000000000 --- a/meta-extras/packages/flumotion/flumotion/no-check-for-python-stuff.patch +++ /dev/null @@ -1,68 +0,0 @@ -Index: flumotion-0.4.1/configure.ac -=================================================================== ---- flumotion-0.4.1.orig/configure.ac 2007-03-05 17:16:48.121264330 +0100 -+++ flumotion-0.4.1/configure.ac 2007-03-05 17:20:40.343837320 +0100 -@@ -73,13 +73,6 @@ - AC_MSG_ERROR([PyGTK 2.5.2 contains known bugs, please install other version]) - fi - --if test "x$DISPLAY" != "x"; then -- AS_PYTHON_IMPORT([gtk.glade],, -- AC_MSG_ERROR([You need to have python libglade bindings installed])) --else -- AC_MSG_NOTICE([Not trying to import gtk.glade because DISPLAY is unset]) --fi -- - if test $GST_010_SUPPORTED = "no"; then - AC_MSG_ERROR([No appropriate version of PyGTK installed. Correct the above - errors and try again.]) -@@ -94,16 +87,6 @@ - [AC_MSG_RESULT([$PYGST_010_PKG_ERRORS]) - GST_010_SUPPORTED=no]) - -- if test $GST_010_SUPPORTED = "yes"; then -- saved_PYTHONPATH=$PYTHONPATH -- export PYTHONPATH=$PYGST_010_DIR:$PYTHONPATH -- AS_PYTHON_IMPORT([gst],, -- [AC_MSG_NOTICE([Unable to import gst-python 0.10 -- check your PYTHONPATH?]) -- GST_010_SUPPORTED=no], -- [import pygst; pygst.require('0.10')], -- [assert gst.pygst_version[[1]] == 10 or (gst.pygst_version[[1]] == 9 and gst.pygst_version[[2]] >= 7)]) -- -- fi - fi - - if test $GST_010_SUPPORTED = "no"; then -@@ -158,32 +141,7 @@ - AC_CHECK_PROG(PYCHECKER, pychecker, yes, no) - AM_CONDITIONAL(HAVE_PYCHECKER, test "x$PYCHECKER" = "xyes") - --dnl check for Twisted --AS_PYTHON_IMPORT(twisted, -- [ -- AC_MSG_CHECKING(for Twisted >= 2.0.1) -- prog=" --import sys --import twisted.copyright --minver = '2.0.1' --if twisted.copyright.version < minver: -- sys.exit(1) --sys.exit(0) --" -- if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC -- then -- AC_MSG_RESULT(found) -- else -- AC_MSG_RESULT(too old) -- AC_MSG_ERROR([You need at least version 2.0.1 of Twisted]) -- fi -- ] -- , -- AC_MSG_ERROR([You need at least version 2.0.1 of Twisted]) --) - --TWISTED_MODULE([twisted.names]) --TWISTED_MODULE([twisted.web]) - - AC_CONFIG_FILES([env], [chmod +x env]) - AC_CONFIG_FILES([bin/flumotion], [chmod +x bin/flumotion]) diff --git a/meta-extras/packages/flumotion/flumotion/python-path.patch b/meta-extras/packages/flumotion/flumotion/python-path.patch deleted file mode 100644 index 377994e729..0000000000 --- a/meta-extras/packages/flumotion/flumotion/python-path.patch +++ /dev/null @@ -1,25 +0,0 @@ -Index: flumotion-0.3.1/common/as-python.m4 -=================================================================== ---- flumotion-0.3.1.orig/common/as-python.m4 2007-03-02 15:26:46.704717964 +0100 -+++ flumotion-0.3.1/common/as-python.m4 2007-03-02 15:27:28.601326374 +0100 -@@ -199,6 +199,12 @@ - AC_MSG_CHECKING(for headers required to compile python extensions) - - dnl deduce PYTHON_INCLUDES -+ -+ AC_ARG_WITH(python-includes, -+ [ --with-python-includes=DIR path to Python includes], py_exec_prefix=$withval) -+ if test x$py_exec_prefix != x; then -+ PYTHON_INCLUDES="-I${py_exec_prefix}/include/python${PYTHON_VERSION}" -+ else - py_prefix=`$PYTHON -c "import sys; print sys.prefix"` - py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` - PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" -@@ -206,6 +212,7 @@ - if test "$py_prefix" != "$py_exec_prefix"; then - PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" - fi -+ fi - AC_SUBST(PYTHON_INCLUDES) - - dnl check if the headers exist: diff --git a/meta-extras/packages/flumotion/flumotion_0.4.1.bb b/meta-extras/packages/flumotion/flumotion_0.4.1.bb deleted file mode 100644 index 42474e011b..0000000000 --- a/meta-extras/packages/flumotion/flumotion_0.4.1.bb +++ /dev/null @@ -1,30 +0,0 @@ -DESCRIPTION = "Fluendo Streaming Server" -LICENSE = "GPL" -DEPENDS = "gstreamer python-gst twisted python-pygtk2" -RDEPENDS = "python-twisted-core python-twisted-web python-core python-gst" -RDEPENDS_${PN}-gui = "${PN} python-pygtk2" -PR = "r3" - -SRC_URI = "http://www.flumotion.net/src/flumotion/flumotion-${PV}.tar.bz2 \ - file://python-path.patch;patch=1 \ - file://no-check-for-python-stuff.patch;patch=1" - -inherit autotools distutils-base pkgconfig - -export EPYDOC = "no" - -EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" - -PACKAGES =+ "flumotion-gui" - -FILES_${PN} = "${bindir} ${sbindir} ${libdir}/flumotion" -FILES_${PN}-dev += "${libdir}/pkgconfig" -FILES_${PN}-gui = "${bindir}/flumotion-admin ${bindir}/flumotion-tester \ - ${libdir}/flumotion/python/flumotion/admin/gtk \ - ${libdir}/flumotion/python/flumotion/component/*/admin_gtk* \ - ${libdir}/flumotion/python/flumotion/component/*/*/admin_gtk* \ - ${libdir}/flumotion/python/flumotion/extern \ - ${libdir}/flumotion/python/flumotion/manager \ - ${libdir}/flumotion/python/flumotion/ui \ - ${libdir}/flumotion/python/flumotion/wizard \ - ${datadir}/pixmaps ${datadir}/flumotion ${datadir}/applications" diff --git a/meta-extras/packages/images/oh-image-extras.bb b/meta-extras/packages/images/oh-image-extras.bb deleted file mode 100644 index d9b879683b..0000000000 --- a/meta-extras/packages/images/oh-image-extras.bb +++ /dev/null @@ -1,9 +0,0 @@ -# -# Copyright (C) 2007 OpenedHand Ltd. -# - -IMAGE_FEATURES += "apps-core apps-pda" - -require poky-image.inc - -IMAGE_INSTALL += "task-oh-extraapps" diff --git a/meta-extras/packages/images/poky-image.inc b/meta-extras/packages/images/poky-image.inc deleted file mode 100644 index 6f1bed9760..0000000000 --- a/meta-extras/packages/images/poky-image.inc +++ /dev/null @@ -1,43 +0,0 @@ -# Common for Poky images -# -# Copyright (C) 2007 OpenedHand LTD - -# IMAGE_FEATURES control content of images built with Poky. -# -# By default we install task-oh-boot and task-oh-boot-extras packages - this -# gives us working (console only) rootfs. -# -# "apps-core", "apps-pda" and other tasks are defined in task-oh recipe and have -# to add needed packages for selected task. -# - -DISTRO_TASKS += '\ - ${@base_contains("IMAGE_FEATURES", "dbg-pkgs", "task-oh-boot-dbg task-oh-boot-extras-dbg", "",d)} \ - ${@base_contains("IMAGE_FEATURES", "dev-pkgs", "task-oh-boot-dev task-oh-boot-extras-dev", "",d)} \ - \ - ${@base_contains("IMAGE_FEATURES", "apps-core", "task-oh-base", "",d)} \ - ${@base_contains("IMAGE_FEATURES", ["apps-core", "dbg-pkgs"], "task-oh-base-dbg", "",d)} \ - ${@base_contains("IMAGE_FEATURES", ["apps-core", "dev-pkgs"], "task-oh-base-dev", "",d)} \ - \ - ${@base_contains("IMAGE_FEATURES", "apps-pda", "task-oh-standard", "",d)} \ - ${@base_contains("IMAGE_FEATURES", ["apps-pda", "dbg-pkgs"], "task-oh-standard-dbg", "",d)} \ - ${@base_contains("IMAGE_FEATURES", ["apps-pda", "dev-pkgs"], "task-oh-standard-dev", "",d)} \ - \ - ${@base_contains("IMAGE_FEATURES", "dev-tools", "task-oh-sdk", "",d)} \ - ${@base_contains("IMAGE_FEATURES", ["dev-tools", "dbg-pkgs"], "task-oh-sdk-dbg", "",d)} \ - ${@base_contains("IMAGE_FEATURES", ["dev-tools", "dev-pkgs"], "task-oh-sdk-dev", "",d)} \ - \ - ${@base_contains("IMAGE_FEATURES", "dbg-tools", "task-oh-devtools", "",d)} \ - ${@base_contains("IMAGE_FEATURES", ["dbg-tools", "dbg-pkgs"], "task-oh-devtools-dbg", "",d)} \ - ${@base_contains("IMAGE_FEATURES", ["dbg-tools", "dev-pkgs"], "task-oh-devtools-dev", "",d)} \ - \ - ${@base_contains("IMAGE_FEATURES", "test-tools", "task-oh-testapps", "",d)} \ - ${@base_contains("IMAGE_FEATURES", ["test-tools", "dbg-pkgs"], "task-oh-testapps-dbg", "",d)} \ - ${@base_contains("IMAGE_FEATURES", ["test-tools", "dev-pkgs"], "task-oh-testapps-dev", "",d)} \ - \ - ${@base_contains("IMAGE_FEATURES", "nfs-server", "task-oh-nfs-server", "",d)} \ - ' - -IMAGE_INSTALL ?= "${DISTRO_TASKS}" - -inherit image diff --git a/meta-extras/packages/iproute2/iproute2-2.6.18/iproute2-2.6.15_no_strip.diff b/meta-extras/packages/iproute2/iproute2-2.6.18/iproute2-2.6.15_no_strip.diff deleted file mode 100644 index 496506960e..0000000000 --- a/meta-extras/packages/iproute2/iproute2-2.6.18/iproute2-2.6.15_no_strip.diff +++ /dev/null @@ -1,25 +0,0 @@ ---- ip/Makefile 2006/02/23 21:22:18 1.1 -+++ ip/Makefile 2006/02/23 21:22:27 -@@ -16,7 +16,7 @@ - rtmon: $(RTMONOBJ) $(LIBNETLINK) - - install: all -- install -m 0755 -s $(TARGETS) $(DESTDIR)$(SBINDIR) -+ install -m 0755 $(TARGETS) $(DESTDIR)$(SBINDIR) - install -m 0755 $(SCRIPTS) $(DESTDIR)$(SBINDIR) - - clean: ---- tc/Makefile 2006/02/23 21:23:52 1.1 -+++ tc/Makefile 2006/02/23 21:23:57 -@@ -70,9 +70,9 @@ - - install: all - mkdir -p $(DESTDIR)/usr/lib/tc -- install -m 0755 -s tc $(DESTDIR)$(SBINDIR) -+ install -m 0755 tc $(DESTDIR)$(SBINDIR) - for i in $(TCSO); \ -- do install -m 755 -s $$i $(DESTDIR)/usr/lib/tc; \ -+ do install -m 755 $$i $(DESTDIR)/usr/lib/tc; \ - done - - clean: diff --git a/meta-extras/packages/iproute2/iproute2-2.6.18/new-flex-fix.patch b/meta-extras/packages/iproute2/iproute2-2.6.18/new-flex-fix.patch deleted file mode 100644 index 2c04087839..0000000000 --- a/meta-extras/packages/iproute2/iproute2-2.6.18/new-flex-fix.patch +++ /dev/null @@ -1,83 +0,0 @@ -The tc command was failing to build due to flex errors. These errors are -caused by an incompatible change to flex in recent versions, including the -version shipped with OE. - -This fix is as per the one used by opensure: - - http://lists.opensuse.org/opensuse-commit/2006-04/msg00090.html - -and simple renames str to prevent it conflicting. - ---- iproute2-2.6.16-060323/tc/emp_ematch.l 2006/10/30 22:46:29 1.1 -+++ iproute2-2.6.16-060323/tc/emp_ematch.l 2006/10/30 22:47:26 -@@ -63,7 +63,7 @@ - - %} - --%x str -+%x STR - - %option 8bit stack warn noyywrap prefix="ematch_" - %% -@@ -78,17 +78,17 @@ - } - strbuf_index = 0; - -- BEGIN(str); -+ BEGIN(STR); - } - --<str>\" { -+<STR>\" { - BEGIN(INITIAL); - yylval.b = bstr_new(strbuf, strbuf_index); - yylval.b->quoted = 1; - return ATTRIBUTE; - } - --<str>\\[0-7]{1,3} { /* octal escape sequence */ -+<STR>\\[0-7]{1,3} { /* octal escape sequence */ - int res; - - sscanf(yytext + 1, "%o", &res); -@@ -100,12 +100,12 @@ - strbuf_append_char((unsigned char) res); - } - --<str>\\[0-9]+ { /* catch wrong octal escape seq. */ -+<STR>\\[0-9]+ { /* catch wrong octal escape seq. */ - fprintf(stderr, "error: invalid octale escape sequence\n"); - return ERROR; - } - --<str>\\x[0-9a-fA-F]{1,2} { -+<STR>\\x[0-9a-fA-F]{1,2} { - int res; - - sscanf(yytext + 2, "%x", &res); -@@ -118,16 +118,16 @@ - strbuf_append_char((unsigned char) res); - } - --<str>\\n strbuf_append_char('\n'); --<str>\\r strbuf_append_char('\r'); --<str>\\t strbuf_append_char('\t'); --<str>\\v strbuf_append_char('\v'); --<str>\\b strbuf_append_char('\b'); --<str>\\f strbuf_append_char('\f'); --<str>\\a strbuf_append_char('\a'); -+<STR>\\n strbuf_append_char('\n'); -+<STR>\\r strbuf_append_char('\r'); -+<STR>\\t strbuf_append_char('\t'); -+<STR>\\v strbuf_append_char('\v'); -+<STR>\\b strbuf_append_char('\b'); -+<STR>\\f strbuf_append_char('\f'); -+<STR>\\a strbuf_append_char('\a'); - --<str>\\(.|\n) strbuf_append_char(yytext[1]); --<str>[^\\\n\"]+ strbuf_append_charp(yytext); -+<STR>\\(.|\n) strbuf_append_char(yytext[1]); -+<STR>[^\\\n\"]+ strbuf_append_charp(yytext); - - [aA][nN][dD] return AND; - [oO][rR] return OR; diff --git a/meta-extras/packages/iproute2/iproute2.inc b/meta-extras/packages/iproute2/iproute2.inc deleted file mode 100644 index 006b27b60f..0000000000 --- a/meta-extras/packages/iproute2/iproute2.inc +++ /dev/null @@ -1,18 +0,0 @@ -DESCRIPTION = "kernel routing and traffic control utilities" -SECTION = "base" -LICENSE = "GPL" -DEPENDS = "flex-native bison-native" - -# Set DATE in the .bb file -SRC_URI = "http://developer.osdl.org/dev/iproute2/download/${P}-${DATE}.tar.gz" - -S = "${WORKDIR}/${P}-${DATE}" - -EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_KERNEL_DIR}/include DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip' SBINDIR=/sbin" - -do_install () { - oe_runmake DESTDIR=${D} install -} - -FILES_${PN} += "/usr/lib/tc/*" -FILES_${PN}-dbg += "/usr/lib/tc/.debug" diff --git a/meta-extras/packages/iproute2/iproute2_2.6.18.bb b/meta-extras/packages/iproute2/iproute2_2.6.18.bb deleted file mode 100644 index ee3ff29550..0000000000 --- a/meta-extras/packages/iproute2/iproute2_2.6.18.bb +++ /dev/null @@ -1,8 +0,0 @@ -PR = "r0" - -SRC_URI += "file://iproute2-2.6.15_no_strip.diff;patch=1;pnum=0 \ - file://new-flex-fix.patch;patch=1" - -require iproute2.inc - -DATE = "061002" diff --git a/meta-extras/packages/libnl/files/local-includes.patch b/meta-extras/packages/libnl/files/local-includes.patch deleted file mode 100644 index 5af463004b..0000000000 --- a/meta-extras/packages/libnl/files/local-includes.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- libnl-1.0-pre6/Makefile.opts.in.orig 2006-08-24 14:57:42.000000000 +0200 -+++ libnl-1.0-pre6/Makefile.opts.in 2006-08-24 14:58:20.000000000 +0200 -@@ -10,7 +10,7 @@ - # - - CC := @CC@ --CFLAGS := @CFLAGS@ -+CFLAGS := -I./include -I. -I../include @CFLAGS@ - LDFLAGS := @LDFLAGS@ - CPPFLAGS := @CPPFLAGS@ - PACKAGE_NAME := @PACKAGE_NAME@ diff --git a/meta-extras/packages/libnl/libnl_1.0-pre6.bb b/meta-extras/packages/libnl/libnl_1.0-pre6.bb deleted file mode 100644 index 300222ca42..0000000000 --- a/meta-extras/packages/libnl/libnl_1.0-pre6.bb +++ /dev/null @@ -1,18 +0,0 @@ -DESCRIPTION = "libnl is a library for applications dealing with netlink sockets" -SECTION = "libs/network" -LICENSE = "LGPL" -HOMEPAGE = "http://people.suug.ch/~tgr/libnl/" -PRIORITY = "optional" -PV = "0.99+1.0-pre6" - -inherit autotools pkgconfig - -SRC_URI= "http://people.suug.ch/~tgr/libnl/files/${PN}-1.0-pre6.tar.gz \ - file://local-includes.patch;patch=1" - -S = "${WORKDIR}/${PN}-1.0-pre6" - -do_stage () { - autotools_stage_all prefix=${prefix} -} - diff --git a/meta-extras/packages/libol/libol_0.3.18.bb b/meta-extras/packages/libol/libol_0.3.18.bb deleted file mode 100644 index b8ad9b30ac..0000000000 --- a/meta-extras/packages/libol/libol_0.3.18.bb +++ /dev/null @@ -1,14 +0,0 @@ -PR = "r7" - -SRC_URI = "http://www.balabit.com/downloads/libol/0.3/${P}.tar.gz" - -S = "${WORKDIR}/${PN}-${PV}" - -inherit autotools binconfig - -do_stage() { - install -d ${STAGING_INCDIR}/libol - install -m 0755 ${S}/src/.libs/libol.so.0.0.0 ${STAGING_LIBDIR}/ - ln -fs ${STAGING_LIBDIR}/libol.so.0.0.0 ${STAGING_LIBDIR}/libol.so.0 - install ${S}/src/*.h ${STAGING_INCDIR}/libol/ -} diff --git a/meta-extras/packages/madplay/madplay_0.15.2b.bb b/meta-extras/packages/madplay/madplay_0.15.2b.bb deleted file mode 100644 index d942b965e2..0000000000 --- a/meta-extras/packages/madplay/madplay_0.15.2b.bb +++ /dev/null @@ -1,12 +0,0 @@ -DESCRIPTION = "Madplay is a command-line MPEG audio decoder and player" -SECTION = "console/multimedia" -DEPENDS = "libmad" -LICENSE = "GPL" -AUTHOR = "Robert Leslie <rob@mars.org>" -HOMEPAGE = "http://www.mars.org/home/rob/proj/mpeg/" - -SRC_URI = "ftp://ftp.mars.org/pub/mpeg/${PN}-${PV}.tar.gz" - -inherit autotools - -FILES_${PN} = "${bindir}/madplay" diff --git a/meta-extras/packages/maemo-mapper/files/fix_segfault.patch b/meta-extras/packages/maemo-mapper/files/fix_segfault.patch deleted file mode 100644 index 23730e8c01..0000000000 --- a/meta-extras/packages/maemo-mapper/files/fix_segfault.patch +++ /dev/null @@ -1,31 +0,0 @@ - src/maemo-mapper.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -Index: trunk/src/maemo-mapper.c -=================================================================== ---- trunk.orig/src/maemo-mapper.c 2006-11-28 15:11:49.000000000 +0000 -+++ trunk/src/maemo-mapper.c 2006-11-28 22:40:19.000000000 +0000 -@@ -140,8 +140,8 @@ - #define HILDON_HARDKEY_RIGHT GDK_Right - #define HILDON_HARDKEY_SELECT GDK_Return - #define HILDON_HARDKEY_FULLSCREEN GDK_F10 --#define HILDON_HARDKEY_INCREASE GDK_F6 --#define HILDON_HARDKEY_DECREASE GDK_F5 -+#define HILDON_HARDKEY_INCREASE GDK_plus -+#define HILDON_HARDKEY_DECREASE GDK_minus - #define HILDON_HARDKEY_ESC GDK_Escape - #define HILDON_COLOR_BUTTON GTK_COLOR_BUTTON - -@@ -3117,9 +3117,9 @@ set_conn_state(ConnState new_conn_state) - gtk_widget_destroy(_fix_banner); - _fix_banner = NULL; - } -- if(!_connect_banner) -- _connect_banner = hildon_banner_show_animation( -- _window, NULL, _("Searching for GPS receiver")); -+// if(!_connect_banner) -+// _connect_banner = hildon_banner_show_animation( -+// _window, NULL, _("Searching for GPS receiver")); - break; - case RCVR_UP: - if(_connect_banner) diff --git a/meta-extras/packages/maemo-mapper/maemo-mapper-nohildon_svn.bb b/meta-extras/packages/maemo-mapper/maemo-mapper-nohildon_svn.bb deleted file mode 100644 index ceda4ff811..0000000000 --- a/meta-extras/packages/maemo-mapper/maemo-mapper-nohildon_svn.bb +++ /dev/null @@ -1,22 +0,0 @@ -DESCRIPTION = "GPS navigation/map display software" -LICENSE = "GPL" -DEPENDS = "sqlite3 gtk+ gnome-vfs dbus bluez-libs" -RDEPENDS = "bluez-utils" -PV = "1.2.4+svn${SRCDATE}" -PR = "r1" - -# Only works with SRCDATE_maemo-mapper-nohildon = "20061114" -SRC_URI = "svn://garage.maemo.org/svn/maemo-mapper;proto=https;module=trunk \ - http://home.tal.org/%7Emilang/n770/maemo-mapper-desktop-20061114-001.patch;patch=1;pnum=0 \ - file://fix_segfault.patch;patch=1" - -S = "${WORKDIR}/trunk" - -inherit autotools pkgconfig - -do_install_append () { - install -d ${D}${datadir}/applications/ - mv ${D}/maemo-mapper.desktop ${D}${datadir}/applications/ -} - -#FILES_${PN} += "${datadir}/icons" diff --git a/meta-extras/packages/mc/mc_4.6.0.bb b/meta-extras/packages/mc/mc_4.6.0.bb deleted file mode 100644 index 6636c6747d..0000000000 --- a/meta-extras/packages/mc/mc_4.6.0.bb +++ /dev/null @@ -1,32 +0,0 @@ -DESCRIPTION = "GNU Midnight Commander is a file \ -manager for free operating systems." -HOMEPAGE = "http://www.ibiblio.org/mc/" -LICENSE = "GPLv2" -SECTION = "console/utils" -PRIORITY = "optional" -DEPENDS = "ncurses glib-2.0" -RDEPENDS = "ncurses-terminfo" - -SRC_URI = "http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/mc-${PV}.tar.gz" - -inherit autotools - -EXTRA_OECONF = "--disable-glibtest --without-x --without-samba \ ---without-nfs --without-gpm-mouse" - -do_configure() { - gnu-configize - oe_runconf -} - -do_install() { - cd src - oe_runmake 'DESTDIR=${D}' install - cd ../syntax - oe_runmake 'DESTDIR=${D}' install - cd ../po - oe_runmake 'DESTDIR=${D}' install - cd ../vfs - oe_runmake 'DESTDIR=${D}' install - cd .. -} diff --git a/meta-extras/packages/mtools/files/mtools-makeinfo.patch b/meta-extras/packages/mtools/files/mtools-makeinfo.patch deleted file mode 100644 index 35fae44aba..0000000000 --- a/meta-extras/packages/mtools/files/mtools-makeinfo.patch +++ /dev/null @@ -1,63 +0,0 @@ ---- mtools-3.9.9/configure.in.orig 2006-04-14 16:05:54.337655192 -0600 -+++ mtools-3.9.9/configure.in 2006-04-14 16:12:29.736545424 -0600 -@@ -21,6 +21,33 @@ - AC_C_CONST - AC_C_INLINE - -+AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, ) -+if test "x$MAKEINFO" = "x"; then -+ MAKEINFO="@echo makeinfo missing; true" -+fi -+AC_CHECK_PROG(TEXI2DVI, texi2dvi, texi2dvi, ) -+if test "x$TEXI2DVI" = "x"; then -+ TEXI2DVI="@echo texi2dvi missing; true" -+fi -+AC_CHECK_PROG(TEXI2PDF, texi2pdf, texi2pdf, ) -+if test "x$TEXI2PDF" = "x"; then -+ TEXI2PDF="@echo texi2pdf missing; true" -+fi -+AC_CHECK_PROG(TEXI2HTML, texi2html, texi2html, ) -+if test "x$TEXI2HTML" = "x"; then -+ TEXI2HTML="@echo texi2html missing; true" -+fi -+AC_CHECK_PROG(DVI2PS, dvi2ps, dvi2ps, ) -+if test "x$DVI2PS" = "x"; then -+ DVI2PS="@echo dvi2ps missing; true" -+fi -+ -+AC_SUBST(MAKEINFO) -+AC_SUBST(TEXI2DVI) -+AC_SUBST(TEXI2PDF) -+AC_SUBST(TEXI2HTML) -+AC_SUBST(DVI2PS) -+ - - dnl Check for configuration options - dnl Enable OS/2 extended density format disks ---- mtools-3.9.9/Makefile.in.sav 2006-04-14 15:56:19.000000000 -0600 -+++ mtools-3.9.9/Makefile.in 2006-04-14 16:15:29.315245312 -0600 -@@ -11,10 +11,11 @@ - USERLDFLAGS = - USERLDLIBS = - --MAKEINFO = makeinfo --TEXI2DVI = texi2dvi --TEXI2PDF = texi2pdf --TEXI2HTML = texi2html -+MAKEINFO = @MAKEINFO@ -+TEXI2DVI = @TEXI2DVI@ -+TEXI2PDF = @TEXI2PDF@ -+TEXI2HTML = @TEXI2HTML@ -+DVI2PS = @DVI2PS@ - - - # do not edit below this line -@@ -181,7 +182,7 @@ - - ps: mtools.ps - %.ps: %.dvi -- dvips -f < $< > $@ -+ $(DVI2PS) -f < $< > $@ - - pdf: mtools.pdf - %.pdf: %.texi diff --git a/meta-extras/packages/mtools/mtools-native_3.9.9.bb b/meta-extras/packages/mtools/mtools-native_3.9.9.bb deleted file mode 100644 index 16a0c37f7c..0000000000 --- a/meta-extras/packages/mtools/mtools-native_3.9.9.bb +++ /dev/null @@ -1,8 +0,0 @@ -# mtools-native OE build file -# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved -# Released under the MIT license (see packages/COPYING) - -require mtools_${PV}.bb -S="${WORKDIR}/mtools-${PV}" - -inherit autotools native diff --git a/meta-extras/packages/mtools/mtools_3.9.9.bb b/meta-extras/packages/mtools/mtools_3.9.9.bb deleted file mode 100644 index 90b1cf5830..0000000000 --- a/meta-extras/packages/mtools/mtools_3.9.9.bb +++ /dev/null @@ -1,14 +0,0 @@ -# mtools OE build file -# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved -# Released under the MIT license (see packages/COPYING) - -DESCRIPTION="Mtools is a collection of utilities for accessing MS-DOS disks from Unix without mounting them." -HOMEPAGE="http://mtools.linux.lu" -LICENSE="GPL" - -SRC_URI="http://mtools.linux.lu/mtools-${PV}.tar.gz \ - file://mtools-makeinfo.patch;patch=1" - -#DEPENDS = "tetex-native" - -inherit autotools diff --git a/meta-extras/packages/nasm/nasm-native_0.98.38.bb b/meta-extras/packages/nasm/nasm-native_0.98.38.bb deleted file mode 100644 index 2b3672ca83..0000000000 --- a/meta-extras/packages/nasm/nasm-native_0.98.38.bb +++ /dev/null @@ -1,4 +0,0 @@ -SECTION = "unknown" -require nasm_${PV}.bb -S = "${WORKDIR}/nasm-${PV}" -inherit native diff --git a/meta-extras/packages/nasm/nasm_0.98.38.bb b/meta-extras/packages/nasm/nasm_0.98.38.bb deleted file mode 100644 index 86e7f2b935..0000000000 --- a/meta-extras/packages/nasm/nasm_0.98.38.bb +++ /dev/null @@ -1,15 +0,0 @@ -DESCRIPTION = "General-purpose x86 assembler" -SECTION = "devel" -LICENSE = "GPL" -COMPATIBLE_HOST = '(x86_64|i.86.*)-(linux|freebsd.*)' - -SRC_URI = "${SOURCEFORGE_MIRROR}/nasm/nasm-${PV}.tar.bz2" - -inherit autotools - -do_install() { - install -d ${D}${bindir} - install -d ${D}${mandir}/man1 - - oe_runmake 'INSTALLROOT=${D}' install -} diff --git a/meta-extras/packages/networkmanager/files/99_networkmanager b/meta-extras/packages/networkmanager/files/99_networkmanager deleted file mode 100644 index 20cbcc1bca..0000000000 --- a/meta-extras/packages/networkmanager/files/99_networkmanager +++ /dev/null @@ -1 +0,0 @@ -d root root 0700 /var/run/NetworkManager none diff --git a/meta-extras/packages/networkmanager/files/NetworkManager b/meta-extras/packages/networkmanager/files/NetworkManager deleted file mode 100644 index 0beff63081..0000000000 --- a/meta-extras/packages/networkmanager/files/NetworkManager +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -# -# NetworkManager startup script - -. /etc/profile - -case $1 in - 'start') - echo -n "Starting NetworkManager daemon: NetworkManager" - /usr/sbin/NetworkManager - echo "." - ;; - - 'stop') - echo -n "Stopping NetworkManager daemon: NetworkManager" - kill `ps |grep /usr/sbin/NetworkManager | grep -v grep | cut "-d " -f2` - echo "." - ;; - - 'restart') - $0 stop - $0 start - ;; - - *) - echo "Usage: $0 { start | stop | restart }" - ;; -esac diff --git a/meta-extras/packages/networkmanager/networkmanager_svn.bb b/meta-extras/packages/networkmanager/networkmanager_svn.bb deleted file mode 100644 index a590bbfe3c..0000000000 --- a/meta-extras/packages/networkmanager/networkmanager_svn.bb +++ /dev/null @@ -1,64 +0,0 @@ -DESCRIPTION = "NetworkManager" -SECTION = "net/misc" -LICENSE = "GPL" -HOMEPAGE = "http://www.gnome.org" -PRIORITY = "optional" -DEPENDS = "libnl dbus dbus-glib hal gconf-dbus wireless-tools" -RDEPENDS = "wpa-supplicant iproute2 dhcdbd" -PV = "0.6.4+svn${SRCDATE}" - -PR = "r6" - -SRC_URI="svn://svn.gnome.org/svn/NetworkManager/branches;module=NETWORKMANAGER_0_6_0_RELEASE;proto=http \ - file://NetworkManager \ - file://99_networkmanager" - -EXTRA_OECONF = " \ - --without-gnome \ - --with-distro=debian \ - --without-gcrypt \ - --with-wpa_supplicant=/usr/sbin/wpa_supplicant \ - --with-dhcdbd=/sbin/dhcdbd \ - --with-ip=/sbin/ip" - -S = "${WORKDIR}/NETWORKMANAGER_0_6_0_RELEASE" - -inherit autotools - -do_staging () { - autotools_stage_includes - oe_libinstall -C libnm-util libnm-util ${STAGING_LIBDIR} - oe_libinstall gnome/libnm_glib libnm_glib ${STAGING_LIBDIR} -} - -do_install () { - oe_libinstall -C libnm-util libnm-util ${D}/usr/lib - oe_libinstall -C gnome/libnm_glib libnm_glib ${D}/usr/lib - - oe_runmake -C src DESTDIR="${D}" install - install -d ${D}/etc/default/volatiles - install -m 0644 ${WORKDIR}/99_networkmanager ${D}/etc/default/volatiles - install -d ${D}/etc/init.d/ - install -m 0755 ${WORKDIR}/NetworkManager ${D}/etc/init.d/ - install -d ${D}/${datadir}/ -} - -pkg_postinst () { - /etc/init.d/populate-volatile.sh update -} - -FILES_${PN} += "${datadir} \ - ${libdir}/*.so* \ - ${libdir}/*.la \ - ${sbindir} \ - ${bindir} \ - ${sysconfdir} \ - ${libexecdir}" - -FILES_${PN}-dev = "${incdir} \ - ${libdir}/*.a \ - ${libdir}/pkgconfig" - -# The networkmanager package needs to be split into app/lib/dev packages. For -# now, silence insane. -INSANE_SKIP_${PN} = "1" diff --git a/meta-extras/packages/poppler/poppler-data_0.1.bb b/meta-extras/packages/poppler/poppler-data_0.1.bb deleted file mode 100644 index ca22e4dba0..0000000000 --- a/meta-extras/packages/poppler/poppler-data_0.1.bb +++ /dev/null @@ -1,16 +0,0 @@ -DESCRIPTION = "Poppler is a PDF rendering library based on the xpdf-3.0 code base." -LICENSE = "Adobe" -PR = "r0" - -SRC_URI = "http://poppler.freedesktop.org/${PN}-${PV}.tar.gz" - -do_compile() { -} - -do_install() { - oe_runmake install DESTDIR=${D} -} - -FILES_${PN} += "${datadir}" -PACKAGE_ARCH = "all" - diff --git a/meta-extras/packages/poppler/poppler-fpu.inc b/meta-extras/packages/poppler/poppler-fpu.inc deleted file mode 100644 index a26273020a..0000000000 --- a/meta-extras/packages/poppler/poppler-fpu.inc +++ /dev/null @@ -1,6 +0,0 @@ - -def get_poppler_fpu_setting(bb, d): - if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: - return "--enable-fixedpoint" - return "" - diff --git a/meta-extras/packages/poppler/poppler.inc b/meta-extras/packages/poppler/poppler.inc deleted file mode 100644 index c33d6f0ea1..0000000000 --- a/meta-extras/packages/poppler/poppler.inc +++ /dev/null @@ -1,23 +0,0 @@ -DESCRIPTION = "Poppler is a PDF rendering library based on the xpdf-3.0 code base." -DEPENDS = "fontconfig jpeg zlib gtk+ cairo" -LICENSE = "GPL" -PR = "r1" - -SRC_URI = "http://poppler.freedesktop.org/${PN}-${PV}.tar.gz" - -inherit autotools pkgconfig - -EXTRA_OECONF = " --enable-xpdf-headers \ - --disable-gtk-test \ - --disable-poppler-qt --disable-poppler-qt4 \ - --enable-zlib \ - " - -#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points -require poppler-fpu.inc -EXTRA_OECONF += "${@get_poppler_fpu_setting(bb, d)}" - - -do_stage() { - autotools_stage_all -} diff --git a/meta-extras/packages/poppler/poppler_0.5.4.bb b/meta-extras/packages/poppler/poppler_0.5.4.bb deleted file mode 100644 index 92c25bc0ac..0000000000 --- a/meta-extras/packages/poppler/poppler_0.5.4.bb +++ /dev/null @@ -1,2 +0,0 @@ -require poppler.inc -PR = "r2" diff --git a/meta-extras/packages/python/python-2.4.4-manifest.inc b/meta-extras/packages/python/python-2.4.4-manifest.inc deleted file mode 100644 index 88755a8e9d..0000000000 --- a/meta-extras/packages/python/python-2.4.4-manifest.inc +++ /dev/null @@ -1,275 +0,0 @@ -######################################################################################################################## -### AUTO-GENERATED by '/local/pkg/oe/org.openembedded.dev/contrib/python/generate-manifest.py' [(C) 2002-2007 Michael 'Mickey' Lauer <mickey@Vanille.de>] on Mon Dec 25 00:05:05 2006 -### -### Visit THE Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy -### -### Warning: Manual edits will be lost! -### -######################################################################################################################## - - -PROVIDES+="python-profile python-threading python-distutils python-textutils python-codecs python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-resource python-devel python-math python-hotshot python-unixadmin python-tkinter python-gdbm python-fcntl python-netclient python-pprint python-netserver python-curses python-syslog python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-tests python-unittest python-stringold python-lib-old-and-deprecated python-compile python-shell python-bsddb python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio python-misc" - -PACKAGES="python-profile python-threading python-distutils python-textutils python-codecs python-pickle python-datetime python-core python-io python-compiler python-compression python-re python-xmlrpc python-terminal python-email python-image python-resource python-devel python-math python-hotshot python-unixadmin python-tkinter python-gdbm python-fcntl python-netclient python-pprint python-netserver python-curses python-syslog python-html python-readline python-subprocess python-pydoc python-logging python-mailbox python-xml python-mime python-tests python-unittest python-stringold python-lib-old-and-deprecated python-compile python-shell python-bsddb python-mmap python-zlib python-db python-crypt python-idle python-lang python-audio python-misc" - -DESCRIPTION_python-misc="Misc Python files" -FILES_python-misc="${libdir}/python2.4/" -RDEPENDS_python-misc="python-core" - -DESCRIPTION_python-profile="Python Basic Profiling Support" -PR_python-profile="ml0" -RDEPENDS_python-profile="python-core" -FILES_python-profile="${libdir}/python2.4/profile.* ${libdir}/python2.4/pstats.* " - -DESCRIPTION_python-threading="Python Threading & Synchronization Support" -PR_python-threading="ml0" -RDEPENDS_python-threading="python-core python-lang" -FILES_python-threading="${libdir}/python2.4/_threading_local.* ${libdir}/python2.4/dummy_thread.* ${libdir}/python2.4/dummy_threading.* ${libdir}/python2.4/mutex.* ${libdir}/python2.4/threading.* ${libdir}/python2.4/Queue.* " - -DESCRIPTION_python-distutils="Python Distribution Utilities" -PR_python-distutils="ml0" -RDEPENDS_python-distutils="python-core" -FILES_python-distutils="${libdir}/python2.4/config ${libdir}/python2.4/distutils " - -DESCRIPTION_python-textutils="Python Option Parsing, Text Wrapping and Comma-Separated-Value Support" -PR_python-textutils="ml0" -RDEPENDS_python-textutils="python-core python-io python-re python-stringold" -FILES_python-textutils="${libdir}/python2.4/lib-dynload/_csv.so ${libdir}/python2.4/csv.* ${libdir}/python2.4/optparse.* ${libdir}/python2.4/textwrap.* " - -DESCRIPTION_python-codecs="Python Codecs, Encodings & i18n Support" -PR_python-codecs="ml0" -RDEPENDS_python-codecs="python-core" -FILES_python-codecs="${libdir}/python2.4/codecs.* ${libdir}/python2.4/encodings ${libdir}/python2.4/gettext.* ${libdir}/python2.4/locale.* ${libdir}/python2.4/lib-dynload/_locale.so ${libdir}/python2.4/lib-dynload/unicodedata.so ${libdir}/python2.4/stringprep.* ${libdir}/python2.4/xdrlib.* " - -DESCRIPTION_python-pickle="Python Persistence Support" -PR_python-pickle="ml0" -RDEPENDS_python-pickle="python-core python-codecs python-io python-re" -FILES_python-pickle="${libdir}/python2.4/pickle.* ${libdir}/python2.4/shelve.* ${libdir}/python2.4/lib-dynload/cPickle.so " - -DESCRIPTION_python-datetime="Python Calendar and Time support" -PR_python-datetime="ml0" -RDEPENDS_python-datetime="python-core python-codecs" -FILES_python-datetime="${libdir}/python2.4/_strptime.* ${libdir}/python2.4/calendar.* ${libdir}/python2.4/lib-dynload/datetime.so " - -DESCRIPTION_python-core="Python Interpreter and core modules (needed!)" -PR_python-core="ml0" -RDEPENDS_python-core="" -FILES_python-core="/usr/lib/python2.4/__future__.* /usr/lib/python2.4/copy.* /usr/lib/python2.4/copy_reg.* /usr/lib/python2.4/ConfigParser.py /usr/lib/python2.4/getopt.* /usr/lib/python2.4/linecache.* /usr/lib/python2.4/new.* /usr/lib/python2.4/os.* /usr/lib/python2.4/posixpath.* /usr/lib/python2.4/warnings.* /usr/lib/python2.4/site.* /usr/lib/python2.4/stat.* /usr/lib/python2.4/UserDict.* /usr/lib/python2.4/UserList.* /usr/lib/python2.4/UserString.* /usr/lib/python2.4/lib-dynload/binascii.so /usr/lib/python2.4/lib-dynload/struct.so /usr/lib/python2.4/lib-dynload/time.so /usr/lib/python2.4/lib-dynload/xreadlines.so /usr/lib/python2.4/types.* /usr/bin/python " - -DESCRIPTION_python-io="Python Low-Level I/O" -PR_python-io="ml0" -RDEPENDS_python-io="python-core python-math" -FILES_python-io="${libdir}/python2.4/lib-dynload/_socket.so ${libdir}/python2.4/lib-dynload/_ssl.so ${libdir}/python2.4/lib-dynload/select.so ${libdir}/python2.4/lib-dynload/termios.so ${libdir}/python2.4/lib-dynload/cStringIO.so ${libdir}/python2.4/pipes.* ${libdir}/python2.4/socket.* ${libdir}/python2.4/tempfile.* ${libdir}/python2.4/StringIO.* " - -DESCRIPTION_python-compiler="Python Compiler Support" -PR_python-compiler="ml0" -RDEPENDS_python-compiler="python-core" -FILES_python-compiler="${libdir}/python2.4/compiler " - -DESCRIPTION_python-compression="Python High Level Compression Support" -PR_python-compression="ml0" -RDEPENDS_python-compression="python-core python-zlib" -FILES_python-compression="${libdir}/python2.4/gzip.* ${libdir}/python2.4/zipfile.* " - -DESCRIPTION_python-re="Python Regular Expression APIs" -PR_python-re="ml0" -RDEPENDS_python-re="python-core" -FILES_python-re="${libdir}/python2.4/re.* ${libdir}/python2.4/sre.* ${libdir}/python2.4/sre_compile.* ${libdir}/python2.4/sre_constants* ${libdir}/python2.4/sre_parse.* " - -DESCRIPTION_python-xmlrpc="Python XMLRPC Support" -PR_python-xmlrpc="ml0" -RDEPENDS_python-xmlrpc="python-core python-xml python-netserver python-lang" -FILES_python-xmlrpc="${libdir}/python2.4/xmlrpclib.* ${libdir}/python2.4/SimpleXMLRPCServer.* " - -DESCRIPTION_python-terminal="Python Terminal Controlling Support" -PR_python-terminal="ml0" -RDEPENDS_python-terminal="python-core python-io" -FILES_python-terminal="${libdir}/python2.4/pty.* ${libdir}/python2.4/tty.* " - -DESCRIPTION_python-email="Python Email Support" -PR_python-email="ml0" -RDEPENDS_python-email="python-core python-io python-re" -FILES_python-email="${libdir}/python2.4/email " - -DESCRIPTION_python-image="Python Graphical Image Handling" -PR_python-image="ml0" -RDEPENDS_python-image="python-core" -FILES_python-image="${libdir}/python2.4/colorsys.* ${libdir}/python2.4/imghdr.* ${libdir}/python2.4/lib-dynload/imageop.so ${libdir}/python2.4/lib-dynload/rgbimg.so " - -DESCRIPTION_python-resource="Python Resource Control Interface" -PR_python-resource="ml0" -RDEPENDS_python-resource="python-core" -FILES_python-resource="${libdir}/python2.4/lib-dynload/resource.so " - -DESCRIPTION_python-devel="Python Development Package" -PR_python-devel="ml0" -RDEPENDS_python-devel="python-core" -FILES_python-devel="/usr/include /usr/lib/python2.4/config " - -DESCRIPTION_python-math="Python Math Support" -PR_python-math="ml0" -RDEPENDS_python-math="python-core" -FILES_python-math="${libdir}/python2.4/lib-dynload/cmath.so ${libdir}/python2.4/lib-dynload/math.so ${libdir}/python2.4/lib-dynload/_random.so ${libdir}/python2.4/random.* ${libdir}/python2.4/sets.* " - -DESCRIPTION_python-hotshot="Python Hotshot Profiler" -PR_python-hotshot="ml0" -RDEPENDS_python-hotshot="python-core" -FILES_python-hotshot="${libdir}/python2.4/hotshot ${libdir}/python2.4/lib-dynload/_hotshot.so " - -DESCRIPTION_python-unixadmin="Python Unix Administration Support" -PR_python-unixadmin="ml0" -RDEPENDS_python-unixadmin="python-core" -FILES_python-unixadmin="${libdir}/python2.4/lib-dynload/nis.so ${libdir}/python2.4/lib-dynload/grp.so ${libdir}/python2.4/lib-dynload/pwd.so ${libdir}/python2.4/getpass.* " - -DESCRIPTION_python-tkinter="Python Tcl/Tk Bindings" -PR_python-tkinter="ml0" -RDEPENDS_python-tkinter="python-core" -FILES_python-tkinter="${libdir}/python2.4/lib-dynload/_tkinter.so ${libdir}/python2.4/lib-tk " - -DESCRIPTION_python-gdbm="Python GNU Database Support" -PR_python-gdbm="ml0" -RDEPENDS_python-gdbm="python-core" -FILES_python-gdbm="${libdir}/python2.4/lib-dynload/gdbm.so " - -DESCRIPTION_python-fcntl="Python's fcntl Interface" -PR_python-fcntl="ml0" -RDEPENDS_python-fcntl="python-core" -FILES_python-fcntl="${libdir}/python2.4/lib-dynload/fcntl.so " - -DESCRIPTION_python-netclient="Python Internet Protocol Clients" -PR_python-netclient="ml0" -RDEPENDS_python-netclient="python-core python-datetime python-io python-lang python-logging python-mime" -FILES_python-netclient="${libdir}/python2.4/*Cookie*.* ${libdir}/python2.4/base64.* ${libdir}/python2.4/cookielib.* ${libdir}/python2.4/ftplib.* ${libdir}/python2.4/gopherlib.* ${libdir}/python2.4/hmac.* ${libdir}/python2.4/httplib.* ${libdir}/python2.4/mimetypes.* ${libdir}/python2.4/nntplib.* ${libdir}/python2.4/poplib.* ${libdir}/python2.4/smtplib.* ${libdir}/python2.4/telnetlib.* ${libdir}/python2.4/urllib.* ${libdir}/python2.4/urllib2.* ${libdir}/python2.4/urlparse.* " - -DESCRIPTION_python-pprint="Python Pretty-Print Support" -PR_python-pprint="ml0" -RDEPENDS_python-pprint="python-core" -FILES_python-pprint="${libdir}/python2.4/pprint.* " - -DESCRIPTION_python-netserver="Python Internet Protocol Servers" -PR_python-netserver="ml0" -RDEPENDS_python-netserver="python-core python-netclient" -FILES_python-netserver="${libdir}/python2.4/cgi.* ${libdir}/python2.4/BaseHTTPServer.* ${libdir}/python2.4/SimpleHTTPServer.* ${libdir}/python2.4/SocketServer.* " - -DESCRIPTION_python-curses="Python Curses Support" -PR_python-curses="ml0" -RDEPENDS_python-curses="python-core" -FILES_python-curses="${libdir}/python2.4/curses ${libdir}/python2.4/lib-dynload/_curses.so ${libdir}/python2.4/lib-dynload/_curses_panel.so " - -DESCRIPTION_python-syslog="Python's syslog Interface" -PR_python-syslog="ml0" -RDEPENDS_python-syslog="python-core" -FILES_python-syslog="${libdir}/python2.4/lib-dynload/syslog.so " - -DESCRIPTION_python-html="Python HTML Processing" -PR_python-html="ml0" -RDEPENDS_python-html="python-core" -FILES_python-html="${libdir}/python2.4/formatter.* ${libdir}/python2.4/htmlentitydefs.* ${libdir}/python2.4/htmllib.* ${libdir}/python2.4/markupbase.* ${libdir}/python2.4/sgmllib.* " - -DESCRIPTION_python-readline="Python Readline Support" -PR_python-readline="ml0" -RDEPENDS_python-readline="python-core" -FILES_python-readline="${libdir}/python2.4/lib-dynload/readline.so ${libdir}/python2.4/rlcompleter.* " - -DESCRIPTION_python-subprocess="Python Subprocess Support" -PR_python-subprocess="ml0" -RDEPENDS_python-subprocess="python-core python-io python-re" -FILES_python-subprocess="${libdir}/python2.4/subprocess.* " - -DESCRIPTION_python-pydoc="Python Interactive Help Support" -PR_python-pydoc="ml0" -RDEPENDS_python-pydoc="python-core python-lang python-stringold python-re" -FILES_python-pydoc="/usr/bin/pydoc /usr/lib/python2.4/pydoc.* " - -DESCRIPTION_python-logging="Python Logging Support" -PR_python-logging="ml0" -RDEPENDS_python-logging="python-core" -FILES_python-logging="${libdir}/python2.4/logging " - -DESCRIPTION_python-mailbox="Python Mailbox Format Support" -PR_python-mailbox="ml0" -RDEPENDS_python-mailbox="python-core python-mime" -FILES_python-mailbox="${libdir}/python2.4/mailbox.* " - -DESCRIPTION_python-xml="Python basic XML support." -PR_python-xml="ml0" -RDEPENDS_python-xml="python-core python-re" -FILES_python-xml="${libdir}/python2.4/lib-dynload/pyexpat.so ${libdir}/python2.4/xml ${libdir}/python2.4/xmllib.* " - -DESCRIPTION_python-mime="Python MIME Handling APIs" -PR_python-mime="ml0" -RDEPENDS_python-mime="python-core python-io" -FILES_python-mime="${libdir}/python2.4/mimetools.* ${libdir}/python2.4/quopri.* ${libdir}/python2.4/rfc822.* " - -DESCRIPTION_python-tests="Python Tests" -PR_python-tests="ml0" -RDEPENDS_python-tests="python-core" -FILES_python-tests="${libdir}/python2.4/test " - -DESCRIPTION_python-unittest="Python Unit Testing Framework" -PR_python-unittest="ml0" -RDEPENDS_python-unittest="python-core python-stringold python-lang" -FILES_python-unittest="${libdir}/python2.4/unittest.* " - -DESCRIPTION_python-stringold="Python String APIs [deprecated]" -PR_python-stringold="ml0" -RDEPENDS_python-stringold="python-core python-re" -FILES_python-stringold="${libdir}/python2.4/lib-dynload/strop.so ${libdir}/python2.4/string.* " - -DESCRIPTION_python-lib-old-and-deprecated="Python Deprecated Libraries" -PR_python-lib-old-and-deprecated="ml0" -RDEPENDS_python-lib-old-and-deprecated="python-core" -FILES_python-lib-old-and-deprecated="${libdir}/python2.4/lib-old " - -DESCRIPTION_python-compile="Python Bytecode Compilation Support" -PR_python-compile="ml0" -RDEPENDS_python-compile="python-core" -FILES_python-compile="${libdir}/python2.4/py_compile.* ${libdir}/python2.4/compileall.* " - -DESCRIPTION_python-shell="Python Shell-Like Functionality" -PR_python-shell="ml0" -RDEPENDS_python-shell="python-core python-re" -FILES_python-shell="${libdir}/python2.4/commands.* ${libdir}/python2.4/dircache.* ${libdir}/python2.4/fnmatch.* ${libdir}/python2.4/glob.* ${libdir}/python2.4/popen2.* ${libdir}/python2.4/shutil.* " - -DESCRIPTION_python-bsddb="Python Berkeley Database Bindings" -PR_python-bsddb="ml0" -RDEPENDS_python-bsddb="python-core" -FILES_python-bsddb="${libdir}/python2.4/bsddb " - -DESCRIPTION_python-mmap="Python Memory-Mapped-File Support" -PR_python-mmap="ml0" -RDEPENDS_python-mmap="python-core python-io" -FILES_python-mmap="${libdir}/python2.4/lib-dynload/mmap.so " - -DESCRIPTION_python-zlib="Python zlib Support." -PR_python-zlib="ml0" -RDEPENDS_python-zlib="python-core" -FILES_python-zlib="${libdir}/python2.4/lib-dynload/zlib.so " - -DESCRIPTION_python-db="Python File-Based Database Support" -PR_python-db="ml0" -RDEPENDS_python-db="python-core" -FILES_python-db="${libdir}/python2.4/anydbm.* ${libdir}/python2.4/dumbdbm.* ${libdir}/python2.4/whichdb.* " - -DESCRIPTION_python-crypt="Python Basic Cryptographic and Hashing Support" -PR_python-crypt="ml0" -RDEPENDS_python-crypt="python-core" -FILES_python-crypt="${libdir}/python2.4/lib-dynload/crypt.so ${libdir}/python2.4/lib-dynload/md5.so ${libdir}/python2.4/lib-dynload/rotor.so ${libdir}/python2.4/lib-dynload/sha.so " - -DESCRIPTION_python-idle="Python Integrated Development Environment" -PR_python-idle="ml0" -RDEPENDS_python-idle="python-core python-tkinter" -FILES_python-idle="/usr/bin/idle /usr/lib/python2.4/idlelib " - -DESCRIPTION_python-lang="Python Low-Level Language Support" -PR_python-lang="ml0" -RDEPENDS_python-lang="python-core" -FILES_python-lang="${libdir}/python2.4/lib-dynload/array.so ${libdir}/python2.4/lib-dynload/parser.so ${libdir}/python2.4/lib-dynload/operator.so ${libdir}/python2.4/lib-dynload/_weakref.so ${libdir}/python2.4/lib-dynload/itertools.so ${libdir}/python2.4/lib-dynload/collections.so ${libdir}/python2.4/lib-dynload/_bisect.so ${libdir}/python2.4/lib-dynload/_heapq.so ${libdir}/python2.4/atexit.* ${libdir}/python2.4/bisect.* ${libdir}/python2.4/code.* ${libdir}/python2.4/codeop.* ${libdir}/python2.4/dis.* ${libdir}/python2.4/heapq.* ${libdir}/python2.4/inspect.* ${libdir}/python2.4/keyword.* ${libdir}/python2.4/opcode.* ${libdir}/python2.4/repr.* ${libdir}/python2.4/token.* ${libdir}/python2.4/tokenize.* ${libdir}/python2.4/traceback.* ${libdir}/python2.4/linecache.* ${libdir}/python2.4/weakref.* " - -DESCRIPTION_python-audio="Python Audio Handling" -PR_python-audio="ml0" -RDEPENDS_python-audio="python-core" -FILES_python-audio="${libdir}/python2.4/wave.* ${libdir}/python2.4/chunk.* ${libdir}/python2.4/lib-dynload/ossaudiodev.so ${libdir}/python2.4/lib-dynload/audioop.so " - - - diff --git a/meta-extras/packages/python/python-2.4.4/autohell.patch b/meta-extras/packages/python/python-2.4.4/autohell.patch deleted file mode 100644 index b0eebb9ce8..0000000000 --- a/meta-extras/packages/python/python-2.4.4/autohell.patch +++ /dev/null @@ -1,1209 +0,0 @@ ---- Python-2.3.3/acinclude.m4 1969-12-31 19:00:00.000000000 -0500 -+++ Python-2.3.3/acinclude.m4 2004-02-17 12:22:29.000000000 -0500 -@@ -0,0 +1,10 @@ -+dnl Autoconf 2.5x does not have AC_PROG_CXX_WORKS anymore -+dnl If this macro is not defined by Autoconf, define it here. -+ -+m4_ifdef([AC_PROG_CXX_WORKS], -+ [], -+ [m4_define([AC_PROG_CXX_WORKS], -+ [AC_LANG_PUSH(C++)dnl -+ _AC_COMPILER_EXEEXT -+ AC_LANG_POP()] -+ )]) ---- Python-2.3.3/configure.in 2003-11-18 14:59:39.000000000 -0500 -+++ Python-2.3.3/configure.in 2004-02-17 12:22:27.000000000 -0500 -@@ -4,8 +4,8 @@ - m4_define(PYTHON_VERSION, 2.3) - - AC_REVISION($Revision: 1.427.4.10 $) --AC_PREREQ(2.53) --AC_INIT(python, PYTHON_VERSION) -+AC_PREREQ(2.59) -+AC_INIT([python],[PYTHON_VERSION]) - AC_CONFIG_SRCDIR([Include/object.h]) - AC_CONFIG_HEADER(pyconfig.h) - -@@ -58,7 +58,7 @@ - - dnl quadrigraphs "@<:@" and "@:>@" produce "[" and "]" in the output - AC_ARG_ENABLE(framework, -- AC_HELP_STRING(--enable-framework@<:@=INSTALLDIR@:>@, Build (MacOSX|Darwin) framework), -+ AS_HELP_STRING(--enable-framework@<:@=INSTALLDIR@:>@,Build (MacOSX|Darwin) framework), - [ - case $enableval in - yes) -@@ -92,8 +92,7 @@ - AC_SUBST(PYTHONFRAMEWORKINSTALLDIR) - - ##AC_ARG_WITH(dyld, --## AC_HELP_STRING(--with-dyld, --## Use (OpenStep|Rhapsody) dynamic linker)) -+## AS_HELP_STRING(--with-dyld,## Use (OpenStep|Rhapsody) dynamic linker)) - ## - # Set name for machine-dependent library files - AC_SUBST(MACHDEP) -@@ -227,7 +226,7 @@ - # on that fiddles with OPT and BASECFLAGS? - AC_MSG_CHECKING(for --without-gcc) - AC_ARG_WITH(gcc, -- AC_HELP_STRING(--without-gcc,never use gcc), -+ AS_HELP_STRING(--without-gcc,never use gcc), - [ - case $withval in - no) CC=cc -@@ -273,7 +272,7 @@ - MAINOBJ=python.o - AC_MSG_CHECKING(for --with-cxx=<compiler>) - AC_ARG_WITH(cxx, -- AC_HELP_STRING(--with-cxx=<compiler>, enable C++ support), -+ AS_HELP_STRING(--with-cxx=<compiler>,enable C++ support), - [ - check_cxx=no - case $withval in -@@ -298,15 +297,6 @@ - dnl --without-cxx was given. - dnl Finally, it does not test whether CXX is g++. - --dnl Autoconf 2.5x does not have AC_PROG_CXX_WORKS anymore --ifdef([AC_PROG_CXX_WORKS],[], -- [AC_DEFUN([AC_PROG_CXX_WORKS], -- [AC_LANG_PUSH(C++)dnl -- _AC_COMPILER_EXEEXT -- AC_LANG_POP() -- ] --)]) -- - if test "$check_cxx" = "yes" - then - AC_CHECK_PROGS(CXX, $CCC c++ g++ gcc CC cxx cc++ cl, notfound) -@@ -348,7 +338,7 @@ - AC_EXEEXT - AC_MSG_CHECKING(for --with-suffix) - AC_ARG_WITH(suffix, -- AC_HELP_STRING(--with-suffix=.exe, set executable suffix), -+ AS_HELP_STRING(--with-suffix=.exe,set executable suffix), - [ - case $withval in - no) EXEEXT=;; -@@ -474,7 +464,7 @@ - - AC_MSG_CHECKING(for --enable-shared) - AC_ARG_ENABLE(shared, -- AC_HELP_STRING(--enable-shared, disable/enable building shared python library)) -+ AS_HELP_STRING(--enable-shared,disable/enable building shared python library)) - - if test -z "$enable_shared" - then -@@ -583,7 +573,7 @@ - # Check for --with-pydebug - AC_MSG_CHECKING(for --with-pydebug) - AC_ARG_WITH(pydebug, -- AC_HELP_STRING(--with-pydebug, build with Py_DEBUG defined), -+ AS_HELP_STRING(--with-pydebug,build with Py_DEBUG defined), - [ - if test "$withval" != no - then -@@ -660,10 +650,7 @@ - AC_MSG_CHECKING(whether $CC accepts -fno-strict-aliasing) - ac_save_cc="$CC" - CC="$CC -fno-strict-aliasing" -- AC_TRY_RUN([int main() { return 0; }], -- ac_cv_no_strict_aliasing_ok=yes, -- ac_cv_no_strict_aliasing_ok=no, -- ac_cv_no_strict_aliasing_ok=no) -+ AC_RUN_IFELSE([AC_LANG_SOURCE([[int main() { return 0; }]])],[ac_cv_no_strict_aliasing_ok=yes],[ac_cv_no_strict_aliasing_ok=no],[ac_cv_no_strict_aliasing_ok=no]) - CC="$ac_save_cc" - AC_MSG_RESULT($ac_cv_no_strict_aliasing_ok) - if test $ac_cv_no_strict_aliasing_ok = yes -@@ -711,10 +698,7 @@ - AC_CACHE_VAL(ac_cv_opt_olimit_ok, - [ac_save_cc="$CC" - CC="$CC -OPT:Olimit=0" --AC_TRY_RUN([int main() { return 0; }], -- ac_cv_opt_olimit_ok=yes, -- ac_cv_opt_olimit_ok=no, -- ac_cv_opt_olimit_ok=no) -+AC_RUN_IFELSE([AC_LANG_SOURCE([[int main() { return 0; }]])],[ac_cv_opt_olimit_ok=yes],[ac_cv_opt_olimit_ok=no],[ac_cv_opt_olimit_ok=no]) - CC="$ac_save_cc"]) - AC_MSG_RESULT($ac_cv_opt_olimit_ok) - if test $ac_cv_opt_olimit_ok = yes; then -@@ -733,10 +717,7 @@ - AC_CACHE_VAL(ac_cv_olimit_ok, - [ac_save_cc="$CC" - CC="$CC -Olimit 1500" -- AC_TRY_RUN([int main() { return 0; }], -- ac_cv_olimit_ok=yes, -- ac_cv_olimit_ok=no, -- ac_cv_olimit_ok=no) -+ AC_RUN_IFELSE([AC_LANG_SOURCE([[int main() { return 0; }]])],[ac_cv_olimit_ok=yes],[ac_cv_olimit_ok=no],[ac_cv_olimit_ok=no]) - CC="$ac_save_cc"]) - AC_MSG_RESULT($ac_cv_olimit_ok) - if test $ac_cv_olimit_ok = yes; then -@@ -751,7 +732,7 @@ - # options before we can check whether -Kpthread improves anything. - AC_MSG_CHECKING(whether pthreads are available without options) - AC_CACHE_VAL(ac_cv_pthread_is_default, --[AC_TRY_RUN([ -+[AC_RUN_IFELSE([AC_LANG_SOURCE([[ - #include <pthread.h> - - void* routine(void* p){return NULL;} -@@ -763,14 +744,11 @@ - (void)pthread_detach(p); - return 0; - } --], --[ -+]])],[ - ac_cv_pthread_is_default=yes - ac_cv_kthread=no - ac_cv_pthread=no --], -- ac_cv_pthread_is_default=no, -- ac_cv_pthread_is_default=no) -+],[ac_cv_pthread_is_default=no],[ac_cv_pthread_is_default=no]) - ]) - AC_MSG_RESULT($ac_cv_pthread_is_default) - -@@ -788,7 +766,7 @@ - AC_CACHE_VAL(ac_cv_kpthread, - [ac_save_cc="$CC" - CC="$CC -Kpthread" --AC_TRY_RUN([ -+AC_RUN_IFELSE([AC_LANG_SOURCE([[ - #include <pthread.h> - - void* routine(void* p){return NULL;} -@@ -800,10 +778,7 @@ - (void)pthread_detach(p); - return 0; - } --], -- ac_cv_kpthread=yes, -- ac_cv_kpthread=no, -- ac_cv_kpthread=no) -+]])],[ac_cv_kpthread=yes],[ac_cv_kpthread=no],[ac_cv_kpthread=no]) - CC="$ac_save_cc"]) - AC_MSG_RESULT($ac_cv_kpthread) - fi -@@ -819,7 +794,7 @@ - AC_CACHE_VAL(ac_cv_kthread, - [ac_save_cc="$CC" - CC="$CC -Kthread" --AC_TRY_RUN([ -+AC_RUN_IFELSE([AC_LANG_SOURCE([[ - #include <pthread.h> - - void* routine(void* p){return NULL;} -@@ -831,10 +806,7 @@ - (void)pthread_detach(p); - return 0; - } --], -- ac_cv_kthread=yes, -- ac_cv_kthread=no, -- ac_cv_kthread=no) -+]])],[ac_cv_kthread=yes],[ac_cv_kthread=no],[ac_cv_kthread=no]) - CC="$ac_save_cc"]) - AC_MSG_RESULT($ac_cv_kthread) - fi -@@ -850,7 +822,7 @@ - AC_CACHE_VAL(ac_cv_thread, - [ac_save_cc="$CC" - CC="$CC -pthread" --AC_TRY_RUN([ -+AC_RUN_IFELSE([AC_LANG_SOURCE([[ - #include <pthread.h> - - void* routine(void* p){return NULL;} -@@ -862,10 +834,7 @@ - (void)pthread_detach(p); - return 0; - } --], -- ac_cv_pthread=yes, -- ac_cv_pthread=no, -- ac_cv_pthread=no) -+]])],[ac_cv_pthread=yes],[ac_cv_pthread=no],[ac_cv_pthread=no]) - CC="$ac_save_cc"]) - AC_MSG_RESULT($ac_cv_pthread) - fi -@@ -911,11 +880,11 @@ - - dnl # check for ANSI or K&R ("traditional") preprocessor - dnl AC_MSG_CHECKING(for C preprocessor type) --dnl AC_TRY_COMPILE([ -+dnl AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - dnl #define spam(name, doc) {#name, &name, #name "() -- " doc} - dnl int foo; - dnl struct {char *name; int *addr; char *doc;} desc = spam(foo, "something"); --dnl ], [;], cpp_type=ansi, AC_DEFINE(HAVE_OLD_CPP) cpp_type=traditional) -+dnl ]], [[;]])],[cpp_type=ansi],[AC_DEFINE(HAVE_OLD_CPP) cpp_type=traditional]) - dnl AC_MSG_RESULT($cpp_type) - - # checks for header files -@@ -941,19 +910,13 @@ - - # Check whether using makedev requires defining _OSF_SOURCE - AC_MSG_CHECKING(for makedev) --AC_TRY_LINK([#include <sys/types.h> ], -- [ makedev(0, 0) ], -- ac_cv_has_makedev=yes, -- ac_cv_has_makedev=no) -+AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> ]], [[ makedev(0, 0) ]])],[ac_cv_has_makedev=yes],[ac_cv_has_makedev=no]) - if test "$ac_cv_has_makedev" = "no"; then - # we didn't link, try if _OSF_SOURCE will allow us to link -- AC_TRY_LINK([ -+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[ - #define _OSF_SOURCE 1 - #include <sys/types.h> -- ], -- [ makedev(0, 0) ], -- ac_cv_has_makedev=yes, -- ac_cv_has_makedev=no) -+ ]], [[ makedev(0, 0) ]])],[ac_cv_has_makedev=yes],[ac_cv_has_makedev=no]) - if test "$ac_cv_has_makedev" = "yes"; then - AC_DEFINE(_OSF_SOURCE, 1, [Define _OSF_SOURCE to get the makedev macro.]) - fi -@@ -972,11 +935,11 @@ - - use_lfs=yes - AC_MSG_CHECKING(Solaris LFS bug) --AC_TRY_COMPILE([ -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #define _LARGEFILE_SOURCE 1 - #define _FILE_OFFSET_BITS 64 - #include <sys/resource.h> --],struct rlimit foo;,sol_lfs_bug=no,sol_lfs_bug=yes) -+]], [[struct rlimit foo;]])],[sol_lfs_bug=no],[sol_lfs_bug=yes]) - AC_MSG_RESULT($sol_lfs_bug) - if test "$sol_lfs_bug" = "yes"; then - use_lfs=no -@@ -1018,10 +981,10 @@ - - AC_MSG_CHECKING(for long long support) - have_long_long=no --AC_TRY_COMPILE([], [long long x; x = (long long)0;], [ -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[long long x; x = (long long)0;]])],[ - AC_DEFINE(HAVE_LONG_LONG, 1, [Define this if you have the type long long.]) - have_long_long=yes --]) -+],[]) - AC_MSG_RESULT($have_long_long) - if test "$have_long_long" = yes ; then - AC_CHECK_SIZEOF(long long, 8) -@@ -1029,10 +992,10 @@ - - AC_MSG_CHECKING(for uintptr_t support) - have_uintptr_t=no --AC_TRY_COMPILE([], [uintptr_t x; x = (uintptr_t)0;], [ -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[uintptr_t x; x = (uintptr_t)0;]])],[ - AC_DEFINE(HAVE_UINTPTR_T, 1, [Define this if you have the type uintptr_t.]) - have_uintptr_t=yes --]) -+],[]) - AC_MSG_RESULT($have_uintptr_t) - if test "$have_uintptr_t" = yes ; then - AC_CHECK_SIZEOF(uintptr_t, 4) -@@ -1041,7 +1004,7 @@ - # Hmph. AC_CHECK_SIZEOF() doesn't include <sys/types.h>. - AC_MSG_CHECKING(size of off_t) - AC_CACHE_VAL(ac_cv_sizeof_off_t, --[AC_TRY_RUN([#include <stdio.h> -+[AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h> - #include <sys/types.h> - main() - { -@@ -1049,10 +1012,7 @@ - if (!f) exit(1); - fprintf(f, "%d\n", sizeof(off_t)); - exit(0); --}], --ac_cv_sizeof_off_t=`cat conftestval`, --ac_cv_sizeof_off_t=0, --ac_cv_sizeof_off_t=4) -+}]])],[ac_cv_sizeof_off_t=`cat conftestval`],[ac_cv_sizeof_off_t=0],[ac_cv_sizeof_off_t=4]) - ]) - AC_MSG_RESULT($ac_cv_sizeof_off_t) - AC_DEFINE_UNQUOTED(SIZEOF_OFF_T, $ac_cv_sizeof_off_t, -@@ -1075,7 +1035,7 @@ - # AC_CHECK_SIZEOF() doesn't include <time.h>. - AC_MSG_CHECKING(size of time_t) - AC_CACHE_VAL(ac_cv_sizeof_time_t, --[AC_TRY_RUN([#include <stdio.h> -+[AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h> - #include <time.h> - main() - { -@@ -1083,10 +1043,7 @@ - if (!f) exit(1); - fprintf(f, "%d\n", sizeof(time_t)); - exit(0); --}], --ac_cv_sizeof_time_t=`cat conftestval`, --ac_cv_sizeof_time_t=0, --ac_cv_sizeof_time_t=4) -+}]])],[ac_cv_sizeof_time_t=`cat conftestval`],[ac_cv_sizeof_time_t=0],[ac_cv_sizeof_time_t=4]) - ]) - AC_MSG_RESULT($ac_cv_sizeof_time_t) - AC_DEFINE_UNQUOTED(SIZEOF_TIME_T, $ac_cv_sizeof_time_t, -@@ -1104,13 +1061,13 @@ - fi - AC_MSG_CHECKING(for pthread_t) - have_pthread_t=no --AC_TRY_COMPILE([#include <pthread.h>], [pthread_t x; x = *(pthread_t*)0;], have_pthread_t=yes) -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <pthread.h>]], [[pthread_t x; x = *(pthread_t*)0;]])],[have_pthread_t=yes],[]) - AC_MSG_RESULT($have_pthread_t) - if test "$have_pthread_t" = yes ; then - # AC_CHECK_SIZEOF() doesn't include <pthread.h>. - AC_MSG_CHECKING(size of pthread_t) - AC_CACHE_VAL(ac_cv_sizeof_pthread_t, -- [AC_TRY_RUN([#include <stdio.h> -+ [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h> - #include <pthread.h> - main() - { -@@ -1118,10 +1075,7 @@ - if (!f) exit(1); - fprintf(f, "%d\n", sizeof(pthread_t)); - exit(0); -- }], -- ac_cv_sizeof_pthread_t=`cat conftestval`, -- ac_cv_sizeof_pthread_t=0, -- ac_cv_sizeof_pthread_t=4) -+ }]])],[ac_cv_sizeof_pthread_t=`cat conftestval`],[ac_cv_sizeof_pthread_t=0],[ac_cv_sizeof_pthread_t=4]) - ]) - AC_MSG_RESULT($ac_cv_sizeof_pthread_t) - AC_DEFINE_UNQUOTED(SIZEOF_PTHREAD_T, $ac_cv_sizeof_pthread_t, -@@ -1131,7 +1085,7 @@ - - AC_MSG_CHECKING(for --enable-toolbox-glue) - AC_ARG_ENABLE(toolbox-glue, -- AC_HELP_STRING(--enable-toolbox-glue, disable/enable MacOSX glue code for extensions)) -+ AS_HELP_STRING(--enable-toolbox-glue,disable/enable MacOSX glue code for extensions)) - - if test -z "$enable_toolbox_glue" - then -@@ -1436,13 +1390,10 @@ - # checks for system dependent C++ extensions support - case "$ac_sys_system" in - AIX*) AC_MSG_CHECKING(for genuine AIX C++ extensions support) -- AC_TRY_LINK([#include "/usr/lpp/xlC/include/load.h"], -- [loadAndInit("", 0, "")], -- [AC_DEFINE(AIX_GENUINE_CPLUSPLUS, 1, -+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include "/usr/lpp/xlC/include/load.h"]], [[loadAndInit("", 0, "")]])],[AC_DEFINE(AIX_GENUINE_CPLUSPLUS, 1, - [Define for AIX if your compiler is a genuine IBM xlC/xlC_r - and you want support for AIX C++ shared extension modules.]) -- AC_MSG_RESULT(yes)], -- [AC_MSG_RESULT(no)]);; -+ AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)]);; - *) ;; - esac - -@@ -1464,7 +1415,7 @@ - - AC_MSG_CHECKING(for --with-libs) - AC_ARG_WITH(libs, -- AC_HELP_STRING(--with-libs='lib1 ...', link against additional libs), -+ AS_HELP_STRING(--with-libs='lib1 ...',link against additional libs), - [ - AC_MSG_RESULT($withval) - LIBS="$withval $LIBS" -@@ -1476,7 +1427,7 @@ - AC_SUBST(SIGNAL_OBJS) - AC_MSG_CHECKING(for --with-signal-module) - AC_ARG_WITH(signal-module, -- AC_HELP_STRING(--with-signal-module, disable/enable signal module)) -+ AS_HELP_STRING(--with-signal-module,disable/enable signal module)) - - if test -z "$with_signal_module" - then with_signal_module="yes" -@@ -1498,7 +1449,7 @@ - AC_MSG_CHECKING(for --with-dec-threads) - AC_SUBST(LDLAST) - AC_ARG_WITH(dec-threads, -- AC_HELP_STRING(--with-dec-threads, use DEC Alpha/OSF1 thread-safe libraries), -+ AS_HELP_STRING(--with-dec-threads,use DEC Alpha/OSF1 thread-safe libraries), - [ - AC_MSG_RESULT($withval) - LDLAST=-threads -@@ -1518,12 +1469,12 @@ - AC_MSG_CHECKING(for --with-threads) - dnl quadrigraphs "@<:@" and "@:>@" produce "[" and "]" in the output - AC_ARG_WITH(threads, -- AC_HELP_STRING(--with(out)-threads@<:@=DIRECTORY@:>@, disable/enable thread support)) -+ AS_HELP_STRING(--with(out)-threads@<:@=DIRECTORY@:>@,disable/enable thread support)) - - # --with-thread is deprecated, but check for it anyway - dnl quadrigraphs "@<:@" and "@:>@" produce "[" and "]" in the output - AC_ARG_WITH(thread, -- AC_HELP_STRING(--with(out)-thread@<:@=DIRECTORY@:>@, deprecated; use --with(out)-threads), -+ AS_HELP_STRING(--with(out)-thread@<:@=DIRECTORY@:>@,deprecated; use --with(out)-threads), - [with_threads=$with_thread]) - - if test -z "$with_threads" -@@ -1603,7 +1554,7 @@ - THREADOBJ="Python/thread.o"],[ - AC_MSG_CHECKING(for --with-pth) - AC_ARG_WITH([pth], -- AC_HELP_STRING(--with-pth, use GNU pth threading libraries), -+ AS_HELP_STRING(--with-pth,use GNU pth threading libraries), - [AC_MSG_RESULT($withval) - AC_DEFINE([WITH_THREAD]) - AC_DEFINE([HAVE_PTH], 1, -@@ -1618,10 +1569,10 @@ - _libs=$LIBS - LIBS="$LIBS -lpthread" - AC_MSG_CHECKING([for pthread_create in -lpthread]) -- AC_TRY_LINK([#include <pthread.h> -+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <pthread.h> - --void * start_routine (void *arg) { exit (0); }], [ --pthread_create (NULL, NULL, start_routine, NULL)], [ -+void * start_routine (void *arg) { exit (0); }]], [[ -+pthread_create (NULL, NULL, start_routine, NULL)]])],[ - AC_MSG_RESULT(yes) - AC_DEFINE(WITH_THREAD) - posix_threads=yes -@@ -1705,7 +1656,7 @@ - - AC_MSG_CHECKING(if PTHREAD_SCOPE_SYSTEM is supported) - AC_CACHE_VAL(ac_cv_pthread_system_supported, -- [AC_TRY_RUN([#include <pthread.h> -+ [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <pthread.h> - void *foo(void *parm) { - return NULL; - } -@@ -1716,10 +1667,7 @@ - if (pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM)) exit(-1); - if (pthread_create(&id, &attr, foo, NULL)) exit(-1); - exit(0); -- }], -- ac_cv_pthread_system_supported=yes, -- ac_cv_pthread_system_supported=no, -- ac_cv_pthread_system_supported=no) -+ }]])],[ac_cv_pthread_system_supported=yes],[ac_cv_pthread_system_supported=no],[ac_cv_pthread_system_supported=no]) - ]) - AC_MSG_RESULT($ac_cv_pthread_system_supported) - if test "$ac_cv_pthread_system_supported" = "yes"; then -@@ -1754,7 +1702,7 @@ - - [ - dnl the check does not work on cross compilation case... -- AC_TRY_RUN([ /* AF_INET6 available check */ -+ AC_RUN_IFELSE([AC_LANG_SOURCE([[ /* AF_INET6 available check */ - #include <sys/types.h> - #include <sys/socket.h> - main() -@@ -1764,25 +1712,19 @@ - else - exit(0); - } --], -- AC_MSG_RESULT(yes) -- ipv6=yes, -- AC_MSG_RESULT(no) -- ipv6=no, -- AC_MSG_RESULT(no) -+]])],[AC_MSG_RESULT(yes) -+ ipv6=yes],[AC_MSG_RESULT(no) -+ ipv6=no],[AC_MSG_RESULT(no) - ipv6=no --) -+]) - - if test "$ipv6" = "yes"; then - AC_MSG_CHECKING(if RFC2553 API is available) -- AC_TRY_COMPILE([#include <sys/types.h> --#include <netinet/in.h>], -- [struct sockaddr_in6 x; --x.sin6_scope_id;], -- AC_MSG_RESULT(yes) -- ipv6=yes, -- AC_MSG_RESULT(no, IPv6 disabled) -- ipv6=no) -+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> -+#include <netinet/in.h>]], [[struct sockaddr_in6 x; -+x.sin6_scope_id;]])],[AC_MSG_RESULT(yes) -+ ipv6=yes],[AC_MSG_RESULT(no, IPv6 disabled) -+ ipv6=no]) - fi - - if test "$ipv6" = "yes"; then -@@ -1905,7 +1847,7 @@ - # Check for universal newline support - AC_MSG_CHECKING(for --with-universal-newlines) - AC_ARG_WITH(universal-newlines, -- AC_HELP_STRING(--with(out)-universal-newlines, disable/enable foreign newlines)) -+ AS_HELP_STRING(--with(out)-universal-newlines,disable/enable foreign newlines)) - - if test -z "$with_universal_newlines" - then with_universal_newlines="yes" -@@ -1923,7 +1865,7 @@ - # Check for --with-doc-strings - AC_MSG_CHECKING(for --with-doc-strings) - AC_ARG_WITH(doc-strings, -- AC_HELP_STRING(--with(out)-doc-strings, disable/enable documentation strings)) -+ AS_HELP_STRING(--with(out)-doc-strings,disable/enable documentation strings)) - - if test -z "$with_doc_strings" - then with_doc_strings="yes" -@@ -1938,7 +1880,7 @@ - # Check for Python-specific malloc support - AC_MSG_CHECKING(for --with-pymalloc) - AC_ARG_WITH(pymalloc, -- AC_HELP_STRING(--with(out)-pymalloc, disable/enable specialized mallocs)) -+ AS_HELP_STRING(--with(out)-pymalloc,disable/enable specialized mallocs)) - - if test -z "$with_pymalloc" - then with_pymalloc="yes" -@@ -1953,7 +1895,7 @@ - # Check for --with-wctype-functions - AC_MSG_CHECKING(for --with-wctype-functions) - AC_ARG_WITH(wctype-functions, -- AC_HELP_STRING(--with-wctype-functions, use wctype.h functions), -+ AS_HELP_STRING(--with-wctype-functions,use wctype.h functions), - [ - if test "$withval" != no - then -@@ -1971,7 +1913,7 @@ - - AC_MSG_CHECKING(for --with-sgi-dl) - AC_ARG_WITH(sgi-dl, -- AC_HELP_STRING(--with-sgi-dl=DIRECTORY, IRIX 4 dynamic linking), -+ AS_HELP_STRING(--with-sgi-dl=DIRECTORY,IRIX 4 dynamic linking), - [ - AC_MSG_RESULT($withval) - echo --with-sgi-dl is unsupported, see README -@@ -1993,7 +1935,7 @@ - - AC_MSG_CHECKING(for --with-dl-dld) - AC_ARG_WITH(dl-dld, -- AC_HELP_STRING(--with-dl-dld=DL_DIR, GNU dynamic linking), -+ AS_HELP_STRING(--with-dl-dld=DL_DIR,GNU dynamic linking), - [ - AC_MSG_RESULT($withval) - echo --with-dl-dld is unsupported, see README -@@ -2085,41 +2027,29 @@ - # For some functions, having a definition is not sufficient, since - # we want to take their address. - AC_MSG_CHECKING(for chroot) --AC_TRY_COMPILE([#include <unistd.h>], void *x=chroot, -- AC_DEFINE(HAVE_CHROOT, 1, Define if you have the 'chroot' function.) -- AC_MSG_RESULT(yes), -- AC_MSG_RESULT(no) --) -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], [[void *x=chroot]])],[AC_DEFINE(HAVE_CHROOT, 1, Define if you have the 'chroot' function.) -+ AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no) -+]) - AC_MSG_CHECKING(for link) --AC_TRY_COMPILE([#include <unistd.h>], void *x=link, -- AC_DEFINE(HAVE_LINK, 1, Define if you have the 'link' function.) -- AC_MSG_RESULT(yes), -- AC_MSG_RESULT(no) --) -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], [[void *x=link]])],[AC_DEFINE(HAVE_LINK, 1, Define if you have the 'link' function.) -+ AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no) -+]) - AC_MSG_CHECKING(for symlink) --AC_TRY_COMPILE([#include <unistd.h>], void *x=symlink, -- AC_DEFINE(HAVE_SYMLINK, 1, Define if you have the 'symlink' function.) -- AC_MSG_RESULT(yes), -- AC_MSG_RESULT(no) --) -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], [[void *x=symlink]])],[AC_DEFINE(HAVE_SYMLINK, 1, Define if you have the 'symlink' function.) -+ AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no) -+]) - AC_MSG_CHECKING(for fchdir) --AC_TRY_COMPILE([#include <unistd.h>], void *x=fchdir, -- AC_DEFINE(HAVE_FCHDIR, 1, Define if you have the 'fchdir' function.) -- AC_MSG_RESULT(yes), -- AC_MSG_RESULT(no) --) -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], [[void *x=fchdir]])],[AC_DEFINE(HAVE_FCHDIR, 1, Define if you have the 'fchdir' function.) -+ AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no) -+]) - AC_MSG_CHECKING(for fsync) --AC_TRY_COMPILE([#include <unistd.h>], void *x=fsync, -- AC_DEFINE(HAVE_FSYNC, 1, Define if you have the 'fsync' function.) -- AC_MSG_RESULT(yes), -- AC_MSG_RESULT(no) --) -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], [[void *x=fsync]])],[AC_DEFINE(HAVE_FSYNC, 1, Define if you have the 'fsync' function.) -+ AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no) -+]) - AC_MSG_CHECKING(for fdatasync) --AC_TRY_COMPILE([#include <unistd.h>], void *x=fdatasync, -- AC_DEFINE(HAVE_FDATASYNC, 1, Define if you have the 'fdatasync' function.) -- AC_MSG_RESULT(yes), -- AC_MSG_RESULT(no) --) -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], [[void *x=fdatasync]])],[AC_DEFINE(HAVE_FDATASYNC, 1, Define if you have the 'fdatasync' function.) -+ AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no) -+]) - - # On some systems (eg. FreeBSD 5), we would find a definition of the - # functions ctermid_r, setgroups in the library, but no prototype -@@ -2128,34 +2058,28 @@ - # because of the missing prototypes. - - AC_MSG_CHECKING(for ctermid_r) --AC_TRY_COMPILE([ -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #include "confdefs.h" - #include <stdio.h> --], void* p = ctermid_r, -- AC_DEFINE(HAVE_CTERMID_R, 1, Define if you have the 'ctermid_r' function.) -- AC_MSG_RESULT(yes), -- AC_MSG_RESULT(no) --) -+]], [[void* p = ctermid_r]])],[AC_DEFINE(HAVE_CTERMID_R, 1, Define if you have the 'ctermid_r' function.) -+ AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no) -+]) - - AC_MSG_CHECKING(for flock) --AC_TRY_COMPILE([ -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #include "confdefs.h" - #include <sys/file.h> --], void* p = flock, -- AC_DEFINE(HAVE_FLOCK, 1, Define if you have the 'flock' function.) -- AC_MSG_RESULT(yes), -- AC_MSG_RESULT(no) --) -+]], [[void* p = flock]])],[AC_DEFINE(HAVE_FLOCK, 1, Define if you have the 'flock' function.) -+ AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no) -+]) - - AC_MSG_CHECKING(for getpagesize) --AC_TRY_COMPILE([ -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #include "confdefs.h" - #include <unistd.h> --], void* p = getpagesize, -- AC_DEFINE(HAVE_GETPAGESIZE, 1, Define if you have the 'getpagesize' function.) -- AC_MSG_RESULT(yes), -- AC_MSG_RESULT(no) --) -+]], [[void* p = getpagesize]])],[AC_DEFINE(HAVE_GETPAGESIZE, 1, Define if you have the 'getpagesize' function.) -+ AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no) -+]) - - dnl check for true - AC_CHECK_PROGS(TRUE, true, /bin/true) -@@ -2167,54 +2091,45 @@ - ) - - AC_MSG_CHECKING(for hstrerror) --AC_TRY_LINK([ -+AC_LINK_IFELSE([AC_LANG_PROGRAM([[ - #include "confdefs.h" - #include <netdb.h> --], void* p = hstrerror; hstrerror(0), -- AC_DEFINE(HAVE_HSTRERROR, 1, Define if you have the 'hstrerror' function.) -- AC_MSG_RESULT(yes), -- AC_MSG_RESULT(no) --) -+]], [[void* p = hstrerror; hstrerror(0)]])],[AC_DEFINE(HAVE_HSTRERROR, 1, Define if you have the 'hstrerror' function.) -+ AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no) -+]) - - AC_MSG_CHECKING(for inet_aton) --AC_TRY_LINK([ -+AC_LINK_IFELSE([AC_LANG_PROGRAM([[ - #include "confdefs.h" - #include <sys/socket.h> - #include <netinet/in.h> - #include <arpa/inet.h> --], void* p = inet_aton;inet_aton(0,0), -- AC_DEFINE(HAVE_INET_ATON, 1, Define if you have the 'inet_aton' function.) -- AC_MSG_RESULT(yes), -- AC_MSG_RESULT(no) --) -+]], [[void* p = inet_aton;inet_aton(0,0)]])],[AC_DEFINE(HAVE_INET_ATON, 1, Define if you have the 'inet_aton' function.) -+ AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no) -+]) - - AC_MSG_CHECKING(for inet_pton) --AC_TRY_COMPILE([ -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #include "confdefs.h" - #include <sys/types.h> - #include <sys/socket.h> - #include <netinet/in.h> - #include <arpa/inet.h> --], void* p = inet_pton, -- AC_DEFINE(HAVE_INET_PTON, 1, Define if you have the 'inet_pton' function.) -- AC_MSG_RESULT(yes), -- AC_MSG_RESULT(no) --) -+]], [[void* p = inet_pton]])],[AC_DEFINE(HAVE_INET_PTON, 1, Define if you have the 'inet_pton' function.) -+ AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no) -+]) - - # On some systems, setgroups is in unistd.h, on others, in grp.h - AC_MSG_CHECKING(for setgroups) --AC_TRY_COMPILE([ -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #include "confdefs.h" - #include <unistd.h> - #ifdef HAVE_GRP_H - #include <grp.h> - #endif --], --void* p = setgroups, -- AC_DEFINE(HAVE_SETGROUPS, 1, Define if you have the 'setgroups' function.) -- AC_MSG_RESULT(yes), -- AC_MSG_RESULT(no) --) -+]], [[void* p = setgroups]])],[AC_DEFINE(HAVE_SETGROUPS, 1, Define if you have the 'setgroups' function.) -+ AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no) -+]) - - # check for openpty and forkpty - -@@ -2226,30 +2141,24 @@ - - AC_REPLACE_FUNCS(dup2 getcwd strdup strerror memmove) - AC_CHECK_FUNCS(getpgrp, -- AC_TRY_COMPILE([#include <unistd.h>], -- [getpgrp(0);], -- AC_DEFINE(GETPGRP_HAVE_ARG, 1, -- [Define if getpgrp() must be called as getpgrp(0).]) -- ) -+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], [[getpgrp(0);]])],[AC_DEFINE(GETPGRP_HAVE_ARG, 1, -+ Define if getpgrp() must be called as getpgrp(0).) -+ ],[]) - ) - AC_CHECK_FUNCS(setpgrp, -- AC_TRY_COMPILE([#include <unistd.h>], -- [setpgrp(0,0);], -- AC_DEFINE(SETPGRP_HAVE_ARG, 1, -- [Define if setpgrp() must be called as setpgrp(0, 0).]) -- ) -+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], [[setpgrp(0,0);]])],[AC_DEFINE(SETPGRP_HAVE_ARG, 1, -+ Define if setpgrp() must be called as setpgrp(0, 0).) -+ ],[]) - ) - AC_CHECK_FUNCS(gettimeofday, -- AC_TRY_COMPILE([#include <sys/time.h>], -- [gettimeofday((struct timeval*)0,(struct timezone*)0);], , -- AC_DEFINE(GETTIMEOFDAY_NO_TZ, 1, -- [Define if gettimeofday() does not have second (timezone) argument -- This is the case on Motorola V4 (R40V4.2)]) -- ) -+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/time.h>]], [[gettimeofday((struct timeval*)0,(struct timezone*)0);]])],[],[AC_DEFINE(GETTIMEOFDAY_NO_TZ, 1, -+ Define if gettimeofday() does not have second (timezone) argument -+ This is the case on Motorola V4 (R40V4.2)) -+ ]) - ) - - AC_MSG_CHECKING(for major, minor, and makedev) --AC_TRY_LINK([ -+AC_LINK_IFELSE([AC_LANG_PROGRAM([[ - #if defined(MAJOR_IN_MKDEV) - #include <sys/mkdev.h> - #elif defined(MAJOR_IN_SYSMACROS) -@@ -2257,9 +2166,9 @@ - #else - #include <sys/types.h> - #endif --],[ -+]], [[ - makedev(major(0),minor(0)); --],[ -+]])],[ - AC_DEFINE(HAVE_DEVICE_MACROS, 1, - [Define to 1 if you have the device macros.]) - AC_MSG_RESULT(yes) -@@ -2270,14 +2179,14 @@ - # On OSF/1 V5.1, getaddrinfo is available, but a define - # for [no]getaddrinfo in netdb.h. - AC_MSG_CHECKING(for getaddrinfo) --AC_TRY_LINK([ -+AC_LINK_IFELSE([AC_LANG_PROGRAM([[ - #include <sys/types.h> - #include <sys/socket.h> - #include <netdb.h> - #include <stdio.h> --],[ -+]], [[ - getaddrinfo(NULL, NULL, NULL, NULL); --], [ -+]])],[ - AC_MSG_RESULT(yes) - AC_MSG_CHECKING(getaddrinfo bug) - AC_TRY_RUN([ -@@ -2371,7 +2280,7 @@ - AC_MSG_RESULT(buggy) - buggygetaddrinfo=yes, - AC_MSG_RESULT(buggy) --buggygetaddrinfo=yes)], [ -+buggygetaddrinfo=yes)],[ - AC_MSG_RESULT(no) - buggygetaddrinfo=yes - ]) -@@ -2397,9 +2306,7 @@ - - AC_MSG_CHECKING(for time.h that defines altzone) - AC_CACHE_VAL(ac_cv_header_time_altzone, --[AC_TRY_COMPILE([#include <time.h>], [return altzone;], -- ac_cv_header_time_altzone=yes, -- ac_cv_header_time_altzone=no)]) -+[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]], [[return altzone;]])],[ac_cv_header_time_altzone=yes],[ac_cv_header_time_altzone=no])]) - AC_MSG_RESULT($ac_cv_header_time_altzone) - if test $ac_cv_header_time_altzone = yes; then - AC_DEFINE(HAVE_ALTZONE, 1, [Define this if your time.h defines altzone.]) -@@ -2407,25 +2314,22 @@ - - was_it_defined=no - AC_MSG_CHECKING(whether sys/select.h and sys/time.h may both be included) --AC_TRY_COMPILE([ -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #include <sys/types.h> - #include <sys/select.h> - #include <sys/time.h> --], [;], [ -+]], [[;]])],[ - AC_DEFINE(SYS_SELECT_WITH_SYS_TIME, 1, - [Define if you can safely include both <sys/select.h> and <sys/time.h> - (which you can't on SCO ODT 3.0).]) - was_it_defined=yes --]) -+],[]) - AC_MSG_RESULT($was_it_defined) - - AC_MSG_CHECKING(for addrinfo) - AC_CACHE_VAL(ac_cv_struct_addrinfo, --AC_TRY_COMPILE([ --# include <netdb.h>], -- [struct addrinfo a], -- ac_cv_struct_addrinfo=yes, -- ac_cv_struct_addrinfo=no)) -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ -+# include <netdb.h>]], [[struct addrinfo a]])],[ac_cv_struct_addrinfo=yes],[ac_cv_struct_addrinfo=no])) - AC_MSG_RESULT($ac_cv_struct_addrinfo) - if test $ac_cv_struct_addrinfo = yes; then - AC_DEFINE(HAVE_ADDRINFO, 1, [struct addrinfo (netdb.h)]) -@@ -2433,12 +2337,9 @@ - - AC_MSG_CHECKING(for sockaddr_storage) - AC_CACHE_VAL(ac_cv_struct_sockaddr_storage, --AC_TRY_COMPILE([ -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - # include <sys/types.h> --# include <sys/socket.h>], -- [struct sockaddr_storage s], -- ac_cv_struct_sockaddr_storage=yes, -- ac_cv_struct_sockaddr_storage=no)) -+# include <sys/socket.h>]], [[struct sockaddr_storage s]])],[ac_cv_struct_sockaddr_storage=yes],[ac_cv_struct_sockaddr_storage=no])) - AC_MSG_RESULT($ac_cv_struct_sockaddr_storage) - if test $ac_cv_struct_sockaddr_storage = yes; then - AC_DEFINE(HAVE_SOCKADDR_STORAGE, 1, [struct sockaddr_storage (sys/socket.h)]) -@@ -2451,30 +2352,28 @@ - - works=no - AC_MSG_CHECKING(for working volatile) --AC_TRY_COMPILE([],[volatile int x; x = 0;], works=yes, -- AC_DEFINE(volatile, [], [Define to empty if the keyword does not work.]) --) -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[volatile int x; x = 0;]])],[works=yes],[AC_DEFINE(volatile, , Define to empty if the keyword does not work.) -+]) - AC_MSG_RESULT($works) - - works=no - AC_MSG_CHECKING(for working signed char) --AC_TRY_COMPILE([], [signed char c;], works=yes, -- AC_DEFINE(signed, [], [Define to empty if the keyword does not work.]) --) -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[signed char c;]])],[works=yes],[AC_DEFINE(signed, , Define to empty if the keyword does not work.) -+]) - AC_MSG_RESULT($works) - - have_prototypes=no - AC_MSG_CHECKING(for prototypes) --AC_TRY_COMPILE([int foo(int x) { return 0; }], [return foo(10);],[ -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[int foo(int x) { return 0; }]], [[return foo(10);]])],[ - AC_DEFINE(HAVE_PROTOTYPES, 1, - [Define if your compiler supports function prototype]) - have_prototypes=yes --]) -+],[]) - AC_MSG_RESULT($have_prototypes) - - works=no - AC_MSG_CHECKING(for variable length prototypes and stdarg.h) --AC_TRY_COMPILE([ -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #include <stdarg.h> - int foo(int x, ...) { - va_list va; -@@ -2484,45 +2383,41 @@ - va_arg(va, double); - return 0; - } --], [return foo(10, "", 3.14);], [ -+]], [[return foo(10, "", 3.14);]])],[ - AC_DEFINE(HAVE_STDARG_PROTOTYPES, 1, - [Define if your compiler supports variable length function prototypes - (e.g. void fprintf(FILE *, char *, ...);) *and* <stdarg.h>]) - works=yes --]) -+],[]) - AC_MSG_RESULT($works) - - if test "$have_prototypes" = yes; then - bad_prototypes=no - AC_MSG_CHECKING(for bad exec* prototypes) --AC_TRY_COMPILE([#include <unistd.h>], [char **t;execve("@",t,t);], , -- AC_DEFINE(BAD_EXEC_PROTOTYPES, 1, -- [Define if your <unistd.h> contains bad prototypes for exec*() -- (as it does on SGI IRIX 4.x)]) -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], [[char **t;execve("@",t,t);]])],[],[AC_DEFINE(BAD_EXEC_PROTOTYPES, 1, -+ Define if your <unistd.h> contains bad prototypes for exec*() -+ (as it does on SGI IRIX 4.x)) - bad_prototypes=yes --) -+]) - AC_MSG_RESULT($bad_prototypes) - fi - - # check if sockaddr has sa_len member - AC_MSG_CHECKING(if sockaddr has sa_len member) --AC_TRY_COMPILE([#include <sys/types.h> --#include <sys/socket.h>], --[struct sockaddr x; --x.sa_len = 0;], -- AC_MSG_RESULT(yes) -- AC_DEFINE(HAVE_SOCKADDR_SA_LEN, 1, [Define if sockaddr has sa_len member]), -- AC_MSG_RESULT(no)) -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h> -+#include <sys/socket.h>]], [[struct sockaddr x; -+x.sa_len = 0;]])],[AC_MSG_RESULT(yes) -+ AC_DEFINE(HAVE_SOCKADDR_SA_LEN, 1, Define if sockaddr has sa_len member)],[AC_MSG_RESULT(no)]) - - va_list_is_array=no - AC_MSG_CHECKING(whether va_list is an array) --AC_TRY_COMPILE([ -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #ifdef HAVE_STDARG_PROTOTYPES - #include <stdarg.h> - #else - #include <varargs.h> - #endif --], [va_list list1, list2; list1 = list2;], , [ -+]], [[va_list list1, list2; list1 = list2;]])],[],[ - AC_DEFINE(VA_LIST_IS_ARRAY, 1, [Define if a va_list is an array of some kind]) - va_list_is_array=yes - ]) -@@ -2537,9 +2432,9 @@ - AC_MSG_CHECKING([gethostbyname_r with 6 args]) - OLD_CFLAGS=$CFLAGS - CFLAGS="$CFLAGS $MY_CPPFLAGS $MY_THREAD_CPPFLAGS $MY_CFLAGS" -- AC_TRY_COMPILE([ -+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - # include <netdb.h> -- ], [ -+ ]], [[ - char *name; - struct hostent *he, *res; - char buffer[2048]; -@@ -2547,12 +2442,12 @@ - int h_errnop; - - (void) gethostbyname_r(name, he, buffer, buflen, &res, &h_errnop) -- ], [ -+ ]])],[ - AC_DEFINE(HAVE_GETHOSTBYNAME_R) - AC_DEFINE(HAVE_GETHOSTBYNAME_R_6_ARG, 1, - [Define this if you have the 6-arg version of gethostbyname_r().]) - AC_MSG_RESULT(yes) -- ], [ -+ ],[ - AC_MSG_RESULT(no) - AC_MSG_CHECKING([gethostbyname_r with 5 args]) - AC_TRY_COMPILE([ -@@ -2613,7 +2508,7 @@ - # Check for --with-fpectl - AC_MSG_CHECKING(for --with-fpectl) - AC_ARG_WITH(fpectl, -- AC_HELP_STRING(--with-fpectl, enable SIGFPE catching), -+ AS_HELP_STRING(--with-fpectl,enable SIGFPE catching), - [ - if test "$withval" != no - then -@@ -2633,7 +2528,7 @@ - esac - AC_MSG_CHECKING(for --with-libm=STRING) - AC_ARG_WITH(libm, -- AC_HELP_STRING(--with-libm=STRING, math library), -+ AS_HELP_STRING(--with-libm=STRING,math library), - [ - if test "$withval" = no - then LIBM= -@@ -2649,7 +2544,7 @@ - AC_SUBST(LIBC) - AC_MSG_CHECKING(for --with-libc=STRING) - AC_ARG_WITH(libc, -- AC_HELP_STRING(--with-libc=STRING, C library), -+ AS_HELP_STRING(--with-libc=STRING,C library), - [ - if test "$withval" = no - then LIBC= -@@ -2684,20 +2579,20 @@ - - AC_MSG_CHECKING(for UCS-4 tcl) - have_ucs4_tcl=no --AC_TRY_COMPILE([ -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ - #include <tcl.h> - #if TCL_UTF_MAX != 6 - # error "NOT UCS4_TCL" --#endif], [], [ -+#endif]], [[]])],[ - AC_DEFINE(HAVE_UCS4_TCL, 1, [Define this if you have tcl and TCL_UTF_MAX==6]) - have_ucs4_tcl=yes --]) -+],[]) - AC_MSG_RESULT($have_ucs4_tcl) - - AC_MSG_CHECKING(what type to use for unicode) - dnl quadrigraphs "@<:@" and "@:>@" produce "[" and "]" in the output - AC_ARG_ENABLE(unicode, -- AC_HELP_STRING(--enable-unicode@<:@=ucs@<:@24@:>@@:>@, Enable Unicode strings (default is yes)), -+ AS_HELP_STRING(--enable-unicode@<:@=ucs@<:@24@:>@@:>@,Enable Unicode strings (default is yes)), - [], - [enable_unicode=yes]) - -@@ -2764,15 +2659,12 @@ - # or fills with zeros (like the Cray J90, according to Tim Peters). - AC_MSG_CHECKING(whether right shift extends the sign bit) - AC_CACHE_VAL(ac_cv_rshift_extends_sign, [ --AC_TRY_RUN([ -+AC_RUN_IFELSE([AC_LANG_SOURCE([[ - int main() - { - exit(((-1)>>3 == -1) ? 0 : 1); - } --], --ac_cv_rshift_extends_sign=yes, --ac_cv_rshift_extends_sign=no, --ac_cv_rshift_extends_sign=yes)]) -+]])],[ac_cv_rshift_extends_sign=yes],[ac_cv_rshift_extends_sign=no],[ac_cv_rshift_extends_sign=yes])]) - AC_MSG_RESULT($ac_cv_rshift_extends_sign) - if test "$ac_cv_rshift_extends_sign" = no - then -@@ -2784,12 +2676,12 @@ - # check for getc_unlocked and related locking functions - AC_MSG_CHECKING(for getc_unlocked() and friends) - AC_CACHE_VAL(ac_cv_have_getc_unlocked, [ --AC_TRY_LINK([#include <stdio.h>],[ -+AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>]], [[ - FILE *f = fopen("/dev/null", "r"); - flockfile(f); - getc_unlocked(f); - funlockfile(f); --], ac_cv_have_getc_unlocked=yes, ac_cv_have_getc_unlocked=no)]) -+]])],[ac_cv_have_getc_unlocked=yes],[ac_cv_have_getc_unlocked=no])]) - AC_MSG_RESULT($ac_cv_have_getc_unlocked) - if test "$ac_cv_have_getc_unlocked" = yes - then -@@ -2798,8 +2690,7 @@ - fi - - # check for readline 2.2 --AC_TRY_CPP([#include <readline/readline.h>], --have_readline=yes, have_readline=no) -+AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include <readline/readline.h>]])],[have_readline=yes],[have_readline=no]) - if test $have_readline = yes - then - AC_EGREP_HEADER([extern int rl_completion_append_character;], -@@ -2820,7 +2711,7 @@ - - AC_MSG_CHECKING(for broken nice()) - AC_CACHE_VAL(ac_cv_broken_nice, [ --AC_TRY_RUN([ -+AC_RUN_IFELSE([AC_LANG_SOURCE([[ - int main() - { - int val1 = nice(1); -@@ -2828,10 +2719,7 @@ - exit(0); - exit(1); - } --], --ac_cv_broken_nice=yes, --ac_cv_broken_nice=no, --ac_cv_broken_nice=no)]) -+]])],[ac_cv_broken_nice=yes],[ac_cv_broken_nice=no],[ac_cv_broken_nice=no])]) - AC_MSG_RESULT($ac_cv_broken_nice) - if test "$ac_cv_broken_nice" = yes - then -@@ -2842,7 +2730,7 @@ - # tzset(3) exists and works like we expect it to - AC_MSG_CHECKING(for working tzset()) - AC_CACHE_VAL(ac_cv_working_tzset, [ --AC_TRY_RUN([ -+AC_RUN_IFELSE([AC_LANG_SOURCE([[ - #include <stdlib.h> - #include <time.h> - #include <string.h> -@@ -2880,10 +2768,7 @@ - - exit(0); - } --], --ac_cv_working_tzset=yes, --ac_cv_working_tzset=no, --ac_cv_working_tzset=no)]) -+]])],[ac_cv_working_tzset=yes],[ac_cv_working_tzset=no],[ac_cv_working_tzset=no])]) - AC_MSG_RESULT($ac_cv_working_tzset) - if test "$ac_cv_working_tzset" = yes - then -@@ -2894,13 +2779,10 @@ - # Look for subsecond timestamps in struct stat - AC_MSG_CHECKING(for tv_nsec in struct stat) - AC_CACHE_VAL(ac_cv_stat_tv_nsec, --AC_TRY_COMPILE([#include <sys/stat.h>], [ -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/stat.h>]], [[ - struct stat st; - st.st_mtim.tv_nsec = 1; --], --ac_cv_stat_tv_nsec=yes, --ac_cv_stat_tv_nsec=no, --ac_cv_stat_tv_nsec=no)) -+]])],[ac_cv_stat_tv_nsec=yes],[ac_cv_stat_tv_nsec=no])) - AC_MSG_RESULT($ac_cv_stat_tv_nsec) - if test "$ac_cv_stat_tv_nsec" = yes - then -@@ -2911,12 +2793,10 @@ - # On HP/UX 11.0, mvwdelch is a block with a return statement - AC_MSG_CHECKING(whether mvwdelch is an expression) - AC_CACHE_VAL(ac_cv_mvwdelch_is_expression, --AC_TRY_COMPILE([#include <curses.h>], [ -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <curses.h>]], [[ - int rtn; - rtn = mvwdelch(0,0,0); --], ac_cv_mvwdelch_is_expression=yes, -- ac_cv_mvwdelch_is_expression=no, -- ac_cv_mvwdelch_is_expression=yes)) -+]])],[ac_cv_mvwdelch_is_expression=yes],[ac_cv_mvwdelch_is_expression=no])) - AC_MSG_RESULT($ac_cv_mvwdelch_is_expression) - - if test "$ac_cv_mvwdelch_is_expression" = yes -@@ -2927,12 +2807,10 @@ - - AC_MSG_CHECKING(whether WINDOW has _flags) - AC_CACHE_VAL(ac_cv_window_has_flags, --AC_TRY_COMPILE([#include <curses.h>], [ -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <curses.h>]], [[ - WINDOW *w; - w->_flags = 0; --], ac_cv_window_has_flags=yes, -- ac_cv_window_has_flags=no, -- ac_cv_window_has_flags=no)) -+]])],[ac_cv_window_has_flags=yes],[ac_cv_window_has_flags=no])) - AC_MSG_RESULT($ac_cv_window_has_flags) - - diff --git a/meta-extras/packages/python/python-2.4.4/bindir-libdir.patch b/meta-extras/packages/python/python-2.4.4/bindir-libdir.patch deleted file mode 100644 index 27ae5dce5b..0000000000 --- a/meta-extras/packages/python/python-2.4.4/bindir-libdir.patch +++ /dev/null @@ -1,18 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- Python-2.4c1/Makefile.pre.in~bindir-libdir.patch -+++ Python-2.4c1/Makefile.pre.in -@@ -78,8 +78,8 @@ - exec_prefix= @exec_prefix@ - - # Expanded directories --BINDIR= $(exec_prefix)/bin --LIBDIR= $(exec_prefix)/lib -+BINDIR= @bindir@ -+LIBDIR= @libdir@ - MANDIR= @mandir@ - INCLUDEDIR= @includedir@ - CONFINCLUDEDIR= $(exec_prefix)/include diff --git a/meta-extras/packages/python/python-2.4.4/crosscompile.patch b/meta-extras/packages/python/python-2.4.4/crosscompile.patch deleted file mode 100644 index f917bb2567..0000000000 --- a/meta-extras/packages/python/python-2.4.4/crosscompile.patch +++ /dev/null @@ -1,108 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- Python-2.4c1/Makefile.pre.in~crosscompile -+++ Python-2.4c1/Makefile.pre.in -@@ -162,6 +162,7 @@ - - PYTHON= python$(EXE) - BUILDPYTHON= python$(BUILDEXE) -+HOSTPYTHON= $(BUILDPYTHON) - - # === Definitions added by makesetup === - -@@ -188,7 +189,7 @@ - ########################################################################## - # Parser - PGEN= Parser/pgen$(EXE) -- -+HOSTPGEN= $(PGEN)$(EXE) - POBJS= \ - Parser/acceler.o \ - Parser/grammar1.o \ -@@ -320,8 +321,8 @@ - # Build the shared modules - sharedmods: $(BUILDPYTHON) - case $$MAKEFLAGS in \ -- *-s*) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' ./$(BUILDPYTHON) -E $(srcdir)/setup.py -q build;; \ -- *) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' ./$(BUILDPYTHON) -E $(srcdir)/setup.py build;; \ -+ *-s*) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' $(HOSTPYTHON) -E $(srcdir)/setup.py -q build;; \ -+ *) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' $(HOSTPYTHON) -E $(srcdir)/setup.py build;; \ - esac - - # buildno should really depend on something like LIBRARY_SRC -@@ -442,7 +443,7 @@ - - - $(GRAMMAR_H) $(GRAMMAR_C): $(PGEN) $(GRAMMAR_INPUT) -- -$(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C) -+ -$(HOSTPGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C) - - $(PGEN): $(PGENOBJS) - $(CC) $(OPT) $(LDFLAGS) $(PGENOBJS) $(LIBS) -o $(PGEN) -@@ -718,19 +719,19 @@ - done - $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt - PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ -- ./$(BUILDPYTHON) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \ -+ $(HOSTPYTHON) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \ - -d $(LIBDEST) -f \ - -x 'badsyntax|site-packages' $(DESTDIR)$(LIBDEST) - PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ -- ./$(BUILDPYTHON) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \ -+ $(HOSTPYTHON) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \ - -d $(LIBDEST) -f \ - -x 'badsyntax|site-packages' $(DESTDIR)$(LIBDEST) - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ -- ./$(BUILDPYTHON) -Wi -t $(DESTDIR)$(LIBDEST)/compileall.py \ -+ $(HOSTPYTHON) -Wi -t $(DESTDIR)$(LIBDEST)/compileall.py \ - -d $(LIBDEST)/site-packages -f \ - -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ -- ./$(BUILDPYTHON) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \ -+ $(HOSTPYTHON) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \ - -d $(LIBDEST)/site-packages -f \ - -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages - -@@ -825,7 +826,7 @@ - # Install the dynamically loadable modules - # This goes into $(exec_prefix) - sharedinstall: -- $(RUNSHARED) ./$(BUILDPYTHON) -E $(srcdir)/setup.py install \ -+ $(RUNSHARED) $(HOSTPYTHON) -E $(srcdir)/setup.py install \ - --prefix=$(prefix) \ - --install-scripts=$(BINDIR) \ - --install-platlib=$(DESTSHARED) \ ---- Python-2.4c1/setup.py~crosscompile -+++ Python-2.4c1/setup.py -@@ -206,6 +206,7 @@ - except ImportError, why: - self.announce('*** WARNING: renaming "%s" since importing it' - ' failed: %s' % (ext.name, why), level=3) -+ return - assert not self.inplace - basename, tail = os.path.splitext(ext_filename) - newname = basename + "_failed" + tail -@@ -239,8 +240,8 @@ - - def detect_modules(self): - # Ensure that /usr/local is always used -- add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') -- add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') -+ # add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') -+ # add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') - - # Add paths to popular package managers on OS X/darwin - if sys.platform == "darwin": -@@ -293,6 +294,9 @@ - - # XXX Omitted modules: gl, pure, dl, SGI-specific modules - -+ lib_dirs = [ os.getenv( "STAGING_LIBDIR" ) ] -+ inc_dirs = [ os.getenv( "STAGING_INCDIR" ) ] -+ - # - # The following modules are all pretty straightforward, and compile - # on pretty much any POSIXish platform. diff --git a/meta-extras/packages/python/python-2.4.4/fix-tkinter-detection.patch b/meta-extras/packages/python/python-2.4.4/fix-tkinter-detection.patch deleted file mode 100644 index 602aa8e021..0000000000 --- a/meta-extras/packages/python/python-2.4.4/fix-tkinter-detection.patch +++ /dev/null @@ -1,39 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- Python-2.4.1/setup.py~fix-tkinter-detection -+++ Python-2.4.1/setup.py -@@ -999,7 +999,7 @@ - dotversion = dotversion[:-1] + '.' + dotversion[-1] - tcl_include_sub = [] - tk_include_sub = [] -- for dir in inc_dirs: -+ for dir in [os.getenv("STAGING_INCDIR")]: - tcl_include_sub += [dir + os.sep + "tcl" + dotversion] - tk_include_sub += [dir + os.sep + "tk" + dotversion] - tk_include_sub += tcl_include_sub -@@ -1018,22 +1018,6 @@ - if dir not in include_dirs: - include_dirs.append(dir) - -- # Check for various platform-specific directories -- if platform == 'sunos5': -- include_dirs.append('/usr/openwin/include') -- added_lib_dirs.append('/usr/openwin/lib') -- elif os.path.exists('/usr/X11R6/include'): -- include_dirs.append('/usr/X11R6/include') -- added_lib_dirs.append('/usr/X11R6/lib64') -- added_lib_dirs.append('/usr/X11R6/lib') -- elif os.path.exists('/usr/X11R5/include'): -- include_dirs.append('/usr/X11R5/include') -- added_lib_dirs.append('/usr/X11R5/lib') -- else: -- # Assume default location for X11 -- include_dirs.append('/usr/X11/include') -- added_lib_dirs.append('/usr/X11/lib') -- - # If Cygwin, then verify that X is installed before proceeding - if platform == 'cygwin': - x11_inc = find_file('X11/Xlib.h', [], include_dirs) diff --git a/meta-extras/packages/python/python-2.4.4/sitebranding.patch b/meta-extras/packages/python/python-2.4.4/sitebranding.patch deleted file mode 100644 index 85bb83a506..0000000000 --- a/meta-extras/packages/python/python-2.4.4/sitebranding.patch +++ /dev/null @@ -1,19 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- Python-2.4.3/Lib/site.py~sitebranding -+++ Python-2.4.3/Lib/site.py -@@ -305,8 +305,9 @@ - "Jython is maintained by the Jython developers (www.jython.org).") - else: - __builtin__.credits = _Printer("credits", """\ -- Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands -- for supporting Python development. See www.python.org for more information.""") -+ This version of Python has been built by the OpenEmbedded buildsystem (http://openembedded.org). -+ It is a part of the Python-For-Embedded-Systems initiative which is maintained by -+ Michael 'Mickey' Lauer (http://www.Vanille.de/projects/python.spy).""") - here = os.path.dirname(os.__file__) - __builtin__.license = _Printer( - "license", "See http://www.python.org/%.3s/license.html" % sys.version, diff --git a/meta-extras/packages/python/python-gst/python-path.patch b/meta-extras/packages/python/python-gst/python-path.patch deleted file mode 100644 index 465d5b180a..0000000000 --- a/meta-extras/packages/python/python-gst/python-path.patch +++ /dev/null @@ -1,24 +0,0 @@ -Index: gst-python-0.10.7/acinclude.m4 -=================================================================== ---- gst-python-0.10.7.orig/acinclude.m4 2007-03-02 14:10:28.652128590 +0100 -+++ gst-python-0.10.7/acinclude.m4 2007-03-02 14:41:00.106728708 +0100 -@@ -43,12 +43,19 @@ - [AC_REQUIRE([AM_PATH_PYTHON]) - AC_MSG_CHECKING(for headers required to compile python extensions) - dnl deduce PYTHON_INCLUDES -+ -+AC_ARG_WITH(python-includes, -+ [ --with-python-includes=DIR path to Python includes], py_exec_prefix=$withval) -+if test x$py_exec_prefix != x; then -+PYTHON_INCLUDES="-I${py_exec_prefix}/include/python${PYTHON_VERSION}" -+else - py_prefix=`$PYTHON -c "import sys; print sys.prefix"` - py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` - PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" - if test "$py_prefix" != "$py_exec_prefix"; then - PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" - fi -+fi - AC_SUBST(PYTHON_INCLUDES) - dnl check if the headers exist: - save_CPPFLAGS="$CPPFLAGS" diff --git a/meta-extras/packages/python/python-gst_0.10.7.bb b/meta-extras/packages/python/python-gst_0.10.7.bb deleted file mode 100644 index ef4cac7b6b..0000000000 --- a/meta-extras/packages/python/python-gst_0.10.7.bb +++ /dev/null @@ -1,25 +0,0 @@ -DESCRIPTION = "Python Gstreamer bindings" -SECTION = "devel/python" -LICENSE = "LGPL" -DEPENDS = "gstreamer python-pygobject" -PR = "r1" - -SRC_URI = "http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.bz2 \ - file://python-path.patch;patch=1" - -S = "${WORKDIR}/gst-python-${PV}" - -inherit autotools distutils-base pkgconfig - -EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" - -do_configure_prepend() { - install -d ${S}/m4 - install -m 0644 ${S}/common/m4/*.m4 ${S}/m4/ -} - -do_stage() { - autotools_stage_all -} - -FILES_${PN}-dbg = "${libdir}/python2.4/site-packages/gst-0.10/gst/.debug/" diff --git a/meta-extras/packages/python/python-native-2.4.0/bindir-libdir.patch b/meta-extras/packages/python/python-native-2.4.0/bindir-libdir.patch deleted file mode 100644 index 999bddc449..0000000000 --- a/meta-extras/packages/python/python-native-2.4.0/bindir-libdir.patch +++ /dev/null @@ -1,18 +0,0 @@ - -# -# Made by http://www.mn-logistik.de/unsupported/pxa250/patcher -# - ---- Python-2.3.1/Makefile.pre.in~bindir-libdir 2003-09-20 12:50:28.000000000 +0200 -+++ Python-2.3.1/Makefile.pre.in 2003-11-02 19:53:17.000000000 +0100 -@@ -78,8 +78,8 @@ - exec_prefix= @exec_prefix@ - - # Expanded directories --BINDIR= $(exec_prefix)/bin --LIBDIR= $(exec_prefix)/lib -+BINDIR= @bindir@ -+LIBDIR= @libdir@ - MANDIR= @mandir@ - INCLUDEDIR= @includedir@ - CONFINCLUDEDIR= $(exec_prefix)/include diff --git a/meta-extras/packages/python/python-native-2.4.0/cross-distutils.patch b/meta-extras/packages/python/python-native-2.4.0/cross-distutils.patch deleted file mode 100644 index 76ae883c1d..0000000000 --- a/meta-extras/packages/python/python-native-2.4.0/cross-distutils.patch +++ /dev/null @@ -1,38 +0,0 @@ - -# -# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher -# - ---- Python-2.3.3/Lib/distutils/sysconfig.py~cross-distutils 2003-02-10 15:02:33.000000000 +0100 -+++ Python-2.3.3/Lib/distutils/sysconfig.py 2004-03-02 20:15:05.000000000 +0100 -@@ -19,8 +19,8 @@ - from errors import DistutilsPlatformError - - # These are needed in a couple of spots, so just compute them once. --PREFIX = os.path.normpath(sys.prefix) --EXEC_PREFIX = os.path.normpath(sys.exec_prefix) -+PREFIX = os.path.normpath(sys.prefix).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ) -+EXEC_PREFIX = os.path.normpath(sys.exec_prefix).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ) - - # python_build: (Boolean) if true, we're either building Python or - # building an extension with an un-installed Python, so we use -@@ -192,7 +192,8 @@ - else: - # The name of the config.h file changed in 2.2 - config_h = 'pyconfig.h' -- return os.path.join(inc_dir, config_h) -+ print "NOTE: sysconfig.get_config_h_filename() altered for OpenEmbedded" -+ return os.path.join(inc_dir, config_h).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ) - - - def get_makefile_filename(): -@@ -200,7 +201,8 @@ - if python_build: - return os.path.join(os.path.dirname(sys.executable), "Makefile") - lib_dir = get_python_lib(plat_specific=1, standard_lib=1) -- return os.path.join(lib_dir, "config", "Makefile") -+ print "NOTE: sysconfig.get_config_h_filename() altered for OpenEmbedded" -+ return os.path.join(lib_dir, "config", "Makefile").replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ) - - - def parse_config_h(fp, g=None): diff --git a/meta-extras/packages/python/python-native_2.4.0.bb b/meta-extras/packages/python/python-native_2.4.0.bb deleted file mode 100644 index 195d4fc52a..0000000000 --- a/meta-extras/packages/python/python-native_2.4.0.bb +++ /dev/null @@ -1,30 +0,0 @@ -DESCRIPTION = "Python Programming Language" -HOMEPAGE = "http://www.python.org" -LICENSE = "PSF" -SECTION = "devel/python" -PRIORITY = "optional" -DEPENDS = "" -PR = "r0" - -EXCLUDE_FROM_WORLD = "1" - -SRC_URI = "http://www.python.org/ftp/python/2.4/Python-2.4.tar.bz2 \ - file://bindir-libdir.patch;patch=1 \ - file://cross-distutils.patch;patch=1" -S = "${WORKDIR}/Python-2.4" - -inherit autotools native - -EXTRA_OECONF = "--with-threads --with-pymalloc --with-cyclic-gc --without-cxx --with-signal-module --with-wctype-functions \ - --with-prefix=${STAGING_DIR} --with-exec-prefix=${STAGING_DIR}/${BUILD_SYS}" -EXTRA_OEMAKE = 'BUILD_SYS="" HOST_SYS=""' - -do_configure () { - oe_runconf -} - -do_stage_append() { - # install pgen for later usage with non-native builds - install Parser/pgen ${STAGING_DIR}/${BUILD_SYS}/bin/ -} - diff --git a/meta-extras/packages/python/python-pygobject-native_2.12.3.bb b/meta-extras/packages/python/python-pygobject-native_2.12.3.bb deleted file mode 100644 index 86d778c5ab..0000000000 --- a/meta-extras/packages/python/python-pygobject-native_2.12.3.bb +++ /dev/null @@ -1,7 +0,0 @@ -require python-pygobject_${PV}.bb - -DEPENDS = "python-native" - -SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/2.12/pygobject-${PV}.tar.bz2 " - -inherit native diff --git a/meta-extras/packages/python/python-pygobject/python-path.patch b/meta-extras/packages/python/python-pygobject/python-path.patch deleted file mode 100644 index 2ab7bdce6e..0000000000 --- a/meta-extras/packages/python/python-pygobject/python-path.patch +++ /dev/null @@ -1,23 +0,0 @@ -Index: pygobject-2.12.3/m4/python.m4 -=================================================================== ---- pygobject-2.12.3.orig/m4/python.m4 2007-03-02 15:00:20.945635455 +0100 -+++ pygobject-2.12.3/m4/python.m4 2007-03-02 15:00:43.532189734 +0100 -@@ -43,12 +43,18 @@ - [AC_REQUIRE([AM_PATH_PYTHON]) - AC_MSG_CHECKING(for headers required to compile python extensions) - dnl deduce PYTHON_INCLUDES -+AC_ARG_WITH(python-includes, -+ [ --with-python-includes=DIR path to Python includes], py_exec_prefix=$withval) -+if test x$py_exec_prefix != x; then -+PYTHON_INCLUDES="-I${py_exec_prefix}/include/python${PYTHON_VERSION}" -+else - py_prefix=`$PYTHON -c "import sys; print sys.prefix"` - py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` - PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" - if test "$py_prefix" != "$py_exec_prefix"; then - PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" - fi -+fi - AC_SUBST(PYTHON_INCLUDES) - dnl check if the headers exist: - save_CPPFLAGS="$CPPFLAGS" diff --git a/meta-extras/packages/python/python-pygobject_2.12.3.bb b/meta-extras/packages/python/python-pygobject_2.12.3.bb deleted file mode 100644 index d09349575b..0000000000 --- a/meta-extras/packages/python/python-pygobject_2.12.3.bb +++ /dev/null @@ -1,25 +0,0 @@ -DESCRIPTION = "Python GObject bindings" -SECTION = "devel/python" -LICENSE = "LGPL" -DEPENDS = "python-pygobject-native" -PR = "r2" - -SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/2.12/pygobject-${PV}.tar.bz2 \ - file://python-path.patch;patch=1" - -S = "${WORKDIR}/pygobject-${PV}" - -inherit autotools distutils-base pkgconfig - -EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" - -do_stage() { - autotools_stage_all - install -d ${STAGING_LIBDIR}/../share/pygobject/ - cp -dpfR docs/* ${STAGING_LIBDIR}/../share/pygobject/ - install -d ${STAGING_LIBDIR}/../share/gtk-doc/html/pygobject/ - cp docs/style.css ${STAGING_LIBDIR}/../share/gtk-doc/html/pygobject/ -} - -FILES_${PN}-dbg += "${libdir}/python2.4/site-packages/gtk-2.0/gobject/.debug" - diff --git a/meta-extras/packages/python/python-pygtk2/acinclude.m4 b/meta-extras/packages/python/python-pygtk2/acinclude.m4 deleted file mode 100644 index 53518fb2eb..0000000000 --- a/meta-extras/packages/python/python-pygtk2/acinclude.m4 +++ /dev/null @@ -1,90 +0,0 @@ -## this one is commonly used with AM_PATH_PYTHONDIR ... -dnl AM_CHECK_PYMOD(MODNAME [,SYMBOL [,ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]]]) -dnl Check if a module containing a given symbol is visible to python. -AC_DEFUN(AM_CHECK_PYMOD, -[AC_REQUIRE([AM_PATH_PYTHON]) -py_mod_var=`echo $1['_']$2 | sed 'y%./+-%__p_%'` -AC_MSG_CHECKING(for ifelse([$2],[],,[$2 in ])python module $1) -AC_CACHE_VAL(py_cv_mod_$py_mod_var, [ -ifelse([$2],[], [prog=" -import sys -try: - import $1 -except ImportError: - sys.exit(1) -except: - sys.exit(0) -sys.exit(0)"], [prog=" -import $1 -$1.$2"]) -if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC - then - eval "py_cv_mod_$py_mod_var=yes" - else - eval "py_cv_mod_$py_mod_var=no" - fi -]) -py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"` -if test "x$py_val" != xno; then - AC_MSG_RESULT(yes) - ifelse([$3], [],, [$3 -])dnl -else - AC_MSG_RESULT(no) - ifelse([$4], [],, [$4 -])dnl -fi -]) - -dnl a macro to check for ability to create python extensions -dnl AM_CHECK_PYTHON_HEADERS([ACTION-IF-POSSIBLE], [ACTION-IF-NOT-POSSIBLE]) -dnl function also defines PYTHON_INCLUDES -AC_DEFUN([AM_CHECK_PYTHON_HEADERS], -[AC_REQUIRE([AM_PATH_PYTHON]) -AC_MSG_CHECKING(for headers required to compile python extensions) -dnl deduce PYTHON_INCLUDES -AC_ARG_WITH(python-includes, - [ --with-python-includes=DIR path to Python includes], py_exec_prefix=$withval) -if test x$py_exec_prefix != x; then -PYTHON_INCLUDES="-I${py_exec_prefix}/include/python${PYTHON_VERSION}" -else -py_prefix=`$PYTHON -c "import sys; print sys.prefix"` -py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` -PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" -if test "$py_prefix" != "$py_exec_prefix"; then - PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" -fi -fi -AC_SUBST(PYTHON_INCLUDES) -dnl check if the headers exist: -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES" -AC_TRY_CPP([#include <Python.h>],dnl -[AC_MSG_RESULT(found) -$1],dnl -[AC_MSG_RESULT(not found) -$2]) -CPPFLAGS="$save_CPPFLAGS" -]) - -dnl -dnl JH_ADD_CFLAG(FLAG) -dnl checks whether the C compiler supports the given flag, and if so, adds -dnl it to $CFLAGS. If the flag is already present in the list, then the -dnl check is not performed. -AC_DEFUN([JH_ADD_CFLAG], -[ -case " $CFLAGS " in -*@<:@\ \ @:>@$1@<:@\ \ @:>@*) - ;; -*) - save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $1" - AC_MSG_CHECKING([whether [$]CC understands $1]) - AC_TRY_COMPILE([], [], [jh_has_option=yes], [jh_has_option=no]) - AC_MSG_RESULT($jh_has_option) - if test $jh_has_option = no; then - CFLAGS="$save_CFLAGS" - fi - ;; -esac]) diff --git a/meta-extras/packages/python/python-pygtk2_2.8.6.bb b/meta-extras/packages/python/python-pygtk2_2.8.6.bb deleted file mode 100644 index bc798bf567..0000000000 --- a/meta-extras/packages/python/python-pygtk2_2.8.6.bb +++ /dev/null @@ -1,28 +0,0 @@ -DESCRIPTION = "Python GTK+ Bindings" -SECTION = "devel/python" -PRIORITY = "optional" -DEPENDS = "gtk+ libglade" -RDEPENDS = "python-shell" -SRCNAME = "pygtk" -LICENSE = "LGPL" -PR = "r2" - -SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.8/${SRCNAME}-${PV}.tar.bz2 \ - file://acinclude.m4" -S = "${WORKDIR}/${SRCNAME}-${PV}" - -inherit autotools pkgconfig distutils-base - -EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" - -do_configure_prepend() { - install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/ -} - -do_stage() { - autotools_stage_includes - install -m 0755 codegen/pygtk-codegen-2.0 ${STAGING_BINDIR_NATIVE}/ -} - -FILES_${PN}-dbg = "${libdir}/python2.4/site-packages/gtk-2.0/.debug/ \ - ${libdir}/python2.4/site-packages/gtk-2.0/gtk/.debug/" diff --git a/meta-extras/packages/python/python-scons-native_0.96.1.bb b/meta-extras/packages/python/python-scons-native_0.96.1.bb deleted file mode 100644 index 31bce5583d..0000000000 --- a/meta-extras/packages/python/python-scons-native_0.96.1.bb +++ /dev/null @@ -1,14 +0,0 @@ -require python-scons_${PV}.bb -inherit native -DEPENDS = "python-native" -RDEPENDS = "" - -do_stage() { - BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ - ${STAGING_BINDIR}/python setup.py install --prefix=${STAGING_LIBDIR}/.. --install-data=${STAGING_DATADIR} || \ - oefatal "python setup.py install execution failed." -} - -do_install() { - : -} diff --git a/meta-extras/packages/python/python-scons_0.96.1.bb b/meta-extras/packages/python/python-scons_0.96.1.bb deleted file mode 100644 index dc5b40243e..0000000000 --- a/meta-extras/packages/python/python-scons_0.96.1.bb +++ /dev/null @@ -1,10 +0,0 @@ -DESCRIPTION = "A Software Construction Tool" -SECTION = "devel/python" -PRIORITY = "optional" -LICENSE = "GPL" -SRCNAME = "scons" - -SRC_URI = "${SOURCEFORGE_MIRROR}/scons/scons-${PV}.tar.gz" -S = "${WORKDIR}/${SRCNAME}-${PV}" - -inherit distutils diff --git a/meta-extras/packages/python/python_2.4.4.bb b/meta-extras/packages/python/python_2.4.4.bb deleted file mode 100644 index fa3c1fdb02..0000000000 --- a/meta-extras/packages/python/python_2.4.4.bb +++ /dev/null @@ -1,70 +0,0 @@ -DESCRIPTION = "Python Programming Language" -HOMEPAGE = "http://www.python.org" -LICENSE = "PSF" -SECTION = "devel/python" -PRIORITY = "optional" -DEPENDS = "python-native readline zlib gdbm openssl" -DEPENDS_sharprom = "python-native readline zlib gdbm openssl" -PR = "ml1" - -PYTHON_MAJMIN = "2.4" - -SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \ - file://bindir-libdir.patch;patch=1 \ - file://crosscompile.patch;patch=1 \ - file://fix-tkinter-detection.patch;patch=1 \ - file://sitebranding.patch;patch=1" -S = "${WORKDIR}/Python-${PV}" - -inherit autotools - -EXTRA_OECONF = "--with-threads --with-pymalloc --with-cyclic-gc \ - --without-cxx --with-signal-module --with-wctype-functions \ - --enable-shared" - -# -# copy config.h and an appropriate Makefile for distutils.sysconfig -# which laters uses the information out of these to compile extensions -# -do_compile_prepend() { - install -d ${STAGING_INCDIR}/python${PYTHON_MAJMIN}/ - install -d ${STAGING_LIBDIR}/python${PYTHON_MAJMIN}/config/ - install -m 0644 pyconfig.h ${STAGING_INCDIR}/python${PYTHON_MAJMIN}/ - install -m 0644 Makefile Makefile.orig - install -m 0644 Makefile Makefile.backup - sed -e 's,${includedir},${STAGING_INCDIR},' < Makefile.backup > Makefile - install -m 0644 Makefile Makefile.backup - sed -e 's,${libdir},${STAGING_LIBDIR},' < Makefile.backup > Makefile - install -m 0644 Makefile ${STAGING_LIBDIR}/python${PYTHON_MAJMIN}/config/ -} - -do_compile() { - oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \ - HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \ - STAGING_LIBDIR=${STAGING_LIBDIR} \ - STAGING_INCDIR=${STAGING_INCDIR} \ - BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ - OPT="${CFLAGS}" -} - -do_stage() { - install -m 0644 Include/*.h ${STAGING_INCDIR}/python${PYTHON_MAJMIN}/ - oe_libinstall -a -so libpython2.4 ${STAGING_LIBDIR} -} - -do_install() { - install -m 0644 Makefile.orig Makefile - oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \ - HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \ - STAGING_LIBDIR=${STAGING_LIBDIR} \ - STAGING_INCDIR=${STAGING_INCDIR} \ - BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ - DESTDIR=${D} install -} - -require python-${PV}-manifest.inc - -RPROVIDES_python-core = "python" -RPROVIDES_python-curses = "python" -PACKAGES =+ "libpython2" -FILES_libpython2 = "${libdir}/libpython*" diff --git a/meta-extras/packages/sqlite/sqlite3-3.3.7/cross-compile.patch b/meta-extras/packages/sqlite/sqlite3-3.3.7/cross-compile.patch deleted file mode 100644 index 31d4f0d162..0000000000 --- a/meta-extras/packages/sqlite/sqlite3-3.3.7/cross-compile.patch +++ /dev/null @@ -1,92 +0,0 @@ ---- sqlite-3.3.7/configure.ac.orig 2006-08-21 00:20:50.000000000 +0200 -+++ sqlite-3.3.7/configure.ac 2006-08-21 00:22:35.000000000 +0200 -@@ -187,10 +187,11 @@ - default_build_cflags="-g" - if test "$config_BUILD_CC" = ""; then - AC_PROG_CC -- if test "$cross_compiling" = "yes"; then -- AC_MSG_ERROR([unable to find a compiler for building build tools]) -- fi -- BUILD_CC=$CC -+# if test "$cross_compiling" = "yes"; then -+# AC_MSG_ERROR([unable to find a compiler for building build tools]) -+# fi -+# BUILD_CC=$CC -+BUILD_CC=gcc - default_build_cflags=$CFLAGS - else - BUILD_CC=$config_BUILD_CC -@@ -238,6 +239,12 @@ - TARGET_LINK=$config_TARGET_LINK - fi - AC_MSG_RESULT($TARGET_LINK) -+if test "$config_TARGET_LFLAGS" != ""; then -+ TARGET_LFLAGS=$config_TARGET_LFLAGS -+ else -+ TARGET_LFLAGS=$BUILD_LFLAGS -+ fi -+AC_MSG_RESULT($TARGET_LFLAGS) - AC_MSG_CHECKING([switches on the target compiler]) - if test "$config_TARGET_TFLAGS" != ""; then - TARGET_TFLAGS=$config_TARGET_TFLAGS -@@ -592,15 +599,7 @@ - # Figure out what C libraries are required to compile programs - # that use "readline()" library. - # --if test "$config_TARGET_READLINE_LIBS" != ""; then -- TARGET_READLINE_LIBS="$config_TARGET_READLINE_LIBS" --else -- CC=$TARGET_CC -- LIBS="" -- AC_SEARCH_LIBS(tgetent, [readline ncurses curses termcap]) -- AC_CHECK_LIB([readline], [readline]) -- TARGET_READLINE_LIBS="$LIBS" --fi -+TARGET_READLINE_LIBS="-lreadline" - AC_SUBST(TARGET_READLINE_LIBS) - - ########## -@@ -615,41 +614,8 @@ - ########## - # Figure out where to get the READLINE header files. - # --AC_MSG_CHECKING([readline header files]) --found=no --if test "$config_TARGET_READLINE_INC" != ""; then -- TARGET_READLINE_INC=$config_TARGET_READLINE_INC -- found=yes --fi --if test "$found" = "yes"; then -- AC_MSG_RESULT($TARGET_READLINE_INC) --else -- AC_MSG_RESULT(not specified: still searching...) -- AC_CHECK_HEADER(readline.h, [found=yes]) --fi --if test "$found" = "no"; then -- for dir in /usr /usr/local /usr/local/readline /usr/contrib /mingw; do -- AC_CHECK_FILE($dir/include/readline.h, found=yes) -- if test "$found" = "yes"; then -- TARGET_READLINE_INC="-I$dir/include" -- break -- fi -- AC_CHECK_FILE($dir/include/readline/readline.h, found=yes) -- if test "$found" = "yes"; then -- TARGET_READLINE_INC="-I$dir/include/readline" -- break -- fi -- done --fi --if test "$found" = "yes"; then -- if test "$TARGET_READLINE_LIBS" = ""; then -- TARGET_HAVE_READLINE=0 -- else -- TARGET_HAVE_READLINE=1 -- fi --else -- TARGET_HAVE_READLINE=0 --fi -+TARGET_READLINE_INC="" -+TARGET_HAVE_READLINE=1 - AC_SUBST(TARGET_READLINE_INC) - AC_SUBST(TARGET_HAVE_READLINE) - diff --git a/meta-extras/packages/sqlite/sqlite3-3.3.7/ldflags.patch b/meta-extras/packages/sqlite/sqlite3-3.3.7/ldflags.patch deleted file mode 100644 index ee5105ffff..0000000000 --- a/meta-extras/packages/sqlite/sqlite3-3.3.7/ldflags.patch +++ /dev/null @@ -1,67 +0,0 @@ ---- sqlite-3.3.7/Makefile.in.orig 2006-08-20 23:05:36.000000000 +0200 -+++ sqlite-3.3.7/Makefile.in 2006-08-20 23:42:49.000000000 +0200 -@@ -31,6 +31,10 @@ - # - TCC = @TARGET_CC@ @TARGET_CFLAGS@ -I. -I${TOP}/src - -+# OE overrides -+# -+TARGET_LFLAGS = @TARGET_LFLAGS@ -+ - # Define -DNDEBUG to compile without debugging (i.e., for production usage) - # Omitting the define will cause extra debugging code to be inserted and - # includes extra comments when "EXPLAIN stmt" is used. -@@ -257,17 +261,17 @@ - | $(NAWK) '{print $$5,$$6}' >last_change - - libsqlite3.la: $(LIBOBJ) -- $(LTLINK) -o libsqlite3.la $(LIBOBJ) $(LIBPTHREAD) \ -+ $(LTLINK) -o libsqlite3.la $(LIBOBJ) $(TARGET_LFLAGS) $(LIBPTHREAD) \ - ${ALLOWRELEASE} -rpath $(libdir) -version-info "8:6:8" - - libtclsqlite3.la: tclsqlite.lo libsqlite3.la - $(LTLINK) -o libtclsqlite3.la tclsqlite.lo \ -- $(LIBOBJ) @TCL_STUB_LIB_SPEC@ $(LIBPTHREAD) \ -+ $(LIBOBJ) @TCL_STUB_LIB_SPEC@ $(TARGET_LFLAGS) $(LIBPTHREAD) \ - -rpath $(libdir)/sqlite \ - -version-info "8:6:8" - - sqlite3$(TEXE): $(TOP)/src/shell.c libsqlite3.la sqlite3.h -- $(LTLINK) $(READLINE_FLAGS) $(LIBPTHREAD) \ -+ $(LTLINK) $(TARGET_LFLAGS) $(READLINE_FLAGS) $(LIBPTHREAD) \ - -o $@ $(TOP)/src/shell.c libsqlite3.la \ - $(LIBREADLINE) $(TLIBS) - -@@ -456,12 +460,12 @@ - - tclsqlite3: tclsqlite-shell.lo libsqlite3.la - $(LTLINK) -o tclsqlite3 tclsqlite-shell.lo \ -- libsqlite3.la $(LIBTCL) -+ libsqlite3.la $(TARGET_LFLAGS) $(LIBTCL) - - testfixture$(TEXE): $(TOP)/src/tclsqlite.c libsqlite3.la $(TESTSRC) - $(LTLINK) -DTCLSH=1 -DSQLITE_TEST=1 -DSQLITE_CRASH_TEST=1 \ - $(TEMP_STORE) -o testfixture $(TESTSRC) $(TOP)/src/tclsqlite.c \ -- libsqlite3.la $(LIBTCL) -+ libsqlite3.la $(TARGET_LFLAGS) $(LIBTCL) - - - fulltest: testfixture$(TEXE) sqlite3$(TEXE) -@@ -471,7 +475,7 @@ - ./testfixture $(TOP)/test/quick.test - - sqlite3_analyzer$(TEXE): $(TOP)/src/tclsqlite.c libtclsqlite3.la \ -- $(TESTSRC) $(TOP)/tool/spaceanal.tcl -+ $(TARGET_LFLAGS) $(TESTSRC) $(TOP)/tool/spaceanal.tcl - sed \ - -e '/^#/d' \ - -e 's,\\,\\\\,g' \ -@@ -481,7 +485,7 @@ - $(TOP)/tool/spaceanal.tcl >spaceanal_tcl.h - $(LTLINK) -DTCLSH=2 -DSQLITE_TEST=1 $(TEMP_STORE)\ - -o sqlite3_analyzer$(EXE) $(TESTSRC) $(TOP)/src/tclsqlite.c \ -- libtclsqlite3.la $(LIBTCL) -+ libtclsqlite3.la $(TARGET_LFLAGS) $(LIBTCL) - - # Rules used to build documentation - # diff --git a/meta-extras/packages/sqlite/sqlite3-3.3.7/libtool.patch b/meta-extras/packages/sqlite/sqlite3-3.3.7/libtool.patch deleted file mode 100644 index ccf9993ed2..0000000000 --- a/meta-extras/packages/sqlite/sqlite3-3.3.7/libtool.patch +++ /dev/null @@ -1,25 +0,0 @@ -Index: sqlite-3.2.1/Makefile.in -=================================================================== ---- sqlite-3.2.1.orig/Makefile.in 2005-03-23 17:09:39.000000000 +0100 -+++ sqlite-3.2.1/Makefile.in 2005-04-25 23:11:20.000000000 +0200 -@@ -15,7 +15,10 @@ - # The toplevel directory of the source tree. This is the directory - # that contains this "Makefile.in" and the "configure.in" script. - # --TOP = @srcdir@ -+TOP = $(srcdir) -+srcdir = @srcdir@ -+top_srcdir = @top_srcdir@ -+top_builddir = . - - # C Compiler and options for use in building executables that - # will run on the platform that is doing the build. -@@ -96,7 +99,7 @@ - exec_prefix = @exec_prefix@ - libdir = @libdir@ - INSTALL = @INSTALL@ --LIBTOOL = ./libtool -+LIBTOOL = @LIBTOOL@ - ALLOWRELEASE = @ALLOWRELEASE@ - - # libtool compile/link/install diff --git a/meta-extras/packages/sqlite/sqlite3.inc b/meta-extras/packages/sqlite/sqlite3.inc deleted file mode 100644 index 01290c2e41..0000000000 --- a/meta-extras/packages/sqlite/sqlite3.inc +++ /dev/null @@ -1,44 +0,0 @@ -DESCRIPTION = "An Embeddable SQL Database Engine" -SECTION = "libs" -PRIORITY = "optional" -DEPENDS = "readline ncurses" -LICENSE = "PD" - -SRC_URI = "http://www.sqlite.org/sqlite-${PV}.tar.gz \ - file://cross-compile.patch;patch=1 \ - file://libtool.patch;patch=1 \ - file://ldflags.patch;patch=1" -S = "${WORKDIR}/sqlite-${PV}" - -inherit autotools pkgconfig - -EXTRA_OECONF = "--disable-tcl --enable-shared \ - --enable-threadsafe" -export config_BUILD_CC = "${BUILD_CC}" -export config_BUILD_CFLAGS = "${BUILD_CFLAGS}" -export config_BUILD_LIBS = "${BUILD_LDFLAGS}" -export config_TARGET_CC = "${CC}" -export config_TARGET_LINK = "${CCLD}" -export config_TARGET_CFLAGS = "${CFLAGS}" -export config_TARGET_LFLAGS = "${LDFLAGS}" - -do_compile_prepend() { - oe_runmake sqlite3.h - install -m 0644 sqlite3.h ${STAGING_INCDIR} -} - -do_stage() { - oe_libinstall -so libsqlite3 ${STAGING_LIBDIR} -} - -#do_install() { -# oe_runmake install DESTDIR=${D} prefix=${prefix} exec_prefix=${exec_prefix} -#} - -PACKAGES = "libsqlite libsqlite-dev libsqlite-doc sqlite3 sqlite3-dbg" -FILES_sqlite3 = "${bindir}/*" -FILES_libsqlite = "${libdir}/*.so.*" -FILES_libsqlite-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so \ - ${libdir}/pkgconfig ${includedir}" -FILES_libsqlite-doc = "${docdir} ${mandir} ${infodir}" -AUTO_LIBNAME_PKGS = "libsqlite" diff --git a/meta-extras/packages/sqlite/sqlite3_3.3.7.bb b/meta-extras/packages/sqlite/sqlite3_3.3.7.bb deleted file mode 100644 index d21fb6ad3e..0000000000 --- a/meta-extras/packages/sqlite/sqlite3_3.3.7.bb +++ /dev/null @@ -1,2 +0,0 @@ -require sqlite3.inc -PR = "r2" diff --git a/meta-extras/packages/syslinux/syslinux-native-2.11/edx_assume_zero.patch b/meta-extras/packages/syslinux/syslinux-native-2.11/edx_assume_zero.patch deleted file mode 100644 index 7243464224..0000000000 --- a/meta-extras/packages/syslinux/syslinux-native-2.11/edx_assume_zero.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- syslinux-2.11/ldlinux.asm.orig 2005-11-01 14:25:10.767581544 -0700 -+++ syslinux-2.11/ldlinux.asm 2005-11-01 14:25:42.175806768 -0700 -@@ -724,7 +724,6 @@ - - mov eax,[bsHidden] ; Hidden sectors - add edx,[bxResSectors] -- add eax,edx - mov ecx,[bxFATsecs] ; Sectors/FAT - fat_load_loop: - mov ebp,ecx ; Make sure high EBP = 0 diff --git a/meta-extras/packages/syslinux/syslinux-native_2.11.bb b/meta-extras/packages/syslinux/syslinux-native_2.11.bb deleted file mode 100644 index a05728f0a5..0000000000 --- a/meta-extras/packages/syslinux/syslinux-native_2.11.bb +++ /dev/null @@ -1,10 +0,0 @@ -PR="r1" - -SRC_URI="${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/Old/syslinux-${PV}.tar.bz2 \ - file://edx_assume_zero.patch;patch=1" - -require syslinux.inc - -do_compile() { - oe_runmake syslinux -} diff --git a/meta-extras/packages/syslinux/syslinux-native_3.11.bb b/meta-extras/packages/syslinux/syslinux-native_3.11.bb deleted file mode 100644 index 28d750aab5..0000000000 --- a/meta-extras/packages/syslinux/syslinux-native_3.11.bb +++ /dev/null @@ -1,5 +0,0 @@ -PR="r1" - -SRC_URI="${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/Old/syslinux-${PV}.tar.bz2 " - -require syslinux3.inc diff --git a/meta-extras/packages/syslinux/syslinux-native_3.31.bb b/meta-extras/packages/syslinux/syslinux-native_3.31.bb deleted file mode 100644 index 6971874ea3..0000000000 --- a/meta-extras/packages/syslinux/syslinux-native_3.31.bb +++ /dev/null @@ -1,3 +0,0 @@ -SRC_URI="${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/syslinux-${PV}.tar.bz2 " - -require syslinux3.inc diff --git a/meta-extras/packages/syslinux/syslinux-native_3.36.bb b/meta-extras/packages/syslinux/syslinux-native_3.36.bb deleted file mode 100644 index d9019a4ab4..0000000000 --- a/meta-extras/packages/syslinux/syslinux-native_3.36.bb +++ /dev/null @@ -1,3 +0,0 @@ -SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/boot/syslinux/syslinux-${PV}.tar.bz2 " - -require syslinux3.inc diff --git a/meta-extras/packages/syslinux/syslinux.inc b/meta-extras/packages/syslinux/syslinux.inc deleted file mode 100644 index 41be168d12..0000000000 --- a/meta-extras/packages/syslinux/syslinux.inc +++ /dev/null @@ -1,29 +0,0 @@ -# syslinux-native OE build file -# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved -# Released under the MIT license (see packages/COPYING) - -DESCRIPTION="A multi-purpose linux bootloader" -HOMEPAGE="http://syslinux.zytor.com/" -LICENSE="GPL" - -# If you really want to run syslinux, you need mtools. We just want the -# ldlinux.* stuff for now, so skip mtools-native -DEPENDS="nasm-native" - -S="${WORKDIR}/syslinux-${PV}" - - -inherit native - -do_stage() { - install -d ${STAGING_BINDIR} - install -m 755 ${S}/syslinux ${STAGING_BINDIR} - - # When building media, the syslinux binary isn't nearly as useful - # as the DOS data files, so we copy those into a special location - # for usage during a image build stage - - install -d ${STAGING_DATADIR}/syslinux - install -m 644 ${S}/ldlinux.sys ${STAGING_DATADIR}/syslinux/ldlinux.sys - install -m 644 ${S}/ldlinux.bss ${STAGING_DATADIR}/syslinux/ldlinux.bss -} diff --git a/meta-extras/packages/syslinux/syslinux3.inc b/meta-extras/packages/syslinux/syslinux3.inc deleted file mode 100644 index 95124d6160..0000000000 --- a/meta-extras/packages/syslinux/syslinux3.inc +++ /dev/null @@ -1,21 +0,0 @@ -require syslinux.inc - -STAGE_TEMP="${WORKDIR}/stage_temp" - -do_stage() { - install -d ${STAGE_TEMP} - oe_runmake install INSTALLROOT="${STAGE_TEMP}" - - install -d ${STAGING_BINDIR} - install -m 755 ${STAGE_TEMP}/usr/bin/syslinux ${STAGING_BINDIR} - install -m 755 ${STAGE_TEMP}/sbin/extlinux ${STAGING_BINDIR} - - # When building media, the syslinux binary isn't nearly as useful - # as the DOS data files, so we copy those into a special location - # for usage during a image build stage - - install -d ${STAGING_DATADIR}/syslinux - install -m 0644 ${STAGE_TEMP}/usr/lib/syslinux/isolinux.bin ${STAGING_DATADIR}/syslinux/isolinux.bin - install -m 644 ${S}/ldlinux.sys ${STAGING_DATADIR}/syslinux/ldlinux.sys - install -m 644 ${S}/ldlinux.bss ${STAGING_DATADIR}/syslinux/ldlinux.bss -} diff --git a/meta-extras/packages/syslog-ng/files/initscript b/meta-extras/packages/syslog-ng/files/initscript deleted file mode 100644 index b95e8adc20..0000000000 --- a/meta-extras/packages/syslog-ng/files/initscript +++ /dev/null @@ -1,45 +0,0 @@ -#! /bin/sh -# -# This is an init script for openembedded -# Copy it to /etc/init.d/syslog-ng and type -# > update-rc.d syslog-ng defaults 5 -# - - -syslog_ng=/usr/sbin/syslog-ng -test -x "$syslog_ng" || exit 0 - -case "$1" in - start) - echo -n "Starting syslog-ng:" - start-stop-daemon --start --quiet --exec $syslog_ng - echo "." - ;; - stop) - echo -n "Stopping syslog-ng:" - start-stop-daemon --stop --quiet --pidfile /var/run/syslog-ng.pid - echo "." - ;; - reload|force-reload) - start-stop-daemon --stop --quiet --signal 1 --exec $syslog_ng - ;; - restart) - echo "Stopping syslog-ng:" - start-stop-daemon --stop --quiet --pidfile /var/run/syslog-ng.pid - echo -n "Waiting for syslog-ng to die off" - for i in 1 2 3 ; - do - sleep 1 - echo -n "." - done - echo "" - echo -n "Starting syslog-ng:" - start-stop-daemon --start --quiet --exec $syslog_ng - echo "." - ;; - *) - echo "Usage: /etc/init.d/syslog-ng {start|stop|reload|restart|force-reload}" - exit 1 -esac - -exit 0 diff --git a/meta-extras/packages/syslog-ng/files/syslog-ng.conf b/meta-extras/packages/syslog-ng/files/syslog-ng.conf deleted file mode 100644 index 4d1e9f8b22..0000000000 --- a/meta-extras/packages/syslog-ng/files/syslog-ng.conf +++ /dev/null @@ -1,89 +0,0 @@ -# -# Syslog-ng example configuration for for Debian GNU/Linux -# -# Copyright (c) 1999 anonymous -# Copyright (c) 1999 Balazs Scheidler -# $Id: syslog-ng.conf.sample,v 1.3 2003/05/20 08:57:27 asd Exp $ -# -# Syslog-ng configuration file, compatible with default Debian syslogd -# installation. -# - -options { long_hostnames(off); sync(0); }; - -source src { file("/proc/kmsg"); unix-stream("/dev/log"); internal(); }; -source net { udp(); }; - -destination authlog { file("/var/log/auth.log"); }; -destination syslog { file("/var/log/syslog"); }; -destination cron { file("/var/log/cron.log"); }; -destination daemon { file("/var/log/daemon.log"); }; -destination kern { file("/var/log/kern.log"); }; -destination lpr { file("/var/log/lpr.log"); }; -destination user { file("/var/log/user.log"); }; -destination uucp { file("/var/log/uucp.log"); }; -destination ppp { file("/var/log/ppp.log"); }; -destination mail { file("/var/log/mail.log"); }; - -destination mailinfo { file("/var/log/mail.info"); }; -destination mailwarn { file("/var/log/mail.warn"); }; -destination mailerr { file("/var/log/mail.err"); }; - -destination newscrit { file("/var/log/news/news.crit"); }; -destination newserr { file("/var/log/news/news.err"); }; -destination newsnotice { file("/var/log/news/news.notice"); }; - -destination debug { file("/var/log/debug"); }; -destination messages { file("/var/log/messages"); }; -destination console { usertty("root"); }; -destination console_all { file("/dev/tty12"); }; -#destination loghost { udp("loghost" port(999)); }; - - -destination xconsole { pipe("/dev/xconsole"); }; - -filter f_auth { facility(auth); }; -filter f_authpriv { facility(auth, authpriv); }; -filter f_syslog { not facility(authpriv, mail); }; -filter f_cron { facility(cron); }; -filter f_daemon { facility(daemon); }; -filter f_kern { facility(kern); }; -filter f_lpr { facility(lpr); }; -filter f_mail { facility(mail); }; -filter f_user { facility(user); }; -filter f_uucp { facility(cron); }; -filter f_ppp { facility(local2); }; -filter f_news { facility(news); }; -filter f_debug { not facility(auth, authpriv, news, mail); }; -filter f_messages { level(info..warn) - and not facility(auth, authpriv, mail, news); }; -filter f_emergency { level(emerg); }; - -filter f_info { level(info); }; -filter f_notice { level(notice); }; -filter f_warn { level(warn); }; -filter f_crit { level(crit); }; -filter f_err { level(err); }; - -log { source(src); filter(f_authpriv); destination(authlog); }; -log { source(src); filter(f_syslog); destination(syslog); }; -log { source(src); filter(f_cron); destination(cron); }; -log { source(src); filter(f_daemon); destination(daemon); }; -log { source(src); filter(f_kern); destination(kern); }; -log { source(src); filter(f_lpr); destination(lpr); }; -log { source(src); filter(f_mail); destination(mail); }; -log { source(src); filter(f_user); destination(user); }; -log { source(src); filter(f_uucp); destination(uucp); }; -log { source(src); filter(f_mail); filter(f_info); destination(mailinfo); }; -log { source(src); filter(f_mail); filter(f_warn); destination(mailwarn); }; -log { source(src); filter(f_mail); filter(f_err); destination(mailerr); }; -log { source(src); filter(f_news); filter(f_crit); destination(newscrit); }; -log { source(src); filter(f_news); filter(f_err); destination(newserr); }; -log { source(src); filter(f_news); filter(f_notice); destination(newsnotice); }; -log { source(src); filter(f_debug); destination(debug); }; -log { source(src); filter(f_messages); destination(messages); }; -log { source(src); filter(f_emergency); destination(console); }; -log { source(src); filter(f_ppp); destination(ppp); }; -log { source(src); destination(console_all); }; - - diff --git a/meta-extras/packages/syslog-ng/syslog-ng_1.6.8.bb b/meta-extras/packages/syslog-ng/syslog-ng_1.6.8.bb deleted file mode 100644 index d8e02d0da2..0000000000 --- a/meta-extras/packages/syslog-ng/syslog-ng_1.6.8.bb +++ /dev/null @@ -1,30 +0,0 @@ -PR = "r9" -DESCRIPTION = "Alternative system logger daemon" -DEPENDS = "libol flex" - -SRC_URI = "http://www.balabit.com/downloads/syslog-ng/1.6/src/${PN}-${PV}.tar.gz \ - file://syslog-ng.conf \ - file://initscript" - -S = "${WORKDIR}/${PN}-${PV}" -inherit autotools update-rc.d - -EXTRA_OECONF = "--with-libol=${STAGING_BINDIR_CROSS}/" -CONFFILES_${PN} = "${sysconfdir}/${PN}/syslog-ng.conf" -INITSCRIPT_NAME = "syslog-ng" -INITSCRIPT_PARAMS = "defaults 05" - -do_install_append() { - install -d ${D}/${sysconfdir}/${PN} - install ${WORKDIR}/syslog-ng.conf ${D}${sysconfdir}/${PN}/syslog-ng.conf - install -d ${D}/${sysconfdir}/init.d - install -m 755 ${WORKDIR}/initscript ${D}/${sysconfdir}/init.d/syslog-ng -} - -pkg_postinst() { - update-rc.d -f syslog remove -} - -pkg_postrm() { - update-rc.d syslog add 5 -} diff --git a/meta-extras/packages/tasks/task-oh-extras.bb b/meta-extras/packages/tasks/task-oh-extras.bb deleted file mode 100644 index c9ad02cb5b..0000000000 --- a/meta-extras/packages/tasks/task-oh-extras.bb +++ /dev/null @@ -1,10 +0,0 @@ -PACKAGES = "task-oh-extraapps" -DESCRIPTION = "Extras Tasks for OpenedHand Poky" -PR = "r0" - -ALLOW_EMPTY = "1" - -RDEPENDS_task-oh-extraapps = "\ - madplay \ - maemo-mapper-nohildon \ - mc" diff --git a/meta-extras/packages/twisted/twisted-2.5.0/remove-zope-check.patch b/meta-extras/packages/twisted/twisted-2.5.0/remove-zope-check.patch deleted file mode 100644 index 2bd1b191da..0000000000 --- a/meta-extras/packages/twisted/twisted-2.5.0/remove-zope-check.patch +++ /dev/null @@ -1,18 +0,0 @@ -Index: Twisted-2.5.0/TwistedCore-2.5.0/twisted/__init__.py -=================================================================== ---- Twisted-2.5.0.orig/TwistedCore-2.5.0/twisted/__init__.py 2007-03-05 16:30:08.117422472 +0100 -+++ Twisted-2.5.0/TwistedCore-2.5.0/twisted/__init__.py 2007-03-05 16:30:13.810553949 +0100 -@@ -14,13 +14,6 @@ - raise RuntimeError("Twisted requires Python 2.3 or later.") - del sys - --# Ensure zope.interface is installed --try: -- from zope.interface import Interface -- del Interface --except ImportError: -- raise ImportError("you need zope.interface installed " -- "(http://zope.org/Products/ZopeInterface/)") - - # Ensure compat gets imported - from twisted.python import compat diff --git a/meta-extras/packages/twisted/twisted_2.5.0.bb b/meta-extras/packages/twisted/twisted_2.5.0.bb deleted file mode 100644 index e00b351b2a..0000000000 --- a/meta-extras/packages/twisted/twisted_2.5.0.bb +++ /dev/null @@ -1,175 +0,0 @@ -DESCRIPTION = "Twisted is an event-driven networking framework written in Python and licensed under the LGPL. \ -Twisted supports TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of protocols \ -(including HTTP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more." -HOMEPAGE = "http://www.twistedmatrix.com" -SECTION = "console/network" -PRIORITY = "optional" -LICENSE = "LGPL" -RDEPENDS = "python-core python-zopeinterface" -RDEPENDS_python-twisted += "python-twisted-bin python-twisted-conch python-twisted-core \ - python-twisted-lore python-twisted-mail python-twisted-names \ - python-twisted-news python-twisted-runner python-twisted-web \ - python-twisted-words" -PR = "r5" - -SRC_URI = "http://tmrc.mit.edu/mirror/twisted/Twisted/2.5/Twisted-${PV}.tar.bz2 \ - file://remove-zope-check.patch;patch=1" - -S = "${WORKDIR}/Twisted-${PV}" - -inherit distutils - -PACKAGES += "python-twisted-zsh python-twisted-test python-twisted-protocols \ - python-twisted-bin python-twisted-conch python-twisted-lore \ - python-twisted-mail python-twisted-names python-twisted-news python-twisted-runner \ - python-twisted-web python-twisted-words python-twisted python-twisted-core \ - " - -ALLOW_EMPTY = "1" -FILES_${PN} = "" -FILES_python-twisted = "" - -FILES_python-twisted-test = " \ -${libdir}/python2.4/site-packages/twisted/python/web/test \ -" - -FILES_python-twisted-protocols = " \ -${libdir}/python2.4/site-packages/twisted/python/protocols/ \ -" - -FILES_python-twisted-zsh = " \ -${libdir}/python2.4/site-packages/twisted/python/zsh \ -${libdir}/python2.4/site-packages/twisted/python/zshcomp.* \ -" - -FILES_python-twisted-bin = " \ -${libdir}/python2.4/site-packages/twisted/protocols/_c_urlarg.so \ -${libdir}/python2.4/site-packages/twisted/spread/cBanana.so" - -FILES_python-twisted-conch = " \ -${bindir}/ckeygen \ -${bindir}/tkconch \ -${bindir}/conch \ -${bindir}/conchftp \ -${libdir}/python2.4/site-packages/twisted/plugins/twisted_conch.py \ -${libdir}/python2.4/site-packages/twisted/conch \ -" - -FILES_python-twisted-core = " \ -${bindir}/manhole \ -${bindir}/mktap \ -${bindir}/twistd \ -${bindir}/tap2deb \ -${bindir}/tap2rpm \ -${bindir}/tapconvert \ -${bindir}/tkmktap \ -${bindir}/trial \ -${libdir}/python2.4/site-packages/twisted/*.py \ -${libdir}/python2.4/site-packages/twisted/plugins/__init__.py \ -${libdir}/python2.4/site-packages/twisted/plugins/notestplugin.py \ -${libdir}/python2.4/site-packages/twisted/plugins/testplugin.py \ -${libdir}/python2.4/site-packages/twisted/plugins/twisted_ftp.py \ -${libdir}/python2.4/site-packages/twisted/plugins/twisted_inet.py \ -${libdir}/python2.4/site-packages/twisted/plugins/twisted_manhole.py \ -${libdir}/python2.4/site-packages/twisted/plugins/twisted_portforward.py \ -${libdir}/python2.4/site-packages/twisted/plugins/twisted_socks.py \ -${libdir}/python2.4/site-packages/twisted/plugins/twisted_telnet.py \ -${libdir}/python2.4/site-packages/twisted/plugins/twisted_trial.py \ -${libdir}/python2.4/site-packages/twisted/plugins/dropin.cache \ -${libdir}/python2.4/site-packages/twisted/application \ -${libdir}/python2.4/site-packages/twisted/cred \ -${libdir}/python2.4/site-packages/twisted/enterprise \ -${libdir}/python2.4/site-packages/twisted/internet \ -${libdir}/python2.4/site-packages/twisted/manhole \ -${libdir}/python2.4/site-packages/twisted/manhole \ -${libdir}/python2.4/site-packages/twisted/persisted \ -${libdir}/python2.4/site-packages/twisted/protocols\ -${libdir}/python2.4/site-packages/twisted/python\ -${libdir}/python2.4/site-packages/twisted/python/timeoutqueue.py \ -${libdir}/python2.4/site-packages/twisted/python/filepath.py \ -${libdir}/python2.4/site-packages/twisted/python/dxprofile.py \ -${libdir}/python2.4/site-packages/twisted/python/plugin.py \ -${libdir}/python2.4/site-packages/twisted/python/htmlizer.py \ -${libdir}/python2.4/site-packages/twisted/python/__init__.py \ -${libdir}/python2.4/site-packages/twisted/python/dispatch.py \ -${libdir}/python2.4/site-packages/twisted/python/hook.py \ -${libdir}/python2.4/site-packages/twisted/python/threadpool.py \ -${libdir}/python2.4/site-packages/twisted/python/otp.py \ -${libdir}/python2.4/site-packages/twisted/python/usage.py \ -${libdir}/python2.4/site-packages/twisted/python/roots.py \ -${libdir}/python2.4/site-packages/twisted/python/versions.py \ -${libdir}/python2.4/site-packages/twisted/python/urlpath.py \ -${libdir}/python2.4/site-packages/twisted/python/util.py \ -${libdir}/python2.4/site-packages/twisted/python/components.py \ -${libdir}/python2.4/site-packages/twisted/python/logfile.py \ -${libdir}/python2.4/site-packages/twisted/python/runtime.py \ -${libdir}/python2.4/site-packages/twisted/python/reflect.py \ -${libdir}/python2.4/site-packages/twisted/python/context.py \ -${libdir}/python2.4/site-packages/twisted/python/threadable.py \ -${libdir}/python2.4/site-packages/twisted/python/rebuild.py \ -${libdir}/python2.4/site-packages/twisted/python/failure.py \ -${libdir}/python2.4/site-packages/twisted/python/lockfile.py \ -${libdir}/python2.4/site-packages/twisted/python/formmethod.py \ -${libdir}/python2.4/site-packages/twisted/python/finalize.py \ -${libdir}/python2.4/site-packages/twisted/python/win32.py \ -${libdir}/python2.4/site-packages/twisted/python/dist.py \ -${libdir}/python2.4/site-packages/twisted/python/shortcut.py \ -${libdir}/python2.4/site-packages/twisted/python/zipstream.py \ -${libdir}/python2.4/site-packages/twisted/python/release.py \ -${libdir}/python2.4/site-packages/twisted/python/syslog.py \ -${libdir}/python2.4/site-packages/twisted/python/log.py \ -${libdir}/python2.4/site-packages/twisted/python/compat.py \ -${libdir}/python2.4/site-packages/twisted/python/zshcomp.py \ -${libdir}/python2.4/site-packages/twisted/python/procutils.py \ -${libdir}/python2.4/site-packages/twisted/python/text.py \ -${libdir}/python2.4/site-packages/twisted/python/_twisted_zsh_stub \ -${libdir}/python2.4/site-packages/twisted/scripts/ \ -${libdir}/python2.4/site-packages/twisted/spread/ \ -${libdir}/python2.4/site-packages/twisted/tap/ \ -${libdir}/python2.4/site-packages/twisted/trial/ \ -${libdir}/python2.4/site-packages/twisted/__init__.py \ -${libdir}/python2.4/site-packages/twisted/_version.py \ -${libdir}/python2.4/site-packages/twisted/copyright.py \ -${libdir}/python2.4/site-packages/twisted/im.py \ -${libdir}/python2.4/site-packages/twisted/plugin.py \ -" - -FILES_python-twisted-lore = " \ -${bindir}/bookify \ -${bindir}/lore \ -${libdir}/python2.4/site-packages/twisted/plugins/twisted_lore.py \ -${libdir}/python2.4/site-packages/twisted/lore \ -" - -FILES_python-twisted-mail = " \ -${bindir}/mailmail \ -${libdir}/python2.4/site-packages/twisted/plugins/twisted_mail.py \ -${libdir}/python2.4/site-packages/twisted/mail \ -" - -FILES_python-twisted-names = " \ -${libdir}/python2.4/site-packages/twisted/plugins/twisted_names.py \ -${libdir}/python2.4/site-packages/twisted/names \ -" - -FILES_python-twisted-news = " \ -${libdir}/python2.4/site-packages/twisted/plugins/twisted_news.py \ -${libdir}/python2.4/site-packages/twisted/news \ -" - -FILES_python-twisted-runner = " \ -${libdir}python2.4/site-packages/twisted/runner/portmap.so \ -${libdir}/python2.4/site-packages/twisted/runner\ -" - -FILES_python-twisted-web = " \ -${bindir}/websetroot \ -${libdir}/python2.4/site-packages/twisted/plugins/twisted_web.py \ -${libdir}/python2.4/site-packages/twisted/web\ -" - -FILES_python-twisted-words = " \ -${bindir}/im \ -${libdir}/python2.4/site-packages/twisted/plugins/twisted_words.py \ -${libdir}/python2.4/site-packages/twisted/words\ -" diff --git a/meta-extras/packages/vincent/vincent_svn.bb b/meta-extras/packages/vincent/vincent_svn.bb deleted file mode 100644 index 8eafde7470..0000000000 --- a/meta-extras/packages/vincent/vincent_svn.bb +++ /dev/null @@ -1,22 +0,0 @@ -DESCRIPTION = "Vincent OpenGL-ES library " -HOMEPAGE = "http://sourceforge.net/projects/ogl-es/" -LICENSE = "BSD" - -PV = "0.0+svn${SRCDATE}" -PR = "r1" - -SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=ogles;proto=http" -S = "${WORKDIR}/ogles/" - -inherit autotools pkgconfig - -# PACKAGES = ${PN} - -do_stage() { - install -d ${STAGING_INCDIR}/GLES - - install -m 0644 ${S}/include/ug.h ${STAGING_INCDIR} - install -m 0644 ${S}/include/GLES/* ${STAGING_INCDIR}/GLES/ - - oe_libinstall -so libvincent ${STAGING_LIBDIR} -} diff --git a/meta-extras/packages/zope/zope_3.3.1.bb b/meta-extras/packages/zope/zope_3.3.1.bb deleted file mode 100644 index 4c4664904c..0000000000 --- a/meta-extras/packages/zope/zope_3.3.1.bb +++ /dev/null @@ -1,29 +0,0 @@ -DESCRIPTION = "A full fledged pluggable content management system with integrated web server and much more." -SECTION = "console/network" -PRIORITY = "optional" -DEPENDS = "python" -RDEPENDS = "python-core python-shell" -LICENSE = "ZPL" -PR = "r1" - -SRC_URI = "http://www.zope.org/Products/Zope3/${PV}/Zope-${PV}.tgz" - -S = "${WORKDIR}/Zope-${PV}" - -do_configure() { - ./configure --with-python=${STAGING_BINDIR_NATIVE}/python --prefix=${prefix} --force -} - -do_compile() { - oe_runmake HOST_SYS=${HOST_SYS} BUILD_SYS=${BUILD_SYS} -} - -do_install() { - oe_runmake install prefix=${D}${prefix} HOST_SYS=${HOST_SYS} BUILD_SYS=${BUILD_SYS} -} - -PACKAGES =+ "python-zopeinterface" - -FILES_${PN} = "${prefix}" -FILES_${PN}_doc = "${prefix}/doc" -FILES_python-zopeinterface = "${libdir}/python/zope/interface/*.* ${libdir}/python/zope/interface/common" |
