=== dorsy_ is now known as Guest9545 | ||
YoBoY | goodmorning | 06:45 |
---|---|---|
=== Lcawte|Away is now known as Lcawte | ||
markjones | hey YoBoY | 07:19 |
=== Claudinux_ is now known as Claudinux | ||
YoBoY | hi markjones | 07:29 |
dholbach | good morning! | 08:02 |
=== nhandler_ is now known as nhandler | ||
toabctl | hi | 08:48 |
dholbach | hey toabctl | 08:51 |
=== Lcawte is now known as Lcawte|Away | ||
czajkowski | aloha | 11:50 |
kinouchou | hello | 12:06 |
mhall119 | dholbach: czajkowski: cjohnston: http://family.ubuntu-fl.org/mhall/community-website-foundation/ | 13:35 |
czajkowski | :) | 13:37 |
dholbach | mhall119, good work! | 13:37 |
mhall119 | man, gwibber won't stay authorized with identi.ca | 13:44 |
mhall119 | :( | 13:44 |
geothom | hello everybody | 14:59 |
mhall119 | morning | 15:03 |
czajkowski | jtoomey: aloha | 15:11 |
czajkowski | jtoomey: mhall119 might be able to help | 15:11 |
jtoomey | yo! | 15:11 |
czajkowski | or just explainign where you are having issues, dholbach does a bit of packaging | 15:12 |
jtoomey | really? that would be awesome... | 15:12 |
mhall119 | what might I be able to help with? | 15:12 |
jtoomey | packaging..... | 15:12 |
dholbach | what's the problem? | 15:13 |
jtoomey | im trying to build gnome-disk-utility into a deb from the source (which i found on launchpad) | 15:13 |
jtoomey | im using these instructions: http://www.webupd8.org/2010/01/how-to-create-deb-package-ubuntu-debian.html | 15:13 |
dholbach | isn't that packaged already? | 15:14 |
dholbach | what are you trying to do? :) | 15:14 |
jtoomey | well..... i would really like to (read: my manager wants me to) modify the app slightly to add some extra functionality... | 15:15 |
jtoomey | but i would like to use the ubuntu sources from launchpad rather than the vanilla source from the gnome git repo.... if that makes sense... | 15:16 |
dholbach | ok | 15:16 |
dholbach | the easiest way is: | 15:16 |
dholbach | (make sure you have deb-src lines in your /etc/apt/sources.list or go to settings → administration → software sources → ubuntu sources (or something)) | 15:16 |
dholbach | sudo apt-get update | 15:17 |
dholbach | sudo apt-get install devscripts; sudo apt-get build-dep gnome-disk-utility | 15:17 |
dholbach | apt-get source gnome-disk-utility | 15:17 |
dholbach | cd gnome-disk-utility-* | 15:17 |
dholbach | patch -p1 < ../your-patch-with-new-functionality | 15:17 |
dholbach | debuild -us -uc && sudo debi | 15:17 |
dholbach | done | 15:17 |
dholbach | (in theory :)) | 15:17 |
mhall119 | might want to explain what some of those do | 15:18 |
jtoomey | :O | 15:18 |
* czajkowski hugs dholbach | 15:18 | |
dholbach | "apt-get source" gets the source | 15:18 |
dholbach | "apt-get build-dep" install necessary build dependencies | 15:18 |
dholbach | "debuild -us -uc" builds the package without trying to sign it afterwards | 15:18 |
dholbach | "sudo debi" installs it | 15:19 |
mhall119 | to clarify, "apt-get source" downloads the source of the *package* in the repositories, not just the source of the app, so you have all the package configurations and build scripts you need | 15:20 |
mhall119 | "build-dep" will check to see what tools and libs are needed to build the package, and will install those for you | 15:21 |
jtoomey | ah ok cool | 15:21 |
mhall119 | between the two, you will have everything you need to re-build the package in the same way it is build for Ubuntu | 15:21 |
jtoomey | ok.. when you say cd gnome-disk-utility, where is that dir? | 15:22 |
dholbach | it should be right there where you ran "apt-get source" | 15:22 |
* dholbach hugs czajkowski, jtoomey and mhall119 | 15:22 | |
jtoomey | ah - there it is, hiding right in front of me.... | 15:22 |
jtoomey | so - if i do that dbuild bit it will build exactly the same .deb that is in the repo (presumably?) | 15:24 |
mhall119 | more or less | 15:24 |
mhall119 | it won't be signed | 15:24 |
jtoomey | oh ok | 15:24 |
mhall119 | but I think that's the only difference | 15:24 |
dholbach | timestamps might be different | 15:24 |
dholbach | small subtle things because you probably now have newer libraries on your machine than were available at the time when it was built | 15:25 |
dholbach | but essentially yes, probably near to "same" | 15:25 |
jtoomey | close enough | 15:25 |
jtoomey | im not sure how to create a patch to apply to the source i just downloaded, is it easy to do or can i just work away on that source? | 15:26 |
dholbach | you can just work away on that source | 15:26 |
jtoomey | what are the .diff and .dsc files that also appeared? | 15:27 |
dholbach | .orig.tar.gz is the original tarball that was downloaded from the gnome-disk-utility authors | 15:30 |
jtoomey | unchanged? | 15:30 |
dholbach | the .diff.gz is the compressed set of changes that is necessary to build it the "debian/ubuntu way" | 15:30 |
dholbach | the .dsc is just metadatza | 15:30 |
dholbach | like md5sums etc | 15:30 |
jtoomey | so - is the diff applied when you build the .deb? | 15:31 |
dholbach | https://wiki.ubuntu.com/PackagingGuide/Complete#Building the Package Locally (Binary Only) | 15:31 |
dholbach | it's applied in the gnome-disk-utility-*/ directory | 15:32 |
jtoomey | that makes sense. | 15:33 |
jtoomey | this packaging stuff is quite a lot more complex than i thought it would be! | 15:33 |
jtoomey | last question - is there any easier way to work on the source without having to rebuild the deb every time i make a change and want to test? | 15:34 |
czajkowski | jtoomey: you should come along to the packaging sessions the folks run | 15:35 |
jtoomey | czajkowski: sounds good, is there going to be one soon? | 15:36 |
czajkowski | jtoomey: they usually run things in #ubuntu-classroom and #ubuntu-classroom-chat | 15:37 |
czajkowski | jtoomey: dholbach runs them | 15:37 |
=== Joeb454 is now known as CptSerious | ||
dholbach | jtoomey, you can run debuild binary after every change | 15:38 |
jtoomey | czajkowski: i think i will have to attend the next one :D | 15:38 |
dholbach | it's a bit like running "make" | 15:38 |
dholbach | czajkowski, it's not only me running them :) | 15:38 |
jtoomey | so - that will tell me if it still compiles? | 15:39 |
dholbach | jtoomey, the terminal will be busy when it compiles | 15:39 |
czajkowski | dholbach: you're the name I associate with them | 15:39 |
dholbach | as soon as you get a prompt again it's done | 15:39 |
ebel | jtoomey: as bad as the packaging stuff seems ubuntu/debian/deb/apt is one of the best systems out there | 15:39 |
ebel | doing the same task on windows or OSX takes mucho much longer | 15:39 |
ebel | even things like "apt-get build-dep X" save you massive amounts of time :) | 15:40 |
jtoomey | well - at least i have the basics now and i can go back to doing battle with GTK+ and UDisks :D | 15:41 |
jtoomey | dholbach, czajkowski, mhall119: thank you all for your help! its very much appreciated!!! | 15:42 |
jtoomey | now i better write it down before i forget... | 15:42 |
=== CptSerious is now known as Joeb454 | ||
mhall119 | jtoomey: no problem | 15:49 |
mhall119 | hope to see your contributions | 15:49 |
mhall119 | hint hint | 15:49 |
czajkowski | lol | 15:50 |
nigelb | mhall119: heya! | 15:54 |
nigelb | (do you ever see your PM?) | 15:54 |
nigelb | Nice work on the foundation thingy :) | 15:54 |
mhall119 | nigelb: yes I see my PMs | 15:55 |
mhall119 | they make a pretty red number on my screen while I ignore them | 15:55 |
mhall119 | but you can rest happy in the satisfaction of knowing you've made my laptop screen slightly more visually attractive | 15:55 |
mhall119 | ;) | 15:56 |
nigelb | lol | 15:56 |
=== Lcawte|Away is now known as Lcawte | ||
czajkowski | hah | 15:57 |
czajkowski | mhall119: subtle | 15:58 |
czajkowski | mhall119: I miss blake! | 15:58 |
mhall119 | czajkowski: you allowed to have pets where you're at now? | 16:50 |
czajkowski | nope | 16:50 |
mhall119 | too bad | 16:51 |
mhall119 | guess you'll just have to come visit again | 16:51 |
cjohnston | mhall119: could you look at Bug #644817 please | 23:36 |
ubot4 | Launchpad bug 644817 in loco-directory "Global Event Page should list the team name and the event name (affects: 1) (heat: 6)" [Wishlist,In progress] https://launchpad.net/bugs/644817 | 23:36 |
mhall119 | cjohnston: you want comment or code? | 23:36 |
mhall119 | oh, there is | 23:36 |
mhall119 | I see that now | 23:36 |
cjohnston | ;-) | 23:37 |
mhall119 | cjohnston: the venue information should only be listed once | 23:37 |
mhall119 | it won't be different for different teams in a single team_event | 23:37 |
mhall119 | print venue info, then ' - ' then loop over teams | 23:38 |
mhall119 | make sense? | 23:38 |
cjohnston | <a title="{% trans "More Information about Team Event" %}" href="{{ team_event.get_absolute_url }}">{{ team_event.name }}</a>{% for team in team_event.teams.all %}{% if team_event.venue.city %}, {{ team_event.venue.city }}{% endif %} - <a title="{% trans "more information about this team" %}" href="{{ team.get_absolute_url }}">{{ team.name }}</a>{% endfor %} | 23:39 |
cjohnston | thats what it does | 23:39 |
mhall119 | you're printing team_event.venue info for each team | 23:39 |
mhall119 | {% for team in team_event.teams.all %}{% if team_event.venue.city %} | 23:40 |
cjohnston | the city | 23:40 |
mhall119 | but that won't be different from one team to the next | 23:40 |
cjohnston | its based on the location of the event | 23:40 |
mhall119 | every team in team_event is going to the same venue | 23:40 |
cjohnston | but they are listed by country | 23:41 |
cjohnston | this is for global events | 23:41 |
mhall119 | okay, maybe I'm missing something, hang on | 23:41 |
cjohnston | so florida and new york can be listed right next to each other | 23:41 |
mhall119 | oh, i see now | 23:42 |
mhall119 | I forgot that global event participating team events are grouped by location, not by team_event | 23:42 |
cjohnston | :-) | 23:42 |
* mhall119 is tired | 23:42 | |
cjohnston | heh | 23:43 |
mhall119 | hmmm, there's got to be a better way of doing this | 23:43 |
mhall119 | we're already doing too much nested looping on that page | 23:43 |
mhall119 | okay, let me get my testing environment back up and updated and I'll try it out | 23:46 |
cjohnston | ok | 23:46 |
mhall119 | oh, I wasn't as out of date as I thought | 23:50 |
mhall119 | looks good and merged | 23:52 |
cjohnston | your killin me | 23:54 |
cjohnston | lol | 23:54 |
cjohnston | my merge wont go in cause you merged yours first | 23:55 |
cjohnston | lol | 23:55 |
mhall119 | :P | 23:58 |
mhall119 | what are you merging? | 23:59 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!