summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-10-27 14:17:01 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-10-27 14:17:01 (GMT)
commit475e388cb630609bec176ec1a0acdf55c30a9a7c (patch)
treebb5d008b786b77d284a878a21ae28603be3758e2 /abs/core
parent5b5ba4d362e7ccc7e56355bb27b1fb06a2f5bd45 (diff)
downloadlinhes_pkgbuild-475e388cb630609bec176ec1a0acdf55c30a9a7c.zip
linhes_pkgbuild-475e388cb630609bec176ec1a0acdf55c30a9a7c.tar.gz
linhes_pkgbuild-475e388cb630609bec176ec1a0acdf55c30a9a7c.tar.bz2
enlightenment: add a small delay to give mythfrontend a chance to display. Mostly needed for non-nvidia
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/enlightenment/PKGBUILD2
-rw-r--r--abs/core/enlightenment/startup.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/abs/core/enlightenment/PKGBUILD b/abs/core/enlightenment/PKGBUILD
index fc3a256..5a2dcff 100644
--- a/abs/core/enlightenment/PKGBUILD
+++ b/abs/core/enlightenment/PKGBUILD
@@ -36,4 +36,4 @@ package() {
# chown -R root:root "${pkgdir}"/usr/share/*
}
md5sums=('87441a2e7c4639e5d23198ed7bc834ea'
- '48e9fda4e20ff4e874accca8318d82ff')
+ 'e82de3aa1a20d70da7eb7eae2251f66e')
diff --git a/abs/core/enlightenment/startup.patch b/abs/core/enlightenment/startup.patch
index e24bde5..0841d88 100644
--- a/abs/core/enlightenment/startup.patch
+++ b/abs/core/enlightenment/startup.patch
@@ -31,7 +31,6 @@
+ int i;
+ for (i = 0; i < 20; i++)
+ {
-+
+ sleep(1);
+ ret = system("xwininfo -name \"MythTV Frontend\" 2>/dev/null >/dev/null " );
+ if ( ret == 0 )
@@ -44,6 +43,7 @@
+ printf("Couldn't find mythfrontend/mythwelcome, starting anyhow \n");
+ else
+ printf("MythFrontend or MythWelcome found, continue startup\n");
++ sleep(2); //sleeping here to give FE a chance to be displayed.
+ }
+ // End of delay code
+