View previous topic :: View next topic |
Author |
Message |
wrc1944 Advocate
Joined: 15 Aug 2002 Posts: 3435 Location: Gainesville, Florida
|
Posted: Thu Jul 08, 2004 5:07 pm Post subject: |
|
|
Wcc,
Thanks for the reminder- how easy it is to forget such a basic thing, and old age is no excuse! I should think a little bit before I post a question. I guess I'll make it a practice to put all such scripts in /usr/local/bin, as you suggest.
wrc1944 _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11 |
|
Back to top |
|
|
allblue n00b
Joined: 01 Apr 2004 Posts: 7
|
Posted: Wed Jul 14, 2004 1:36 am Post subject: |
|
|
when I change view to "Upgradable Packages" I got
Quote: |
Traceback (most recent call last):
File "/usr/lib/porthole/mainwindow.py", line 511, in view_filter_changed
self.load_upgrades_list()
File "/usr/lib/porthole/mainwindow.py", line 525, in load_upgrades_list
self.wait_dialog_response, "_Cancel", True)
File "/usr/lib/porthole/utils.py", line 160, in __init__
self.progbar = gtk.ProgressBar()
SystemError: NULL result without error in PyObject_Call
|
then I click Cancel
Quote: |
Traceback (most recent call last):
File "/usr/lib/porthole/mainwindow.py", line 537, in wait_dialog_response
self.ut.please_die()
AttributeError: MainWindow instance has no attribute 'ut'
|
pyxml pygtk also remerge |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9547 Location: beyond the rim
|
Posted: Wed Jul 14, 2004 1:48 am Post subject: |
|
|
this isn't a support thread, please look in Portage+Programming or OTG for the Porthole thread. |
|
Back to top |
|
|
dr_strange Guru
Joined: 16 Apr 2002 Posts: 480 Location: Cambridge, UK
|
Posted: Mon Jul 19, 2004 2:06 pm Post subject: |
|
|
Distasteful self-advertisement, but you might consider adding pye to the list. Thank you. _________________ shine on,
dr_strange
Set the Controls for the Heart of Gentoo
http://magenta.linuxforum.hu |
|
Back to top |
|
|
cerise n00b
Joined: 20 Aug 2003 Posts: 10 Location: Fremont, CA, USA
|
Posted: Mon Jul 19, 2004 3:48 pm Post subject: |
|
|
Worth noting: The appear URL is incorrect.
It's http://l.armory.com/~cerise/appear-latest.tbz2
I use that as a symlink to make life a touch easier for folks who aren't in the loop necessarily.
It's undergoing a few changes in file structure which I will probably commit in a few days. _________________ ----------------------------------------------------------
littlegreenmen.armory.com (or l.armory.com) is a _FREE_ shell account and game server running at the Armory! telnet/ssh in as "request" with no password for an account. |
|
Back to top |
|
|
Agilo n00b
Joined: 01 Jan 2004 Posts: 38 Location: The Netherlands
|
Posted: Mon Jul 19, 2004 5:53 pm Post subject: CenterICQ. |
|
|
I don't know if I have to create an eBuild for it, but I'd very much like to see CenterICQ being implemented into the Portage tree.
Quote: | Centericq is a text mode menu- and window-driven IM interface that supports the ICQ2000, Yahoo!, AIM, IRC, MSN, Gadu-Gadu and Jabber protocols. |
_________________ - Agilo (Alessandro Lo-Presti) |
|
Back to top |
|
|
Henk Poley n00b
Joined: 19 Jul 2004 Posts: 17
|
Posted: Mon Jul 19, 2004 6:44 pm Post subject: Re: CenterICQ. |
|
|
Agilo wrote: | I don't know if I have to create an eBuild for it, but I'd very much like to see CenterICQ being implemented into the Portage tree. |
Ehm, agilo? To IM your PC to install some software, or something? Not trying to be harsh, but this thread is about discussing portage/emerge tools. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9547 Location: beyond the rim
|
Posted: Mon Jul 19, 2004 7:59 pm Post subject: |
|
|
also:
Code: | $ emerge -s centericq
Searching...
[ Results for search key : centericq ]
[ Applications found : 1 ]
* net-im/centericq
Latest version available: 4.9.12
Latest version installed: [ Not Installed ]
Size of downloaded files: 1,593 kB
Homepage: http://konst.org.ua/eng/software/centericq/info.html
Description: A ncurses ICQ/Yahoo!/AIM/IRC/MSN/Jabber Client
License: GPL-2
|
|
|
Back to top |
|
|
Lv Retired Dev
Joined: 22 Jun 2003 Posts: 352
|
Posted: Wed Jul 21, 2004 6:15 am Post subject: |
|
|
portage-c aims to eventually be a portage replacement in c
it also makes use of sqlite.
this means the difference between insanely slow:
Code: | ayanami root # time emerge -S mozilla > /dev/null
real 15m57.883s
user 9m28.485s
sys 4m40.234s
|
after a fresh emerge sync with the new portage... yes, it seriously took that long. the second time through, still damn slow:
Code: | ayanami root # time emerge -S mozilla > /dev/null
real 1m26.742s
user 0m17.807s
sys 0m2.631s
|
and insanely fast:
Code: | ayanami root # time portage-c --search mozilla > /dev/null
real 0m1.719s
user 0m0.011s
sys 0m0.010s
|
though the portage-c output isnt formatted very well -
Code: | ayanami root # portage-c --search libstdc++-v3
>>>Search<<<
>>>Search->libstdc++-v3
sys-libs/libstdc++-v3-3.3.3-r1 Size:23279245
Compatibility package for running binaries linked against a pre gcc 3.4 libstdc++
http://gcc.gnu.org/libstdc++/
<<<Search>>>
|
it's currently not usable as a full portage replacement (cant simply emerge stuff yet), but siti is certainly working on it
http://sourceforge.net/projects/portage-c/ |
|
Back to top |
|
|
Agilo n00b
Joined: 01 Jan 2004 Posts: 38 Location: The Netherlands
|
Posted: Wed Jul 21, 2004 11:52 am Post subject: |
|
|
Genone wrote: | also:
Code: | $ emerge -s centericq
Searching...
[ Results for search key : centericq ]
[ Applications found : 1 ]
* net-im/centericq
Latest version available: 4.9.12
Latest version installed: [ Not Installed ]
Size of downloaded files: 1,593 kB
Homepage: http://konst.org.ua/eng/software/centericq/info.html
Description: A ncurses ICQ/Yahoo!/AIM/IRC/MSN/Jabber Client
License: GPL-2
|
|
Wow.. I.. ehm..
I.. I'm sorry.
Last time I checked if CenterICQ was in portage was a long time ago, I guess.
I didn't know it was since added.
Sorry again. _________________ - Agilo (Alessandro Lo-Presti) |
|
Back to top |
|
|
BlindSpy Apprentice
Joined: 20 Mar 2004 Posts: 263
|
Posted: Wed Jul 21, 2004 2:41 pm Post subject: |
|
|
great comilation! _________________ Symlinks to:
xorg.conf |
|
Back to top |
|
|
Lv Retired Dev
Joined: 22 Jun 2003 Posts: 352
|
Posted: Thu Jul 22, 2004 1:44 am Post subject: |
|
|
http://dev.gentoo.org/~gmsoft/tools/imlate
imlate seeks to make arch maintainance easier by comparing the current stable version of an ebuild for one arch with another. x86 is the default comparison.
some example imlate output:
Code: | ayanami root # ./imlate amd64
Package Name amd64 x86
--------------------------------------------------------------------------------
app-accessibility/gok 0.10.0 0.10.2
app-accessibility/gnome-mag 0.10.10 0.10.11
app-arch/arj 3.10.18 3.10g
app-arch/dump 0.4.34 0.4.36
app-cdr/k3b 0.11.10 0.11.12-r1
|
|
|
Back to top |
|
|
Heyleke n00b
Joined: 05 Aug 2003 Posts: 5
|
|
Back to top |
|
|
Air-Op n00b
Joined: 02 Apr 2003 Posts: 52
|
Posted: Thu Jul 22, 2004 1:27 pm Post subject: revdep-rebuild |
|
|
You forgot revdep-rebuild!
revdep-rebuild is basically a neccessity if you're using ~arch
HEhehe.. it might actually be included in portage... :S |
|
Back to top |
|
|
dr_strange Guru
Joined: 16 Apr 2002 Posts: 480 Location: Cambridge, UK
|
Posted: Thu Jul 22, 2004 5:27 pm Post subject: Re: revdep-rebuild |
|
|
Air-Op wrote: | You forgot revdep-rebuild!
revdep-rebuild is basically a neccessity if you're using ~arch
HEhehe.. it might actually be included in portage... :S |
It's in gentoolkit. _________________ shine on,
dr_strange
Set the Controls for the Heart of Gentoo
http://magenta.linuxforum.hu |
|
Back to top |
|
|
tecknojunky Veteran
Joined: 19 Oct 2002 Posts: 1937 Location: Montréal
|
Posted: Thu Jul 29, 2004 4:54 am Post subject: |
|
|
Here's one I'm using for a few months and that I find useful... kinda.
gsc stand for Gentoo Servies Control and it's a simple dialog wrapper to start/stop/restart/reload/zap candidate scripts in the /etc/init.d folder.
The script is here and I have put a preview on my webserver.
I have installed it in /sbin, so cd ther and cut&paste the following to get it installed and ready for usages: Code: | cd /sbin
wget http://www.tecknojunky.com/gentoo/gsc
chmod 700 gsc |
Of course, you need bash and dialog installed.
Hope at least one other person find it useful. Improvments/suggestions are welcome (pm me).
NB: While previewing the post and testing the links, I noticed there are a lot of commented code in there. I kind of forgot what I was up to. I think it was an attempt to pla around with runlevels. _________________ (7 of 9) Installing star-trek/species-8.4.7.2::talax. |
|
Back to top |
|
|
xchris Advocate
Joined: 10 Jul 2003 Posts: 2824
|
Posted: Thu Jul 29, 2004 12:09 pm Post subject: |
|
|
Here is my bash script for use analisys
Already posted in this forum section but maybe it's a good idea (if you think it's worth) to mention it also here:
https://forums.gentoo.org/viewtopic.php?t=203823 _________________ while True:Gentoo() |
|
Back to top |
|
|
egolf Tux's lil' helper
Joined: 27 Feb 2004 Posts: 116 Location: CH
|
Posted: Wed Aug 04, 2004 7:24 pm Post subject: |
|
|
Here are some scripts from the italian user group, Maybe they can be interesting,
(If you need some translations, you can send me a pm) _________________ Everything has its beauty but not everyone sees it.
-Confucius- |
|
Back to top |
|
|
untiefe Apprentice
Joined: 12 Jan 2004 Posts: 230 Location: the nonexisting Bielefeld, Germany
|
Posted: Thu Aug 12, 2004 10:52 am Post subject: |
|
|
Hi!
As I didn't got any reply from my PM, I just add glcu here (and would be happy if you could add it to the list):
For everybody who wants some kind of automated update, this script may be everything you need:
glcu - gentoo linux cron update _________________ "I'm an angel bored like hell
And you're a devil meaning well"
:: Cardigans - You're The Storm ::
glcu - gentoo linux cron update (full featured semi-automatic updates via cron) |
|
Back to top |
|
|
mallchin l33t
Joined: 21 Jan 2003 Posts: 655 Location: United Kingdom
|
Posted: Sat Aug 14, 2004 1:16 am Post subject: |
|
|
eMenu provides common emerge commands, and, more usefully, captures messages outputed by portage so you can view them later.
http://www.dopesmoker.net/files/emenu.sh _________________ 6700 @ 2.66GHz, 4Gb RAM, 2 x 500Gb, 8800 GTX, PhysX, X-Fi, 24" Widescreen, Tux mascot |
|
Back to top |
|
|
singular n00b
Joined: 07 Jun 2003 Posts: 54
|
Posted: Sun Aug 15, 2004 12:41 am Post subject: |
|
|
The link to repoman-local returns a 404 not found page.
Is there a good link to this or does it no longer exist? |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9547 Location: beyond the rim
|
Posted: Sun Aug 15, 2004 4:50 am Post subject: |
|
|
It got merged into repoman a long time ago. |
|
Back to top |
|
|
singular n00b
Joined: 07 Jun 2003 Posts: 54
|
Posted: Sun Aug 15, 2004 6:12 am Post subject: |
|
|
Thanks, I didn't realize that. |
|
Back to top |
|
|
k1w1_skarf1 n00b
Joined: 27 Aug 2004 Posts: 28 Location: Dunedin, New Zealand
|
Posted: Wed Oct 27, 2004 5:07 am Post subject: |
|
|
Code: | truffle root # portlog-info
PORT_LOGDIR not found.
truffle root # grep PORT_LOGDIR /etc/make.conf
PORT_LOGDIR="/var/log/portage"
|
WTF! I downloaded it today, and put it in /usr/local/bin. Is this script b0rk3n or have I done someting stupid?
I want to set this up so logrotate mails me the important emerge info before it deletes my portage logs. At present emerge is creating log files OK.... _________________ "The most incomprehensible thing about the world is that it is comprehensible."
Albert Einstein |
|
Back to top |
|
|
k1w1_skarf1 n00b
Joined: 27 Aug 2004 Posts: 28 Location: Dunedin, New Zealand
|
Posted: Wed Oct 27, 2004 9:07 am Post subject: |
|
|
OK, I found the problem. I fixed it by changing this:
Code: |
PORT_LOGDIR="`sed -n 's:^PORT_LOGDIR=::p' /etc/make.conf`"
|
to this:
Code: |
PORT_LOGDIR_HOLDER="`sed -n 's:^PORT_LOGDIR=::p' /etc/make.conf`"
PORT_LOGDIR="`echo $PORT_LOGDIR_HOLDER | sed -n 's:"::p' | sed -n 's:"::p'`"
|
I don't know if most people have
Code: | PORT_LOGDIR="/var/log/portage" |
in /etc/make.conf, or
Code: | PORT_LOGDIR=/var/log/portage |
but I thought the proper way was to put the "quotes" around it.
The sed script was not removing the quotes. Unfortunately, I don't think my altered script will work for people without the quotes.
We could do it like this (of the top of my head)....
Code: |
PORT_LOGDIR_HOLDER="`sed -n 's:^PORT_LOGDIR=::p' /etc/make.conf`"
if echo $PORT_LOGDIR_HOLDER | grep -q '"'
then PORT_LOGDIR="`echo $PORT_LOGDIR_HOLDER | sed -n 's:"::p' | sed -n 's:"::p'
else PORT_LOGDIR="`echo $PORT_LOGDIR_HOLDER`"
fi
|
This is my first time using sed, maybe someone else has a tidier way.... _________________ "The most incomprehensible thing about the world is that it is comprehensible."
Albert Einstein |
|
Back to top |
|
|
|