Fix bug #150336, remove old versions.
authorKrzysztof Pawlik <nelchael@gentoo.org>
Wed, 11 Oct 2006 13:24:35 +0000 (13:24 +0000)
committerKrzysztof Pawlik <nelchael@gentoo.org>
Wed, 11 Oct 2006 13:24:35 +0000 (13:24 +0000)
Package-Manager: portage-2.1.2_pre2-r8

x11-misc/icewmcp/ChangeLog
x11-misc/icewmcp/files/digest-icewmcp-3.2-r1 [new file with mode: 0644]
x11-misc/icewmcp/icewmcp-3.2-r1.ebuild [new file with mode: 0644]

index 5b94547886f5ecdeea8e7d0739c5210789ff09e8..9a9585f90278ecbb99a70baee55521b73d71f248 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for x11-misc/icewmcp
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/icewmcp/ChangeLog,v 1.8 2005/02/03 20:08:25 luckyduck Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/icewmcp/ChangeLog,v 1.9 2006/10/11 13:24:35 nelchael Exp $
+
+*icewmcp-3.2-r1 (11 Oct 2006)
+
+  11 Oct 2006; Krzysiek Pawlik <nelchael@gentoo.org> -icewmcp-3.1.ebuild,
+  -icewmcp-3.2.ebuild, +icewmcp-3.2-r1.ebuild:
+  Fix bug #150336, remove old versions.
 
   03 Feb 2005; Jan Brinkmann <luckyduck@gentoo.org> icewmcp-3.2.ebuild:
   added ~amd64 to KEYWORDS. fixes #75613
diff --git a/x11-misc/icewmcp/files/digest-icewmcp-3.2-r1 b/x11-misc/icewmcp/files/digest-icewmcp-3.2-r1
new file mode 100644 (file)
index 0000000..348d734
--- /dev/null
@@ -0,0 +1 @@
+MD5 4607568ae45634f2b561a254ce4c7ea7 IceWMControlPanel-3.2.tar.bz2 586044
diff --git a/x11-misc/icewmcp/icewmcp-3.2-r1.ebuild b/x11-misc/icewmcp/icewmcp-3.2-r1.ebuild
new file mode 100644 (file)
index 0000000..6f288b0
--- /dev/null
@@ -0,0 +1,56 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/icewmcp/icewmcp-3.2-r1.ebuild,v 1.1 2006/10/11 13:24:35 nelchael Exp $
+
+inherit multilib
+
+S=${WORKDIR}/INSTALL-IceWMCP
+MY_PN=IceWMControlPanel
+MY_DEST="usr/$(get_libdir)/${P}"
+MY_BIN="usr/bin"
+
+DESCRIPTION="A complete control panel for IceWM using gtk & python"
+HOMEPAGE="http://icesoundmanager.sourceforge.net/index.php"
+SRC_URI="mirror://sourceforge/icesoundmanager/${MY_PN}-${PV}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="x86 ppc ~amd64"
+IUSE=""
+DEPEND="x11-wm/icewm
+               >=dev-python/pygtk-1.99
+               >=x11-libs/gtk+-2.0.0
+               >=dev-lang/python-2.2"
+
+src_install() {
+       dodir "${MY_DEST}/"
+       dodir "${MY_BIN}/"
+       dodoc ${S}/doc/* ${S}/licenses/*
+       cp ${S}/* ${D}/${MY_DEST}
+       cp -R ${S}/applets ${S}/applet-icons ${S}/help ${S}/icons ${S}/locale ${S}/pixmaps ${D}/${MY_DEST}/
+       # create executable shortcuts to the python scripts
+       echo -e "#!/bin/bash \n python /${MY_DEST}/IceWMCP.py" > ${T}/IceWMCP
+       echo -e "#!/bin/bash \n python /${MY_DEST}/IceWMCPKeyboard.py" > ${T}/IceWMCP-Keyboard
+       echo -e "#!/bin/bash \n python /${MY_DEST}/IceWMCPMouse.py" > ${T}/IceWMCP-Mouse
+       echo -e "#!/bin/bash \n python /${MY_DEST}/pyspool.py" > ${T}/IceWMCP-PySpool
+       echo -e "#!/bin/bash \n python /${MY_DEST}/IceWMCPWallpaper.py" > ${T}/IceWMCP-Wallpaper
+       echo -e "#!/bin/bash \n python /${MY_DEST}/IceWMCPWinOptions.py" > ${T}/IceWMCP-WinOptions
+       echo -e "#!/bin/bash \n python /${MY_DEST}/phrozenclock.py" > ${T}/PhrozenClock
+       echo -e "#!/bin/bash \n python /${MY_DEST}/icesound.py" > ${T}/IceSoundManager
+       echo -e "#!/bin/bash \n python /${MY_DEST}/IceWMCP_GtkPCCard.py" > ${T}/GtkPCCard
+       echo -e "#!/bin/bash \n python /${MY_DEST}/IceMe.py" > ${T}/iceme
+       echo -e "#!/bin/bash \n python /${MY_DEST}/icepref.py" > ${T}/icepref
+       echo -e "#!/bin/bash \n python /${MY_DEST}/icepref_td.py" > ${T}/icepref_td
+       echo -e "#!/bin/bash \n python /${MY_DEST}/IceWMCPGtkIconSelection.py" > ${T}/IceWMCP-Icons
+       echo -e "#!/bin/bash \n python /${MY_DEST}/IceWMCPEnergyStar.py" > ${T}/IceWMCP-EnergyStar
+       dobin ${T}/*
+}
+
+pkg_postinst() {
+       einfo "Some of the icons displayed by IceWMCP may be pointing to"
+       einfo "programs which are not on your system!  You can hide them"
+       einfo "using the Configuration window (Ctrl+C) or change them"
+       einfo "by editing the files in"
+       einfo "/${MY_DEST}/applets and"
+       einfo "/${MY_DEST}/applet-icons."
+}