[maemo-commits] [maemo-commits] r15730 - in projects/haf/trunk: . osso-af-startup-settings-template osso-af-startup-settings-template/confml osso-af-startup-settings-template/debian

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Jul 2 13:59:47 EEST 2008
Author: marivoll
Date: 2008-07-02 13:59:46 +0300 (Wed, 02 Jul 2008)
New Revision: 15730

Added:
   projects/haf/trunk/osso-af-startup-settings-template/
   projects/haf/trunk/osso-af-startup-settings-template/Makefile
   projects/haf/trunk/osso-af-startup-settings-template/README.demo
   projects/haf/trunk/osso-af-startup-settings-template/confml/
   projects/haf/trunk/osso-af-startup-settings-template/confml/osso-af-startup-settings.confml
   projects/haf/trunk/osso-af-startup-settings-template/debian/
   projects/haf/trunk/osso-af-startup-settings-template/debian/changelog
   projects/haf/trunk/osso-af-startup-settings-template/debian/compat
   projects/haf/trunk/osso-af-startup-settings-template/debian/control.template
   projects/haf/trunk/osso-af-startup-settings-template/debian/copyright
   projects/haf/trunk/osso-af-startup-settings-template/debian/install
   projects/haf/trunk/osso-af-startup-settings-template/debian/rules
   projects/haf/trunk/osso-af-startup-settings-template/locale-rx44.confml
   projects/haf/trunk/osso-af-startup-settings-template/locale-rx48.confml
   projects/haf/trunk/osso-af-startup-settings-template/locale.template
Log:
Added.

Added: projects/haf/trunk/osso-af-startup-settings-template/Makefile
===================================================================
--- projects/haf/trunk/osso-af-startup-settings-template/Makefile	2008-07-02 10:37:53 UTC (rev 15729)
+++ projects/haf/trunk/osso-af-startup-settings-template/Makefile	2008-07-02 10:59:46 UTC (rev 15730)
@@ -0,0 +1,3 @@
+install:
+	mkdir -p $(DESTDIR)/usr/share/osso-af-init/
+	cp locale $(DESTDIR)/usr/share/osso-af-init/

Added: projects/haf/trunk/osso-af-startup-settings-template/README.demo
===================================================================
--- projects/haf/trunk/osso-af-startup-settings-template/README.demo	2008-07-02 10:37:53 UTC (rev 15729)
+++ projects/haf/trunk/osso-af-startup-settings-template/README.demo	2008-07-02 10:59:46 UTC (rev 15730)
@@ -0,0 +1,34 @@
+How to run the demo:
+
+- Install confml-helper
+
+  Either from a repository
+
+    apt-get install confml-helper
+
+  or from source:
+
+    https://stage.maemo.org/svn/maemo/projects/haf/trunk/confml-helper
+
+- Run
+
+    $ confml-uninstantiate
+
+  This gives a builable source package template.
+
+- Run
+
+    $ confml-instantiate locale-rx44.confml
+
+  This instantiates the template for the example ConfML value file.
+  Note that these files are not normally included your source tree, of
+  course.
+
+- Run 
+
+    $ confml-instantiate locale-rx48.confml
+
+  This instantiates the template for a different ConfML value file.
+
+You can switch freely between the three states (template, rx44, or
+rx48) by running the appropriate command.

Added: projects/haf/trunk/osso-af-startup-settings-template/confml/osso-af-startup-settings.confml
===================================================================
--- projects/haf/trunk/osso-af-startup-settings-template/confml/osso-af-startup-settings.confml	2008-07-02 10:37:53 UTC (rev 15729)
+++ projects/haf/trunk/osso-af-startup-settings-template/confml/osso-af-startup-settings.confml	2008-07-02 10:59:46 UTC (rev 15730)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration xmlns="http://www.s60.com/xml/confml/1"
+	       xmlns:xi="http://www.w3.org/2001/XInclude"
+	       xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	       version="1.0">
+  <meta>
+    <id>osso-af-startup-settings</id>
+  </meta>
+  <feature name="Default startup settings" ref="osso-af-startup-settings">
+    <setting id="Language" type="string" ref="lang"/>
+  </feature>
+</configuration>

Added: projects/haf/trunk/osso-af-startup-settings-template/debian/changelog
===================================================================
--- projects/haf/trunk/osso-af-startup-settings-template/debian/changelog	2008-07-02 10:37:53 UTC (rev 15729)
+++ projects/haf/trunk/osso-af-startup-settings-template/debian/changelog	2008-07-02 10:59:46 UTC (rev 15730)
@@ -0,0 +1,6 @@
+osso-af-startup-settings-template (0) unstable; urgency=low
+
+  * First demo release.
+
+ -- Marius Vollmer <marius.vollmer at nokia.com>  Tue, 17 Jun 2008 14:42:38 +0300
+

Added: projects/haf/trunk/osso-af-startup-settings-template/debian/compat
===================================================================
--- projects/haf/trunk/osso-af-startup-settings-template/debian/compat	2008-07-02 10:37:53 UTC (rev 15729)
+++ projects/haf/trunk/osso-af-startup-settings-template/debian/compat	2008-07-02 10:59:46 UTC (rev 15730)
@@ -0,0 +1 @@
+4

