PDA

View Full Version : Building & Installing Gnome 3


malco_2001
08-09-2011, 05:29 AM
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.

amber.long83
09-07-2011, 10:28 AM
Thanks for information, i was looking for it.

rockworldmi
01-15-2012, 02:26 PM
malco_2001 : can you look at Cinnamon "http://forums.linuxmint.com/viewtopic.php?f=42&t=90721" if you can get it work on PC-BSD !? Thanks in advance..

malco_2001
01-22-2012, 04:02 PM
Actually I wasn't the one who ported Gnome 3 it was done over here http://www.marcuscom.com/ and from what I can tell it's taken them a few guys over 6 months just to get a usable Gnome 3 to build. I say they because it seems a couple of guys may have assisted him. If you look at the mailing list it will give you a better idea. I have a feeling that once Gnome 3 makes it into the ports tree they will do a good job of keeping it fairly up to date. http://www.freebsd.org/gnome/

I could be wrong but it seems that unlike the KDE project which ports native builds to FreeBSD http://freebsd.kde.org/ when they make new builds, Gnome builds only specifically for Linux. So it seems to be up to the community to make it happen. So because of that i think it will be very hard to get Unity or Cinnamon running on FreeBSD unless there is a lot of interest in the FreeBSD community due to the amount of time and work it takes to convert the Linux software to run properly. Especially when in the case of Gnome where features are built to rely on the Linux kernel it makes the work that much harder. A good example of that can be seen on this page http://www.freebsd.org/gnome/docs/volunteer.html

I just posted this guide to show how i took the already "ported to FreeBSD" source and compile it into packages that could be used to install on PCBSD. I'm not yet advanced enough to know how to port software to FreeBSD, yet. I imagine getting this interface to run on FreeBSD/PCBSD would be just a matter of porting some additional packages once the Gnome 3 stuff makes it to the ports tree. That is unless it also somewhere requires some Linux specific kernel function to build and run.

However I would say that not all hope is lost. I never thought Chromium would make it to the ports tree due to some ALSA http://www.alsa-project.org/main/index.php/Main_Page (Linux specific) dependencies but after several years of waiting someone made it happen and it's pretty consistently kept up to date. I have to recommend KDE for begginers to PC-BSD at this point as it is simply better supported and kept more currently up to date. Of course however if someone takes the time to port Cinnamon into a usable state I would take the time to tinker with it. :)

malco_2001
02-03-2012, 01:33 AM
I just recompibled a fresh gnome 3 / xorg yesterday. This time I was able to compile after marcusmerge by just running portmaster --force-config -D -g /usr/ports/x11/gnome3 without having to modify any of the makefiles. The good news is it compiled without any errors and all of the included programs and control panel settings worked as far as I coud tell. The other good news is that it compiled gnome 3.2.1 which seems to be the most current out there as far as I can tell.

The bad news sadly it no longer works for me with the nvidia driver. I can only get it to work in failback mode. After doing some digging I found someone who also tried it using my instructions here in RC2 with the same results.
http://www.marcuscom.com/mailman/htdig/marcuscom-devel/2011-December/001353.html

Not really sure what this means. May have to look for another nvidia card to test with.

lockdoc
03-28-2012, 07:36 AM
So anybody know, why it only uses the fallback mode?

phackwer
04-07-2012, 05:02 AM
It runs on fallback mode because of X configuration.

I had to load GLcore module to have it working. Doing this makes even gdm behave as 3.2

Check my config

Section "Module"
Load "extmod"
Load "record"
Load "dbe"
Load "glx"
Load "dri"
Load "dri2"
Load "drm"
Load "GLcore"
Load "freetype"
EndSection

Section "Device"
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
Screen 0
BoardName "Mobile 4 Series Chipset Integrated Graphics Controller"
BusID "PCI:0:2:0"

Option "AccelDFS" "true"
Option "NoAccel" "false"
Option "AccelMethod" "EXA"
Option "ExaNoComposite" "false"
Option "ForceEnablePipeA" "true"
Option "XAANoOffscreenPixmaps" "true"
Option "EXANoUploadToScreen" "true"
Option "Tiling" "off"
Option "AllowGLXWithComposite" "true"
Option "RenderAccel" "True"
Option "AddARGBGLXVisuals" "True"
Option "EnablePageFlip" "true"
Option "EnableDepthMoves" "true"
EndSection

Section "DRI"
Group "video"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "Keyboard"
Option "XkbModel" "abnt2"
Option "XkbLayout" "br"
Option "XkbVariant" ""
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
Option "AddARGBVisuals" "True"
Option "NoLogo" "True"
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
EndSection

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
FontPath "/usr/local/lib/X11/fonts/dejavu/"
EndSection

ZaRiuS
04-10-2012, 10:02 PM
Hi!

Sorry for be ignorant about it but
Where can i find a packagesite with Gnome3

I follow the steps, but after i use the marcus script, it say i have to update system with portupgrade -a and always it find a lot of fails with fresh and most possible small install.
If i skip it, the portmaster always find a update needed for a lot of packages and i have to restart all the time the process and it is streesing

Any solutions? I love gnome3 when i use it on Arch Linux, but see much more stable and fast pcbsd... if can i have both, it will be a dream

malco_2001
04-28-2012, 04:06 PM
ZaRiuS,
unfortunatley having a packagesite for Gnome3 wouldn't fix the problems with the fails you are having. You pretty much have to uninstall all of the conflicting packages each step of the way. It's definitley easier to install on a clean installation of FreeBSD with no packages. All that's really required for a Gnome3 package site to my knowledge is someone to build the packages and host them on an http server somewhere. Again that wouldn't really fix the conflict problem but it would at least save a lot of people the compile time including me which would be very nice. I have been testing off and on with the latest snapshots for PCBSD 9.1 to see if I can make this process any easier. I haven't gotten there yet but if I do I will definitley post. Thanks for the gl tip phackwer I will defintiely have to give that a shot on my nvidia card.

Right now I have been testing everything in virtualbox. My biggest hangup is getting gnome-shell to launch with the vboxvideo driver. I've read it should just work in fedora. I was thinking if I can get that to work in PCBSD I could just distrubute a Virtualbox image for people to try.

malco_2001
07-29-2012, 05:41 PM
It looks like this will be pointless for a while. Things are horribly broken and there is only 1 developer working on this. The other developer is working on mate now which is almost done and can be tested through the marcuscom ports tree. If things change and I am able to build a functional version of the packages. I will host them somewhere before they are broken again as well as a new guide on how to make things work. It was my intention to do that over the weekend. However that has became impossible until things get fixed with the ports.

sqlpython
08-10-2012, 05:46 PM
Just want to say that this is one of the most viewed Posts on these Forums 9,431 in a 1 year period...
Apparently, this is info that many people thought they needed to know about.
Yet, I believe only 4 thank yous... ????
I am going to add my Thank You.
I don't use Gnome 2 or 3 and have no plans to use it.
However nice job ...

malco_2001
08-12-2012, 02:15 AM
Thanks for that info sqlpython. Until you mentioned it I did not realized this post had so many views. Wow! :)

I am currently in the process of testing Mate with PCBSD. However I have not given up on getting gnome 3 to work nicely with PCBSD. I plan to retry using failback mode only to see how that works until the issues with gnome-shell can be resolved. I also plan to try it other wise with gnome-shell enabled and debug the hell out of it. Hopefully I can help those marcuscom guys.

However what came to mind when you mentioned it the amount of views. Iím not really sure how to properly contact the Gnome team to make a suggestion. I will have to look into that. Iím just thinking it might be worth letting them know how much interest we have had here of getting Gnome 3 running on PCBSD/FreeBSD.

malco_2001
08-12-2012, 02:16 AM
Thanks for that info sqlpython. Until you mentioned it I did not realized this post had so many views. Wow! :)

I am currently in the process of testing Mate with PCBSD. However I have not given up on getting gnome 3 to work nicely with PCBSD. I plan to retry using failback mode only to see how that works until the issues with gnome-shell can be resolved. I also plan to try it other wise with gnome-shell enabled and debug the hell out of it. Hopefully I can help those marcuscom guys if they don’t figure it out first.

However what came to mind when you mentioned it the amount of views. I’m not really sure how to properly contact the Gnome team to make a suggestion. I will have to look into that. I’m just thinking it might be worth letting them know how much interest we have had here of getting Gnome 3 running on PCBSD/FreeBSD. That's what the porting team really needs is more help.

sqlpython
08-12-2012, 06:35 AM
Personally, I do like and will use Gnome2 when encountered.
I find GNome3 less then straight forward and maybe a bit glitzy...Bling..
Anyway go for it. It is good to have choices.

