From 03f055e5e8f4731454a7c68fce84a1aa0bee5064 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Wed, 7 Dec 2011 13:34:06 -0600 Subject: enlighenment--changing dir --- abs/core/enlightenment/PKGBUILD | 39 ++++++++++++++++++++++++++++++ abs/core/enlightenment/__changelog | 1 + abs/core/enlightenment/startup.patch | 42 +++++++++++++++++++++++++++++++++ abs/core/mv/enlightenment/PKGBUILD | 39 ------------------------------ abs/core/mv/enlightenment/__changelog | 1 - abs/core/mv/enlightenment/startup.patch | 42 --------------------------------- 6 files changed, 82 insertions(+), 82 deletions(-) create mode 100644 abs/core/enlightenment/PKGBUILD create mode 100644 abs/core/enlightenment/__changelog create mode 100644 abs/core/enlightenment/startup.patch delete mode 100644 abs/core/mv/enlightenment/PKGBUILD delete mode 100644 abs/core/mv/enlightenment/__changelog delete mode 100644 abs/core/mv/enlightenment/startup.patch diff --git a/abs/core/enlightenment/PKGBUILD b/abs/core/enlightenment/PKGBUILD new file mode 100644 index 0000000..8c9c986 --- /dev/null +++ b/abs/core/enlightenment/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 140259 2011-10-11 03:24:04Z eric $ +# Maintainer: Eric Bélanger + +pkgname=enlightenment +pkgver=1.0.10 +_themever=1.0.1 +pkgrel=2 +pkgdesc="A fast, flexible, and very extensible Window Manager" +arch=('i686' 'x86_64') +url="http://www.enlightenment.org" +license=('BSD' 'custom') +depends=('libxinerama' 'imlib2' 'perl' 'pango' 'libxcomposite' \ + 'libxdamage' 'libxrandr' 'audiofile') +options=('!libtool') +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/e16-${pkgver}.tar.gz \ + startup.patch) + +build() { + cd "${srcdir}/e16-${pkgver}" + patch -p0 < $srcdir/startup.patch || return 1 + + ./configure --prefix=/usr --sysconfdir=/etc + make + +# cd "${srcdir}/e16-themes-${_themever}" +# ./configure --prefix=/usr +} + +package() { + cd "${srcdir}/e16-${pkgver}" + make DESTDIR="${pkgdir}" install + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" + +# cd "${srcdir}/e16-themes-${_themever}" +# make DESTDIR="${pkgdir}" install +# chown -R root:root "${pkgdir}"/usr/share/* +} +md5sums=('87441a2e7c4639e5d23198ed7bc834ea' + '7461fc1214752c98b542e672701a4719') diff --git a/abs/core/enlightenment/__changelog b/abs/core/enlightenment/__changelog new file mode 100644 index 0000000..59101f4 --- /dev/null +++ b/abs/core/enlightenment/__changelog @@ -0,0 +1 @@ +include startup.patch to allow e16 to wait until mythfrontend is started diff --git a/abs/core/enlightenment/startup.patch b/abs/core/enlightenment/startup.patch new file mode 100644 index 0000000..136f848 --- /dev/null +++ b/abs/core/enlightenment/startup.patch @@ -0,0 +1,42 @@ +--- 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 @@ + + Mode.place.enable_features--; + ESync(ESYNC_STARTUP); ++ ++ //Start of MythVantage delay for ultra cool startup ++ printf("***\n"); ++ int ret = 1 ; ++ ++ //checking for fname ++ int result; ++ const char *filename = "/tmp/nofe"; ++ result = access (filename, F_OK); ++ ++ if( result != 0 ) ++ { ++ printf("Waiting for Mythfrontend\n"); ++ 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; ++ } ++ if ( ret != 0 ) ++ printf("Couldn't find mythfrontend, starting anyhow \n"); ++ else ++ printf("MythFrontned found, continue startup\n"); ++ } ++ else ++ { ++ printf("Found /tmp/nofe, skipping delay\n"); ++ } ++ // End of delay code ++ ++ + AnimatorAdd(doStartupWindowsOpen, NULL); + } diff --git a/abs/core/mv/enlightenment/PKGBUILD b/abs/core/mv/enlightenment/PKGBUILD deleted file mode 100644 index 8c9c986..0000000 --- a/abs/core/mv/enlightenment/PKGBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# $Id: PKGBUILD 140259 2011-10-11 03:24:04Z eric $ -# Maintainer: Eric Bélanger - -pkgname=enlightenment -pkgver=1.0.10 -_themever=1.0.1 -pkgrel=2 -pkgdesc="A fast, flexible, and very extensible Window Manager" -arch=('i686' 'x86_64') -url="http://www.enlightenment.org" -license=('BSD' 'custom') -depends=('libxinerama' 'imlib2' 'perl' 'pango' 'libxcomposite' \ - 'libxdamage' 'libxrandr' 'audiofile') -options=('!libtool') -source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/e16-${pkgver}.tar.gz \ - startup.patch) - -build() { - cd "${srcdir}/e16-${pkgver}" - patch -p0 < $srcdir/startup.patch || return 1 - - ./configure --prefix=/usr --sysconfdir=/etc - make - -# cd "${srcdir}/e16-themes-${_themever}" -# ./configure --prefix=/usr -} - -package() { - cd "${srcdir}/e16-${pkgver}" - make DESTDIR="${pkgdir}" install - install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" - -# cd "${srcdir}/e16-themes-${_themever}" -# make DESTDIR="${pkgdir}" install -# chown -R root:root "${pkgdir}"/usr/share/* -} -md5sums=('87441a2e7c4639e5d23198ed7bc834ea' - '7461fc1214752c98b542e672701a4719') diff --git a/abs/core/mv/enlightenment/__changelog b/abs/core/mv/enlightenment/__changelog deleted file mode 100644 index 59101f4..0000000 --- a/abs/core/mv/enlightenment/__changelog +++ /dev/null @@ -1 +0,0 @@ -include startup.patch to allow e16 to wait until mythfrontend is started diff --git a/abs/core/mv/enlightenment/startup.patch b/abs/core/mv/enlightenment/startup.patch deleted file mode 100644 index 136f848..0000000 --- a/abs/core/mv/enlightenment/startup.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- 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 @@ - - Mode.place.enable_features--; - ESync(ESYNC_STARTUP); -+ -+ //Start of MythVantage delay for ultra cool startup -+ printf("***\n"); -+ int ret = 1 ; -+ -+ //checking for fname -+ int result; -+ const char *filename = "/tmp/nofe"; -+ result = access (filename, F_OK); -+ -+ if( result != 0 ) -+ { -+ printf("Waiting for Mythfrontend\n"); -+ 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; -+ } -+ if ( ret != 0 ) -+ printf("Couldn't find mythfrontend, starting anyhow \n"); -+ else -+ printf("MythFrontned found, continue startup\n"); -+ } -+ else -+ { -+ printf("Found /tmp/nofe, skipping delay\n"); -+ } -+ // End of delay code -+ -+ - AnimatorAdd(doStartupWindowsOpen, NULL); - } -- cgit v0.12