From 592e8534e2b88457ffce6afedd639eb9ffdafc0b Mon Sep 17 00:00:00 2001
From: Adam Weinberger
Install GNOME &gnomever; from packages.
+To install GNOME &gnomever; from packages, use the command:
# pkg_add -r gnome2 @@ -62,7 +64,13 @@ FreeBSD FTP site, and proceed to install them on your system. +<<<<<<< faq2.sgml +Install GNOME &gnomever; from ports.
+ +To build and install GNOME &gnomever; from ports, you should first +=======
To build and install GNOME &gnomever; from ports, you should first +>>>>>>> 1.61 cvsup the latest ports tree. Then:
@@ -72,6 +80,9 @@ # make install clean +Add FAM and LAME support to your GNOME + &gnomever; desktop.
+For the best GNOME &gnomever; experience, you should install from ports, after adding the following macros to your /etc/make.conf file:
@@ -111,6 +122,8 @@ WITH_LAME= yesThese options may cause build errors on certain platforms, and thus they are not enabled by default.
+Make GNOME &gnomever; start when X starts.
+Once you have the GNOME &gnomever; desktop installed, GNOME &gnomever; can be started by adding the following line to ~/.xsession or ~/.xinitrc, as appropriate:
@@ -128,22 +141,48 @@ exec gnome-sessionThe majority of GNOME &gnomever; compilation problems can be solved by making sure all the necessary GNOME &gnomever; components are up-to-date.
+<<<<<<< faq2.sgml + +Updating solves most problems
+If you haven't yet followed FAQ #6, do so, as + it will most likely fix the problem you are reading this document + to solve.
+ +Please follow FAQ #6. If you have not done so, + and you ask for help, you will be told to follow FAQ #6.
+ +error: Library requirements (etc.) not met
+ +======= + +>>>>>>> 1.61In general, when a GNOME &gnomever; component is not up-to-date, you will see an error similar to the following:
checking for libgnomeui-2.0 libbonoboui-2.0 libbonobo-2.0 >= 2.2.1 +<<<<<<< faq2.sgml +gnome-vfs-2.0 libgnomeprint-2.2 >= 2.3.0 libgnomeprintui-2.2 libglade-2.0... +configure: error: Library requirements (libgnomeui-2.0 libbonoboui-2.0 +======= gnome-vfs-2.0 libgnomeprint-2.2 >= 2.3.0 libgnomeprintui-2.2 libglade-2.0... configure: error: Library requirements (libgnomeui-2.0 libbonoboui-2.0 +>>>>>>> 1.61 libbonobo-2.0 >= 2.2.1 gnome-vfs-2.0 libgnomeprint-2.2 >= 2.3.0 libgnomeprintui-2.2 -libglade-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable +libglade-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
Simply keeping your ports tree up-to-date will prevent these errors.
+<<<<<<< faq2.sgml +error: *** pkg-config too old
+ +======= + +>>>>>>> 1.61If the pkg-config program is out-of-date, you may see a configure error similar to the following:
@@ -156,8 +195,15 @@ configure: error: *** pkg-config too old; version 0.14 or better required. The pkg-config application is found in the devel/pkgconfig port. By updating this port to the latest version, this error will go away. +<<<<<<< faq2.sgml + +error: undefined reference to 'strerror_r'
+ +You may see compiler errors relating to pthreads +=======
You may see compiler errors relating to pthreads +>>>>>>> 1.61 (&posix; threads), such as:
@@ -186,6 +232,8 @@ options _KPOSIX_PRIORITY_SCHEDULING you remove them. +Prevent two versions of the same library.
+A common source of build failures is the existence of multiple versions of the same library. This can happen if you have two different versions of a port installed, or can even happen through normal portupgrade use. @@ -301,20 +349,11 @@ ggv
What is the best way to upgrade from GNOME 2.2 to GNOME &gnomever;?
+What is the best way to upgrade from GNOME 2.4 to GNOME &gnomever;?
-We recommend that you use /usr/ports/sysutils/portupgrade - for this purpose. The following will do the job well:
- --# pkgdb -F -(answer yes to all prompts; note that you might wish -to run the above command after each step below) -# portupgrade ORBit2 libbonobo -# portupgrade -rf -m BATCH=yes atk -# portupgrade -R -m BATCH=yes gnome2 -- +
The 2.4 to &gnomever; process is trickier than the 2.2 to 2.4 process. You are + strongly advised to read the upgrade FAQ for detailed + instructions.
Update your ports with portupgrade.
+Once you have updated your ports tree (presumably with cvsup), the following two simple commands will update what needs to be updated, and will prevent inconsistencies:
@@ -335,6 +376,8 @@ to run the above command after each step below) # portupgrade -a +Start from scratch.
+Despite consistent utilization of portupgrade, if it seems like everything is refusing to build with everything else, you might save yourself a headache or three by removing @@ -414,8 +457,8 @@ to run the above command after each step below) to do the following:
-killall metacity; sawfish & -gnome-session-save --gui +# killall metacity; sawfish & +# gnome-session-save --gui
The gnome-session-save is important. Without it, the window manager will revert back to the one previously configured diff --git a/en/gnome/docs/faq26.sgml b/en/gnome/docs/faq26.sgml new file mode 100644 index 0000000000..039b81043d --- /dev/null +++ b/en/gnome/docs/faq26.sgml @@ -0,0 +1,196 @@ + + + + %gnomeincludes; + %includes; +]> + + &header; + +
What is new in GNOME &gnomever;?
+ +Although the canonical summary of new features can be found at + http://www.gnome.org/start/2.6/notes/rnwhatsnew.html, + some of the most exciting new features of GNOME &gnomever; are:
+ +How do I upgrade to GNOME &gnomever;?
+ +NOTE: Do not run portupgrade(1) to upgrade to GNOME &gnomever;!
+ +The simple answer is this:
+ +More detailed instructions are as follows:
+ +To build GNOME &gnomever;, you need to obtain the &gnomever; ports tree skeleton. This is + most easily accomplished with CVSup. Simply obtain the latest ports tree, and you are + ready to go. After you have obtained the latest ports tree, do not run a typical + portupgrade(1).
+It is not possible to upgrade from GNOME 2.4 to GNOME &gnomever; by simply running + portupgrade(1). There are new dependencies, and ports will build out-of-order, + eventually causing the build to fail. Additionally, GTK+-2 cannot install when there are + input methods installed which were linked against older GTK+-2 versions.
+ +To work around these problems, and to provide an update mechanism as simple as + portupgrade(1), the FreeBSD GNOME team has produced a comprehensive upgrade script. + The script can be downloaded from:
+ +http://www.FreeBSD.org/gnome/gnome_upgrade.sh ++ +
Simply download that script, and save it to disk.
+Once you have the script downloaded, run, as root:
+ ++# sh ./gnome_upgrade.sh ++
Hit ENTER to begin, answer any questions that pop up, and go watch an + entire Monty Python anthology. Right after hitting ENTER at the beginning, + you will be given the path to a logfile. By running:
+ ++$ tail -f /path/to/logfile ++
you can watch the entire upgrade process as it unfolds. It's hypnotic!
+Oops! I ran portupgrade(1)! What do I do?
+ +Do not worry; hope is not lost. Running portupgrade(1) will cause the build + to fail, but it will not cause any lasting damage to your ports tree, unless you have + done something exceptionally creative. Simply download the gnome_upgrade.sh + script and run it, and pretend that you ran it in the first place. Nobody needs to know + that you didn't read the directions first!
+The upgrade failed; what do I do?
+ +Unfortunately, this is not only possible, it's highly probable. There are many possible + valid GNOME configurations, and even more invalid starting points. If the script fails, + follow the instructions in the error message to let the FreeBSD GNOME team know about the + failure.
+ +The majority of build failures will be dependency-related issues. One simple way to resolve + the problem is to remove the offending port, re-run gnome_upgrade.sh, and then + reinstall the port when the upgrade process is complete.
+List of GNOME &gnomever; problems and their solutions
+ +Although GNOME &gnomever; is certainly the best release to date (of course), there are + a couple regressions that slipped in, both in the GNOME code and in its implementation + within FreeBSD. Some of the more visible issues are:
+ +I have found a bug; whom should I alert?
+ +Please read the FreeBSD GNOME Project's + documentation on reporting bugs. +
+I want the fame and glory of the FreeBSD GNOME team! What can I + do to participate?
+ +Please read our list of ways + to get involved! +
+