public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] New application for gentoo: app-portage/kportagetray
@ 2010-01-05 17:59 Ronan Arraes Jardim Chagas
  2010-03-26 21:06 ` Ondřej Súkup
  0 siblings, 1 reply; 3+ messages in thread
From: Ronan Arraes Jardim Chagas @ 2010-01-05 17:59 UTC (permalink / raw
  To: Gentoo Dev


[-- Attachment #1.1: Type: Text/Plain, Size: 1915 bytes --]

Hello fellows,

I started to code a new application to make some daily tasks easier with 
portage. It is called KPortageTray.

It is coded with PyKDE, so, unfortunately (or fortunately :D) you will need 
PyKDE and KDE to install it.
I'm not sure if I make something that will need portage 2.2, if anyone can 
tell me I'll appreciate.

By now, I just implemented some very common tasks like:

- Sync portage tree;
- Upgrade world set;
- Check if there are upgrade available;
	* I'll make something to schedule it in future versions.
- Upgrade portage version;
- Run etc-update, revdep-rebuild or execute dep-clean at the system.

I used a very simple approach: for every actions that the user must see the 
output, a script execute a konsole with kdesu. With this way, isn't necessary 
to run the application as root which, in my opinion, is better.

This application can save some typing with daily tasks, but it will never 
substitute CLI, since some complicate things is very hard to handle. For 
example, if there are some Block, KPortageTray warning the user, show the 
output from emerge and let the user resolve it. But, since it is very uncommon 
to have a Block, this software can really save some time.

I make some tests but it is at the beginning of development, so I'm asking for 
help do add new features / give ideas / report bugs. If the community like it, 
maybe I'll open a git repository somewhere.

I took three screenshots:

http://yfrog.com/7akportagetray01p
http://yfrog.com/11kportagetray02p
http://yfrog.com/b6kportagetray03p

And I'm attaching tarball and ebuild (80KiB ~) and I would appreciate if 
someone test it and give me a feedback :)

My future plans is to make possible to use just PyQT instead PyKDE or make a 
version using PyGTK.

Regards,
-- 
Ronan Arraes Jardim Chagas
Control and Automation Engineer
Gentoo Foundation Member

[-- Attachment #1.2: kportagetray-20100105.tar.bz2 --]
[-- Type: application/x-bzip-compressed-tar, Size: 80319 bytes --]

[-- Attachment #1.3: kportagetray-20100105.ebuild --]
[-- Type: text/plain, Size: 648 bytes --]

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: media-gfx/digikam/digikam-1.0.0.ebuild, 2009/12/22 Ronis_BR $

EAPI="2"
KDE_LINGUAS="pt_BR"
inherit kde4-base

DESCRIPTION="A set of basic operations for Portage."
HOMEPAGE=""
SRC_URI="${P}.tar.bz2"

LICENSE="GPL-2"
KEYWORDS="~amd64"
SLOT="0"
IUSE=""

RDEPEND="
	>=kde-base/kdelibs-${KDE_MINIMAL}
	>=kde-base/kdesu-${KDE_MINIMAL}
	>=kde-base/konsole-${KDE_MINIMAL}
	>=kde-base/pykde4-${KDE_MINIMAL}
	dev-python/PyQt4[svg]
	dev-lang/python:2.6
"
DEPEND="${RDEPEND}
"

DOCS="ChangeLog"

src_configure() {
	kde4-base_src_configure
}

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] New application for gentoo: app-portage/kportagetray
  2010-01-05 17:59 [gentoo-dev] New application for gentoo: app-portage/kportagetray Ronan Arraes Jardim Chagas
@ 2010-03-26 21:06 ` Ondřej Súkup
  2010-03-26 22:32   ` Locke Shinseiko
  0 siblings, 1 reply; 3+ messages in thread
From: Ondřej Súkup @ 2010-03-26 21:06 UTC (permalink / raw
  To: gentoo-dev

looks good ,  its support overlays (layman) ??

2010/1/5 Ronan Arraes Jardim Chagas <ronisbr@gmail.com>:
> Hello fellows,
>
> I started to code a new application to make some daily tasks easier with
> portage. It is called KPortageTray.
>
> It is coded with PyKDE, so, unfortunately (or fortunately :D) you will need
> PyKDE and KDE to install it.
> I'm not sure if I make something that will need portage 2.2, if anyone can
> tell me I'll appreciate.
>
> By now, I just implemented some very common tasks like:
>
> - Sync portage tree;
> - Upgrade world set;
> - Check if there are upgrade available;
>        * I'll make something to schedule it in future versions.
> - Upgrade portage version;
> - Run etc-update, revdep-rebuild or execute dep-clean at the system.
>
> I used a very simple approach: for every actions that the user must see the
> output, a script execute a konsole with kdesu. With this way, isn't necessary
> to run the application as root which, in my opinion, is better.
>
> This application can save some typing with daily tasks, but it will never
> substitute CLI, since some complicate things is very hard to handle. For
> example, if there are some Block, KPortageTray warning the user, show the
> output from emerge and let the user resolve it. But, since it is very uncommon
> to have a Block, this software can really save some time.
>
> I make some tests but it is at the beginning of development, so I'm asking for
> help do add new features / give ideas / report bugs. If the community like it,
> maybe I'll open a git repository somewhere.
>
> I took three screenshots:
>
> http://yfrog.com/7akportagetray01p
> http://yfrog.com/11kportagetray02p
> http://yfrog.com/b6kportagetray03p
>
> And I'm attaching tarball and ebuild (80KiB ~) and I would appreciate if
> someone test it and give me a feedback :)
>
> My future plans is to make possible to use just PyQT instead PyKDE or make a
> version using PyGTK.
>
> Regards,
> --
> Ronan Arraes Jardim Chagas
> Control and Automation Engineer
> Gentoo Foundation Member
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] New application for gentoo: app-portage/kportagetray
  2010-03-26 21:06 ` Ondřej Súkup
@ 2010-03-26 22:32   ` Locke Shinseiko
  0 siblings, 0 replies; 3+ messages in thread
From: Locke Shinseiko @ 2010-03-26 22:32 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: Text/Plain, Size: 668 bytes --]

On Fri March 26 2010 17:06:58 Ondřej Súkup wrote:
> looks good ,  its support overlays (layman) ??
> 
Hi, I have been assisting Ronan with coding and maintenance for kportagetray.

full layman support is a planned feature, though I need to do
some re-design of the GUI first, the tab bar is getting out of hand, adding
yet another tab at this point would just make it messier.

in addition to the numbered versions in gentoo-x86, we have a live ebuild in 
kde overlay, which is generally slightly more up to date than the numbered 
versions. (especially currently, where the latest in g-x86 has a bug with the 
latest ~arch PyQt)

--
Locke Shinseiko

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 230 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-26 22:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-05 17:59 [gentoo-dev] New application for gentoo: app-portage/kportagetray Ronan Arraes Jardim Chagas
2010-03-26 21:06 ` Ondřej Súkup
2010-03-26 22:32   ` Locke Shinseiko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox