diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-10-21 20:38:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-10-21 20:38:02 +0000 |
commit | ab0f9d68be90086652be3cfc7f5a6815c817493d (patch) | |
tree | 4b981e2d195f388430b23bb8a48050cd574da47c /x11-misc | |
parent | Revbump for security bug #68343. Moved patches out of files and onto mirrors... (diff) | |
download | historical-ab0f9d68be90086652be3cfc7f5a6815c817493d.tar.gz historical-ab0f9d68be90086652be3cfc7f5a6815c817493d.tar.bz2 historical-ab0f9d68be90086652be3cfc7f5a6815c817493d.zip |
live cvs
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/entrance/Manifest | 8 | ||||
-rw-r--r-- | x11-misc/entrance/entrance-9999.ebuild | 81 | ||||
-rw-r--r-- | x11-misc/entrance/files/digest-entrance-9999 | 0 |
3 files changed, 86 insertions, 3 deletions
diff --git a/x11-misc/entrance/Manifest b/x11-misc/entrance/Manifest index 17917db44d09..6fe6b9b23bf6 100644 --- a/x11-misc/entrance/Manifest +++ b/x11-misc/entrance/Manifest @@ -4,11 +4,13 @@ Hash: SHA1 MD5 e045d9b2ebfa08c1f2697cb1ac5bffab ChangeLog 930 MD5 06dea1f716ba1c8ce1728de23ccb14d0 entrance-0.9.0.20041016.ebuild 2499 MD5 088d07394fa8372e79b7757075ea4a7d metadata.xml 515 +MD5 8e84124e92bc6b227f63790f5ff64dff entrance-9999.ebuild 2489 MD5 95084647e1ea12ffe689bf23a00a17f9 files/digest-entrance-0.9.0.20041016 141 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-entrance-9999 0 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.10 (GNU/Linux) -iD8DBQFBc8IFHTu7gpaalycRAowyAJ4smwiKzaHzrhP1Z0lKRtno3DdJ0gCg9hcX -jkk1qlZcd2YM+YVkzq/gdd8= -=eHgG +iD8DBQFBeB5EHTu7gpaalycRAuPsAKCoiJInQQ/N061MNiOZ6zxhKHnILgCeLlQs +EakK/V/JeA1UkBwQuJMigzQ= +=jxRi -----END PGP SIGNATURE----- diff --git a/x11-misc/entrance/entrance-9999.ebuild b/x11-misc/entrance/entrance-9999.ebuild new file mode 100644 index 000000000000..4ddb4d82fe4f --- /dev/null +++ b/x11-misc/entrance/entrance-9999.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/entrance/entrance-9999.ebuild,v 1.1 2004/10/21 20:38:02 vapier Exp $ + +inherit enlightenment eutils + +DESCRIPTION="next generation of Elogin, a login/display manager for X" +HOMEPAGE="http://xcomputerman.com/pages/entrance.html" +SRC_URI="${SRC_URI} + mirror://gentoo/extraicons-1.tar.bz2 + http://wh0rd.de/gentoo/distfiles/extraicons-1.tar.bz2" +# http://www.atmos.org/files/gentooed-src.tar.gz" + +IUSE="pam" + +DEPEND="virtual/x11 + pam? ( sys-libs/pam ) + >=dev-db/edb-1.0.5 + >=x11-libs/evas-1.0.0_pre13 + >=x11-libs/ecore-1.0.0_pre7 + >=media-libs/edje-0.5.0 + >=x11-libs/esmart-0.0.2.20040501 + >=sys-apps/sed-4" + +src_unpack() { + enlightenment_src_unpack + if [ -d gentooed ] ; then + mv gentooed ${S}/data/themes/ + cd ${S}/data/themes + sed -i '/^SUBDIRS/s:$: gentooed:' Makefile.am + cp default/{Makefile.am,build_theme.sh} gentooed/ + cd gentooed + ln -s images img + sed -i 's:default:gentooed:g' Makefile.am build_theme.sh + sed -i 's:\(data/themes/default/Makefile\):\1 data/themes/gentooed/Makefile:' ${S}/configure.in + fi +} + +src_compile() { + if use pam ; then + export MY_ECONF="--with-auth-mode=pam" + else + export MY_ECONF="--with-auth-mode=shadow" + fi + enlightenment_src_compile +} + +src_install() { + enlightenment_src_install + rm -rf ${D}/etc/init.d + insinto /usr/share/entrance/images/sessions + doins ${WORKDIR}/extraicons/* + exeinto /usr/share/entrance + doexe data/config/build_config.sh + + cd /etc/X11/Sessions + local edb="${D}/etc/entrance_config.db" + local count="`edb_ed ${edb} get /entrance/session/count int`" + local datadir="${D}/usr/share/entrance/images/sessions" + local icon="" + while [ ${count} -ge 0 ] ; do + edb_ed ${edb} del /entrance/session/${count}/icon + edb_ed ${edb} del /entrance/session/${count}/session + edb_ed ${edb} del /entrance/session/${count}/title + count=$((${count} - 1)) + done + count=0 + for s in default * failsafe ; do + [ "${s}" == "Xsession" ] && continue + icon="`find ${datadir} -iname ${s}.png -printf %f`" + if [ -z "${icon}" ] ; then + edb_ed ${edb} add /entrance/session/${count}/icon str default.png + else + edb_ed ${edb} add /entrance/session/${count}/icon str ${icon} + fi + edb_ed ${edb} add /entrance/session/${count}/session str ${s} + edb_ed ${edb} add /entrance/session/${count}/title str ${s} + count=$((${count} + 1)) + done + edb_ed ${edb} add /entrance/session/count int ${count} +} diff --git a/x11-misc/entrance/files/digest-entrance-9999 b/x11-misc/entrance/files/digest-entrance-9999 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/x11-misc/entrance/files/digest-entrance-9999 |