malco_2001
10-03-2012, 05:28 PM
http://i.imgur.com/UJJDI.png

bds
10-03-2012, 06:26 PM
@malco -- that's nice!

malco_2001
10-05-2012, 02:35 AM
For the most part I've gotten it to run fairly stable minus a few remaining issues with the gnome-keyring not working and gdm not working which are being worked on. Other than that I am very happy with it!! It's so nice to be able to use Gnome 3 with my existing PBI's, and the full suite of control panel tools, and the warden.

If anyone would like to try this I would recommend one of 2 options.

1.) install PCBSD with no window manager, and then use pkg_delete or pkg_deinstall to remove all gnome and libgnome ports. Otherwise you will run into dependancy hell when you try to install it. I chose option #1 so I could use an rdp session to another desktop using fluxbox to work while I was building ports.

Then download and run as root the marcuscom script after updating ports. Make sure you have kernel src installed.
fetch http://www.marcuscom.com/downloads/marcusmerge
sh ./marcusmerge -u -m ports -s /usr/src

2.) install FreeBSD and then build the PCBSD tools on top of it after installing x11 and gnome 3 and slim. I want to stay away from this subject right now as for me that falls out of the scope of this thread I think but here is a guide to give an idea of how to accomplish this.

http://blog.pcbsd.org/2012/07/new-features-for-the-impatient/


For root on ZFS users I would recommend using snapshots at every turn for
/usr/ports/
/usr/ports/distfiles
/ROOT/default
/usr/home

malco_2001
10-06-2012, 12:51 AM
malco_2001 : can you look at Cinnamon "http://forums.linuxmint.com/viewtopic.php?f=42&t=90721" if you can get it work on PC-BSD !? Thanks in advance..

I found a shar from Mezz of the marcuscom team for cinnamon. I plan to debug this as well as lightdm. In the meantime if anyone wants to have a go at it here is the link.

http://people.freebsd.org/~mezz/shar/

malco_2001
10-06-2012, 12:57 AM
I forgot to mention though that I speculate and I hope PCBSD may be getting it's own login manager btw. I've tried it and it's not a bad start btw. :)
http://trac.pcbsd.org/browser/pcbsd-projects/PCDM

malco_2001
10-08-2012, 04:30 PM
gdm was fixed today

jhon987
11-30-2012, 08:27 AM
WOW! this looks cool, can't wailt for Gnome3 to hit the PC-BSD

dddirtman
01-21-2013, 11:12 PM
i hear you im using gnome2 on my bsd install
im a noob,but have been building machines for 20 years now
mostly windows/linux but recently been building osx pc's(mac osx 10.8)
i just tryed bsd and love it...would like to see gnome3 on bsd...

malco_2001
01-29-2013, 04:42 PM
I've written a script to automate the entire installation on PC-BSD 9.1 using pre-built packages compiled using clang and poudriere. So far it's working but I have had some issues getting it to work when certain window managers are installed xfce, lxde.

jhon987
02-04-2013, 05:25 PM
upload the script/share it with us please

malco_2001
02-05-2013, 11:49 PM
I would be glad to. I've purchased a web hosting account for this particular project. Give me a day or so and I will put the script and the packages up with a link after everything has been uploaded.

malco_2001
02-06-2013, 02:58 AM
Ok here it is as promised. For now this is for PCBSD 9.1 amd64 only. You will want to read over these first in a text editor first as it will remove a lot of packages. I would also recommend a snapshot first in case things don't work out due to a video card issue, etc.

You can execute it and it will pull down all of the packages from the website I have just set up. It takes me about 2 to 3 minutes to get installed using this method of fetching and executing the script on a fresh install of PCBSD 9.1 amd64 with no other window managers installed. I have gotten it to work with KDE installed but I don’t recommend it if using the extras packages as I haven’t worked that out yet.

You may now fetch the script here by running this command and look over it's contents etc for even more info in case you have conflicting window managers installed.

Gnome 3.4.2 Lite

fetch http://www.pkgdemon.com/downloads/scripts/pcbsd-91amd64-gnome3-install.sh

Here is another which includes some extra packages which is even more a work in progress. If you also read it with a text editor it will give you more details.

Gnome 3 extras

fetch http://www.pkgdemon.com/downloads/scripts/pcbsd-91amd64-gnome3-extras.sh

Also I previously have built packages for the new package manager pkgng. When the testing ISO’s come out I am hoping a script will no longer be needed but we will have to see how that goes.

