Re: [gentoo-user] New application: app-portage/kportagetray
Hello fellow, Finally KPortageTray was ported to KDE 4.4. You can install it from kde-orverlay (app-portage/kportagetray). Regards, -- Ronan Arraes Jardim Chagas Control and Automation Engineer Gentoo Foundation Member Em Qui 07 Jan 2010, às 22:11:10, Neil Bothwick escreveu: On Thu, 7 Jan 2010 18:05:14 -0200, Ronan Arraes Jardim Chagas wrote: And I'm attaching tarball and ebuild (80KiB ~) and I would appreciate if someone test it and give me a feedback :) % kportagetray Traceback (most recent call last): File /usr/bin/kportagetray, line 68, in module KPortageTray_MainWindow = KPT_MainWindow() File /usr/share/apps/KPortageTray/KPT_MainWindow.py, line 69, in __init__ self._dbus = KPT_dbus() File /usr/share/apps/KPortageTray/KPT_dbus.py, line 38, in __init__ self._notify = dbus.SessionBus().get_object('org.kde.VisualNotifications', '/VisualNotifications') File /usr/lib64/python2.6/site-packages/dbus/bus.py, line 244, in get_object follow_name_owner_changes=follow_name_owner_changes) File /usr/lib64/python2.6/site-packages/dbus/proxies.py, line 241, in __init__ self._named_service = conn.activate_name_owner(bus_name) File /usr/lib64/python2.6/site-packages/dbus/bus.py, line 183, in activate_name_owner self.start_service_by_name(bus_name) File /usr/lib64/python2.6/site-packages/dbus/bus.py, line 281, in start_service_by_name 'su', (bus_name, flags))) File /usr/lib64/python2.6/site-packages/dbus/connection.py, line 622, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.VisualNotifications was not provided by any .service files Sorry :( signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] New application: app-portage/kportagetray
Hello fellows, Finally KPortageTray was submited to KDE overlay. If anyone wants to use, just use layman to sync this overlay and: emerge -va kportagetray Regards, -- Ronan Arraes Jardim Chagas Control and Automation Engineer Gentoo Foundation Member Em Quinta-feira 07 Janeiro 2010, às 22:11:10, Neil Bothwick escreveu: On Thu, 7 Jan 2010 18:05:14 -0200, Ronan Arraes Jardim Chagas wrote: And I'm attaching tarball and ebuild (80KiB ~) and I would appreciate if someone test it and give me a feedback :) % kportagetray Traceback (most recent call last): File /usr/bin/kportagetray, line 68, in module KPortageTray_MainWindow = KPT_MainWindow() File /usr/share/apps/KPortageTray/KPT_MainWindow.py, line 69, in __init__ self._dbus = KPT_dbus() File /usr/share/apps/KPortageTray/KPT_dbus.py, line 38, in __init__ self._notify = dbus.SessionBus().get_object('org.kde.VisualNotifications', '/VisualNotifications') File /usr/lib64/python2.6/site-packages/dbus/bus.py, line 244, in get_object follow_name_owner_changes=follow_name_owner_changes) File /usr/lib64/python2.6/site-packages/dbus/proxies.py, line 241, in __init__ self._named_service = conn.activate_name_owner(bus_name) File /usr/lib64/python2.6/site-packages/dbus/bus.py, line 183, in activate_name_owner self.start_service_by_name(bus_name) File /usr/lib64/python2.6/site-packages/dbus/bus.py, line 281, in start_service_by_name 'su', (bus_name, flags))) File /usr/lib64/python2.6/site-packages/dbus/connection.py, line 622, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.VisualNotifications was not provided by any .service files Sorry :( signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] New application: app-portage/kportagetray
Hello fellows, Now, it has support to search at database with eix, to install and unistall packages. Here two more shots of the new interface: http://yfrog.com/5gkportagetray06p, http://yfrog.com/5gkportagetray07p You just need to rebuild the package using the ebuild I sent before. Hope you like -- Ronan Arraes Jardim Chagas Control and Automation Engineer Gentoo Foundation Member Em Sexta-feira 08 Janeiro 2010, às 06:35:21, Neil Bothwick escreveu: On Fri, 8 Jan 2010 01:54:43 -0200, Ronan Arraes Jardim Chagas wrote: Can you check if knotify is also installed please? Yes, 4.3.85 (4.4 beta 2) from the kde overlay. signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] New application: app-portage/kportagetray
Finally I created an account at gitorious.org and now we can have a live ebuild for KPortageTray, which I'm attaching at this e-mail. By now, it is still at development and the user should use with caution. But, I'm using it everyday and I think it doesn't have any serious bug. Like I said, you don't need to run it as root, but it will call kdesu when root access is needed, so, shouldn't have any serious security issues. At the current version, I added support for eix-sync and now, after every sycn, the output of eix-diff is shown at a tab. I also converted the colors output by the commands (genlop, emerge, etc.) to HTML, so everything is colored now (but there maybe some bugs at colors). One more time, it won't work with KDE 4.4 due to a massive change at systray protocol. As soon as the docs is released I'll tray to adapt KPortageTray to handle it. Regards, -- Ronan Arraes Jardim Chagas Control and Automation Engineer Gentoo Foundation Member # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: app-portage/kportagetray/kportagetray-.ebuild, 2009/01/13 Ronis_BR $ EAPI=2 EGIT_REPO_URI=git://gitorious.org/kportagetray/kportagetray.git EXPERIMENTAL=true KDE_LINGUAS=pt_BR inherit kde4-base git DESCRIPTION=A set of basic operations for Portage. HOMEPAGE= LICENSE=GPL-3 KEYWORDS=~amd64 SLOT=0 IUSE= RDEPEND= =kde-base/kdelibs-${KDE_MINIMAL} =kde-base/kdesu-${KDE_MINIMAL} =kde-base/konsole-${KDE_MINIMAL} =kde-base/knotify-${KDE_MINIMAL} =kde-base/pykde4-${KDE_MINIMAL} dev-python/PyQt4[svg,dbus] dev-lang/python:2.6 app-portage/eix DEPEND=${RDEPEND} src_configure() { kde4-base_src_configure } signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] New application: app-portage/kportagetray
I think I discovered the problem: the system tray protocol changes a lot with KDE 4.4 and I couldn't find any documentation about it yet. So, after the release of docs, I'll modify my code to be compatible. Regards, -- Ronan Arraes Jardim Chagas Control and Automation Engineer Gentoo Foundation Member Em Sábado 09 Janeiro 2010, às 17:39:18, Neil Bothwick escreveu: On Fri, 8 Jan 2010 13:13:06 -0200, Ronan Arraes Jardim Chagas wrote: But, I'm thinking that the problem is with KNotify, because I use org.kde.VisualNotifications DBUS service to display notifications at KDE system tray. This service wasn't found on your system. I'm not sure, but I think that kde-base/knotify is the package that provides it (or maybe dev-python/notify- python). Someone correct me if I'm wrong. I have all those % eix -Ic notify [I] dev-python/notify-python (0.1.1...@04/12/09) [U] kde-base/knotify (4.3.85(4.4) [I] x11-libs/libnotify (0@04/12/09) signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] New application: app-portage/kportagetray
On Sun, 10 Jan 2010 10:54:57 -0200, Ronan Arraes Jardim Chagas wrote: I think I discovered the problem: the system tray protocol changes a lot with KDE 4.4 and I couldn't find any documentation about it yet. So, after the release of docs, I'll modify my code to be compatible. And Sod's Law says I try kportagetray just after switching to 4.4 :( -- Neil Bothwick ISDN: It Still Does Nothing signature.asc Description: PGP signature
Re: [gentoo-user] New application: app-portage/kportagetray
On Fri, 8 Jan 2010 13:13:06 -0200, Ronan Arraes Jardim Chagas wrote: But, I'm thinking that the problem is with KNotify, because I use org.kde.VisualNotifications DBUS service to display notifications at KDE system tray. This service wasn't found on your system. I'm not sure, but I think that kde-base/knotify is the package that provides it (or maybe dev-python/notify- python). Someone correct me if I'm wrong. I have all those % eix -Ic notify [I] dev-python/notify-python (0.1.1...@04/12/09) [U] kde-base/knotify (4.3.85(4.4) [I] x11-libs/libnotify (0@04/12/09) -- Neil Bothwick If at first you don't succeed, you must be a programmer. signature.asc Description: PGP signature
Re: [gentoo-user] New application: app-portage/kportagetray
On Fri, 8 Jan 2010 01:36:10 -0200, Ronan Arraes Jardim Chagas wrote: I think I forgot a dependency. Can you check your version of PyQt4 and if it was built with dbus USE-flag? I'll correct the ebuild, thanks for the help. [n...@grunthos ~ 0]% eix PyQt4 [U] dev-python/PyQt4 Available versions: (~)4.5.1-r1[2] (~)4.5.4-r1[2] 4.5.4-r4 (~)4.6.2{tbz2} (~)4.7_pre20091231[1] {X assistant +dbus debug doc examples kde opengl phonon +qt3support sql svg webkit xmlpatterns} Installed versions: 4.6.2{tbz2}(09:38:52 04/12/09)(X dbus kde opengl sql svg webkit -assistant -debug -doc -examples -phonon -xmlpatterns) Homepage: http://www.riverbankcomputing.co.uk/software/pyqt/intro/ Description: A set of Python bindings for the Qt toolkit -- Neil Bothwick Macro: (n.) a series of keystrokes used to simulate a missing but essential command. signature.asc Description: PGP signature
Re: [gentoo-user] New application: app-portage/kportagetray
On Fri, 8 Jan 2010 01:54:43 -0200, Ronan Arraes Jardim Chagas wrote: Can you check if knotify is also installed please? Yes, 4.3.85 (4.4 beta 2) from the kde overlay. -- Neil Bothwick Can vegetarians eat animal crackers? signature.asc Description: PGP signature
Re: [gentoo-user] New application: app-portage/kportagetray
On Thu, 7 Jan 2010 16:40:04 -0800, Mark Knecht wrote: 2) The idea of end-users installing ebuilds themselves from an unknown individual delivered through an email list is about as insane as it could be. Just what I need is an untested ebuild that I install and build myself stealing everything on my system. How is an ebuild posted to this list different from one posted to b.g.o? Plenty of packages not in portage have ebuilds there, and many of the packages in portage started off in b.g.o. The forums are also full of scripts and ebuilds not available elsewhere. As a user and someone who cares about Gentoo I'd like to see ALL ebuilds banned from this list. Only takes one bad seed and one not-very knowledgeable user like me to give the distro a black eye it doesn't deserve. Like the Debian screensaver package on gnome-look that ran downloaded and ran a shell script? Installing a package from anywhere but the official repository (and that includes portage overlays) should be done with caution, but the idea of banning them is ludicrous. If you want to ban anything that could potentially be abused, you may as well start by banning life. -- Neil Bothwick X-Modem- A device on the losing end of an encounter with lightning. signature.asc Description: PGP signature
Re: [gentoo-user] New application: app-portage/kportagetray
On 7 Jan, Mark Knecht wrote: 2) The idea of end-users installing ebuilds themselves from an unknown individual delivered through an email list is about as insane as it could be. Just what I need is an untested ebuild that I install and build myself stealing everything on my system. As a user and someone who cares about Gentoo I'd like to see ALL ebuilds banned from this list. Only takes one bad seed and one not-very knowledgeable user like me to give the distro a black eye it doesn't deserve. This is nonsense! This list is just a source of information. Nobody is forced to install anything nor does this list shuffle off responsibility when maintaining a Gentoo system. Furthermore, I'm quite convinced that admins using Gentoo know what they are doing, especially those subscribed to this list. Thanks for beeing concerned about our well-being, and a HAPPY new year to you, Helmut. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany
Re: [gentoo-user] New application: app-portage/kportagetray
Thanks :) -- Ronan Arraes Jardim Chagas Control and Automation Engineer Gentoo Foundation Member Em Sexta-feira 08 Janeiro 2010, às 04:58:03, Zeerak Waseem escreveu: On Fri, 08 Jan 2010 07:55:47 +0100, Ronan Arraes Jardim Chagas roni...@gmail.com wrote: Hello James, That is my goal at the future. Let it be each day more integrated with emerge and its tools. By now, I just want to see if gentoo community has interest in my idea before search for some place to host it and put the ebuild at an overlay. And you are right, I do not recommend for non-experience users to be using this kind of software. Regards, Well, if it wasn't depending on various kde applications and libraries, I definitely think there's a fairly big market for this... I certainly would be more than glad to use it :-) signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] New application: app-portage/kportagetray
Ok, so you use QT 4.6. I'm using QT 4.5.3, I don't know if there are some incompatibility. But, I'm thinking that the problem is with KNotify, because I use org.kde.VisualNotifications DBUS service to display notifications at KDE system tray. This service wasn't found on your system. I'm not sure, but I think that kde-base/knotify is the package that provides it (or maybe dev-python/notify- python). Someone correct me if I'm wrong. Regards, -- Ronan Arraes Jardim Chagas Control and Automation Engineer Gentoo Foundation Member Em Sexta-feira 08 Janeiro 2010, às 06:34:02, Neil Bothwick escreveu: On Fri, 8 Jan 2010 01:36:10 -0200, Ronan Arraes Jardim Chagas wrote: I think I forgot a dependency. Can you check your version of PyQt4 and if it was built with dbus USE-flag? I'll correct the ebuild, thanks for the help. [n...@grunthos ~ 0]% eix PyQt4 [U] dev-python/PyQt4 Available versions: (~)4.5.1-r1[2] (~)4.5.4-r1[2] 4.5.4-r4 (~)4.6.2{tbz2} (~)4.7_pre20091231[1] {X assistant +dbus debug doc examples kde opengl phonon +qt3support sql svg webkit xmlpatterns} Installed versions: 4.6.2{tbz2}(09:38:52 04/12/09)(X dbus kde opengl sql svg webkit -assistant -debug -doc -examples -phonon -xmlpatterns) Homepage: http://www.riverbankcomputing.co.uk/software/pyqt/intro/ Description: A set of Python bindings for the Qt toolkit signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] New application: app-portage/kportagetray
If you mean to run the app only at the systray, than, yes, it is possible :) Regards, -- Ronan Arraes Jardim Chagas Control and Automation Engineer Gentoo Foundation Member Em Sexta-feira 08 Janeiro 2010, às 05:03:19, Stroller escreveu: On 7 Jan 2010, at 20:05, Ronan Arraes Jardim Chagas wrote: ... I started to code a new application to make some daily tasks easier with portage. It is called KPortageTray. ... I took three screenshots: http://yfrog.com/7akportagetray01p http://yfrog.com/11kportagetray02p http://yfrog.com/b6kportagetray03p Looks great. Is it possible to run it NOT maximised? I assume so, in which case your screeshots don't really do justice to your app. Stroller. signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] New application: app-portage/kportagetray
Hum, good, a KDE 4.4 user. I don't know if anything has changed with KDE 4.4, like org.kde.VisualNotifications service. I'll try something here. Thanks! -- Ronan Arraes Jardim Chagas Control and Automation Engineer Gentoo Foundation Member Em Sexta-feira 08 Janeiro 2010, às 06:35:21, Neil Bothwick escreveu: On Fri, 8 Jan 2010 01:54:43 -0200, Ronan Arraes Jardim Chagas wrote: Can you check if knotify is also installed please? Yes, 4.3.85 (4.4 beta 2) from the kde overlay. signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] New application: app-portage/kportagetray
Am Freitag, 8. Januar 2010 schrieb Stroller: On 8 Jan 2010, at 04:44, James Ausmus wrote: ... This looks pretty awesome - I'm not in a position to test it right now, but can this be thrown in an overlay so I can get to it in the future easily, and get the updates easily? +1 ... I would love to have this just popup a notification that I can click which will show me the (important) info - aka the database diff - from the latest eix-syncs... What is this wonderful feature of eix that I have been missing out on, please? Ehrm, see at one glance what’s new after a sync? But that is only a nice side-effect to the real use of eix: not having to use a time-consuming emerge -S. -- Gruß | Greetings | Qapla' If there‘s nothing wrong with me, maybe there‘s something wrong with the universe. - Dr. Beverly Crusher signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] New application: app-portage/kportagetray
On Thu, Jan 7, 2010 at 11:01 PM, Stroller strol...@stellar.eclipse.co.ukwrote: On 8 Jan 2010, at 04:44, James Ausmus wrote: ... This looks pretty awesome - I'm not in a position to test it right now, but can this be thrown in an overlay so I can get to it in the future easily, and get the updates easily? +1 ... I would love to have this just popup a notification that I can click which will show me the (important) info - aka the database diff - from the latest eix-syncs... What is this wonderful feature of eix that I have been missing out on, please? Stroller. Use eix-sync instead of emerge --sync, and, at the end of the sync process, eix automatically does an eix db update, and shows you the diff between the old db and the new db - updated packages, updated packages you have installed, new packages, removed pacakges, etc - very handy to have... -James
Re: [gentoo-user] New application: app-portage/kportagetray
On 8 Jan 2010, at 18:32, James Ausmus wrote: ... Use eix-sync instead of emerge --sync, and, at the end of the sync process, eix automatically does an eix db update, and shows you the diff between the old db and the new db - updated packages, updated packages you have installed, new packages, removed pacakges, etc - very handy to have... Oh! Is *that* what that's called! Stroller.
Re: [gentoo-user] New application: app-portage/kportagetray
On Thu, 7 Jan 2010 18:05:14 -0200, Ronan Arraes Jardim Chagas wrote: And I'm attaching tarball and ebuild (80KiB ~) and I would appreciate if someone test it and give me a feedback :) % kportagetray Traceback (most recent call last): File /usr/bin/kportagetray, line 68, in module KPortageTray_MainWindow = KPT_MainWindow() File /usr/share/apps/KPortageTray/KPT_MainWindow.py, line 69, in __init__ self._dbus = KPT_dbus() File /usr/share/apps/KPortageTray/KPT_dbus.py, line 38, in __init__ self._notify = dbus.SessionBus().get_object('org.kde.VisualNotifications', '/VisualNotifications') File /usr/lib64/python2.6/site-packages/dbus/bus.py, line 244, in get_object follow_name_owner_changes=follow_name_owner_changes) File /usr/lib64/python2.6/site-packages/dbus/proxies.py, line 241, in __init__ self._named_service = conn.activate_name_owner(bus_name) File /usr/lib64/python2.6/site-packages/dbus/bus.py, line 183, in activate_name_owner self.start_service_by_name(bus_name) File /usr/lib64/python2.6/site-packages/dbus/bus.py, line 281, in start_service_by_name 'su', (bus_name, flags))) File /usr/lib64/python2.6/site-packages/dbus/connection.py, line 622, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.VisualNotifications was not provided by any .service files Sorry :( -- Neil Bothwick Why is there an expiration date on sour cream? signature.asc Description: PGP signature
Re: [gentoo-user] New application: app-portage/kportagetray
I have no technical opinion about this app but I will say that: 1) It showed up in my GMail spam folder which is uncommon for me on this list, and... 2) The idea of end-users installing ebuilds themselves from an unknown individual delivered through an email list is about as insane as it could be. Just what I need is an untested ebuild that I install and build myself stealing everything on my system. As a user and someone who cares about Gentoo I'd like to see ALL ebuilds banned from this list. Only takes one bad seed and one not-very knowledgeable user like me to give the distro a black eye it doesn't deserve. Yeah, I'm paranoid... Cheers, Mark On Thu, Jan 7, 2010 at 12:05 PM, Ronan Arraes Jardim Chagas roni...@gmail.com wrote: Hello fellows, I already sent this e-mail to Dev ML but I decided to sent it also to user ML to get more feedbacks. 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. But, remember, I have started the development on Saturday, so you probably will found bugs and problems. Regards, -- Ronan Arraes Jardim Chagas Control and Automation Engineer Gentoo Foundation Member
Re: [gentoo-user] New application: app-portage/kportagetray
1) You can easily verify the valid of my e-mail looking my signature and/or searching me at freenode. 2) I'll repeat: this is a development version that I have started to code on Saturday, so it WILL have bugs and problems, but, like every other open source application, I need community help to improve it. To be more short: if you don't stay comfortable to install and test this software, just don't install or test this software. Many others might want to help the development. -- Ronan Arraes Jardim Chagas Control and Automation Engineer Gentoo Foundation Member Em Quinta-feira 07 Janeiro 2010, às 22:40:04, Mark Knecht escreveu: I have no technical opinion about this app but I will say that: 1) It showed up in my GMail spam folder which is uncommon for me on this list, and... 2) The idea of end-users installing ebuilds themselves from an unknown individual delivered through an email list is about as insane as it could be. Just what I need is an untested ebuild that I install and build myself stealing everything on my system. As a user and someone who cares about Gentoo I'd like to see ALL ebuilds banned from this list. Only takes one bad seed and one not-very knowledgeable user like me to give the distro a black eye it doesn't deserve. Yeah, I'm paranoid... Cheers, Mark On Thu, Jan 7, 2010 at 12:05 PM, Ronan Arraes Jardim Chagas roni...@gmail.com wrote: Hello fellows, I already sent this e-mail to Dev ML but I decided to sent it also to user ML to get more feedbacks. 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. But, remember, I have started the development on Saturday, so you probably will found bugs and problems. Regards, -- Ronan Arraes Jardim Chagas Control and Automation Engineer Gentoo Foundation Member signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] New application: app-portage/kportagetray
I think I forgot a dependency. Can you check your version of PyQt4 and if it was built with dbus USE-flag? I'll correct the ebuild, thanks for the help. Regards. -- Ronan Arraes Jardim Chagas Control and Automation Engineer Gentoo Foundation Member Em Quinta-feira 07 Janeiro 2010, às 22:11:10, Neil Bothwick escreveu: On Thu, 7 Jan 2010 18:05:14 -0200, Ronan Arraes Jardim Chagas wrote: And I'm attaching tarball and ebuild (80KiB ~) and I would appreciate if someone test it and give me a feedback :) % kportagetray Traceback (most recent call last): File /usr/bin/kportagetray, line 68, in module KPortageTray_MainWindow = KPT_MainWindow() File /usr/share/apps/KPortageTray/KPT_MainWindow.py, line 69, in __init__ self._dbus = KPT_dbus() File /usr/share/apps/KPortageTray/KPT_dbus.py, line 38, in __init__ self._notify = dbus.SessionBus().get_object('org.kde.VisualNotifications', '/VisualNotifications') File /usr/lib64/python2.6/site-packages/dbus/bus.py, line 244, in get_object follow_name_owner_changes=follow_name_owner_changes) File /usr/lib64/python2.6/site-packages/dbus/proxies.py, line 241, in __init__ self._named_service = conn.activate_name_owner(bus_name) File /usr/lib64/python2.6/site-packages/dbus/bus.py, line 183, in activate_name_owner self.start_service_by_name(bus_name) File /usr/lib64/python2.6/site-packages/dbus/bus.py, line 281, in start_service_by_name 'su', (bus_name, flags))) File /usr/lib64/python2.6/site-packages/dbus/connection.py, line 622, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.VisualNotifications was not provided by any .service files Sorry :( signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] New application: app-portage/kportagetray
On Thu, 2010-01-07 at 16:40 -0800, Mark Knecht wrote: 2) The idea of end-users installing ebuilds themselves from an unknown individual delivered through an email list is about as insane as it could be. Just what I need is an untested ebuild that I install and build myself stealing everything on my system. Note that if I can get you to su and say something just by asking, you have a very serious security problem on your system and you should look into it. -- Paul Vixie, vixie-cron 3.0.1 installation notes the problem there would be with the end-user, not malicious-Ronan, IMHO As a user and someone who cares about Gentoo I'd like to see ALL ebuilds banned from this list. Negatory Ghost Rider! Ban ebuild attachments, then someone says install this ebuild I wrote from http://root.kit.org/die.ebuild ... then what? Ban links too? Gentoo is about learning (and lots of other stuff too) so if it takes your system to crash before you learn not to run untrusted executables, then that's what it takes. I have pretty darn good and regular backups, but only because I once fsck'd my filesystem without them, and I know how much of a pain that is. Only takes one bad seed and one not-very knowledgeable user like me to give the distro a black eye it doesn't deserve. You know enough not to try it though. It's also easy for someone to reply with a BIG FAT WARNING stating as much to others. I think this distro has enough bruises that it's toughened up a bit :) Any by the stage a user can make an overlay, manifest, etc. I think they know a little bit already. Yeah, I'm paranoid... It's ok to be paranoid, they really _are_ out to get you ;) But seriously: warn people, sure. Learn about security ebuilds, sure. Ban them? Not such a good idea IMHO :) Cheers, Mark catchya, -- Iain Buchanan iaindb at netspace dot net dot au Ralph's Observation: It is a mistake to let any mechanical object realise that you are in a hurry.
Re: [gentoo-user] New application: app-portage/kportagetray
Sorry, Can you check if knotify is also installed please? Regards, -- Ronan Arraes Jardim Chagas Control and Automation Engineer Gentoo Foundation Member Em Quinta-feira 07 Janeiro 2010, às 22:11:10, Neil Bothwick escreveu: On Thu, 7 Jan 2010 18:05:14 -0200, Ronan Arraes Jardim Chagas wrote: And I'm attaching tarball and ebuild (80KiB ~) and I would appreciate if someone test it and give me a feedback :) % kportagetray Traceback (most recent call last): File /usr/bin/kportagetray, line 68, in module KPortageTray_MainWindow = KPT_MainWindow() File /usr/share/apps/KPortageTray/KPT_MainWindow.py, line 69, in __init__ self._dbus = KPT_dbus() File /usr/share/apps/KPortageTray/KPT_dbus.py, line 38, in __init__ self._notify = dbus.SessionBus().get_object('org.kde.VisualNotifications', '/VisualNotifications') File /usr/lib64/python2.6/site-packages/dbus/bus.py, line 244, in get_object follow_name_owner_changes=follow_name_owner_changes) File /usr/lib64/python2.6/site-packages/dbus/proxies.py, line 241, in __init__ self._named_service = conn.activate_name_owner(bus_name) File /usr/lib64/python2.6/site-packages/dbus/bus.py, line 183, in activate_name_owner self.start_service_by_name(bus_name) File /usr/lib64/python2.6/site-packages/dbus/bus.py, line 281, in start_service_by_name 'su', (bus_name, flags))) File /usr/lib64/python2.6/site-packages/dbus/connection.py, line 622, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.VisualNotifications was not provided by any .service files Sorry :( signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] New application: app-portage/kportagetray
On Thu, Jan 7, 2010 at 12:05 PM, Ronan Arraes Jardim Chagas roni...@gmail.com wrote: Hello fellows, I already sent this e-mail to Dev ML but I decided to sent it also to user ML to get more feedbacks. 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 :) This looks pretty awesome - I'm not in a position to test it right now, but can this be thrown in an overlay so I can get to it in the future easily, and get the updates easily? Also, have you thought about (optional) support for/integration with eix? I would love to have this just popup a notification that I can click which will show me the (important) info - aka the database diff - from the latest eix-syncs... -James Regards, -- Ronan Arraes Jardim Chagas Control and Automation Engineer Gentoo Foundation Member
Re: [gentoo-user] New application: app-portage/kportagetray
Hello James, That is my goal at the future. Let it be each day more integrated with emerge and its tools. By now, I just want to see if gentoo community has interest in my idea before search for some place to host it and put the ebuild at an overlay. And you are right, I do not recommend for non-experience users to be using this kind of software. Regards, -- Ronan Arraes Jardim Chagas Control and Automation Engineer Gentoo Foundation Member Em Sexta-feira 08 Janeiro 2010, às 02:44:04, James Ausmus escreveu: On Thu, Jan 7, 2010 at 12:05 PM, Ronan Arraes Jardim Chagas roni...@gmail.com wrote: Hello fellows, I already sent this e-mail to Dev ML but I decided to sent it also to user ML to get more feedbacks. 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 :) This looks pretty awesome - I'm not in a position to test it right now, but can this be thrown in an overlay so I can get to it in the future easily, and get the updates easily? Also, have you thought about (optional) support for/integration with eix? I would love to have this just popup a notification that I can click which will show me the (important) info - aka the database diff - from the latest eix-syncs... -James Regards, -- Ronan Arraes Jardim Chagas Control and Automation Engineer Gentoo Foundation Member signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] New application: app-portage/kportagetray
On Fri, 08 Jan 2010 07:55:47 +0100, Ronan Arraes Jardim Chagas roni...@gmail.com wrote: Hello James, That is my goal at the future. Let it be each day more integrated with emerge and its tools. By now, I just want to see if gentoo community has interest in my idea before search for some place to host it and put the ebuild at an overlay. And you are right, I do not recommend for non-experience users to be using this kind of software. Regards, Well, if it wasn't depending on various kde applications and libraries, I definitely think there's a fairly big market for this... I certainly would be more than glad to use it :-) -- Zeerak
Re: [gentoo-user] New application: app-portage/kportagetray
On 8 Jan 2010, at 04:44, James Ausmus wrote: ... This looks pretty awesome - I'm not in a position to test it right now, but can this be thrown in an overlay so I can get to it in the future easily, and get the updates easily? +1 ... I would love to have this just popup a notification that I can click which will show me the (important) info - aka the database diff - from the latest eix-syncs... What is this wonderful feature of eix that I have been missing out on, please? Stroller.
Re: [gentoo-user] New application: app-portage/kportagetray
On 7 Jan 2010, at 20:05, Ronan Arraes Jardim Chagas wrote: ... I started to code a new application to make some daily tasks easier with portage. It is called KPortageTray. ... I took three screenshots: http://yfrog.com/7akportagetray01p http://yfrog.com/11kportagetray02p http://yfrog.com/b6kportagetray03p Looks great. Is it possible to run it NOT maximised? I assume so, in which case your screeshots don't really do justice to your app. Stroller.