Added: projects/haf/trunk/osso-af-startup-settings-template/debian/control.template
===================================================================
--- projects/haf/trunk/osso-af-startup-settings-template/debian/control.template	2008-07-02 10:37:53 UTC (rev 15729)
+++ projects/haf/trunk/osso-af-startup-settings-template/debian/control.template	2008-07-02 10:59:46 UTC (rev 15730)
@@ -0,0 +1,13 @@
+Source: osso-af-startup-settings- at VARIANT@
+Section: misc
+Priority: optional
+Maintainer: @VARIANT_MAINTAINER@
+Build-Depends: debhelper (>= 4.0.0), confml-helper
+Standards-Version: 3.6.0
+
+Package: osso-af-startup-settings- at VARIANT@
+Architecture: all
+Provides: osso-af-startup-settings-variant
+Conflicts: osso-af-startup-settings-variant
+Replaces: osso-af-startup-settings-variant
+Description: Default startup settings for @VARIANT@

Added: projects/haf/trunk/osso-af-startup-settings-template/debian/copyright
===================================================================
--- projects/haf/trunk/osso-af-startup-settings-template/debian/copyright	2008-07-02 10:37:53 UTC (rev 15729)
+++ projects/haf/trunk/osso-af-startup-settings-template/debian/copyright	2008-07-02 10:59:46 UTC (rev 15730)
@@ -0,0 +1,17 @@
+Copyright (C) 2004-2006 Nokia Corporation. All rights reserved.
+  
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+version 2 as published by the Free Software Foundation.
+  
+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 St, Fifth Floor, Boston, MA
+02110-1301 USA
+
+See /usr/share/common-licenses/GPL-2 on your debian system.

Added: projects/haf/trunk/osso-af-startup-settings-template/debian/install
===================================================================
--- projects/haf/trunk/osso-af-startup-settings-template/debian/install	2008-07-02 10:37:53 UTC (rev 15729)
+++ projects/haf/trunk/osso-af-startup-settings-template/debian/install	2008-07-02 10:59:46 UTC (rev 15730)
@@ -0,0 +1 @@
+usr/share/osso-af-init/

Added: projects/haf/trunk/osso-af-startup-settings-template/debian/rules
===================================================================
--- projects/haf/trunk/osso-af-startup-settings-template/debian/rules	2008-07-02 10:37:53 UTC (rev 15729)
+++ projects/haf/trunk/osso-af-startup-settings-template/debian/rules	2008-07-02 10:59:46 UTC (rev 15730)
@@ -0,0 +1,44 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+#export DH_VERBOSE=1
+
+build:
+	dh_testdir
+
+clean:
+	dh_testdir
+	dh_testroot
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/build
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/build
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_install --sourcedir=debian/build -v
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_md5sums
+	dh_gencontrol
+	dh_builddeb
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	# Nothing to do
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure


Property changes on: projects/haf/trunk/osso-af-startup-settings-template/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: projects/haf/trunk/osso-af-startup-settings-template/locale-rx44.confml
===================================================================
--- projects/haf/trunk/osso-af-startup-settings-template/locale-rx44.confml	2008-07-02 10:37:53 UTC (rev 15729)
+++ projects/haf/trunk/osso-af-startup-settings-template/locale-rx44.confml	2008-07-02 10:59:46 UTC (rev 15730)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration xmlns="http://www.s60.com/xml/confml/1"
+	       xmlns:xi="http://www.w3.org/2001/XInclude"
+	       xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	       version="1.0">
+  <meta>
+    <owner>Bar &lt;bar at foo.com&gt;</owner>
+    <version>1</version>
+    <id>rx44</id>
+  </meta>
+  <feature name="Default startup settings" ref="osso-af-startup-settings">
+    <setting id="Language" type="string" ref="lang"/>
+  </feature>
+  <data>
+    <osso-af-startup-settings>
+      <lang>de_DE</lang>
+    </osso-af-startup-settings>
+  </data>
+</configuration>

Added: projects/haf/trunk/osso-af-startup-settings-template/locale-rx48.confml
===================================================================
--- projects/haf/trunk/osso-af-startup-settings-template/locale-rx48.confml	2008-07-02 10:37:53 UTC (rev 15729)
+++ projects/haf/trunk/osso-af-startup-settings-template/locale-rx48.confml	2008-07-02 10:59:46 UTC (rev 15730)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration xmlns="http://www.s60.com/xml/confml/1"
+	       xmlns:xi="http://www.w3.org/2001/XInclude"
+	       xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	       version="1.0">
+  <meta>
+    <owner>Foo &lt;foo at bar.com&gt;</owner>
+    <version>1</version>
+    <id>rx48</id>
+  </meta>
+  <feature name="Default startup settings" ref="osso-af-startup-settings">
+    <setting id="Language" type="string" ref="lang"/>
+  </feature>
+  <data>
+    <osso-af-startup-settings>
+      <lang>en_US</lang>
+    </osso-af-startup-settings>
+  </data>
+</configuration>

Added: projects/haf/trunk/osso-af-startup-settings-template/locale.template
===================================================================
--- projects/haf/trunk/osso-af-startup-settings-template/locale.template	2008-07-02 10:37:53 UTC (rev 15729)
+++ projects/haf/trunk/osso-af-startup-settings-template/locale.template	2008-07-02 10:59:46 UTC (rev 15730)
@@ -0,0 +1,5 @@
+#!/bin/sh
+unset LC_ALL
+unset LANGUAGE
+export LANG=@LANG@
+export LC_MESSAGES=@LANG@


More information about the maemo-commits mailing list