malco_2001
02-08-2013, 04:27 PM
I just realized that the /Latest folder didn't get uploaded to the hosting server after trying the script on another system. Due to this the script would fail when trying to fetch the files. Fixing now.

malco_2001
02-08-2013, 05:22 PM
Retested and now it is fixed.

malco_2001
03-04-2013, 02:45 AM
To install there is now a single installation script for each architecture which will replace the previous scripts. It is no longer necessary to take any additional steps such as removing software before running the script as the new script will take care of everything for you. The extras will also be installed by default now.

To run the scripts open a terminal and execute the following commands as root.

For 32 bit users

fetch http://www.pkgdemon.com/downloads/scripts/PCBSD9.1-x86-gnome3-install.sh
csh ./PCBSD9.1-x86-gnome3-install.sh

For 64 bit

fetch http://www.pkgdemon.com/downloads/scripts/PCBSD9.1-x64-gnome3-install.sh
csh ./PCBSD9.1-x64-gnome3-install.sh

Going forward for future versions of PCBSD these scripts will be replaced by pkgng repositories which can be added to pkg.conf. These repositories will contain other software such as mate and experimental releases of xorg. I have also created an entire website about this with more in depth information at the link below.

http://www.pkgdemon.com

7090
03-04-2013, 12:11 PM
Could you build Cinnamon port next?

I want install Cinnamon in PC-BSD rather than gnome 3.

malco_2001
03-04-2013, 11:36 PM
Good idea. This may be possible for me to take on and I would definitely like to offer this as well. I've been reading a forum that shows it was possible to build here.

http://freebsd.1045724.n5.nabble.com/Gnome2-Forks-td5644997.html

I will put this on my list and look more into this and let you know how it works out.

jmdennis
03-05-2013, 01:08 AM
To install there is now a single installation script for each architecture which will replace the previous scripts. It is no longer necessary to take any additional steps such as removing software before running the script as the new script will take care of everything for you. The extras will also be installed by default now.

To run the scripts open a terminal and execute the following commands as root.

For 32 bit users

fetch http://www.pkgdemon.com/downloads/scripts/PCBSD9.1-x86-gnome3-install.sh
csh ./PCBSD9.1-x86-gnome3-install.sh

For 64 bit

fetch http://www.pkgdemon.com/downloads/scripts/PCBSD9.1-x64-gnome3-install.sh
csh ./PCBSD9.1-x64-gnome3-install.sh

Going forward for future versions of PCBSD these scripts will be replaced by pkgng repositories which can be added to pkg.conf. These repositories will contain other software such as mate and experimental releases of xorg. I have also created an entire website about this with more in depth information at the link below.

http://www.pkgdemon.com

I want to thank you for this. I have been using Ubuntu lately and it works great for my connecting to work. When I would use KDE I would have to minimize what I was working in to do some thing else. With the toolbar to the left of the screen I can just click on some thing I want to do and go back and forth. I know there are ways to do this in KDE as well but liking Gnome the more I use it. I realize that Ubuntu uses Unity but have used a distribution with Gnome as well and like it much better then Gnome 2.

tscholak
03-05-2013, 05:13 AM
Hi, has the issue with gnome-keyring been fixed? Is it the same problem that has been reported here? http://www.marcuscom.com/pipermail/marcuscom-devel/2012-October/002087.html

tscholak
03-05-2013, 09:51 PM
For the most part I've gotten it to run fairly stable minus a few remaining issues with the gnome-keyring not working and gdm not working which are being worked on.

Does anyone know whether the problem with gnome-keyring has been solved?

