+++ /dev/null
-# ChangeLog for app-portage/portato
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 06 Sep 2007; René Neumann (Necoro) <necoro@necoro.net>
- portato-0.8.5.ebuild:
- Ebuild beautifying
-
- 26 Aug 2007; René Neumann (Necoro) <necoro@necoro.net>
- -portato-0.8.1.ebuild, +portato-0.8.5.ebuild:
- Version bump to 0.8.5
-
- 24 Aug 2007; René Neumann (Necoro) <necoro@necoro.net>
- portato-0.8.1.ebuild:
- Revert change. vte-0.18.6 works now
-
- 22 Aug 2007; René Neumann (Necoro) <necoro@necoro.net>
- portato-0.8.1.ebuild:
- Do not use vte-0.16.8 until it is fixed.
-
- 11 Aug 2007; René Neumann (Necoro) <necoro@necoro.net>
- portato-0.8.1.ebuild:
- no kdesu needed if kdebase is installed
-
- 04 Aug 2007; René Neumann (Necoro) <necoro@necoro.net>
- -portato-0.8.0.ebuild, +portato-0.8.1.ebuild:
- Version bump
-
- 30 Jul 2007; René Neumann (Necoro) <necoro@necoro.net>
- -portato-0.7.5.ebuild, +portato-0.8.0.ebuild:
- Version bump portato
-
- 23 Jun 2007; René Neumann (Necoro) <necoro@necoro.net>
- -portato-0.7.4.2.ebuild, +portato-0.7.5.ebuild:
- Version bump
-
- 21 Jun 2007; René Neumann (Necoro) <necoro@necoro.net>
- portato-0.7.4.2.ebuild:
- Allowed portage-2.1.3
-
- 14 Jun 2007; René Neumann (Necoro) <necoro@necoro.net>
- portato-0.7.4.2.ebuild:
- Removed syntax useflag and made the portatosourceview mandatory
-
- 03 Jun 2007; René Neumann (Necoro) <necoro@necoro.net>
- -portato-0.7.4.1.ebuild, +portato-0.7.4.2.ebuild:
- Version bump
-
- 01 Jun 2007; Ali Polatel (hawking) <polatel@gmail.com>
- -portato-0.7.3.ebuild:
- Drop old
-
- 01 Jun 2007; René Neumann (Necoro) <necoro@necoro.net>
- +portato-0.7.4.1.ebuild:
- Version bump to 0.7.4.1
-
- 25 May 2007; Markus Ullmann <jokey@gentoo.org> portato-0.7.3.ebuild:
- coding style improvement
-
- 12 May 2007; René Neumann (Necoro) <necoro@necoro.net>
- +portato-0.7.3.ebuild, +metadata.xml:
- New ebuild for bug #156545
-
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils distutils
-
-DESCRIPTION="A GUI for Portage written in Python."
-HOMEPAGE="http://portato.sourceforge.net/"
-SRC_URI="mirror://sourceforge/portato/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64 ~ppc"
-IUSE="kde libnotify nls userpriv"
-
-RDEPEND=">=sys-apps/portage-2.1.2
- >=dev-python/lxml-1.3.2
- >=dev-python/pygtk-2.10.4
- >=x11-libs/vte-0.12.2
- >=gnome-base/libglade-2.5.1
- >=dev-util/portatosourceview-2.16.1
-
- !userpriv? (
- kde? ( || ( >=kde-base/kdesu-3.5.5 >=kde-base/kdebase-3.5.5 ) )
- !kde? ( >=x11-libs/gksu-2.0.0 ) )
-
- libnotify? ( >=dev-python/notify-python-0.1.1 )
- nls? ( virtual/libintl )"
-
-DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )"
-
-S="${WORKDIR}/${PN}"
-CONFIG_DIR="/etc/${PN}/"
-DATA_DIR="/usr/share/${PN}/"
-LOCALE_DIR="/usr/share/locale/"
-PLUGIN_DIR="${DATA_DIR}/plugins"
-ICON_DIR="${DATA_DIR}/icons"
-
-apply_sed ()
-{
- cd "${S}"/${PN}
-
- # currently only gtk is supported
- local std="gtk"
- local frontends="[\"$std\"]"
-
- local su="\"gksu -D 'Portato'\""
- use kde && su="\"kdesu -t --nonewdcop -i %s -c\" % APP_ICON"
-
- sed -i -e "s;^\(VERSION\s*=\s*\).*;\1\"${PV}\";" \
- -e "s;^\(CONFIG_DIR\s*=\s*\).*;\1\"${CONFIG_DIR}\";" \
- -e "s;^\(DATA_DIR\s*=\s*\).*;\1\"${DATA_DIR}\";" \
- -e "s;^\(ICON_DIR\s*=\s*\).*;\1\"${ICON_DIR}\";" \
- -e "s;^\(PLUGIN_DIR\s*=\s*\).*;\1\"${PLUGIN_DIR}\";" \
- -e "s;^\(XSD_DIR\s*=\s*\).*;\1\"${DATA_DIR}\";" \
- -e "s;^\(LOCALE_DIR\s*=\s*\).*;\1\"${LOCALE_DIR}\";" \
- -e "s;^\(FRONTENDS\s*=\s*\).*;\1$frontends;" \
- -e "s;^\(STD_FRONTEND\s*=\s*\).*;\1\"$std\";" \
- -e "s;^\(SU_COMMAND\s*=\s*\).*;\1$su;" \
- constants.py
-
- cd ..
-
- # don't do this as "use userpriv && ..." as it makes the whole function
- # fail, if userpriv is not set
- if use userpriv; then
- sed -i -e "s/Exec=.*/Exec=portato --no-listener/" portato.desktop
- fi
-}
-
-pkg_setup ()
-{
- if ! built_with_use x11-libs/vte python; then
- echo
- eerror "x11-libs/vte has not been built with python support."
- eerror "Please re-emerge vte with the python use-flag enabled."
- die "missing python flag for x11-libs/vte"
- fi
-}
-
-src_compile ()
-{
- apply_sed || die "Applying sed-commands failed."
-
- cd ${S}
- use nls && ./pocompile.sh -emerge
-
- distutils_src_compile
-}
-
-src_install ()
-{
- dodir ${DATA_DIR}
- distutils_src_install
-
- newbin portato.py portato
- dodoc doc/*
-
- # config
- insinto ${CONFIG_DIR}
- doins etc/*
-
- # plugins
- insinto ${PLUGIN_DIR}
- keepdir ${PLUGIN_DIR}
-
- use libnotify && doins "plugins/notify.xml"
-
- # icon
- doicon icons/portato-icon.png
-
- # menus
- domenu portato.desktop
-
- # nls
- use nls && domo i18n/mo/*
-}