Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[tool]portage-bashrc-ng - modular portage's bashrc
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
nabla²
Apprentice
Apprentice


Joined: 17 May 2005
Posts: 280

PostPosted: Tue Sep 05, 2006 2:30 pm    Post subject: Reply with quote

It works! (I had to apply it manually probably because of missing tabs in the patch.)
_________________
Gentoo on Intel Core Duo 2 E6750, Gigabyte P35-DS3P, NVIDIA 8800GTS (amd64)
Back to top
View user's profile Send private message
Spruit_elf
n00b
n00b


Joined: 30 Jul 2005
Posts: 33

PostPosted: Thu Sep 07, 2006 12:31 pm    Post subject: Reply with quote

im getting
/usr/share/portage-bashrc-ng//perpackage.module: line 241: package-ldflag: command not found

however the files are not modified and the package-ldflag function is where it should be

what can i do?
Back to top
View user's profile Send private message
Ferdinando
Veteran
Veteran


Joined: 25 Nov 2003
Posts: 1027
Location: Gaeta (LT) - Italy

PostPosted: Mon Sep 11, 2006 7:36 am    Post subject: Reply with quote

Spruit_elf wrote:
/usr/share/portage-bashrc-ng//perpackage.module: line 241: package-ldflag: command not found

Err, I forgot an "s" :oops: That was package-ldflags. Sorry (also for the delay in answering), please download an updated version of the module from here and overwrite the old one.

Bye
_________________
La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997
Back to top
View user's profile Send private message
mudrii
l33t
l33t


Joined: 26 Jun 2003
Posts: 789
Location: Singapore

PostPosted: Fri Sep 15, 2006 6:59 am    Post subject: Reply with quote

Hi
Is really interesting features I will start testing it.

Thx for effort

BTW did you check the http://www.mathematik.uni-wuerzburg.de/~vaeth/gentoo/
M. Väth portage-bashrc.tar.gz script
_________________
www.gentoo.ro
Back to top
View user's profile Send private message
madman2003
Apprentice
Apprentice


Joined: 20 Feb 2005
Posts: 178

PostPosted: Sat Sep 16, 2006 10:17 am    Post subject: Reply with quote

The portage-bashrc-ng in the overlay needs to be redigested.
Back to top
View user's profile Send private message
EliasP
Guru
Guru


Joined: 06 Dec 2002
Posts: 318
Location: South-West Germany

PostPosted: Tue Jan 23, 2007 12:12 am    Post subject: Reply with quote

Please change the documentation about the perpackage feature [1] in a way, that it's more clear how to define things for categories instead of single packages.
Tried a lot of things until I finally figured out, that the right way looks like this:
Code:

kde-base/* -ggdb
kde-misc/* -ggdb

When following the current documentation, it looks like this was the right way:
Code:

kde-base -ggdb
kde-misc -ggdb


Thank you,
Elias P.

[1]: http://portage-bashrc.sourceforge.net/per-package.html
Back to top
View user's profile Send private message
EliasP
Guru
Guru


Joined: 06 Dec 2002
Posts: 318
Location: South-West Germany

PostPosted: Tue Jan 23, 2007 4:10 pm    Post subject: Reply with quote

IMHO, there's still an issue concerning the perpackage module:
When specifying C{XX}FLAGS, they should be added to the already existing C{XX}FLAGS.
Currently the already existing C{XX}FLAGS get replaced.
For removing a flag, /etc/portage/package.noc{xx}flags could be used.

Regards,
Elias P.
Back to top
View user's profile Send private message
tek0
n00b
n00b


Joined: 09 Oct 2005
Posts: 43

PostPosted: Mon Jun 11, 2007 12:20 am    Post subject: Reply with quote

I get
Code:

/usr/share/portage-bashrc-ng//perpackage.module: line 25: /usr/share/portage-bashrc-ng/common.funcs: no such file or directory
/usr/share/portage-bashrc-ng//tmpfs.module: line 17: /usr/share/portage-bashrc-ng/common.funcs: no such file or directory

in 0.14.1
Back to top
View user's profile Send private message
pietrek
n00b
n00b


Joined: 09 Oct 2007
Posts: 14

PostPosted: Sun Oct 21, 2007 11:45 pm    Post subject: Reply with quote

Could anyone please help me?

I've bashrc-ng version 0.14.1 installed and I can't get perpackage feature to work...
It is enabled in eselect bashrc-ng, I have the /etc/portage/package.cflags file and x11-misc/xwinwrap -Os -ffast-math in it.
But still when I try to compile xwinwrap I get: Active CFLAGS = -O2 -fomit-frame-pointer -ffast-math -march=nocona -pipe

Shouldn't it be Active CFLAGS = -Os -ffast-math, as defined in package.cflags ?
What am I doing wrong? is there anything elese to enable, or something else done to use bashrc in portage?

I'm running Gentoo 2007.0 with sys-apps/portage-2.1.3.15.

Thanks in advance.
Back to top
View user's profile Send private message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Mon Oct 22, 2007 5:46 pm    Post subject: Reply with quote

!equilibrium wrote:
accordling to @ferdinando and the GeCHI i have made available (temporarely) the portage-bashng-rc ebuild throught my personal overlay; to grab it with layman:
layman -f -o http://wtk-overlay.sf.net/layman.xml -a WTK-Testing

Is that still usable ?
Back to top
View user's profile Send private message
pietrek
n00b
n00b


Joined: 09 Oct 2007
Posts: 14

PostPosted: Mon Oct 22, 2007 6:34 pm    Post subject: Reply with quote

I got my ebuild from layman -f -o http://gechi-overlay.sf.net/layman.xml -a gechi
Back to top
View user's profile Send private message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Mon Oct 22, 2007 8:12 pm    Post subject: Reply with quote

Thank :-)
Back to top
View user's profile Send private message
pietrek
n00b
n00b


Joined: 09 Oct 2007
Posts: 14

PostPosted: Tue Oct 23, 2007 9:04 am    Post subject: Reply with quote

No problem, just tell me if the "perpackage" module works for you :-)
Back to top
View user's profile Send private message
lazy_bum
l33t
l33t


Joined: 16 Feb 2005
Posts: 691

PostPosted: Tue Oct 23, 2007 6:16 pm    Post subject: Reply with quote

pietrek wrote:
No problem, just tell me if the "perpackage" module works for you :-)

Hint
_________________
roslin uberlay | grubelek
Back to top
View user's profile Send private message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Tue Oct 23, 2007 9:18 pm    Post subject: Reply with quote

I am mostly interested in tmpfs with which I just compiled sys-devel/gcc-4.3.0_alpha20071019 :-)
Back to top
View user's profile Send private message
pietrek
n00b
n00b


Joined: 09 Oct 2007
Posts: 14

PostPosted: Tue Oct 23, 2007 10:18 pm    Post subject: Reply with quote

Thanks a lot lazy_bum! The /etc/portage/env trick worked perfectly!
Back to top
View user's profile Send private message
ryo-san
l33t
l33t


Joined: 17 Feb 2005
Posts: 729

PostPosted: Fri Oct 26, 2007 8:15 am    Post subject: Reply with quote

hi,

i've the latest version of bashrc-ng and i had some problems with :
- unmounting bashrc mount point when resuming merge.
- preserving memory

i think it's ok now , so here's the diff
Code:

--- /etc/portage/portage-bashrc-ng-0.14.1/bashrc-ng/tmpfs.module   2007-10-26 09:56:14.000000000 +0200
+++ tmpfs.module   2007-10-26 10:07:34.000000000 +0200
@@ -200,10 +200,12 @@
    
    if [[ -r /proc/meminfo ]] ; then
       MEMORY_TOTAL=$(sed -n -e '/MemTotal:/s/^[^:]*: *\([0-9]\+\) kB/\1/p' /proc/meminfo)
+      MEMORY_TOTAL=$(( ${MEMORY_TOTAL} / 1024 ))
       SWAP_TOTAL=$(sed -n -e '/SwapTotal:/s/^[^:]*: *\([0-9]\+\) kB/\1/p' /proc/meminfo)
+      SWAP_TOTAL=$(( $SWAP_TOTAL / 1024 ))
       [[ -z ${PRESERVE_MEMSIZE} ]] && PRESERVE_MEMSIZE=64
       PRESERVE_MEMSIZE=${PRESERVE_MEMSIZE/M/}
-      PORTAGE_MEMSIZE="$(( (${MEMORY_TOTAL} + ${SWAP_TOTAL} - ${PRESERVE_MEMSIZE}) / 1024))M"
+      PORTAGE_MEMSIZE="$(( ${MEMORY_TOTAL} + ${SWAP_TOTAL} - ${PRESERVE_MEMSIZE} ))M"
       einfo "Determine new optimal TMPFS value: [ ${PORTAGE_MEMSIZE} ]"
    else
       PORTAGE_MEMSIZE="-1"


MEMORY_TOTAL and SWAP_TOTAL must be divided by 1024 'cause it is "seded" in KO , but PRESERVE_MEMSIZE is in MO in config file.
Back to top
View user's profile Send private message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Fri Nov 16, 2007 2:31 pm    Post subject: Reply with quote

How to use the "new ones" bashrcng-shmfs ?

I think I have pretty much setted all with eselect, but still :
Code:

emerge -1 gcc
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) sys-devel/gcc-4.3.0_alpha20079999 to /
/usr/share/bashrcng/modules/shmfs: line 48: check_if_mounted: command not found
 * checking ebuild checksums ;-) ...                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                [ ok ]
 * checking miscfile checksums ;-) ...                                               [ ok ]

 * Using bashrcng profile [ 1.1.1 ]
/usr/share/bashrcng/modules/shmfs: line 78: parseconffile: command not found
/usr/share/bashrcng/modules/shmfs: line 92: estimate_shmsize: command not found

 * shmfs module disabled [ no valid shared memory size: '' ]
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Sun Nov 18, 2007 3:09 pm    Post subject: Reply with quote

Gregoire wrote:
How to use the "new ones" bashrcng-shmfs ?

I think I have pretty much setted all with eselect, but still :


please don't use experimental software.
bashrcng is hard masked and not complete now.
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Sun Nov 18, 2007 3:48 pm    Post subject: Reply with quote

Well, I didn't unmask anything to emerge bashrcng so that's really strange ???

I just use your gechi overlay on my ~amd64.
I could switch back to app-portage/portage-bashrc-ng which worked just fine.

How should I know when I should switch to the new one ?

Thank for this tremendous app !!! :-)
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Sun Nov 18, 2007 4:56 pm    Post subject: Reply with quote

Gregoire wrote:
I just use your gechi overlay on my ~amd64.
I could switch back to app-portage/portage-bashrc-ng which worked just fine.


to fix the problem do:

Code:

emerge -av virtual/bashrcng:1.0
eselect bashrcng set 1.0.0


and you'll be able to use 'app-portage/bashrcng-1.1.0'

Gregoire wrote:
How should I know when I should switch to the new one ?
Thank for this tremendous app !!! :-)


app-portage/bashrcng is under development, and it's a refactoring of the app-portage/portage-bashrc-ng with more features (bashrc profiles, Gentoo/FreeBSD support, more end-user options, docs, man pages, eselect tools for the configurations and a lot of more) and less troubles/problems; when i have finished the job i'll report the news on this thread, don't worry.

(probably for the end of this mounth i'll release the first stable app-portage/bashrcng)
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Sun Nov 18, 2007 7:31 pm    Post subject: Reply with quote

I am back to "old" one :-)
Which by the way works really nicely.
I wait till a proper annoucement here. Thank
Back to top
View user's profile Send private message
Rion
Guru
Guru


Joined: 12 Oct 2006
Posts: 383
Location: Minsk, Belarus

PostPosted: Wed Feb 27, 2008 5:55 pm    Post subject: Reply with quote

just noticed, all bashrc ebuilds were removed from gechi overlay.
is here any other overlay?
_________________
rion-overlay
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Wed Feb 27, 2008 6:05 pm    Post subject: Reply with quote

Rion wrote:
just noticed, all bashrc ebuilds were removed from gechi overlay.
is here any other overlay?


you are absolutely wrong, the ebuilds still exists into the gechi overlay.
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Mon Jul 28, 2008 8:22 pm    Post subject: Reply with quote

I just enabled the perpackage which failed, so I looked and replaced lign 73 of perpackage.module :
Code:

eval "export $VAR=\"\${$VAR} $*\""

by :
Code:

eval "export ${VAR}='${new[*]}'"

which is certainly wrong but seems to work here.

What should it really be ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum