/srv/irclogs.ubuntu.com/2010/07/19/#ubuntu-devel.txt

=== dendrobates is now known as dendro-afk
Burgundaviaakgraner: ping00:27
akgranerpong00:27
akgranerBurgundavia, hey - just segway me into the conversation and I'll give you a rundown :-)00:29
lamontwhat package has the "make me a bootable usb stick out of $THAT iso?" mad skilz in it?01:09
wgrantlamont: usb-creator01:10
lamontta01:10
lamontgoogle had just about gotten me there, once I thought to look harder01:11
lamont"... is the most advanced tool available able to make ..." <-- clear reason to relegate that package to universe01:11
lamont[1]+  Segmentation fault      usb-creator-gtk01:18
lamonthrmpf01:18
lamonthttps://help.ubuntu.com/community/EncryptedFilesystemLVMHowto <-- /me thanks people for writing up things to make manual silliness easier.01:40
wgrantlamont: Why not just use the automated options on the alternate/server CDs?01:51
lamontwgrant: machine kinda lacks a CD, and I kind of lack a USB CD, and usb-creator doesn't belive in alternate CDs01:53
wgrantlamont: Hm, odd. I thought that was meant to work.01:59
lamontwell, once I get this happy, I get to deal with dueling boot loaders, so I forsee an imaging or two of the hard drive before all is happy02:02
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
ArkaniadNot fully sure if this is the place to ask this, but I might as well shoot. I'm trying to compile some C programs, namely ncurses. After struggling and thinking that I was missing an installed library and installing all of the ncurses-related packages, I found a larger problem: GCC, netbeans, ld etc don't know where to find the header or library files! what do I do to fix it?07:29
TheMusoArkaniad: is there any particular reason you want to build ncurses?07:31
ArkaniadTheMuso: Well, considering that Java is my strongpoint, I just want to try other things. NCurses seems trivial and simple to do things, and I don't want to get into high-end GUI programming quite yet.07:32
ArkaniadBut the same thing happens when i try gtk.07:34
ArkaniadI try going by #include<gtk/gtk.h>07:34
ArkaniadBut that doesn't work. Unresolved references. (I meant include <)07:34
ArkaniadSo it causes problems with everything07:34
ArkaniadI can do #include <absolute path to header.h>07:34
ArkaniadBut then if the header references any other headers it goes kaput.07:35
ArkaniadSo as you can see, it's sort-of a showstopper.07:36
ArkaniadSo yeah.07:39
nigelbgeser, persia, soren: ping.  Can you send a list of people who have been granted ubuntu membership via dmb to the news-team so we can publish it?07:42
nigelbWe seem to be mising members coming from dmb07:42
hyperairwhat was that kernel option that allows you to stop the initrd in its tracks?07:56
SwedeMikehyperair: https://help.ubuntu.com/community/BootOptions07:57
hyperairSwedeMike: thanks08:01
pittiGood morning08:55
geserGuten Morgen pitti08:55
=== almaisan-away is now known as al-maisan
pittihey geser08:57
wgrantpitti: The logic in pkgstriptranslations scares me... you know that we can implement stuff in LP so you don't have to grep sources.list and apt-cache madison output, right?09:09
pittiwgrant: right, that bug was filed, and it's now on the soyuz' team's work list09:10
pittiwgrant: if it's any consolation, it scares me as well; we discussed it quite a bit before, and I think it's a "good enough" workaround for now09:10
slangasekjames_w, lifeless: if someone misses a --fixes when doing a commit, is there an interface for adding this metadata after the fact?09:40
james_wslangasek: no, it is stored as a revision property09:41
slangasekok09:41
slangaseklool: ^^09:41
slangasekjames_w: thanks :)09:41
james_wslangasek: so it's either "uncommit" or "commit --unchanged --fixes"09:41
james_weveryone acknowledges that it's not ideal that the interface for this is so narrow09:42
ccheneyslangasek: do you happen to know what the proper way to provide configuration for a package (say approx) in another package (uec-provisioning-mirror)?09:44
ccheneyslangasek: is there a way to do this programatically? or should it just provide a document in eg README.Debian telling the user what to do?09:44
ccheneycjwatson: any ideas about what i asked slangasek above? :)09:49
cjwatsonccheney: if you're working on another package's configuration file, then that other package has to cooperate, for example by providing a way to include configuration from a directory09:53
cjwatsonthere's no policy-compliant way to override a package's configuration file in another package09:54
slangasekccheney: mmh, there's no generic way to do this without cooperation... ok I'll let cjwatson field this one ;)09:54
ccheneycjwatson: ah ok, yea i know you could do a replaces but that is pretty bad idea09:54
ccheneythanks guys :)09:54
cjwatsonyeah, if you try that then things will likely break the next time approx is upgraded09:55
cjwatsonor at least if it changes its copy of the file09:55
cjwatsonI suspect the behaviour is undefined then09:55
ccheneyok09:56
ccheneyin approx case there is no default configuration so adding one for it might be useful, but its good to know the general case the package whose configuration you want to change needs to be the one to do it09:57
ccheneyfor approx it has an example configuration file but its not set up to actually mirror anything by default09:58
* ccheney isn't sure whether changing approx in ubuntu is worth the delta though10:01
tumbleweedccheney: isn't apt-cacher-ng configured out the box?10:11
nigelbjames_w: fixing it onces it lands on LP is okay too? through the merge interface...10:12
james_wnigelb: sorry, I don't understand?10:15
nigelbjames_w: er, missing --fixes10:15
mantiena-baltixHello all10:22
mantiena-baltixI'm looking for Ubuntu 10.04.1 testing CD images, should I use these - http://cdimage.ubuntu.com/lucid/daily-live/current/ ?10:24
nigelbyep, as the title says Ubuntu 10.04.1 LTS10:25
mantiena-baltixnigelb: according to build logs these images contains packages from lucid-proposed repository, is this ok?10:26
mantiena-baltixhttp://people.canonical.com/~ubuntu-archive/livefs-build-logs/lucid/ubuntu/current/livecd-20100719-i386.out10:26
nigelbim not sure, but I would suggest asking in #ubuntu-quality to confirm10:26
mantiena-baltixnigelb: ok, thanks10:27
james_wnigelb: you can add it at any time10:28
quadrisprohi guys10:30
ccheneytumbleweed: will have to take a look10:36
ccheneytumbleweed: does it work well? a year or so ago when i tested out the various proxy/mirror scripts it seemed all were broken but approx10:37
tumbleweedccheney: my view is that all are broken except acng :)10:38
ccheneytumbleweed: ok :) well if it actually works at all then its probably not broken :)10:41
tumbleweedheh, yes. Before that I used squid, which also works well, but not as efficient10:42
smosercjwatson, can  i get some of your time today or tomorrow ?11:03
cjwatsonsmoser: yes11:05
smosertime that works best for you ?11:06
cjwatsonsmoser: this afternoon is fine11:07
smosergood deal. thanks.11:07
=== yofel_ is now known as yofel
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== beuno_ is now known as beuno
pittiev: I just replied to https://code.edge.launchpad.net/~ev/ubuntu/maverick/jockey/auto_install/+merge/30079, FYI14:41
evcool, thanks14:41
evokay, I'll make those changes14:42
pittiev: are you interested in writing a test case yourself?14:42
evpitti: sure, should be straightforward enough14:42
pittiright14:42
=== Amaranth_ is now known as Amaranth
=== azeem_ is now known as azeem
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
tkamppeterpitti, SRU uploaded for bug 576705.16:39
ubottuLaunchpad bug 576705 in gutenprint (Ubuntu Lucid) "Epson inkjet printer does not work on 10.04" [Medium,Fix committed] https://launchpad.net/bugs/57670516:39
=== oubiwann is now known as oubiwann-away
=== al-maisan is now known as almaisan-away
pittitkamppeter: I saw, will do some queue action tomorrow morning17:27
pittithanks!17:27
=== beuno is now known as beuno-lunch
=== dendrobates is now known as dendro-afk
=== beuno-lunch is now known as beuno
=== fta_ is now known as fta
=== fta_ is now known as fta
=== dendro-afk is now known as dendrobates
=== korn_ is now known as c_korn
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
Fazer2hey, I have a problem with creating a DEB package for my Qt app20:18
Fazer2I followed this tutorial - https://wiki.kubuntu.org/PackagingGuide/QtApplication20:18
Fazer2but after  debuild -S  I get lots of errors and it fails20:18
Fazer2I think the problem lies in debian/rules file, which I copy-pasted from the site20:19
Fazer2I think I should modify it, but I don't know how20:19
Fazer2the log is here - http://codepad.org/eBhgagFR20:19
micahgFazer2: try #ubuntu-packaging20:20
Fazer2micahg: thanks20:21
=== dendrobates is now known as dendro-afk
=== roaksoax__ is now known as andreserl
geserany archive admin around who could move gcj-native-helper from universe to main on i386? for all other archs the package is already in main but not for i38621:00
RiddellFazer2: did you get sorted?21:06
Riddellgeser: please file a bug, I'll get to it tomorrow21:07
Fazer2Riddell: sorted? what does that mean?21:07
RiddellFazer2: did you get your packaging done?21:08
Fazer2Riddell: I've read irc logs from your packaging sessions21:08
Fazer2Riddell: no, I still have problem21:08
Fazer2Riddell: I went to #ubuntu-packaging and yofel adviced me to use /usr/share/doc/debhelper/examples/rules.arch instead of the one from https://wiki.kubuntu.org/PackagingGuide/QtApplication21:09
Fazer2Riddell: thanks to it debuild -S works now, but pbuilder build fails21:10
RiddellFazer2: what about just using debuild to compile the package?21:11
RiddellFazer2: also can you pastebin your debian/rules ?21:11
Fazer2Riddell: ok, wait a sec21:12
ionfazer2: I’d use neither. A dh7-style debian/rules is nicer.21:12
ion/usr/share/doc/debhelper/examples/rules.tiny21:12
Riddellion: let's not get distracted21:13
Fazer2Riddell: http://codepad.org/JTVo6qmd21:15
Fazer2Riddell: I changed the rules file now (I commented #$(MAKE) again) and now debuild command created the package21:16
Fazer2Riddell: I mean, that lines with #${MAKE} were commented, when I removed the comments it didn't work, so I reverted it21:17
RiddellFazer2: how do you compile and install the application normally (when not packaging it)?21:18
Fazer2Riddell: qmake-qt4 -config release21:19
Fazer2Riddell: then make21:19
Fazer2Riddell: I guess I should add make command XD21:19
Riddellyes21:19
Fazer2Riddell: because I can see the produced package doesn't include any binary21:20
Riddelland  make install ?21:20
Fazer2ok21:20
=== almaisan-away is now known as al-maisan
RiddellFazer2: add the make install under "Add here commands to install the package"21:22
RiddellFazer2: it'll need that prefix bit though to install it into debian/<package>/usr21:22
Riddellyou don't want to install it to /usr21:22
=== sebner_ is now known as sebner
Fazer2Riddell: ok, retrying now21:26
RiddellFazer2: with debuild ?21:27
Fazer2Riddell: yes21:27
Riddellgood luck21:27
Fazer2Riddell: so debuild does almost the same thing as debuild -S && sudo pbuilder build *.dsc, right? only that pbuilder builds in a clean environment21:28
Fazer2Riddell: I still have no binaries shipped in the package... I'll show you the rules file - http://codepad.org/5PzsNkj621:32
RiddellFazer2: right, but with pbuilder it's harder to fix mistakes and continue on, with debuild you can  use debuild -nc (no clean) and carry on without having to recompile everything, so I only use pbuilder as a final check21:32
Riddellyou don't need that first "make install21:33
Fazer2Riddell: I also added these lines to my .pro file, as adviced in the Qt packaging guide - http://codepad.org/0VhzYZx821:33
Fazer2Riddell: should I remove it or move somewhere else?21:33
Riddelljust remove it21:34
Riddellpastebin the .build file (in the directory above the sources)21:34
Fazer2Riddell: I'll run it again with LANG=c, because it's in Polish now21:36
=== fta_ is now known as fta
geserRiddell: you can setup a pbuilder hook to drop you into a shell in case of FTBFS (see /usr/share/doc/pbuilder/examples/C10shell for an example)21:40
Fazer2Riddell: http://codepad.org/goJWn0Sg21:42
Riddellgeser: faff :)21:43
Fazer2Riddell: looks like I should do that with sudo21:43
Fazer2Riddell: or shouldn't I?21:43
Riddell"install: cannot create regular file `/usr/bin/huffman-coding-visualizer': Permission denied21:44
gesermy guess: the makefile don't care about the prefix value21:44
Riddellthe prefix isn't working on that make install command21:44
RiddellFazer2: so alternative approach..21:45
Fazer2Riddell: would be...21:45
Riddellcomment out the "$(MAKE) prefix=..." line21:45
Riddelluncomment the dh_install21:45
Riddellline21:45
Fazer2ok21:46
Riddelland make a file   debian/install21:46
Riddellit should contain the file you want to copy and the place it should be installed to21:46
Riddell"huffman-coding-visualizer usr/bin/"  for example21:47
Riddellassuming the huffman-coding-visualizer binary is in the top source directory21:47
Riddellyou can use  debuild -nc  to rebuild without compiling again21:47
Fazer2Riddell: so the debian/install file content should be just that one line, right? - huffman-coding-visualizer usr/bin/21:48
RiddellFazer2: right21:49
Riddellassuming that's the only file you need installing21:50
Fazer2Riddell: right now, the only one; btw shouldn't it be /usr/bin and not usr/bin ?21:50
Riddellno don't think so21:51
Fazer2Riddell: ok, now the package contains the binary, I'll try to install it21:59
Fazer2Riddell: it works :-)22:00
Fazer2Riddell: I think I'll manage to do the last thing - add compiling a translation and installing it22:02
Fazer2Riddell: thanks for the help! :-)22:02
RiddellFazer2: great22:05
RiddellFazer2: is the package something we should include in the ubuntu repository?22:05
Fazer2Riddell: heh, it's a simple app made as a school homework22:06
Fazer2Riddell: it presents how static and dynamic Huffman coding works22:07
Fazer2Riddell: I think I'll add it to my PPA22:07
Riddellthat was going to be my next suggestion22:07
Fazer2;-)22:07
RiddellFazer2: of course now you know packaging you can help out with Kubuntu or MOTU or any of the teams :)22:08
Fazer2Riddell: I just started and you want to recruit me so quickly? :-P22:09
Riddellno time like the present22:10
Riddellalthough at present I need to sleep22:10
maxwellianRiddell: Silly question, but just to be sure: debuild -nc will stil recompile whatever needs to be recompiled based on source changes, right?22:12
=== al-maisan is now known as almaisan-away
=== dendro-afk is now known as dendrobates
=== fta_ is now known as fta
dupondjeI guess we will merge the newest php version that got in debian today ? ^^22:58
=== tkamppeter_ is now known as tkamppeter

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