From 905a439cf1b2bd8f665b809c44e74cf3d9d4c248 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Wed, 22 Aug 2012 16:48:56 -0500 Subject: enlightenment: updated our patch to scan for both mythwelcome and mythfrontend. Previously it only scanned for mythfrontend --- abs/core/enlightenment/PKGBUILD | 4 ++-- abs/core/enlightenment/startup.patch | 21 ++++++++++++--------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/abs/core/enlightenment/PKGBUILD b/abs/core/enlightenment/PKGBUILD index 0c5ce00..fc3a256 100644 --- a/abs/core/enlightenment/PKGBUILD +++ b/abs/core/enlightenment/PKGBUILD @@ -4,7 +4,7 @@ pkgname=enlightenment pkgver=1.0.10 _themever=1.0.1 -pkgrel=4 +pkgrel=6 pkgdesc="A fast, flexible, and very extensible Window Manager" arch=('i686' 'x86_64') url="http://www.enlightenment.org" @@ -36,4 +36,4 @@ package() { # chown -R root:root "${pkgdir}"/usr/share/* } md5sums=('87441a2e7c4639e5d23198ed7bc834ea' - '75d83333bfaa4ecbe7678875b947846e') + '48e9fda4e20ff4e874accca8318d82ff') diff --git a/abs/core/enlightenment/startup.patch b/abs/core/enlightenment/startup.patch index 6e26f75..e24bde5 100644 --- a/abs/core/enlightenment/startup.patch +++ b/abs/core/enlightenment/startup.patch @@ -1,14 +1,14 @@ --- src/startup.orig 2012-04-29 21:43:59.424202996 +0000 +++ src/startup.c 2012-04-29 22:19:28.350782803 +0000 -@@ -173,5 +173,46 @@ - +@@ -173,5 +173,49 @@ + Mode.place.enable_features--; ESync(ESYNC_STARTUP); + + //Start of MythVantage delay for ultra cool startup -+ printf("***\n"); ++ printf("***\n"); + int ret = 1 ; -+ ++ + //checking for fname + int result; + const char *filename = "/tmp/nofe"; @@ -21,7 +21,7 @@ + filename_config = strcat(value , "/.configure"); + result_config = access (filename_config, F_OK); + -+ if( result == 0 || result_config ==0 ) ++ if( result == 0 || result_config ==0 ) + { + printf("Found /tmp/nofe, skipping delay\n"); + } @@ -31,17 +31,20 @@ + int i; + for (i = 0; i < 20; i++) + { -+ ++ + sleep(1); + ret = system("xwininfo -name \"MythTV Frontend\" 2>/dev/null >/dev/null " ); + if ( ret == 0 ) + break; ++ ret = system("xwininfo -name \"mythwelcome\" 2>/dev/null >/dev/null " ); ++ if ( ret == 0 ) ++ break; + } + if ( ret != 0 ) -+ printf("Couldn't find mythfrontend, starting anyhow \n"); ++ printf("Couldn't find mythfrontend/mythwelcome, starting anyhow \n"); + else -+ printf("MythFrontned found, continue startup\n"); -+ } ++ printf("MythFrontend or MythWelcome found, continue startup\n"); ++ } + // End of delay code + + -- cgit v0.12