diff options
author | Daniel Francis <francis@sugarlabs.org> | 2012-11-11 16:58:56 (GMT) |
---|---|---|
committer | Daniel Francis <francis@sugarlabs.org> | 2012-11-11 16:58:56 (GMT) |
commit | b85e30fefb0307882d451812740876c3c120512b (patch) | |
tree | c95d2e202ee06124a3b6d3f0953e41ec8f156d89 |
Signed-off-by: Daniel Francis <francis@sugarlabs.org>
-rw-r--r-- | .gitignore | 29 | ||||
-rw-r--r-- | AUTHORS | 0 | ||||
l--------- | COPYING | 1 | ||||
-rw-r--r-- | ChangeLog | 0 | ||||
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | NEWS | 0 | ||||
-rw-r--r-- | README | 0 | ||||
-rw-r--r-- | autogen.sh | 12 | ||||
-rw-r--r-- | configure.ac | 8 | ||||
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | src/www-launch | 26 |
11 files changed, 78 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c592895 --- /dev/null +++ b/.gitignore @@ -0,0 +1,29 @@ +INSTALL +Makefile +Makefile.in +aclocal.m4 +*.stamp +*.o +autom4te.cache +config.guess +config.h +config.h.in +config.log +config.status +config.sub +configure +depcomp +*.la +*.lo +install-sh +intltool-* +libtool +ltmain.sh +missing +mkinstalldirs +Makefile.in.in +.deps +.libs +stamp-h1 +*~ +compile
\ No newline at end of file @@ -0,0 +1 @@ +/usr/share/automake-1.11/COPYING
\ No newline at end of file diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/ChangeLog diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..f963eff --- /dev/null +++ b/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = src
\ No newline at end of file diff --git a/autogen.sh b/autogen.sh new file mode 100644 index 0000000..ef569d3 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +test -n "${srcdir}" || srcdir=`dirname "$0"` +test -n "${srcdir}" || srcdir="$(pwd)" + +olddir="$(pwd)" +cd "$srcdir" + +autoreconf -i + +cd "$olddir" +"$srcdir/configure" --enable-maintainer-mode "$@" diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..49b7d3f --- /dev/null +++ b/configure.ac @@ -0,0 +1,8 @@ +AC_INIT([browse-standarization], [0.1]) + +AM_INIT_AUTOMAKE +AM_PATH_PYTHON([2.7]) + +AC_CONFIG_FILES([Makefile src/Makefile]) + +AC_OUTPUT
\ No newline at end of file diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..fb073e4 --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1 @@ +bin_SCRIPTS = www-launch
\ No newline at end of file diff --git a/src/www-launch b/src/www-launch new file mode 100644 index 0000000..f61ce1e --- /dev/null +++ b/src/www-launch @@ -0,0 +1,26 @@ +#!/usr/bin/env python +# +# Copyright (C) 2012 S. Daniel Francis <francis@sugarlabs.org> +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +# MA 02110-1301, USA. + +import os +import sys + +if len(sys.argv) == 2: + os.environ['WEB_PAGE'] = sys.argv[1] + +os.system('sugar-launch org.laptop.WebActivity') |