Please update your bookmarks. The new CVS-Digest web-site is at:
KDE 4 PKGBUILDs
Download and untar the archives in separate folders. To build the packages, cd to the folder and run makepkg. The build will update from the svn server and build the module. Be patient, it will take a while.
Build the packages in the order that they are listed, as they depend on each other. The codebase is fluid, so if they don't build, try again. If you have problems building, delete the src/[pkgname]-build folder and start again. To rebuild run makepkg -f. Make sure you install the package before moving on to the next one. Build the packages as your kde4 user.
The best way to test KDE4 is to follow the directions here. Clean out your .kde4 folder if you misconfigure something or run into trouble. Report any bugs you find.
Insert these lines into your .bashrc file in your kde 4 user's home folder:
UPDATE:With the latest updates in Arch, Qt 4 is now qt, Qt 3 is qt3. Change the line that defines QTMAKESPEC to point to the correct folder.
# KDE export KDEDIR=/opt/kde4 export KDEHOME=$HOME/.kde4 export KDETMP=/tmp/$USER-kde4 mkdir -p $KDETMP export KDEVARTMP=/var/tmp/$USER-kde4 export KDEDIRS=$KDEDIR # Qt export QTDIR=/usr export QT_PLUGIN_PATH=$KDEDIR/lib/kde4/plugins:$QT_PLUGIN_PATH export PKG_CONFIG_PATH=$QTDIR/lib/pkgconfig:$PKG_CONFIG_PATH export QMAKESPEC=/usr/share/qt/mkspecs/linux-g++ # DBus export DBUSDIR=$KDEDIR export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH export PKG_CONFIG_PATH=$DBUSDIR/lib/pkgconfig:$PKG_CONFIG_PATH # Other export PATH=$QTDIR/bin:$KDEDIR/bin:/usr/local/bin:$PATH export YACC='byacc -d' # XDG unset XDG_DATA_DIRS # unset XDG_DATA_DIRS, to avoid seeing kde3 files from /usr unset XDG_CONFIG_DIRS # build and src folders # you might want to change these! export KDE_BUILD=$HOME/kde/build export KDE_SRC=$HOME/kde/src
Here are the PKGBUILDs and supporting files. The PKGBUILDS were based on the work done by Valheru:kdesupport4-svn.tar.gz
EeePC Package Builds
I include PKGBUILDS and packages for the Eeepc.
This PKGBUILD creates the necessary modules for wifi, ethernet connection, acpi and video camera hardware that comes with the Eeepc. There is a kernel available in community, but it is based on the testing kernel. This is based on the current kernel. Download the PKGBUILD and run it even if you get the tar package, because if the kernel is updated, you will need to build and install the PKGBUILD to update the modules. Remember to run depmod as root after installation. I will eventually fix the PKGBUILD so it does it automatically.
UPDATE: The PKGBUILD includes an installation script which runs depmod. It also is changed so pacman doesn't change the version number. You can select the kernel module package for the kernel you are running.
UPDATE: Feb17, 2008- Updated the eeemodules.tar.gz which contains the PKGBUILD to retrieve madwifi source from the openwrt project. It fixes the 2.6.24 module unloading issues. The 2.6.24 package is updated in the same way.
UPDATE: Feb22, 2008- Fixed the 2.6.22 module package. This is used with the install image.eeemodules.tar.gz, which is the PKGBUILD and supporting files
This PKGBUILD builds the graphic indicators that the stock EeePC show when changing volume or brightness. It includes an executable /usr/local/bin/asusosd and the png graphics. Add this to your .kde/Autostart or similar to run it automatically. The PKGBUILD also includes scripts in /etc/acpi that handle the hotkey, power button, wifi on-off, and lid button. Everything works as expected. The lid will hibernate to memory, power button will do a proper shutdown sequence. Wifi will turn the radio on and off, but won't reconnect. If someone has ideas on how to automatically connect, let me know. The only thing I haven't implemented are the functions for an external monitor. Reboot after installation to get this stuff working.
NOTE: I had to insert rmmod snd_hda_intel in /etc/rc.local.shutdown for the power to shut off reliably.
UPDATE: I fixed the issue with the wireless device not being created after sleep/lid shutdown. It now comes back with a valid ath0 device. What isn't fixed is the shutting down of the acpid daemon. Also, an Asusosd.desktop file is inserted into /etc/xdg/autostart to automatically start the daemon.
UPDATE 2: The FN F1 hotkey would put the machine to sleep in an unstable state. Fixed by using the suspend2ram.sh script. Also fixed the overlapping of acpi events. Now if you press the power button and close the lid the shutdown sequence won't be put to sleep.
UPDATE 3: Fixed lockfile location issues.
UPDATE: Feb24, 2008: Fixed the wireless on not working. Added support for suspend to disk and uswsusp for suspend to ram. Moved the files and binaries from /usr/local to /usr. Thanks to jochen for the uswsusp2ram.sh script. Thanks to kant1 for the patch that fixes the paths. Added a configuration file that permits users to specify what action to take on the lid closing event, Fn-F1 sleep, and power button. The configuration file, /etc/acpi/control looks like this:
# This file controls what script is called for lid, power button and sleep button events. # Uncomment the command you want to run. #lid=suspend2disk.sh lid=suspend2ram.sh #lid=uswsusp2ram.sh #powerbtn=suspend2disk.sh #powerbtn=suspend2ram.sh #powerbtn=uswsusp2ram.sh powerbtn=powerbtn.sh #sleep=suspend2disk.sh sleep=suspend2ram.sh #sleep=uswsusp2ram.sh
By uncommenting one of the options for each event, you can customize how the events are handled. If you want to add a script of your own, just add a line similar to above. Make sure that there are no spaces at the beginning of the lines, and that only one option is uncommented.acpid_eee-2.tar.gz PKGBUILD and supporting files