# ChangeLog for x11-misc/adesklets
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/adesklets/ChangeLog,v 1.22 2006/03/06 12:31:35 s4t4n Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/adesklets/ChangeLog,v 1.23 2006/03/15 08:01:11 s4t4n Exp $
+
+*adesklets-0.6.0 (15 Mar 2006)
+
+ 15 Mar 2006; Michele Noberasco <s4t4n@gentoo.org> +adesklets-0.6.0.ebuild:
+ Version bump. Fixing bug #126086.
*adesklets-0.5.1 (06 Mar 2006)
-MD5 44a371875e82229c7c64a189a04827a7 ChangeLog 3623
-RMD160 d17818794343471f9de7567dbcebe7dd02ad7fe4 ChangeLog 3623
-SHA256 6ca2846c4835667fc9dc2d472de49a016366a1f36e50c006065258c3bc192a38 ChangeLog 3623
+MD5 99ac917cdef3a7f2aadc72a11f19bbc1 ChangeLog 3769
+RMD160 522be8a6f89440b98c50385b3226b4fb2dff5b46 ChangeLog 3769
+SHA256 0d2fbe3ebd1c49fcc527192bd87d92c04d11a6988d8dbc3318d0c624d1729d19 ChangeLog 3769
MD5 234cc5824dc9aea74c1c73a83b82b6b0 adesklets-0.5.0-r1.ebuild 2685
RMD160 ac48ba86ab41232c47db96ebe5dd2aa5b0cd2846 adesklets-0.5.0-r1.ebuild 2685
SHA256 4d0bd7e062b05e82e8587cf1c71437d260e03dd78b9dd3a42b05c1c6ff77dddf adesklets-0.5.0-r1.ebuild 2685
MD5 09b47fdb34143a09d874762d092e82ef adesklets-0.5.1.ebuild 2631
RMD160 02c1eff2945ec3885549f42bfc7809f1f4b63880 adesklets-0.5.1.ebuild 2631
SHA256 620642423d16e91e3fa46706a78f98d27591f7a9711e34b28ffdbc05c5c87cdb adesklets-0.5.1.ebuild 2631
+MD5 9724d255aba988e43a66e834084d023b adesklets-0.6.0.ebuild 2723
+RMD160 57d7402aba88d13e3bcb574b72e840d05c4607f5 adesklets-0.6.0.ebuild 2723
+SHA256 70dea7389a95b6ee843294e1beeac8762540318aa9bedd82ec3ac2e70de902ea adesklets-0.6.0.ebuild 2723
MD5 e045c26201a3144d26662d727f31e7a8 files/adesklets-0.5.0-adesklets_installer.patch 1743
RMD160 bcf7c62f1e02d63e42f27dd34b90218fa362b76c files/adesklets-0.5.0-adesklets_installer.patch 1743
SHA256 c00864541593c5252910815aa41334c97f8c86529f1093a53f01ca12d3096df4 files/adesklets-0.5.0-adesklets_installer.patch 1743
MD5 8b28d9ec3ec7addd58df0bb0e5f7b88c files/digest-adesklets-0.5.1 250
RMD160 56c36dea0c26ee3fc7f51579c09bd0a2dcc62d1a files/digest-adesklets-0.5.1 250
SHA256 9d3dbfac7263c54aa412a9a039cdbe5c018de6db8e1a7c3711e2c55fc4bc5502 files/digest-adesklets-0.5.1 250
+MD5 4b10fc900bfffb69703a40d18fc80d2b files/digest-adesklets-0.6.0 250
+RMD160 92c8bacef7c500d920d2b52021f97b9421181659 files/digest-adesklets-0.6.0 250
+SHA256 bfdc913f644fa8491b29ad2409fb202dcc6b9c1c05f8689415088b341987d7bc files/digest-adesklets-0.6.0 250
MD5 ba2766b0b67886a694c4c93cdab3c972 metadata.xml 551
RMD160 99b9eb03ca5c5ab03e1625584e1d09cd1724f7c3 metadata.xml 551
SHA256 a6180c2f4d9890bb483e436f94c17de4a08b9e027d54d712240df00b62950e54 metadata.xml 551
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/adesklets/adesklets-0.6.0.ebuild,v 1.1 2006/03/15 08:01:11 s4t4n Exp $
+
+inherit eutils
+
+DESCRIPTION="An interactive Imlib2 console for the X Window system"
+HOMEPAGE="http://adesklets.sf.net/"
+SRC_URI="mirror://sourceforge/adesklets/${P}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="X python perl debug ctrlmenu"
+
+RDEPEND="X? ( || ( (
+ x11-libs/libX11
+ x11-apps/xprop
+ x11-libs/libXt )
+ virtual/x11 ) )"
+
+DEPEND=">=media-libs/imlib2-1.2.0-r2
+ X? ( || ( x11-proto/xproto virtual/x11 ) )
+ python? ( >=dev-lang/python-2.3.4-r1 )"
+
+src_unpack()
+{
+ unpack ${A}
+ cd ${S}
+
+ #Fix for bug #123538: control context menu fix
+ epatch ${FILESDIR}/${PN}-ctrlmenu.patch
+
+ # when performing minor changes to src/adesklets.c or src/commands.c,
+ # touching these files will avoid unneeded processing
+ touch scripting/enums scripting/prototypes \
+ scripting/python/adesklets/commands.py \
+ scripting/perl/adesklets.pm
+}
+
+src_compile()
+{
+ local myconf=""
+
+ use X || myconf="--without-x"
+ use python || myconf="${myconf} --without-python-support"
+ use perl || myconf="${myconf} --without-perl-support"
+ myconf="${myconf} $(use_enable debug)"
+ use ctrlmenu && myconf="--enable-control-on-context-menu"
+
+ econf ${myconf} || die
+ emake || die
+}
+
+src_install()
+{
+ dodir usr/share/info
+ dodir usr/share/man/man1
+ make DESTDIR=${D} install || die
+ doinfo doc/*.info || die "info page installation failed"
+ doman doc/*.1 || die "man page installation failed"
+ dodoc ChangeLog NEWS TODO AUTHORS
+ use debug &&
+ {
+ echo 'ADESKLETS_LOG="/tmp/adesklets_log"' > 70adesklets
+ doenvd 70adesklets
+ }
+}
+
+pkg_postinst()
+{
+ use X ||
+ {
+ ewarn "You did not install the X Window support for ${P}"
+ ewarn "If you intend to use it to display desklets, this"
+ ewarn "is a mistake."
+ echo
+ ewarn "Type USE=\"X\" emerge adesklets to correct this."
+ echo
+ einfo "Please also note that if it is what you intended"
+ einfo "to do, you need also to install imlib2 without"
+ einfo "X support to effectively remove all dependencies."
+ echo
+ }
+
+ use python ||
+ {
+ ewarn "You did not install the python bindings for ${P}"
+ ewarn "If you intend to use it to display desklets, this"
+ ewarn "is most probably an error."
+ echo
+ ewarn "Type USE=\"python\" emerge adesklets to correct this."
+ echo
+ }
+
+ use debug &&
+ {
+ ewarn "You installed a debug build. Make sure you do:"
+ echo
+ ewarn "source /etc/profile"
+ echo
+ ewarn "If you want to use adesklets from your already"
+ ewarn "opened sessions. The sessions log are automatically"
+ ewarn "saved to /tmp/adesklets_log.pid*."
+ }
+}