{{{ [Thu Oct 21 2010] *** You have joined channel #debian-in-mentors [21:02] *** Users on #debian-in-mentors: j4v4m4n morphium *** #debian-in-mentors modes: +nt *** #debian-in-mentors was created on Thursday 2010/10/14 08:17:44 IST *** tvmanukrishnan (~tvm@117.254.153.88) has joined channel #debian-in-mentors [21:12] tvmanukrishnan: did you try to complete lekhonee-gnome package? [21:13] no :( *** vasudev (~vasudev@117.254.133.80) has joined channel #debian-in-mentors [21:14] Everyone were sleepy and left tvmanukrishnan: vasudev completed building it vasudev: help tvmanukrishnan with remaining part [21:15] was working on copyright file I'll give the link in a sec j4v4m4n: i didn't add watch menu and man pages vasudev: those you can add in your real package [21:16] vasudev: did you chose any package you like to work on? j4v4m4n: ok :) j4v4m4n: i would like to package pypdflib / dhvani vasudev: lekhonee-gnome was just an overview package j4v4m4n: oh but i had good experience in building it [21:17] vasudev: someone from coep started with dhvani, don't know where they are http://paste.debian.net/97500/ vasudev: lets start with pypdflib j4v4m4n: oh ok.. j4v4m4n: any specific tools for python packaging like finding out dependencies [21:18] vasudev: first we need to create a tarball [21:19] say it is 0.1 version yeah i did it vasudev: check tvmanukrishnan's copyright file ok i'll name it j4v4m4n: sure vasudev: please help me with the copyright file [21:21] *** aneesh (~aneesh@32.97.110.53) has joined channel #debian-in-mentors aneesh: have a look at tvmanukrishnan's copyright file http://paste.debian.net/97500/ aneesh: give him any suggestions tvmanukrishnan: please put 2 files in a row tvmanukrishnan: also you have missed copyright statements [21:22] tvmanukrishnan: let me paste my copyright file tvmanukrishnan: http://paste.debian.net/97503/ [21:24] so, if there is a change in copyright holder name or lisence, we need to have separate sections right? [21:25] tvmanukrishnan: yeah.. but if multiple files have same license but different copy right holders that time you list all first and at end put license statement [21:26] vasudev: try watch file now for practice [21:29] j4v4m4n: ok [21:30] tvmanukrishnan: have you seen this http://dep.debian.net/deps/dep5/ [21:33] *** tvmanukrishnan (~tvm@117.254.153.88) has quit: Ping timeout: 480 seconds j4v4m4n: I have a doubt about watch file [21:36] vasudev: ask watch file is used by uscan to scan for changes in upstream rite? what will happen when uscan finds a change? [21:37] vasudev: it downloads the new version j4v4m4n: in which context is this file used? i mean its not required for binaries rite? [21:38] vasudev: go to lekhonee-gnome's page on PTS/Package Tracking System vasudev: PTS is central place for a package [21:39] ok vasudev: or look at libdbusmenu-qt which has a new version [21:40] j4v4m4n: ok [21:41] vasudev: look at todo section j4v4m4n: searched for libdbusmenu-qt got a 404 page [21:42] j4v4m4n: in lekhonee-gnome package section [21:43] vasudev: search debian pts vasudev: click on first result j4v4m4n: i'm in lekhonee-gnome's page i find 3 todo's here [21:44] j4v4m4n: let me search again for libdbusmenu-qt vasudev: enter it in the top right box j4v4m4n: yeah got it :) i think i had a space there [21:45] :) vasudev: what did you notice in the todo section? [21:46] j4v4m4n: yeah it notifies that new version is available and asks for packaging it vasudev: that is what a watch file is for [21:47] j4v4m4n: cool now understood :) vasudev: ok before we go to pypdflib, lets try to complete the todo for libdbusmenu-qt j4v4m4n: ok [21:48] vasudev: it is a bit more complex than lekhonee-gnome j4v4m4n: oh ok vasudev: so you get a better understanding on packaging vasudev: so download the source code with a single command [21:49] j4v4m4n: ok vasudev: what command can you use? apt-get source libdbusmenu-qt [21:50] j4v4m4n: downloading source vasudev: yup, cool! j4v4m4n: :) done [21:51] vasudev: look inside debian directory and see if you can spot anything different compared to lekhonee-gnome [21:52] vasudev: verify if all files are correct and build it j4v4m4n: ok j4v4m4n: single source creates 2 binary? [21:53] vasudev: good observation vasudev: glibc source package creates so many binary packages [21:54] anything else? [21:55] j4v4m4n: oh.. i see 2nd package in control has (= ${binary:Version}), what does this mean? what is the second package name? [21:56] libdbusmenu-qt-dev dev library vasudev: basically we put header files in a separate packge (binary package is kind of ironic here, right :) ) [21:57] j4v4m4n: yeah :) vasudev: it means the dev package depends on the library [21:58] vasudev: if you install libdbusmenu-qt-dev, it will install libdbusmenu-qt2 j4v4m4n: oh ok [21:59] vasudev: did you notice anything strange in the package name? [22:00] j4v4m4n: i also see a .install file j4v4m4n: you mean source package name is libdbusmenu-qt but binary package is libdbusmenu-qt2 [22:01] normally these 2 names will be similar rite? vasudev: yes, any idea why it is different here? try guessing [22:02] vasudev: since we have 2 binary packages .install files specifies which files goes to which binary package [22:03] j4v4m4n: oh.. but still not able to figure why name difference :) [22:05] vasudev: so we will need another guide to understand library packaging [22:07] j4v4m4n: oh vasudev: it is not reccommended for new maintainers' but my first package in debian was libdbusmenu-qt :) vasudev: search for debian library packaging guide j4v4m4n: oh :) yeah read it in new maint guide [22:08] j4v4m4n: ok vasudev: go to Naming shared library package [22:10] j4v4m4n: didn't find package from debian.org found in a site hosted some where else j4v4m4n: ok i'm in that chapter [22:11] vasudev: .jp domain? j4v4m4n: yeah [22:12] vasudev: got the naming convention? vasudev: basically it is to allow more than one version of the library [22:13] yeah so libdbusmenu-qt.so.2 is library produced rite? [22:14] vasudev: some packages may need a specific version of the library, if we update the library and it has a different api the old app will not work vasudev: yes j4v4m4n: oh ok vasudev: if you read through files inside debian directory build it [22:15] j4v4m4n: ok j4v4m4n: ok j4v4m4n: dpkg-buildpackage -rfakeroot ? [22:16] j4v4m4n: one more question what is .symbols file? [22:17] vasudev: yes vasudev: did you try pbuilder? j4v4m4n: no since my net is slow it will take very long time to build base image [22:18] vasudev: .symbols lists list ABI ie, symbols used in the library j4v4m4n: so using debuild and dpkg-buildpackage j4v4m4n: one more question :) how to find that? vasudev: when you start maintaining, a real package it is advised to use pbuilder, because it is a clean build [22:19] vasudev: sorry not ABI vasudev: we will come to that later vasudev: that is bit more advanced/bleeding-edge [22:20] j4v4m4n: oh ok will install it j4v4m4n: i've un met dependencies let me install them :) vasudev: ok [22:21] j4v4m4n: unable to find libqt4-dev and cmake [22:22] are you on lenny? [22:23] no i'm on squeeze [22:26] http://packages.debian.org/search?keywords=libqt4-dev&searchon=names&suite=testing§ion=all [22:27] looks like my recent cron job for apt-update failed for 2 links let me try updating it again [22:28] vasudev: you can run dpkg-checkbuilddeps to see the build dependencies [22:29] j4v4m4n: oh ok vasudev: or do apt-get build-dep libdbusmenu-qt [22:30] oh ok will do it j4v4m4n: these are unment dependencies cmake libqt4-dev but apt-cache search didn't find a package now updaing package index again [22:31] vasudev: ok [22:34] j4v4m4n: this may take some time net is damn slow since its raining here [22:35] vasudev: :( vasudev: did you read new maintainers' guide completely? [22:36] j4v4m4n: no read till 7th chapter didn't read uploading and updating chapter [22:37] vasudev: ok [22:38] vasudev: till download completes, read library packaging guide [22:39] j4v4m4n: ok will do that [22:40] vasudev: any doubts there? [22:47] j4v4m4n: no going through it :) [22:48] vasudev: a symbol files helps us verify if there is an ABI change [22:49] j4v4m4n: oh ok vasudev: even though SONAME is not changed, ABI might be changed - upstream authors might be careless vasudev: we can't trust them [22:50] j4v4m4n: oh vasudev: it also helps to see which minimum version of a library is required for a particular symbol vasudev: a symbol is basically a representation of a function j4v4m4n: oh [22:51] j4v4m4n: do u use any specific tool to find out ABI symbols? vasudev: so if you use only one function from a library and that is not changed in the new version of the library your program will still work with the new library without change vasudev: doubts? [22:52] vasudev: yes, I will come to that [22:53] j4v4m4n: no not till now :) vasudev: this helps when adding new versions of applications [22:54] vasudev: no more suspense, read http://pkg-kde.alioth.debian.org/symbolfiles.html [22:56] j4v4m4n: :) ok :) actually i'm still reading whatever u told [22:57] j4v4m4n: taking me some time to digest :) I'm feeling sleepy now, read the guide and try building the package [22:58] mail me if you get stuck j4v4m4n: sure will do that what about next week? j4v4m4n: thanks a lot for today's session :) you are welcome! [22:59] j4v4m4n: if you are free i'll come else i'll comunicate over mail vasudev: lets keep it open, see if other people comes j4v4m4n: ok :) vasudev: I think it is exam time Shravan has got an exam tomorrow [23:00] j4v4m4n: oh ok bye good night j4v4m4n: my one friend sachith wanted to come but in mangalore its too much rain ok j4v4m4n: so he couldn't come j4v4m4n: good night take care }}}