/srv/irclogs.ubuntu.com/2009/07/18/#ubuntu-motu.txt

=== asac_ is now known as asac
rgreeningScottK: I have tac_plus uploaded to my PPA... assuming it builds, I'll be able to test it out... not sure if the sql stuff will work this go around.00:07
rgreeningScottK: if you have time, I'd appreciate you taking a peek at the package.00:15
ScottKrgreening: Perhaps tomorrow.00:16
rgreeningScottK: awesome. ty00:17
=== fta_ is now known as fta
=== bluefoxicy is now known as [GM]Dave
=== [GM]Dave is now known as bluefoxicy
doctormoHave some packagaing problems, how do you deal with an automake based project where one of the parts is off in it's own directory, with it's own Makefile that isn't connected to anything else. Files that don't even get bundled when we do a make dist?00:38
lifelessdoctormo: so, is this yours, or something you're inheriting /upstream00:38
doctormoDo I try and merge the Makefile into the autotools system somehow, do I move the c file to the src directory or do I keep it where it is?00:38
doctormolifeless: Inheriting Orphaned00:39
lifelessif it will build ok with the Makefile, but you want to make 'make dist' work, add the directory and its contents to EXTRA_DIST00:39
lifelessit won't VPATH build though00:40
lifelessso you may want to take it over upstream and Just Fix It00:40
doctormoright, so I did manually copy the dir and it still didn't build00:40
doctormoOh we've already put it into launchpad, so it's bzr branches are upstream as far as we're concerned.00:40
doctormolifeless: Where is the best place for a python programmer (me) to go in order to learn how to "just Fix it"(tm), distutils is much easier to me.00:44
lifelessdo you know why they have this odd directory?00:44
lifelessknowing the reason may avoid spending effort trying to fix it ;)00:44
lifelesspoint me at the branch if you would00:45
epiphanyhi00:51
epiphanywhat is that package that contains that little networking icon in the GNOME panel?00:51
doctormolifeless: The reason I believe is that the main Makefile deals with building the xorg-input driver and this makefile is for building a simple c program for configuring the calibration.00:52
lifelessnetwork-manager?00:52
epiphanyi got it now. thanks00:53
lifelessdoctormo: so one option is to not build the program :)00:53
doctormoIt is, the existing debian build expected it, but I could strip it out00:53
lifelessI see00:53
lifelessso, two things00:53
lifelessone is that you don't need  to fix this to update the package - just don't use 'make dist' (as apparently the old author didn't either)00:54
lifelessthe second is that this sounds like just crummy organisation, and I would indeed fix the build00:54
epiphanycan one go about setting up their own APT mirror?00:54
lifelessif its using automake+autoconf the goat book is pretty good00:54
doctormolifeless: for your curiosity - lp:wizardpen00:55
lifelessI'd tend to use non-recursive make which means a single Makefile.am00:55
=== VK7HSE1 is now known as VK7HSE
=== VK7HSE is now known as VK7HSE_
=== VK7HSE_ is now known as VK7HSE
omermHi everyone. I just tried packaging for the first time to fix this bug: https://bugs.launchpad.net/launchpad-foundations/+bug/90150 . I applied the patch found in the comments, and followed the packaging guides to create a debdiff. I don't have an AMD64 system, so I can't test it. Should I send it to one of you for approval? Post it in launchpad? Thanks in advance.01:51
ubottuUbuntu bug 90150 in launchpad-foundations "Launchpad does not automatically know about LP-managed username@ubuntu.com email addresses" [High,Triaged]01:51
mrooneyomerm: that sounds like a #launchpad question but you may know more than I02:31
omermalright I'll try there. thanks!02:32
lifelessmrooney: actually, its totally on topic here02:36
omermI just realized I linked to the wrong bug02:36
omermhttps://bugs.launchpad.net/ubuntu/+source/vnc4/+bug/11998202:36
lifelessomerm: If the patch has been validated already - if its known to fix the problem02:36
ubottuUbuntu bug 119982 in vnc4 "amd64 vncconfig crashes" [Undecided,Confirmed]02:36
lifelessthen, put it into REVU02:36
lifelessif its not known to fix the problem, make a PPA, upload it there, and ask for testers02:37
omermcommenters said that it fixed the bug, but it doesn't seem there was any kind of official confirmation. Is it enough?02:38
lifelesswe're a community group :)02:40
lifelesspeople commenting are official in that sense ;)02:40
lifelessREVU is the review process02:41
lifelessor you can put your debdiff up02:41
lifelessand put it in the universe sponsors queue02:41
lifelesseither is fine02:41
lifelessand both are documented on the motu wiki pages, I think02:41
omermalright, will do. thanks02:42
mirsalHello. Anyone awake ?03:46
mirsalI'll assume so.03:47
mirsalI need five minutes of a package maintainer's time for a little update about how to contribute a patch the right way. Anyone ?03:47
mirsal(or maybe you could give me a pointer on where to look / who to ask )03:52
doctormomirsal: Ask the question as best you are able.04:00
mirsaldoctormo, Basically, I'd like to know how not to just edit the sources and rebuild the package. I don't know how to make a proper patch, update the changelog, bump the version number etc, I guess it's not done by hand.04:02
doctormomirsal: Some is, most isn't.04:06
doctormoNow I'm not an expert, but experts don't seem to be awake right now, so I'll fill you in on as much as I know.04:06
mirsaldoctormo, thanks that would be nice :)04:06
doctormomirsal: use apt-get source [package-name] to get the source typically, if your updating to say a new bzr or git checkout then still get this for the debian dir04:07
doctormomirsal: Now you need to make sure you get a good dist tar.gz of the sources, this is everythign without the debian directory or .bzr hidden dirs that will be used to build and install. Usually the makefile or build utils will have a dist option to generate the required gz.04:08
doctormo(this part is after you've modified the source)04:08
mirsalok04:08
mirsal(some of my changes are specific to the debian/ubuntu package btw)04:09
doctormomirsal: so, now you unpack your gz, say it's foo-0.1.4, you should then have at least 2 directories ./foo (from which you edit code) and ./foo-0.1.4 which you are doing the packaging in.04:09
doctormomirsal: Ah if your only updating the package then your not updating the source... depends on what your up to.04:10
mirsalI'm updating both actually04:10
doctormoSource updates should incur a version bump for the actual program ver, but package updates should bump just the 0ubuntu0 versions.04:10
doctormoIf both, then program ver bump clobbers package ver and package ver should be 0ubuntu1 I believe.04:11
mirsalok04:11
doctormoSo you'll be editing it in two parts, because packaging is considered down stream and source editing is considered upstream and your wearing two hats.04:11
doctormoHence two directories.04:12
mirsalI see.04:12
mirsal(maybe I should give you a little more context: I'm adding support to new devices to the evtouch xorg driver, this requires to alter a bit the sources and to add new udev rules / HAL fdi files. The hal config files are part of the ubuntu package whereas the rest is in the vanilla sources)04:16
doctormomirsal: I've done 3 driver packages and I'm working on xorg-input-wizardpen are you any good with automake btw, you might be able to help me in exchange.04:17
mirsaldoctormo, I know my basics :)04:18
doctormomirsal: I'm also very familar with HAL fdi files and udev rules since I manage a barry PPA (for blackberry support)04:18
mirsalcool, lucky me then ^^04:18
doctormoheh04:21
doctormomirsal: so if all your doing is updating the hal fdi or udev rules, just stick them in the debian directory like I do with wizardpen and epson-scanners. They're not upstream so their really additions during packaging.04:22
mirsalyeah04:24
mirsalfor the rest, should I just add a patch to debian/patches/ ?04:24
mirsalor is it not possible to mix the changes ?04:25
doctormomirsal: In that instance you can, so long as you keep everything in debian dir and call it "packaging"04:27
doctormoJust bump the packaging ver in that case.04:27
mirsalok04:28
doctormomirsal: Was I any help at all?04:28
mirsaldoctormo, absolutely !04:29
mirsalthanks a lot, it's now way clearer in my head04:29
mirsaljust one last thing: should I update the changelog by hand ?04:30
mirsal(I mean debian/changelog)04:30
doctormomirsal: You can use the dch tool or you can update it by hand, up to you.04:32
mirsalok04:32
doctormomirsal: Perhaps I can get your help now? See I'm fairly ok with the systematics of the whole thing and I also teach (if you've never seen my nickname before on the planet) so I'm getting good at explaining things too.04:39
doctormoBut so far Makefile proper combined with autotools have mistified me.04:40
mirsal:)04:41
mirsaldoctormo, so how can I help ?04:42
mirsal(if I can)04:42
doctormomirsal: I have the wizardpen stuff mostly working, but the upstream (now orphaned) put the calibration tool into it's own directory with it's own makefile that doesn't use autotools and automake, it's just a bog standard Makefile04:43
lifelessdoctormo: in short; delete the Makefile ;)04:44
doctormomirsal: So I want someone to help me get the package so it compiles the calibration tool and puts the source files in the dist (using make dist) which at the moment it doesn't04:44
doctormolifeless: really?04:44
lifelessyes, its contents should be rolled into Makefile.am in the root04:44
mirsallifeless, yeah, does the makefile do funky things ?04:45
mirsallifeless, +104:45
lifelessdoctormo: unless its depending on gnu Make features, which is unlikely for a simple tool lie you describe04:45
doctormolifeless: nah it's a strain gcc call, one liner04:45
lifelessits probably just04:46
lifelessbin_PROGRAMS = calibration/foo04:46
lifelessin the top Makefile.am then04:46
doctormolifeless: Sounds too good to be true, let me try it :-D04:48
mirsal(plus subdirs if any, foo_SOURCES / _SCRIPTS if any / _CFLAGS / _LDFLAGS etc, the usual stuff04:50
doctormomirsal: gcc -o wizardpen-calibrate wizardpen-calibrate.c, heh nothing. Lets see if it builds04:51
mirsalhuhu04:51
mirsaldoctormo, oh, I forgot to ask you one other thing: what are the diff options I should use in order to produce a patch suitable for debian/patches/ ?04:52
doctormolifeless: worked perfectly, now I just have to re-jig it's auto generation of the ChangeLog via git, since it's a bzr branch it's failing that.04:52
doctormomirsal: Wrong person to ask, my knol stops there.04:53
mirsalheh ok :)04:53
mirsalI'm asking out of laziness, I think I can figure out04:53
doctormomirsal: lol, for that you get to critique my work http://divajutta.com/doctormo/learning/local-computer/identifying-computer-ports.pdf04:53
mirsaldamn, evince is taking its time...04:56
lifelessmirsal: foo_SOURCES is automatic if its a single file; subdirs aren't needed with non-recursive syntax:)04:56
mirsallifeless, yeah, I missed the 'single file' part :)04:59
mirsaldoctormo, it's perfect, apart from the fact that the LEDS on female RJ45 ports are not standard, and that I think you sould include ExpressCard slots :)05:01
doctormomirsal: If you have a picture of an express card slot, leds aren't standard I know, it's what I call an editorial desision.05:04
mirsaldoctormo, well, I just HAD to say something ^^05:04
doctormomirsal: Best response is "It's a masterpiece and I'm going to blog about it right away, I hope the author also writes a similar one for internal slots" etc etc.05:05
mirsalIt's a masterpiece and I'm going to blog about it right away, I hope the author also writes a similar one for internal slots05:06
mirsalwell, won't blog about it (because I'm lazy, I told you) but I'm going to identwitfacebook it.05:07
doctormomirsal: Ah your using grubber05:09
mirsalgwibber yeah05:10
doctormowoot: https://launchpad.net/~doctormo/+archive/xorg-wizardpen it built on lpai, that's a good sign05:11
mirsal:)05:12
doctormolifeless: I owe you a drink... or at least the idea of a drink (till I get a new job)05:13
lifeless:P05:13
lifelesspay it forward05:13
doctormolifeless: I've got so much being paid forward right now, that's one of the reasons I don't have a job, don't have time for one.05:33
doctormo;-)05:33
doctormoGood night all05:33
tgm4883Please redirect me if there is a better channel for this, but when installing packages, is there a way to pass info to debconf from say, the command line?05:34
=== Blendiac is now known as Bugsbane
mirsallifeless, when you see doctormo, tell him that I also owe _him_ a drink :)05:52
mirsaltgm4883, yeah05:52
mirsalthere is a way05:52
mirsaltgm4883, don't remember how though05:53
tgm4883mirsal, i'm reading about preseeding right now, is that the way?05:53
tgm4883ah05:53
mirsaltgm4883, there is a 'noninteractive' debconf frontend, for debconf05:55
mirsaltgm4883, use it along with --assume-yes and you've got a fully automated apt-get05:56
=== YDdraigGoch is now known as Fluffles
=== ejat is now known as e-jat
* hyperair wonders how much space ia32-libs would need.09:19
geserhyperair: I hope you don't need the source package of it09:29
hyperairgeser: i've already gotten the source package. what a behemoth.09:30
hyperairgeser: i'm trying to update this thing.09:30
gesergood luck09:30
hyperairthanks.09:30
hyperairi wonder if anyone would sponsor me if i had it updated.09:31
hyperairthe .dsc is humongous X_X09:31
gesermy upload bandwidth is way to small to sponsor this monster09:32
hyperairheh09:33
hyperairon second thoughts, there appears to be an ia32-libs-testing ppa around09:39
hyperairhttps://launchpad.net/~cjwatson/+archive/ia32-libs-testing09:39
hyperairi think i'll just use that pacakge instead09:39
cjwatsonit's not quite right yet, but I'm working on it09:40
cjwatson(see #ubuntu-devel)09:40
hyperairhmm09:41
lamotheHi, with man pages, if I create a package that has 2 executable binaries in it, but only one is designed to be run by the user (i.e. the first one calls the second one) do I need to create a man page for the one that is not designed to be run by the user?11:41
cjwatsonnot in general, but if that's the case then the one not designed to be run manually should not be in /usr/bin11:41
cjwatsone.g. /usr/lib/<package>/11:42
cjwatsoneverything in /usr/bin/ (and /bin/, /sbin/, /usr/sbin/) should have a manual page11:42
lamothecjwatson: Ahhh, really! I didn't know that, thanks, that makes it a lot clearer then doesn't it.11:42
lamothecjwatson: Thanks, again.  I appreciate it.11:45
=== proppy1 is now known as proppy
=== WelshDragon is now known as Fluffles
Laneywgrant: Are mdt package sets dynamically updated?13:46
wgrantLaney: Yes.13:47
wgrantWell, except for those that aren't.13:47
wgrantLet me see which aren't.13:47
LaneyNo, it's OK13:47
LaneyCan you create a set out of a big list of packages and a query?13:47
wgrantWhat sort of query?13:48
Laneymaintainer13:48
wgrantYep. Already got a couple of them.13:49
LaneyI'm interested in tracking Haskell packages. We just formed a team but a lot of them haven't been moved over yet13:49
Laneycool, I'll rustle you up a list shortly if that's OK?13:49
wgrantSure.13:50
wgrantI'm about to head off for the night, so I'll do them tomorrow some time.13:50
Laneyno worries13:51
=== bastiao_ is now known as k0p
wgrantLaney: There are currently lists automatically calculated from rdepends and a team's +packagebugs, if that makes it any easier.13:53
Laneyrecursive rdepends would be good if you could do that13:53
Laneyseeding from ghc613:53
Laneyrbuild depends, that is13:54
wgrantThat's not so easy.13:55
wgrant(the recursive bit, that is)13:56
Laneythought it might not be13:56
* wgrant disappears.14:01
=== azeem_ is now known as azeem
james_wyay statik!15:43
maxbDoes anyone have any thoughts on the best way to develop packages for Karmic whilst also making them backportable to earlier releases, specifically concerning debhelper 7?17:37
Laneyget the newer version of dh backported17:38
hyperairthere are  debhelper packages around for jaunty and intrepid floating aroudn the PPAs17:39
maxbI am contemplating attempting to merge debhelper 7.0.52 from upstream  with the Intrepid / Jaunty versions and backport it to Hardy. The key thing being override_dh_foo support in 7.0.50, but I'm not sure I want to backport 7.217:39
hyperairand quilt 0.46-7 as well17:39
maxbindeed17:39
hyperair7.0.50 has override support.17:39
hyperairwhy do you need 7.2?17:39
maxbI don't need 7.2 - that's the point17:39
hyperairthen just backport 7.0.5017:40
hyperairbut there's no harm in backporting 7.2 if it's easier17:40
maxb7.0.50 is not in any Ubuntu distroseries17:40
hyperairit isn't eh17:40
Laneynah17:40
LaneyI'd just ask for a backport of whatever's in Karmic17:40
ScottKBut if you want it to go to Hardy, also backport it to Intrepid/Jaunty.17:41
* maxb goes to figure out what changed 7.0 -> 7.217:41
hyperairthe changelog's pretty good for that17:41
hyperairaptitude changelog debhelper17:41
Laneydh_gencontrol: Ensure misc:Depends is set in substvars to avoid dpkg complaining about it when it's empty17:42
Laney:O!1!17:42
hyperairO_o. the hell?17:43
hyperairisn't debhelper supposed to generate that?17:43
maxbIt does - if it has anything to put there17:44
maxbI guess after that change it generates an empty one17:44
maxb(in all cases)17:45
maxb"Depend on dpkg-dev 1.14.19" could back a hardy backport of 7.2 a little trickier17:45
maxbI guess it would be feasible to carefully revert the changes relying on the newer dpkg17:51
ScottKjames_w: Got a moment for an archive admin task?18:57
ScottKMaybe StevenK?19:05
ScottKIf either of you turn up whilst I'm out, I'm looking for someone to promote kubuntu-netbook-default-settings to Main.  The MIR is approved, just needs moving ....19:06
=== mrooney is now known as mrooney_
ajishhi20:00
ajishI am looking for ubuntu build system documents? google didn't help20:01
ajishcan some one help here?20:01
coolbhaviajish, search for launchpad PPA packaging help20:02
coolbhavithere you can find faq20:02
coolbhaviabout buildds20:03
ajishthanx coolbhavi20:06
ajishis any one here from bangalore india?20:06
coolbhaviajish, I am20:08
ajishis their any group in bangalore for ubuntu?20:09
ajishwhere i can join20:09
ajish?20:09
coolbhavino but go to #ubuntu-in and we better stop this right here as its a devel channel20:10
=== bluefox_ is now known as Braufuchs
pwnguinis anyone left on hardy-backports?21:38
Laneyanyone quickly know how to tell vim to always :set expandtab for changelog/control/rules files?21:39
jpdsLaney: autocmd BufEnter */debian/* set expandtab21:44
Laneyyou beauty21:44
jpdsYou might want to: autocmd BufEnter */debian/rules set noet tabstop=8 shiftwidth=8 - for rules.21:45
=== runasand is now known as ninjarobot
=== ninjarobot is now known as runasand
jmarsdenIs it normal for a firefox 3.5 daily build to take more than a day?  lemon, one of the PPA build hosts, is running such a build now... seems like over time that behaviour would use up and backlog the entire set of PPA build machines :)22:06
Laneyyou can look at a previous successful build to check22:07
jmarsdenOK, will do.22:07
jmarsdenLooks like a previous build of it took under 7 minutes... who should be asked to take a look at that build machine?22:09
LaneyI believe if you click on the name of a buildd you can find the owner22:10
jmarsdenOK.22:12
lfaraoneIf I want dch to act as if I was running it using Debian, what option do I pass.23:50
lfaraone*?23:50
lfaraoneDespite bug 85366 being fixed, "--distribution=Debian" errors out.23:51
ubottuLaunchpad bug 85366 in devscripts "debchange should not add Ubuntu specific stuff to my changelog" [Undecided,Fix released] https://launchpad.net/bugs/8536623:51
geserdoesn't dch -D Debian (or --distributor Debian) work?23:53
lfaraonegeser: No, that gives an error.23:53
lfaraonegeser: oh, the latter works.23:54
geserright, -D is --distribution and not --distributor which doesn't have a short option23:56

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