aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven 'sleipnir' Rebhan <odinshorse@googlemail.com>2009-07-08 19:17:24 +0000
committerSven 'sleipnir' Rebhan <odinshorse@googlemail.com>2009-07-08 19:17:24 +0000
commit0f5e8b114768d9c13de9ad311a0772c742cadf1c (patch)
tree8df2abc41cf67890a6c965512be0b0785c51163b /sys-mobilephone/freesmartphone-framework
parentAdded fso-abyss as alternative gsm muxer (diff)
downloadembedded-cross-0f5e8b114768d9c13de9ad311a0772c742cadf1c.tar.gz
embedded-cross-0f5e8b114768d9c13de9ad311a0772c742cadf1c.tar.bz2
embedded-cross-0f5e8b114768d9c13de9ad311a0772c742cadf1c.zip
Create framework snapshot that works well with fso-gpsd.
Diffstat (limited to 'sys-mobilephone/freesmartphone-framework')
-rw-r--r--sys-mobilephone/freesmartphone-framework/Manifest2
-rw-r--r--sys-mobilephone/freesmartphone-framework/files/freesmartphone-framework-20090704-setup-paths.patch40
-rw-r--r--sys-mobilephone/freesmartphone-framework/freesmartphone-framework-20090704.ebuild56
3 files changed, 98 insertions, 0 deletions
diff --git a/sys-mobilephone/freesmartphone-framework/Manifest b/sys-mobilephone/freesmartphone-framework/Manifest
index 5824b74..443690d 100644
--- a/sys-mobilephone/freesmartphone-framework/Manifest
+++ b/sys-mobilephone/freesmartphone-framework/Manifest
@@ -1,6 +1,8 @@
AUX frameworkd 493 RMD160 f8efed7d1d7a81d9eaeb8df5d34176898d7b88ea SHA1 4986b8e68917a7db8ce5f860071adc67fbc77b9d SHA256 27eae1f79a87b44850d92224c9f32b78fa48c53cfaf6dbe0f920f6ee9d405ea9
AUX freesmartphone-framework-0.5-setup-paths.patch 3425 RMD160 71bb36e15f5de6649d5b89358bbf9ad47fd8ccd7 SHA1 68d72fc1c26af163a556d10a00bc4af9e2f6cfc5 SHA256 53c7fbd15033da97bb5ce2b7613aefb704df8eabf8cd74a54372612456ba2533
+AUX freesmartphone-framework-20090704-setup-paths.patch 3480 RMD160 d71648089899a357bd3001127e7007506f5979d0 SHA1 ec52508f92154023e839cace26a0e2cd271f46b6 SHA256 72c7e7eb4e4b06f660ea9132015d4dd4a2c782dae738b78c8af891ab24415848
AUX freesmartphone-framework-9999-setup-paths.patch 3477 RMD160 47547e3175ea437023091073423016bc5db355eb SHA1 9754e5f2ee2de24c13b7e74fd0d7204feec260b7 SHA256 1389bea2c4b872a8557ad079d8eda70fcf2698043bdc8ca3f06e706b5d2582de
EBUILD freesmartphone-framework-0.5.1.ebuild 1339 RMD160 9f87e800434d665a52dad75a21185fa61e283d6d SHA1 75361271cc62300a9a89670a8b60ae5c4b8cd8d4 SHA256 15c3dcb4927a7b4041ac425485e484139e377e7b601e07cdbbac229792ce5702
EBUILD freesmartphone-framework-0.5.ebuild 1343 RMD160 402030ad32e8184b1a1b9ca2746b4d595b292014 SHA1 0787bff7ee46b9e38aa7ca1066c8c325077b965c SHA256 4f28fbc685ca00f283da7e5b341a98adb797fb00c15fa9d14862ea7e4578fc8b
+EBUILD freesmartphone-framework-20090704.ebuild 1355 RMD160 d7a76d73af987b2052f139f499a653dfa3b6b8e3 SHA1 0ab940dbf5e56e6b8daa63af65f6f58943a4e9da SHA256 7df6f4cfa21e83a58e2c2704d1b19d4e729e036c28561352e84c6599701fe8cd
EBUILD freesmartphone-framework-9999.ebuild 1485 RMD160 f55b40a0dbe94344b741daa96c0c8b26562960f7 SHA1 b3ef8522e28eb68348d460595ed79e668eaeed3a SHA256 33579c51962ed9bc39b597de51d1ea636e78eb697a27d59c9ff9198097bd34c9
diff --git a/sys-mobilephone/freesmartphone-framework/files/freesmartphone-framework-20090704-setup-paths.patch b/sys-mobilephone/freesmartphone-framework/files/freesmartphone-framework-20090704-setup-paths.patch
new file mode 100644
index 0000000..59085d5
--- /dev/null
+++ b/sys-mobilephone/freesmartphone-framework/files/freesmartphone-framework-20090704-setup-paths.patch
@@ -0,0 +1,40 @@
+--- setup.py 2009-07-08 08:09:43.000000000 +0200
++++ setup.py.new 2009-07-08 08:15:36.000000000 +0200
+@@ -24,23 +24,23 @@
+ packages = packages,
+ scripts = [ "framework/frameworkd", "tools/cli-framework", "tools/dump-netlink" ],
+ data_files = [
+- ("../../etc/dbus-1/system.d", ["etc/dbus-1/system.d/frameworkd.conf"] ),
+- ("../../etc/freesmartphone/opreferences/schema/", ["etc/freesmartphone/opreferences/schema/phone.yaml"]),
+- ("../../etc/freesmartphone/opreferences/schema/", ["etc/freesmartphone/opreferences/schema/profiles.yaml"]),
+- ("../../etc/freesmartphone/opreferences/schema/", ["etc/freesmartphone/opreferences/schema/rules.yaml"]),
+- ("../../etc/freesmartphone/opreferences/conf/profiles/", ["etc/freesmartphone/opreferences/conf/profiles/default.yaml"]),
+- ("../../etc/freesmartphone/opreferences/conf/phone", ["etc/freesmartphone/opreferences/conf/phone/default.yaml"]),
+- ("../../etc/freesmartphone/opreferences/conf/phone", ["etc/freesmartphone/opreferences/conf/phone/silent.yaml"]),
+- ("../../etc/freesmartphone/opreferences/conf/rules", ["etc/freesmartphone/opreferences/conf/rules/default.yaml"]),
+- ("../../etc/freesmartphone/opreferences/conf/rules", ["etc/freesmartphone/opreferences/conf/rules/silent.yaml"]),
+- ("../../etc/freesmartphone/oevents", ["etc/freesmartphone/oevents/rules.yaml"]),
+- ("../../etc/freesmartphone/persist", ["etc/freesmartphone/persist/README"]),
+- ("../../etc/freesmartphone/ogsmd", [
++ ("../etc/dbus-1/system.d", ["etc/dbus-1/system.d/frameworkd.conf"] ),
++ ("../etc/freesmartphone/opreferences/schema/", ["etc/freesmartphone/opreferences/schema/phone.yaml"]),
++ ("../etc/freesmartphone/opreferences/schema/", ["etc/freesmartphone/opreferences/schema/profiles.yaml"]),
++ ("../etc/freesmartphone/opreferences/schema/", ["etc/freesmartphone/opreferences/schema/rules.yaml"]),
++ ("../etc/freesmartphone/opreferences/conf/profiles/", ["etc/freesmartphone/opreferences/conf/profiles/default.yaml"]),
++ ("../etc/freesmartphone/opreferences/conf/phone", ["etc/freesmartphone/opreferences/conf/phone/default.yaml"]),
++ ("../etc/freesmartphone/opreferences/conf/phone", ["etc/freesmartphone/opreferences/conf/phone/silent.yaml"]),
++ ("../etc/freesmartphone/opreferences/conf/rules", ["etc/freesmartphone/opreferences/conf/rules/default.yaml"]),
++ ("../etc/freesmartphone/opreferences/conf/rules", ["etc/freesmartphone/opreferences/conf/rules/silent.yaml"]),
++ ("../etc/freesmartphone/oevents", ["etc/freesmartphone/oevents/rules.yaml"]),
++ ("../etc/freesmartphone/persist", ["etc/freesmartphone/persist/README"]),
++ ("../etc/freesmartphone/ogsmd", [
+ "etc/freesmartphone/ogsmd/cell.db",
+ "etc/freesmartphone/ogsmd/la.db",
+ "etc/freesmartphone/ogsmd/networks.tab",
+ ]),
+- ("../../etc/freesmartphone/opim", ["etc/freesmartphone/opim/csv-contacts.txt"]),
+- ("freesmartphone/examples/", getDir( "examples" ) ),
++ ("../etc/freesmartphone/opim", ["etc/freesmartphone/opim/csv-contacts.txt"]),
++ ("share/doc/freesmartphone/examples/", getDir( "examples" ) ),
+ ]
+ )
diff --git a/sys-mobilephone/freesmartphone-framework/freesmartphone-framework-20090704.ebuild b/sys-mobilephone/freesmartphone-framework/freesmartphone-framework-20090704.ebuild
new file mode 100644
index 0000000..8078ef8
--- /dev/null
+++ b/sys-mobilephone/freesmartphone-framework/freesmartphone-framework-20090704.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit distutils
+inherit git
+
+DESCRIPTION="The FreeSmartPhone.org framework APIs."
+HOMEPAGE="http://www.freesmartphone.org/"
+
+EGIT_REPO_URI="git://git.freesmartphone.org/framework.git"
+EGIT_PROJECT="framework"
+EGIT_TREE="116599e055df9833fcf050311cdedf54074f25ae"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~arm"
+IUSE="gsm gps readline"
+DOCS="README"
+
+RDEPEND="dev-python/dbus-python
+ dev-python/gst-python
+ dev-python/pygobject
+ dev-python/pyyaml
+ dev-python/pyserial
+ dev-python/pyrtc
+ dev-python/pyalsaaudio
+ dev-lang/python[threads]
+ virtual/alsa-scenarios
+ gsm? ( sys-mobilephone/gsm0710muxd )
+ gps? ( || ( sci-geosciences/fso-gpsd sci-geosciences/gpsd ) )
+ readline? ( sys-libs/readline )"
+DEPEND="dev-python/cython
+ dev-python/setuptools"
+
+src_unpack() {
+ # Fetch and unpack current git sources
+ git_src_unpack
+
+ cd "${S}"
+
+ # Change the paths for setup.py and add the example config file
+ epatch "${FILESDIR}/${P}-setup-paths.patch"
+}
+
+src_install() {
+ distutils_src_install
+ newinitd "${FILESDIR}/frameworkd" frameworkd
+ insinto /etc
+ doins conf/example/frameworkd.conf
+}
+
+pkg_postinst() {
+ einfo "An example configuration file was installed to /etc/frameworkd.conf,"
+ einfo "please modify this configuration file to your needs!"
+}