=== smarter_ is now known as smarter [17:19] when 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] neurobuntu, You need to specify packages individually. [17:20] thank you persia === pace_t_zulu is now known as pace_t_zulu|work === tuantub is now known as soKhenYeu === mcasadevall is now known as NCommander [17:58] Once a patch has been applied upstream, can I erase the patch from debian/paches in the merge that ships the relevant upstream tarball. [18:00] loic-m, Yep. [18:00] persia: thanks again [18:00] (in fact, that's why some people recommend the use of debian/patches: it makes it easier to track what to drop.) [18:01] is the LGPL adequate licensing to get a software package into ubuntu? === pace_t_zulu|work is now known as pace_t_zulu [18:02] pace_t_zulu, Yes. LGPL is completely acceptable. [18:03] persia, thank you === soKhenYeu is now known as soChuMeoHK87 [18:24] hello, I checked https://merges.ubuntu.com/a/audacious/REPORT, downloaded the ubuntu.tar.gz, fixed it, but how to upload it now ? [18:27] !sponsoring [18:27] Sorry, I don't know anything about sponsoring [18:27] hmm how does one copy a package from ubuntu directly into a PPA? [18:27] * persia glares at Nuku-Nuku and considers kicking [18:28] persia: why? [18:29] hyperair, 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] Anyway https://wiki.ubuntu.com/DeveloperGuide/Sponsorship [18:29] I'm just not yet annoyed enough to kick [18:29] heheh [18:32] !test [18:32] sigh... again? I'm busy here, I already told you it failed. [18:52] could somebody plz check https://bugs.launchpad.net/ubuntu/+source/audacious/+bug/383271 [18:52] Ubuntu bug 383271 in audacious "Please merge audacious 2.0.1-1 (universe) from Debian unstable (main)" [Undecided,Confirmed] [18:52] Its the first time I fixed a merge, so hope all is ok :D === SirDerigo is now known as Guest55720 [18:59] oh, you did [19:00] dupondje: i cant make out whats happening in that attachment. did you debdiff previous.dsc new.dsc > file.diff ? === Guest55720 is now known as SirDerigo [19:05] stefanlsd: yep I did that [19:06] dupondje: mm. file doesnt have any new lines for me - http://launchpadlibrarian.net/27463987/debdiff [19:08] weird [19:08] stefanlsd: www.dupondje.be/deb.diff ? [19:09] dupondje: yeah. that works. [19:09] its the same :p [19:09] but ok [19:09] :) [19:09] need to add it to the bug or ? [19:10] yeah, delete what you have there and try re-attach [19:11] ok done [19:13] gtg now, back in 20mins :D [19:14] Ok 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:15] bencrisford: why is it read only? did you download the file originally with sudo? [19:15] stefanlsd: Erm... Probably :/ [19:15] bencrisford: if you haven't done much, start again without using sudo... [19:15] stefanlsd: I just spent best part of an hour adding depends to all the packages :'( [19:16] bencrisford: ok, well then maybe you can work around it. something like chown username filename (your username) [19:17] stefanlsd: Hang on, i've had an idea.... :) [19:18] stefanlsd: Is it possible to save the changes to a different file [19:18] im using vim [19:18] bencrisford: yeah. :w /tmp/newfile [19:19] stefanlsd: Oooh, thanks. Do I replace newfile with a filename? or what? [19:19] bencrisford: yes. filename [19:21] stefanlsd: Thank you so much! You saved my hours work! [19:21] bencrisford: np :) === soChuMeoHK87 is now known as tuantub === santiago-pgsql is now known as santiago-ve [19:33] Changelogs have always confused me [19:34] stefanlsd: Do I just change the line with the bullet points? [19:34] The top line makes no sense to me :( [19:34] bencrisford: 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 -e [19:35] i did dch -i [19:35] is the changelog .dch? [19:36] i think i sorted the rest stefanlsd, but its asking me what to save it as, is it debian/changelog.dch [19:36] ? [19:36] bencrisford: 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 thing [19:37] well im in nano [19:37] i did ^X, and it says [19:37] save as debian/changelog.dche and i dont know what its meaning [19:37] bencrisford: no sure about nano. try and just push enter and see what it does. check the contents of debian/changelog for your entry [19:38] i did [19:38] and it seems to have worked [19:38] cheers stefanlsd :) [19:38] now i'll just do a diff, and submit my patch? [19:40] bencrisford: yeah === DrKranz is now known as DktrKranz [19:41] stefanlsd: back :D [19:41] siretart, 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] in debian/rules [19:42] dupondje: sorry. havent had a chance to look properly. im busy working on something atm [19:42] ok:) [19:42] maby somebody else can get a look ? :D === DktrKranz2 is now known as DktrKranz [19:52] dupondje, what do you want to get reviewed? Maybe I can help [19:52] By the way, any brave MOTU willing to have a look at bug #283208? [19:52] Launchpad bug 283208 in ubuntu "Please merge gmerlin 0.4.0-0.1 from Debian multimedia (unstable)" [Wishlist,Confirmed] https://launchpad.net/bugs/283208 [19:54] fabrice_sp: https://bugs.launchpad.net/ubuntu/+source/audacious/+bug/383271 [19:54] Ubuntu bug 383271 in audacious "Please merge audacious 2.0.1-1 (universe) from Debian unstable (main)" [Undecided,Confirmed] [20:05] dupondje, you shouldn't have ko.po in your debdiff, except if it's within the original ubuntu changes [20:05] dupondje, the same for all the .po files and the .pot ones [20:06] how can I solve that its not included ? [20:07] how do you generate your debdiff? [20:07] also, in your changelog, you should reference which Ubutnu changes are still applicable [20:08] debdiff debian.dsc ubuntu.dsc > deb.diff [20:09] hmmm, should be ok. what you can do is edit the debdiff, us a clean source directory, with debian version, and apply your debdiff [20:10] this is what a MOTU would do to check your debdiff is correct, and the resulting package builds fine [20:14] so I need to get the debian source, and apply my debdiff on it, and try to compile right ? [20:15] dupondje, yes, but use a pbuilder to build it: this will avoid having some generated source updated [20:15] so the sequence should be: [20:15] - get a clean debian base source (expand the debian.dsc) [20:15] - apply your debdiff [20:15] - build the ubuntu.dsc [20:16] - check that the package builds with pbuilder [20:16] this way, you should get a clean debdiff [20:16] before doing that, update your changelog as requested before [20:17] There werent any Ubuntu changes to the package ? Or do I misunderstand the questions :) [20:18] I think my English is not so good at that time :-) [20:18] ;) [20:19] what 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 entry [20:19] something like [20:19] * Merge from debian unstable (LP: #383271). Remaining changes: ... [20:20] you can use the sebner entry (1.5.1-4ubuntu1) as an example [20:22] ok :) i'll give it a look [20:22] but it seems my deb.diff doesn't want to apply :s [20:22] wtf :) [20:26] fabrice_sp: enabling SSE2 on x86_64 is in fact the only change I did + removing the patches that are obsolete ... [20:26] in the debdiff you attach, I don't see any change appart the po files... === binarymutant_ is now known as binarymutant [20:27] so even enabling SSE2 enabling is not there... :-/ [20:28] + * Enabled SSE2 on x86_64 [20:28] it is ? [20:28] the comment, yes [20:28] but the change in debian/rules? [20:28] or wherever it is? [20:28] its in rules [20:28] mmm [20:28] i'll check [20:28] but not in the debdiff [20:28] ok ;-) [20:29] Subject: 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:30] I am using Ubuntu Server 9.04 for my testing. [20:31] fabrice_sp: http://launchpadlibrarian.net/27467532/deb.diff [20:31] should be better [20:35] hi all! Can I use pbuilder to build the source package also? [20:36] dupondje, it's better. As there is no changes left, put "Merge with Debian unstable. No remaining changes " in your changelog [20:36] dupondje, also, get rid of all the .po files changes to send the debdiff [20:37] or a way to build the source package with bzr builddeb? [20:38] nevermind, found bzr bd --quick :) [21:00] fabrice_sp: I downloaded the debian.dsc applied debdiff, builded the dsc [21:00] but the debdiff result is the same ;) [21:01] which debdiff you applied? The one with the modifications on the .po files, or one without that? [21:01] fabrice_sp: well spotted [21:01] siretart, ;-) [21:01] fabrice_sp: I need to manually remove the .po files ? [21:01] siretart, I've just built the mplayer-nogui packages with that change, so it should be ok [21:01] from the diff ? [21:01] dupondje, in the debdiff, yes [21:02] oh ok [21:02] is there a 'lazy' way to do that ? ;) [21:02] hmmm, I can tell you that all the changes after the debian/rules files are .po changes, so you can delete all the line after [21:06] fabrice_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 ubuntu [21:11] siretart, 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:12] (this is done in strip.sh) [21:19] have to go. Bye :-) === SirDerigo is now known as Guest28568 === Guest28568 is now known as SirDerigo [21:31] fabrice_sp: http://launchpadlibrarian.net/27469484/deb2.diff [21:31] :p [21:34] https://bugs.launchpad.net/ubuntu/+source/audacious/+bug/383271 [21:34] Ubuntu bug 383271 in audacious "Please merge audacious 2.0.1-1 (universe) from Debian unstable (main)" [Undecided,Confirmed] [21:34] should be ok now ! [21:47] I am looking for some help in getting an app I am developing into Karmic universe hopefully... [21:48] https://edge.launchpad.net/soovee, https://code.edge.launchpad.net/~ausimage/soovee/trunk [21:49] I really need some packaging advice on how to build multiple packages from a python distutils package.... [21:50] then anyother suggestions I can manage to improve the app and get it in ;) [21:50] ausimage, While I can't comment usefully on python specifically, the basic model for multiple binaries from a single source is fairly straightforward. [21:51] One runs the build system (in this case, distutils), and ends up with a filesystem tree containing all the provided files. [21:51] Need review of: [21:51] https://bugs.launchpad.net/ubuntu/+source/audacious/+bug/383271 [21:51] Ubuntu bug 383271 in audacious "Please merge audacious 2.0.1-1 (universe) from Debian unstable (main)" [Undecided,Confirmed] [21:51] https://bugs.launchpad.net/ubuntu/+source/audacious-plugins/+bug/383307 [21:51] Ubuntu bug 383307 in audacious-plugins "Please merge audacious-plugins 2.0.1-1 (universe) from Debian unstable (main)" [Undecided,Confirmed] [21:51] One 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:52] yeah, persia I guess I was unclear how this is accomplished with distutils... [21:52] dupondje, 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] cause distutils does all the magic usually AFIAK [21:53] ausimage, 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] Then, dh_install extracts specific files from that target filesystem, and distributes them into the binary packages. [21:53] hmmm.... [21:54] ausimage, So, when you run distutils from within debian/rules in any of the suggested ways, you end up with debian/tmp/usr/... [21:54] k [21:54] Then, when you run dh_install, it pulls from there into debian/${binary-package}/usr/... [21:55] And those are turned into the tarballs that get inserted into the .deb files. [21:55] so the *.install would be names of packages to build with its on manifest based on the tree under debian/tmp/usr ? [21:56] that is just a flat file of one file per line? [21:58] persia: its in the SponsorQue :) sorry for bothering :) [21:59] ausimage, 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] Yes, just a flat file. One file (or glob) per line. [22:00] hmmm... I will attempt this... [22:00] ausimage, Good luck. If you get stuck, just ask back here. [22:00] persia anything else I need to get this package moving into the repos? [22:03] persia: is there a method to get the magic directory for python modules? [22:05] ausimage, That's where we get into python-specific stuff, and I can't help you very much. [22:05] (because I don't know myself) [22:05] ahh [22:05] hopefully a pythonista will share their knowledge [22:07] As 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:13] persia: can I have duplicate files in multiple packages? [22:15] ausimage, You can, but then the packages must conflict. I doubt this is what you want. [22:15] Better is to abstract out a -common package, and have other packages depend upon it. [22:16] no... k... I am particularly thinking of my docs [22:16] which also has licencing et al... [22:16] For docs, a foo-doc package is recommended. [22:17] And it's generally considered good practice to only Suggests: or possibly Recommends: the -doc package. [22:17] I plan to have cli, gui, lib and core [22:17] (so users can install it or remove it as they like, rather than forcing it to be present) [22:17] Add -doc to your list, and you're good. [22:18] -core vs. -common is up for debate, depending on the details of what would be included. [22:19] persia: how do I show the dependcies? [22:20] a new package section in control? === SirDerigo is now known as Guest82371 [22:25] mdeslaur: nice :) [22:28] ausimage, 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. === Guest82371 is now known as SirDerigo [22:29] that is what I thought just wanted confirmation.... [22:52] I am wondering why it suggested to Python-Version and Replaces when they generate warnings :? [22:57] ausimage, Could you rephrase that as a question, perhaps with more context and detail? [22:58] persia in the dpkg-buildpackage output I notice that Python-Version and Replaces seem to raise warnings that indicate the tag is not valid [23:00] ausimage, 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] (but look for a python person to confirm that last bit) [23:01] I will check... other than those... it did build the packages correctly :) [23:01] Congratulations. One's first multiple-binary package is always an adventure. [23:02] Yeah reading the web was not helpful imho... [23:04] The 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] ahh ;) [23:05] I found nothing to indicate the simplicity of multiple packages till you explained it ;) [23:07] The EXAMPLE section of dh_install(1) outlines it very clearly, but I agree that this isn't necessarily the first place people look.