SmartPM (was: External repositories)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 (new thread) Nicola -kOoLiNuS- Losito wrote:
Pascal Bleser wrote:
SUSE Linux RPMs are here: http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=/System/smart [...] Do you experts think that can be merged with the apt4suse [2] script to abtain a dumb-ready user like me a quick configuration for software repository ?
Well, at least my smart RPM comes preconfigured with Packman and my repository.
I could add some others. And if you notice something fishy, please let me know.
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\
* Pascal Bleser
Well, at least my smart RPM comes preconfigured with Packman and my repository. I could add some others. And if you notice something fishy, please let me know.
Please, and provide the method for adding repositories, or choosing which to use. I presently use apt, but like the way smart appears to work. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Patrick Shanahan wrote:
* Pascal Bleser
[10-13-05 14:23]: Well, at least my smart RPM comes preconfigured with Packman and my repository. I could add some others. And if you notice something fishy, please let me know.
Please, and provide the method for adding repositories, or choosing which to use. I presently use apt, but like the way smart appears to work.
smart can use both apt and yum (repomd) repositories.
It's a clean room implementation of apt and repomd repository metadata "parsers" in Python.
That means it doesn't need apt or yum to be installed.
My package comes preconfigured with the Packman and Guru (mine) _apt repositories_, actually (I
should have mentioned ;)).
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\
Torsdag 13 oktober 2005 21:18, skrev Pascal Bleser:
SUSE Linux RPMs are here: http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=/System/smart
The links on that page takes me to ftp4.gwdg.de, AFIK that server is not open for traffic now, it's a easy fix but... Since there was no x86_64 rpm I downloaded your src rpm and did a --rebuild on it. After sorting out the devellibs and others I needed it rebuilt fine and installed even better (with yast). When I tried to start smart --gui it wouldn't, I was missing phyton-gtk, installed that, and all is well, working nicely, it even had the right repoes in (x86_63) in the channels. Now for the issue, and I quite sure it's something I've done wrong. When I start smart -gui as su it's not the right color/theme, but if I start it as a user it is? Any hint to what I did wrong PS I'm on Suse 10.0 (x86_64) with kde 3.4.3 Iznogood
Iznogood wrote:
Now for the issue, and I quite sure it's something I've done wrong. When I start smart -gui as su it's not the right color/theme, but if I start it as a user it is?
When starting as root you of course use the color/theme you have set up for root, which might not be the same as for user. -- Guðlaugur Jóhannesson http://www.hi.is/~gudlaugu Phone: +354 849 8405
On 10/18/05, Guðlaugur Jóhannesson
Iznogood wrote:
Now for the issue, and I quite sure it's something I've done wrong. When I start smart -gui as su it's not the right color/theme, but if I start it as a user it is?
When starting as root you of course use the color/theme you have set up for root, which might not be the same as for user.
Sure, but since this is a 4 day old install, I would think it defaulted to suse enhanced theme, like yast. Here are 2 links to how it looks, mayby I explaining it wrong. http://www.jkn.no/~blie/As_SU.png http://www.jkn.no/~blie/As_User1.png What I'm asking is I should have applied some switch when during rpmbuild (other than rebuild/target), or is this just the way it is, and what do I need to do to "fix" it. Remember I'm noob, only been using GNU/Linux fulltime less than 6 months :) Iz
Iznogood, what you are seeing is the "default" Smart PM graphical interface, back when i used Fedora i wento to yum-extender for it's better interface: http://linux.rasmil.dk/cms/modules/dokuwiki/doku.php?id=yumex:screenshoots I would like a clear interface like this with the capacity of yast to keep trace of the packages i've choosen to install/remove, since now you have to select it one per time ... Hope to be not so "distrubing" to the nice people developing thing ! -- .~. Nicola -=KOOLINUS=- Losito /v\ http://www.koolinus.net // \\ /( )\ Linux Registered User #293182 ^^ ^^ icq:62837984 * Jabber-ID:koolinus@jabber.linux.it
On Tuesday 18 October 2005 16:54, Iznogood NEF wrote:
On 10/18/05, Guðlaugur Jóhannesson
wrote: Iznogood wrote:
Now for the issue, and I quite sure it's something I've done wrong. When I start smart -gui as su it's not the right color/theme, but if I start it as a user it is?
When starting as root you of course use the color/theme you have set up for root, which might not be the same as for user.
Sure, but since this is a 4 day old install, I would think it defaulted to suse enhanced theme, like yast.
Here are 2 links to how it looks, mayby I explaining it wrong.
http://www.jkn.no/~blie/As_SU.png
http://www.jkn.no/~blie/As_User1.png
What I'm asking is I should have applied some switch when during rpmbuild (other than rebuild/target), or is this just the way it is, and what do I need to do to "fix" it.
Remember I'm noob, only been using GNU/Linux fulltime less than 6 months :)
The difference is due to smart-gui being a gtk application. When you run it as a user, it inherits KDE colors thanks to gtk_qt_engine, but it looks that this doesn't work across su boundary. -- Best regards, Alexander.
On 10/18/05, Alexander S. Usov
The difference is due to smart-gui being a gtk application. When you run it as a user, it inherits KDE colors thanks to gtk_qt_engine, but it looks that this doesn't work across su boundary.
-- Best regards, Alexander.
Thanks!! That insight made me test this command : sudo smart --gui Look at the pretty colours Ma! Iz
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Iznogood wrote:
Torsdag 13 oktober 2005 21:18, skrev Pascal Bleser:
SUSE Linux RPMs are here: http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=/System/smart
The links on that page takes me to ftp4.gwdg.de, AFIK that server is not open for traffic now, it's a easy fix but...
It's open again, AFAIK. But, yes, I could change the base URL on my website.
Since there was no x86_64 rpm I downloaded your src rpm and did a --rebuild on it. After sorting out the devellibs and others I needed it rebuilt fine and installed even better (with yast).
Shows the BuildRequires in my smart.spec is correct ;) And there is an x86_64 build of my smart RPM, in drcux (Detlef Reichelt)'s repo: ftp://ftp.gwdg.de/pub/linux/misc/suser-drcux/100/x86_64/smart-0.40-2.guru.suse100.x86_64.rpm
When I tried to start smart --gui it wouldn't, I was missing phyton-gtk,
Yes. I chose not to add python-gtk as a "Requires:" in the spec file (a "hard" requirement) because smart works when you don't have python-gtk installed, it's just the GUI that doesn't work. smart detects at runtime whether you have it or not. Unfortunately RPM doesn't support "soft requirements" (or "recommendations").
installed that, and all is well, working nicely, it even had the right repoes in (x86_63) in the channels.
Yep, that's what I do in my smart.spec ;)
[...]
cheers (and thanks for testing)
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\
Oh I forgot Running smart -- gui as su gives this error/warning Aurora:/home/iznogood # smart --gui /usr/lib64/python2.4/site-packages/smart/interfaces/gtk/packageview.py:93: DeprecationWarning: Class PixbufCellRenderer is already GObject-registered; Please note that classes containing any of the attributes __gtype_name__, __gproperties__, or __gsignals__ are now automatically registered. gobject.type_register(PixbufCellRenderer) /usr/lib64/python2.4/site-packages/smart/interfaces/gtk/packageview.py:413: DeprecationWarning: Class GtkPackageView is already GObject-registered; Please note that classes containing any of the attributes __gtype_name__, __gproperties__, or __gsignals__ are now automatically registered. gobject.type_register(GtkPackageView) /usr/lib64/python2.4/site-packages/smart/interfaces/gtk/progress.py:281: DeprecationWarning: Class ProgressCellRenderer is already GObject-registered; Please note that classes containing any of the attributes __gtype_name__, __gproperties__, or __gsignals__ are now automatically registered. gobject.type_register(ProgressCellRenderer) Mayby this helps to shed some light? Iz
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Iznogood wrote:
Running smart -- gui as su gives this error/warning Aurora:/home/iznogood # smart --gui /usr/lib64/python2.4/site-packages/smart/interfaces/gtk/packageview.py:93: DeprecationWarning: Class PixbufCellRenderer is already GObject-registered; Please note that classes containing any of the attributes __gtype_name__, __gproperties__, or __gsignals__ are now automatically registered. gobject.type_register(PixbufCellRenderer) [...]
Those do not affect the proper functioning of smart, at least I didn't notice, they're just API
deprecation warnings.
Choose your poison:
- - keep the deprecated API in Smart, but run on SUSE 10.0 => 9.0
- - refactor smart to use the new API, but probably only run on SUSE 10.0 (and maybe 9.3) because it
requires the latest-and-greatest python-gtk (that, in turn, requires the latest-and-greatest gtk2,
etc...)
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\
Pascal Bleser wrote:
Nicola -kOoLiNuS- Losito wrote:
Do you experts think that can be merged with the apt4suse [2] script to abtain a dumb-ready user like me a quick configuration for software repository ?
Well, at least my smart RPM comes preconfigured with Packman and my repository. I could add some others. And if you notice something fishy, please let me know.
hust today i came back @house and I've seen your post on the blog about this ... I promise I'll test it soon :-D thanks (another time, again !!) -- .~. Nicola -=KOOLINUS=- Losito /v\ http://www.koolinus.net // \\ /( )\ Linux Registered User #293182 ^^ ^^ icq:62837984 * Jabber-ID:koolinus@jabber.linux.it
On Thursday 13 October 2005 21:18, Pascal Bleser wrote:
And if you notice something fishy, please let me know.
My expieriences with smart are not the best. If I update or install multiple packages (say more than 10) it stalls sometimes. Just after or during preparation or installation phase of a package it hangs, uses no cpu power and I have to kill it with -9. But that seems to happen randomly, I tried it several times and I am not able to deterministically reproduce it. If I am able to reproduce this in a deterministic way I'll file a bug report upstream. The GUI of smart is terrible IMO, really terrible. But I suppose a good GUI is of low priority currently and the developers have more important things to do. I prefer the command line anyway. The shell mode is very convenient. Cheers, Andreas
participants (8)
-
Alexander S. Usov
-
Andreas Simon
-
Guðlaugur Jóhannesson
-
Iznogood
-
Iznogood NEF
-
Nicola -kOoLiNuS- Losito
-
Pascal Bleser
-
Patrick Shanahan