/srv/irclogs.ubuntu.com/2009/06/03/#ubuntu-motu.txt

=== smarter_ is now known as smarter
neurobuntuwhen specifying the build-depends in the control file can you use wild card characters or does each package have to be specified individually?17:19
persianeurobuntu, You need to specify packages individually.17:19
neurobuntuthank you persia17:20
=== pace_t_zulu is now known as pace_t_zulu|work
=== tuantub is now known as soKhenYeu
=== mcasadevall is now known as NCommander
loic-mOnce a patch has been applied upstream, can I erase the patch from debian/paches in the merge that ships the relevant upstream tarball.17:58
persialoic-m, Yep.18:00
loic-mpersia: thanks again18:00
persia(in fact, that's why some people recommend the use of debian/patches: it makes it easier to track what to drop.)18:00
pace_t_zulu|workis the LGPL adequate licensing to get a software package into ubuntu?18:01
=== pace_t_zulu|work is now known as pace_t_zulu
persiapace_t_zulu, Yes.  LGPL is completely acceptable.18:02
pace_t_zulupersia, thank you18:03
=== soKhenYeu is now known as soChuMeoHK87
dupondjehello, I checked https://merges.ubuntu.com/a/audacious/REPORT, downloaded the ubuntu.tar.gz, fixed it, but how to upload it now ?18:24
persia!sponsoring18:27
ubottuSorry, I don't know anything about sponsoring18:27
hyperairhmm how does one copy a package from ubuntu directly into a PPA?18:27
* persia glares at Nuku-Nuku and considers kicking18:27
hyperairpersia: why?18:28
persiahyperair, Because it complains at me whenever I use an ubottu command.  I want it to do one of the following: 1) use a different attention character, 2) not complain when another bot is doing what I asked, or 3) follow the Ubuntu IRC policy and not be here, because we have bots enough.18:29
persiaAnyway https://wiki.ubuntu.com/DeveloperGuide/Sponsorship18:29
persiaI'm just not yet annoyed enough to kick18:29
hyperairheheh18:29
jpds!test18:32
ubottusigh... again? I'm busy here, I already told you it failed.18:32
dupondjecould somebody plz check https://bugs.launchpad.net/ubuntu/+source/audacious/+bug/38327118:52
ubottuUbuntu bug 383271 in audacious "Please merge audacious 2.0.1-1 (universe) from Debian unstable (main)" [Undecided,Confirmed]18:52
dupondjeIts the first time I fixed a merge, so hope all is ok :D18:52
=== SirDerigo is now known as Guest55720
stefanlsdoh, you did18:59
stefanlsddupondje: i cant make out whats happening in that attachment.  did you  debdiff previous.dsc new.dsc > file.diff ?19:00
=== Guest55720 is now known as SirDerigo
dupondjestefanlsd: yep I did that19:05
stefanlsddupondje: mm. file doesnt have any new lines for me - http://launchpadlibrarian.net/27463987/debdiff19:06
dupondjeweird19:08
dupondjestefanlsd: www.dupondje.be/deb.diff ?19:08
stefanlsddupondje: yeah. that works.19:09
dupondjeits the same :p19:09
dupondjebut ok19:09
dupondje:)19:09
dupondjeneed to add it to the bug or ?19:09
stefanlsdyeah, delete what you have there and try re-attach19:10
dupondjeok done19:11
dupondjegtg now, back in 20mins :D19:13
bencrisfordOk this is gonna be a really nooby question.  And I'm a little embarrassed I am asking :P.  I have edited the debian/control, but as it is read-only I cannot save even with :wq!...   Help?19:14
stefanlsdbencrisford: why is it read only? did you download the file originally with sudo?19:15
bencrisfordstefanlsd: Erm...  Probably :/19:15
stefanlsdbencrisford: if you haven't done much, start again without using sudo...19:15
bencrisfordstefanlsd: I just spent best part of an hour adding depends to all the packages :'(19:15
stefanlsdbencrisford: ok, well then maybe you can work around it.  something like   chown username filename   (your username)19:16
bencrisfordstefanlsd: Hang on, i've had an idea.... :)19:17
bencrisfordstefanlsd: Is it possible to save the changes to a different file19:18
bencrisfordim using vim19:18
stefanlsdbencrisford: yeah.  :w /tmp/newfile19:18
bencrisfordstefanlsd: Oooh, thanks.  Do I replace newfile with a filename?  or what?19:19
stefanlsdbencrisford: yes. filename19:19
bencrisfordstefanlsd: Thank you so much!  You saved my hours work!19:21
stefanlsdbencrisford: np :)19:21
=== soChuMeoHK87 is now known as tuantub
=== santiago-pgsql is now known as santiago-ve
bencrisfordChangelogs have always confused me19:33
bencrisfordstefanlsd: Do I just change the line with the bullet points?19:34
bencrisfordThe top line makes no sense to me :(19:34
stefanlsdbencrisford: Im not quite sure what you are trying to do?  Best is to edit the debian/changelog with the dch command.  So for a new entry,  dch -i   or to edit an entry,  dch -e19:34
bencrisfordi did dch -i19:35
bencrisfordis the changelog .dch?19:35
bencrisfordi think i sorted the rest stefanlsd, but its asking me what to save it as, is it debian/changelog.dch19:36
bencrisford?19:36
stefanlsdbencrisford: the changelog is the file  debian/changelog. debian/changelog.dch is the temporary file it makes while editing.  just save and quit and it will do the right thing19:36
bencrisfordwell im in nano19:37
bencrisfordi did ^X, and it says19:37
bencrisfordsave as debian/changelog.dche and i dont know what its meaning19:37
stefanlsdbencrisford: no sure about nano.  try and just push enter and see what it does. check the contents of debian/changelog for your entry19:37
bencrisfordi did19:38
bencrisfordand it seems to have worked19:38
bencrisfordcheers stefanlsd :)19:38
bencrisfordnow i'll just do a diff, and submit my patch?19:38
stefanlsdbencrisford: yeah19:40
=== DrKranz is now known as DktrKranz
dupondjestefanlsd: back :D19:41
fabrice_spsiretart, sorry to bug you again :-D I'm not able to build the mplayer package as you need to delete the build-indep-stamp target (not created anywhere, but needed for install-indep-stamp)19:41
fabrice_spin debian/rules19:41
stefanlsddupondje: sorry. havent had a chance to look properly. im busy working on something atm19:42
dupondjeok:)19:42
dupondjemaby somebody else can get a look ? :D19:42
=== DktrKranz2 is now known as DktrKranz
fabrice_spdupondje, what do you want to get reviewed? Maybe I can help19:52
fabrice_spBy the way, any brave MOTU willing to have a look at bug #283208?19:52
ubottuLaunchpad bug 283208 in ubuntu "Please merge gmerlin 0.4.0-0.1 from Debian multimedia (unstable)" [Wishlist,Confirmed] https://launchpad.net/bugs/28320819:52
dupondjefabrice_sp:  https://bugs.launchpad.net/ubuntu/+source/audacious/+bug/38327119:54
ubottuUbuntu bug 383271 in audacious "Please merge audacious 2.0.1-1 (universe) from Debian unstable (main)" [Undecided,Confirmed]19:54
fabrice_spdupondje, you shouldn't have ko.po in your debdiff, except if it's within the original ubuntu changes20:05
fabrice_spdupondje, the same for all the .po files and the .pot ones20:05
dupondjehow can I solve that its not included ?20:06
fabrice_sphow do you generate your debdiff?20:07
fabrice_spalso, in your changelog, you should reference which Ubutnu changes are still applicable20:07
dupondjedebdiff debian.dsc ubuntu.dsc > deb.diff20:08
fabrice_sphmmm, should be ok. what you can do is edit the debdiff, us a clean source directory, with debian version, and apply your debdiff20:09
fabrice_spthis is what a MOTU would do to check your debdiff is correct, and the resulting package builds fine20:10
dupondjeso I need to get the debian source, and apply my debdiff on it, and try to compile right ?20:14
fabrice_spdupondje, yes, but use a pbuilder to build it: this will avoid having some generated source updated20:15
fabrice_spso the sequence should be:20:15
fabrice_sp- get a clean debian base source (expand the debian.dsc)20:15
fabrice_sp- apply your debdiff20:15
fabrice_sp- build the ubuntu.dsc20:15
fabrice_sp- check that the package builds with pbuilder20:16
fabrice_spthis way, you should get a clean debdiff20:16
fabrice_spbefore doing that, update your changelog as requested before20:16
dupondjeThere werent any Ubuntu changes to the package ? Or do I misunderstand the questions :)20:17
fabrice_spI think my English is not so good at that time :-)20:18
dupondje;)20:18
fabrice_spwhat I mean is that a merge by definition contains some specific Ubuntu changes (otherwise, it's a sync). This changes should be referenced in you changelog entry20:19
fabrice_spsomething like20:19
fabrice_sp  * Merge from debian unstable (LP: #383271). Remaining changes: ...20:19
fabrice_spyou can use the sebner entry (1.5.1-4ubuntu1) as an example20:20
dupondjeok :) i'll give it a look20:22
dupondjebut it seems my deb.diff doesn't want to apply :s20:22
dupondjewtf :)20:22
dupondjefabrice_sp: enabling SSE2 on x86_64 is in fact the only change I did  + removing the patches that are obsolete ...20:26
fabrice_spin the debdiff you attach, I don't see any change appart the po files...20:26
=== binarymutant_ is now known as binarymutant
fabrice_spso even enabling SSE2 enabling is not there... :-/20:27
dupondje+  * Enabled SSE2 on x86_6420:28
dupondjeit is ?20:28
fabrice_spthe comment, yes20:28
fabrice_spbut the change in debian/rules?20:28
fabrice_spor wherever it is?20:28
dupondjeits in rules20:28
dupondjemmm20:28
dupondjei'll check20:28
fabrice_spbut not in the debdiff20:28
fabrice_spok ;-)20:28
xenocampanoliSubject:  trying to compile libldap-ruby I get ldap.c:424: error: ‘LDAP_OPT_X_TLS_PROTOCOL’ undeclared (first use in this function).  This is shown as a macro only in my /usr/include/ldap.h.  Another told me it is commented out in his /usr/include/openldap.h, but I do not have one of those.20:29
xenocampanoliI am using Ubuntu Server 9.04 for my testing.20:30
dupondjefabrice_sp: http://launchpadlibrarian.net/27467532/deb.diff20:31
dupondjeshould be better20:31
alefterishi all! Can I use pbuilder to build the source package also?20:35
fabrice_spdupondje, it's better. As there is no changes left, put "Merge with Debian unstable. No remaining changes " in your changelog20:36
fabrice_spdupondje, also, get rid of all the .po files changes to send the debdiff20:36
alefterisor a way to build the source package with bzr builddeb?20:37
alefterisnevermind, found bzr bd --quick :)20:38
dupondjefabrice_sp: I downloaded the debian.dsc applied debdiff, builded the dsc21:00
dupondjebut the debdiff result is the same ;)21:00
fabrice_spwhich debdiff you applied? The one with the modifications on the .po files, or one without that?21:01
siretartfabrice_sp: well spotted21:01
fabrice_spsiretart, ;-)21:01
dupondjefabrice_sp: I need to manually remove the .po files ?21:01
fabrice_spsiretart, I've just built the mplayer-nogui packages with that change, so it should be ok21:01
dupondjefrom the diff ?21:01
fabrice_spdupondje, in the debdiff, yes21:01
dupondjeoh ok21:02
dupondjeis there a 'lazy' way to do that ? ;)21:02
fabrice_sphmmm, I can tell you that all the changes after the debian/rules files are .po changes, so you can delete all the line after21:02
siretartfabrice_sp: okay. I think I'll update the debian/get-orig-source.sh script to do something similar like the ffmpeg one before actually uploading it. then it should be easy to add an mencoder package and upload to ubuntu21:06
fabrice_spsiretart, what do you mean by similar to ffmpeg? the 2 get-orig-source.sh looks similar to me :-/ By the way, in Debian, will you still drop the mencoder.c source?21:11
fabrice_sp(this is done in strip.sh)21:12
fabrice_sphave to go. Bye :-)21:19
=== SirDerigo is now known as Guest28568
=== Guest28568 is now known as SirDerigo
dupondjefabrice_sp: http://launchpadlibrarian.net/27469484/deb2.diff21:31
dupondje:p21:31
dupondjehttps://bugs.launchpad.net/ubuntu/+source/audacious/+bug/38327121:34
ubottuUbuntu bug 383271 in audacious "Please merge audacious 2.0.1-1 (universe) from Debian unstable (main)" [Undecided,Confirmed]21:34
dupondjeshould be ok now !21:34
ausimageI am looking for some help in getting an app I am developing into Karmic universe hopefully...21:47
ausimagehttps://edge.launchpad.net/soovee, https://code.edge.launchpad.net/~ausimage/soovee/trunk21:48
ausimageI really need some packaging advice on how to build multiple packages from a python distutils package....21:49
ausimagethen anyother suggestions I can manage to improve the app and get it in ;)21:50
persiaausimage, While I can't comment usefully on python specifically, the basic model for multiple binaries from a single source is fairly straightforward.21:50
persiaOne runs the build system (in this case, distutils), and ends up with a filesystem tree containing all the provided files.21:51
dupondjeNeed review of:21:51
dupondjehttps://bugs.launchpad.net/ubuntu/+source/audacious/+bug/38327121:51
ubottuUbuntu bug 383271 in audacious "Please merge audacious 2.0.1-1 (universe) from Debian unstable (main)" [Undecided,Confirmed]21:51
dupondjehttps://bugs.launchpad.net/ubuntu/+source/audacious-plugins/+bug/38330721:51
ubottuUbuntu bug 383307 in audacious-plugins "Please merge audacious-plugins 2.0.1-1 (universe) from Debian unstable (main)" [Undecided,Confirmed]21:51
persiaOne then creates a set of ${binary-package}.install files in debian/, with each listing the path of the files that belong in that binary package, selected from the set of files constructed by the build system.21:51
ausimageyeah, persia I guess I was unclear how this is accomplished with distutils...21:52
persiadupondje, You mentioned that 20 minutes ago.  You may do better to make sure it's in the sponsors queue, and wait a bit.21:52
ausimagecause distutils does all the magic usually AFIAK21:52
persiaausimage, Separate the concepts in your mind.  distutils does all the magic to construct the target filesystem, putting stuff in /usr/bin, /usr/share/doc, /usr/share/man, etc.21:53
persiaThen, dh_install extracts specific files from that target filesystem, and distributes them into the binary packages.21:53
ausimagehmmm....21:53
persiaausimage, So, when you run distutils from within debian/rules in any of the suggested ways, you end up with debian/tmp/usr/...21:54
ausimagek21:54
persiaThen, when you run dh_install, it pulls from there into debian/${binary-package}/usr/...21:54
persiaAnd those are turned into the tarballs that get inserted into the .deb files.21:55
ausimageso the *.install would be names of packages to build with its on manifest based on the tree under debian/tmp/usr ?21:55
ausimagethat is just a flat file of one file per line?21:56
dupondjepersia: its in the SponsorQue :) sorry for bothering :)21:58
persiaausimage, debian/*.install would be named to match the binary packages, and contain file lists to match the desired contents.  Some classes of wildcards are acceptable.  man dh_install.21:59
persiaYes, just a flat file.  One file (or glob) per line.21:59
ausimagehmmm... I will attempt this...22:00
persiaausimage, Good luck.  If you get stuck, just ask back here.22:00
ausimagepersia anything else I need to get this package moving into the repos?22:00
ausimagepersia: is there a method to get the magic directory for python modules?22:03
persiaausimage, That's where we get into python-specific stuff, and I can't help you very much.22:05
persia(because I don't know myself)22:05
ausimageahh22:05
ausimagehopefully a pythonista will share their knowledge22:05
persiaAs for getting the package into the repos, the best means are either to get it into Debian, or push it to REVU.  Some people find each of them faster or more effective, so it's hard to recommend one over the other.22:07
ausimagepersia: can I have duplicate files in multiple packages?22:13
persiaausimage, You can, but then the packages must conflict.  I doubt this is what you want.22:15
persiaBetter is to abstract out a -common package, and have other packages depend upon it.22:15
ausimageno... k... I am particularly thinking of my docs22:16
ausimagewhich also has licencing et al...22:16
persiaFor docs, a foo-doc package is recommended.22:16
persiaAnd it's generally considered good practice to only Suggests: or possibly Recommends: the -doc package.22:17
ausimageI plan to have cli, gui, lib and core22:17
persia(so users can install it or remove it as they like, rather than forcing it to be present)22:17
persiaAdd -doc to your list, and you're good.22:17
persia-core vs. -common is up for debate, depending on the details of what would be included.22:18
ausimagepersia: how do I show the dependcies?22:19
ausimagea new package section in control?22:20
=== SirDerigo is now known as Guest82371
didrocksmdeslaur: nice :)22:25
persiaausimage, debian/control consists of one Source stanza and some number of Package stanzas.  If you want to generate multiple binary packages, you need multiple Package stanzas.  You'd just add your Depends, Recommends, Suggests, etc. in the Package stanzas, as appropriate.22:28
=== Guest82371 is now known as SirDerigo
ausimagethat is what I thought just wanted confirmation....22:29
ausimageI am wondering why it suggested to Python-Version and Replaces when they generate warnings :?22:52
persiaausimage, Could you rephrase that as a question, perhaps with more context and detail?22:57
ausimagepersia in the dpkg-buildpackage output I notice that Python-Version and Replaces seem to raise warnings that indicate the tag is not valid22:58
persiaausimage, for replaces, review http://www.debian.org/doc/debian-policy/ch-relationships.html  For Python-Version, I think you want XS-Python-Version, and I think that's permitted to be a warning.23:00
persia(but look for a python person to confirm that last bit)23:00
ausimageI will check... other than those... it did build the packages correctly :)23:01
persiaCongratulations.  One's first multiple-binary package is always an adventure.23:01
ausimageYeah reading the web was not helpful imho...23:02
persiaThe answers are all on the net.  The trick is that most of the good information is descriptive rather than prescriptive, and assumes you already know what you're doing, but just need to check to confirm it's correct.23:04
ausimageahh ;)23:04
ausimageI found nothing to indicate the simplicity of multiple packages till you explained it ;)23:05
persiaThe EXAMPLE section of dh_install(1) outlines it very clearly, but I agree that this isn't necessarily the first place people look.23:07

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