[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Running KDE apps on Apple OS X
From:       Aleix Pol <aleixpol () kde ! org>
Date:       2014-03-11 13:07:45
Message-ID: CACcA1RrontWgbq9_atTrvm6wsTg688vh1LsYckbSwXZHbY_Jsw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Tue, Mar 11, 2014 at 4:15 AM, Ian Wadham <iandw.au@gmail.com> wrote:

> Hi guys,
>
> I need some ongoing help, advice and mentoring from time to
> time as I investigate why some KDE apps run OK on Apple
> OS X and others do not.  The problem is simply stated.
>
> Linux and Apple OS X are similar operating systems underneath,
> but they run different desktops.  When you boot up, each system
> gets to a point where it starts up the desktop.  KDE uses the
> startkde script --- Apple OS X uses something else …
>
> Startkde and its successors set up several processes, services
> and resources that are essential to certain KDE applications at
> run time and for which there is no equivalent in Apple OS X.
> Unless someone/something starts the necessary components,
> some KDE applications will fail.
>
> The problem is to find out which processes, services and
> resources are essential, how to start them and whether they
> operate correctly in an Apple OS X environment.  Obviously
> kwin is not essential in this sense, but what is?
>
> Conversely, given an app that fails to run or has missing pieces,
> how does one find out what is required for it to run?
>
> Most KDE apps build and run well in Apple OS X.  The difficult
> ones are the more complex ones --- and the ones that are in
> demand from Apple users --- such as Digikam, Kdenlive,
> KDevelop and Amarok.
>
> So far Macports, which packages KDE apps for Apple OS X,
> is aware of the need for DBus, kdeinit4 and kbuildsysoca4.
> It takes steps to inform users on how to set these up after
> installation or --- if possible --- it automates some of the work
> via scripts.
>
> The case of kbuildsysoca4 is a good example.  In Sept 2012,
> I was trying to run KCompare, but it kept failing without
> displaying anything.  So I tried running it from the command
> line.  There was an error message about not being able to
> find a view and a suggestion to run kbuildsycoca4, so I did.
>
> KCompare sprang to life.  On a hunch, I tried some other
> apps and they worked too.  Since that time kbuildsycoca4
> has been run automatically by a Macports script and the
> number of problems with KDE apps has dropped dramatically.
>
> The first thing I would like to try and find out is how plugins
> work, behind the scenes.  The app I am currently working on
> is Palapeli, a KDE jigsaw puzzle game.  When you create
> a puzzle, a "slicers" app runs as a plugin.  That never used
> to work on Apple OS X before we started using kbuildsycoca4.
>
> Now it works in the Macports installed version, but not in my
> development environment, which has several environment
> variables for $KDEHOME, etc.  Is there perhaps a variable
> or path that I need to set to help find plugins?
>
> It is no use reporting this on Bugzilla, because there is
> currently no maintainer for Palapeli.  I am all there is.
> So if I cannot fix it myself, nobody will.
>
> But I need help, guidance and mentoring as I dive into
> KDE internals.  Any offers will be gratefully accepted.
>
> All the best, Ian W.
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> unsubscribe <<
>

Hi Ian,
I know Alexander set up his KDevelop on Mac OS X with these scripts:
https://github.com/Anonymooseable/homebrew-kde

Maybe you can use it for inspiration or contact him.

Good luck!
Aleix

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Mar 11, 2014 \
at 4:15 AM, Ian Wadham <span dir="ltr">&lt;<a href="mailto:iandw.au@gmail.com" \
target="_blank">iandw.au@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi \
guys,<br> <br>
I need some ongoing help, advice and mentoring from time to<br>
time as I investigate why some KDE apps run OK on Apple<br>
OS X and others do not.   The problem is simply stated.<br>
<br>
Linux and Apple OS X are similar operating systems underneath,<br>
but they run different desktops.   When you boot up, each system<br>
gets to a point where it starts up the desktop.   KDE uses the<br>
startkde script --- Apple OS X uses something else …<br>
<br>
Startkde and its successors set up several processes, services<br>
and resources that are essential to certain KDE applications at<br>
run time and for which there is no equivalent in Apple OS X.<br>
Unless someone/something starts the necessary components,<br>
some KDE applications will fail.<br>
<br>
The problem is to find out which processes, services and<br>
resources are essential, how to start them and whether they<br>
operate correctly in an Apple OS X environment.   Obviously<br>
kwin is not essential in this sense, but what is?<br>
<br>
Conversely, given an app that fails to run or has missing pieces,<br>
how does one find out what is required for it to run?<br>
<br>
Most KDE apps build and run well in Apple OS X.   The difficult<br>
ones are the more complex ones --- and the ones that are in<br>
demand from Apple users --- such as Digikam, Kdenlive,<br>
KDevelop and Amarok.<br>
<br>
So far Macports, which packages KDE apps for Apple OS X,<br>
is aware of the need for DBus, kdeinit4 and kbuildsysoca4.<br>
It takes steps to inform users on how to set these up after<br>
installation or --- if possible --- it automates some of the work<br>
via scripts.<br>
<br>
The case of kbuildsysoca4 is a good example.   In Sept 2012,<br>
I was trying to run KCompare, but it kept failing without<br>
displaying anything.   So I tried running it from the command<br>
line.   There was an error message about not being able to<br>
find a view and a suggestion to run kbuildsycoca4, so I did.<br>
<br>
KCompare sprang to life.   On a hunch, I tried some other<br>
apps and they worked too.   Since that time kbuildsycoca4<br>
has been run automatically by a Macports script and the<br>
number of problems with KDE apps has dropped dramatically.<br>
<br>
The first thing I would like to try and find out is how plugins<br>
work, behind the scenes.   The app I am currently working on<br>
is Palapeli, a KDE jigsaw puzzle game.   When you create<br>
a puzzle, a &quot;slicers&quot; app runs as a plugin.   That never used<br>
to work on Apple OS X before we started using kbuildsycoca4.<br>
<br>
Now it works in the Macports installed version, but not in my<br>
development environment, which has several environment<br>
variables for $KDEHOME, etc.   Is there perhaps a variable<br>
or path that I need to set to help find plugins?<br>
<br>
It is no use reporting this on Bugzilla, because there is<br>
currently no maintainer for Palapeli.   I am all there is.<br>
So if I cannot fix it myself, nobody will.<br>
<br>
But I need help, guidance and mentoring as I dive into<br>
KDE internals.   Any offers will be gratefully accepted.<br>
<br>
All the best, Ian W.<br>
<br>
&gt;&gt; Visit <a href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub" \
target="_blank">http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> to \
unsubscribe &lt;&lt;<br> </blockquote></div><br></div><div class="gmail_extra">Hi \
Ian,</div><div class="gmail_extra">I know Alexander set up his KDevelop on Mac OS X \
with these scripts:</div><div class="gmail_extra"><a \
href="https://github.com/Anonymooseable/homebrew-kde">https://github.com/Anonymooseable/homebrew-kde</a><br>


</div><div class="gmail_extra"><br></div><div class="gmail_extra">Maybe you can use \
it for inspiration or contact him.</div><div class="gmail_extra"><br></div><div \
class="gmail_extra">Good luck!</div><div class="gmail_extra">

Aleix</div></div>



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic