I totally forgot to blog yesterday :-S
Anyway, since the first day of Project Neon, there was neonmake. You might be wondering what neonmake is, though if you read all the other blog posts about Project Neon you probably know that I will explain it as following:
neonmake is a wrapper around make, ensuring all environment variables are set as necessaryThat however doesn't really describe it very well, in theory neonmake should be called amarok-nightly-kde-nightly-cmake-make-sudo-make-install, which of course is far too long ;-)
Well, let's get through it step by step.
neonmake consists of 3 parts - neonmake, make.sh and varsrc
- neonmake is a wrapper around cmake, make.sh and sudo make install
- the nifty thing about it is that it will bring you to $src/build, or stay there, or create it (i.e. it forces you to do out-of-source builds and keep your source tree clean :)
- it will also detect whether you are trying to compile anything amarokish (i.e. if amaork is part of the source directory's name) and tell make.sh about it
- make.sh is a wrapper around make and varsrc
- it will force compiling against kde-nightly or amarok-nightly depending on certain magic cases and invoke vasrc
- once varsrc is finished it will run make
- varsrc is responsible for the environment variables and is usually invoked by all amarok-nightly-* or neon* scripts
- you can run neonmake with kde or amarok as argument forcing it to compile against kde-nightly or amarok-nightly
- if the source folder contains the word "amarok" neonmake will asume you compile against amarok-nightly
- neonmake will create and/or take you to a subdirecotry called "build" ensuring you do an out-of-source build
- if 1. and 2. don't apply varsrc will check whether kde-nightly's kde4-config is available
- if kde4-config doesn't return the proper direcotries it asumes we have kde-nightly installed but aren't using it -> variables for amarok-nightly
- if 4. does not apply (i.e. no kde-nightly is installed) it will check for amarok-nightly's kde4-config, if it is available -> varaiables for amarok-nightly
- if none applies it will throw out totally insane errors
to sum that up:
- you can only compile against kde-nightly with kde as argument or when you are running it
- you can only compile against amarok-nightly with amarok as argument or when kde-nightly is not installed or when the directory name contains amarok
Now you go play with neonmake and I have to rest from this post.

3 Comments:
What luck! I was just thinking today, "I wonder if I can compile against kde-nightly, since kde-nightly is pretty close to SVN." This is just what I needed - I will try it tomorrow!
I have a suggestion: instead of always installing, could you make an option to make but not install? I'm interested in developing against kde-nightly, but don't want to overwrite the kde-nightly binaries I have installed.
米蘭情趣用品,情趣用品,情趣,飛機杯,自慰套,充氣娃娃,AV女優.按摩棒,跳蛋,潤滑液,角色扮演,情趣內衣,自慰器,穿戴蝴蝶,變頻跳蛋,無線跳蛋,電動按摩棒,情趣按摩棒
辣妹視訊,美女視訊,視訊交友網,視訊聊天室,視訊交友,視訊美女,免費視訊,免費視訊聊天,視訊交友90739,免費視訊聊天室,成人聊天室,視訊聊天,視訊交友aooyy
哈啦聊天室,辣妺視訊,A片,色情A片,視訊,080視訊聊天室,視訊美女34c,視訊情人高雄網,視訊交友高雄網,0204貼圖區,sex520免費影片,情色貼圖,視訊ukiss,視訊ggoo,視訊美女ggoo
080苗栗人聊天室,080中部人聊天室ut,ut影音視訊聊天室13077,視訊做愛,kk777視訊俱樂部,上班族聊天室,聊天室找一夜,情色交友,情色貼片
Post a Comment