diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/neuros-public/neuros-nwm/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/neuros-public/neuros-nwm/init | 82 | ||||
-rw-r--r-- | packages/neuros-public/neuros-nwm_git.bb | 14 |
3 files changed, 93 insertions, 3 deletions
diff --git a/packages/neuros-public/neuros-nwm/.mtn2git_empty b/packages/neuros-public/neuros-nwm/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/neuros-public/neuros-nwm/.mtn2git_empty diff --git a/packages/neuros-public/neuros-nwm/init b/packages/neuros-public/neuros-nwm/init new file mode 100644 index 0000000000..849261a95c --- /dev/null +++ b/packages/neuros-public/neuros-nwm/init @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"> +<!-- git web interface version 1.5.4.2, (C) 2005-2006, Kay Sievers <kay.sievers@vrfy.org>, Christian Gierke --> +<!-- git core binaries version 1.5.4.2 --> +<head> +<meta http-equiv="content-type" content="text/html; charset=utf-8"/> +<meta name="generator" content="gitweb/1.5.4.2 git/1.5.4.2"/> +<meta name="robots" content="index, nofollow"/> +<title>git.neurostechnology.com Git - rootfs/blob - base/etc/init.d/nwm</title> +<link rel="stylesheet" type="text/css" href="/gitweb.css"/> +<link rel="alternate" title="rootfs log RSS feed" href="/?p=rootfs;a=rss" type="application/rss+xml" /> +<link rel="alternate" title="rootfs log RSS feed (no merges)" href="/?p=rootfs;a=rss;opt=--no-merges" type="application/rss+xml" /> +<link rel="alternate" title="rootfs log Atom feed" href="/?p=rootfs;a=atom" type="application/atom+xml" /> +<link rel="alternate" title="rootfs log Atom feed (no merges)" href="/?p=rootfs;a=atom;opt=--no-merges" type="application/atom+xml" /> +<link rel="shortcut icon" href="/git-favicon.png" type="image/png"/> +</head> +<body> +<div class="page_header"> +<a title="git homepage" href="http://git.or.cz/"><img src="/git-logo.png" width="72" height="27" alt="git" class="logo"/></a><a href="/">projects</a> / <a href="/?p=rootfs;a=summary">rootfs</a> / blob +</div> +<form method="get" action="/" enctype="application/x-www-form-urlencoded"> +<div class="search"> +<input type="hidden" name="p" value="rootfs" /> +<input type="hidden" name="a" value="search" /> +<input type="hidden" name="h" value="HEAD" /> +<select name="st" > +<option selected="selected" value="commit">commit</option> +<option value="grep">grep</option> +<option value="author">author</option> +<option value="committer">committer</option> +<option value="pickaxe">pickaxe</option> +</select><sup><a href="/?p=rootfs;a=search_help">?</a></sup> search: +<input type="text" name="s" /> +</div> +</form> +<div class="page_nav"> +<a href="/?p=rootfs;a=summary">summary</a> | <a href="/?p=rootfs;a=shortlog">shortlog</a> | <a href="/?p=rootfs;a=log">log</a> | <a href="/?p=rootfs;a=commit;h=HEAD">commit</a> | <a href="/?p=rootfs;a=commitdiff;h=HEAD">commitdiff</a> | <a href="/?p=rootfs;a=tree;h=aa04ffa2e7a86b55bf69a7bd2bf468fc78b1e7ad;hb=HEAD">tree</a><br/> +<a href="/?p=rootfs;a=history;f=base/etc/init.d/nwm;h=HEAD;hb=HEAD">history</a> | <a href="/?p=rootfs;a=blob_plain;f=base/etc/init.d/nwm;h=HEAD;hb=HEAD">raw</a> | <a href="/?p=rootfs;a=blob;f=base/etc/init.d/nwm;hb=HEAD">HEAD</a><br/> +</div> +<div class="header"> +<a class="title" href="/?p=rootfs;a=commit;h=HEAD">Revert "Add /usr/local/bin/test to PATH"</a> +</div> +<div class="page_path"><a title="tree root" href="/?p=rootfs;a=tree;hb=HEAD">[rootfs]</a> / <a title="base" href="/?p=rootfs;a=tree;f=base;hb=HEAD">base</a> / <a title="base/etc" href="/?p=rootfs;a=tree;f=base/etc;hb=HEAD">etc</a> / <a title="base/etc/init.d" href="/?p=rootfs;a=tree;f=base/etc/init.d;hb=HEAD">init.d</a> / <a title="base/etc/init.d/nwm" href="/?p=rootfs;a=blob_plain;f=base/etc/init.d/nwm;hb=HEAD">nwm</a><br/></div> +<div class="page_body"> +<div class="pre"><a id="l1" href="#l1" class="linenr"> 1</a> #!/bin/sh</div> +<div class="pre"><a id="l2" href="#l2" class="linenr"> 2</a> ###############################################################################$</div> +<div class="pre"><a id="l3" href="#l3" class="linenr"> 3</a> #</div> +<div class="pre"><a id="l4" href="#l4" class="linenr"> 4</a> # Filename: /etc/init.d/nwm</div> +<div class="pre"><a id="l5" href="#l5" class="linenr"> 5</a> #</div> +<div class="pre"><a id="l6" href="#l6" class="linenr"> 6</a> # File Description: Qt Neuros server Startup Script</div> +<div class="pre"><a id="l7" href="#l7" class="linenr"> 7</a> #</div> +<div class="pre"><a id="l8" href="#l8" class="linenr"> 8</a> # @author Tom Bruno tbruno@neuros.us</div> +<div class="pre"><a id="l9" href="#l9" class="linenr"> 9</a> # @version $Revision: 1.0 $</div> +<div class="pre"><a id="l10" href="#l10" class="linenr"> 10</a> #</div> +<div class="pre"><a id="l11" href="#l11" class="linenr"> 11</a> ###############################################################################$</div> +<div class="pre"><a id="l12" href="#l12" class="linenr"> 12</a> </div> +<div class="pre"><a id="l13" href="#l13" class="linenr"> 13</a> [ "$1" != "" ] && action=$1</div> +<div class="pre"><a id="l14" href="#l14" class="linenr"> 14</a> if [ "$action" = "" ]</div> +<div class="pre"><a id="l15" href="#l15" class="linenr"> 15</a> then</div> +<div class="pre"><a id="l16" href="#l16" class="linenr"> 16</a> echo "Usage: $0 <action start|stop>" >&2</div> +<div class="pre"><a id="l17" href="#l17" class="linenr"> 17</a> exit 1</div> +<div class="pre"><a id="l18" href="#l18" class="linenr"> 18</a> fi</div> +<div class="pre"><a id="l19" href="#l19" class="linenr"> 19</a> </div> +<div class="pre"><a id="l20" href="#l20" class="linenr"> 20</a> if [ "$action" = "start" ]</div> +<div class="pre"><a id="l21" href="#l21" class="linenr"> 21</a> then</div> +<div class="pre"><a id="l22" href="#l22" class="linenr"> 22</a> </div> +<div class="pre"><a id="l23" href="#l23" class="linenr"> 23</a> QWS_KEYBOARD="osdir" QWS_DISPLAY="LinuxFb:/dev/fb2" /usr/local/bin/nwm &</div> +<div class="pre"><a id="l24" href="#l24" class="linenr"> 24</a> </div> +<div class="pre"><a id="l25" href="#l25" class="linenr"> 25</a> else</div> +<div class="pre"><a id="l26" href="#l26" class="linenr"> 26</a> if [ "$action" = "stop" ]</div> +<div class="pre"><a id="l27" href="#l27" class="linenr"> 27</a> then</div> +<div class="pre"><a id="l28" href="#l28" class="linenr"> 28</a> killall nwm</div> +<div class="pre"><a id="l29" href="#l29" class="linenr"> 29</a> fi</div> +<div class="pre"><a id="l30" href="#l30" class="linenr"> 30</a> fi</div> +<div class="pre"><a id="l31" href="#l31" class="linenr"> 31</a> </div> +</div><div class="page_footer"> +<div class="page_footer_text">Root FS build scripts and static rootfs portions</div> +<a class="rss_logo" href="/?p=rootfs;a=rss">RSS</a> <a class="rss_logo" href="/?p=rootfs;a=atom">Atom</a> +</div> +</body> +</html>
\ No newline at end of file diff --git a/packages/neuros-public/neuros-nwm_git.bb b/packages/neuros-public/neuros-nwm_git.bb index 0f0dcf857d..bf4bbaa9af 100644 --- a/packages/neuros-public/neuros-nwm_git.bb +++ b/packages/neuros-public/neuros-nwm_git.bb @@ -2,18 +2,23 @@ DESCRIPTION = "Neuros window manager" LICENSE = "GPL" PV = "0.0+${PR}+gitr${SRCREV}" -PR = "r4" +PR = "r5" DEPENDS = "qt-embedded" -inherit qtopia4core +inherit qtopia4core update-rc.d SRCREV = "e6c30ba6e5be217ca4bf7e98e00f87bb7241872c" -SRC_URI = "git://git.neurostechnology.com/git/app-nwm;protocol=git" +SRC_URI = "git://git.neurostechnology.com/git/app-nwm;protocol=git \ + file://init" + +INITSCRIPT_NAME = "neuros-nwm" + S = "${WORKDIR}/git/" do_configure_prepend() { rm ${S}/src/Makefile || true + sed -i -e s:/usr/locl/bin:${bindir}:g ${WORKDIR}/init } do_install() { @@ -21,6 +26,9 @@ do_install() { install -m 0755 ${S}/build/nwm ${D}/${bindir} install -d ${D}/${libdir} ln -sf ${datadir}/fonts ${D}/${libdir}/fonts + + install -d ${D}/${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/neuros-nwm } FILES_${PN} += "${libdir}/fonts" |