summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Patrin <papercrane@gmail.com>2006-02-08 21:11:38 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-08 21:11:38 +0000
commit0aaff4f4186ce0a81dad184286c9d9c055505647 (patch)
treea524a47326e60c9b822a5e74cc8a93692bdc9cc4
parent3ccbc62b4df338ac26cba4b8ad62ad5ed09ec1db (diff)
parent5bf510d4128ad91f1b100fc80e3f2893dc20f686 (diff)
merge of c2094ddd8cbb045e11f78698e810cdeb3511237c
and 50acc639ce5b409ac093c8ee464628c013b38b1e
-rw-r--r--conf/distro/slugos-packages.conf3
-rw-r--r--packages/cups/cups_1.1.23.bb34
-rw-r--r--packages/gcc/gcc3-build.inc5
-rw-r--r--packages/glibc/glibc_2.2.5.bb2
-rw-r--r--packages/gnome/gnome-cups-manager_0.31.bb14
-rw-r--r--packages/gnome/libgnomecups_0.2.2.bb12
-rw-r--r--packages/matchbox-panel/matchbox-panel-0.9.2/system-monitor-crash-fix.patch72
-rw-r--r--packages/matchbox-panel/matchbox-panel_0.9.2.bb2
-rw-r--r--packages/meta/slugos-packages.bb3
-rw-r--r--packages/mozilla/firefox-1.0.7/.mtn2git_empty0
-rw-r--r--packages/mozilla/firefox-1.0.7/firefox-cc-fix.patch21
-rw-r--r--packages/mozilla/firefox-1.0.7/jsautocfg.h52
-rw-r--r--packages/mozilla/firefox-1.0.7/mozconfig53
-rw-r--r--packages/radlib/.mtn2git_empty0
-rw-r--r--packages/radlib/radlib-common.inc58
-rw-r--r--packages/radlib/radlib-mysql.inc6
-rw-r--r--packages/radlib/radlib-mysql_2.6.2.bb3
-rw-r--r--packages/radlib/radlib.inc1
-rw-r--r--packages/radlib/radlib_2.6.2.bb3
-rw-r--r--packages/wview/.mtn2git_empty0
-rw-r--r--packages/wview/wview-common.inc39
-rw-r--r--packages/wview/wview-mysql.inc7
-rw-r--r--packages/wview/wview-sim-mysql_3.1.3.bb3
-rw-r--r--packages/wview/wview-sim_3.1.3.bb4
-rw-r--r--packages/wview/wview-vpro-mysql_3.1.3.bb3
-rw-r--r--packages/wview/wview-vpro_3.1.3.bb4
-rw-r--r--packages/wview/wview-wxt510-mysql_3.1.3.bb3
-rw-r--r--packages/wview/wview-wxt510_3.1.3.bb4
-rw-r--r--packages/wview/wview.inc2
29 files changed, 391 insertions, 22 deletions
diff --git a/conf/distro/slugos-packages.conf b/conf/distro/slugos-packages.conf
index dc1c711a57..467b472db8 100644
--- a/conf/distro/slugos-packages.conf
+++ b/conf/distro/slugos-packages.conf
@@ -27,6 +27,7 @@ ${PKGDIR}/packages/cpio/*.bb \
${PKGDIR}/packages/cron/*.bb \
${PKGDIR}/packages/ctorrent/*.bb \
${PKGDIR}/packages/ctrlproxy/*.bb \
+${PKGDIR}/packages/curl/*.bb \
${PKGDIR}/packages/cvs/*.bb \
${PKGDIR}/packages/cyrus-imapd/*.bb \
${PKGDIR}/packages/cyrus-sasl/*.bb \
@@ -180,6 +181,7 @@ ${PKGDIR}/packages/pwc/*.bb \
${PKGDIR}/packages/python/*.bb \
${PKGDIR}/packages/qc-usb/*.bb \
${PKGDIR}/packages/quilt/*.bb \
+${PKGDIR}/packages/radlib/*.bb \
${PKGDIR}/packages/readline/*.bb \
${PKGDIR}/packages/reiser4progs/*.bb \
${PKGDIR}/packages/reiserfsprogs/*.bb \
@@ -221,6 +223,7 @@ ${PKGDIR}/packages/wakelan/*.bb \
${PKGDIR}/packages/wget/*.bb \
${PKGDIR}/packages/wireless-tools/*.bb \
${PKGDIR}/packages/wpa-supplicant/*.bb \
+${PKGDIR}/packages/wview/*.bb \
${PKGDIR}/packages/x11/*.bb \
${PKGDIR}/packages/xau/*.bb \
${PKGDIR}/packages/xdmcp/*.bb \
diff --git a/packages/cups/cups_1.1.23.bb b/packages/cups/cups_1.1.23.bb
new file mode 100644
index 0000000000..9094bb9dff
--- /dev/null
+++ b/packages/cups/cups_1.1.23.bb
@@ -0,0 +1,34 @@
+DEPENDS = "openssl jpeg libpng zlib"
+DESCRIPTION = "An Internet printing system for Unix."
+SECTION = "console/utils"
+LICENSE = "GPL LGPL"
+
+SRC_URI = "ftp://ftp.easysw.com/pub/cups/${PV}/cups-${PV}-source.tar.bz2"
+
+inherit autotools binconfig
+
+LDFLAGS += " -L${STAGING_LIBDIR} "
+
+do_compile () {
+ #Eeeks! Hack alert!
+ grep CUPS config.h.in~ | grep define >> config.h
+ sed -i s:STRIP:NOSTRIP: Makedefs
+ sed -i s:serial:: backend/Makefile
+
+ oe_runmake "SSLLIBS=-lssl -lcrypto -L${STAGING_LIBDIR}" \
+ "LIBPNG=-lpng -lm -L${STAGING_LIBDIR}" \
+ "LIBJPEG=-ljpeg -L${STAGING_LIBDIR}" \
+ "LIBZ=-lz -L${STAGING_LIBDIR}" \
+ "-I."
+}
+
+do_install () {
+ oe_runmake "DSTROOT=${D}" install
+}
+
+do_stage () {
+ install -d ${STAGING_INCDIR}/cups
+ install ${S}/cups/*.h ${STAGING_INCDIR}/cups/
+ oe_libinstall -C cups -so libcups ${STAGING_LIBDIR}
+}
+
diff --git a/packages/gcc/gcc3-build.inc b/packages/gcc/gcc3-build.inc
index a09c6cf1f5..b7523c42f2 100644
--- a/packages/gcc/gcc3-build.inc
+++ b/packages/gcc/gcc3-build.inc
@@ -47,7 +47,10 @@ CPPFLAGS = ""
# Used by configure to define additional values for FLAGS_FOR_TARGET -
# passed to all the compilers.
ARCH_FLAGS_FOR_TARGET = ""
-ARCH_FLAGS_FOR_TARGET_nslu2 = "${TARGET_CC_ARCH}"
+#NOTE: not tested on other platforms, the following is probably correct
+# everywhere!
+ARCH_FLAGS_FOR_TARGET_slugos = "${TARGET_CC_ARCH}"
+ARCH_FLAGS_FOR_TARGET_unslung = "${TARGET_CC_ARCH}"
EXTRA_OEMAKE += "ARCH_FLAGS_FOR_TARGET='${ARCH_FLAGS_FOR_TARGET}'"
def get_gcc_fpu_setting(bb, d):
diff --git a/packages/glibc/glibc_2.2.5.bb b/packages/glibc/glibc_2.2.5.bb
index f214dd5fdc..22210c1335 100644
--- a/packages/glibc/glibc_2.2.5.bb
+++ b/packages/glibc/glibc_2.2.5.bb
@@ -249,7 +249,7 @@ include glibc-package.bbclass
# Unslung distribution specific packages follow ...
PACKAGES_unslung = "libc6-unslung"
-PACKAGE_ARCH_nslu2 = "nslu2"
+PACKAGE_ARCH_unslung = "nslu2"
MAINTAINER_libc6-unslung = "NSLU2 Linux <www.nslu2-linux.org>"
RDEPENDS_libc6-unslung = "nslu2-linksys-libs"
RPROVIDES_libc6-unslung = "libc6"
diff --git a/packages/gnome/gnome-cups-manager_0.31.bb b/packages/gnome/gnome-cups-manager_0.31.bb
new file mode 100644
index 0000000000..2023cdac5d
--- /dev/null
+++ b/packages/gnome/gnome-cups-manager_0.31.bb
@@ -0,0 +1,14 @@
+DESCRIPTION="Gnome Cups Manager"
+LICENSE="GPLv2"
+PR="r0"
+
+DEPENDS="glib-2.0 gtk+ pango libgnomecups"
+
+inherit gnome pkgconfig
+
+SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gnome-cups-manager/0.31/gnome-cups-manager-0.31.tar.bz2"
+
+do_stage() {
+autotools_stage_all
+}
+
diff --git a/packages/gnome/libgnomecups_0.2.2.bb b/packages/gnome/libgnomecups_0.2.2.bb
new file mode 100644
index 0000000000..4fcefb6454
--- /dev/null
+++ b/packages/gnome/libgnomecups_0.2.2.bb
@@ -0,0 +1,12 @@
+DESCRIPTION="Gnome Cups Manager"
+LICENSE="GPLv2"
+PR="r0"
+
+DEPENDS="glib-2.0 gtk+ pango cups"
+
+inherit gnome pkgconfig
+
+do_stage() {
+autotools_stage_all
+}
+
diff --git a/packages/matchbox-panel/matchbox-panel-0.9.2/system-monitor-crash-fix.patch b/packages/matchbox-panel/matchbox-panel-0.9.2/system-monitor-crash-fix.patch
index c9a49fb881..51c141db03 100644
--- a/packages/matchbox-panel/matchbox-panel-0.9.2/system-monitor-crash-fix.patch
+++ b/packages/matchbox-panel/matchbox-panel-0.9.2/system-monitor-crash-fix.patch
@@ -1,23 +1,46 @@
---- matchbox-panel-0.9.2/applets/mb-applet-system-monitor.c.orig 2006-02-04 19:22:55.000000000 +0200
-+++ matchbox-panel-0.9.2/applets/mb-applet-system-monitor.c 2006-02-04 18:18:21.000000000 +0200
-@@ -37,6 +37,16 @@
+--- matchbox-panel-0.9.2/applets/mb-applet-system-monitor.c.orig 2006-02-07 20:08:09.000000000 +0200
++++ matchbox-panel-0.9.2/applets/mb-applet-system-monitor.c 2006-02-07 20:53:20.000000000 +0200
+@@ -37,6 +37,7 @@
# define _(text) (text)
#endif
-+#ifdef HAVE_LINUX_VER_H
-+#include <linux/version.h>
-+#else
-+#define LINUX_VERSION_CODE 0
-+#endif
-+
-+#ifndef KERNEL_VERSION
-+#define KERNEL_VERSION(a,b,c) (((a) << 16) | ((b) << 8) | (c))
-+#endif
+
#ifdef MB_HAVE_PNG
#define IMG_EXT "png"
#else
-@@ -112,71 +122,83 @@
+@@ -66,8 +67,30 @@
+ MBPixbufImage *ImgIcon = NULL, *ImgIconScaled = NULL, *ImgGraph = NULL;
+
+ int GraphHeight = 0, GraphWidth = 0;
+-
+ char *ThemeName;
++static int kernelver = 0;
++
++/* returns 1 if the kernel version is 2.6, 0 otherwise */
++int kernel_version(void)
++{
++ float v_nr=0;
++ FILE *version;
++
++ if ((version = fopen("/proc/version", "r")) == NULL)
++ {
++ fprintf(stderr, "mb-applet-system-monitor: failed to open /proc/version. Exiting\n");
++ exit(1);
++ }
++ fscanf(version, "%*s %*s %f", &v_nr);
++ fclose(version);
++
++ if (v_nr > 2.5)
++ return 1;
++ else
++ return 0;
++}
++
++
+
+ /* returns current CPU load in percent, 0 to 100 */
+ int system_cpu(void)
+@@ -112,71 +135,86 @@
int system_memory(void)
{
@@ -94,14 +117,15 @@
- msd.mem_percent = (100 * msd.mem_used) / msd.mem_max;
- //msd.swap_percent = (100 * msd.swap_used) / msd.swap_max;
--
++/*if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)*/
+
- /* memory info changed - update things */
- return 1;
- }
- /* nothing new */
- return 0;
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
-+
++ if(kernelver)
++ {
+ rewind (mem);
+
+ fscanf (mem, "%*s %Ld %*s", &total);
@@ -126,15 +150,16 @@
+ shared = shared * 1024;
+ cache_total = cache_total * 1024;
+ cache_used = cache_total - (cache_free * 1024);
-+#else
++ }
++else
++ {
+ /*
+ total: used: free: shared: buffers: cached:
+ */
+ fscanf(mem, "%*s %Ld %Ld %Ld %Ld %Ld %Ld", &total, &used, &mfree,
+ &shared, &buffers, &cached);
+ fscanf(mem, "%*s %Ld %Ld", &cache_total, &cache_used);
-+
-+#endif
++ }
+
+ fclose(mem);
+
@@ -159,3 +184,12 @@
void
paint_callback (MBTrayApp *app, Drawable drw )
{
+@@ -340,6 +378,8 @@
+ &argc,
+ &argv );
+
++ kernelver = kernel_version();
++
+ msd.samples = 16;
+
+ if (msd.load) {
diff --git a/packages/matchbox-panel/matchbox-panel_0.9.2.bb b/packages/matchbox-panel/matchbox-panel_0.9.2.bb
index 4c037690b6..0e2ccf3f07 100644
--- a/packages/matchbox-panel/matchbox-panel_0.9.2.bb
+++ b/packages/matchbox-panel/matchbox-panel_0.9.2.bb
@@ -1,6 +1,6 @@
include matchbox-panel.inc
-PR="r9"
+PR="r10"
SRC_URI = "http://projects.o-hand.com/matchbox/sources/${PN}/0.9/${PN}-${PV}.tar.gz \
file://add_hostap.patch;patch=1 \
http://handhelds.org/~pb/mb-panel-0.9.2-polling.patch;patch=1 \
diff --git a/packages/meta/slugos-packages.bb b/packages/meta/slugos-packages.bb
index cb525ce2b2..bdbca58509 100644
--- a/packages/meta/slugos-packages.bb
+++ b/packages/meta/slugos-packages.bb
@@ -155,6 +155,9 @@ SLUGOS_PACKAGES = "\
wget \
wireless-tools \
wpa-supplicant \
+ wview-sim wview-vpro wview-wxt510 \
+ wview-sim-mysql wview-vpro-mysql \
+ wview-wxt510-mysql \
zd1211 \
zip \
zlib \
diff --git a/packages/mozilla/firefox-1.0.7/.mtn2git_empty b/packages/mozilla/firefox-1.0.7/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/mozilla/firefox-1.0.7/.mtn2git_empty
diff --git a/packages/mozilla/firefox-1.0.7/firefox-cc-fix.patch b/packages/mozilla/firefox-1.0.7/firefox-cc-fix.patch
new file mode 100644
index 0000000000..e2df2a390c
--- /dev/null
+++ b/packages/mozilla/firefox-1.0.7/firefox-cc-fix.patch
@@ -0,0 +1,21 @@
+--- mozilla/js/src/Makefile.in 2004-03-31 09:38:54.000000000 -0700
++++ mozilla.new/js/src/Makefile.in 2004-11-12 16:29:32.856436952 -0700
+@@ -342,16 +342,10 @@
+
+ jsopcode.h jsopcode.c: jsopcode.tbl
+
+-ifeq (,$(CROSS_COMPILE)$(filter-out WINNT,$(OS_ARCH)))
++# OE hack - we copy this in
+ jsautocfg.h:
+ touch $@
+-else
+-jsautocfg.h: jscpucfg$(HOST_BIN_SUFFIX)
+- @rm -f $@ jsautocfg.tmp
+- ./jscpucfg > jsautocfg.tmp
+- mv jsautocfg.tmp $@
+-endif
+-
++
+ # jscpucfg is a strange target
+ # Needs to be built with the host compiler but needs to include
+ # the mdcpucfg for the target so it needs the appropriate target defines
diff --git a/packages/mozilla/firefox-1.0.7/jsautocfg.h b/packages/mozilla/firefox-1.0.7/jsautocfg.h
new file mode 100644
index 0000000000..05f3dad50a
--- /dev/null
+++ b/packages/mozilla/firefox-1.0.7/jsautocfg.h
@@ -0,0 +1,52 @@
+#ifndef js_cpucfg___
+#define js_cpucfg___
+
+/* Lovingly crafted by hand avoiding Mozilla stupidity */
+
+#define IS_LITTLE_ENDIAN 1
+#undef IS_BIG_ENDIAN
+
+#define JS_BYTES_PER_BYTE 1L
+#define JS_BYTES_PER_SHORT 2L
+#define JS_BYTES_PER_INT 4L
+#define JS_BYTES_PER_INT64 8L
+#define JS_BYTES_PER_LONG 4L
+#define JS_BYTES_PER_FLOAT 4L
+#define JS_BYTES_PER_DOUBLE 8L
+#define JS_BYTES_PER_WORD 4L
+#define JS_BYTES_PER_DWORD 8L
+
+#define JS_BITS_PER_BYTE 8L
+#define JS_BITS_PER_SHORT 16L
+#define JS_BITS_PER_INT 32L
+#define JS_BITS_PER_INT64 64L
+#define JS_BITS_PER_LONG 32L
+#define JS_BITS_PER_FLOAT 32L
+#define JS_BITS_PER_DOUBLE 64L
+#define JS_BITS_PER_WORD 32L
+
+#define JS_BITS_PER_BYTE_LOG2 3L
+#define JS_BITS_PER_SHORT_LOG2 4L
+#define JS_BITS_PER_INT_LOG2 5L
+#define JS_BITS_PER_INT64_LOG2 6L
+#define JS_BITS_PER_LONG_LOG2 5L
+#define JS_BITS_PER_FLOAT_LOG2 5L
+#define JS_BITS_PER_DOUBLE_LOG2 6L
+#define JS_BITS_PER_WORD_LOG2 5L
+
+#define JS_ALIGN_OF_SHORT 2L
+#define JS_ALIGN_OF_INT 4L
+#define JS_ALIGN_OF_LONG 4L
+#define JS_ALIGN_OF_INT64 4L
+#define JS_ALIGN_OF_FLOAT 4L
+#define JS_ALIGN_OF_DOUBLE 4L
+#define JS_ALIGN_OF_POINTER 4L
+#define JS_ALIGN_OF_WORD 4L
+
+#define JS_BYTES_PER_WORD_LOG2 2L
+#define JS_BYTES_PER_DWORD_LOG2 3L
+#define JS_WORDS_PER_DWORD_LOG2 2L
+
+#define JS_STACK_GROWTH_DIRECTION (-1)
+
+#endif /* js_cpucfg___ */
diff --git a/packages/mozilla/firefox-1.0.7/mozconfig b/packages/mozilla/firefox-1.0.7/mozconfig
new file mode 100644
index 0000000000..025b396ac7
--- /dev/null
+++ b/packages/mozilla/firefox-1.0.7/mozconfig
@@ -0,0 +1,53 @@
+. $topsrcdir/browser/config/mozconfig
+
+# use GTK+-2 widget set with XFT font rendering
+ac_add_options --enable-default-toolkit=gtk2
+ac_add_options --enable-xft
+ac_add_options --disable-freetype2
+
+# enable minimal profile support
+ac_add_options --disable-profilesharing
+ac_add_options --disable-profilelocking
+ac_add_options --enable-single-profile
+
+ac_add_options --with-system-zlib
+ac_add_options --with-system-jpeg
+ac_add_options --with-system-png
+
+ac_add_options --disable-accessibility
+ac_add_options --disable-composer
+#ac_add_options --enable-plaintext-editor-only
+ac_add_options --disable-mailnews
+ac_add_options --disable-ldap
+#ac_add_options --disable-postscript
+ac_add_options --disable-mathml
+ac_add_options --disable-jsd
+ac_add_options --disable-installer
+ac_add_options --disable-xprint
+ac_add_options --disable-necko-disk-cache
+
+# configure necko to allocate smaller network buffers
+ac_add_options --enable-necko-small-buffers
+
+# disable debug logging and tests
+#ac_add_options --disable-dtd-debug
+ac_add_options --disable-logging
+ac_add_options --disable-debug
+ac_add_options --disable-gtktest
+ac_add_options --disable-tests
+
+# build crypto module (PSM + NSS)
+ac_add_options --enable-crypto
+
+# build minimal set of protocol handlers
+ac_add_options --enable-necko-protocols=http,file,res,jar,ftp,about,viewsource
+
+# build minimal set of image decoders
+ac_add_options --enable-image-decoders=png,gif,jpeg
+
+#ac_add_options --enable-reorder
+#ac_add_options --enable-elf-dynstr-gc
+
+# enable static build
+#ac_add_options --disable-shared
+#ac_add_options --enable-static
diff --git a/packages/radlib/.mtn2git_empty b/packages/radlib/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/radlib/.mtn2git_empty
diff --git a/packages/radlib/radlib-common.inc b/packages/radlib/radlib-common.inc
new file mode 100644
index 0000000000..528515b2cd
--- /dev/null
+++ b/packages/radlib/radlib-common.inc
@@ -0,0 +1,58 @@
+SECTION = "libs"
+LICENSE = "BSD"
+DESCRIPTION = "radlib is a rapid application development library for unix interprocess communications, sockets, SHA utilities, CRC utilities and much more."
+MAINTAINER = "Mark Teel (mark@teel.ws)"
+HOMEPAGE = "http://www.radlib.teel.ws/"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/radlib/radlib-${PV}.tar.gz"
+
+S = "${WORKDIR}/radlib-${PV}"
+
+inherit autotools
+do_compile_prepend() {
+ rm -f ${STAGING_LIBDIR}/librad.a
+ rm -f ${STAGING_LIBDIR}/librad.la
+ rm -f ${STAGING_LIBDIR}/librad.so
+ rm -f ${STAGING_LIBDIR}/librad.so.0
+ rm -f ${STAGING_LIBDIR}/librad.so.0.0.0
+}
+
+headers = "radbuffers.h \
+ radconffile.h \
+ radcrc.h \
+ raddebug.h \
+ radevents.h \
+ radlist.h \
+ radmsgLog.h \
+ radmsgRouter.h \
+ radprocess.h \
+ radproclist.h \
+ radprocutils.h \
+ radqueue.h \
+ radsemaphores.h \
+ radsha.h \
+ radshmem.h \
+ radsocket.h \
+ radsortlist.h \
+ radstack.h \
+ radstates.h \
+ radsysdefs.h \
+ radsystem.h \
+ radsysutils.h \
+ radtimers.h \
+ radtimeUtils.h \
+ raddatabase.h \
+ radUDPsocket.h"
+
+do_stage () {
+ cd ${S}/src/.libs
+
+ oe_libinstall -so -a librad ${STAGING_LIBDIR}/
+ cd ${S}/h
+ for i in ${headers}; do
+ install -m 0644 $i ${STAGING_INCDIR}/
+ done
+ cd ${S}
+}
+
+
diff --git a/packages/radlib/radlib-mysql.inc b/packages/radlib/radlib-mysql.inc
new file mode 100644
index 0000000000..a6a5923343
--- /dev/null
+++ b/packages/radlib/radlib-mysql.inc
@@ -0,0 +1,6 @@
+DEPENDS = "mysql"
+
+export CFLAGS_append=" -I${STAGING_INCDIR}/mysql "
+
+EXTRA_OECONF = " --host=${TARGET_SYS} --prefix=${STAGING_DIR} --enable-mysql"
+
diff --git a/packages/radlib/radlib-mysql_2.6.2.bb b/packages/radlib/radlib-mysql_2.6.2.bb
new file mode 100644
index 0000000000..93375c8300
--- /dev/null
+++ b/packages/radlib/radlib-mysql_2.6.2.bb
@@ -0,0 +1,3 @@
+include radlib-common.inc
+include radlib-mysql.inc
+PR = "r0"
diff --git a/packages/radlib/radlib.inc b/packages/radlib/radlib.inc
new file mode 100644
index 0000000000..67357ebe55
--- /dev/null
+++ b/packages/radlib/radlib.inc
@@ -0,0 +1 @@
+EXTRA_OECONF = " --host=${TARGET_SYS} --prefix=${STAGING_DIR}"
diff --git a/packages/radlib/radlib_2.6.2.bb b/packages/radlib/radlib_2.6.2.bb
new file mode 100644
index 0000000000..be5f2d0257
--- /dev/null
+++ b/packages/radlib/radlib_2.6.2.bb
@@ -0,0 +1,3 @@
+include radlib-common.inc
+include radlib.inc
+PR = "r0"
diff --git a/packages/wview/.mtn2git_empty b/packages/wview/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/wview/.mtn2git_empty
diff --git a/packages/wview/wview-common.inc b/packages/wview/wview-common.inc
new file mode 100644
index 0000000000..0efeee271c
--- /dev/null
+++ b/packages/wview/wview-common.inc
@@ -0,0 +1,39 @@
+SECTION = "apps"
+LICENSE = "GPL"
+DESCRIPTION = "wview is a weather site generator and more for a variety of weather stations"
+MAINTAINER = "Mark Teel (mark@teel.ws)"
+HOMEPAGE = "http://www.wviewweather.com/"
+DEPENDS += " bash util-linux gd openssl curl update-rc.d"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/wview/wview-${PV}.tar.gz"
+
+S = "${WORKDIR}/wview-${PV}"
+
+inherit autotools
+
+EXTRA_OECONF += " --enable-wunderground"
+
+do_install_append() {
+ install -d ${D}/${sysconfdir}/init.d
+ install -d ${D}/${sysconfdir}/wview
+ install -d ${D}/${sysconfdir}/wview/html
+ install -d ${D}/${sysconfdir}/wview/alarms
+ install -m 755 ${S}/examples/NSLU2/wview ${D}/${sysconfdir}/init.d
+ install -m 644 ${S}/examples/conf/*.* ${D}/${sysconfdir}/wview
+ install -m 755 ${S}/examples/alarms/*.sh ${D}/${sysconfdir}/wview/alarms
+ install -m 644 ${S}/examples/html/*.* ${D}/${sysconfdir}/wview/html
+
+ install -d ${D}/var/wview
+ install -d ${D}/var/wview/archive
+ install -d ${D}/var/wview/alarms
+ install -d ${D}/var/wview/img
+ install -d ${D}/var/wview/noaa
+ install -m 644 ${S}/bin/img/*.* ${D}/var/wview/img
+
+ if test "x${D}" != "x"; then
+ D="-r ${D}"
+ else
+ D=""
+ fi
+ update-rc.d $D wview defaults 95 15
+}
diff --git a/packages/wview/wview-mysql.inc b/packages/wview/wview-mysql.inc
new file mode 100644
index 0000000000..3b9314eafd
--- /dev/null
+++ b/packages/wview/wview-mysql.inc
@@ -0,0 +1,7 @@
+DEPENDS += " radlib-mysql"
+
+export CFLAGS_append=" -I${STAGING_INCDIR}/mysql "
+export LDFLAGS_append=" -L${STAGING_LIBDIR}/mysql "
+
+EXTRA_OECONF += " --enable-mysql"
+
diff --git a/packages/wview/wview-sim-mysql_3.1.3.bb b/packages/wview/wview-sim-mysql_3.1.3.bb
new file mode 100644
index 0000000000..bc389691b0
--- /dev/null
+++ b/packages/wview/wview-sim-mysql_3.1.3.bb
@@ -0,0 +1,3 @@
+include wview-common.inc
+include wview-mysql.inc
+EXTRA_OECONF += " --enable-station-sim"
diff --git a/packages/wview/wview-sim_3.1.3.bb b/packages/wview/wview-sim_3.1.3.bb
new file mode 100644
index 0000000000..919e322f42
--- /dev/null
+++ b/packages/wview/wview-sim_3.1.3.bb
@@ -0,0 +1,4 @@
+include wview-common.inc
+include wview.inc
+EXTRA_OECONF += " --enable-station-sim"
+PR = "r0"
diff --git a/packages/wview/wview-vpro-mysql_3.1.3.bb b/packages/wview/wview-vpro-mysql_3.1.3.bb
new file mode 100644
index 0000000000..6ef4148662
--- /dev/null
+++ b/packages/wview/wview-vpro-mysql_3.1.3.bb
@@ -0,0 +1,3 @@
+include wview-common.inc
+include wview-mysql.inc
+EXTRA_OECONF += " --enable-station-vpro"
diff --git a/packages/wview/wview-vpro_3.1.3.bb b/packages/wview/wview-vpro_3.1.3.bb
new file mode 100644
index 0000000000..1933e077b5
--- /dev/null
+++ b/packages/wview/wview-vpro_3.1.3.bb
@@ -0,0 +1,4 @@
+include wview-common.inc
+include wview.inc
+EXTRA_OECONF += " --enable-station-vpro"
+PR = "r0"
diff --git a/packages/wview/wview-wxt510-mysql_3.1.3.bb b/packages/wview/wview-wxt510-mysql_3.1.3.bb
new file mode 100644
index 0000000000..e842aae4d6
--- /dev/null
+++ b/packages/wview/wview-wxt510-mysql_3.1.3.bb
@@ -0,0 +1,3 @@
+include wview-common.inc
+include wview-mysql.inc
+EXTRA_OECONF += " --enable-station-wxt510"
diff --git a/packages/wview/wview-wxt510_3.1.3.bb b/packages/wview/wview-wxt510_3.1.3.bb
new file mode 100644
index 0000000000..b7b0ef236d
--- /dev/null
+++ b/packages/wview/wview-wxt510_3.1.3.bb
@@ -0,0 +1,4 @@
+include wview-common.inc
+include wview.inc
+EXTRA_OECONF += " --enable-station-wxt510"
+PR = "r0"
diff --git a/packages/wview/wview.inc b/packages/wview/wview.inc
new file mode 100644
index 0000000000..9b2229d699
--- /dev/null
+++ b/packages/wview/wview.inc
@@ -0,0 +1,2 @@
+DEPENDS += " radlib"
+