From b85e30fefb0307882d451812740876c3c120512b Mon Sep 17 00:00:00 2001 From: Daniel Francis Date: Sun, 11 Nov 2012 16:58:56 +0000 Subject: Initial commit Signed-off-by: Daniel Francis --- 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 diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/AUTHORS diff --git a/COPYING b/COPYING new file mode 120000 index 0000000..6168a39 --- /dev/null +++ b/COPYING @@ -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/NEWS b/NEWS new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/NEWS diff --git a/README b/README new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/README 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 +# +# 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') -- cgit v0.9.1