/srv/irclogs.ubuntu.com/2012/12/14/#ubuntu-tv.txt

tgm4883mhall119, should this community lens work the way it is?04:12
=== zz_chihchun is now known as chihchun
=== chihchun is now known as zz_chihchun
mhall119tgm4883: it'll work, but it won't do anything without scopes14:03
=== rsalveti_ is now known as rsalveti
tgm4883mhall119, weird, I didn't even see it in the dash after I installed it15:58
mhall119tgm4883: you need to restart Unity for it to find new lenses16:04
tgm4883mhall119, I rebooted :)16:04
tgm4883let me pull down the branch and try again here16:04
tgm4883mhall119, python setup.py install16:06
tgm4883that should do it right?16:06
mhall119oh, I have no idea if that works16:08
tgm4883heh16:08
mhall119I always use a package or "sudo quickly install"16:08
tgm4883mhall119, is that a quickly-rewrite function?16:09
tgm4883tmashos@tmashos-wks:~/code/unity-community-lens$ sudo quickly install16:09
tgm4883ERROR: No install command found.16:09
tgm4883Candidate commands are: commands, getstarted, help, quickly16:09
mhall119tgm4883: you need the unity lens template installed16:10
mhall119quickly-unity-lens-template16:10
tgm4883ah, I don't have that HERE16:10
tgm4883only at work16:10
tgm4883err, home16:10
tgm4883although that is installed now, that command still doens't work16:10
mhall119:/16:12
mhall119do you have a .quickly file in that directory?16:12
tgm4883mhall119, nope16:12
mhall119oh...hmmm, maybe I didn't use Quickly for that one16:13
mhall119tgm4883: on a call atm, but I'll help you manually install it in a few16:14
tgm4883ok16:14
mhall119tgm4883: alrighy, got time?16:54
tgm4883yea16:54
mhall119alright, I'm kind of surprised that "sudo setup.py install" didn't work, because I think all the setup info is correct16:55
mhall119but we'll walk through it step by step16:55
mhall119first off, do you have the directory /usr/share/unity/lenses/community and if so, what's in it?16:55
tgm4883mhall119, is this correct16:55
tgm4883* tsdgeos has quit (Remote host closed the connection)16:55
tgm4883err16:55
tgm4883http://pastebin.ubuntu.com/1438517/16:55
tgm4883that was odd16:55
tgm4883I don't have that directory16:57
tgm4883tmashos@tmashos-wks:~/code/unity-community-lens$ ls /usr/share/unity/lenses/16:57
tgm4883applications  commands  files  music  video16:57
mhall119your pastebin says it was created...16:57
tgm4883it's being installed to /usr/local it seems instead of /usr16:58
mhall119oh, so it was16:58
mhall119well there's your problem ;)16:58
tgm4883:)16:58
tgm4883so unity doesn't look there?16:58
tgm4883in that case, then is there a way to force setup.py to use /usr instead of /usr/local?16:59
tgm4883sudo python setup.py install --prefix=/usr17:02
tgm4883there we go17:02
tgm4883mhall119, that was indeed the issue, after restarting unity, I can now see the lens17:03
=== aaaas is now known as aaas
mhall119tgm4883: bobweaver: no meeting today?18:28
tgm4883mhall119, ah crickey, got busy trying to fix puppet-dashboard :/18:28
bobweaversorry about that all I am sick today19:55
bobweavershouln't python setup.py scripts ne installing to DESTDIR and not to local ?19:57
=== mhall119_ is now known as mhall119
mhall119bobweaver: it's entirely possible my setup.py is wrong21:35
mhall119I don't fully understand how distutils works21:35
tgm4883bobweaver, mhall119 no, it goes to the default 3rd party python module install location21:37
tgm4883which according to python docs, is probably /usr for packaged python21:38
tgm4883so it's entirely possible that installed python has the incorrect setting for that (or there was a reason to choose /usr/local/)21:38
tgm4883but it's not an issue with setup.py21:38
tgm4883clarification, not an issue with the one mhall119 created21:39
bobweavermost people set there code to be set up to go to /usr/local because that is the place that non-main/partner and all that stuff goes but again I am not good python dev but I do know that in ackaging if it is not going to DESTDIR that it will install local when building the package and not to the DESTDIR / debian/source22:14
bobweaverI think that is why when one runs dh_make -whatever it tells you "make sure that your makefile is set up to install to Destdir and not local " or it will install to local machine and not in <source>/debian/source22:16
bobweavercould be wrong though ^^22:16
bobweaverso say I had a package that installed to /usr right there are many ways that I can do this but I would say the easy way out would be a makefile22:19
bobweaver#!/usr/bin/make22:19
bobweaverall:22:19
bobweaverinstall:22:19
bobweaver        cp -r $(CURDIR)/usr  $(DESTDIR)/22:20
bobweaverthat is it it would copy everything from the CURDIR (surrent directory)/usr if I hade a folder called usr in <source> to debian folder22:21
tgm4883bobweaver, http://docs.python.org/2/install/index.html22:21
tgm4883err http://docs.python.org/2/install/index.html#how-installation-works22:21
bobweaverI could also do  cp -r $(CURDIR)/src $(DESTDIR)/some/path22:21
bobweaverI see cool it says to set up as --prefix just like cmake well kinda22:22
bobweavercan you use DESTDIR in setup ?22:23
bobweaverI guess that there would be no point in that though22:23
bobweaverme and my 2008 packaging recipes lol22:24
bobweavertgm4883,  what is lens ?22:24
bobweaversorr what kinda lens is it ?22:24
bobweavermhall119,  that dude that you sent in my direction (design) well one of them is on board and is going to help out. It turns out that I knew him from UDS tgm4883  he took the cab ride back to airport with us (the dude that was hungover) but yeah his stuff looks great mhall119  SO HAPPY THAT YOU POINTED THEM 2 OUT TO ME22:28
bobweaversorry about caps22:28
tgm4883bobweaver, what do you mean?22:28
bobweavertgm4883,  so I am looking for help with some design right for like some of the things that I am making because well I suck at design and mike pointed out some great design peps for me to get ahold of22:29
bobweaverlike for this22:29
bobweaverhttp://imagebin.org/23938522:29
bobweaverOr things like22:30
bobweavercom'on network pick it up already22:31
bobweaverhttp://imagebin.org/23939722:31
bobweaverIt just looks ugly to me and needs to be re-designed also other alpha things that I am working on.22:31
bobweaverlike form-factor (phone,gaming,tablet) these are all things that will never make it to unity (IDT) but it is good to be able to say yeah it works and this is a MOCKUP for it22:32
mhall119bobweaver: I'm happy to get you two together22:51
bobweavermhall119,  again you are awesome point blank22:52
bobweaver:)22:52
bobweaverI am talking to snwh atm also :)22:52

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