Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mini How-To Slab (Gnome menu from Suse)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
LeGars
n00b
n00b


Joined: 09 Aug 2006
Posts: 12

PostPosted: Wed Aug 09, 2006 10:36 pm    Post subject: Mini How-To Slab (Gnome menu from Suse) Reply with quote

UPDATE 04-09-2006

This way to install Slab

Pre-requisite

first emerge layman wich permit to manage overlays :
Code:
# emerge layman

Add this line to your make.conf :
Code:
source /usr/portage/local/layman/make.conf

then update layman
Code:
# layman -f

You can have a list of available overlay with
Code:
# layman -L


Make sure your local portage is set in make.conf
Code:
PORTDIR_OVERLAY="/usr/local/portage"

and directory present :
Code:
# mkdir /etc/local/portage


Get the right files

Add the gentopia overlay :
Code:
# layman -a gentopia


Then get all the patch files and ebuild from here : https://bugs.gentoo.org/show_bug.cgi?id=140027
file to get :
01-control-center-fix.patch
02-slab-autogen-noconfigure.patch
03-configure.in-remove-gtk-doc.patch
slab-1.9999-r4.ebuild

unmask files if necessary
in /etc/portage/package.keywords :
Code:

gnome-extra/slab
net-misc/networkmanager
net-misc/dhcdbd
dev-libs/libnl


in /etc/portage/package.unmask
Code:
dev-libs/libnl


Create directories :
Code:

# mkdir /usr/local/portage/gnome-extra
# mkdir /usr/local/portage/gnome-extra/slab
# mkdir /usr/local/portage/gnome-extra/slab/files


Then places files in directories :
Code:

# mv *.patch /usr/local/portage/gnome-extra/slab/files/
# mv slab-1.9999.ebuild /usr/local/portage/gnome-extra/slab/


Emerge it

Code:
# emerge --digest -av slab


Add the new gnome menu in the applet bar then enjoy!


Last edited by LeGars on Mon Sep 04, 2006 7:45 pm; edited 2 times in total
Back to top
View user's profile Send private message
twistor
n00b
n00b


Joined: 30 Aug 2004
Posts: 41

PostPosted: Sat Aug 12, 2006 6:42 pm    Post subject: Reply with quote

Worked ok for me. I am having some NetworkManager problems though. Thanks for the info.
Back to top
View user's profile Send private message
saintdev
n00b
n00b


Joined: 13 Jul 2004
Posts: 60
Location: CO, USA

PostPosted: Sun Aug 13, 2006 2:48 am    Post subject: Re: Mini How-To Slab (Gnome menu from Suse) Reply with quote

LeGars wrote:
To compile, Slab will need gnome-common. But it's not marked as a dependency so emerge it manually :
Code:
# emerge gnome-common

Sorry about that. I just took the deps from the original ebuild. I'll update my ebuild in the bug, and hopefully stuart will follow suit with his ebuild. Then this step will be unnessessary ;)

If anyone's curious the bug that stuart took his ebuild from is #140027
_________________
> SELECT `signature` FROM `members` WHERE `user_name`='saintdev';
0 rows returned.
Back to top
View user's profile Send private message
bigdave1
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2005
Posts: 106
Location: Raleigh, NC

PostPosted: Wed Sep 13, 2006 6:38 am    Post subject: Reply with quote

I've followed your setup and I've also emerged gnome-common as suggested but I'm having a problem with the networkmanager dependency. When I do emerge --digest -av slab, I get the following:

Code:
linuxclient portage # emerge --digest -av slab                                 
These are the packages that would be merged, in order:

Calculating dependencies |
emerge: there are no ebuilds to satisfy ">=net-misc/networkmanager-0.6.3".
(dependency required by "gnome-extra/slab-1.9999-r4" [ebuild])


How do I get networkmanager installed?

Thanks!
Back to top
View user's profile Send private message
saintdev
n00b
n00b


Joined: 13 Jul 2004
Posts: 60
Location: CO, USA

PostPosted: Wed Sep 13, 2006 7:11 am    Post subject: Reply with quote

bigdave1 wrote:
I've followed your setup and I've also emerged gnome-common as suggested but I'm having a problem with the networkmanager dependency. When I do emerge --digest -av slab, I get the following:

Code:
linuxclient portage # emerge --digest -av slab                                 
These are the packages that would be merged, in order:

Calculating dependencies |
emerge: there are no ebuilds to satisfy ">=net-misc/networkmanager-0.6.3".
(dependency required by "gnome-extra/slab-1.9999-r4" [ebuild])


How do I get networkmanager installed?

Thanks!

[edit]
I guess this is in the guide allready...
[/edit]

The easiest way is to get the gentopia overlay.
Check the Gentoo Overlays: Users' Guide if you need instructions.
_________________
> SELECT `signature` FROM `members` WHERE `user_name`='saintdev';
0 rows returned.
Back to top
View user's profile Send private message
bigdave1
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2005
Posts: 106
Location: Raleigh, NC

PostPosted: Wed Sep 13, 2006 5:22 pm    Post subject: Reply with quote

Thanks, I got networkmanager installed and I was able to emerge slab. The last part of the instructions say to add the new gnome menu to the applet bar. How do I do that?

Thanks!
Back to top
View user's profile Send private message
saintdev
n00b
n00b


Joined: 13 Jul 2004
Posts: 60
Location: CO, USA

PostPosted: Wed Sep 13, 2006 7:22 pm    Post subject: Reply with quote

Right click on one of your panels, and select "Add to Panel..."
Scroll down until you see the Main Menu entries (there should now be 2 of them). For me the new menu was the one without the icon, select it, and click add.
_________________
> SELECT `signature` FROM `members` WHERE `user_name`='saintdev';
0 rows returned.
Back to top
View user's profile Send private message
grogblob
n00b
n00b


Joined: 26 May 2003
Posts: 4
Location: Atlanta GA

PostPosted: Thu Sep 14, 2006 12:08 am    Post subject: Reply with quote

I was able to get networkmanager installed but when I try to compile slab I get the following error even though I'm logged in as root:

Code:

make[2]: Entering directory `/var/tmp/portage/slab-1.9999/work/slab/libtile'
test -z "/usr/lib" || mkdir -p -- "/usr/lib"
 /bin/sh ../libtool --mode=install /bin/install -c  'libtile.la' '/usr/lib/libtile.la'
/bin/install -c .libs/libtile.so.0.0.0 /usr/lib/libtile.so.0.0.0
ACCESS DENIED  open_wr:   /usr/lib/libtile.so.0.0.0
/bin/install: cannot create regular file `/usr/lib/libtile.so.0.0.0': Permission denied
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/var/tmp/portage/slab-1.9999/work/slab/libtile'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/slab-1.9999/work/slab/libtile'
make: *** [install-recursive] Error 1

!!! ERROR: gnome-extra/slab-1.9999 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_install
  ebuild.sh, line 1020:   Called src_install
  slab-1.9999.ebuild, line 46:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------LOG FILE = "/var/log/sandbox/sandbox-gnome-extra_-_slab-1.9999-24095.log"

open_wr:   /usr/lib/libtile.so.0.0.0 (symlink to /usr/lib64/libtile.so.0.0.0)
--------------------------------------------------------------------------------!!! This ebuild is from an overlay: '/usr/local/portage'


Anyone know how I can fix this permissions issue? I'm using AMD64 btw.
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Thu Sep 14, 2006 12:29 am    Post subject: Reply with quote

grogblob, I don't know the solution but to clue you in. Even though you are logged in as root, that won't matter. Without FEATURES="-userpriv", portage drops root permissions and compiles as user portage.
Back to top
View user's profile Send private message
saintdev
n00b
n00b


Joined: 13 Jul 2004
Posts: 60
Location: CO, USA

PostPosted: Thu Sep 14, 2006 12:34 am    Post subject: Reply with quote

grogblob, are you using the latest ebuild. That looks like it was possibly using the old slab ebuild that had MAJOR sandbox violations. If you are check the first post for links to the correct ebuild to use. Make sure you get the attachment labeled slab-1.9999-r4.ebuild NOT the one labeled "slab ebuild".

If you are using the latest ebuild, could you pastebin a build log, and your emerge --info, and post links?
_________________
> SELECT `signature` FROM `members` WHERE `user_name`='saintdev';
0 rows returned.
Back to top
View user's profile Send private message
grogblob
n00b
n00b


Joined: 26 May 2003
Posts: 4
Location: Atlanta GA

PostPosted: Thu Sep 14, 2006 9:10 pm    Post subject: Reply with quote

Thanks saintdev, I was using the incorect ebuild, slab is up and running perfectly now.
Back to top
View user's profile Send private message
wimbo
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2004
Posts: 110
Location: Ninove - Belgium

PostPosted: Sun Dec 03, 2006 5:56 pm    Post subject: emerge can't find slab in cvs Reply with quote

hello,

when trying to emerge slab as explained in this thread, i get this error:

Code:
 * Fetching CVS module slab into /usr/portage/distfiles/cvs-src ...
 * Running  cvs -q -f -z4 -d ":pserver:anonymous:@anoncvs.gnome.org/cvs/gnome" login
Logging in to :pserver:anonymous@anoncvs.gnome.org:2401/cvs/gnome
 * Running  cvs -q -f -z4 -d ":pserver:anonymous@anoncvs.gnome.org/cvs/gnome"
checkout  slabcvs server: cannot find module `slab' - ignored
cvs [checkout aborted]: cannot expand modules


is there something wrong whith the ebuild?

wimbo
Back to top
View user's profile Send private message
saintdev
n00b
n00b


Joined: 13 Jul 2004
Posts: 60
Location: CO, USA

PostPosted: Sun Dec 03, 2006 10:30 pm    Post subject: Reply with quote

Sorry I haven't had time to update the ebuild, I've been working on the networkmanager backend, and haven't even had much time to do that.
Slab has been moved to gnome-main-menu. I believe that steev has an ebuild at http://dev.gentoo.org/~steev/files/gnome-main-menu-0.6.2.ebuild, I have not tested this, so you would have to contact him with any questions/problems.
_________________
> SELECT `signature` FROM `members` WHERE `user_name`='saintdev';
0 rows returned.
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Mon Dec 04, 2006 2:00 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-476767.html
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
wimbo
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2004
Posts: 110
Location: Ninove - Belgium

PostPosted: Tue Dec 05, 2006 2:46 pm    Post subject: Reply with quote

rmh3093 wrote:
https://forums.gentoo.org/viewtopic-t-476767.html


yes, well, i kinda came from that thread. :)
Back to top
View user's profile Send private message
saintdev
n00b
n00b


Joined: 13 Jul 2004
Posts: 60
Location: CO, USA

PostPosted: Mon Dec 11, 2006 6:26 am    Post subject: Reply with quote

Ok, I just tested, and the last slab ebuild still works as long as you rename it to gnome-main-menu.

Also as a note to the OP, you no longer need the gentopia overlay as NetworkManager is now in portage. Plus the version in portage is much newer and has patches for the Gentoo /etc/conf.d/net and for dbus-1.0
_________________
> SELECT `signature` FROM `members` WHERE `user_name`='saintdev';
0 rows returned.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
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