<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">   One thing I forgot in the guide…….needs to be at the top:<div class=""><br class=""></div><div class="">0)   Need fairly close to the latest XCode installed, with the command line tools installed. </div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">   I would like to recommend the “*-simple.sh" scripts have the following in them in replacement of the SCRIPTDIR line to allow for multiple platforms.</div><div class=""><br class=""></div><div class="">   The following allows handling of configuration differences a little simpler.  This was tested on Macintosh OSX.</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class="">case "$(uname -s)" in</div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255); min-height: 21px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">   Darwin)</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">     echo 'Mac OS X'</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        readlinkf(){ perl -MCwd -e 'print Cwd::abs_path shift' "$1";}</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        SCRIPTDIR=$(dirname $(readlinkf "$0"))</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">     ;;</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255); min-height: 21px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">   Linux)</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">     echo 'Linux'</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        SCRIPTDIR=$(dirname $(readlink -f "$0"))</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">     ;;</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255); min-height: 21px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">   CYGWIN*|MINGW32*|MSYS*)</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">     echo 'MS Windows'</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">     ;;</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255); min-height: 21px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">   # Add here more strings to compare</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">   # </span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255); min-height: 21px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">   *)</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">     echo 'other OS'</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">     ;;</span></div><div style="margin: 0px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">esac</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""> <br class="">
<br class=""><div><blockquote type="cite" class=""><div class="">On Oct 18, 2018, at 5:38 AM, Zoltan Padrah <<a href="mailto:zoltan.padrah@gmail.com" class="">zoltan.padrah@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Thank you for the guide! I will compile a readme from it and add it to the source tree.</div><div class=""><br class=""></div><div class="">I have pushed some more commits to git _github_ repository (will push to KDE, too), to the branch master; can you verify that with the latest changes ktechlab builds and runs on OSX? I have merged the fix for build on OSX, but also added a module which has some OSX-specific code-paths, and I could not test that one.</div><div class=""><br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="">WADE <<a href="mailto:wade.maxfield@4gwireline.com" class="">m</a>> ezt írta (időpont: 2018. okt. 15., H, 18:04):<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class="">  OSX Success.</div><div class=""><br class=""></div><div class="">    OK.  Finally!  Have successful launch and open.   Summary below, follow the instructions carefully folks!</div>  <br class=""><div class="">
<div style="font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">Here is how I got ktechlab to launch on MacOSX Sierra, October 2018.  If you are reading this much later your mileage may vary.<br class=""><br class=""><br class=""> 1.)  Install fink  (<a href="http://finkproject.org/" target="_blank" class="">finkproject.org</a>)  (requires SUDO or SU)<br class=""> 2.) Install kde bundle (fink install bundle-kde4-mac)<br class=""> 3.)  ALSO  <br class="">kdelibs4-mac-dev<br class="">automoc-mac<br class="">soprano-mac-dev<br class=""><br class="">NOTE: This *may* be fixed in ktechlab update sometime in the future<br class=""> 4.) modify build-simple.sh and run-simple.sh at the “readlink” area:<br class=""><br class="">#SCRIPTDIR=$(dirname $(readlink -f “$0”))<br class="">readlinkf(){ perl -MCwd -e 'print Cwd::abs_path shift' "$1";}<br class="">SCRIPTDIR=$(dirname $(readlinkf "$0"))  <br class=""><br class=""> </div><div style="font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">  5.) Then include in your .bash_profile <br class="">PATH=$PATH:/sw/opt/kde4/mac/bin<br class=""><br class="">  6.) Runn build-simple.sh.<br class=""><br class="">NOTE: This *may* be fixed in ktechlab update sometime in the future<br class="">  7.)  build-simple.sh copies into /Applications/KDE4. (This might fail if you are not an administrator on your mac)   (it probably should copy into ~/Applications (user home directory, applications.)   Copy that app into inst-simple directory after the build.</div><div style="font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class=""><br class="">  8.)  Copy /Applications/KDE4/ktechlab.app to inst-simple/bin<br class=""><br class=""></div><div style="font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">  9.) Modify run-simple.sh to launch the app the macintosh way:<br class=""><br class="">      open -a "$SCRIPTDIR/inst-simple/bin/ktechlab.app”<br class=""><br class="">  10.)  modify your login items in System Preferences to add /sw/Applications/kdeinit4.app as a automatic start login item.    (Or alternatively, always remember to click on it before launching ktechlab.</div></div><div style="font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class=""><br class=""></div><div style="font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="">  11.) you can then change into ktechlab and execute “sh run-simple.sh” from a command prompt and it will work.</div><div style="font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class=""><br class=""></div></div>_______________________________________________<br class="">
Ktechlab-devel mailing list<br class="">
<a href="mailto:Ktechlab-devel@kde.org" target="_blank" class="">Ktechlab-devel@kde.org</a><br class="">
<a href="https://mail.kde.org/mailman/listinfo/ktechlab-devel" rel="noreferrer" target="_blank" class="">https://mail.kde.org/mailman/listinfo/ktechlab-devel</a><br class="">
</blockquote></div>
</div></blockquote></div><br class=""></div></body></html>