KTechLab on OSX

WADE MAXFIELD wade.maxfield at 4gwireline.com
Thu Oct 18 16:45:52 BST 2018


   One thing I forgot in the guide…….needs to be at the top:

0)   Need fairly close to the latest XCode installed, with the command line tools installed. 




   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.

   The following allows handling of configuration differences a little simpler.  This was tested on Macintosh OSX.

case "$(uname -s)" in

   Darwin)
     echo 'Mac OS X'
        readlinkf(){ perl -MCwd -e 'print Cwd::abs_path shift' "$1";}
        SCRIPTDIR=$(dirname $(readlinkf "$0"))
     ;;

   Linux)
     echo 'Linux'
        SCRIPTDIR=$(dirname $(readlink -f "$0"))
     ;;

   CYGWIN*|MINGW32*|MSYS*)
     echo 'MS Windows'
     ;;

   # Add here more strings to compare
   # 

   *)
     echo 'other OS'
     ;;
esac

 

> On Oct 18, 2018, at 5:38 AM, Zoltan Padrah <zoltan.padrah at gmail.com> wrote:
> 
> Thank you for the guide! I will compile a readme from it and add it to the source tree.
> 
> 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.
> 
> 
> WADE <m <mailto:wade.maxfield at 4gwireline.com>> ezt írta (időpont: 2018. okt. 15., H, 18:04):
>   OSX Success.
> 
>     OK.  Finally!  Have successful launch and open.   Summary below, follow the instructions carefully folks!
>   
> Here is how I got ktechlab to launch on MacOSX Sierra, October 2018.  If you are reading this much later your mileage may vary.
> 
> 
>  1.)  Install fink  (finkproject.org <http://finkproject.org/>)  (requires SUDO or SU)
>  2.) Install kde bundle (fink install bundle-kde4-mac)
>  3.)  ALSO  
> kdelibs4-mac-dev
> automoc-mac
> soprano-mac-dev
> 
> NOTE: This *may* be fixed in ktechlab update sometime in the future
>  4.) modify build-simple.sh and run-simple.sh at the “readlink” area:
> 
> #SCRIPTDIR=$(dirname $(readlink -f “$0”))
> readlinkf(){ perl -MCwd -e 'print Cwd::abs_path shift' "$1";}
> SCRIPTDIR=$(dirname $(readlinkf "$0"))  
> 
>  
>   5.) Then include in your .bash_profile 
> PATH=$PATH:/sw/opt/kde4/mac/bin
> 
>   6.) Runn build-simple.sh.
> 
> NOTE: This *may* be fixed in ktechlab update sometime in the future
>   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.
> 
>   8.)  Copy /Applications/KDE4/ktechlab.app to inst-simple/bin
> 
>   9.) Modify run-simple.sh to launch the app the macintosh way:
> 
>       open -a "$SCRIPTDIR/inst-simple/bin/ktechlab.app”
> 
>   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.
> 
>   11.) you can then change into ktechlab and execute “sh run-simple.sh” from a command prompt and it will work.
> 
> _______________________________________________
> Ktechlab-devel mailing list
> Ktechlab-devel at kde.org <mailto:Ktechlab-devel at kde.org>
> https://mail.kde.org/mailman/listinfo/ktechlab-devel <https://mail.kde.org/mailman/listinfo/ktechlab-devel>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/ktechlab-devel/attachments/20181018/92013cc8/attachment.html>


More information about the Ktechlab-devel mailing list