Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-09-2011, 05:29 AM
malco_2001 malco_2001 is offline
Member
 
Join Date: Aug 2010
Posts: 97
Thanks: 2
Thanked 9 Times in 8 Posts
Default Building & Installing Gnome 3
Here is what I have done to build Gnome 3 on PCBSD for anyone who might be interested in trying. I was able to get Gnome 3 working with the PCBSD Appcafe working. If there are any errors or suggestions let me know as I did all of this in a hurry.

My first thoughts for doing this was that it would be easiest to build gnome 3 into packages within a jail using portmaster. Since PCBSD has portsjail that made it really easy. I could then share the files from an http server to install from any machine on my network using pkg_add.

1.) First build portjail if it is not already set up by opening a terminal and typing:

su -
portjail init root

2.) Open portjail application and run the following commands:

su -

portsnap fetch

portsnap upgrade

3.) Download the marcuscom ports repository tar bz2 file and marcusmerge script from here

http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi/

4.) Extract the tar bz2 archive

5.) Edit the marcusmerge script (i chose to specify /temp/ports as the location of the marcuscom ports tree because this is where I moved the marcuscom ports tree within the jail)

4.) Create a temp directory and copy the tar bz2 file and the marcus merge script to a temp directory within the jail (note I had to do this for some reason because the symbolic links to my home dir were not working for me at the time of writing. To do so I opened a terminal and ran the following commands to create a temp directory:

su -
cd /usr/jail/portjail/
mkdir temp

5.) Move the marcuscom ports directory and marcusmerge script to to /usr/jails/portjail/temp/

6.) Make the script executable and run the script:
chmod +x marcusmerge
./marcusmerge

7.) edit the makefile for /usr/ports/x11/gnome3 and comment out libgnome-games3. It will not build due to dependencies that haven't been ported yet.

8.) install portmaster
cd /usr/ports/ports-mgmt/portmaster
make install clean

9.) run portmaster
portmaster --force-config -D -g /usr/ports/x11/xorg
portmaster --force-config -D -g /usr/ports/x11/gnome3 (on the very first configure screen check gnome-shell and uncheck evolution-mapi support because it would not build due to missing dependencies. All other config options leave default.

10.) transfer the /usr/jails/portjail/usr/ports/packages dir to an http server (beyond the scope of this guide)


To Install in FreeBSD 9.

1.) From a fresh install on freebsd you can type the following command as root to tell pkg_add to look at your http server

setenv PACKAGESITE http://xxx.xxx.xxx.xxx/Latest/ (where xxx.xxx.xxx.xxx is the ip of your http server and Latest is the directory pkg_add will look at for the gnome3 tarball)

2.) Run the following commands to install as root
pkg_add -r xorg
pkg_add -r gnome3

3.) add gnome_enable="YES" to /etc/rc.conf

The above should get you a workable gnome 3 in fallback mode if you have an NVIDIA card which I have. The kernel source won't be installed by default which is required for the nvidia driver to build.


To Install in PCBSD 9

1.) install PCBSD and select all drivers if you have an nvidia card.

2.) deselect all window managers except and select awesome under unsupported

3.) after install press control alt f1 to get to a terminal

4.) edit /etc/rc.conf and comment out enable gdm

5. ) ype the following command as root to tell pkg_add to look at your http server

setenv PACKAGESITE http://xxx.xxx.xxx.xxx/Latest/ (where xxx.xxx.xxx.xxx is the ip of your http server and Latest is the directory pkg_add will look at for the gnome3 tarball)

6.) Run the following commands to install as root
pkg_add -r xorg
pkg_add -r gnome3

7.) Attempt and fail to install xorg and take note of conflicting packages. Remove them with package deinstall. Then retry until all conflict packages are gone. Run the following commands as root

pkg_add -r xorg
use pkg_deinstall -r (name of broken dependency)
pkg_add -r xorg

8.) Attempt to install gnome3 and remove any conflicting packages the same way. Run the following commands as root.

pkg_add -r gnome3
pkg_deinstall -r (name of broken dependency)
pkg_add -r gnome3

9.) to make appcafe work launch install the following ports
/usr/ports/x11-toolkits/qt4-gui
/usr/ports/devel/qt4-qtsolutions-singleapplication-20110722
/usr/ports/graphics/qt4-svg/

That should get you a workable gnome3 where PCBSD control panel seems to launch and work. However after installing pbi's the newly installed pbi's won't show up under applications until a logout and login.

Last edited by malco_2001; 08-09-2011 at 05:48 AM.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:53 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.