FW: Cygwin KDE patch
Ralf Habacker
Ralf.Habacker at freenet.de
Fri Apr 25 14:38:39 CEST 2003
> -----Original Message-----
> From: Ross Smith II [mailto:ross at smithii.com]
> Sent: Thursday, April 24, 2003 7:45 PM
> To: habacker at users.sourceforge.net
> Subject: Cygwin KDE patch
>
>
> Ralf,
>
> The startkde_small.bat file had some bugs.
>
> I've attached a patch and the fixed file.
>
> I couldn't get startkde.bat to run.
>
> Nor could I get -clipboard, -multiwindow, or -rootless to work.
> Didn't spend too much time on it though.
The distributed xwin server does not support this because it is an older special
build (with shared memory support).
> I'd like to port kmail. How can I help your effort?
> Do you have a CVS repository for your 3.1.1 port?
Currently I'm preparing a devel package for kde3 and diff files for the original
kde 3.1.1 sources.
Additional a special ld is required, which will be released in the near future.
After this has be done you can start with this port. In the mean time you can
get familiar with the cygwin specific problems of kmail by taking a look in the
kde-cygwin mailing list and the kde/kdenetwork cvs repository.
Regards
Ralf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: startkde_small.bat.diff
Type: application/octet-stream
Size: 2637 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-cygwin/attachments/20030425/e8ef2e09/startkde_small.bat.obj
-------------- next part --------------
:: @echo off
::
:: KDE/Cygwin Desktop starter script (minimal version)
:: (c) 2003 Ralf Habacker
::
:: $Id:$
::
IF "%CYGWIN_ROOT%" == "" SET CYGWIN_ROOT=c:\cygwin
:: check kdedir and set to default installation path
if "%KDEDIR%" == "" set KDEDIR=%CYGWIN_ROOT%\opt\kde3
IF EXIST %CYGWIN_ROOT%\usr\local\lib\qt3mt\bin SET PATH=%CYGWIN_ROOT%\usr\local\lib\qt3mt\bin;%PATH%
IF EXIST %CYGWIN_ROOT%\opt\gtk\bin SET PATH=%CYGWIN_ROOT%\opt\gtk\bin;%PATH%
SET PATH=.;%KDEDIR%\bin;%KDEDIR%\lib;%KDEDIR%\lib\kde3;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH%
if "%HOME%" == "" SET HOME=%CYGWIN_ROOT%\home\%USERNAME%
if exist %HOME% goto HOME_EXISTS
mkdir %HOME%
copy %KDEDIR%\home\*.* %HOME%
:HOME_EXISTS
SET KDEHOME=/home/%USERNAME%/.kde31
:: set misc vars
SET DISPLAY=127.0.0.1:0.0
SET SHELL=/bin/bash
:: clean previous X11 session
if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEAN_END
attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0
del %CYGWIN_ROOT%\tmp\.X11-unix\X0
:CLEAN_END
if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix
:: clean up dcopserver files
if exist %HOME%\.DCOPserver_%COMPUTERNAME%_127.0.0.1_0 del %HOME%\.DCOPserver_%COMPUTERNAME%_127.0.0.1_0
SET HOME=/home/%USERNAME%
:: start ipc-daemon
run bin\ipc-daemon
:: start x server
start XWin -noreset -ac -nowinkill %1
:: Set a background color.
xsetroot -cursor_name left_ptr -solid #396dad
:: Startup kde base services
bin\kdeinit +kicker +kwin
:: kill all kde processes
bin\kdeinit_shutdown
More information about the kde-cygwin
mailing list