Dokumentationen
OpenBSD
Software / Equinox Desktop Environment (EDE) / Installation
EDE needs some software installed: wget, gmake, libpng and libjpeg. Install the graphic libraries.
Install wget and gmake:
# cd /usr/ports/net/wget # make install # cd /usr/ports/devel/gmake # make install
Get EDE-Netinstall-Skript:
# wget http://ede.sf.net/netinstall # sh netinstall [fails]
Automatic install script fails on OpenBSD til now. So continue manually. Script downloaded actual sources:
# ls ... efltk-2.0.6.tar.bz2 ede-1.1.tar.bz ...
The following description uses the downloaded sources.
===== optional =====
Optionally you can use the latest sources from SVN:
# cd /usr/ports/devel/subversion/ # make install ... # cd ~ # svn co https://ede.svn.sourceforge.net/svnroot/ede/trunk/efltk ... Checked out revision 1882. # svn co https://ede.svn.sourceforge.net/svnroot/ede/trunk/ede ... Checked out revision 1882.
====================
Some preparations: Defining some environment variables. Otherwise PNG- and JPEG-libraries can not be found, what lead to EDE without icons and graphics! 8-((
# export flags='-I/usr/local/include -I/usr/local/include/libpng \ -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -L/usr/local/lib \ -L/usr/X11R6/lib' # export CC="cc $flags" # export CXX="g++ $flags" (# export AUTOCONF_VERSION="2.59") (for svn compile)
Unpack and start compiling EFLTK (basic libraries for EDE):
# bunzip2 efltk-2.0.6.tar.bz2 # tar xvf efltk-2.0.6.tar # cd efltk (# autoconf) (for svn compile) # ./configure
The compile would fail (because of CubeView.cpp compile problems).
Change CubeView.cpp source code like this:
# vi test/CubeView.cpp ... //# include <math.h> ...
The compile now will not fail anymore, but we ran in problems at runtime
getting a segmentation fault in:
Fl_Renderer::stretch(unsigned char*, int, int, Fl_Rect*, unsigned char*, int, int, Fl_Rect*)
To avoid this some assembler optimizations must be deactivated:
# vi src/core/fl_stretch.cpp [find the following lines] ... #if ((defined(_WIN32) && !defined(_M_ALPHA) && !defined(_WIN32_WCE) && \ !defined(__WATCOMC__) && !defined(__LCC__) && !defined(__FREEBCC__)) || \ (defined(i386) && defined(__GNUC__))) && !DISABLE_ASM # define USE_ASM_STRETCH #endif ... [and below that, just add] #undef USE_ASM_STRETCH ...
Ok, continue with compile:
# ./emake # ./emake install
Fine. EFLTK compiled and is installed.
Continue with EDE:
# cd .. # bunzip2 ede-1.1.tar.bz # tar xvf ede-1.1.tar # cd ede (# autoconf) (for svn compile) # ./configure
Compile would fail, 'cause of "invalid conversion" errors:
...
fl_time.cpp:103: error: invalid conversion from `long int*' to `const time_t*'
...
Change sourcecode of fl_time.cpp in lines
103, 123, 137, 146, 155, 168, 178, 199 like this
(adding explicit (const time_t*) conversion):
# vi ./etimedate/fl_time.cpp ... display_time_tm = localtime((const time_t*)&display_tv.tv_sec); ...
Compile would still fail, 'cause of "undefined reference" error:
...
undefined reference to `BatteryMonitor::battery_check()
...
Change sourcecode:
# vi eworkpanel/Makefile
...
# Removed batterymonitor.cpp from following list
CPPFILES = aboutdialog.cpp logoutdialog.cpp panelbutton.cpp keyboardchooser.cpp
taskbutton.cpp workpanel.cpp item.cpp cpumonitor.cpp dock.cpp mainmenu.cpp mainm
enu_scan.cpp
...
# vi eworkpanel/workpanel.cpp
...
//#include "batterymonitor.h"
...
//BatteryMonitor *batmon;
...
// Battery monitor
//if (doBatteryMonitor) {
// batmon = new BatteryMonitor(dock);
// batmon->hide();
//}
...
//dock->add_to_tray(batmon);
...
===== optional ? =====
I installed "ginstall". Possibly this is not necessary?
(Please email feedback, if it worked without...)
# cd /usr/ports/misc/fileutils/ # make install ===> Checking files for fileutils-4.1p2 >> fileutils-4.1.tar.gz doesn't seem to exist on this system. >> Fetch ftp://ftp.gnu.org/gnu/fileutils/fileutils-4.1.tar.gz. ... # cd /root/ede
======================
Now finally continue with compile and installation:
# gmake # gmake install
After successful installation of EFLTK and EDE, define EDE as your desktop:
Change .xinitrc in your home directory:
# vi ~/.xinitrc #!/bin/sh #exec xterm geom 20x20+400+400 & #exec /usr/local/bin/olvwm #exec /usr/local/bin/fluxbox #exec /usr/local/bin/qvwm exec /usr/local/bin/startede #exec /usr/local/bin/fvwm95
Start the X Window System with "startx".
Enjoy!
Still one problem remaining:
When you want to logout clicking "Logout" in menu, the taskbar freezes...:
Program received signal SIGSEGV, Segmentation fault.
0x0f577e7c in XFreePixmap () from /usr/X11R6/lib/libX11.so.9.0
