diff options
author | James Meyer <james.meyer@operamail.com> | 2012-04-30 02:30:47 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-04-30 02:30:47 (GMT) |
commit | 5fa5144e2853520b7804d9f42652abd97106b974 (patch) | |
tree | 2d2ad2521758358db942c211e43d4af5a316e4de /abs/core | |
parent | d09372edbd413b71196956063b0f0257d8dfcfd6 (diff) | |
download | linhes_pkgbuild-5fa5144e2853520b7804d9f42652abd97106b974.zip linhes_pkgbuild-5fa5144e2853520b7804d9f42652abd97106b974.tar.gz linhes_pkgbuild-5fa5144e2853520b7804d9f42652abd97106b974.tar.bz2 |
enlightenment: don't delay opening when .configure is found.
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/enlightenment/PKGBUILD | 4 | ||||
-rw-r--r-- | abs/core/enlightenment/startup.patch | 25 |
2 files changed, 18 insertions, 11 deletions
diff --git a/abs/core/enlightenment/PKGBUILD b/abs/core/enlightenment/PKGBUILD index 8c9c986..0c5ce00 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=2 +pkgrel=4 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' - '7461fc1214752c98b542e672701a4719') + '75d83333bfaa4ecbe7678875b947846e') diff --git a/abs/core/enlightenment/startup.patch b/abs/core/enlightenment/startup.patch index 136f848..6e26f75 100644 --- a/abs/core/enlightenment/startup.patch +++ b/abs/core/enlightenment/startup.patch @@ -1,6 +1,6 @@ ---- src/startup.c.orig 2011-11-15 22:01:02.939243595 +0000 -+++ src/startup.c 2011-11-15 22:01:33.682575674 +0000 -@@ -173,5 +173,39 @@ +--- 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 @@ Mode.place.enable_features--; ESync(ESYNC_STARTUP); @@ -13,8 +13,19 @@ + int result; + const char *filename = "/tmp/nofe"; + result = access (filename, F_OK); -+ -+ if( result != 0 ) ++ int result_config; ++ const char *homedir = "HOME"; ++ char *value; ++ value = getenv(homedir); ++ char *filename_config; ++ filename_config = strcat(value , "/.configure"); ++ result_config = access (filename_config, F_OK); ++ ++ if( result == 0 || result_config ==0 ) ++ { ++ printf("Found /tmp/nofe, skipping delay\n"); ++ } ++ else + { + printf("Waiting for Mythfrontend\n"); + int i; @@ -31,10 +42,6 @@ + else + printf("MythFrontned found, continue startup\n"); + } -+ else -+ { -+ printf("Found /tmp/nofe, skipping delay\n"); -+ } + // End of delay code + + |