emacs: Add dated CVS emacs version, make default emacs not use x11, add emacs-x11
authorJustin Patrin <papercrane@gmail.com>
Thu, 3 Aug 2006 18:05:58 +0000 (18:05 +0000)
committerJustin Patrin <papercrane@gmail.com>
Thu, 3 Aug 2006 18:05:58 +0000 (18:05 +0000)
packages/emacs/emacs-x11_20060801.bb [new file with mode: 0644]
packages/emacs/emacs-x11_cvs.bb [new file with mode: 0644]
packages/emacs/emacs_20060801.bb [new file with mode: 0644]
packages/emacs/emacs_cvs.bb

diff --git a/packages/emacs/emacs-x11_20060801.bb b/packages/emacs/emacs-x11_20060801.bb
new file mode 100644 (file)
index 0000000..003857e
--- /dev/null
@@ -0,0 +1,3 @@
+include emacs-x11_cvs.bb
+SRCDATE = "${PV}"
+DEFAULT_PREFERENCE = "0"
diff --git a/packages/emacs/emacs-x11_cvs.bb b/packages/emacs/emacs-x11_cvs.bb
new file mode 100644 (file)
index 0000000..874aaca
--- /dev/null
@@ -0,0 +1,5 @@
+include emacs_cvs.bb
+# full X (non-diet) is needed for X support
+DEPENDS += "libx11"
+EXTRA_OECONF = ""
+RREPLACES = "emacs"
diff --git a/packages/emacs/emacs_20060801.bb b/packages/emacs/emacs_20060801.bb
new file mode 100644 (file)
index 0000000..642ede8
--- /dev/null
@@ -0,0 +1,3 @@
+include emacs_cvs.bb
+SRCDATE = "${PV}"
+DEFAULT_PREFERENCE = "0"
index 8322e8f..7e59cb2 100644 (file)
@@ -3,14 +3,14 @@ HOMEPAGE = "http://www.gnu.org/software/emacs/"
 LICENSE = "GPLv2"
 MAINTAINER = "Justin Patrin <papercrane@reversefold.com>"
 SECTION = "editor"
-# full X (non-diet) is needed for X support
-DEPENDS = "libx11"
 # and it needs to run some generated binaries..
 DEPENDS += "qemu-native"
 #NOTE: I have found that this only works with qemu-0.8.0. If I use 0.8.1 or 0.8.2
 # the build gets hung up on compiling certain .el files
 
-PR = "r5"
+PR = "r6"
+
+DEFAULT_PREFERENCE = "-1"
 
 SRC_URI = "cvs://anoncvs:anonymous@cvs.savannah.gnu.org/sources/emacs;module=emacs \
            file://use-qemu.patch;patch=1"
@@ -27,6 +27,8 @@ QEMU = "qemu-arm -L ${STAGING_DIR}/${TARGET_SYS}"
 
 LDFLAGS += "-L${CROSS_DIR}/${TARGET_SYS}/lib"
 
+EXTRA_OECONF = "--without-x"
+
 do_bootstrap() {
     cp "${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so.1" "${S}"
     export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${S}"
@@ -45,4 +47,4 @@ do_compile_prepend() {
     cp "${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so.1" "${S}"
     export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${S}"
     export QEMU="${QEMU}"
-}
\ No newline at end of file
+}