/srv/irclogs.ubuntu.com/2007/11/18/#ubuntu-devel.txt

=== mc44_ is now known as mc44
cjwatsonLaserJock: we already have a way to launch the installer without going into the desktop, even though it's hidden. Boot with the 'only-ubiquity' boot option00:58
LaserJockcjwatson: what does that do?00:59
LaserJockI remember there being discussion about it00:59
cjwatsonwasabi: you can argue against a text-based UI for ubiquity if you like, but it's mostly already done ...00:59
LaserJockdoes it start X and then run ubiquity without any WM?00:59
cjwatsonLaserJock: starts X, metacity, gnome-settings-daemon, and ubiquity00:59
LaserJockah, so you still have metacity01:00
cjwatsonit needs a WM, but not the full desktop furniture01:00
LaserJockright01:00
cjwatsonubiquity uses dialog boxes - you can't do that without a WM01:00
LaserJockright01:00
LaserJockwhat does that do for the RAM requirements?01:00
wasabicjwatson: What are the plans regarding d-i?01:00
wasabiI'd be very sore if d-i vanished.01:00
cjwatsonwasabi: data.tar.gz can't achieve the same level of compression as squashfs because the blocks can't possibly be as big: squashfs blocks can span multiple packages01:00
cjwatsonwasabi: d-i isn't going away, don't worry01:00
cjwatsonLaserJock: knocks a good chunk off, but I don't have the numbers to hand01:01
cjwatsonwe may well switch to that by default in hardy01:01
cjwatsonand the d-i X frontend has never been good enough for my satisfaction, which is why we don't build or ship it01:03
cjwatson(though I put a lot of work into it myself in the early days)01:03
wasabiYeah, I remember that.01:03
StevenKcjwatson: What's lacking that doesn't make it good enough?01:03
cjwatsonStevenK: plugins for all the complex UI01:04
cjwatsonlike the partitioner01:04
StevenKOh, right. It's in X, but still uses the horrible menu partitioner. Ew.01:04
cjwatsonthe facilities are there (er, mostly; there's still a little bit of libd-i and anna work that needs to be done), but nobody's sat down and written code to make it better than the generated UI01:04
wasabiThat's generally something which is simply lacking mostly in debconf01:04
cjwatsonwasabi: no01:04
wasabiGood integration with task specific UI01:04
cjwatsonthat's simply not true01:04
wasabiOh01:04
wasabi?01:05
cjwatsoncdebconf supports plugins01:05
cjwatsonI wrote the code01:05
wasabiplugins for specific UI modules for specific toolkits?01:05
cjwatsonyes01:05
wasabiHuh. So what is lacking in it then?01:05
cjwatsonsomebody actually writing the plugins01:05
wasabiWhy the push for ubiquity instead of that?01:05
wasabiSimply because of the LiveCD requirements?01:05
cjwatsonpartly that it was much harder to do the plugins in d-i than the way ubiquity does it, and partly because we needed to be able to ship an installable live CD for other reasons01:06
cjwatsonbeing able to ship just a live CD instead of install+live cuts Canonical's shipit costs down to a third of what they were ...01:06
cjwatsonand there was the speed thing too01:07
wasabiYeah.01:07
wasabiSo, wonder if there could be an optimization in d-i to use preexisting package source instead of actually doing the work? :)01:07
cjwatson"preexisting package source"?01:07
wasabi"oh, you're trying to install foo.deb, how about I just grab these files from /, put them in the right place, and pretend you did install foo.deb"01:07
cjwatsonsomebody wrote a live-installer udeb for d-i in Debian01:08
wasabiWhat I like about d-i is the ability for me to build my own pieces in it. I do it for large installations.01:08
wasabiCustom installers for different organizations, that integrate their own UI pieces, and/or apt soruces and package lists.01:08
cjwatsonit doesn't really belong at the level of installing individual .debs though; you won't get a meaningful speedup out of that01:08
wasabiUsually netbooted, etc.01:08
cjwatsonsure, that's a large chunk of the reason we support d-i01:09
cjwatsonubiquity's a great desktop installer but I don't expect it ever to be customisable on the fly to the same extent01:09
cjwatsoneffort on converting more packages over to triggers would be appreciated01:10
cjwatsona lot of that will be fixed in Debian as soon as triggers get merged there01:10
cjwatsonJoey is champing at the bit to delete huge wodges of debhelper01:10
StevenKI can't wait for texlive to get trigger support. That would make upgrades even faster.01:12
cjwatsonI will probably slow them down a bit again with man-db ;-)01:12
* StevenK chuckles01:13
cjwatson(but doing so fixes an ancient bug so I think it's worthwhile)01:13
StevenKThat's the manual pages encoding one, right?01:13
ion_Also enhancing linux-images’ trigger support would be nice.01:13
cjwatsonStevenK: no, having the database updated automatically after package installation so that apropos and whatis work immediately01:13
StevenKAhh01:14
cjwatsonencoding is nearly all fixed now01:14
* StevenK notices the time and runs off to lunch with his sister in law01:14
cjwatsonmodulo a few bugs (fixed upstream) you can use UTF-8 manual pages01:14
cjwatsonneed to get the exact layout agreed though01:14
* cjwatson -> bed01:15
ion_Btw, the version of openssl in gutsy-{security,updates} is greater than the version in hardy.01:15
emgentheya05:16
=== asac_ is now known as asac
=== Igorots is now known as Knightlust
=== Igorot_ is now known as Igorot
beeweeCan anybode tell me whether the browsers in K/Xubuntu send K/Xubuntu or just "Ubuntu" inside the HTTP_USER_AGENT? Nobdody in #ubuntu and #ubuntu-de was able to answer this :/10:23
beewee*anybody10:23
persiabeewee: I don't know offhand, but I suspect you'll do well to either check the source or with https://answers.launchpad.net/ubuntu/10:26
beeweeok, I created a question in launchpad10:36
persiabeewee: Thanks.  Sometimes it takes a while to get a response, but that's the best escalation point when #ubuntu doesn't know.  Frequently the developers don't know offhand either, and are working on other things.10:37
beeweeok :)10:40
=== TheMuso_ is now known as TheMuso
=== cjwatson_ is now known as cjwatson
shodgeshey, does anyone know of good documentation for packaging a *new* project? The packaging guide on the wiki seems to imply that you are repackaging an existing project...?12:54
IntuitiveNipplelol yeah, it is a bit mean like that isn't it!12:57
persiashodges: How do you mean a "New" project?12:57
shodgeswell, i'd like to build a deb package for a project i've been working on, but instead of using checkinstall i want to do it properly, so i learn how to package at the same time12:58
IntuitiveNippleThere's one in the 6.10 Wiki, showing how to create a package from scratch, based on simple 'hello' example: https://help.ubuntu.com/6.10/ubuntu/packagingguide/C/basic-scratch.html12:58
persiaIntuitiveNipple: That's a good resource, but it's a little out of date.12:59
persiashodges: https://wiki.ubuntu.com/PackagingGuide/Basic tries to cover new packaging.  Is there something else you think is missing there?13:00
IntuitiveNipplepersia: no kidding... trying to find anything was hard though, so have to make do13:00
shodgesIntuitiveNipple, persia, thanks i've got that guide in front of me at the moment. The problem i'm having is it seems to imply i want to "apt-source" my project from the repos, but its not there because i made it from scratch13:01
persiashodges: Aha!  Thanks for pointing that out.  I'll update the docs to be more clear.  If you have a tar.gz, and you rename it to an .orig.tar.gz, you can proceed: the apt-get source hello is only to grab an example.13:02
IntuitiveNippleYes, that was my issue when I started with packaging. It all assumes someone else created the code13:03
IntuitiveNippleIt would be good to have a link-out to actually creating a new package from original source-code13:03
persiaIntuitiveNipple: Do you mean including instructions on how to generate an orig.tar.gz from a source tree?13:04
IntuitiveNippleI wanted to know things like, best-practice in naming directories, common directories to use ( for things like po, etc.,)13:04
shodgesah ok, i'll give that a try, thanks. just for clarification, i should tar up my code and rename it to *.orig.tar.gz, in the same dir structure that the guide instructs?13:04
IntuitiveNipplepersia: If that requires more than just a simply tar -cxf package.tar.gx ./package-1.0   then yes13:05
IntuitiveNippleI wanted to create a project template directory I could use as the basis for creating a new ubuntu/debian packages at will... that'd be cool13:06
persiaIntuitiveNipple: That's about it.  I tend to prefer 'tar czf mypackage_1.0.orig.tar.gz ./mypackage-1.0`. :)13:06
IntuitiveNippleso it'd have the debian/ directory and templates of control changelog and all other required files ready to go13:06
IntuitiveNippleSpelling it all out is the important thing, because so much of existing docs assumes you understand the nuances of packaging in many ways.13:07
IntuitiveNipplelike the po issue I had, for example.13:07
persiaIntuitiveNipple: There's a package called dh-make that includes templates for most things.13:07
IntuitiveNippleahhh see? nuance!13:07
shodgesIntuitiveNipple, persia, i used dh-make to build my template debian dir, glad to hear i'm not going in the wrong direction :)13:08
persiashodges: You'll want to wrap your code so that the tarball expands with a single top-level directory, and calling the build rules from that directory builds the software.13:08
persiashodges: You will want to not put debian/ in your orig.tar.gz, to make things easier if the software later also gets distributed in other distributions.13:09
shodgesok, makes sense13:09
persiaIntuitiveNipple: If you have more suggestions for dh-make, I'd recommend submitting patches.  The more that can be easy to learn, the better.13:10
IntuitiveNippleI seem to recall using dh_make for the debian bits.13:10
IntuitiveNipplepersia: My main issue was just lack of clear documentation on creating a brand new source project and packaging.13:10
persiaIntuitiveNipple: Hrm.  The lack of documentation on making a brand new project (which would later be packaged) seems separable to me, but it would be nice to have something.  I'm adding the bit about generating an orig.tar.gz from scratch to the packaging guide now.13:11
IntuitiveNippleThanks.13:12
persiaIntuitiveNipple: I've never actually created a project from scratch: I don't suppose you'd be willing to author a first draft for that document?13:12
IntuitiveNippleYes, a separate recommendation on best-practice in creating a new software project that will not cause issues with debian packaging later, along with the pros and cons of the various patch-management systems, would be ideal13:13
persiaJust basic things like supporting a variable to tell it where to install (for /usr vs. /usr/local), and putting everything in a source tree, and not including debian/, and copyright/licensing for everything, and source for everything, etc.13:14
IntuitiveNipplepersia: I could try, but I'm not sure myself, thats part of the problem! For internationalisation there's all the po stuff. I'm still trying to understand that. Then there's gnome-specific stuff like the glade file (where best to put it/them), having a ./src/ directory, when to use a separate ./include/ directory. How to integrate with what autoconf requires!13:15
persiaIntuitiveNipple: Right,  It's lots of stuff.  I'd suggest putting a big WIP on the top of the page, but if you can get enough started that others contribute, soon we'll have a good reference.13:15
IntuitiveNippleI end up actually not bothering to package my stuff because I end up wasting time trying to get the packaging sorted out13:16
IntuitiveNippleI've been flowcharting the entire process, including every patch system, in order to understand it13:16
persiaIntuitiveNipple: That seems a bit extreme.  There's so many different ways to package, that trying to map it all is a huge effort.  Personally, I tend to focus on the couple I know well, and only learn more when I'm working on a package that requires it.13:17
IntuitiveNippleWell, I'm writing an automated packaging tool for myself so when I'm bug-hunting, actually providing the fixed package debdiff becomes trivial! You saw what happened with my KVM/QEMU packaging :)13:19
IntuitiveNippleSo the flow chart is proving extremely useful because it captures every possible path and makes it easy for me to check my understanding with people who know, simply by showing them the flowchart13:19
persiaIntuitiveNipple: Interesting.  As you get closer to completion, I'd like to see the tool.  There's definitely a gap between checkinstall (easy and produces broken packages) and dh_make (requires lots of understanding, and tries to do too much).13:21
IntuitiveNippleI was debating whether to write it for Eclipse (where I do all my development) or Gnome (so it can be used by others) I've decided on gnome so I'm working up the GUI now. I can then have a python back-end that can also link into Eclipse13:24
IntuitiveNipplepersia: If you're willing to review/amend the .dia document I use then I'm sure it could be quite bullet-proof13:25
persiaIntuitiveNipple: I'm swamped now.  If you email it to me, I'll take a look when I can, but I suspect you'd do as well to push a couple more revs first (depending on your update rate).  Also, I can't promise complete understanding: I just learned about another packaging tool last week.13:26
IntuitiveNipplepersia: Yes, I can imagine. I know the feeling well :)13:27
persiashodges: Does the addition of the tar call in  https://wiki.ubuntu.com/PackagingGuide/Basic help, or is it still unclear?13:27
IntuitiveNippleOnce I get my new web-app front-end up and running it'll be online13:27
sochi13:30
soclooks like breakage arrived today :-)13:30
soci get /dev/null: permission denied, does someone have an idea?13:30
shodgespersia, the tar call addition clarifies what you both have explained - just one thing, should the command say "tar -zcf hello-2.1.1.tar.gz hello-2.1.1" ?13:35
shodgesit currently says "tar xzf ..."13:36
persiashodges: I always use "czf", but it the order doesn't matter, so it could be "zcf".13:36
* persia thought that was fixed before the URL announcement, but was perhaps too slow13:36
shodgescool, good to know13:36
persiashodges: Thanks for the feedback.  Good luck with packaging.  If you have questions, I'd suggest asking in #ubuntu-motu, as this channel is usually much busier with developer coordination during the week.13:37
shodgesthats great, thanks for your help - i'll switch to ubuntu-motu next time13:39
IntuitiveNipplewhile I think about it. Does anyone have any ideas as to what could be keeping a loop-mount busy after chroot-ing into it, or running a chroot shell?13:39
IntuitiveNippleI've created an automated script that builds  UML Ubuntu file-systems, but after it has run "sudo chroot ./root apt-get install ubuntu-minimal" umount reports it is still busy, although lsof doesn't show anything using it.13:41
persiaIntuitiveNipple: It may be that you've started a daemon?13:41
* Spads suspects dbus13:42
Spadsthat's what always holds my chroots open13:42
IntuitiveNippleSpads: really?13:42
SpadsIntuitiveNipple: statistically, yeah.  You can check yourself though13:42
persiaIntuitiveNipple: You might want to look at schroot: I think there's a patch to that that kills everything when closing the chroot.13:43
IntuitiveNipplehmmm, I saw mention in my searches of avahi having a chroot helper but stopping avahi didn't help. I can't really stop dbus :)13:43
Spadsdo an lsof13:43
IntuitiveNipplepersia: Thanks, that might help, although it would be good to know what is managing to hold it busy and yet not show up13:43
IntuitiveNippleSpads: Thats the thing, lsof shows nothing at all13:44
IntuitiveNippleI've tried stracing it too, so far no luck13:44
Spadsthere's a +c0 trick you can do that I never had fully explained to me13:44
IntuitiveNipplewith lsof?13:44
Spadsyeah13:44
Spadslsof +c0 | grep /my/chroot/path13:45
Spadsor something13:45
Spadsyou'll want to kill stderr13:45
* Spads vanishes13:45
IntuitiveNipple" +c w     This  option  defines  the  maximum  number  of  initial characters of the name"13:45
IntuitiveNipple" If w is zero (’0’), all command characters supplied to lsof by the UNIX dialect will be printed."13:46
IntuitiveNippleSuggestions for a trivial package to install using apt-get to test this chroot issue - my mind has gone blank!14:03
persiaIntuitiveNipple: hello14:04
IntuitiveNipplelol14:04
IntuitiveNippledoh14:04
IntuitiveNipplegrrr, now I can't get it to fail!14:04
Lutinfabbione: would you mind testing linuxtv-dvb-apps 1.1.1-3 from debian and see if it works for you ?14:23
seb128Lutin: the checkinstall changes look like things that should be sent to debian, could you do that since you did the package update?14:42
ProtheusHi all15:14
ProtheusI am looking for ubuntu PS3 development channel. does anyone know its name?15:15
persiaProtheus: https://help.ubuntu.com/community/InternetRelayChat has the channel list.  You might try the powerpc channel.15:19
persiaProtheus: Also, it's the weekend in many places, so the developers may not be around.15:19
ProtheusThx persia ...15:24
fabbioneLutin: yes i do because my media box is "stable" and i just disconnected 3 hours ago to mount the new fornitures for the living room that will arrive this week :)15:46
Lutinfabbione: ok :)15:46
fabbioneif you asked yesterday i might have done it15:47
fabbionealso.. what is the problem that needs testing?15:47
fabbionethe merge or what?15:47
fabbionebecause IIRC the only delta was the DK DVB-T channels I added15:47
Lutinfabbione: yeah, that's it. there are also frequencies for dk in the debian package, but quite different from yours15:48
Lutinso I wanted to know if that worked, so that we can sync15:48
fabbionedo you have a diff handy? mine were "guessed" and did work..15:48
fabbionethe ones from Debian might be better15:48
fabbioneanyway just sync.. we can always fix it later15:49
Lutinok15:49
fabbioneit's in universe AFAIR.. right?15:49
Lutinfabbione: indeed15:50
fabbioneLutin: take the ones from Debian. They are good and better than mine15:51
Lutinfabbione: ok15:51
fabbione++# Created from http://www.digi-tv.dk/Indhold_og_tilbud/frekvenser.asp15:52
fabbionemine was "sniffing" on dk-Copenhagen .. you don't want to know how ;)15:52
Lutinlol :)15:52
=== gouki_ is now known as gouki
Protheuscan someone point me to a linux kernel source packe? I cannot find the package ... I don't know what do look after.16:20
pochuProtheus: linux-image-*16:21
Protheuslol. I did a new approach ... and go through the linux-kernel package ... there it was in the dependencies .... linux-source is it.16:21
=== Tonio__ is now known as Tonio_
jdongis there any way to extend the sudo password cache for a particular terminal session?18:02
Protheushmmm ... I think this is a global setting.18:04
jpatrickjdong: -v extends to 15 minutes (or whatever the timeout is set as in sudoers)18:06
jdonginteresting....18:06
jdongI'm looking for something for a continually-pbuildering shell18:07
jdongbecause pbuilder invokes sudo to become root and that almost always yields an annoying password prompt18:07
jpatricksudo -s?18:07
jdongjpatrick: is it really safe to be fetching and mangling source archives as root :-/18:07
jdong</paranoia>18:07
jpatrickerr, probably not18:08
=== keir__ is now known as keir
so1hi19:42
so1does someone know why pulseaudio needs an internet connection to work?19:42
superm1during the debian autosync, do NEW packages (that are in the debian archive but not in Ubuntu) automatically come?20:41
Kmossuperm1: if they're at unstable (main), they'll come20:44
Kmosfor example:20:45
Kmos!info vodovod hardy20:45
Kmosis a new one =)20:45
ubotuvodovod: lead the water from the house to the storage tank. In component universe, is optional. Version 1.10-1 (hardy), package size 419 kB, installed size 916 kB20:45
gesersuperm1: "automatically" as in an archive admins needs to start a script20:46
superm1geser, okay just making sure i didn't need to requestsync it.  there is no urgency to it right now, so whenever they run said script and grab it will be fine20:47
samanare there any Ubuntu open projects and how do we join21:36
ivoksubuntu open projects?21:44
ivoksubuntu is an open project :)21:44
Le-Chuck_ITAHi there, may I draw your attention to bug #132583? It seems to have a one-line fix23:32
ubotuLaunchpad bug 132583 in openoffice.org "python-uno can't be imported" [Low,Confirmed] https://launchpad.net/bugs/13258323:32
Le-Chuck_ITAand it's low priority, but it really breaks an important part of openoffice23:35
somerville32Le-Chuck_ITA, Did you provide a patch?23:37
Le-Chuck_ITAthe quick way23:38
Le-Chuck_ITAthere's a path missing from ld.so.conf, so the patch is to create a single-line file in /etc/ld.so.conf.d23:39
Le-Chuck_ITAI wrote that in a comment but didn't create a debdiff23:39
Le-Chuck_ITAsomerville32: ping :)23:41
somerville32Le-Chuck_ITA, Ok. I'm sure someone will get to it. :)23:42
somerville32Thanks for the help!23:42
somerville32You might mark it triaged btw23:42
Le-Chuck_ITAI didn't do anything actually, the merit is due to other commenters23:43
Le-Chuck_ITAbut will mark it as triaged23:43
Le-Chuck_ITAit's already triaged! :) so my task ends here23:46
Le-Chuck_ITAthanks and bye23:46

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