/srv/irclogs.ubuntu.com/2004/12/11/#ubuntu-doc.txt

sivangenrico : I'm here12:38
enricoOk.  Please paste the question here :)12:40
sivang<sivang> what is the structure, and what files I need to put into an upstream source tree to make it debable12:40
sivangor "how to learn debian packaging in 21 hours"12:40
sivang:)12:40
enricoyou need 3 main files, all in the directory debian/ in the source tree12:41
enricoOne is debian/control: it contains package metadata such as package name, description, dependencies12:41
enricoOne is debian/changelog: it contains the version history and the latest version of the package12:41
enricoOne is debian/rules ( :) ) and it is a makefile that contains commands that build the package12:42
enricoIf you see people with a t-shirt saying "debian/rules" it's the name of this control file, as well as saying "Debian Rules!"12:42
enricoSo, you can take any package (take for example my guessnet package) and see what's in debian/*  You'll always find at least these files12:43
enricoThen you can have various other accessory files12:43
enricodebian/rules often makes use of debhelper, which is a suite of scripts that make creating packages easy, by automating most operations12:44
enricoOther (optional) files that can be there are scripts like preinst and postinst, that are executed by dpkg at various stages of the package installation/deinstallation/upgrade...12:44
enricoI suggest you take guessnet as an example and build from there12:45
enricoIt's fine to just copy a debian/* directory over and replace the package name :)12:45
enricoguessnet's packaging however exploits the fact that upstream is very cool and uses automake/autoconf :)12:46
sivanghehe12:47
sivangI know why :)12:47
enricoit's not that hard to only use makefile, though12:48
enrico/usr/share/doc/cdbs/examples lists some examples and one of those only uses makefiles12:48
enricoThere are links to documentations for cdbs.  I'll tell you them now:12:48
enricoSee debian bug 220756 for some links to cdbs documentation12:49
=== enrico [~enrico@enrico.developer.debian] has joined #ubuntu-doc
=== enrico [~enrico@enrico.developer.debian] has joined #ubuntu-doc
enricolaptop crashed01:05
enricoagain and again01:05
enricosivang: still there?01:05
sivangenrico : yes, headed to bed , just grabbed something to drink01:32
enricoHeading to bed too01:32
enricoSee you tomorrow, then, continuing the debian packaging crash course01:32
sivangyes, it was great, crash courses are nice :)01:33
=== silbs [~sbsm0084@host217-37-231-28.in-addr.btopenworld.com] has joined #ubuntu-doc
=== sm is now known as sm-zzz
=== lulu [~lu@host217-37-231-28.in-addr.btopenworld.com] has joined #ubuntu-doc
=== sivang [~sivang@80.179.93.130.forward.012.net.il] has joined #ubuntu-doc
sivanghi all11:08
=== lulu [~lu@host217-37-231-28.in-addr.btopenworld.com] has joined #ubuntu-doc
lulusivang: hiya :o)11:18
sivanghey there lulu ;-)11:19
=== plovs [~plovs@195.13.248.82] has joined #ubuntu-doc
sivanghi plovs11:41
plovshi!11:41
plovshow's the laptop11:41
sivanghmm, bit better :) I will try make even some more fine tuning today11:42
sivangthanks, and what about yours? is he all well? (talking about them like children:)11:43
plovsthe one for spain i haven't seen yet, osx is getting better, but it is not linux :-(11:45
plovs\11:45
sivangplovs : didn't you tell me yesterday you have one for spain?11:49
plovsyes, i have one, just not at home atm11:49
sivangah11:50
plovshow is your writing getting along?  i haven't done much, just made an outline, too much work atm11:52
sivangplovs : slow but steady...:)11:56
sivangplovs : you meant on your part of the book?11:56
plovsyes, well on everything atm, i hope to do something wednesday and in the weekend11:57
=== enrico [~enrico@enrico.developer.debian] has joined #ubuntu-doc
=== sivang sivangAFK
enricosivang: Hello,tell me something when you come back12:28
ChrisHHey, gals... ;)12:45
sivanghi enrico12:46
enricoHi12:47
enricoChrisH: hei!12:47
sivanghi !12:47
enricosivang: feel like resuming the packaging business?12:48
sivangenrico : ah yes12:48
sivangenrico : let me see if I can update the from svn again, I was unable last night12:48
ChrisHOnce week to go... :)12:49
ChrisHs/Once/One/12:49
enricoYup!12:49
ChrisHDoes anyone know yet how far the hotel is from the Mataro train station?12:50
enricoI don't know12:51
enricoI'll need some instructions in that sense, actually12:51
enricoBut I can try to dig that information later12:51
ChrisHlulu didn't know either12:51
sivangChrisH : me neither, but silbs has noted to me that once first people get there, it would be more clear :)12:52
sivangwe have the advantage of coming after the conf starts :)12:52
sivangI tried to understand things from the map that was linked from the wiki - no go :)12:53
ChrisHsivang: Cool, you are doing the "Welcome to Python" workshop? Great. Then I can finally ask the tricky questions.12:53
sivangit's all spanish and cluttered12:53
=== enrico knows spanish
enricoLinked from which page of the wiki?12:53
sivangChrisH : hmm, that's interesting, where did you see it?12:53
ChrisHsivang: http://www.ubuntulinux.org/wiki/ConfAgenda12:54
ChrisHsivang: Friday,  17:30 - 19:0012:54
ChrisH12:54
ChrisHWelcome to Python12:54
ChrisH12:54
ChrisHSivanGreen12:54
ChrisH12:54
ChrisHSalon Mataro/Iluro 12:54
sivangenrico : here : http://www.renfe.es/cercanias/barcelona/img/zonal_barcelona_grande.gif12:54
ChrisHLooks like there are less interesting meetings than I thought during my stay. Well... it's a draft. ;)12:55
sivanghmm, I might ask some of the more python expers to help me :) and still this is the draft for the agenda,  I didn't realie me suggesting a BOF makes me responsible for it :)12:56
enricosivang: that map tells you which cercanias line to get (which is line 1, dircetion Maanet)12:56
sivangenrico : Macanet?12:56
enricoBTW, line 1 is nice as it goes all along the coastline and you can stare at the mediterranean12:56
enricosivang: that's the end destination of the line, but you get out at Matar12:56
ChrisHenrico: Cool, I'll have my Ixus ready. :)12:56
enricoNow we need a map of matar, with a cross on the hotel12:56
ChrisHenrico: Indeed.12:57
sivangenrico : is it a bus ride?12:57
enricosivang: no, train ride12:57
sivangenrico : I understood there is going to be a train12:57
ChrisHenrico: I don't like to take a taxi to the hotel with the baby on my lap. The taxi drivers must have learned to drive during the Vietnam war.12:57
enricoCool thing is that line 1 also goes to the airport, so it's a single train ride, with no changes12:57
enricoOh, if you take a taxi, always ask for the receipt12:57
enricoAnd if you feel like they asked too much, the receipt should have informations about the driver or taxi number on it12:58
sivangenrico : ok, please explain again: I arrive at the barcelona airport and from there take a train straight to mataro?12:58
enricoIt happened that the taxi driver asked for some amount, then you asked for the receipt and they said "OH!  I made an error..."12:58
ChrisHsivang: That part is easy. Take the blue line to mataro. Done.12:58
enricosivang: yes: cercanias line 112:58
ChrisHsivang: This information has already been there.12:58
ChrisHsivang: But there is no information about the area around the hotel.12:59
sivangenrico : hmmm, where do I find the train station on the airport?12:59
enricosivang: I bet it's well marked, but I'm sure you can ask to any airport information desk and they'll all speak english01:00
sivangenrico : do you think the train is far from the airport?01:01
ChrisHsivang: No.01:01
enricothe train station should be in the airport01:01
ChrisHsivang: http://www.ubuntulinux.org/wiki/Conference/ => Flying In01:01
sivangok, it is more clear now01:03
sivangthanks ChrisH for pointing it01:03
ChrisHsivang: yw01:03
luluChrisH: and the Mataro train station is an easy 10 min walk from the hotel apparently. But, they have taxis for about 4 euros or so, apparently.01:11
enricolulu: hi!01:11
ChrisHlulu: Very good. I don't mind the costs. I just fear for my life and that of my son.01:11
enricolulu: is there a map of matar with the location of the hotel (or the hotel website)01:12
luluChrisH: the hotel website is on the wiki - Hotel NH Ciutat de Matar, located near the city center. 01:13
enricolulu: ok.  Later on I can pull all the information and try to post some map01:13
luluChrisH: a link anyway.01:13
=== enrico goes having lunch
luluChrisH: mmm - I googled for others - with more info on the hotel. - I'll replace the link with another.01:15
ChrisHlulu: did you find anything useful on the hotel web site? :)01:15
luluChrisH: ^.....I'll see what I can find.....01:16
sivangChrisH : you make it sound like spain is a dangerous place :) please say it's not..01:16
ChrisHsivang: It's not. But my boss told me that the taxi drivers are mad in spain.01:17
ChrisHsivang: They don't have baby seats or belts on the back seats.01:17
ChrisHsivang: And they drive like hell.01:17
ChrisHsivang: So if - as lulu said - it's just a 10 minute walk, I'm more than happy.01:17
sivangChrisH : You mean to walk it ? (sounds reasonanbe to me also)01:18
ChrisHsivang: Yup. We have a mini-buggy for Marco, a suitcase on rollers and a backpack.01:18
sivangsweat!01:19
ChrisHsivang: I don't sweat! :)01:19
ChrisHsivang: That reminds me... I need to get the mentoring docs ready.01:19
sivangChrisH : mentoring docs? nice..anything specific in mind?01:20
ChrisHlulu: btw... what about it? The mentoring ideas.01:20
ChrisHsivang: Mark had a few thoughts. And I also have. Just need to write a document and draw a sketch or two.01:20
sivangChrisH : did you get how a BOF is supposed to be managed?01:21
ChrisHsivang: It's how we make the project easier for contributers.01:21
ChrisHsivang: In real life? :)01:21
sivanglike yes01:21
ChrisHsivang: Well... I assume we will just gather and talk about the topic. Nothing serious. No real speech. Perhaps an introduction so everybody knows what they will talk about.01:22
sivangChrisH : ok, this sounds nice, I am just trying to figure if I am able to do a "W2P BOF" ..:)01:23
ChrisHsivang: Windows-to-Perl?01:25
sivanghahah01:25
sivangChrisH : Welcome 2 Pytohn01:25
sivanghmm,. the hotel website gives much info01:26
sivang:)01:26
ChrisHsivang: I've just started with Python. May be useful to have someone there who is using Python more than for just a day.01:26
sivangChrisH : yes, I will talk to keybuk about  it01:27
ChrisHlulu: Besides the NM workshop that I don't see. You "promised" the Soyus will be introduced. As I'm not there in the second week... is there a chance this is done twice? I know I'm asking for much.01:27
ChrisHsivang: The style is very different from Perl and although I got a few lines running I'm often laughed about in #python. ;)01:27
luluChrisH: I can't promise there will be a second BOF but the Soyuz team will be working there for 2 weeks so you will be able to speak to them directly. Kiko, Daniel, Celso and Guilherme....but there will be talk about it.01:29
ChrisHlulu: k01:30
sivangChrisH : what's Soyus?01:33
sivanghttp://www.bookings.org/hotel/es/nhciutatdemataro.html?checkin=;checkout=01:33
sivangthere's a map01:33
sivanghttp://www.bookings.org/hotel/es/nhciutatdemataro.html?checkin=;checkout=#Hotel%20Photos01:34
ChrisHsivang: Niiice. :) Just my styile.01:36
ChrisHsivang: However I wonder where on the map is the train station.01:36
sivangyes01:37
ChrisHsivang: soyus is (from what I know from lulu) a python framework that will handle the package repository in ubuntu01:37
sivangwhat I was actually trying to figure01:37
sivangwowowo01:37
sivangwe must have them give a talk on the first week also01:37
sivang:)01:37
ChrisHI second that. Pretty important IMHO and I really can't stay for two weeks. During such a long conf I'd expect to have such important issues being displayed more than once.01:39
ChrisHFrom looking through the attendees list I see that hardly anyone attends more than for a few days.01:39
luluguys - we will see what we can do ok! :o)01:40
ChrisHlulu: Hey, no offense intended!01:40
sivangChrisH : you see her very nice clownish smiley?01:42
sivang(using the 'o' as a nose)01:42
luluChrisH: none taken :o) I think we can fit in an intro in one of the group sessions in the first week...01:42
sivanglulu : we are all thirsty to know more and more about ubuntnu, that's the reason of the demands :)01:42
ChrisHlulu: At least I didn't ask to hold the soyus workshop it in my hotel room so I wouldn't need to get up. ;)01:44
sivanghhahaha01:44
lulusivang: I know and it's great :o) but I do know that information will be released at exactly the right time  ;) 01:44
ChrisHAlthough...01:44
sivangis there anything publically available already about Soyus?01:44
enricosivang: if they told you before, they'd have to kill you :)01:49
sivangahmm, I guess so :)01:49
enricoso, how many of the docteam-related BOFs01:50
sivangI've seen 201:50
sivangone by Mako,01:50
sivangand the other by jdub on hoary documentation goals01:50
enricohow many of them before the 9th ?01:50
sivanglemm echeck01:51
sivangoh no the conf page is in rest :)01:52
sivangI wanted to add the new photo links and map of the hotel 01:52
=== sid77 [~sid77@host98-44.pool8020.interbusiness.it] has joined #ubuntu-doc
sivangMap_ of Barcelona Light Rail.01:54
sivangSystem Message: WARNING/2 (<string>, line 136); backlink01:54
sivangDuplicate explicit target name: "map".01:54
=== sid77 hi!
enricosid77: hi!02:00
sid77a question: which are the guidelines for translating stuff? I mean: some times ago I asked for a "style" problem translating the faq, and I was answered to follow the original style found in the wiki. I've seen that now the Italian Translation page is deeply restructured, is it all ok?02:05
enricosid77: I'd imagine that every translation team has its own guidelines.  However, I (together with lulu and daf) just yesterday posted a message to try to clarify the relationships between the docteam and the translation team, so we may get more clues soon02:08
sid77ok02:10
enricosid77: in the meantime, you can ask to the other members of the italian team02:14
sivangenrico : could you give me again the command to make procmail reprocess my mail into folders?02:16
enricoformail -s procmail < mailbox02:16
sivangenrico : ah thank you!02:17
sivangbtw, can I still use the hornbeck repo?03:12
sivangto add content to UB ?03:12
sivang(ubuntu book)03:12
enricoI'd think so03:13
sivangok03:13
=== sivang downaloding the package
=== plovs [~plovs@195.13.248.82] has joined #ubuntu-doc
enricoAbout packaging the FAQs, I told Sivan that he can find a simple package in http://lento.uncasino.it/enrico/store/openoffice.org-thesaurus-it_0+20041114.orig.tar.gz03:14
enrico(that's going to reach unstable after ftpmaster's approval: it'll take like 2 weeks if everything goes well03:15
enricosid77: btw, that's the Italian Thesaurus for OpenOffice!!03:15
enricosid77: and with a supercool history behind it!03:15
sid77what?03:16
sivangok I have the pkg03:16
sivangenrico?03:16
sid77oh, k. read. lol 03:17
enricosivang: yes03:18
sivangok, I'm ready with the package03:19
enricosid77: it's been made by a 3rd grade liceo scientifico high school and their italian teacher03:19
enricosid77: then, other schools and volunteers joined03:19
sid77yeah03:19
enricosid77: I asked them to work with the class and the english teacher to write some history of what happened, and to hype themselves a bit, and then include it in the package03:20
enricosivang: have a look at the debian/ directory: it should be minimal03:20
sid77ahahahha03:21
enricosivang: if you forget about unpacking the zipfiles, you can see how to install files where you want03:21
enricosivang: of course the FAQs also have a makefile03:21
enricosivang: you also see an example of a simple debian/control, and a postinst file in which you can add commands in case you need to invoke scrollkeeper after the installation03:22
enricosivang: do you have enough to start making a debian/directory now?03:22
enricothen we can work from that03:22
sivangenrico : I think so, lemme look03:23
sivang tar xvf openoffice.org-thesaurus-it_0+20041114.orig.tar.gz03:24
sivangtar: This does not look like a tar archive03:24
sivangtar: Skipping to next header03:24
sivangtar: Archive contains obsolescent base-64 headers03:24
sivangtar: Read 811 bytes from openoffice.org-thesaurus-it_0+20041114.orig.tar.gz03:24
sivangtar: Error exit delayed from previous errors03:24
enricosivang: tar zxvf...03:25
enricoYou forgot the 'z'03:25
enrico:)03:25
sivangshit03:25
sivang:)03:25
enricoPeople... anyone minds if I convert DocumentationTeamCurrentWork to MoinMoin?03:26
enricoIt's reSt03:26
sivanggo ahead!03:26
sivang:)03:26
sivangI got pinched by rest another time today,03:26
sivang:)03:26
sivangwhen trying to add a SIMPLE link for the hotel pictures and map03:26
sivangwhy can't it "just work?" :)03:27
sivangenrico : looking at the debian folder, it looks good03:27
sivangI see I should probably use postinst to call scrollkeeper-update03:28
enricobleh... Moin tables aren't that nice to edit either03:29
sivangwell they are not,03:29
sivangbut a simple link should not require to lean another lang right03:30
sivang?03:30
sivangI tried so silently to immitate the already resisding link there, and walked slowly away from the interpreter so it won't notice me , and then " BEEEEEEEP!!! YOU'RE BUSTED, WRONG MARKUP DUDE"03:31
sivang:003:31
sivang:)03:31
enricoI left it in reSt, as in that specific case it's easier to update than MoinMoin03:33
enricosivang: how are you doing?03:38
sivangenrico : I have the dir, having trobule syncing the versino from hornbeck's repo, lemme try again.03:39
enricosivang: I did an svn update here and it works03:42
enricowhat trouble did  you have?03:42
sivangworking now03:43
sivang:)03:43
sivangit's updated03:45
sivangI'll new create /debian under the source trre of the faq,03:45
sivangthis is the right way right?03:45
enricoyes03:46
sivang(and copy the skeleton files into there)03:46
sivangdone03:46
sivangoh and this is now the new "book" not just plain faq anymore, if I recall right,03:47
sivangChrisH ?03:47
sivangenrico : first let us start with debian/rules :)03:49
enricosivang: no: first is debian/control03:49
sivangyes03:49
sivangsorry03:49
sivangok, control03:49
enricosivang: there you decide the package name, if it's arch-indep or arch-dependent, and which are your build-dependencies03:49
sivangok I want to call the pkg ubuntu_handbook03:49
enricothat is, first state what you're about to do, then do it :)03:49
enricono underscores03:50
enricoubuntu-handbook is better03:50
sivangwhy no underscores?03:50
sivangubuntu convention?03:50
enricounderscore separate the package name from the version in the .deb file name03:50
enricoafter debian/control, create the initial debian/changelog, so that you have a communication channel with your users and a place ot annonate what you do03:51
sivangok, fields in /control:03:52
sivangSource:03:52
=== falco [~falco@a81-84-137-51.netcabo.pt] has joined #Ubuntu-doc
sivangubuntu-handbook?03:52
sivangwhy is the meaning of a source/bin pkg when dealing with docs? 03:53
enricoBecause you always have a source package that creates a binary package.  In this case the terms source and binary are a bit abused; however, you have a source package that generates the packages that get installed03:53
enricothe source packages is what you download with "apt-get source".  The "binary" packages is what you download with apt-get install03:54
enricoFor example, in the source package you don't have the generated .pdf and .html files03:54
enricoYou generate them when you build the package and then you include them in the 'binary' package03:55
ChrisHsivang: You want to create a package from the book? Yes, then it's /debian. But why would anyone need a package from source files for a book?03:56
enricoChrisH: the intention is to package the book itself03:57
ChrisHenrico: Uh huh. For yelp/scrollkeeper I assume.03:57
sivangChrisH : when creating a package for such documentation, the package holds the source and calls make on it, after it will register it with scrollkeepr and it would be brwoseable from yelp.03:58
ChrisHsivang: k. Now I get it.03:58
sivangenrico : I have edited my control, would you like to take a look at it?03:59
enricosivang: sure: did you commit it?03:59
sivangenrico : commit? I just edited the file04:00
enricosivang: if you want me to see it, commit it :)04:00
enricothe I can fix it and commit it again04:00
enricoelse, what are we using this subversion server for?04:00
sivangok I'll commit now04:02
sivangI just realized04:02
sivangI did svn commit and got this:04:02
sivang--This line, and those below, will be ignored--04:03
sivangM    parts/about/main.xml04:03
sivangM    parts/about/chap-ubuntu.xml04:03
sivangwhat does it want from me?04:03
enricoYou probably modified them04:03
sivangI did04:03
enricoIf you don't remember doint it, you can abort the commit, checkout a fresh version, and work on that one04:03
enricoThe diff those 2 files and see the modifications04:03
enricoIf instead you modified those files, it wants to commit them04:04
enricoIf you only want to commit debian/*, do svn commit debian04:04
sivangI want to commit it,04:04
sivangI just wq from vi?04:04
sivangit new part I added to the book04:05
sivangunder about ofcourse04:05
enrico:q! from vi, then svn will notice it's unchanged and prompt you to abort04:05
sivangAuthentication realm: <http://69.155.172.150:80> Documentation Team Repository04:06
sivangPassword for 'pooh':04:06
enricosivang: I imagine you have a password for the repo?04:07
sivangyes, but not under the user of pooh04:07
enricoso try using --username04:07
sivangI should have done something to tell svn sivang is the username?04:07
enricosvn help commit04:08
sivangk04:08
sivangerrgh04:12
sivangmy password doesn not let me in04:12
sivangcommited04:13
sivangfinally04:13
=== enrico gets it
enricosivang: do an svn status04:14
enricoI see your modifications in those 2 files, but not the new debian/* files04:14
enricoyou probably forgot to do svn add on the new files04:14
enricosvn status shows you what's the status of the various files in your local copy04:14
sivangok04:18
enricosivang: did you manage to commit the debian/ directory?04:19
sivang svn status04:20
sivang?      debian04:20
sivang?      parts/about/chap-background.xml04:20
enricothe ? means that svn doesn't know anything about them04:21
enricoif you want them in the repository, you need to svn add them04:21
enricosvn add debian parts/about/chap-background.xml04:21
enricothen you'll see them with 'A' instead of '?'04:21
enricoand you can commit their addition04:21
enrico.04:22
sivangrecommited04:24
sivangcheck now04:24
enricogot it!04:25
sivanggreat04:26
sivangdo you get the chap-ubuntu changes?04:26
sivang(ubuntu background)04:26
enricosivang: yes, also chap-ubunut04:28
enricoabout control: "Maintainer:" should be you04:28
enricoI'll fix it and commit it04:29
sivangk, thanks04:29
sivang:)04:29
sivangit's fun working that way04:29
enricothen you can do svn diff and see what changed04:29
sivangyes04:30
enricoyou can fix the copyright file, before we forget about it :)04:32
sivangright04:33
sivanghow do I svn diff?04:33
enricoIn the description, you say that it can be converted, implying that the package only distributes the docbook sources04:33
enricosivang: svn help diff04:33
enricoBut the makefile actually builds the HTML version of it04:33
enricoWe can make a multi-binary package, that is a source package that generates various binary packages: one with the docbook sources for yelp, one with the PDF and the HTML04:34
enricoOr we can package everything in a single package04:35
enricoI suggest we package everything in a single package, then split it if needed04:35
sivangenrico : ok04:35
sivangenrico : agreed04:35
enricosivang: committed04:37
=== skyrider [~skyrider@kid.stu.cn.ua] has joined #ubuntu-doc
sivangenrico : ${shlibs:Depends}, <==?04:40
enricoWell, we don't need it, so you can delete it.  It would be replaced by library dependencies by a debhelper script that calls 'ldd' on every binary you generate and checks which libraries they depend on04:40
sivangwhat does it mean?04:41
enricosivang: try this.  Do a ldd `which ls`, you'll see which shared libraries 'ls' depends on.  If you call dpkg -S on the full path of all of these libraries, then you get a list of debian package names04:43
enricoThis is an automated way of knowing which debian library packages are used by ls, and so they should be on 'ls' dependency list04:43
sivangwow nice!04:43
enricoSince we don't have any binary executable file, we don't need that.04:44
sivangI bet somekind of debhelper does it automagically04:44
enricodh_shlibdeps04:44
sivangright :)04:44
sivang         librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x40027000)04:44
sivang        libacl.so.1 => /lib/libacl.so.1 (0x4002e000)04:44
sivang        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x40035000)04:44
sivang        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0x40170000)04:44
sivang        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)04:44
sivang        libattr.so.1 => /lib/libattr.so.1 (0x40180000)04:44
sivangcoooooooool!04:44
sivangcommited04:45
=== wartylog [~warthylog@port49.ds1-van.adsl.cybercity.dk] has joined #ubuntu-doc
=== Topic for #ubuntu-doc: Ubuntu Doc Team - general discussion - backlog at http://irclog.workaround.org | This channel tries to follow the tradition of the #gnome-love channel on irc.gimp.net, all new comers and questions are welcomed, as long as you follow the Ubuntu community code of conduct @ http://www.ubuntulinux.org/community/conduct first.
=== Topic (#ubuntu-doc): set by sivang at Sat Nov 20 20:50:09 2004
=== warthylog [~warthylog@port49.ds1-van.adsl.cybercity.dk] has joined #ubuntu-doc
=== Topic for #ubuntu-doc: Ubuntu Doc Team - general discussion - backlog at http://irclog.workaround.org | This channel tries to follow the tradition of the #gnome-love channel on irc.gimp.net, all new comers and questions are welcomed, as long as you follow the Ubuntu community code of conduct @ http://www.ubuntulinux.org/community/conduct first.
=== Topic (#ubuntu-doc): set by sivang at Sat Nov 20 20:50:09 2004
(enrico/#ubuntu-doc) ubuntulog probably scared it04:57
(sivang/#ubuntu-doc) heheh04:58
(enrico/#ubuntu-doc) warthylog: hello. have you met ubuntulog? Maybe you can become friends04:58
(sivang/#ubuntu-doc) haha04:58
(sivang/#ubuntu-doc) they can mate and then have decsendents :)04:58
(enrico/#ubuntu-doc) sivang: committed the new changelog. If you want to edit it, you can use the 'dch' script: very very handy05:00
(sivang/#ubuntu-doc) commited copyright05:00
(enrico/#ubuntu-doc) also, I don't know if the distribution (on the 1st line of the changelog) shuold be changed for ubuntu. I think so, but I should ask how05:00
(enrico/#ubuntu-doc) It doesn't matter for now05:00
(enrico/#ubuntu-doc) sivang: the copyright file is perfect!05:01
(sivang/#ubuntu-doc) it is?05:01
(enrico/#ubuntu-doc) it is05:01
(enrico/#ubuntu-doc) now, debian/rules.05:01
(enrico/#ubuntu-doc) you have to add "include /usr/share/cdbs/1/class/makefile.mk05:02
(enrico/#ubuntu-doc) after the include for debhelper05:02
(enrico/#ubuntu-doc) You can remove 'tarball' and its stuff, like the DEB_TAR_SRCDIR and THES_BASE lines05:02
(enrico/#ubuntu-doc) And the UNZIP=-n and export UNZIP lines05:03
=== wartylog [~warthylog@port49.ds1-van.adsl.cybercity.dk] has left #ubuntu-doc []
=== wartylog [~warthylog@port49.ds1-van.adsl.cybercity.dk] has joined #ubuntu-doc
=== Topic for #ubuntu-doc: Ubuntu Doc Team - general discussion - backlog at http://irclog.workaround.org | This channel tries to follow the tradition of the #gnome-love channel on irc.gimp.net, all new comers and questions are welcomed, as long as you follow the Ubuntu community code of conduct @ http://www.ubuntulinux.org/community/conduct first.
=== Topic (#ubuntu-doc): set by sivang at Sat Nov 20 20:50:09 2004
enricothen, you can test building the package with "fakeroot debian/rules build"05:05
enricoThat should perform all steps until invoking the makefile and letting it build05:05
enricoYou can actually checkout also http://69.155.172.150/docutils and see the packaging there05:06
sivangI still have to understand how to register it in the scrollkeeper, the docs are bit blurry05:07
sivang(for scrollkeeper)05:07
enricoIt was 2 hours that I was thinking "but I just did the same work a few days ago..." :)05:07
sivangand also I want to make a new front page for the first yelp invocation05:07
sivangwhat?05:07
enricoOne thing at a time: first get a debian package to build, then let it do what you want :)05:07
sivangok :)05:07
enricosivan: You can actually checkout also http://69.155.172.150/docutils and see the packaging there05:07
sivangI noticed that :)05:08
sivangchecking out docutils05:10
sivangtakes long,strange05:10
plovshi guys05:13
sivangenrico : error in docutils, look at the control file . in the description section05:18
enricoOh :)  Polygen05:21
enricoOr Proxysperm, Polpybel, Polsybel, Polpiflex05:22
enrico(polygen is able to generate its name randomly)05:22
enricofixing it05:23
enricocommitted05:24
enricosivang: how are you doing with debian/rules?  Does it compile?05:25
sivangenrico : finishing to modify it05:26
sivangDEB_TAR_SRCDIR=.05:26
sivangTHES_BASE=build-tree/05:26
sivangthis is required?05:26
enricosivang: 17:00 < enrico> You can remove 'tarball' and its stuff, like the DEB_TAR_SRCDIR and THES_BASE lines05:26
enrico17:00 < enrico> And the UNZIP=-n and export UNZIP lines05:26
=== enrico loves backscroll: it's easier than retype :)
sivangsorry05:27
sivangwoops05:27
sivang:)05:27
sivangenrico : will you take a look at my rules?05:28
sivang(commited)05:28
enricosivang: remove the 'tarball' line, as you don't need to ship a tarball inside your source package to be unpacked at build time05:29
sivang/usr/share/cdbs/1/rules/tarball.mk:47: *** You must specify DEB_TAR_SRCDIR.  Stop.05:30
luluplovs:ping05:30
sivangoh05:30
sivang:)05:30
enricothen try 'fakeroot debian/rules build' to see if ti works05:30
plovslulu: hi05:30
sivangenrico : it created lots of html files on the parent dir05:31
sivangthat's all05:31
enricosivang: it went so far as to call the makefile, then.  it doesn't need to do much more05:31
enricowe're ok so far05:32
enricoNow, we probably have to fix upstream's makefile :)05:32
=== enrico hates when he's ALSO upstream
enricosivang: Did you work with makefiles in the past?05:32
sivangyes :)05:32
sivangenrico : yes, but on low end uni projects, not ones of big projects etc.05:33
enricosivang: good!  So, we probably want to generate the HTML in a subdirectory and a PDF file05:33
enricoappearently, xsltproc ignores the target file and just generates tons of html files05:34
enricoit probably wants a directory and not a file name, and the directory must exist according to xsltproc manpage05:34
sivangenrico : I don't understand how cdbs calls our make file :)05:35
enricoIt just calls "make" :)05:35
enricoIf you want to have more parameters passed to it, you can add something like: DEB_MAKE_BUILD_TARGET+="further make options"05:35
enricoI'll fix the makefile for you.  moment...05:36
sivangtnx05:37
enricosivang: committed05:41
sivangok, let me check out05:42
sivangenrico : do you know if ubuntu devs are also using cdbs?05:43
sivangfakeroot debian/rules05:43
sivangtest -x debian/rules05:43
enricosivang: I think it depends on their preference05:44
sivangdoes not using cdbs allows finer grain control over pkg?05:44
enricoin theory not, but since cdbs is not that documented yet, one may feel like it because they don't know how to perform changes05:45
enricoHowever, I see two cases:05:45
plovsenrico, i have been looking at the man-pages, tomorrow i want to work on the apt apt-pages, where do i put them? do we have something in svn for it?05:45
enrico1) changes over the common practices are small, then use cdbs05:45
enrico2) changes over the common practices are huge, then just do things the old way05:46
sivangok, I get it now05:46
enricoplovs: good question05:47
enricoplovs: I suggest you just put the changes as patches attached to bug reports in the Debian BTS or the Ubuntu bugzilla05:47
enricoThat way, the maintainers can pick them up and include them in their packages05:47
enricoOh, wait.  I'm talking about the manpages... what do you mean apt apt-pages?05:48
sivangenrico : why does debian rules only does test -x debian/rules ?05:52
sivangnothing happens05:52
enricoUhm... it appears that Lupin uses KDE: http://www.blogmatic.net/mie/lupin_linux.avi :)05:52
sivangwho is Lupin?05:55
sivanghehe he recieved a spam05:55
sivang:)05:55
enricosivang: really, you don't know who's Lupin?05:56
sivangno :05:56
sivang:(05:56
enricoOne of the best Japanese animation thingies: stories of a cool thief05:57
enricoIn Italy, it's a supercult05:57
enricosivang: got the new makefile?06:01
enricoworks for you?06:01
sivangsec06:01
sivangXSLTPROC = /usr/bin/xsltproc --xinclude06:02
sivangXSL = ubuntu.xsl06:02
sivang.PHONY: all06:02
sivangall: html/index.html06:02
sivanghtml/index.html: usersguide.xml $(XSL) $(shell find parts -name '*.xml')06:02
sivang        mkdir -p html06:02
sivang        $(XSLTPROC) -o html/ $(XSL) $<06:02
sivangclean:06:02
sivang        rm -rf html/06:02
sivang?06:02
enricoSounds like what I committed, yes06:02
sivangok,06:02
sivangwhen I do fakroot debian/rules06:02
sivangi get "test -x debian/rules" and nothing more.06:02
enricoit may be because you already built the HTML06:04
enricotry make clean and build the package again06:05
enricomake doesn't do things that don't need to be done :)06:05
sivangthe same06:06
sivangI did make clean and redid rules,06:06
sivangsame result06:06
enricoshow me the output of 'make'06:10
sivangmake alone does it right,06:12
sivangaxcluding06:12
sivangexcluding:06:13
sivangwarning: failed to load external entity "parts/gnome/main.xml"06:13
sivangusersguide.xml:86: element include: XInclude error : could not load parts/gnome/main.xml, and no fallback was found06:13
sivangbut when I do fakroot debian/rules it just gives:06:13
sivangtest -x debian/rules06:13
enricosivang: let's see06:19
enricowhat's in your debian/rules06:20
enrico?06:20
enricohere, it all works for me, with only 2 lines in debian/rules (namely, including debhelper.mk and makefile.mk)06:21
enricosivang: around?06:27
=== sm-zzz is now known as sn
=== sn is now known as sm
=== enrico plays dopewars waiting for sivan
=== enrico is worried for sivan
ChrisHenrico: Perhaps he ran out of batteries again. :)06:50
enricohe seems to be still connected: I didn't see its connection time out06:51
=== enrico would like to find hornbeck online
ChrisHAt the conference every Ubuntu maintainer gets an RFID tag implanted. Then we always know where sivang is.06:54
enricoI'll start wearing a lead suite :)06:54
plovsChrisH: cool! and then we all go shopping together, peep peep 06:54
ChrisHplovs: Better. You don't need to pay. Everything you steal will be automatically charged to your credit card.06:55
=== enrico will be a RFID fortune teller
enricoIn the glass ball, a monitor with the RFID info read from the customer's RFID-enabled passport06:56
enricoI see... you're American!06:56
ChrisHHardly. :)06:56
plovsis there some way to see what has changed in svn (RecentChanges)06:56
enricoAnd you leave in... Alabama!06:56
enricoplovs: svn diff06:57
enricosvn -r <an old version> diff06:57
enricoor svn log06:57
plovsenrico: thanks06:57
plovsenrico: i'm ok with putting man-page updates in bugzilla, but svn would give others a chance to look at it as well, i would like to get second opinions07:03
enricoplovs: in that case, it's a bit hard to track things right, as the upstream manpage could change in the meantime07:06
plovsenrico: then i'll just put it there and others will have to get from there then07:08
enricoI'd think so.  I think the likeliness of someone wanting to correct a correction is so low that it doesn't justify optimizing for review (in this case)07:09
enricoRemember to post patches, though07:09
plovsdo we have a page now on naming Ubuntu or UbUntuGnuLinux etc?07:10
enricoplovs: I started an ubuntu-doc-tools with XML entities definitions for these ones07:12
enricolink coming07:12
plovsenrico: are there any plans to make sym-links in the repositories from hoary to stable etc?07:12
enricoplovs: svn co http://69.155.172.150/docutils07:12
enricoplovs: I don't know about that: I can ask the devels if you want07:12
enricoI mean, I can ask #ubuntu-devel07:13
plovsenrico: what do you think, i was reading the apt-page and it would simplify things, off course only if we use pinning as well07:13
enricowhat do you mean with apt-page?07:14
plovsthe apt man-page07:15
enricoah, ok07:15
enricoI'll ask #ubuntu-debvel07:15
plovsin bugzilla it was asked to be updated, basically thet is s/Debian/Ubuntu/g and then stable/hoary etc07:16
plovsenrico: thanks07:17
enricoI report the answer here for the logs: no stable->warty kinds of links, although they do existin the CDs just in case d-i would break without them07:20
plovsenrico: ok07:23
=== maskie [~maskie@196-30-111-136.uudial.uunet.co.za] has joined #ubuntu-doc
sivangenrico : here!07:42
ChrisHHey, sivang found his batteries. :)07:42
=== enrico is back
lulunight all :o)07:56
=== lulu [~lu@host217-37-231-28.in-addr.btopenworld.com] has left #ubuntu-doc []
sivangChrisH : what's RFID tag? :)07:59
ChrisHsivang: Ah, sorry, I didn't think of your 3rd world country. ;)07:59
sivangyes, you have to explain everything 3 times before we understadn :)08:00
ChrisHsivang: That are little transponders that are activated by a electromagnetic field and emit information that is stored.08:00
ChrisHsivang: They are introduced in some larger companies to "tag" goods. We at work are using it for more expensive things to track them until they reach the customer.08:00
enricoChrisH: strange that an israelian doesn't know about RFID though08:00
enricoI know Israel is quite advanced on surveillance things08:00
ChrisHsivang: But it's dangerous. In the US companies are already tagging employees in first tests. Some customers service cards already contain RFIDs without telling the people. So they can track the customer everywhere where they have an antenna installed.08:01
sivangChrisH : oh, I know about this :) just didn't know the acronym08:01
ChrisHenrico: Nah, I'm just joking with Sivan because he has some drainage and power problems. ;)08:01
sivangOMG08:01
sivangenrico : we do, the electric corporation is still in it's beta stage :)08:02
enricootoh, someone is working on a cheap rfid reader detection device, that would beep whenever it's in range of and RFID reader 08:03
sivangenrico : I am not really interested in this technologies, actually they are big disgrace to freedom of speech IMHO08:03
enricoand a faraday-cage passport holder08:04
enricosivang: very sure08:04
=== ChrisH wants an RFID tag that destroys all reader in range ;)
sivanghaha08:04
sivangmy order first!08:04
sivangwhen you open the company, ChrisH08:04
ChrisHOkay... :)08:05
=== ChrisH registeres finaltag.com
sivang;-)08:05
sivangenrico : ok, let's get back to the package, ok?08:05
ChrisHThat reminds me... I need to get the mentors t-shirt done. Oops. Mataro is close.08:05
enricosivang: ok.  last thing I said was: show me your debian/rules08:05
sivangyes, too close :)08:05
=== silbs [~sbsm0084@host217-37-231-28.in-addr.btopenworld.com] has left #ubuntu-doc []
sivangenrico :  cat rules08:06
sivang#!/usr/bin/make -f08:06
sivanginclude /usr/share/cdbs/1/rules/debhelper.mk08:06
sivanginclude /usr/share/cdbs/1/class/makefile.mk08:06
enricosivang: it should work, then08:06
enricoshow me the output of fakeroot debian/rules clean; fakeroot debian/rules build08:06
enricoif it's long, mail it08:06
sivangmailed08:10
enricosivang: sounds like it works to me08:14
enriconow you can add "html/" in debian/docs to have the HTML documentation installed correctly in /usr/share/doc08:16
enrico(that is handled by dh_installdocs, called by cdbs.  If you want to know about the format of the docs file, read dh_installdocs manpage)08:17
sivangso everything under debian/doc --> {system_root$}/usr/share/doc ?08:21
enricono... you list files inside the debian/docs file, and then dh_installdocs will make sure that they'll be installed in /usr/share/doc/package/...08:23
sivangenrico : ok08:30
sivangbut I didn't make "fakeroot debian/rules" run08:33
enricoSorry, I didn't understand: say it again?08:34
sivangenrico : I could not execute "fakeroot debian/rules" and have an html dir ready08:36
enricoThat should be "fakeroot debian/rules build"08:37
sivangah oops08:38
enricoWhen I do it, then I can "ls -la html" and see the generated files.  You should be able, too08:38
sivangI can08:38
sivangit works here the same08:38
sivangok,08:38
sivanglet's go on and finish this package :)08:38
enricoNow you can do the debian/docs file and try your luck with "fakeroot debian/rules binary"08:39
enrico"fakeroot debian/rules binary" creates the .deb file.  It'll put it in the directory ABOVE the one you run the command08:39
enricoTo see if a .deb has what you need, you can dive into it using "mc"08:39
enricoOr, you can see what went inside it by having a look in debian/ubuntu-handbook08:40
enricosivang: how is it going?08:49
enricosivang: I'll have to leave in 30 minutes or so, but I'll also have to make a phone call09:00
enricohowever, you're almost there.  The package name mismatches between debian/control and debian/changelog, and that's probably the only showstopper you have to having a .deb file built.  Then, it's just small fixes.09:00
sivangI'm here09:00
sivangsorry09:00
enricoAbout scrollkeeper, read /usr/share/doc/scrollkeeper/README.Debian09:00
sivangok, I see09:00
sivangI will thakns,09:00
sivangsounds like I'm really almost there.09:00
enricoyou can also apt-get source some package which installs scrollkeeper-enabled documentation and see what they do09:00
enricoYes, you're almost there.09:00
enricoUse mc to navigate inside .deb files09:00
enricoQuit mc and restart it if you suspect it's caching the contents of an old .deb file (sometimes it does it)09:00
enricoWhen you think it could work, try dpkg -i <package>.deb and see what happens: it might even work :)09:00
enricoIf it doesn't work, you can always "dpkg --purge ubuntu-handbook" and try again09:00
sivangok, thanks alot enrico!09:01
enricosivang: if tonight you have some time, I'd really like you to put down a small technical story on how you packaged this, which could be useful for people learning how to make .deb packages09:02
enricoafaik, there are not many beginner's documents about it (although ChrisH may know of some that I don't)09:03
enricoI know of none :)09:03
sivangok, I will talk with him also09:08
sivangabout it09:08
sivanganywya, I'm off to the shower and then finish the package,09:08
sivangI will not do anything more today bedies finishing the package and writing the newbie howto to the packaging09:09
ChrisHUh... what's that? http://www.ubuntulinux.org/support/documentation/howto/starterguide09:14
ChrisHShouldn't parts of that rather to into the user guide?09:15
sivangAFKwhat is that?09:15
sivangAFKanyway, after shower..09:16
ChrisHJust found it on the page.09:16
=== skyrider [~skyrider@kid.stu.cn.ua] has joined #ubuntu-doc
ChrisHI just heard that KDE is about to be packaged for ubuntu. Looks like we need to do our screenshots twice. :)10:29
ChrisHForget that... the information is still classified. Sorry, but I need to blank your memories.10:32
=== sivang [~sivang@80.179.93.130.forward.012.net.il] has joined #ubuntu-doc
sivangChrisH : ok, what is that link used for?10:51
ChrisHsivang: Just saw it on the front page. Haven't heard from it before.10:52
sivangah ok, what nm docs are you working on for the bof?10:53
ChrisHsivang: The new maintainers/mentoring stuff Mark asked for. However I don't see a meeting for that yet. I hope it's not for the bin.10:54
=== netjoined: irc.freenode.net -> saberhagen.freenode.net
=== sivang [~sivang@80.179.93.130.forward.012.net.il] has joined #ubuntu-doc
=== skyrider [~skyrider@kid.stu.cn.ua] has joined #ubuntu-doc
=== falco [~falco@a81-84-137-51.netcabo.pt] has joined #ubuntu-doc
=== sm [~simon@lsanca1.ar5-4.15.64.42.lsanca1.dsl-verizon.net] has joined #ubuntu-doc
=== boglot [~logbot@mentors.workaround.org] has joined #ubuntu-doc
=== asw [~Alexander@node-423a728a.bos.onnet.us.uu.net] has joined #ubuntu-doc
=== ChrisH [~chaas@212.12.58.114] has joined #ubuntu-doc

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