/srv/irclogs.ubuntu.com/2014/03/29/#ubuntu-app-devel.txt

=== jhodapp is now known as jhodapp|afk
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
DanChapmangood morning09:21
gcolluraDanChapman, are we going to support sendmail and imapsendmail as outgoing options09:48
gcollura?09:48
gcolluraDanChapman, and goodmorning :)09:48
DanChapmangcollura: atm i have no idea thats probably a question for jkt. although after reading this http://trojita.flaska.net/draft-imap-sendmail-00.html i think its something we should try and provide09:59
gcolluraok DanChapman the part where you save and load settings is going to be done soon, I'll upload the code so you can complete your part10:00
gcollurathe sending part needs a bit more work because I don't know how to pass certain values10:01
DanChapmangcollura: great thanks for letting me know10:16
gcolluraDanChapman,10:50
gcollurahttps://github.com/gcollura/trojita/tree/ubuntu-touch10:50
gcolluratell me if there are some problems in reading/writing settings and I'll fix them for you10:51
gcolluraDanChapman, we wrote the settings page push the code somewhere so I can use it for my tests :) I don't want to write one :p10:59
DanChapmangcollura: awesome thanks, yep will let you know once it's working ok11:05
gcolluraDanChapman, ok perfect, thanks11:06
akiva-mobileWhat is the best channel to ask newbie ubuntu sdk questions?12:00
akiva-mobileYou know; for someone not familiar with cmake.12:00
nikwenakiva-mobile: I guess this one. ;)12:00
akiva-mobilenikwen, huh... You have been warned :)12:01
akiva-mobileI pulled the unity8 branch, and had it running yesterday. When I booted up today, and tried to build and run it, it is saying : No executable specified.12:04
akiva-mobileI am trying to read qt documentation; one thing I do not understand, is whether cmakelists is auto generated, or do I have to manually muck around with it?12:04
akiva-mobileI don't know if its the type of code I should be putting my hands on.12:05
akiva-mobilehuh... I'll probably have to reinstall ubuntu or something; maybe then this issue will go away12:43
akiva-mobileStart from scratch12:44
nikwenavika-mobile: CMakeLists.txt is not auto-generated. It's the file where developers specify how the project is built.12:58
nikwenMaybe delete the sources and download them again.12:59
akiva-mobilenikwen, Probably a good idea. Someone else found my question on Ask Ubuntu, said they were suffering from the same issue, and reported a bug13:06
nikwenakiva-mobile: Good luck. ;)13:07
akiva-mobilenikwen, It will be called the fellowship of the ring13:08
akiva-mobilety13:08
* akiva-mobile heads off to Moredoor13:08
akiva-mobilenikwen, http://pastebin.ubuntu.com/7174098/  Tried what you suggested. I removed everything, rebuilt it, spick and spam13:45
akiva-mobileany ideas?13:45
nikwenakiva-mobile: Do you have g++ installed?13:48
akiva-mobilesec; maybe I got cache or soemthing mucking it up.13:48
akiva-mobilenikwen, humm yah, unless something hiccupped13:48
akiva-mobilebrb13:48
akiva-mobilegoing to try all that13:48
akiva-mobilenikwen, yah g++ is installed13:52
akiva-mobileand still no luck13:52
akiva-mobilehere is the thing; this worked like two days ago13:52
nikwenHave you tried the first answer on this site? http://stackoverflow.com/questions/14807294/how-to-install-cmake-c-compiler-and-cxx-compiler13:57
nikwen(It's not actually about installing.)13:57
BadDesignakiva-mobile: What problem do you encounter?14:00
nikwenBadDesign: He posted this link with his errors while compiling Unity8: http://pastebin.ubuntu.com/7174098/14:01
akiva-mobileBadDesign, I honestly think it is the woes of having upgraded this system from 13.04, then 13.10, and to 14.04. I'm going to do a fresh install tomorrow14:02
sergiusenshow can that be?14:02
sergiusenshow are you running this?14:02
akiva-mobilerunning what?14:02
sergiusensthat pastebin seems incomplete14:03
BadDesignakiva-mobile: How are you running CMake? Is there a CMakeLists.txt file that sets CMAKE_CXX_COMPILER ? or do you set it explicitly when you run CMake?14:03
akiva-mobileBadDesign, I think everything is default. I have little experience with Cmake.14:04
BadDesignakiva-mobile: Are you using CMake from repositories?14:04
akiva-mobileBadDesign, yah14:05
nikwenakiva-mobile: And you're telling me that while I am upgrading to 14.04. ^^14:05
akiva-mobilenikwen, well it worked the first day14:06
akiva-mobileand then when I restarted, it would not work anymore14:06
akiva-mobile:P14:06
nikwenStrange...14:06
akiva-mobileI blame Ghosts14:09
BadDesignakiva-mobile: Open a fresh terminal, and paste the ouput of 1) whereis gcc 2) whereis g++ 3) whereis cmake 4) g++ -v 5) cmake --version . Are you starting cmake from the root of the project ? Did you read the README of the particular project you're trying to compile for any defines/flags you might need to set before running cmake ?14:28
BadDesignakiva-mobile: or do you have a build dir ? and start cmake from it ?14:29
akiva-mobileBadDesign, Well first its unity8; that is the project I am trying to make. I followed the guide by ubuntu initially, but ended up having issues. Instead, I just went to qtcreator and used its bazaar import feature14:31
BadDesigni.e. cd myproject; [ ! -d build ] && mkdir build; pushd build; cmake -DCMAKE_BUILD_TYPE=Debug ..; make -j8 target14:31
BadDesignakiva-mobile: You could try to clean the build directory maybe some CMakeCache.txt files got in there that are incorrect14:32
BadDesignas CMake doesn't have a clean command you have to delete them manually14:33
akiva-mobileBadDesign, I completely removed them then tried a reinstall14:33
akiva-mobileor at least, I did a rm -rf of the build directory and the project directory14:33
akiva-mobiledo you think that should have been enough?14:34
BadDesignakiva-mobile: rm-ing the contents of build dir should be enough14:35
akiva-mobilehttp://pastebin.ubuntu.com/7174385/14:35
akiva-mobilewhat does make -j8 target do?14:35
akiva-mobileBadDesign, Actually the best advice I think would be to direct me to an addequate cmakes tutorial or documentation. I don't need to know everything, but I just don't want to have people hold my hand through the process.14:37
BadDesignakiva-mobile: it runs make after the Makefile has been created by cmake14:37
BadDesignakiva-mobile: try setting CC and CXX vars or the other methods listed here https://stackoverflow.com/questions/15291978/cmake-and-default-compilers/15292233#1529223314:38
BadDesignexport CC=`which gcc`14:38
BadDesignexport CXX=`which g++`14:38
BadDesignand after that cmake ..14:38
akiva-mobileBadDesign, in the parent cmakelists.txt?14:39
BadDesignakiva-mobile: no, in the shell you're running cmake from14:39
BadDesignakiva-mobile: you could set them also in the cmakelists.txt if you want14:39
akiva-mobileBadDesign, up until now, I have been using qtcreator to do this.14:40
BadDesignakiva-mobile: so you run cmake from qt creator, then you need to tell qt creator wizard about the defines14:40
BadDesign-DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_BUILD_TYPE14:41
BadDesigninside the textbox on that wizard14:41
BadDesign-DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCMAKE_BUILD_TYPE=Debug14:41
akiva-mobileBadDesign, one thing I am wondering; is this usually neccessary for people trying to edit unity8?14:41
BadDesignakiva-mobile: I think you don't have the environment configured correctly inside qt creator, i.e. the kit14:42
BadDesignakiva-mobile: not sure, haven't compiled unity myself14:42
akiva-mobiletruly a cmakes guru. okay14:44
sergiusensthe onyl reason you'd want to build unity8 on ubuntu is to develop for it14:44
akiva-mobile^14:44
akiva-mobilethat is what I want to do :) Definitely a learning process.14:44
nikwenakiva-mobile: Regarding the -j8 option. It advices make to use 8 cores. I usually use -j16 as it is much faster, even though my CPU has only 4 cores.14:45
akiva-mobilenikwen, oh thanks14:45
BadDesignnikwen: not true, if you specify to many jobs than you have cores , more jobs are waiting for one another and in the end it'll be more slower14:46
akiva-mobilewhat the? why is ubuntu SDK not showing itself installed?14:46
nikwenBadDesign: Ok, that's true, but for me -j16 is the fastest.14:47
BadDesignI doubt it, but I guess we have to measure14:47
akiva-mobile... this is strange...14:47
nikwenakiva-mobile: Have you installed it as described here? http://developer.ubuntu.com/apps/sdk/tutorials/installing-the-sdk/14:47
akiva-mobilenikwen, I had it installed via the repos in 13.1014:48
akiva-mobileand did an upgrade14:48
akiva-mobiledistro upgrade*14:48
akiva-mobilei'm just looking at it in synaptic atm...14:48
akiva-mobileand yet it says it is installed in the ubuntu software center o_o14:49
nikwenOh, the recommended way is to install it from the custom repo which you can find on developer.ubuntu.com.14:50
BadDesignakiva-mobile: What does dpkg -l ubuntu-sdk say?14:50
akiva-mobileBadDesign, hmmm no there are two versions apparently, but the official one does not show up in synaptic14:51
akiva-mobilesec14:51
nikwenAnd a great explanation of the -j command: http://stackoverflow.com/questions/4802164/why-does-make-j-perform-better-when-it-is-passed-a-number-larger-than-the-numbe14:51
nikwenakiva-mobile: PPAs are disabled when you update the distribution. Did you enable it again?14:52
akiva-mobileeverything, but I just don't want to have people hold my hand through the process.14:52
akiva-mobile<14:52
akiva-mobilebah sorry14:52
akiva-mobileakiva@Akiva-ThinkPad:~$ dpkg -l ubuntu-sdk14:52
akiva-mobileDesired=Unknown/Install/Remove/Purge/Hold14:52
akiva-mobile| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend14:52
akiva-mobile|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)14:52
akiva-mobile||/ Name                            Version              Architecture         Description14:52
akiva-mobile+++-===============================-====================-====================-====================================================================14:52
akiva-mobileun  ubuntu-sdk                      <none>               <none>               (no description available)14:52
akiva-mobilebah I shouldnt flood14:53
akiva-mobileDesired=Unknown/Install/Remove/Purge/Hold14:53
akiva-mobile| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend14:53
akiva-mobile|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)14:53
akiva-mobile||/ Name                            Version              Architecture         Description14:53
akiva-mobile+++-===============================-====================-====================-====================================================================14:53
akiva-mobileun  ubuntu-sdk                      <none>               <none>               (no description available)14:53
nikwenOk, I gotta leave now. My system's going to update to 14.04. :)14:53
akiva-mobilenikwen, gl :P14:54
BadDesignakiva-mobile: dpkg -s ubuntu-sdk ?14:54
popeyyou might want to use paste.ubuntu.com akiva-mobile14:54
nikwenThanks. :D14:54
popey(please)14:54
akiva-mobileBadDesign, yep14:54
akiva-mobilepopey, sorry14:54
BadDesignI assume 'un' means uninstalled?14:55
akiva-mobilehttp://pastebin.ubuntu.com/7174466/14:55
akiva-mobileBadDesign, I think it might because there are two identical packages in the repos14:55
akiva-mobileBadDesign, maybe I'll file a bug report or something. Either way I am reinstalling; My ubuntu could really use it.14:58
akiva-mobileBadDesign, thanks for the help14:58
gcollurapopey, what do you think of this new design? http://i.imgur.com/NkjQI5K.png15:01
popeyoooh15:02
popeysorry, got to go, hungry15:02
popey15:02
gcolluraahaha :)15:02
popeyi like it15:02
gcollurathanks, suggestions?15:03
popeyI'll let you know once I play with it.15:05
popeybut I do like the idea of browsing by pictures, like the gallery app, and shorts15:05
gcollurapopey, I've also made from scratch the ConditionalLayouts15:06
gcolluraI want to design a new database management, the problem is that I will probably end up with incompatibility with the older version15:07
gcollurathe way I manage recipes, categories and other stuff is really insane and slow15:09
popeygcollura: needs a database migration then for existing users?15:13
gcollurapopey, if I redesign the db, I will try to provide a migration process if possible15:14
dakerhi popey15:17
popeyhi15:17
dakercan you test a page on the phone browser for me ?15:18
popeysure15:18
dakerpopey: http://bit.ly/1dXKjxX15:18
dakerthere is two lists on this page, try to scroll each one15:19
popeynothing scrolls15:19
popeyit highligts where my finger touches, but as i swipe nothing scrolls15:20
dakerhmm ok thanks15:20
akiva-mobilegcollura, beautiful :)15:23
gcollurathanks akiva-mobile15:23
akiva-mobileThe red is very royal15:23
akiva-mobilea good warm aesthetic, perfect for looking up food :)15:24
gcollura:)15:24
=== mhall119|offline is now known as mhall119
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== gcollura is now known as gcollura|afk
=== chihchun is now known as chihchun_afk
AskUbuntuQM ListView display only 1 row ( if covered in Column and row ) | http://askubuntu.com/q/44087722:13

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!