New Features for the Impatient
FreeBSD/PC-BSD 9.1 are due out by the end of the summer and we are getting close to issuing the first BETA for 9.1. In anticipation of code freeze, Kris is busy getting in the last of the features. Over the next few weeks, we’ll highlight some of the cooler features coming in 9.1.
For those of you who would like to try out the features before BETA1 is released, instructions for building an updated control panel are provided below for both PC-BSD and FreeBSD systems. These have been tested on 9.0.
For PC-BSD, in System Manager -> System Packages make sure that Development -> Development-Qt and Development-VCS are installed. You’ll also need to install system source in System Manager -> Tasks.
For FreeBSD, make sure that you have /usr/src/sys and the following packages are installed:
cmake
cmake-gui
gmake
qt4-assistant
qt4-assistant-adp
qt4-designer
qt4-doc
qt4-libQtAssistantClient
qt4-linguist
qt4-moc
qt4-qmake
qt4-qtsolutions-singleapplication
qt4-rcc
qt4-uic
subversion
Once the dependent software is installed, become the superuser, cd to a directory suitable for downloading the PC-BSD src, and run these commands:
svn co svn://svn.pcbsd.org/pcbsd/current/src-qt4
cd src-qt4/libpcbsd/
qmake-qt4 *.pro
make
make install
cd ..
qmake-qt4 *.pro
make
make install
Some icons also rely on updated scripts which can be built using these commands from the original download directory:
svn co svn://svn.pcbsd.org/pcbsd/current/src-sh
cd src-sh
make
make install
On a PC-BSD system, Control Panel will be updated and available from the GUI. On a FreeBSD system, you can start Control Panel by typing pc-controlpanel from an X session. You can also start individual control panel icons using the commands listed in /usr/local/bin/pc-*.
Trackback from your site.









Comments (8)
I updated and now my network config says that my ethernet is down even though it is up. Also the sound config does not work, needs root permissions to function. Too bad i can’t uninstall the change. Waiting for BETA, still on 605 snapshot cause I am using intel video.
For soundconfig, download http://trac.pcbsd.org/browser/pcbsd/current/overlays/desktop-overlay/usr/local/etc/sudoers?rev=17651 (download link is at bottom of page) and copy it to /usr/local/etc/sudoers. Also download http://trac.pcbsd.org/browser/pcbsd/current/overlays/desktop-overlay/usr/local/share/sounds/testsound.ogg?rev=17652 and copy it to /usr/local/share/sounds.
For netmanager, let us know if this fixes it:
svn co svn://svn.pcbsd.org/pcbsd/current/src-sh
cd src-sh
make
make install
These instructions worked awesomely on my AMD Sempron 140 processor with 4Gig ram and my AMD FX 8120 8 Core with 8Gig ram.
Both machine’s NetManagers show their status as UP. Thanks everyone.
I did the sound config fix, but……………..
[code]cd pc-sounddetect/ && /usr/local/bin/qmake-qt4 /usr/home/chris/build/src-qt4/pc-sounddetect/pc-sounddetect.pro -o Makefile
cd pc-sounddetect/ && make -f Makefile
gcc -c -pipe -O2 -Wall -W -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4 -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include/curl -I. -I/usr/local/include/qt4 -I/usr/local/include -o parse_sound.o parse_sound.c
parse_sound.c: In function 'GetKo':
parse_sound.c:35: warning: pointer targets in return differ in signedness
parse_sound.c:25: warning: 'key' may be used uninitialized in this function
gcc -c -pipe -O2 -Wall -W -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I/usr/local/include/qt4/QtCore -I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4 -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include/curl -I. -I/usr/local/include/qt4 -I/usr/local/include -o sound_detect.o sound_detect.c
sound_detect.c:22:41: error: /usr/src/sys/dev/pci/pcireg.h: No such file or directory
sound_detect.c: In function 'look_for_soundcard':
sound_detect.c:47: warning: unused variable 'kldload_status'
sound_detect.c:41: warning: unused variable 'none_count'
*** Error code 1
Stop in /usr/home/chris/build/src-qt4/pc-sounddetect.
*** Error code 1
Stop in /usr/home/chris/build/src-qt4.[/code]
Sorry about that–forgot to mention that /usr/ports is a pre-requisite. Will add that to the body of the blog post.
I did portsnap fetch and portsanp extract, but with the same results.
Correct, that will grap ports, but not src. And now I see my typo…. Fixing once again.
success!