=== chuck_ is now known as zul === fta_ is now known as fta [02:43] hey guys [02:50] was wondering if i could get a mentor [02:54] want to get involved with ubuntu [02:59] anyone around? [03:18] tbrock: have you read https://wiki.ubuntu.com/MOTU/GettingStarted ? [03:21] hey sorry i cleared the screen [03:21] would you be able to paste that again? [03:22] i believe I've gone through that site before but i wanted to make sure so I don't annoy you guys and know what i need to do [03:24] tbrock: https://wiki.ubuntu.com/MOTU/GettingStarted and https://wiki.ubuntu.com/PackagingGuide are good places to start with [03:26] thanks [03:26] ok and after i read them [03:26] then where should i go from there [03:27] tbrock: you could start thinking of something you'd like to do, some area you're interested in [03:27] Well, that depends what you decide you want to do? Triage: https://wiki.ubuntu.com/BugSquad/GettingInvolved [03:28] cool thanks guys [03:28] and if i see something i'd like to help with i should come back and ask you guys [03:28] Or just dive in :) [03:29] i'd love too, and i have some experience developing, but never something open source, i may need some hand holding lol [03:29] That's when you come back here and ask for a hand to hold :) === RAOF_ is now known as RAOF__ === RAOF__ is now known as RAOF [03:38] hahah [03:38] thanks! [03:44] I understand someone in this room is responsible for trying to package parallels workstation for linux [03:52] not me, thats for sure [06:56] Hello, can someone review: http://revu.ubuntuwire.com/details.py?package=ubuntume-themes [09:08] DktrKranz: hello, thanks for reviewing thwab [09:08] AnAnt, you're welcome :) [09:09] DktrKranz: regarding debian/pypython file, I duno what Python versions are supported [09:09] AnAnt, if you're unsure, you could put "2.4-" [09:09] without " 's [09:10] DktrKranz: ok, thanks [09:23] Hello, can someone review: http://revu.ubuntuwire.com/details.py?package=ubuntume-themes === asac_ is now known as asac [10:35] bddebian2: hello === asac_ is now known as asac === albert24 is now known as albert23 [12:08] Mez: Can you please renew my backporters membership? Cheers. :) [15:05] DaD DeaD? === bddebian2 is now known as bddebian [15:06] hi all, I am in the process of making some ubuntu packages for a cross compiler based on GNU binutils, and gcc, I need some advice with version numbers for it [15:06] Laney: Yeah. It's really dead. [15:07] the project gets the offical GNU binuntils source and applys a patch to make it work with MSP430 microcontrollers [15:07] do I use the binutils version or create my own based on the CVS snapshot the patch is made from? [15:08] at the moment I am using msp430-binutils-cvs-0.0.20081227 === fta_ is now known as fta [15:13] i wanna be a part of the ubuntu development team how do i start [15:13] delicowa: The links in the /topic are a good place to start. [15:28] can any one here help me with the correct way to version packages that use an upstream package put apply a CVS patch to add additional features? [15:28] would you use the upstream version and append -1 etc? [15:29] AdamDH: patchset-x-binutils-y? [15:29] or binutils-y+patchsetx [15:31] Laney is a new package I am taking to package but based on upstream binutils 2.18 [15:31] with a patch applied to create MSP430 support [15:33] AdamDH: Can't you get it into binutils upstream? [15:33] code duplication is usually a bad thing [15:33] not yet, its still considered unstable, there is a binutils with support but not support for all the MSP processor types out there [15:34] everything is in a CVS resp at the moment, the packages will be unoffical [15:34] i have to do the same for gcc [15:34] Is it parallel-installable with normal binutils? [15:34] yes [15:35] then binutils-x-patchset-y or patchset-x-binutils-y is probably ok [15:35] you do ./configure --target=msp430 so you end up with msp430-ld etc [15:36] so I create my package using 2.18 as version, and then append a -1 etc on the end of that for each CVS update of the patch? [15:37] .s might be better actually, we use - in debian revisions [15:37] i was doing msp430-binutils (cvs-0.0.20081227-1) in the debain files [15:38] but I think that's wrong [15:38] and I was going to increment -1 with the cvs updates [15:38] I am packaging this project http://mspgcc.sourceforge.net/ [15:39] binutils.x.msp.y probably works [15:39] y can be whatever, probably the date of your cvs checkout [15:41] this is my first attempts at packaging, so its a learning curve for me [15:41] so what would the full version string be? [15:42] 2.18 is the current binuils version I am patching against [15:42] and cvs-0.0.20081227 is my patch version, I am creating the patches as well [15:44] binutils.2.18.msp.20081227 looks sane to me [15:44] but you can choose what you will, as long as it increases with each version it doesn't matter so much [15:45] thanks Laney, I am just trying to show that its based on binutils 2.18 and there is a patch applied that I made from CVS sources [15:45] what's the lp link to the new queue? [15:45] (and hi) [15:45] the project is a mess what they do on CVS is have the modified files you copy accross the upstream source, instead of doing that I create a patch [15:45] vorian: /ubuntu/jaunty/+queue [15:45] pfft [15:45] too easy [15:45] thanks Laney [15:46] welcome [15:46] i dont think any of this will ever get offically into ubuntu, so will live in a 3rd party repo [15:47] thanks for the help Laney [15:47] np [15:49] just at the stage of writing the rules file [15:50] I 'm trying to write the watch file, but I don't know what to upload on "my" server, and the right syntax for it [15:52] Laney does the orignal source have to be in the binutils.2.18.msp430.20081227.tar.gz ? [15:53] AdamDH: If you're calling the package msp then it'll be called msp_binutils.218.msp340.20081227.orig.tar.gz [15:53] im calling the package msp430-binutils [15:54] the package name goes before the _ [15:54] Hello, could someone review http://revu.ubuntuwire.com/details.py?package=ubuntume-themes ? [15:54] i am then applying msp430-binutils-cvs-20080212.patch using the rules file [15:55] just realised I dropped 2.18 from that need to update my script [15:55] AnAnt: You don't need to use revu for a package update [15:55] Just file a bug and attach the .diff.gz [15:55] Laney: it's a native package [15:55] AdamDH: I was thinking you'd apply the patch in the orig [15:56] AnAnt: So attach the new tar.gz, and maybe a diff too [15:58] can someone help me with a python package ? [15:58] Laney, I have done that and made a msp430-binutils-cvs-20080212.patch [15:58] sorry msp430-binutils-cvs-0.0.20081208.tar.gz [15:58] when I use dh_pysupport , all the *pyc files are removed, whys that ? [15:58] so this msp430-binutils-cvs-0.0.20081208.tar.gz is ready to go and can be compiled from source [15:59] AdamDH: That's cool, then you don't need to patch it in debian/rules then [16:00] i wrote a php script that goes about and creates the package and patches from CVS etc [16:00] AdamDH: You can create a get-orig-source target in debian/rules which will do whatever is necessary to create the .orig.tar.gz [16:01] downloading, patching and so [16:01] mm i wonder where the launchpad admins are ;) [16:01] thanks Laney [16:01] Kalidarn: In #launchpad? [16:01] i am a good programmer but never packaged anything before [16:01] channel seems dead [16:01] AdamDH: It's just a new set of skills [16:01] Kalidarn: It is the holidays and a weekend [16:01] true [16:02] :P suppose [16:02] do you think this should be renamed to show what verison of binutils it uses msp430-binutils-cvs-0.0.20081201.tar.gz? [16:02] at the moment it shows the patchset only [16:03] Laney: thanks [16:03] AnAnt: pyc files are version and arch specific [16:03] bluesmoke: so ? [16:03] They're byte-compiled at install-time, aren't they [16:03] ? [16:03] AnAnt: So they don't belong in an arch-independent package that can work with multiple versions of python [16:05] are they really compiled at install-time ? [16:08] so Laney this would be sane, msp430-binutils.2.18.msp430.cvs-0.0.20081227? [16:08] and the 20081227 updates each day [16:08] AdamDH: Looks good to me [16:08] thanks again [16:09] AdamDH: Actually the - after cvs might mess things up, better to use a . [16:09] (or test it) [16:09] i will add a . i read something in the debian stuff - are bad [16:10] AnAnt: See /usr/share/doc/python-support/README.gz [16:13] Laney my source now looks like msp430-binutils.2.18.msp430.cvs.0.0.20081227.tar.gz and sp430-binutils.2.18.msp430.cvs.0.0.20081227.orig.tar.gz so this is right so far? [16:15] AdamDH: It needs to be msp430_... [16:15] can I do msp430-binutils_ ? [16:16] if you want the package name to be that, yes [16:17] thanks, looks like I need to update the versioning on the source packages I create as well [16:17] as when I extract msp430-binutils-cvs-0.0.20081227 i get my orignal version [16:19] thanks for the help I think I know where I am going now [16:21] good luck! [16:22] Laney: thanks [16:22] what are the chances of getting packages like this into the offical tree? [16:23] i think I would be better of trying to get it into upstream like the AVR cross compiler did [16:24] That's a good long term goal [16:26] people are not using the cross compiler as its hard at the moment to get a working tool chain my aim is to improve that as the MSP430 is a good microcontroller and the compiler is stable, just no packages only a souce install [16:26] or packages that are years out of date [16:35] Laney, iulian: dns are dead. adding "88.191.82.11 dad.dunnewind.net" to your hosts file should work [16:42] the first line of my changelog Laney should read: msp430-binutils (msp430-binutils.2.18.msp430.cvs.0.0.20081227-1) unstable; urgency=low [16:43] is that correct? [16:43] AdamDH: If your orig.tar.gz is msp430-binutils_...that really long version...orig.tar.gz then yes [16:44] this is my source: msp430_binutils.2.18.msp430.cvs.0.0.20081227.orig.tar.gz [16:45] ah got the _ in the wrong place [16:46] AdamDH: Take the "msp430-binutils" out of the () [16:46] then you should have [16:46] then you should have iain@intrepid:~$ [16:46] iain@intrepid:~$ [16:46] shit [16:46] sorry! [16:47] msp430-binutils_binutils.2.18.msp430.cvs.0.0.20081227.orig.tar.gz [16:47] msp430-binutils_2.18.msp430.cvs.0.0.20081227.orig.tar.gz even [16:51] right following that I should have msp430_binutils.2.18.msp430.cvs.0.0.20081227.orig.tar.gz and msp430_binutils.2.18.msp430.cvs.0.0.20081227.orig.tar.gz and then control is then msp430-binutils (2.18.msp430.cvs.0.0.20081227-1) unstable; urgency=low? [16:51] You should have: msp430-binutils_2.18.msp430.cvs.0.0.20081227.orig.tar.gz as Laney said. [16:52] crap got the - and _ mixed up I will fix that [16:52] realised after I pasted it [16:53] i should have said msp430-binutils_2.18.msp430.cvs.0.0.20081227.orig.tar.gz [16:57] so this is right for the changelog? msp430-binutils (2.18.msp430.cvs.0.0.20081227-1) unstable; urgency=low [16:58] Yes. [16:58] thanks jpds [16:58] if you want to upload to sid, that is [17:02] standards version, for my system a apt-cache show debian-policy | grep Version. shows 3.8.0.1ubunu2 so I just use this? [17:03] 3.8.0 is the most recent, but you don't have to follow Debian policy if you're not going to upload to Debian [17:03] or Ubuntu === andrewks_ is now known as andrewks [17:05] i dont think I am going to be able to get this officaly into debian or ubuntu, never had any look getting it into Gentoo either so its going to have to be in a 3rd party repo maintained by myself until the code is added upstream [17:07] now I need to write my first rules file [17:12] is there a template rules file somewhere? just a generic one I can add my code into? [17:14] The program dh_make asks you some questions and generates boilerplate debian-packagings [17:14] i was not using dh_make but will give it a try [17:14] AdamDH: ^, or you can copy another rules file (binutils?) and modify that [17:14] dpkg-buildpackage -S -rfakeroot was going to do that [17:14] also there is a packaging guide on the wiki, you should check it out [17:15] there is http://packages.ubuntu.com/intrepid/binutils-avr this but I could not find the debain control files [17:15] AdamDH: apt-get source binutils [17:17] jpds: done === Mez_ is now known as Mez [17:17] Mez: Thanks. [17:25] cheers, the rules files take some reading to understand [17:47] dont like modifying something unless I know what each line does, but I have gone down the rules file and I see a #ifeq (,$(DEB_BUILD_GNU_TYPE)) [17:47] # include /usr/share/dbs/dpkg-arch.mk [17:47] #endif [17:47] what is that for? [17:48] Ewww, you've got a DBS package? [17:49] DBS is a build system which is rather strongly deprecated these days [17:49] it's commented out [17:49] i added the comments [17:49] i grabbed the apt-get source binutils-avr [17:50] as its close to what I am doing and its in there [17:50] The purpose of that specific fragment is more general though - it's to test if certain values were already supplied by the environment, and if not, set them up via including a makefile fragment for the purpose [17:50] i notice the configure arguments: CONFARGS = --prefix=/usr \ [17:50] --build=$(DEB_BUILD_GNU_TYPE) \ [17:50] --host=$(DEB_HOST_GNU_TYPE) \ [17:50] --target=$(TARGET) use it [17:51] seems allot of work in rules just to run ./configure make and make install [17:59] I think the general essence of that build host stuff is that the rules file is not trusting the ./configure to pick the right system types automatically and is feeding the ones known to the debian build system [18:07] ah I follow [18:08] its my first package / rules file so would like to fully understand what is going on [18:24] a question about /debian/manpage.1 do I have to rename it the name of my package as "mypackage.1" ? [18:27] name of executable. [18:28] name_of_executable.1 usually [18:28] Don't forget to write it ;) [18:28] directhex: thank you. [18:29] loic-m: done ;-) [18:36] Does anyone know why this package was only built on i386? https://edge.launchpad.net/ubuntu/+source/zblast/1.3-2.3ubuntu1 [18:37] maxb: Look at the architectures in control [18:37] maxb: It's an "all" package, only needs to be built once as it's arch indepent [18:37] or ^ for a less obtuse response :) [18:37] independant* [18:38] maxb: ACtually if you click on the seperate binary packages, you get a list of different arch builds on the side. [18:39] +Package: zblast-svgalib [18:39] +Architecture: i386 [18:40] Yes... but what about zblast-x11? It's missing for amd64 and I can't figure out why [18:40] And *that* package is Arch: any [18:41] how do I correctly determine the build type and host type for use in rules? [18:41] Published as [18:41] * zblast-x11 1.3-2.1 in amd64 (Release) [18:41] http://launchpadlibrarian.net/3094533/zblast-x11_1.3-2.1_amd64.deb [18:41] loic-m: something must be wrong, as my man page doesn't appear in the files installed by my package ;-) [18:42] im guessing this is the best way: DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) [18:42] DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) [18:43] directhex: Yes - but that's an old version - the binary is outdate w.r.t. source [18:44] I'm trying to chase down some of the long-term outdates that existed in the intrepid release and still exist in jaunty [18:44] possibly it's on p-a-s? [18:45] Well, the zblast-svgalib package is P-a-s'ed, but not %zblast or zblast-x11 [18:56] isle85: sorry, away. You need to specifically install it with a line in debian/rules [18:57] ah, ok. I'm gonna try to find examples. [18:58] isle85: in the binary arch: build install section, use dh_installman debian/binary_name.1 debian/other_binary_name_if_you_have_more_than_one.1 [18:59] the dh_installman line should already be there in the rules file created for you, you just need to tell it which page to install [18:59] my rules file is simple as that : include /usr/share/cdbs/1/rules/debhelper.mk [19:01] You should have a pre-filed rules file in debian (along with plenty of .ex .EX files) if you follow the howto to create your package [19:01] isle85: You probably want to create a file called debian/man with the list of manpages [19:01] (or debian/$package.man if there are multiple binary packages) [19:02] ok, I'm gonna try the first one. debian/man [19:02] Oh wait - it's debian/manpages, sorry [19:04] ebroder: is debian/manpage a requirement < Debian policy? [19:05] this is something that is confusing me: you do unpack: then direct it to unpack-stamp why? unpack: unpack-stamp [19:05] unpack-stamp: why not just do unpack: and run it all in there? why is it called unpack-stamp? [19:05] loic-m: Huh? debian/manpages is a file that dh_installman uses to get a list of manpages to install. It uses that in addition to what it gets passed on the command line [19:06] loic-m: It's the same concept as debian/links, debian/install, debian/dirs, etc... [19:07] ebroder: thanks. But what is the prefered method in Debian/Ubuntu? (I'm asking because I've got a package on REVU) [19:07] AdamDH: IIUC, stamp files allow a time-consuming operation to not be unnecessarily repeated across multiple invocations of the rules file [19:07] loic-m: I don't know that there's a preference. Personally, I use CDBS for all of my packages, so I try to use files outside debian/rules to adjust behavior when I can [19:08] doesn't work [19:08] isle85: You created a debian/manpages? [19:09] I created a file named "man", not manpages. my mistake [19:09] maxb: so if I am compiling say binutils that's a long compile time, using the stamp files would be the best way to go? [19:09] isle85: Yeah, sorry - I corrected myself later [19:13] ebroder: in that debian/manpages file, I just add a line : mypackage.1 is it correct ? [19:13] isle85: I think so [19:13] ebroder: so it doens't work [19:14] isle85: Look in the build log - do you see dh_installman getting run? [19:16] no [19:16] isle85: Can you pastebin your debian/rules and you debian/control? [19:19] Hello, is this the place to ask a package be nuked from REVU ? [19:19] ebroder: find when it failed : dh_installman -pgenj-arvernes [19:19] -> Aborting with an error [19:21] AnAnt: yes, which? (no, i'm no a revu admin. someone will process the request) [19:21] ebroder: it 's there : http://rafb.net/p/E7rYxK29.html [19:21] crimsun: hijra [19:21] isle85: Does your debian/manpages file have one manpage per line? [19:21] yeap [19:21] AnAnt: Let me take a look. [19:21] crimsun: I wrongly uploaded it to revu instead of my PPA :) [19:22] isle85: Does it have a more specific error, or does it just say that it's aborting? [19:22] ebroder: just it aborts [19:23] isle85: What happens if you run `dh_installman -pgenj-arvernes` by hand? [19:24] AnAnt: OK; archived. [19:24] jpds: thanks [19:31] I've been looking at outdated packages, and cmucl has not built from source since hoary (!) There's bug 31098 open about this, but it has no activity since February. Is there some way in which the package should be flagged as broken/orphaned and in need of attention? [19:31] Launchpad bug 31098 in cmucl "Build-Depends dependency for cmucl cannot be satisfied (circular build-depends; needs manual bootstrapping on the buildd)" [Medium,Confirmed] https://launchpad.net/bugs/31098 [19:32] isle85: I'm confused by your rules files, but I'm no expert. Can you get anything done without targets and such? For man pages, you'd need to at least invoke dh_installman [19:32] loic-m: https://wiki.ubuntu.com/PackagingGuide/Howtos/CDBS [19:33] ebroder: thanks [19:35] maxb: Have you looked into a more complex manual bootstrapping process? That would be a much better solution than manually installing the package on the buildds [19:36] do you have to have an unpack: i see some rules files dont use one [19:51] read 6 diffrent rules files, and the debian and ubuntu maintainers guides, some say you need unpack: some its commented out, there is packages with unpack: so is it required or not? as a new packager there is allot of conflicting information [19:56] AdamDH: nothing is _required_ beyond calling dpkg-buildpackage in some fashion. [19:56] AdamDH: now whether a nice abstraction like cdbs does that for you is another matter [19:56] upto now I have been creating everything by hanf [19:56] *hand [19:57] my source is tar.gz [19:58] so what is the correct way to create the rules file? [20:02] AdamDH: there is no "correct way". there is "whatever works for the maintainer and abides by Policy". [20:02] AdamDH: hence the confusion [20:02] AdamDH: There is no one correct way, but you should read about debhelper and dh_make to get you started, I suspect [20:02] AdamDH: some maintainers prefer cdbs, others swear it's the second coming of ultrix and vms's lovechild [20:03] as I new maintainer I am really lost, I am a long term linux user / programmer but with debian packages I have spent the day banging my head off a desk to try and get something to work [20:03] AdamDH: You should really try looking at cdbs. I think it makes your life a lot easier as a new packager [20:03] i definitely recommend at least sticking with debhelper in some fashion, be it through a higher abstraction like cdbs, or just using debhelper directly [20:04] dh7 has a lot of cdbs niceties anyhow [20:04] AdamDH: it hurt less after a while. Either the desk gives up, or your head. Or both. [20:04] AdamDH: And read and try to understand https://wiki.ubuntu.com/PackagingGuide/Complete asnd work through some examples? [20:05] I have been reading https://wiki.ubuntu.com/PackagingGuide/Complete before I can into IRC for help, in my case I am packaging for a cross compiler [20:05] I came from Gentoo and there ebuilds system just works no headaches [20:06] But most of the user base is ubuntu based so I set about creating packages for ubuntu [20:07] *Ubuntu [20:09] AdamDH: Starting out by packaging a new piece of software, never mind a cross-compiler, may be expecting a lot of your brain... start by fixing bugs in a few existing packages and creating debdiffs? You'll learn more that way, I suspect. [20:16] rules is just a makefile, I have written quite a few make files from scratch, but each rules file I look at seems to handle something diffrentley like unpack. I have packaged this for other package management system, this is the first time I have done it for Debian/Ubuntu [20:16] *systems [20:16] and my first package for Debian/Ubuntu [20:18] what I do is find a similar package to what I am packaging and then base my packaging off of that [20:18] so if it's a python program I find another python one, or mono or whatever. [20:19] thats where I started but there are 3 older packages not maintained any more but each one does something diffrent in rules for the same programme hence the confusion [20:19] there does not seem to be a correct way [20:19] AdamDH: There's more than one way to do it. Pick the one you like best. What matters is that the package builds [20:20] i tried dh_make it wont work with my sources [20:27] ebroder: No, I'm not very interested in Lisp myself. Personally I'd opt for just removing the package, if no one has been sufficiently interested to make it buildable since hoary [20:28] AdamDH: The Debian Policy Manual specifies the few targets which are actually *required* for a rules file. All others are simply implementation details [20:30] maxb thanks, I will take a read seems to show what is needed gives me something to work to [20:30] Why won't dh_make work, ooi? [20:31] maxb: If you don't have any interest in keeping the package around, pushing for its removal is probably reasonable, but I don't know what that process looks like. Maybe someone else can advice? [20:31] *advise [20:32] Yup. Basically, after discovering that Ubuntu releases could actually contain outdated binaries, I'm on a spring-cleaning kick to get rid of them where possible [20:40] right I am getting closer, but running dpkg-buildpackage -S -rfakeroot i get: [20:40] parsechangelog/debian: warning: debian/changelog(l6): badly formatted heading line [20:40] LINE: -- Adam Horden adamhorden@adamhorden.net Sat, 27 Dec 2008 20:38:21 +0000 [20:40] any ideas? [20:41] Your e-mail address needs to be in <> [20:41] thanks will change that did not spot it [20:41] The easiest way to get the changelog right is to either use the dch command or use dpkg-dev-el, if you're an emacs user [20:43] changed it but I get the same error [20:43] rsechangelog/debian: warning: debian/changelog(l6): badly formatted heading line [20:43] LINE: -- Adam Horden Sat, 27 Dec 2008 20:42:45 +0000 [20:43] parsechangelog/debian: warning: debian/changelog(l6): found eof where expected more change data or trailer [20:43] sorry did not mean to paste all that [23:32] i have a few questions regarding the best way to package a cross compiler, my folder when I am working in has a debain folder and a tar.gz of the upstream source, so I need a unpack: to unpack it then apply the patch inside the unpacked source? is this the best way to apply my patch?