summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2012-07-31 03:46:49 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2012-07-31 03:47:15 +0200
commitd028be056c973b9235269a678d983ba6d244fd5d (patch)
tree99fe2b6a02f2583afe2a96bf5f493fb5248a5243 /meta-oe
parent72e02b4625dceb0cc72e1edfc28215786c7de63a (diff)
downloadmeta-openembedded-d028be056c973b9235269a678d983ba6d244fd5d.tar.gz
emacs: drop older version 23.1
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/emacs/emacs-23.1/configure.in.lost.backslashes.patch24
-rw-r--r--meta-oe/recipes-support/emacs/emacs-23.1/fix.dso.build.patch39
-rw-r--r--meta-oe/recipes-support/emacs/emacs-23.1/nostdlib-unwind.patch16
-rw-r--r--meta-oe/recipes-support/emacs/emacs-23.1/use-qemu.patch107
-rw-r--r--meta-oe/recipes-support/emacs/emacs_23.1.bb10
-rw-r--r--meta-oe/recipes-support/emacs/emacs_23.4.bb2
6 files changed, 0 insertions, 198 deletions
diff --git a/meta-oe/recipes-support/emacs/emacs-23.1/configure.in.lost.backslashes.patch b/meta-oe/recipes-support/emacs/emacs-23.1/configure.in.lost.backslashes.patch
deleted file mode 100644
index 2d29f17e5..000000000
--- a/meta-oe/recipes-support/emacs/emacs-23.1/configure.in.lost.backslashes.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1pending upstream, fixed in 23.2
2http://debbugs.gnu.org/cgi-bin/bugreport.cgi?bug=5047
3https://bugzilla.redhat.com/show_bug.cgi?id=540921
4diff -up emacs-23.1/configure.in.cpp emacs-23.1/configure.in
5--- emacs-23.1/configure.in.cpp 2009-11-30 13:24:53.000000000 +0100
6+++ emacs-23.1/configure.in 2009-11-30 13:25:45.000000000 +0100
7@@ -2983,7 +2983,7 @@ echo creating lib-src/Makefile
8 sed -e '1,/start of cpp stuff/d'\
9 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
10 < Makefile.c > junk.c
11- $CPP $cpp_undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \
12+ $CPP -P $cpp_undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \
13 sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c
14 cat junk1.c junk2.c > Makefile.new
15 rm -f junk.c junk1.c junk2.c
16@@ -2999,7 +2999,7 @@ echo creating src/Makefile
17 sed -e '1,/start of cpp stuff/d'\
18 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
19 < Makefile.c > junk.c
20- $CPP $cpp_undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \
21+ $CPP -P $cpp_undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \
22 sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c
23 cat junk1.c junk2.c > Makefile.new
24 rm -f junk.c junk1.c junk2.c
diff --git a/meta-oe/recipes-support/emacs/emacs-23.1/fix.dso.build.patch b/meta-oe/recipes-support/emacs/emacs-23.1/fix.dso.build.patch
deleted file mode 100644
index 0396c0ca4..000000000
--- a/meta-oe/recipes-support/emacs/emacs-23.1/fix.dso.build.patch
+++ /dev/null
@@ -1,39 +0,0 @@
1Upstream-Status: Backport
2
3from bzr changeset 99307
4
5=== modified file 'ChangeLog'
6--- ChangeLog 2010-01-12 05:11:05 +0000
7+++ ChangeLog 2010-01-12 16:25:08 +0000
8@@ -1,3 +1,7 @@
9+2010-01-12 Chong Yidong <cyd@stupidchicken.com>
10+
11+ * configure.in: Explicitly check for and link to -lXrender.
12+
13 2010-01-12 Glenn Morris <rgm@gnu.org>
14
15 * INSTALL.BZR, README: Use bug-gnu-emacs rather than emacs-pretest-bug
16
17=== modified file 'configure.in'
18--- configure.in 2010-01-04 05:35:18 +0000
19+++ configure.in 2010-01-12 16:25:08 +0000
20@@ -1984,12 +1984,17 @@
21 if test "x${with_xft}" != "xno"; then
22
23 PKG_CHECK_MODULES(XFT, xft >= 0.13.0, , HAVE_XFT=no)
24- if test "$HAVE_XFT" != no; then
25+ ## Because xftfont.c uses XRenderQueryExtension, we also
26+ ## need to link to -lXrender.
27+ HAVE_XRENDER=no
28+ AC_CHECK_LIB(Xrender, XRenderQueryExtension, HAVE_XRENDER=yes)
29+ if test "$HAVE_XFT" != no && test "$HAVE_XRENDER" != no; then
30 OLD_CPPFLAGS="$CPPFLAGS"
31 OLD_CFLAGS="$CFLAGS"
32 OLD_LIBS="$LIBS"
33 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS"
34 CFLAGS="$CFLAGS $XFT_CFLAGS"
35+ XFT_LIBS="-lXrender $XFT_LIBS"
36 LIBS="$XFT_LIBS $LIBS"
37 AC_CHECK_HEADER(X11/Xft/Xft.h,
38 AC_CHECK_LIB(Xft, XftFontOpen, HAVE_XFT=yes, , $XFT_LIBS))
39
diff --git a/meta-oe/recipes-support/emacs/emacs-23.1/nostdlib-unwind.patch b/meta-oe/recipes-support/emacs/emacs-23.1/nostdlib-unwind.patch
deleted file mode 100644
index 4200301a3..000000000
--- a/meta-oe/recipes-support/emacs/emacs-23.1/nostdlib-unwind.patch
+++ /dev/null
@@ -1,16 +0,0 @@
1Fix linking problem:
2undefined reference to `__aeabi_unwind_cpp_pr0'
3undefined reference to `__aeabi_unwind_cpp_pr1'
4Index: emacs/src/Makefile.in
5===================================================================
6--- emacs.orig/src/Makefile.in 2008-08-16 14:20:18.000000000 +0000
7+++ emacs/src/Makefile.in 2008-08-16 14:51:25.000000000 +0000
8@@ -443,7 +443,7 @@
9 ask GCC explicitly where to find libgcc.a. */
10
11 #ifndef LINKER
12-#define LINKER $(CC) -nostdlib
13+#define LINKER $(CC) -nostdlib -lgcc_s
14 #endif
15
16 #ifndef LIB_GCC
diff --git a/meta-oe/recipes-support/emacs/emacs-23.1/use-qemu.patch b/meta-oe/recipes-support/emacs/emacs-23.1/use-qemu.patch
deleted file mode 100644
index 255b07fc9..000000000
--- a/meta-oe/recipes-support/emacs/emacs-23.1/use-qemu.patch
+++ /dev/null
@@ -1,107 +0,0 @@
1Index: emacs-23.1/leim/Makefile.in
2===================================================================
3--- emacs-23.1.orig/leim/Makefile.in
4+++ emacs-23.1/leim/Makefile.in
5@@ -51,7 +51,7 @@ buildlisppath=${srcdir}/${dot}${dot}/lis
6
7 # How to run Emacs.
8 RUN-EMACS = EMACSLOADPATH=$(buildlisppath) LC_ALL=C \
9- ${BUILT-EMACS} -batch --no-init-file --no-site-file --multibyte
10+ ${QEMU} ${BUILT-EMACS} -batch --no-init-file --no-site-file --multibyte
11
12 # Subdirectories to be made if ${srcdir} is different from the current
13 # directory.
14Index: emacs-23.1/lib-src/Makefile.in
15===================================================================
16--- emacs-23.1.orig/lib-src/Makefile.in
17+++ emacs-23.1/lib-src/Makefile.in
18@@ -23,7 +23,7 @@
19 SHELL = /bin/sh
20
21 # Following ../lisp/Makefile.in.
22-EMACS = ../src/emacs
23+EMACS = ${QEMU} ../src/emacs
24 EMACSOPT = -batch --no-site-file --multibyte
25
26 # ==================== Things `configure' will edit ====================
27@@ -371,7 +371,7 @@ TAGS: etags${EXEEXT}
28 clobbered too. */
29 test-distrib${EXEEXT}: ${srcdir}/test-distrib.c
30 $(CC) ${ALL_CFLAGS} -o test-distrib ${srcdir}/test-distrib.c
31- ./test-distrib ${srcdir}/testfile
32+ ${QEMU} ./test-distrib ${srcdir}/testfile
33
34 /* We need the following in order to create a <getopt.h> when the system
35 does not have one that works with the given compiler. */
36Index: emacs-23.1/lisp/Makefile.in
37===================================================================
38--- emacs-23.1.orig/lisp/Makefile.in
39+++ emacs-23.1/lisp/Makefile.in
40@@ -26,8 +26,7 @@ srcdir=@srcdir@/..
41 # You can specify a different executable on the make command line,
42 # e.g. "make EMACS=../src/emacs ...".
43
44-EMACS = ../src/emacs
45-
46+EMACS = "${QEMU} ../src/emacs"
47 # Command line flags for Emacs. This must include --multibyte,
48 # otherwise some files will not compile.
49
50Index: emacs-23.1/Makefile.in
51===================================================================
52--- emacs-23.1.orig/Makefile.in
53+++ emacs-23.1/Makefile.in
54@@ -336,7 +336,7 @@ lib-src lisp: Makefile FRC
55 # all preloaded elisp files, and only then dump the actual src/emacs, which
56 # is not wrong, but is overkill in 99.99% of the cases.
57 src: Makefile FRC
58- boot=bootstrap-emacs$(EXEEXT); \
59+ boot=${QEMU} bootstrap-emacs$(EXEEXT); \
60 if [ ! -x "src/$$boot" ]; then \
61 cd $@; $(MAKE) all $(MFLAGS) \
62 CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \
63Index: emacs-23.1/src/Makefile.in
64===================================================================
65--- emacs-23.1.orig/src/Makefile.in
66+++ emacs-23.1/src/Makefile.in
67@@ -497,7 +497,7 @@
68 this with the shell''s ``for'' construct.
69 Note that some people do not have '.' in their paths, so we must
70 use ./prefix-args. */
71-#define YMF_PASS_LDFLAGS(flags) `./prefix-args -Xlinker flags`
72+#define YMF_PASS_LDFLAGS(flags) `${QEMU} ./prefix-args -Xlinker flags`
73 #else
74 #define YMF_PASS_LDFLAGS(flags) flags
75 #endif
76@@ -895,9 +895,9 @@ LIBES = $(LOADLIBES) $(LIBS) $(LIBX) $(L
77 #endif
78
79 #ifdef HAVE_SHM
80-RUN_TEMACS = `/bin/pwd`/temacs -nl
81+RUN_TEMACS = ${QEMU} temacs -nl
82 #else
83-RUN_TEMACS = `/bin/pwd`/temacs
84+RUN_TEMACS = ${QEMU} temacs
85 #endif
86
87 all: emacs${EXEEXT} OTHER_FILES
88@@ -912,7 +912,7 @@ emacs${EXEEXT}: temacs${EXEEXT} ${etc}DO
89 @: bootstrap-emacs, so let us replace it.
90 -ln -f emacs${EXEEXT} bootstrap-emacs${EXEEXT}
91 #endif /* ! defined (CANNOT_DUMP) */
92- -./emacs -q -batch -f list-load-path-shadows
93+ -${QEMU} ./emacs -q -batch -f list-load-path-shadows
94
95 /* We run make-docfile twice because the command line may get too long
96 on some systems. */
97@@ -929,8 +929,8 @@ emacs${EXEEXT}: temacs${EXEEXT} ${etc}DO
98 only in order to reduce the command line length. --Stef */
99 ${etc}DOC: ${libsrc}make-docfile${EXEEXT} ${obj} ${lisp} ${SOME_MACHINE_LISP}
100 -rm -f ${etc}DOC
101- ${libsrc}make-docfile -d ${srcdir} ${SOME_MACHINE_OBJECTS} ${obj} > ${etc}DOC
102- ${libsrc}make-docfile -a ${etc}DOC -d ${srcdir} ${SOME_MACHINE_LISP} ${shortlisp}
103+ ${QEMU}${libsrc}make-docfile -d ${srcdir} ${SOME_MACHINE_OBJECTS} ${obj} > ${etc}DOC
104+ ${QEMU} ${libsrc}make-docfile -a ${etc}DOC -d ${srcdir} ${SOME_MACHINE_LISP} ${shortlisp}
105
106 ${libsrc}make-docfile${EXEEXT}:
107 cd ${libsrc}; ${MAKE} ${MFLAGS} make-docfile${EXEEXT}
diff --git a/meta-oe/recipes-support/emacs/emacs_23.1.bb b/meta-oe/recipes-support/emacs/emacs_23.1.bb
deleted file mode 100644
index fa7c872f2..000000000
--- a/meta-oe/recipes-support/emacs/emacs_23.1.bb
+++ /dev/null
@@ -1,10 +0,0 @@
1require emacs.inc
2
3SRC_URI = "${GNU_MIRROR}/emacs/emacs-${PV}.tar.gz;name=tarball \
4 file://use-qemu.patch \
5 file://nostdlib-unwind.patch \
6 file://configure.in.lost.backslashes.patch \
7 file://fix.dso.build.patch \
8"
9SRC_URI[tarball.md5sum] = "a620d4452769d04ad8864d662f34f8dd"
10SRC_URI[tarball.sha256sum] = "a94cd46301f000d2d1dcd3fd7ef08ad952846d01ca5d4168b4ec3e38e857da47"
diff --git a/meta-oe/recipes-support/emacs/emacs_23.4.bb b/meta-oe/recipes-support/emacs/emacs_23.4.bb
index 3c97e9ebd..625a4b96e 100644
--- a/meta-oe/recipes-support/emacs/emacs_23.4.bb
+++ b/meta-oe/recipes-support/emacs/emacs_23.4.bb
@@ -1,7 +1,5 @@
1require emacs.inc 1require emacs.inc
2 2
3DEFAULT_PREFERENCE = "-1"
4
5SRC_URI = "${GNU_MIRROR}/emacs/emacs-${PV}.tar.gz;name=tarball \ 3SRC_URI = "${GNU_MIRROR}/emacs/emacs-${PV}.tar.gz;name=tarball \
6 file://use-qemu.patch \ 4 file://use-qemu.patch \
7 file://nostdlib-unwind.patch \ 5 file://nostdlib-unwind.patch \