I'm getting the following errors when I try to save a secret:
gnome-keyring-daemon[849]: prompting failed: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
kernel: pid 34990 (gnome-shell), uid 1000: exited on signal 11 (core dumped)
gnome-keyring-daemon[849]: GLib: g_propagate_error: assertion `src != NULL' failed
gnome-keyring-daemon[849]: gkd_secret_exchange_take_last_secret: assertion `GKD_IS_SECRET_EXCHANGE (self)' failed
gnome-keyring-daemon[849]: gkd_secret_prompt_dismiss: assertion `!self->pv->completed' failed
gnome-session[832]: WARNING: Application 'gnome-shell.desktop' killed by signal 11
gnome-session[832]: WARNING: App 'gnome-shell.desktop' respawning too quickly

The gnome-shell backtrace reads
#0 memcpy () at /var/tmp/portage/sys-freebsd/freebsd-lib-9.1/work/lib/libc/amd64/string/bcopy.S:65
#1 0x0000000804d69a3f in egg_hkdf_perform (hash_algo=<optimized out>, input=0x0, n_input=192, salt=<optimized out>, n_salt=32, info=0x0, n_info=0,
output=0x0, n_output=16) at egg-hkdf.c:97
#2 0x000000080523b255 in gcr_secret_exchange_default_derive_transport_key (exchange=<optimized out>, peer=<optimized out>, n_peer=<optimized out>)
at gcr-secret-exchange.c:711
#3 0x000000080523be23 in derive_key (input=0x81d30f680, self=0x81d310180) at gcr-secret-exchange.c:339
#4 gcr_secret_exchange_receive (self=0x81d310180, exchange=<optimized out>) at gcr-secret-exchange.c:446
#5 0x0000000805242f83 in prompter_method_perform_prompt (parameters=<optimized out>, invocation=0x814ebac60, self=<optimized out>)
at gcr-system-prompter.c:886
#6 prompter_method_call (connection=<optimized out>, sender=<optimized out>, object_path=<optimized out>, interface_name=<optimized out>,
method_name=<optimized out>, parameters=<optimized out>, invocation=0x814ebac60, user_data=0x8172dca30) at gcr-system-prompter.c:959
#7 0x000000080b70fa4e in call_in_idle_cb (user_data=<optimized out>) at gdbusconnection.c:4737
#8 0x000000080c910496 in g_main_dispatch (context=0x812cfcc00) at gmain.c:2715
#9 g_main_context_dispatch (context=0x812cfcc00) at gmain.c:3219
#10 0x000000080c9107d8 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x812cfcc00, self=<optimized out>) at gmain.c:3290
#11 g_main_context_iterate (context=0x812cfcc00, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3227
#12 0x000000080c910bc2 in g_main_loop_run (loop=0x812c3a8a0) at gmain.c:3484
#13 0x0000000800d0b704 in meta_run () at core/main.c:545
#14 0x00000000004020b4 in main (argc=1, argv=0x7fffffffd440) at main.c:416

This issue has already been reported on elsewhere (http://www.marcuscom.com/pipermail/marcuscom-devel/2012-October/002087.html), but it is not apparent to me whether it has been fixed.

malco_2001
03-06-2013, 07:01 PM
I do believe the gnome-keyring issue has been fixed. I remember after I reported I had this issue I do remember some fixes submitted shortly after which were tied to the keyring package and I haven't had the screensaver locking issue at least. I would have to check though. I could test though to make sure but I would need to know a few things. Are you trying from my newer packages or an older snapshot? Also what exactly are you you doing to bring up the keyring? Which certain app, etc are you trying to use to store info into the keyring?

malco_2001
03-06-2013, 07:02 PM
Also I have been able to unlock items in the gnome-control-center with the newest packages I've rolled.

malco_2001
03-06-2013, 11:29 PM
I've been keeping a list of the issues I know about with the packages here on this page.

http://www.pkgdemon.com/support/known-issues

tscholak
03-07-2013, 02:27 PM
To be honest, I am primarily not on pcbsd, but on 64 bit gentoo/freebsd. I've managed to compile and get running most of gentoo's gnome 3.6 ebuilds, with the exception of all systemd-related stuff, gdm, and gnome-keyring. The latter gives me a segfault in gnome-shell whenever I want to access the login keyring (or any other keyring for that matter). Since the backtrace I posted earlier is virtually identical to the one posted by a marcuscom developer (see above), I figured the problem's solution might be in the marcuscom ports - although it's gnome 3.4, not 3.6. Then I found this thread.

To check whether the problems are related, I downloaded the 64 bit vmware image of pcbsd and installed gnome3 via your PCBSD9.1-x64-gnome3-install.sh script. Unfortunately I am in fallback mode (no 3D accelaration) and do not have a running gnome-shell, but only the legacy gnome-panel. My pcbsd also lacks most of the programs that would actually make use of gnome-keyring and cause the trouble on my gentoo rig---epiphany, evolution, empathy, to name a few. However, I found that neither chromium (chrome --password-store=gnome) nor seahorse can save secrets in my login keyring. chrome says "failed: Error communicating with gnome-keyring-daemon" but continues running, whereas seahorse dies instantly and miserably in a segmentation fault when I try to add a secret manually. For some reason, it doesn't give me a core dump. Can you confirm these? seahorse does not crash on gentoo when I try the same, only the gnome-shell does.

PS: I downloaded pkgdemon-gnome3-experimental-03-02-13.tgz and looked for recent patches in gcr, libgnome-keyring, and gnome-keyring, but there are none. There are also no entries in CHANGES that would point to the issue.

malco_2001
03-09-2013, 02:57 AM
To be honest, I am primarily not on pcbsd, but on 64 bit gentoo/freebsd. I've managed to compile and get running most of gentoo's gnome 3.6 ebuilds, with the exception of all systemd-related stuff, gdm, and gnome-keyring. The latter gives me a segfault in gnome-shell whenever I want to access the login keyring (or any other keyring for that matter). Since the backtrace I posted earlier is virtually identical to the one posted by a marcuscom developer (see above), I figured the problem's solution might be in the marcuscom ports - although it's gnome 3.4, not 3.6. Then I found this thread.

To check whether the problems are related, I downloaded the 64 bit vmware image of pcbsd and installed gnome3 via your PCBSD9.1-x64-gnome3-install.sh script. Unfortunately I am in fallback mode (no 3D accelaration) and do not have a running gnome-shell, but only the legacy gnome-panel. My pcbsd also lacks most of the programs that would actually make use of gnome-keyring and cause the trouble on my gentoo rig---epiphany, evolution, empathy, to name a few. However, I found that neither chromium (chrome --password-store=gnome) nor seahorse can save secrets in my login keyring. chrome says "failed: Error communicating with gnome-keyring-daemon" but continues running, whereas seahorse dies instantly and miserably in a segmentation fault when I try to add a secret manually. For some reason, it doesn't give me a core dump. Can you confirm these? seahorse does not crash on gentoo when I try the same, only the gnome-shell does.

PS: I downloaded pkgdemon-gnome3-experimental-03-02-13.tgz and looked for recent patches in gcr, libgnome-keyring, and gnome-keyring, but there are none. There are also no entries in CHANGES that would point to the issue.

After looking back it was actually accountsservice port that was fixed which was actually related to GDM not the keyring. I assumed it was the keyring as I was also seeing the errors about that. I'm not sure at this point as I don't normally really use the keyring to store any password info. It would be good to know however whether or not the keyring is fully functional. After I finish up my i386 pkgng packageset for the next set of updated packages I roll I will add epiphany, evolution etc to the list and give it a try on pcbsd to see what happens and will post the results.

tscholak
03-09-2013, 02:55 PM
that would be much appreciated, thx

jmdennis
03-11-2013, 11:34 PM
I was wondering when the update to Gnome 3.6 would arrive. I know 3.8 is in beta stages and sure it will be released soon. I know most of the time that you have to wait on freebsd to do these updates but not sure since pcbsd will be doing rolling releases if this will speed up these updates or not.

malco_2001
03-12-2013, 07:25 AM
I was wondering when the update to Gnome 3.6 would arrive. I know 3.8 is in beta stages and sure it will be released soon. I know most of the time that you have to wait on freebsd to do these updates but not sure since pcbsd will be doing rolling releases if this will speed up these updates or not.

I can’t officially say but what I can say is this. A couple of years ago the FreeBSD gnome team began porting gnome 3.0 which I was using. It never made it to ports and now it is at 3.4 in the source tree. That is why I made my own packages. So I could use it for myself without having to wait any longer.

Ideally though if the upgrade functionality mentioned in this man page at the link below get’s added I think it will make a world of difference as far as ease of installation from third party repo’s.

https://github.com/pkgng/pkgng/blob/master/pkg/pkg-upgrade.8

jmdennis
03-13-2013, 01:03 AM
I canít officially say but what I can say is this. A couple of years ago the FreeBSD gnome team began porting gnome 3.0 which I was using. It never made it to ports and now it is at 3.4 in the source tree. That is why I made my own packages. So I could use it for myself without having to wait any longer.

Ideally though if the upgrade functionality mentioned in this man page at the link below getís added I think it will make a world of difference as far as ease of installation from third party repoís.

https://github.com/pkgng/pkgng/blob/master/pkg/pkg-upgrade.8

I hope this gets implemented. One thing keeping me from using PCBSD all the time is the slow updates. I was looking forward to the rolling release model but I guess if the software is not available even with a rolling release that does not help. I used KDE all the time but the more I use Gnome the easier it is for what I need it for.

malco_2001
03-13-2013, 03:25 AM
I hope this gets implemented. One thing keeping me from using PCBSD all the time is the slow updates. I was looking forward to the rolling release model but I guess if the software is not available even with a rolling release that does not help. I used KDE all the time but the more I use Gnome the easier it is for what I need it for.


I feel the same way. The rolling release would likely help you if you were a KDE user. KDE releases tend to release much more quickly to FreeBSD ports. Ports update all the time in between FreeBSD releases. Therefore the rolling release will improve that experience from my understanding. Gnome takes longer because it's only built by gnome.org specifically for Linux and simply ported from there. Although you would get other improvements such as PCBSD specific stuff quicker with the rolling release as well.

What I was pointing out earlier about the new pkg upgrade is that the ability to update 3rd party repositories along with a PCBSD repo is a major change which could enable you to get Gnome release before they are in ports. This in my opinion is what will open the floodgates to something that I've never really seen but have always wanted in a FreeBSD desktop. That would be a better package system and 3rd party repo's. That's how you get the latest software in Ubuntu when you add the latest gnome if it's not available yet in Ubuntu's repo you add another repo. Pkgng should have the same functionality soon when pkg upgrade can handle multiple repos.

With those changes it would be viable for someone could make a custom spin of PCBSD with Gnome 3 that could update the PCBSD side from their servers and the Gnome side from mine or someone else's.

Mainly what I am hinting at is that the fact that Gnome 3 is not in FreeBSD ports may not really matter as much in the future. Another good example towards that is the appcafe. I can install cheese for gnome 2 right in gnome 3 with no problems. You can't do that with packages and you can't do that with linux either really. Therefore if Gnome 3 is the only window manager you wish to run on a system a Gnome 3 spin becomes a more viable option for a desktop. An example is that the latest KDE isn't part of Ubuntu out of the box. That is why there is Kubuntu. That is where I see a lot of these changes being made by PCBSD are paying off to make something like that idea more and more possible.

With all of that said I can't see 3.6 and 3.8 taking nearly as long as 3.4 took. Installing from the new pkg manager is a breeze compared to the old system. As far as my efforts I'd rather just focus on one goal at a time though. I'm really just the middleman for now. I've just finished building the Gnome 3.4 port in it's entirety into packages along with cheese. More updates and release of that soon after testing.

malco_2001
03-13-2013, 03:28 AM
that would be much appreciated, thx

Gnome keyring does work. I am able to save login info within gnome-shell from webmail in epiphany and user and pass info from evolution. Cheese 3 also works. I plan to release the packages and tree used soon as time permits to finish things up.

malco_2001
03-22-2013, 10:35 PM
I was wondering when the update to Gnome 3.6 would arrive. I know 3.8 is in beta stages and sure it will be released soon. I know most of the time that you have to wait on freebsd to do these updates but not sure since pcbsd will be doing rolling releases if this will speed up these updates or not.

I have decided now that everything is pretty functional with 3.4 to focus my efforts on trying to make 3.6 build and run. This way by the time gnome 3.4 hits ports and makes it into PCBSD I will have the next version ready to go hopefully. So far I've compiled began work on gnome-shell 3.6, mutter 3.6. Should more have more info soon.

malco_2001
03-27-2013, 02:48 AM
Gnome keyring does work. I am able to save login info within gnome-shell from webmail in epiphany and user and pass info from evolution. Cheese 3 also works. I plan to release the packages and tree used soon as time permits to finish things up.

After looking back on my work system which uses the original repository which is still hosted for 9.1 seahorse also functions. For some reason with the most recent updates to gnome-keyring etc within the last couple of weeks now I get a segmentation fault when trying to open seahorse where it worked before. I need to look more further into that.

malco_2001
03-27-2013, 02:50 AM
Could you build Cinnamon port next?

I want install Cinnamon in PC-BSD rather than gnome 3.

I have successfully compiled this for amd64 for the new PCBSD rolling release. I am now working on i386 and should be releasing soon.

malco_2001
04-11-2013, 01:00 AM
Seahorse is fixed. The entire Gnome 3.4 release has been added as well as Cinnamon. Full instructions can be found at the website on the main page. A git repo has also been created for code and can also be used for submitting bug reports and tracking known issues.

http://www.pkgdemon.com

malco_2001
05-02-2013, 01:50 AM
The install scripts mentioned in the pages earlier in these threads have been removed. After user feedback I determined that a network connection failure would cause the scripts to fail if the packages were unable to download. I would have kept the old scripts around for reference but I didn't want someone else to have the same problem. A huge thanks goes to goraxmax for assisting by testing as I was fixing and for some other suggestions which resulted in a few improvements.

I have written new scripts which will download the packages first and prompt before continuing, etc. The new scripts are much better and much more presentable. In addition you can upgrade an existing installation of Gnome 3 if you have ran the scripts before from pkgdemon. In addition to that Cinnamon can also be selected as part of the script. Also user account pictures and language settings can now be saved.

The new scripts can be found on the install gnome 3 now page of Pkgdemon (http://www.pkgdemon.com).

Also FYI for those waiting. I've been told Gnome 3.4 will not be coming to ports. Gnome 3.6 instead is now work in progress by the FreeBSD Gnome Team.

malco_2001
07-03-2013, 03:55 AM
Just updated the repo for rolling release to support the latest PCBSD9.1-RELEASE-06-26-2013-x64 image. Confirmed to work. More to come soon.

dddirtman
08-04-2013, 11:10 PM
tried your script and worked great,thank you
love the gnome3.....on pcbsd.....yay

dddirtman
08-05-2013, 04:37 AM
just used your procedure,and worked great
now my bsd runs gnome3(cinamon)
thank you

dddirtman
08-06-2013, 01:21 AM
Just updated the repo for rolling release to support the latest PCBSD9.1-RELEASE-06-26-2013-x64 image. Confirmed to work. More to come soon.

yes this script works great

malco_2001
08-11-2013, 11:57 PM
This is a work in progress but there is now a PBI which will help automate the install process for Isoptope Infusion. It creates a launcher for the newly trimmed down script.

http://www.pkgdemon.com/support/install-pcbsd-testing

I hope to eventually design a gui when I can find time to learn qt-creator. It's in it's very early testing stages but i've confirmed it works. I would still recommend a backup or snapshot before using.

MarkBenavides
09-23-2013, 01:45 AM
Gnome3 (and better yet) Cinnamon both work just fine in PC-BSD. Love the hot keys to resize / position active window (not certain if this ability exists in gnome2 / XFCE / KDE ) but it certainly makes me more productive!

Now to tackle in FreeBSD.
A Sincere Thank you!
MarkB

malco_2001
10-11-2013, 09:08 PM
I've updated Gnome to 3.6.2 today, Cinnamon to 1.8.8.1 and added Mate 1.6 to pkgdemon. It will take me some time to update the website with a better upgrade procedure. If your currently using the Pkgdemon pkgng repo with the 9.2 Isotope Infusion release just run the following commands to grab the latest versions. You will need to make sure PCDM has been turned on and grab the new .desktop files needed to launch.

pkg delete -fy rest
pkg upgrade -fy
pkg upgrade -fy

You will need to grab the new .desktop files needed to launch and place them under /usr/local/share/xsessions/

https://raw.github.com/pkgdemon/freebsd-pkgdemon/master/examples/xsessions/02gnome.desktop

https://raw.github.com/pkgdemon/freebsd-pkgdemon/master/examples/xsessions/cinnamon.desktop

Then you will need to turn off GDM and set up PCBSD to use PCDM. GDM is broken in 3.6 release and is still being worked on.

Running the following commands as root will enable PCDM.

echo "# Enable the pcdm display manager" >> /etc/rc.conf
echo 'gdm_enable="NO"' >> /etc/rc.conf
echo 'pcdm_enable="YES"' >> /etc/rc.conf
echo "# Enable fast-booting" >> /etc/rc.conf
echo 'fastboot_enable="YES"' >> /etc/rc.conf
echo 'fastboot_earlyrc="/etc/rc.d/moused /usr/local/etc/rc.d/pefs /usr/local/etc/rc.d/dbus /usr/local/etc/rc.d/hald /usr/local/etc/rc.d/pcdm"' >> /etc/rc.conf

Otherwise just run the new 1.04 PBI to install Gnome 3.6.2, Cinnamon 1.8.8.1, or Mate 1.6.

malco_2001
11-28-2013, 06:22 AM
Now that PCBSD 10 will include Gnome3, Mate, and Cinnamon hopefully these 25,000+ views will turn into 25,000 + new users. I am happy to say I think this thread with instructions is no longer needed. I've also updated pkgdemon as well to reflect this. :)